/* 
=============================================
  FGS Classes — Premium Design System v2
  Fixes: Hero 100vh, stats, diagnostico, 
  filtro immersive, footer logo, buttons
=============================================
*/

:root {
    --navy: #1A2B4A;
    --navy-deep: #0F1A2E;
    --navy-light: #243B5C;
    --terracotta: #A84928;
    --terracotta-hover: #C75A32;
    --sand: #F2EBE3;
    --sand-dark: #E8DED3;
    --white: #FFFFFF;
    --text-primary: #0A1628;
    --text-secondary: #4B5B75;
    --text-muted: #8494A7;

    --font: 'Inter', system-ui, -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    --glow-terracotta: 0 0 30px rgba(168, 73, 40, 0.4), 0 0 60px rgba(168, 73, 40, 0.15);
    --shadow-card: 0 4px 24px rgba(10, 22, 40, 0.08), 0 1px 3px rgba(10, 22, 40, 0.04);
    --shadow-card-hover: 0 12px 48px rgba(10, 22, 40, 0.15), 0 4px 12px rgba(10, 22, 40, 0.08);
}

/* ================== RESET ================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================== TYPOGRAPHY ================== */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--navy);
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.35rem;
}

.text-white {
    color: var(--white) !important;
}

.text-white-muted {
    color: rgba(242, 235, 227, 0.7);
}

.text-lg {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-muted-lg {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--terracotta), #D4714A, var(--terracotta));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* ================== LAYOUT ================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    position: relative;
    padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
    section {
        padding: var(--space-2xl) 0;
    }
}

/* ================== TAGS ================== */
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(168, 73, 40, 0.25);
    border-radius: 100px;
    background: rgba(168, 73, 40, 0.06);
}

.tag-light {
    color: var(--terracotta);
    border-color: rgba(168, 73, 40, 0.3);
    background: rgba(168, 73, 40, 0.1);
}

/* ================== BUTTONS ================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-lg {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-hover));
    color: var(--white);
    box-shadow: var(--glow-terracotta);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(168, 73, 40, 0.5), 0 0 80px rgba(168, 73, 40, 0.2);
}

.btn-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.btn-ghost {
    background: transparent;
    color: var(--sand);
    border: 1px solid rgba(242, 235, 227, 0.25);
}

.btn-ghost:hover {
    background: rgba(242, 235, 227, 0.1);
    border-color: rgba(242, 235, 227, 0.5);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-radius: 100px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ================== PARTICLE CANVAS ================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ================== FLOATING CTA ================== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-med);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

@media (max-width: 767px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .floating-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================== HEADER ================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 0.8rem 0;
    transition: all var(--transition-med);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(15, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all var(--transition-fast);
}

.site-header.scrolled .logo-img {
    height: 34px;
}

/* ========================================================================
   HERO — Fixed to 100vh, properly centered
   ======================================================================== */
.hero {
    height: 100vh;
    max-height: 100vh;
    background: var(--navy-deep);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(168, 73, 40, 0.12), transparent),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(26, 43, 74, 0.6), transparent);
    z-index: 1;
}

.hero>.container {
    padding: 0 var(--space-md);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    flex: 1;
    padding-top: 6rem;
    /* header clearance */
    padding-bottom: var(--space-md);
    align-content: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: var(--space-xl);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(168, 73, 40, 0.1);
    border: 1px solid rgba(168, 73, 40, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--terracotta-hover);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.8rem);
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: 1.05;
}

.hero-sub {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(242, 235, 227, 0.65);
    max-width: 500px;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Hero Video */
.video-wrapper {
    position: relative;
}

.video-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse, rgba(168, 73, 40, 0.2), transparent 70%);
    z-index: 0;
    animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.video-placeholder {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    backdrop-filter: blur(10px);
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(168, 73, 40, 0.15);
    border: 2px solid rgba(168, 73, 40, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-hover);
    transition: all var(--transition-med);
    cursor: pointer;
}

.play-btn:hover {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: var(--glow-terracotta);
    transform: scale(1.1);
}

.play-btn svg {
    margin-left: 4px;
    width: 24px;
    height: 24px;
}

.placeholder-label {
    font-size: 0.75rem;
    color: rgba(242, 235, 227, 0.3);
    letter-spacing: 0.05em;
}

/* Hero Stats Bar — Bottom of Hero */
.hero-stats-bar {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-sm) 0;
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.stat-plus {
    color: var(--terracotta);
    font-size: 1.5rem;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(242, 235, 227, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .hero-stats {
        gap: var(--space-md);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.wheel {
    width: 3px;
    height: 7px;
    background: var(--terracotta);
    border-radius: 2px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ========================================================================
   PROBLEMA — Properly spaced blocks
   ======================================================================== */
.problema {
    background: var(--sand);
}

.problema-header {
    margin-bottom: var(--space-xl);
}

.problema-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 800px;
}

.problema-block {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.problema-number {
    font-size: 1rem;
    font-weight: 900;
    color: var(--terracotta);
    flex-shrink: 0;
    padding-top: 0.2rem;
    opacity: 0.6;
}

.problema-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--navy);
}

.problema-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

.problema-insight {
    display: flex;
    gap: var(--space-sm);
    padding: 1.4rem 1.6rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--terracotta);
    box-shadow: var(--shadow-card);
    margin-top: var(--space-sm);
}

.insight-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.problema-insight p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ========================================================================
   MÉTODO
   ======================================================================== */
.metodo {
    background: var(--navy-deep);
    overflow: hidden;
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-xl);
}

.method-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .method-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.method-card {
    position: relative;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    color: var(--sand);
    transition: all var(--transition-med);
    overflow: hidden;
}

.method-card:hover {
    border-color: rgba(168, 73, 40, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(168, 73, 40, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
}

.method-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.card-letter {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--terracotta);
    line-height: 1;
}

.card-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(168, 73, 40, 0.4), transparent);
}

.method-card h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.method-card p {
    color: rgba(242, 235, 227, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================================================
   FILTRO EXECUTIVO — Immersive animated experience
   ======================================================================== */
.filtro {
    background: var(--white);
    overflow: hidden;
}

.filter-immersive {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: var(--space-lg);
    position: relative;
}

@media (min-width: 768px) {
    .filter-immersive {
        grid-template-columns: 1fr auto 1fr;
        min-height: 480px;
    }
}

/* Filter Panels */
.filter-panel {
    position: relative;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-panel-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.filter-panel-content {
    position: relative;
    z-index: 1;
}

/* YES Panel */
.filter-panel-yes {
    border: 1px solid rgba(26, 43, 74, 0.08);
    background: linear-gradient(165deg, rgba(26, 43, 74, 0.03), transparent);
}

.filter-panel-yes .filter-panel-bg {
    background: linear-gradient(165deg, rgba(26, 43, 74, 0.08), rgba(26, 43, 74, 0.02));
}

.filter-panel-yes.active {
    border-color: rgba(26, 43, 74, 0.2);
    box-shadow: 0 20px 80px rgba(26, 43, 74, 0.12);
    transform: scale(1.02);
}

.filter-panel-yes.active .filter-panel-bg {
    opacity: 1;
}

/* NO Panel */
.filter-panel-no {
    border: 1px solid rgba(168, 73, 40, 0.06);
    background: linear-gradient(165deg, rgba(168, 73, 40, 0.02), transparent);
}

.filter-panel-no .filter-panel-bg {
    background: linear-gradient(165deg, rgba(168, 73, 40, 0.06), rgba(168, 73, 40, 0.01));
}

.filter-panel-no.active {
    border-color: rgba(168, 73, 40, 0.15);
    box-shadow: 0 20px 80px rgba(168, 73, 40, 0.08);
    transform: scale(1.02);
}

.filter-panel-no.active .filter-panel-bg {
    opacity: 1;
}

/* Panel Icons */
.filter-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: rgba(26, 43, 74, 0.06);
    color: var(--navy);
    transition: all 0.6s ease;
}

.filter-icon-no {
    background: rgba(168, 73, 40, 0.06);
    color: var(--terracotta);
}

.filter-panel.active .filter-panel-icon {
    transform: scale(1.1);
}

.filter-panel-yes.active .filter-panel-icon {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(26, 43, 74, 0.3);
}

.filter-panel-no.active .filter-panel-icon {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(168, 73, 40, 0.3);
}

.filter-panel h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

/* Filter List Items with staggered animation */
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-item {
    display: flex;
    gap: 0.8rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-panel-no .filter-item {
    transform: translateX(20px);
}

.filter-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-item-marker {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.85rem;
    padding-top: 2px;
}

.filter-panel-no .filter-item-marker {
    color: var(--terracotta);
}

/* Divider */
.filter-divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
}

@media (min-width: 768px) {
    .filter-divider {
        flex-direction: column;
        padding: 0 var(--space-md);
    }
}

.filter-divider-line {
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(168, 73, 40, 0.2), transparent);
    width: 1px;
}

@media (max-width: 767px) {
    .filter-divider-line {
        height: 1px;
        width: auto;
        background: linear-gradient(to right, transparent, rgba(168, 73, 40, 0.2), transparent);
    }
}

.filter-divider-text {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    background: var(--white);
    padding: 0.6rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(168, 73, 40, 0.15);
    flex-shrink: 0;
}

/* Filter CTA */
.filter-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.filter-cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* ========================================================================
   AUTORIDADE
   ======================================================================== */
.autoridade {
    background: var(--sand);
}

.authority-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .authority-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: var(--space-xl);
        align-items: center;
    }
}

.authority-img-wrapper {
    position: relative;
}

.img-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, var(--navy), var(--navy-deep));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.authority-badge-float {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--white);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
}

.authority-logo {
    width: 70px;
    height: auto;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: var(--space-md);
}

.credential {
    display: flex;
    gap: var(--space-sm);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(26, 43, 74, 0.08);
    transition: all var(--transition-fast);
}

.credential:last-child {
    border-bottom: none;
}

.credential:hover {
    padding-left: 0.5rem;
}

.credential-marker {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--terracotta);
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.credential strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.credential p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================================================
   APLICAÇÃO
   ======================================================================== */
.aplicacao {
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.aplicacao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translateX(-50%) translateY(-50%);
    background: radial-gradient(ellipse, rgba(168, 73, 40, 0.1), transparent 70%);
    pointer-events: none;
}

/* Timeline */
.steps-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .steps-timeline {
        flex-direction: row;
        justify-content: center;
    }
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-med);
    min-width: 220px;
}

.timeline-step:hover {
    border-color: rgba(168, 73, 40, 0.3);
    background: rgba(168, 73, 40, 0.06);
    transform: translateY(-4px);
}

.timeline-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--terracotta);
    flex-shrink: 0;
    line-height: 1;
}

.timeline-content h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.timeline-content p {
    font-size: 0.8rem;
    color: rgba(242, 235, 227, 0.45);
    margin: 0;
}

.timeline-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, rgba(168, 73, 40, 0.4), transparent);
}

@media (min-width: 768px) {
    .timeline-connector {
        width: 48px;
        height: 2px;
        background: linear-gradient(to right, rgba(168, 73, 40, 0.4), transparent);
    }
}

/* Form */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.form-placeholder {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.form-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
    text-align: center;
    transition: all 0.6s ease;
}

.form-logo {
    width: 100px;
    opacity: 0.6;
}

.form-placeholder-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================================================
   FORM SUCCESS ANIMATION
   ======================================================================== */
.form-success {
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.form-success.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.success-content {
    text-align: center;
    padding: var(--space-lg);
}

.success-content h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.success-content>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

/* Animated Checkmark */
.success-check {
    margin: 0 auto var(--space-md);
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--terracotta);
    stroke-miterlimit: 10;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--terracotta);
    fill: none;
    animation: circle-draw 0.6s ease-in-out 0.2s forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    animation: check-draw 0.4s ease-in-out 0.7s forwards;
}

@keyframes circle-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Success Steps */
.success-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.success-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 100px;
}

.success-step span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.success-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.success-step-icon.active {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(168, 73, 40, 0.3);
}

.success-step-icon.pending {
    background: rgba(26, 43, 74, 0.06);
    color: var(--text-muted);
    border: 1px dashed rgba(26, 43, 74, 0.15);
}

.success-step-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--terracotta), rgba(26, 43, 74, 0.1));
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}

/* ========================================================================
   FOOTER — Logo fully white
   ======================================================================== */
.site-footer {
    background: #060D18;
    padding: var(--space-md) 0;
}

.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.footer-logo {
    width: 80px;
    opacity: 0.4;
    /* Make entire logo white including "CLASSES" text */
    filter: brightness(0) invert(1);
}

.site-footer p {
    font-size: 0.8rem;
    color: rgba(242, 235, 227, 0.25);
    margin: 0;
}

/* ================== REVEAL ANIMATIONS ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="100"] {
    transition-delay: 0.1s;
}

.reveal[data-delay="150"] {
    transition-delay: 0.15s;
}

.reveal[data-delay="200"] {
    transition-delay: 0.2s;
}

.reveal[data-delay="250"] {
    transition-delay: 0.25s;
}

.reveal[data-delay="300"] {
    transition-delay: 0.3s;
}

.reveal[data-delay="400"] {
    transition-delay: 0.4s;
}

.reveal[data-delay="500"] {
    transition-delay: 0.5s;
}

.reveal[data-delay="600"] {
    transition-delay: 0.6s;
}

.reveal[data-delay="800"] {
    transition-delay: 0.8s;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 767px) {
    .authority-badge-float {
        bottom: -0.5rem;
        right: 0.5rem;
    }

    .section-intro {
        margin-bottom: var(--space-lg);
    }

    .hero-grid {
        padding-top: 4.5rem;
    }

    .hero-media {
        display: none;
    }
}