/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3A76C1;     /* Azul principal - confiável e discreto */
    --secondary-color: #EBF2FA;   /* Azul bem claro - quase branco */
    --accent-color: #4CAF50;      /* Verde - mantido para os botões do WhatsApp */
    --dark-color: #2C3E50;        /* Azul escuro para textos */
    --light-color: #FFFFFF;       /* Branco para fundos */
    --text-color: #444444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Logo com imagem - estilos aprimorados */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}

.logo-img {
    height: 50px; /* Aumentando um pouco o tamanho */
    width: auto;
    margin-right: 12px;
    border-radius: 0; /* Removendo o border-radius padrão para a logo */
    object-fit: contain; /* Garantir que a imagem mantenha suas proporções */
}

/* Botão WhatsApp - mantido verde conforme solicitado */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.whatsapp-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    background-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.whatsapp-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--accent-color);
}

.whatsapp-btn.large:hover {
    background-color: #43a047;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.hero-image img {
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Por que escolher a seção */
.why-choose-us {
    background-color: var(--secondary-color);  /* Azul muito claro */
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-action {
    margin-top: 2rem;
}

.call-action h3 {
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* Serviços */
.services {
    background-color: white;
    text-align: center;
}

.services h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.service-card p {
    padding-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
    text-align: center;
}

.testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 0.5rem;
    text-align: left;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2C5282 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta h2, .cta p {
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta .whatsapp-btn {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .whatsapp-btn:hover {
    background-color: #f5f5f5;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    background: linear-gradient(to bottom, #34495e, var(--dark-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: white;
    font-size: 1.5rem;
}

.footer-contact h3, .footer-areas h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-contact p, .footer-areas p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Botão flutuante de WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.8rem;
    z-index: 1000;
}

.floating-whatsapp:hover {
    background-color: #43a047;
    transform: scale(1.1);
}

/* Media Queries para responsividade */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .benefits, .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    header .container {
        flex-direction: row; /* Mantém os elementos na horizontal */
        flex-wrap: wrap; /* Permite que os elementos quebrem para a próxima linha */
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 0.5rem;
    }
    
    .logo {
        margin-bottom: 0;
        max-width: 65%;
    }
    
    .logo-container {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-img {
        height: 35px;
        margin-right: 8px;
    }
    
    .tagline {
        font-size: 0.7rem;
        display: none; /* Esconde a tagline em telas menores */
    }
    
    .logo .highlight {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        margin-top: 4px;
    }
    
    .whatsapp-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        right: 15px;
        bottom: 15px;
    }
    
    p {
        margin-bottom: 0.7rem;
        font-size: 0.95rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .availability {
        padding: 8px 12px;
        margin: 10px 0;
        font-size: 0.9rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
    
    .call-action h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .whatsapp-btn.large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.4rem 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 30px;
        margin-right: 6px;
    }
    
    .whatsapp-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .whatsapp-btn i {
        margin-right: 0.3rem;
    }
    
    .benefits, .service-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact i {
        width: 20px;
        text-align: center;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    .whatsapp-btn.large {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .history-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .cta p {
        font-size: 0.95rem;
    }
    
    footer {
        padding: 2rem 0 3rem;
    }
}

/* Destaques para atendimento 24h */
.highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.highlight:hover {
    background-color: #2C5282;
}

.logo .highlight {
    margin-top: 8px;
    animation: pulse 2s infinite;
}

.availability {
    background-color: rgba(58, 118, 193, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(58, 118, 193, 0.2);
    margin: 15px 0;
}

.availability i {
    color: var(--primary-color);
    margin-right: 5px;
}

.footer-contact .highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Clock icon nos destaques de 24h */
.highlight i.fas.fa-clock {
    margin-right: 5px;
}

/* Seção de benefícios */
.benefit-card .icon {
    color: var(--primary-color);
}

/* Separador sutil entre seções */
section:not(:last-child) {
    border-bottom: 1px solid var(--secondary-color);
}

/* Headers da seção com mais destaque */
section h2 {
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Nossa História - Seção com timeline (ajustes) */
.our-history {
    background-color: var(--secondary-color);
    padding: 5rem 0;
    text-align: center;
}

.history-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Linha central da timeline */
.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

/* Alternando posição dos itens */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-image {
    width: 40%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.timeline-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 4px solid white;
    border-radius: 10px;
}

.timeline-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.timeline-content {
    width: 60%;
    padding: 25px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Círculos conectores */
.timeline-content::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

/* Posicionamento dos conectores */
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -12px;
}

.timeline-content h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsividade da linha do tempo - aprimorada */
@media (max-width: 992px) {
    .history-timeline::before {
        left: 40px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 40px;
    }
    
    .timeline-image,
    .timeline-content {
        width: calc(100% - 40px);
    }
    
    .timeline-image {
        margin-bottom: 1.5rem;
        padding-left: 30px;
    }
    
    .timeline-content::before {
        left: -12px !important;
        top: -12px;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .history-timeline {
        margin-left: 0;
    }
    
    .history-timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        margin-left: 20px;
    }
    
    .timeline-image,
    .timeline-content {
        width: calc(100% - 20px);
        padding: 0 10px 0 30px;
    }
    
    .timeline-image img {
        height: 200px;
    }
    
    .timeline-content {
        padding: 15px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    header {
        padding: 0.3rem 0;
    }
    
    .logo-container {
        align-items: center;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 28px;
        margin-right: 5px;
    }
    
    .logo .highlight {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        margin-top: 3px;
    }
    
    .whatsapp-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .whatsapp-btn i {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    section {
        padding: 1.8rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .availability {
        padding: 6px 10px;
    }
} 