:root {
    /* Identidade Visual - Cores Oficiais */
    --color-vinho: #722F37;
    --color-bege: #E8DCCB;
    --color-offwhite: #FBF7F2; /* Ajustado para combinar com o fundo da logo enviada */
    --color-cinza: #6B6865;
    --color-dourado: #B89B5E;

    /* Acessibilidade e Contraste */
    --color-text-dark: #2D2A26;
    --color-bg-light: var(--color-offwhite);
    --color-white: #FFFFFF;

    /* Gradientes Elegantes (Sutis) */
    --gradient-premium: linear-gradient(135deg, var(--color-vinho) 0%, #5a232b 100%);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(114, 47, 55, 0.15);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utils */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }
.w-100 { width: 100%; }

/* Tipografia */
h1, h2, h3, h4 { color: var(--color-vinho); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 2rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p { color: var(--color-cinza); font-size: 1.05rem; }
.highlight { color: var(--color-dourado); }

/* Logos e Imagens */
.logo-img { height: 100px; width: auto; mix-blend-mode: multiply; }
.logo-img-small { height: 70px; width: auto; mix-blend-mode: multiply; }
.audience-icon { width: 48px; height: 48px; margin-bottom: 1rem; color: var(--color-vinho); }

/* Header */
.header {
    background: var(--color-offwhite);
    border-bottom: 1px solid rgba(114, 47, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.desktop-nav { display: flex; gap: 2rem; align-items: center; }
.desktop-nav a { text-decoration: none; color: var(--color-cinza); font-weight: 500; transition: var(--transition-fast); }
.desktop-nav a:hover { color: var(--color-vinho); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--color-vinho); cursor: pointer; }

/* Botões */
button { font-family: inherit; cursor: pointer; border: none; }
.btn-primary, .btn-secondary, .btn-primary-outline {
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary { background: var(--gradient-premium); color: var(--color-white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-secondary { background: var(--color-bege); color: var(--color-vinho); }
.btn-secondary:hover { background: #dcd0bc; transform: translateY(-2px); }

.btn-primary-outline { border: 2px solid var(--color-vinho); color: var(--color-vinho); background: transparent; padding: 0.6rem 1.2rem; }
.btn-primary-outline:hover { background: var(--color-vinho); color: white; }

.btn-outline-small { border: 1px solid var(--color-bege); color: var(--color-white); background: transparent; padding: 0.5rem 1rem; border-radius: var(--radius-sm); margin-top: 1rem; }
.btn-outline-small:hover { background: rgba(255,255,255,0.1); }

.btn-text { background: none; color: var(--color-vinho); font-weight: 600; text-decoration: underline; }

/* Hero Section */
.hero { padding: 4rem 1.5rem 6rem; text-align: center; max-width: 900px; }
.hero-subtitle { font-size: 1.25rem; margin: 1.5rem 0; color: var(--color-text-dark); }
.hero-text-small { color: var(--color-cinza); margin-bottom: 2.5rem; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-reinforce { font-size: 0.9rem; color: var(--color-vinho); }

/* Audiência / Segmentação */
.audience { padding: 4rem 1.5rem; }
.audience-grid.two-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 800px; margin: 0 auto; }

.audience-card {
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.audience-card:hover, .audience-card.active {
    transform: translateY(-5px);
    border-color: var(--color-dourado);
    box-shadow: var(--shadow-hover);
    background: var(--color-offwhite);
}

/* Serviços Dinâmicos do Público */
.specific-services-container {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--color-dourado);
    animation: fadeInDown 0.4s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.audience-message { font-size: 1.2rem; font-weight: 600; color: var(--color-vinho); text-align: center; margin-bottom: 2rem; }
.specific-services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.specific-service-item { background: var(--color-offwhite); padding: 1.5rem; border-radius: var(--radius-md); border-left: 3px solid var(--color-vinho); }
.specific-service-item h4 { margin-bottom: 0.5rem; color: var(--color-text-dark); }
.specific-service-item p { font-size: 0.95rem; }

/* Serviços Gerais (Cards Flip) */
.services { padding: 5rem 1.5rem; background: var(--color-white); border-radius: var(--radius-lg); margin: 2rem auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}
.card-front, .card-back {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}
.card-front {
    background: var(--color-offwhite);
    border: 1px solid rgba(114, 47, 55, 0.1);
}
.card-back {
    background: var(--gradient-premium);
    color: white;
    transform: rotateY(180deg);
}
.service-card.is-flipped .card-front { transform: rotateY(-180deg); }
.service-card.is-flipped .card-back { transform: rotateY(0deg); }

.pain-point { font-weight: 600; color: var(--color-vinho); font-size: 1.1rem; margin-bottom: auto; }
.service-name { font-size: 1.4rem; color: var(--color-text-dark); margin-top: 1rem; }
.view-more { display: block; margin-top: 1rem; font-size: 0.9rem; color: var(--color-dourado); font-weight: 600; }

.card-back h3 { color: var(--color-dourado); font-size: 1.2rem; }
.card-back ul { list-style: none; margin-top: 1rem; margin-bottom: auto; }
.card-back li { font-size: 0.95rem; margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem; }
.card-back li::before { content: "•"; color: var(--color-dourado); position: absolute; left: 0; }

/* Timeline Interativa (Como Funciona) */
.process { padding: 5rem 1.5rem; }
.timeline { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--color-bege);
}
.timeline-item { display: flex; gap: 2rem; position: relative; z-index: 1; }
.step-number {
    width: 50px; height: 50px; flex-shrink: 0; background: var(--color-vinho); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--color-bg-light);
    transition: var(--transition-fast);
}
.step-content { 
    width: 100%; 
    background: var(--color-white); 
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}
.step-header { 
    padding: 1.5rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer;
    background: var(--color-white);
}
.step-header h3 { margin: 0; font-size: 1.15rem; }
.toggle-icon { font-size: 1.5rem; font-weight: 300; color: var(--color-dourado); transition: transform 0.3s ease; }
.step-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    background: var(--color-offwhite);
}
.step-body p { margin: 0; }

/* Timeline Ativa */
.timeline-item.active .step-body { max-height: 200px; padding: 1.5rem; }
.timeline-item.active .toggle-icon { transform: rotate(45deg); }
.timeline-item.active .step-number { background: var(--color-dourado); }

/* Beneficios (Dividido) */
.benefits { padding: 5rem 1.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem;}
.benefit-item { background: var(--color-white); padding: 2rem; border-radius: var(--radius-md); border-top: 4px solid var(--color-bege); box-shadow: var(--shadow-soft); }

/* Diferenciais */
.differential { padding: 6rem 1.5rem; background: var(--color-vinho); color: white; border-radius: var(--radius-lg); margin: 2rem auto; }
.differential h2 { color: white; }
.differential-sub { color: var(--color-bege); margin-bottom: 3rem; font-size: 1.2rem; }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.diff-card h4 { color: var(--color-dourado); margin-bottom: 1rem; }
.diff-card p { color: var(--color-offwhite); }

/* Final CTA */
.final-cta { padding: 4rem 1.5rem; }
.final-box { background: var(--color-bege); padding: 4rem 2rem; border-radius: var(--radius-lg); }

/* Contato e Redes Sociais */
.contact-social { padding: 4rem 1.5rem; margin-bottom: 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; background: var(--color-white); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-soft); }

.social-box h3, .email-box h3 { margin-bottom: 1rem; }
.social-icons-large { display: flex; gap: 1.5rem; margin-top: 2rem; }
.social-icon { 
    display: inline-flex; width: 60px; height: 60px; 
    background: var(--color-offwhite); border-radius: 50%;
    align-items: center; justify-content: center;
    color: var(--color-vinho); font-size: 1.5rem;
    transition: var(--transition-fast); text-decoration: none;
}
.social-icon:hover { background: var(--color-vinho); color: white; transform: translateY(-5px); }

/* Formulario */
.email-form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
.email-box.active .email-form-wrapper {
    max-height: 800px; /* Suficiente para caber o forms */
}
.email-box.active .email-toggle-icon {
    transform: rotate(45deg);
}
.email-form { margin-top: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-vinho); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.8rem 1rem;
    border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem;
    background: var(--color-offwhite);
    transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--color-dourado);
}

/* Footer */
.footer { background: var(--color-white); border-top: 1px solid rgba(0,0,0,0.05); padding-top: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.footer-bottom p { margin: 0; }

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    display: none; padding: 1rem; border-top: 1px solid rgba(0,0,0,0.1); z-index: 99;
}
.mobile-sticky-cta button { flex: 1; padding: 0.8rem; font-size: 0.9rem; border-radius: var(--radius-sm); font-weight: 600; }
.btn-primary-small { background: var(--color-vinho); color: white; }
.btn-secondary-small { background: var(--color-bege); color: var(--color-vinho); }

/* Mobile Reponsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 2rem 1rem 4rem; }
    .cta-group { flex-direction: column; }
    .audience-grid.two-cols { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; padding: 2rem; }
    .mobile-sticky-cta { display: flex; gap: 1rem; }
    body { padding-bottom: 80px; }
    .timeline::before { left: 20px; }
    .step-number { width: 40px; height: 40px; font-size: 1rem; }
}
