/* ============================================
   ROMA ACADEMIA — Design System
   ============================================ */

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

:root {
    --bg: hsl(40, 10%, 8%);
    --bg-dark: hsl(40, 10%, 5%);
    --marble: hsl(40, 15%, 92%);
    --marble-60: hsla(40, 15%, 92%, 0.6);
    --marble-40: hsla(40, 15%, 92%, 0.4);
    --bronze: hsl(43, 45%, 65%);
    --bronze-dk: hsl(35, 50%, 30%);
    --green: hsl(145, 30%, 14%);
    --green-card: hsl(145, 20%, 12%);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--marble);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    position: relative;
    z-index: 3;
}

.container-narrow {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    position: relative;
    z-index: 3;
}

.text-bronze {
    color: var(--bronze);
}

.text-bronze-italic {
    color: var(--bronze);
}

em {
    font-family: var(--serif);
    font-style: italic;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: hsl(35, 40%, 20%);
    border-radius: 3px;
}


/* ============================================
   SEAMLESS SECTION TRANSITIONS
   ============================================ */

/* Every section gets a smooth gradient fade at top and bottom */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: clamp(40px, 6vw, 80px);
    background: linear-gradient(to bottom, var(--bg), transparent);
    z-index: 2;
    pointer-events: none;
}

section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: clamp(40px, 6vw, 80px);
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Green sections: no gradient fades (impacto) */
.section-green::before {
    display: none;
}

.section-green::after {
    display: none;
}

/* Hero: no top fade, no bottom fade (flows directly into next section) */
.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

/* Remove top fade on eusei so hero flows straight into it */
.section-eusei::before {
    display: none;
}

/* Footer: no bottom fade */
.footer::after {
    display: none;
}

.footer::before {
    background: linear-gradient(to bottom, var(--bg), var(--bg-dark));
}

/* Testimonials blend */
.section-testimonials::before {
    background: linear-gradient(to bottom, var(--bg), var(--bg-dark));
}

.section-testimonials::after {
    background: linear-gradient(to top, var(--bg), var(--bg-dark));
}


/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: -2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 20%;
    filter: brightness(0.15);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%),
        radial-gradient(ellipse at 65% 40%, transparent 30%, var(--bg) 75%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(6rem, 12vh, 10rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vh, 5rem);
    width: 100%;
}

.hero-badge {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--bronze);
    margin-bottom: 1rem;
}

.hero-sub-italic {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--marble-60);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title em {
    color: var(--bronze);
}

.hero-line {
    width: 50px;
    height: 2px;
    background: var(--bronze);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: var(--marble-60);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-signature {
    width: clamp(140px, 16vw, 200px);
    opacity: 0.7;
    filter: brightness(1.2) invert(1);
}

/* Hero Form */
.hero-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Status Badge */
.status-badge-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bronze);
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--bronze);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--bronze);
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 12px var(--bronze);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.status-subtext {
    font-family: var(--serif);
    color: #999;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.hero-form-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.4) 0%, rgba(5, 5, 5, 0.7) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid hsla(40, 20%, 92%, 0.05);
    border-top: 1px solid hsla(40, 20%, 92%, 0.2);
    border-left: 1px solid hsla(40, 20%, 92%, 0.15);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    padding: clamp(2.5rem, 4vw, 3rem);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
}

.form-title {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--bronze);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: var(--sans);
    color: var(--marble);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.form-group .iti input {
    text-indent: 12px;
    /* Space from the country code border */
}

@media (max-width: 480px) {
    .form-group .iti input {
        text-indent: 4px;
        padding-right: 0.5rem;
        font-size: 0.9rem;
    }
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
    outline: none;
    border-color: var(--bronze);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* intl-tel-input overrides for dark theme */
.iti {
    width: 100%;
}

.iti__country-list {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--marble);
    font-family: var(--sans);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-top: 8px;
}

/* Hide flags in dropdown list too */
.iti__country-list .iti__flag-box {
    display: none;
}

.iti__country.iti__highlight,
.iti__country:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.iti__selected-flag {
    background-color: transparent !important;
    padding: 0 0.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide flag icon in selected area */
.iti__flag {
    display: none !important;
}

.iti__selected-dial-code {
    color: var(--marble);
    margin-left: 0;
    font-family: var(--sans);
    font-size: 0.95rem;
}

/* Hide dropdown arrow */
.iti__arrow {
    display: none;
}

.iti__search-input {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--marble);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Fix placeholder not overlapping */
.iti input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    opacity: 1;
}

.btn-candidatar {
    width: 100%;
    padding: 0.9rem;
    background: var(--bronze);
    color: var(--bg);
    border: none;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.btn-candidatar:hover {
    background: hsl(43, 50%, 58%);
    transform: translateY(-1px);
}


/* ============================================
   EU SEI COMO É
   ============================================ */
.section-eusei {
    background: var(--bg);
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.eusei-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 700px;
}

.eusei-img-col {
    position: relative;
    overflow: hidden;
}

/* Strong radial vignette — dissolves edges into bg */
.eusei-img-col::after {
    content: '';
    position: absolute;
    inset: -5%;
    background:
        radial-gradient(ellipse at 55% 45%,
            transparent 15%,
            hsla(40, 10%, 8%, 0.5) 35%,
            hsla(40, 10%, 8%, 0.85) 50%,
            var(--bg) 65%),
        linear-gradient(to right, var(--bg) 0%, transparent 30%),
        linear-gradient(to left, var(--bg) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
}

/* Top edge vignette */
.eusei-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to bottom, var(--bg), transparent);
    pointer-events: none;
    z-index: 1;
}

.eusei-statue {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.3) brightness(0.7);
}

.eusei-text-col {
    padding: clamp(3rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eusei-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 2rem;
}

.eusei-list p {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 0.6rem;
}

.eusei-text-col .eusei-highlight {
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--marble-60);
    border-left: 2px solid var(--marble-40);
    padding-left: 1.5rem;
}

.eusei-highlight .text-bronze {
    color: var(--bronze);
}

.eusei-text-col>p {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 0.6rem;
}


/* ============================================
   FALHA DO SISTEMA
   ============================================ */
.section-falha {
    background: var(--bg);
    padding: clamp(2rem, 4vw, 4rem) 0;
    position: relative;
    overflow: hidden;
    margin-top: -6rem;
}

/* Background image */
.falha-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.falha-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: saturate(0.3) brightness(0.5);
}

/* Strong vignette — left side dark, right shows columns */
.falha-bg::after {
    content: '';
    position: absolute;
    inset: -5%;
    background:
        radial-gradient(ellipse at 75% 50%,
            transparent 10%,
            hsla(40, 10%, 8%, 0.5) 30%,
            hsla(40, 10%, 8%, 0.85) 45%,
            var(--bg) 60%),
        linear-gradient(to right, var(--bg) 0%, var(--bg) 30%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.section-falha .container-narrow {
    position: relative;
    z-index: 3;
}

.falha-quote {
    border-left: 2px solid var(--marble-40);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.falha-quote p {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--marble-60);
}

.falha-texts p {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 0.6rem;
    max-width: 750px;
}

.falha-italic {
    margin-top: 2rem;
}

.falha-italic p {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--marble-60);
    margin-bottom: 1rem;
}


/* ============================================
   COMPARAÇÃO MERCADO vs ROMA
   ============================================ */
.section-comparacao {
    background: var(--bg);
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.comparacao-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

.comparacao-titulo em {
    color: var(--bronze);
}

.comparacao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.comparacao-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--marble-40);
    margin-bottom: 1.5rem;
}

.roma-label {
    color: var(--bronze);
}

.comparacao-list li {
    font-size: 0.95rem;
    color: var(--marble-60);
    padding: 0.8rem 0;
    border-bottom: 1px solid hsla(40, 15%, 92%, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.comparacao-list.mercado li::before {
    content: '—';
    color: var(--marble-40);
}

.comparacao-list.roma li::before {
    content: '→';
    color: var(--bronze);
}

.comparacao-textos {
    max-width: 850px;
    margin: 0 auto;
}

.comparacao-textos p {
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 1.5rem;
}

.comparacao-textos .text-bronze-italic {
    font-family: var(--serif);
    font-size: 1.1rem;
}


/* ============================================
   SEÇÃO VERDE
   ============================================ */
.section-green {
    background: var(--green);
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.green-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.green-textos {
    max-width: 850px;
    margin: 0 auto 3rem;
}

.green-textos p {
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 1.5rem;
}

.green-textos .text-bronze-italic {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--bronze);
}

.green-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.green-card {
    background: var(--green-card);
    border: 1px solid hsla(40, 15%, 92%, 0.1);
    border-radius: 8px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s ease;
    cursor: default;
}

.green-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px hsla(43, 45%, 65%, 0.05);
    border-color: hsla(43, 45%, 65%, 0.2);
}

.green-card.clinico {
    border-color: var(--bronze);
}

.green-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--bronze);
    margin-bottom: 1.2rem;
}

.green-card-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.green-card-body {
    font-size: 0.88rem;
    color: var(--marble-60);
    margin-bottom: 1.2rem;
}

.green-card-italic {
    font-size: 0.88rem;
    color: var(--bronze);
}


/* ============================================
   4 NÍVEIS
   ============================================ */
.section-niveis {
    background: var(--bg);
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.niveis-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    text-align: center;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.niveis-titulo em {
    color: var(--bronze);
}

.niveis-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--marble-60);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.niveis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.nivel-card {
    text-align: left;
    background: var(--bg-dark);
    border: 1px solid hsla(40, 15%, 92%, 0.1);
    border-radius: 8px;
    padding: clamp(1.5rem, 2vw, 2rem);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s ease;
    cursor: default;
}

.nivel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px hsla(43, 45%, 65%, 0.05);
    border-color: hsla(43, 45%, 65%, 0.2);
}

.nivel-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1.2rem;
    overflow: hidden;
}

/* Heavy radial vignette — dissolves edges into card bg */
.nivel-img-wrap::after {
    content: '';
    position: absolute;
    inset: -5%;
    background: radial-gradient(ellipse at center,
            transparent 25%,
            hsla(40, 10%, 8%, 0.4) 45%,
            hsla(40, 10%, 8%, 0.8) 60%,
            var(--bg-dark) 75%);
    pointer-events: none;
    z-index: 1;
}

.nivel-img-wrap .nivel-img-inner {
    width: 100%;
    height: 100%;
}

.nivel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.4) brightness(0.65);
    transition: filter 0.5s;
}

.nivel-card:hover .nivel-img {
    filter: saturate(0.7) brightness(0.8);
}

/* Roman numeral */
.nivel-roman {
    position: absolute;
    bottom: 8%;
    right: 10%;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    color: var(--bronze);
    opacity: 0.85;
    line-height: 1;
    z-index: 2;
    text-shadow: 0 2px 15px hsla(40, 10%, 8%, 0.9);
}

.nivel-label {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: var(--bronze);
    margin-bottom: 0.5rem;
}

.nivel-name {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.nivel-tagline {
    font-family: var(--serif);
    font-size: 0.9rem;
    color: var(--bronze);
}

.nivel-detail {
    display: flex;
    flex-direction: column;
    border-top: 1px solid hsla(40, 15%, 92%, 0.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.nivel-detail h4 {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--marble);
    margin-bottom: 1rem;
}

.nivel-detail>p {
    font-size: 0.85rem;
    color: var(--marble-60);
    margin-bottom: 1.2rem;
}

.nivel-detail h5 {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--bronze);
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}

.nivel-detail ul {
    margin-bottom: 1.2rem;
}

.nivel-detail ul li {
    font-size: 0.85rem;
    color: var(--marble-60);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nivel-detail ul li::before {
    content: '→';
    color: var(--bronze);
    font-size: 0.75rem;
}

.nivel-quote {
    font-family: var(--serif);
    font-size: 0.88rem;
    color: var(--marble-40);
    margin-top: auto;
    padding-top: 1.5rem;
}


/* ============================================
   MENTOR
   ============================================ */
.section-mentor {
    background: var(--bg);
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.mentor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mentor-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 2rem;
}

.mentor-titulo em {
    color: var(--bronze);
}

.mentor-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid hsla(40, 15%, 92%, 0.08);
}

.stat-value {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--marble);
}

.stat-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--marble-40);
    margin-top: 0.3rem;
}

.mentor-bio p {
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 1.2rem;
}

.mentor-bio .text-bronze-italic {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--bronze);
}

.mentor-credit {
    font-size: 0.65rem !important;
    letter-spacing: 0.25em;
    color: var(--bronze) !important;
    margin-top: 2rem !important;
}

/* Mentor image — strong radial vignette, face stays lit */
.mentor-img-col {
    position: relative;
    overflow: hidden;
}

/* Top edge vignette */
.mentor-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10%;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.mentor-img-col::after {
    content: '';
    position: absolute;
    inset: -5%;
    background: radial-gradient(ellipse at 50% 30%,
            transparent 20%,
            hsla(40, 10%, 8%, 0.4) 40%,
            hsla(40, 10%, 8%, 0.8) 55%,
            var(--bg) 70%);
    pointer-events: none;
    z-index: 1;
}

.mentor-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.section-testimonials {
    background: var(--bg-dark);
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.test-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
    font-weight: 400;
    margin-bottom: 1rem;
}

.test-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--marble-60);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.test-card {
    background: hsla(40, 10%, 12%, 0.6);
    border: 1px solid hsla(40, 15%, 92%, 0.08);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.test-quote-mark {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--bronze);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.test-text {
    font-size: 0.88rem;
    color: var(--marble-60);
    flex: 1;
    margin-bottom: 1.5rem;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid hsla(40, 15%, 92%, 0.05);
}

.test-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsla(40, 15%, 92%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--marble-60);
}

.test-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.test-role {
    font-size: 0.72rem;
    color: var(--marble-40);
}

.test-level {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--bronze);
    margin-top: 0.2rem;
}


/* ============================================
   CTA FINAL
   ============================================ */
.section-cta {
    background: var(--bg);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.cta-img-col {
    overflow: hidden;
    position: relative;
}

/* CTA image — strong radial vignette */
.cta-img-col::after {
    content: '';
    position: absolute;
    inset: -5%;
    background: radial-gradient(ellipse at 45% 40%,
            transparent 15%,
            hsla(40, 10%, 8%, 0.4) 35%,
            hsla(40, 10%, 8%, 0.8) 50%,
            var(--bg) 65%);
    pointer-events: none;
    z-index: 1;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.7);
}

.cta-text-col {
    padding: clamp(3rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.cta-titulo em {
    color: var(--bronze);
}

.cta-line {
    width: 40px;
    height: 2px;
    background: var(--bronze);
    margin-bottom: 2rem;
}

.cta-text-col p {
    font-size: 0.95rem;
    color: var(--marble-60);
    margin-bottom: 1.2rem;
}

.cta-italic {
    font-family: var(--serif) !important;
    font-size: 1.15rem !important;
    color: var(--bronze) !important;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--bronze);
    color: var(--marble);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    margin: 1rem 0 1.5rem;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}

.btn-cta:hover {
    background: var(--bronze);
    color: var(--bg);
}

.cta-disclaimer {
    font-size: 0.65rem !important;
    letter-spacing: 0.2em;
    color: var(--marble-40) !important;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid hsla(40, 15%, 92%, 0.06);
    padding: 3rem 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-brand em {
    color: var(--bronze);
}

.footer-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--marble-40);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-right {
        justify-content: center;
    }

    .hero-form-card {
        max-width: 100%;
    }

    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-desc {
        text-align: center;
    }

    /* Restrict background to the top portion (above the form) */
    .hero-bg {
        bottom: auto;
        height: 65vh;
    }

    /* Swap image on mobile and fill the new top-only container */
    .hero-bg-img {
        content: url('./assets/andre-mobile.jpg');
        object-fit: cover;
        object-position: center 20%;
        margin-top: 0;
    }

    /* Adjust overlay to fade to solid background at the bottom of the 65vh container */
    .hero-overlay {
        background:
            radial-gradient(ellipse at center 40%, transparent 10%, hsla(40, 10%, 8%, 0.8) 60%, var(--bg) 95%),
            linear-gradient(to bottom, hsla(40, 10%, 8%, 0.8) 0%, transparent 40%, var(--bg) 95%);
    }

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

    .eusei-img-col {
        max-height: 650px;
    }

    .eusei-statue {
        object-position: center top;
    }

    .eusei-text-col {
        margin-top: -16rem;
        position: relative;
        z-index: 3;
        text-align: center;
    }

    .falha-quote {
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--marble-40);
        padding-top: 1.5rem;
    }

    .eusei-text-col .eusei-highlight {
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--marble-40);
        padding-top: 1.5rem;
    }

    .section-falha {
        margin-top: 0;
    }

    .falha-texts,
    .falha-italic {
        text-align: center;
    }

    .falha-bg-img {
        object-position: 60% center;
    }

    .falha-bg::after {
        background:
            radial-gradient(ellipse at 50% 30%,
                transparent 10%,
                hsla(40, 10%, 8%, 0.6) 40%,
                var(--bg) 70%),
            linear-gradient(to bottom, transparent 20%, var(--bg) 80%);
    }

    .comparacao-titulo {
        text-align: center;
    }

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

    .comparacao-textos {
        text-align: center;
    }

    .green-titulo {
        text-align: center;
    }

    .green-textos {
        text-align: center;
    }

    .green-cards {
        grid-template-columns: 1fr;
    }

    .green-card {
        text-align: center;
    }

    .niveis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nivel-card {
        text-align: center;
    }

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

    .mentor-img-col {
        order: -1;
    }

    .mentor-img {
        min-height: 350px;
        object-position: center 20%;
    }

    .mentor-text {
        margin-top: -8rem;
        position: relative;
        z-index: 3;
        text-align: center;
    }

    .mentor-stats {
        justify-content: center;
    }

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

    .test-card {
        text-align: center;
    }

    .test-author {
        justify-content: center;
    }

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

    .cta-img-col {
        max-height: 450px;
    }

    .cta-text-col {
        margin-top: -12rem;
        position: relative;
        z-index: 3;
        text-align: center;
        align-items: center;
    }

    .cta-line {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-titulo {
        text-align: center;
    }

    .btn-cta {
        display: block;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .niveis-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .niveis-details {
        grid-template-columns: 1fr;
    }

    .mentor-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* Qualificação Form specific styles */
.qual-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qual-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.qual-section-title {
    font-size: 1.2rem;
    color: var(--bronze);
    margin-bottom: 1.5rem;
    font-family: var(--serif);
    font-weight: 600;
}

.qual-group {
    margin-bottom: 1.5rem;
}

.qual-question {
    font-size: 0.95rem;
    color: var(--marble);
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-options.column {
    flex-direction: column;
    gap: 0.8rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.radio-label:hover {
    color: var(--marble);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--bronze);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bronze);
    box-shadow: 0 0 5px var(--bronze);
}

textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: var(--sans);
    color: var(--marble);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--bronze);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.8);
}

/* Multi-Step Layout & Custom Background */
.qualificacao-body {
    background: radial-gradient(circle at 50% 20%, #1a150f 0%, #050505 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: var(--sans);
    background-attachment: fixed;
}

/* Remove bottom border from sections since they are now separate steps */
.qual-section.step-section {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Progress Bar */
.progress-wrapper {
    margin-bottom: 2rem;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--marble);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--bronze);
    width: 25%;
    /* Default for step 1 */
    transition: width 0.4s ease;
    box-shadow: 0 0 8px var(--bronze);
}

/* Steps Visibility */
.step-section {
    display: none;
    animation: fadeInStep 0.4s ease forwards;
}

.step-section.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */
.step-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-proximo,
.btn-voltar {
    padding: 1.2rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.15em;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-proximo {
    background: var(--bronze);
    color: #000;
    border: none;
}

.btn-proximo:hover {
    background: #e6c86a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-voltar {
    background: transparent;
    color: var(--marble);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-voltar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--marble);
}

.btn-candidatar {
    flex: 1;
    /* Make the submit button take the same width in the flex container */
    margin-top: 0 !important;
    /* Override inline margin */
}