/* ===========================================================
   Cliniclic LP v2 — base
   Branco · teal · azul profundo. Plus Jakarta Sans + Instrument Serif (acentos).
   =========================================================== */

:root {
    /* Brand */
    --cyan: #07d0d0;
    --teal: #0fb3b3;
    --teal-deep: #0a8f93;
    --navy: #16337e;
    --navy-strong: #102a6b;
    --navy-950: #07102b;
    --navy-900: #0a1736;
    --navy-800: #112452;

    /* Neutrals (frios, levemente teal) */
    --ink: #0b1c33;
    --ink-2: #2b3d57;
    --muted: #5a6c85;
    --muted-2: #7d8da3;
    --line: #e2eaf2;
    --line-soft: #ecf2f7;
    --bg: #fbfdfe;
    --tint: #eef8f8;
    --tint-2: #e4f4f4;
    --card: #ffffff;

    /* Status */
    --success: hsl(152 60% 40%);
    --success-bg: hsl(152 55% 94%);
    --warning: hsl(38 92% 48%);
    --warning-bg: hsl(40 95% 93%);
    --danger: hsl(0 72% 56%);
    --danger-bg: hsl(0 80% 96%);
    --purple: hsl(258 58% 60%);
    --purple-bg: hsl(258 70% 96%);
    --blue: hsl(222 70% 55%);
    --blue-bg: hsl(222 80% 96%);

    --accent: var(--teal);
    --accent-strong: var(--teal-deep);

    /* Shape */
    --r-sm: 9px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 30px;
    --shadow-card:
        0 1px 2px rgb(11 28 51 / 0.05), 0 4px 14px -6px rgb(11 28 51 / 0.07);
    --shadow-soft:
        0 14px 36px -16px rgb(11 28 51 / 0.16),
        0 2px 8px -4px rgb(11 28 51 / 0.06);
    --shadow-float:
        0 30px 70px -28px rgb(7 16 43 / 0.35),
        0 10px 24px -14px rgb(7 16 43 / 0.18);
    --shadow-glow:
        0 0 0 1px rgb(7 208 208 / 0.18),
        0 18px 50px -18px rgb(10 143 147 / 0.35);

    --maxw: 1180px;
    --nav-h: 72px;
    --page-x: clamp(18px, 4vw, 28px);

    /* Type */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --fs-display: clamp(42px, 6.4vw, 78px);
    --fs-section: clamp(32px, 4.3vw, 52px);
    --fs-block: clamp(23px, 2.6vw, 30px);
    --fs-lead: clamp(16px, 1.6vw, 19px);
    --fs-body: 15.5px;
    --fs-sm: 14px;
    --fs-xs: 13px;

    /* Hero glow intensity (tweak) */
    --glow-opacity: 0.7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    overflow-x: clip;
}

main {
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.06;
}
p {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
button {
    font-family: inherit;
    cursor: pointer;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--page-x);
}

/* ---------- Tipografia de marca ---------- */

.serif-accent .accent-word {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--accent-strong);
}

body:not(.serif-accent) .accent-word {
    color: var(--accent-strong);
}

.on-dark .accent-word,
.serif-accent .on-dark .accent-word {
    color: var(--cyan);
}

.h-display {
    font-size: var(--fs-display);
}
.h-section {
    font-size: var(--fs-section);
    line-height: 1.08;
    text-wrap: balance;
}
.h-block {
    font-size: var(--fs-block);
    line-height: 1.2;
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.65;
    color: var(--muted);
    text-wrap: pretty;
    max-width: 56ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
}

.eyebrow--center::before {
    display: none;
}

/* ---------- Botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition:
        transform 0.18s ease,
        box-shadow 0.25s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
    transition: transform 0.2s ease;
}
.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-deep) 90%);
    color: #fff;
    box-shadow:
        0 10px 26px -10px rgb(10 143 147 / 0.55),
        inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 34px -12px rgb(10 143 147 / 0.65),
        inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: rgb(255 255 255 / 0.7);
    border-color: var(--line);
    color: var(--ink-2);
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    border-color: var(--teal);
    color: var(--accent-strong);
    transform: translateY(-2px);
}

.btn--dark-ghost {
    background: rgb(255 255 255 / 0.06);
    border-color: rgb(255 255 255 / 0.22);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn--dark-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 17px 30px;
    font-size: 16px;
}
.btn--sm {
    padding: 11px 18px;
    font-size: 14px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--muted);
}

.cta-note svg {
    width: 15px;
    height: 15px;
    color: var(--success);
    flex: none;
}
.on-dark .cta-note {
    color: rgb(214 228 240 / 0.75);
}
.on-dark .cta-note svg {
    color: var(--cyan);
}

/* ---------- Nav ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--nav-h);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgb(251 253 254 / 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line-soft);
    box-shadow: 0 6px 24px -18px rgb(11 28 51 / 0.25);
}

.nav__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--page-x);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand__logo {
    width: 142px;
    height: auto;
}

.nav__links {
    display: flex;
    gap: 4px;
    margin: 0 auto;
}

.nav__links a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 9px 14px;
    border-radius: 999px;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.nav__links a:hover {
    background: var(--tint);
    color: var(--accent-strong);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__login {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-2);
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.18s ease;
}

.nav__login:hover {
    color: var(--accent-strong);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: calc(var(--nav-h) + clamp(48px, 7vw, 92px)) 0
        clamp(60px, 8vw, 120px);
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero__bg .mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            900px 520px at 78% -10%,
            rgb(7 208 208 / calc(0.22 * var(--glow-opacity) * 2)),
            transparent 65%
        ),
        radial-gradient(
            700px 500px at 8% 18%,
            rgb(22 51 126 / calc(0.1 * var(--glow-opacity) * 2)),
            transparent 60%
        ),
        linear-gradient(180deg, #f3fbfb 0%, var(--bg) 58%, var(--bg) 100%);
}

.hero__bg .dotgrid,
.dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgb(22 51 126 / 0.1) 1px,
        transparent 1.5px
    );
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(
        720px 480px at 60% 8%,
        #000 25%,
        transparent 75%
    );
    mask-image: radial-gradient(
        720px 480px at 60% 8%,
        #000 25%,
        transparent 75%
    );
}

.hero__bg .halo {
    position: absolute;
    width: 880px;
    height: 880px;
    right: -260px;
    top: -340px;
    border-radius: 50%;
    border: 1.5px solid rgb(7 208 208 / 0.25);
    opacity: var(--glow-opacity);
}

.hero__bg .halo::after {
    content: '';
    position: absolute;
    inset: 70px;
    border-radius: 50%;
    border: 1.5px dashed rgb(22 51 126 / 0.14);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__copy {
    max-width: 590px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 9px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.8);
    border: 1px solid rgb(7 208 208 / 0.35);
    box-shadow: 0 4px 16px -8px rgb(10 143 147 / 0.4);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-2);
    backdrop-filter: blur(6px);
    margin-bottom: 26px;
}

.badge-pill .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--teal-deep));
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}

.badge-pill .dot svg {
    width: 13px;
    height: 13px;
}

.hero__title {
    margin-bottom: 22px;
}
.hero__title .line {
    display: block;
}

.hero .lead {
    margin-bottom: 32px;
}

.hero__cta {
    margin-bottom: 18px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
    flex: none;
}

/* Palco do hero (mockup composto) */
.hero__stage {
    position: relative;
    min-height: 480px;
}

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(26px);
        transition:
            opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
            transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    }
    .reveal.is-in {
        opacity: 1;
        transform: none;
    }
    .reveal[data-delay='1'] {
        transition-delay: 0.12s;
    }
    .reveal[data-delay='2'] {
        transition-delay: 0.24s;
    }
    .reveal[data-delay='3'] {
        transition-delay: 0.36s;
    }
}

/* ---------- Responsivo (base) ---------- */

@media (max-width: 980px) {
    .nav__links {
        display: none;
    }
    .nav__actions {
        margin-left: auto;
    }
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero__copy {
        max-width: 640px;
    }
    .hero__stage {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .nav__login {
        display: none;
    }
    .hero__trust {
        display: none;
    }
}

@media (max-width: 560px) {
    .brand__logo {
        width: 118px;
    }
    .btn--lg {
        padding: 15px 24px;
        font-size: 15px;
    }
    .hero {
        padding-top: calc(var(--nav-h) + 36px);
    }
}
