:root {
    /* Color Palette - Premium Light Legal with Glass */
    --primary-navy: #0A192F;
    --primary-light: #F0F2F5;
    /* Softer Gray Background */
    /* Light Gray */
    --accent-gold: #B8860B;
    /* Darker Gold for contrast on light */
    --accent-gold-hover: #996515;
    --text-main: #1A1A1A;
    --text-dim: #4A4A4A;
    --white: #FFFFFF;
    --bg-dark: #FFFFFF;

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-gold: rgba(184, 134, 11, 0.15);
    /* Light Gold Glass */
    --glass-border: rgba(184, 134, 11, 0.3);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(184, 134, 11, 0.1);

    /* Typography - Playfair Display (Heading) + Inter (Body) */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utils */
.text-gold {
    color: var(--accent-gold);
}

.text-dim {
    color: var(--text-dim);
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--accent-gold);
    padding: 1.1rem 2.8rem;
    border-radius: 0;
    border: 1.5px solid var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--white);
    transform: none;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover::before {
    width: 100%;
}

/* Variante para fundo escuro */
.section-footer .btn-primary,
.btn-primary.btn-full {
    background: var(--accent-gold);
    color: var(--white);
    border-color: var(--accent-gold);
}

.section-footer .btn-primary::before,
.btn-primary.btn-full::before {
    background: var(--accent-gold-hover);
    width: 0;
}

.section-footer .btn-primary:hover,
.btn-primary.btn-full:hover {
    color: var(--white);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
}

.section-footer .btn-primary:hover::before,
.btn-primary.btn-full:hover::before {
    width: 100%;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-media {
    position: relative;
    height: 100%;
}

.hero-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.hero-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section: A Dor */
.section-pain {
    padding: var(--section-padding) 0;
    background: var(--primary-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pain-item {
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-left: 6px solid var(--accent-gold);
    /* Thicker accent */
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.pain-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
}

.pain-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Section 3: O Mecanismo Único */
.section-mechanism {
    background: var(--primary-navy);
    color: var(--white);
    padding: 160px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 2vw, 100% 98%, 0 100%);
    overflow: hidden;
    margin-top: -4vw;
    /* Correção do buraco vazio no mobile */
    z-index: 2;
}

.section-mechanism::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mechanism-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.mechanism-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.gold-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin-bottom: 2rem;
}

.mechanism-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
}

.mechanism-highlight {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 700;
    transition: var(--transition);
    text-align: left;
}

.mechanism-highlight:hover {
    color: var(--white);
}

/* Text Reveal Classes (removido para usar AOS em favor da legibilidade) */

.mechanism-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Imagem do Especialista no Mecanismo */
.mechanism-img-container {
    position: relative;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.mechanism-img-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--accent-gold);
    z-index: 0;
    border-radius: 12px;
}

.mechanism-img-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .section-mechanism {
        clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
        margin-top: -4vw;
        padding: 120px 0;
    }

    .mechanism-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gold-line {
        margin: 0 auto 2rem;
    }
}


/* Section 4: Arquitetura do Produto */
.section-architecture {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.container-narrow {
    max-width: 800px;
}

.architecture-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 5rem;
    text-align: center;
}

.architecture-wrapper {
    position: relative;
    display: flex;
    gap: 3rem;
    padding-left: 2rem;
}

.progress-bar-container {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.progress-bar-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-light);
    border-radius: 2px;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-navy));
    border-radius: 2px;
    z-index: 2;
}

.architecture-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.architecture-item {
    position: relative;
    padding: 2.5rem;
    border-radius: 16px;
    background: transparent;
    transition: var(--transition);
    border: 1px solid transparent;
}

.architecture-item.active {
    background: rgba(184, 134, 11, 0.05);
    border: 1px solid var(--glass-border);
    transform: scale(1.02);
}

.item-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.architecture-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.architecture-item p {
    font-size: 1.1rem;
}

/* Section 5: Autoridade e Prova Social */
.section-authority {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.authority-stats {
    margin-top: -100px;
    /* Negative margin for overlap effect */
}

.stat-card.dark {
    background: linear-gradient(135deg, var(--primary-navy) 0%, rgba(10, 25, 47, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 134, 11, 0.4);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card.dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.stat-card.dark:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.5), inset 0 0 0 1px rgba(184, 134, 11, 0.5);
    border-color: var(--accent-gold);
}

.stat-card.dark:hover::before {
    left: 200%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.authority-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 2rem;
}

.authority-list {
    list-style: none;
    margin-bottom: 3rem;
}

.authority-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.authority-list li i {
    font-size: 1.5rem;
}

.oab-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-light);
    border-radius: 50px;
    border: 1px solid var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 700;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Section 6: FAQ */
.section-faq {
    padding: var(--section-padding) 0;
    background: var(--primary-light);
}

.faq-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-navy);
    transition: var(--transition);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(184, 134, 11, 0.02);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: var(--accent-gold);
}

.faq-item.active .faq-question {
    color: var(--accent-gold);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Section 7: Footer & CTA */
.section-footer {
    padding: var(--section-padding) 0;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-navy);
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 10% 10%, rgba(184, 134, 11, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(10, 25, 47, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(184, 134, 11, 0.1) 0px, transparent 50%),
        radial-gradient(at 10% 90%, rgba(10, 25, 47, 0.1) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(184, 134, 11, 0.15) 0px, transparent 50%);
    filter: blur(80px);
    animation: meshMove 15s ease infinite alternate;
}

@keyframes meshMove {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(2%, 2%);
    }
}

.footer-cta.spotlight {
    position: relative;
    z-index: 2;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    text-align: center;
}

.footer-title {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.footer-form {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.iti {
    width: 100%;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border: none;
    cursor: pointer;
}

.js-btn-pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(184, 134, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
    }
}

.form-privacy {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-feedback {
    min-height: 0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    padding: 0;
    transition: all 0.3s ease;
}

.form-feedback.error {
    color: #ff6b6b;
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.form-feedback.success {
    color: #51cf66;
    padding: 0.75rem 1rem;
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.3);
}

.main-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .footer-cta.spotlight {
        padding: 2.5rem 1.5rem;
    }

    .main-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}


@media (max-width: 992px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }

    .authority-stats {
        margin-top: 0;
        margin-bottom: 2rem;
    }
}




/* Performance e Acessibilidade */
[data-aos]:not(.aos-animate) {
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

.hero-img-container {
    aspect-ratio: 4 / 5;
    background: rgba(184, 134, 11, 0.05);
    /* Placeholder suave enquanto carrega */
}

@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
}