*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #F4F7F4;
    color: #0A2213;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Textura orgânica super sutil */
.noise-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 1; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Caminho visual ao fundo */
.wavy-line-bg {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 100%; pointer-events: none; z-index: -1; opacity: 0.6;
    background-image: url("data:image/svg+xml,%3Csvg width='800' height='1200' viewBox='0 0 800 1200' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M400,0 C600,200 200,400 400,600 C600,800 200,1000 400,1200' stroke='%23FFFFFF' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-y; background-position: center top;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F4F7F4; }
::-webkit-scrollbar-thumb { background: #A6C1A4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0A2213; }

/* Espaçamento mobile aprimorado */
.container-tight { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container-tight { padding: 0 24px; } }

.polaroid {
    background: #FFFFFF; padding: 12px 12px 40px 12px;
    border: 2px solid #0A2213;
}

.title-massive {
    font-family: 'Outfit', sans-serif; font-weight: 900;
    letter-spacing: -0.02em;
}

.heading-hero {
    font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
    line-height: 1.05;
}

.heading-section {
    font-size: clamp(1.875rem, 3.5vw + 0.5rem, 2.75rem);
    line-height: 1.1;
}

.heading-card {
    font-size: clamp(1.5rem, 2.5vw + 0.25rem, 2.125rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.heading-sm {
    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }

/* Botão pílula com vibrância sutil */
.btn-pill {
    display: inline-flex; align-items: center; gap: 12px;
    background-color: #0A2213; color: #FFFFFF;
    border-radius: 9999px; padding: 6px 24px 6px 6px;
    font-family: 'Inter', sans-serif; font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    border: 2px solid #0A2213;
}
.btn-pill:hover { transform: translateY(-3px); box-shadow: 4px 4px 0px rgba(10, 34, 19, 1); }
.btn-pill:active { transform: translateY(0); box-shadow: 0px 0px 0px rgba(10, 34, 19, 1); }

.btn-pill .icon-circle {
    background-color: #FF6B00; color: #0A2213; /* Ícone escuro para contraste acessível */
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.wa-pulse { animation: waPulse 2s infinite; }
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
