/* =========================================
   VARIÁVEIS DE CORES E FONTES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-blue: #1A365D;
    --secondary-blue: #2B6CB0;
    --light-bg: #F7FAFC;
    --text-dark: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
}

/* =========================================
   RESET BÁSICO E TIPOGRAFIA
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 18px;
}

h1, h2, h3, h4, .logo h2 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* =========================================
   CABEÇALHO E MENU
   ========================================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    text-decoration: none; /* Remove o sublinhado do link */
}

.logo h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.logo span {
    color: var(--secondary-blue);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-blue);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

/* =========================================
   HERO SECTION (ESTILO SOZO)
   ========================================= */
#hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    background: url('img/hero.jpg') center/cover no-repeat;
}

#hero .container {
    width: 100%;
    display: block; /* Garante que o container não distorça os botões com flexbox */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente escuro na esquerda sumindo para a direita */
    background: linear-gradient(to right, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
    text-align: left;
    margin: 0; /* Trava o bloco de texto na extrema esquerda do container */
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: flex-start; /* Mantém a altura natural dos botões */
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* =========================================
   SERVIÇOS
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* =========================================
   AVALIAÇÕES E SETAS
   ========================================= */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
}

.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #F6E05E;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1rem;
    color: var(--primary-blue);
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.carousel-btn {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.prev-btn { left: -40px; }
.next-btn { right: -40px; }

/* =========================================
   CONTATO E FORMULÁRIO WHATSAPP
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin: 30px 0;
}

.contact-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-top: 4px;
}

.form-whatsapp {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--secondary-blue);
}

.form-whatsapp input,
.form-whatsapp select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
    background-color: #F7FAFC;
}

.form-whatsapp input:focus,
.form-whatsapp select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
    background-color: var(--white);
}

/* =========================================
   RODAPÉ
   ========================================= */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-logo span {
    color: #90CDF4;
}

.footer-links p {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: right;
}

/* =========================================
   ANIMAÇÕES DE SCROLL
   ========================================= */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================= */
.btn-flutuante-wpp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    transition: all 0.3s ease;
}

.btn-flutuante-wpp:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.4);
}

/* =========================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================= */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 300px;
        height: calc(100vh - 80px);
        text-align: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        padding-top: 40px;
        gap: 30px;
        border-top: 1px solid var(--light-bg);
        align-items: stretch;
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 20px;
        display: block;
    }

    /* --- CORREÇÃO DO HERO NO MOBILE --- */
    .hero-content { 
        text-align: center; /* Volta o texto para o meio no celular */
        margin: 0 auto;
        padding-top: 20px;
    }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    .hero-buttons {
        flex-direction: column; /* Empilha os botões */
        width: 100%;
        align-items: stretch; /* Faz os botões esticarem horizontalmente */
    }
    
    .hero-buttons .btn {
        width: 100%; /* Botões ocupando toda a largura no celular */
    }

    /* Outros Ajustes Mobile */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }

    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links p {
        text-align: center;
    }

    .btn-flutuante-wpp {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   BOTÃO INSTAGRAM NO RODAPÉ
   ========================================= */
.btn-insta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 18px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-insta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-insta i {
    font-size: 1.2rem;
}