/* ===================================================
   LANDING PAGE — ESCRITÓRIO DE ADVOCACIA IMOBILIÁRIA
   Design Tokens & Mobile-First Stylesheet
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
    /* Palette */
    --navy: #0B1D3A;
    --navy-light: #132B52;
    --graphite: #2C2C2C;
    --graphite-50: #3A3A3A;
    --gold: #C9A84C;
    --gold-light: #E0C56B;
    --gold-dark: #A88A30;
    --white: #FAFAFA;
    --off-white: #F0EDEA;
    --light-gray: #E8E5E1;
    --text-body: #3D3D3D;
    --text-muted: #6B6B6B;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacers */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Sizing */
    --max-width: 1140px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .18);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, .25);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: var(--space-md);
}

.gold-bar {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all .35s var(--ease);
    text-align: center;
    line-height: 1.3;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201, 168, 76, .4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-2px);
}

.btn svg,
.btn img {
    width: 20px;
    height: 20px;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: all .4s var(--ease);
    background: transparent;
}

.header.scrolled {
    background: rgba(11, 29, 58, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
    padding: 10px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
}

.logo span {
    color: var(--gold);
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s var(--ease);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    padding: 80px var(--space-lg) var(--space-lg);
    transition: right .4s var(--ease);
    z-index: 999;
}

.nav-menu.open {
    right: 0;
}

.nav-menu a {
    display: block;
    padding: 14px 0;
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: color .3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ===================================================
   BLOCO 1 — HERO (DOBRA)
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--navy) 0%, #0F2847 50%, #162D50 100%);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('hero_bg.webp') center/cover no-repeat;
    opacity: .12;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(201, 168, 76, .12);
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 50px;
    color: var(--gold);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero h1 em {
    font-style: normal;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

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

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}

.hero-stat .label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
    margin-top: 4px;
}

/* ===================================================
   BLOCO 2 — A DOR
   =================================================== */
.pain {
    padding: var(--space-xl) 0 var(--space-xl);
    background: var(--white);
}

.pain-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.pain-intro .section-title {
    color: var(--navy);
}

.pain-intro p {
    color: var(--text-muted);
    font-size: .95rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pain-card {
    position: relative;
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all .35s var(--ease);
    border: 1px solid transparent;
}

.pain-card:hover {
    background: #fff;
    border-color: var(--light-gray);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.pain-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(201, 168, 76, .12), rgba(201, 168, 76, .05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold-dark);
}

.pain-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.pain-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================
   BLOCO 3 — SOLUÇÕES
   =================================================== */
.solutions {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.solutions-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.solution-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

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

.solution-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(201, 168, 76, .15);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.solution-card .subtitle {
    font-size: .85rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.solution-card p {
    font-size: .92rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.solution-card .btn {
    width: 100%;
}

/* ===================================================
   BLOCO 4 — AUTORIDADE (QUEM SOMOS)
   =================================================== */
.about {
    padding: var(--space-xl) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, .06) 0%, transparent 70%);
    border-radius: 50%;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about .section-label {
    color: var(--gold);
}

.about .section-title {
    color: var(--white);
}

.about .gold-bar {
    margin-bottom: var(--space-lg);
}

.about-text p {
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.about-photo {
    margin-top: var(--space-lg);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.about-photo svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, .2);
}

.about-photo span {
    color: rgba(255, 255, 255, .35);
    font-size: .85rem;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--space-lg);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50px;
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    font-weight: 500;
}

.about-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ===================================================
   BLOCO 5 — FAQ
   =================================================== */
.faq {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--off-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all .3s var(--ease);
}

.faq-item.active {
    background: #fff;
    border-color: var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform .3s var(--ease);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   DIAGNOSTIC FORM
   =================================================== */
.diagnostic {
    padding: var(--space-xl) 0;
    background: linear-gradient(165deg, var(--navy) 0%, #0F2847 100%);
    position: relative;
    overflow: hidden;
}

.diagnostic::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, .06) 0%, transparent 70%);
    border-radius: 50%;
}

.diagnostic-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.diagnostic-info p {
    color: rgba(255, 255, 255, .65);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.diagnostic-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: var(--space-sm);
}

.diagnostic-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
}

.diagnostic-trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Form card */
.diagnostic-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

/* Step indicators */
.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-lg);
}

.form-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--ease);
    flex-shrink: 0;
}

.form-step-dot.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.form-step-dot.done {
    background: var(--navy);
    color: var(--gold);
}

.form-step-line {
    width: 40px;
    height: 2px;
    background: var(--light-gray);
    flex-shrink: 0;
}

/* Form panels */
.form-panel {
    display: none;
}

.form-panel.active {
    display: block;
    animation: fadeIn .4s var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.form-panel-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-md);
    text-align: center;
}

/* Radio option cards */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.form-option {
    cursor: pointer;
}

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

.form-option-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all .25s var(--ease);
    font-size: .92rem;
    color: var(--text-body);
}

.form-option-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.form-option input:checked+.form-option-box {
    border-color: var(--gold);
    background: rgba(201, 168, 76, .08);
    box-shadow: 0 0 0 1px var(--gold);
}

.form-option-box:hover {
    border-color: var(--light-gray);
    background: #fff;
}

/* Text input fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--space-md);
}

.form-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-field input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-body);
    transition: border-color .3s var(--ease);
    background: var(--off-white);
    outline: none;
}

.form-field input:focus {
    border-color: var(--gold);
    background: #fff;
}

.form-field input::placeholder {
    color: var(--text-muted);
    opacity: .6;
}

/* Navigation row */
.form-nav-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.form-nav-row .btn {
    flex: 1;
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--light-gray);
}

.btn-outline-dark:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* Next button disabled state */
.form-next:disabled,
.form-next[disabled] {
    opacity: .4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Success state */
.form-success {
    text-align: center;
}

.form-success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    animation: popIn .5s var(--ease);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.form-success p {
    color: var(--text-muted);
    font-size: .92rem;
    margin-bottom: var(--space-md);
}

.form-success .btn {
    margin: 0 auto;
}

/* ===================================================
   CTA FINAL
   =================================================== */
.cta-final {
    padding: var(--space-xl) 0;
    background: linear-gradient(165deg, var(--navy) 0%, #0F2847 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, .08) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-final h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.cta-final p {
    color: rgba(255, 255, 255, .65);
    font-size: .95rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================
   BLOCO 6 — RODAPÉ
   =================================================== */
.footer {
    background: #070F1E;
    padding: var(--space-lg) 0 var(--space-md);
    color: rgba(255, 255, 255, .45);
    font-size: .82rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.footer-brand .logo {
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: .82rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--white);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: .82rem;
    transition: color .3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-oab {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    line-height: 1.7;
}

.footer-oab p {
    margin-bottom: 4px;
}

/* ===================================================
   WHATSAPP FLOATING BUTTON
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    transition: all .3s var(--ease);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .4);
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

/* ===================================================
   ANIMATIONS (scroll reveal helpers)
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* ===================================================
   RESPONSIVE — TABLET (≥ 640px)
   =================================================== */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-cta-group {
        flex-direction: row;
    }

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

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

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-options {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .form-option {
        flex: 1;
        min-width: 45%;
    }
}

/* ===================================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   =================================================== */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.4rem;
    }

    .hero-sub {
        font-size: 1.12rem;
    }

    .hero-stats {
        max-width: 500px;
    }

    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        display: flex;
        gap: 28px;
    }

    .nav-menu a {
        padding: 0;
        border: none;
        font-size: .92rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-final h2 {
        font-size: 2.25rem;
    }

    .diagnostic-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .diagnostic-info {
        flex: 1;
        position: sticky;
        top: 120px;
    }

    .diagnostic-form-card {
        flex: 1;
        max-width: 500px;
    }
}