/* ============================================================
   Landing page (index) — dark premium, single-scroll
   ============================================================ */
:root {
    /* Paleta oficial Trocare */
    --teal: #009B99;      /* secundária */
    --lime: #AAFF00;      /* primária — reservada para CTAs */

    /* Variações do teal pra fundo (saturação e luminosidade ajustadas) */
    --teal-deep: #003F3E;
    --teal-mid: #006B6A;

    --surface-dark: rgba(255, 255, 255, 0.05);
    --surface-dark-2: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(255, 255, 255, 0.10);
    --lime-soft: rgba(170, 255, 0, 0.12);
    --text: #FFFFFF;
    --text-muted: #C5DAD9;
    --text-dim: #88B0AF;
    --radius-card: 24px;
    --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--teal-deep);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

body {
    /* Base: gradient diagonal do teal oficial pro teal escuro. Lime apenas como
       aurora muito sutil no canto, sem competir com os botões. */
    background:
        radial-gradient(900px 500px at 100% 100%, rgba(170, 255, 0, 0.06), transparent 65%),
        radial-gradient(1200px 700px at 0% 0%, rgba(0, 155, 153, 0.55), transparent 60%),
        linear-gradient(160deg, var(--teal) 0%, var(--teal-mid) 35%, var(--teal-deep) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAV ──────────────────────────────────────────────────────── */
.h-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 63, 62, 0.72);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--border-dark);
}
.h-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}
.h-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: -0.4px;
}
.h-brand img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}
.h-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.h-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s ease;
}
.h-nav-links a:hover { color: var(--text); }
.h-cta {
    background: var(--lime);
    color: #003F3E !important;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.2px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.h-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(170, 255, 0, 0.35);
    color: #003F3E !important;
}

@media (max-width: 720px) {
    .h-nav-links a:not(.h-cta) { display: none; }
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.h-hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.h-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .h-hero {
        padding: 56px 0 72px;
    }
    .h-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.h-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--lime-soft);
    color: var(--lime);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(170, 255, 0, 0.22);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.h-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 0 12px var(--lime);
}

.h-hero h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.04;
    letter-spacing: -1.2px;
    margin: 0 0 18px;
    color: var(--text);
}
.h-hero h1 .accent { color: var(--lime); }
.h-hero p.lead {
    color: var(--text-muted);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 0 32px;
}
@media (max-width: 900px) {
    .h-hero p.lead { margin-left: auto; margin-right: auto; }
}

.h-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 900px) { .h-actions { justify-content: center; } }

.h-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lime);
    color: #003F3E;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.h-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(170, 255, 0, 0.4);
}
.h-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 4px;
}
.h-btn-ghost:hover { color: var(--text); }

.h-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-hero-art-wrap {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 155, 153, 0.20), rgba(170, 255, 0, 0.10));
    padding: 6px;
    max-width: 480px;
    width: 100%;
}
.h-hero-art-wrap::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at center, rgba(170, 255, 0, 0.18), transparent 60%);
    z-index: -1;
    filter: blur(40px);
}
.h-hero-art-wrap img {
    border-radius: 26px;
    width: 100%;
}

/* ─── COMO FUNCIONA ────────────────────────────────────────────── */
.h-steps {
    padding: 80px 0;
}
.h-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.h-section-head .eyebrow {
    display: inline-block;
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.h-section-head h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
    color: var(--text);
}
.h-section-head p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

.h-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 900px) {
    .h-steps-grid { grid-template-columns: 1fr; gap: 18px; }
}
.h-step {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: border-color .2s ease, transform .2s ease;
}
.h-step:hover {
    border-color: rgba(170, 255, 0, 0.3);
    transform: translateY(-2px);
}
.h-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--lime-soft);
    color: var(--lime);
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 20px;
}
.h-step-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 155, 153, 0.15), rgba(170, 255, 0, 0.06));
    margin-bottom: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.h-step h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.h-step p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

/* ─── CONFIANÇA ────────────────────────────────────────────────── */
.h-trust {
    padding: 60px 0 80px;
}
.h-trust-card {
    background: linear-gradient(135deg, rgba(0, 155, 153, 0.12), rgba(170, 255, 0, 0.04));
    border: 1px solid var(--border-dark);
    border-radius: 28px;
    padding: 48px;
}
@media (max-width: 720px) { .h-trust-card { padding: 32px 24px; } }
.h-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 720px) {
    .h-trust-grid { grid-template-columns: 1fr; gap: 24px; }
}
.h-trust-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.h-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(170, 255, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lime);
    margin-bottom: 6px;
}
.h-trust-item h4 {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
}
.h-trust-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}
.h-trust-item a {
    color: var(--lime);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    margin-top: 4px;
}
.h-trust-item a:hover { text-decoration: underline; }

/* ─── CTA FINAL ────────────────────────────────────────────────── */
.h-final {
    padding: 80px 0 100px;
    text-align: center;
}
.h-final h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0 0 20px;
    color: var(--text);
}
.h-final h2 .accent { color: var(--lime); }
.h-final p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 32px;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.h-footer {
    border-top: 1px solid var(--border-dark);
    padding: 40px 0;
    color: var(--text-dim);
}
.h-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.h-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 15px;
}
.h-footer-brand img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.h-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    flex-wrap: wrap;
}
.h-footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color .15s ease;
}
.h-footer-links a:hover { color: var(--text); }
.h-footer-copy {
    font-size: 12px;
    color: var(--text-dim);
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
