/* ============================================
   PROVAS DE ACESSO — TEATRO
   SMG Conservatório de Guimarães
   Premium Landing Page Styles
   ============================================ */

/* ---- Design Tokens ---- */
:root {
    /* Crimson Theatre Palette (inspired by stage curtains) */
    --crimson-50: #fff5f5;
    --crimson-100: #ffe0e0;
    --crimson-200: #fbb8b8;
    --crimson-300: #f08080;
    --crimson-400: #e05050;
    --crimson-500: #c83030;
    --crimson-600: #a82020;
    --crimson-700: #881818;
    --crimson-800: #661414;
    --crimson-900: #4a0e0e;

    /* Neutral Dark */
    --dark-50: #f8f8f8;
    --dark-100: #e8e8e8;
    --dark-200: #d0d0d0;
    --dark-300: #a0a0a0;
    --dark-400: #707070;
    --dark-500: #505050;
    --dark-600: #383838;
    --dark-700: #282828;
    --dark-800: #1a1a1a;
    --dark-900: #0f0f0f;

    /* Accents */
    --accent-warm: #e8a040;
    --accent-green: #22a858;
    --accent-blue: #4a8fd5;

    /* Semantic */
    --bg-primary: #0c0a0a;
    --bg-secondary: #131010;
    --bg-card: #1a1616;
    --bg-card-hover: #221e1e;
    --text-primary: #f5eded;
    --text-secondary: #bfb0b0;
    --text-muted: #8a7878;
    --border-color: rgba(224, 80, 80, 0.1);
    --border-color-hover: rgba(224, 80, 80, 0.25);

    /* Gradients */
    --gradient-crimson: linear-gradient(135deg, var(--crimson-400), var(--crimson-600));
    --gradient-hero: linear-gradient(160deg, #1a0808 0%, #0c0a0a 40%, #0c0c14 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 80, 80, 0.06), transparent 40%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --section-padding: 7rem 0;
    --container-width: 1200px;

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-crimson: 0 8px 32px rgba(200, 48, 48, 0.15);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    color: var(--crimson-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--crimson-300);
}

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

::selection {
    background: var(--crimson-500);
    color: white;
}

/* ---- Container ---- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-crimson);
    color: white;
    box-shadow: var(--shadow-crimson);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 48, 48, 0.3);
}

.btn-primary::after {
    background: linear-gradient(135deg, var(--crimson-300), var(--crimson-500));
}

.btn-outline {
    background: transparent;
    color: var(--crimson-400);
    border: 1.5px solid var(--border-color-hover);
}

.btn-outline:hover {
    background: rgba(224, 80, 80, 0.08);
    color: var(--crimson-300);
    border-color: var(--crimson-400);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(12, 10, 10, 0.9);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-logo:hover {
    color: var(--crimson-400);
}

.nav-logo i {
    font-size: 1.3rem;
    color: var(--crimson-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    background: var(--gradient-crimson) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.3rem !important;
    box-shadow: var(--shadow-crimson);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 48, 48, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 80, 80, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 160, 64, 0.1), transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 143, 213, 0.08), transparent 70%);
    top: 40%;
    left: 60%;
    animation: float 18s ease-in-out infinite 2s;
}

.shape-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 80, 80, 0.08), transparent 70%);
    top: 60%;
    right: 60%;
    animation: float 22s ease-in-out infinite 5s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Theater curtain decorations */
.hero-curtain {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-curtain-left {
    left: 0;
    background: linear-gradient(to right, rgba(168, 32, 32, 0.12), transparent);
}

.hero-curtain-right {
    right: 0;
    background: linear-gradient(to left, rgba(168, 32, 32, 0.12), transparent);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 168, 88, 0.15);
    border: 1px solid rgba(34, 168, 88, 0.3);
    color: #5ce892;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 168, 88, 0.2);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(34, 168, 88, 0);
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.3rem;
}

.hero-title-accent {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--crimson-300), var(--crimson-500), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title-year {
    display: block;
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(224, 80, 80, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crimson-400);
    font-size: 1rem;
}

.stat-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Floating theater icons */
.hero-theater-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.theater-icon {
    position: absolute;
    color: rgba(224, 80, 80, 0.06);
    font-size: 4rem;
    animation: iconFloat 15s ease-in-out infinite;
    animation-delay: var(--delay);
}

.theater-icon:nth-child(1) {
    top: 15%;
    left: 8%;
}

.theater-icon:nth-child(2) {
    top: 25%;
    right: 10%;
    font-size: 3rem;
}

.theater-icon:nth-child(3) {
    bottom: 20%;
    left: 12%;
    font-size: 3.5rem;
}

.theater-icon:nth-child(4) {
    bottom: 30%;
    right: 8%;
    font-size: 2.5rem;
}

@keyframes iconFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: none;
    animation: bounce 2.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ---- Section Base ---- */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--crimson-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--crimson-300), var(--crimson-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- About / Features ---- */
.section-about {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(224, 80, 80, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--crimson-400);
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease-spring);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-crimson);
    color: white;
    transform: scale(1.05);
    border-color: transparent;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---- Provas Section ---- */
.section-provas {
    background: var(--bg-primary);
}

.provas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.prova-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.prova-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prova-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 2rem 0;
}

.prova-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: var(--gradient-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.prova-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prova-weight {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--crimson-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prova-card-body {
    padding: 1.5rem 2rem 2rem;
}

.prova-section {
    margin-bottom: 1.5rem;
}

.prova-section h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--crimson-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prova-section h4 i {
    font-size: 0.8rem;
}

.prova-section ul {
    list-style: none;
    padding: 0;
}

.prova-section ul li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.prova-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--crimson-400);
    opacity: 0.6;
}

.prova-material {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: rgba(224, 80, 80, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.prova-material i {
    color: var(--crimson-400);
    font-size: 1rem;
    margin-top: 0.15rem;
}

.prova-material p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.prova-material p strong {
    color: var(--text-primary);
}

/* ---- Registration Section ---- */
.section-register {
    background: var(--bg-secondary);
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(224, 80, 80, 0.1);
    border: 1.5px solid var(--border-color-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--crimson-400);
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-content a {
    color: var(--crimson-400);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CTA Card */
.cta-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 80, 80, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--gradient-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cta-period {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.cta-price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.price-icon {
    font-size: 2rem;
    background: var(--gradient-crimson);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-value {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-crimson);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cta-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.cta-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cta-features li i {
    color: var(--accent-green);
    font-size: 0.85rem;
}

.cta-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.cta-note i {
    margin-right: 0.3rem;
}

/* ---- Timeline Section ---- */
.section-timeline {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--border-color-hover), var(--border-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--crimson-400);
    z-index: 2;
    transition: all 0.4s var(--ease-spring);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: var(--crimson-400);
    box-shadow: 0 0 20px rgba(224, 80, 80, 0.15);
}

.timeline-marker.highlight-marker {
    background: var(--gradient-crimson);
    border-color: var(--crimson-500);
    color: white;
}

.timeline-marker.active {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.timeline-content {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s var(--ease-out);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--crimson-400);
    background: rgba(224, 80, 80, 0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ---- Texto Section ---- */
.section-texto {
    background: var(--bg-secondary);
}

.texto-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    overflow: hidden;
}

.texto-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.texto-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.texto-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--crimson-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.texto-source {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.texto-character {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-crimson);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.texto-body {
    padding: 2.5rem;
}

.texto-body blockquote {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--crimson-400);
}

.texto-body blockquote p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-primary);
    font-style: italic;
}

.texto-footer {
    padding: 0 2.5rem 2.5rem;
}

.texto-tips {
    background: rgba(224, 80, 80, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
}

.texto-tips h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-warm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.texto-tips ul {
    list-style: none;
    padding: 0;
}

.texto-tips ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.texto-tips ul li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* ---- Regulation Section ---- */
.section-regulation {
    background: var(--bg-primary);
}

/* Highlights bar */
.reg-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 820px;
    margin: 0 auto 3rem;
}

.reg-highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    transition: all 0.4s var(--ease-out);
}

.reg-highlight-item:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.reg-highlight-item > i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(224, 80, 80, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--crimson-400);
}

.reg-hl-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.reg-hl-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Accordion */
.reg-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.accordion-item:hover {
    border-color: var(--border-color-hover);
}

.accordion-item.active {
    border-color: rgba(224, 80, 80, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(224, 80, 80, 0.08);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    text-align: left;
}

.reg-chapter-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(224, 80, 80, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--crimson-400);
    transition: all 0.4s var(--ease-spring);
}

.accordion-item.active .reg-chapter-num {
    background: var(--gradient-crimson);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

.accordion-header h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.accordion-summary {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.15rem 0 0 0;
    line-height: 1.4;
}

.accordion-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.4s var(--ease-out), color 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--crimson-400);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
    max-height: 1200px;
    padding: 0 1.5rem 1.8rem;
}

.accordion-body ol,
.accordion-body ul {
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.85;
}

.accordion-body ol li {
    padding: 0.4rem 0;
}

.accordion-body ol li a {
    color: var(--crimson-400);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.accordion-body ol li a:hover {
    color: var(--crimson-300);
}

.accordion-body ol li strong {
    color: var(--text-primary);
}

.accordion-body ul li {
    padding: 0.2rem 0;
}

/* Approval note */
.reg-approval {
    max-width: 820px;
    margin: 1.5rem auto 2.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.regulation-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 0 auto;
}

.regulation-contacts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.regulation-contacts a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.regulation-contacts a:hover {
    color: var(--crimson-400);
}

.regulation-contacts span {
    color: var(--text-muted);
}

/* ---- Final CTA ---- */
.section-final-cta {
    padding: 5rem 0;
}

.final-cta {
    background: linear-gradient(135deg, #1a0a08, #1c1210, #181420);
    border: 1px solid var(--border-color-hover);
    border-radius: 28px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(224, 80, 80, 0.08);
    top: -200px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(232, 160, 64, 0.06);
    bottom: -150px;
    left: -100px;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark-900);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--crimson-400);
}

.footer-logo strong {
    display: block;
    font-size: 0.95rem;
}

.footer-logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 0.35rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--crimson-400);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-partners {
    display: flex;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ---- Animations ---- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .register-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .provas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4.5rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        gap: 0.3rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-title-line {
        font-size: 1.3rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-theater-icons {
        display: none;
    }

    .hero-curtain {
        width: 40px;
    }

    .reg-highlights {
        grid-template-columns: 1fr;
    }

    .accordion-header {
        padding: 1.1rem 1.2rem;
    }

    .accordion-item.active .accordion-body {
        padding: 0 1.2rem 1.5rem;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .timeline-marker {
        left: -2.5rem;
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .texto-header {
        padding: 1.5rem;
    }

    .texto-body {
        padding: 1.5rem;
    }

    .texto-footer {
        padding: 0 1.5rem 1.5rem;
    }

    .texto-body blockquote p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .final-cta {
        padding: 3rem 1.5rem;
    }

    .register-grid {
        gap: 2rem;
    }

    .prova-card-header {
        padding: 1.5rem 1.5rem 0;
    }

    .prova-card-body {
        padding: 1.2rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .texto-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
