/* Reset e Configurações Globais */
:root {
    /* Definição de Cores em Variáveis para Manutenção */
    --primary-color: #0C356A; /* Azul Escuro */
    --secondary-color: #FFC436; /* Amarelo */
    --light-bg-color: #FFF0CE; /* Creme/Amarelo Claro */
    --text-dark: #0C356A;
    --text-light: #fff;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #128c7e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos Base */
body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Links Globais */
a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: var(--secondary-color);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
    position: relative;
    top: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 3px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #08254b;
}

.nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: 3px;
    background-color: #08254b;
    transition: width .3s;
}

.nav-links a:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--primary-color);
}

/* Imagem de fundo com object-fit */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre toda a área do hero */
    transform: scale(1.2);
    /* zoom fixo */
    z-index: -1;
    transition: transform 10s ease-in-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 100vw;
    padding: 10px;
}

.hero-logo {
    max-width: 90vw;
    max-height: 45vh;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
    top: 40px;
}

.hero-content h1 {
    font-size: 1.2rem;
    margin: 2rem;
    max-width: 60vw;
    line-height: 1.6;
    font-weight: bold;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 18px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #08254b;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

/* ===== SECTIONS GERAIS ===== */
hr {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    height: 2px;
    width: 40vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 3;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 20px 5%;
    background: transparent;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    padding: 1rem;
}

.service-card {
    background: var(--light-bg-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 1.5px 1.5px 1px rgba(0, 0, 0, 0.7);
}

.key-icon {
    font-size: 5rem;
    position: relative;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.key-title,
.key-text {
    position: relative;
    top: -20px;
}

.service-card p {
    color: var(--primary-color);
    line-height: 1.8;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--primary-color);
    padding: 8% 0;
    box-shadow: inset 0px 10px 30px rgba(0, 0, 0, 0.7);
}

.swiper {
    height: 250px;
    padding: 0 20px;
}

.testimonials-title {
    margin: 0 auto;
    margin-bottom: 4rem;
    width: 90%;
}

.swiper-slide {
    background: var(--light-bg-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.testimonials-rate,
.testimonials-title {
    color: var(--secondary-color);
}

.testimonials-quote,
.testimonials-author {
    color: var(--primary-color);
}

.testimonials-author {
    font-style: italic;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
}

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: 60px 5%;
    background: var(--secondary-color);
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0px -10px 30px rgba(0, 0, 0, 0.7);
}

.location-subtitle,
.location-opening,
.location-hours,
.location-text {
    color: var(--primary-color);
}

.location-subtitle {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.location-opening {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.location-hours {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.map-container {
    display: flex;
    justify-content: center;
    align-self: center;
    margin: 0 auto;
    max-width: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.location-text {
    font-size: 1.2rem;
    margin-top: 3rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 40px 5%;
    overflow: hidden;
    background: var(--secondary-color);
    text-align: center;
    z-index: 2;
}

/* Conteúdo acima da imagem e overlay */
.cta-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Mantendo seu CSS antigo do conteúdo */
.cta-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--whatsapp-color);
    color: var(--text-light);
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 3rem;
}

.whatsapp-button:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.whatsapp-button i {
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.info-item i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

address {
    font-style: normal;
}

address a {
    color: inherit;
    text-decoration: none;
}

.footer-link [href^="tel"] {
    color: inherit;
    text-decoration: none;
}

.span-link [href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px 5%;
    text-align: center;
    box-shadow: inset 0px 10px 30px rgba(0, 0, 0, 0.7);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: pulse 1s infinite !important;
    transition: all 0.5s;
}

.whatsapp-float:hover {
    transform: scale(1.2);
    background: var(--whatsapp-hover);
    animation: none !important;
}

/* ===== ANIMAÇÕES ===== */

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Delays escalonados para cards de serviço */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }

/* Delays escalonados para cards de depoimentos */
.swiper-slide:nth-child(1) { transition-delay: 0s; }
.swiper-slide:nth-child(2) { transition-delay: 0.1s; }
.swiper-slide:nth-child(3) { transition-delay: 0.2s; }

/* Garantir que hover funcione normalmente */
.service-card:hover,
.cta-button:hover,
.whatsapp-button:hover {
    transition: all 0.3s !important;
}

/* ===== ANIMAÇÃO HERO (inicial) ===== */

.hero-logo,
.hero-title,
.cta-button {
    opacity: 0;
    transform: translateY(40px);
}

.hero-logo.hero-animate,
.hero-title.hero-animate,
.cta-button.hero-animate {
    animation: heroFadeUp 0.4s ease-out forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        max-width: 80%;
        line-height: 1.5;
        margin-top: 10%;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 0 20px;
    }

    .whatsapp-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    footer p {
        font-size: 0.7rem;
    }
    
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 50%;
    }

    .swiper-wrapper {
        display: flex;
    }
    
}