/* --- VARIÁVEIS DE DESIGN --- */
:root {
    /* Paleta de Cores Premium */
    --primary: #004E64;
    /* Azul Profundo - Confiança e Profissionalismo */
    --primary-light: #007A99;
    --accent: #00A8E8;
    /* Azul Água - Frescor e Modernidade */
    --gold: #D4AF37;
    /* Toque de Luxo */
    --light: #F8FAFC;
    --dark: #0F172A;
    --gray: #64748B;
    --white: #FFFFFF;

    /* Espaçamento */
    --section-padding: 100px 5%;
    --container-width: 1200px;

    /* Transições */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET E BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 78, 100, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 78, 100, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* --- ANIMAÇÕES (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.3)),
        url('https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- SEÇÃO: PÚBLICO ALVO (B2B & B2C) --- */
.target-audience {
    padding: var(--section-padding);
    background: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.audience-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.audience-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
}

.audience-card:hover .audience-bg {
    transform: scale(1.05);
}

.audience-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
}

.audience-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.audience-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* --- SEÇÃO: DIFERENCIAIS --- */
.features {
    padding: var(--section-padding);
    background-color: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3rem;
}

.section-header p {
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* --- SEÇÃO: PROCESSO (EDUCACIONAL) --- */
.process {
    padding: var(--section-padding);
    background-color: var(--primary);
    color: var(--white);
}

.process h2 {
    color: var(--white);
}

.process p {
    color: rgba(255, 255, 255, 0.8);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 60px;
    position: relative;
}

/* Linha conectora (apenas desktop) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
    display: none;
}

@media(min-width: 900px) {
    .process-steps::before {
        display: block;
    }
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
    margin-bottom: 40px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gold);
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- GALERIA --- */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    opacity: 1;
    /* Sempre visível */
    transition: opacity 0.3s;
}

/* .gallery-item:hover .gallery-overlay {
    opacity: 1;
} */

/* --- DEPOIMENTOS --- */
.testimonials {
    padding: var(--section-padding);
    background-color: #f1f5f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray);
    margin-right: 15px;
    object-fit: cover;
}

/* --- CTA FINAL --- */
.cta-section {
    padding: 120px 5%;
    background: linear-gradient(rgba(0, 78, 100, 0.9), rgba(0, 78, 100, 0.9)),
        url('https://images.unsplash.com/photo-1572331165267-854da2dc72af?q=80&w=2070');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
}

.footer-links h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.7;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 15px 0;
        background: rgba(15, 23, 42, 0.95);
    }

    /* Header sempre escuro no mobile */
    nav {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    /* Idealmente adicionar menu mobile aqui */

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}