/* =====================================================================
   Ligeirinho AI · Design tokens
   Fonte única de cores, tipografia, cantos e sombras. Todas as telas usam estes valores.
   Fonte: Nunito Sans (SIL OFL), hospedada junto: assets/fonts/nunito-sans/.
   ===================================================================== */

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-sans/nunito-sans-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-sans/nunito-sans-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Superfícies */
    --bg: #f3f5f9;
    --bg-deep: #e9edf4;
    --panel: #ffffff;
    --surface: #f6f8fc;
    --surface-2: #eef1f6;
    --line: #e6eaf1;
    --line-bold: #c7cedb;

    /* Texto */
    --text: #0d1630;
    --text-soft: #4a5368;
    --text-mute: #636c81;
    --text-dim: #8a92a6;

    /* Marca */
    --navy: #0d1630;
    --blue: #375efb;
    --blue-2: #2747d6;
    --blue-soft: rgba(55, 94, 251, .12);
    --blue-glow: rgba(55, 94, 251, .22);
    --cyan: #16b8d4;

    /* Semânticas */
    --green: #25d366;            /* só sinal de WhatsApp conectado */
    --green-2: #0f7a4d;
    --green-soft: #e3f6ea;
    --amber: #f59e0b;
    --amber-text: #b45309;
    --amber-soft: #fff1e0;
    --rose: #c0262d;
    --rose-soft: #fde8e8;

    /* Sobre fundo escuro (navy) */
    --on-navy: #ffffff;
    --on-navy-soft: rgba(255, 255, 255, .78);
    --on-navy-mute: rgba(255, 255, 255, .6);
    --on-navy-line: rgba(255, 255, 255, .12);
    --on-navy-hover: rgba(255, 255, 255, .08);

    /* Mockup do WhatsApp */
    --wa-chat-bg: #efeae2;
    --wa-in: #ffffff;
    --wa-out: #d9fdd3;
    --wa-text: #111b21;
    --wa-time: #5b6b74;

    /* Geometria: três cantos + pílula */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    /* Elevação: duas sombras */
    --shadow-1: 0 1px 3px rgba(13, 22, 48, .06), 0 1px 2px rgba(13, 22, 48, .04);
    --shadow-2: 0 18px 44px rgba(13, 22, 48, .16);

    /* Movimento */
    --ease: cubic-bezier(.16, 1, .3, 1);
    --fast: 140ms var(--ease);
    --base: 260ms var(--ease);

    /* Tipografia: uma fonte, poucos tamanhos */
    --font: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --fs-hero: clamp(34px, 5vw, 56px);
    --fs-display: 30px;
    --fs-title: 24px;
    --fs-heading: 18px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-caption: 12.5px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--blue-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue-glow); outline-offset: 2px; border-radius: var(--radius-sm); }

.ic { flex-shrink: 0; }
.logo-mark { color: var(--blue); flex-shrink: 0; }

/* Botões (usados na landing, no login e no painel) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font: 700 var(--fs-body)/1 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px var(--blue-glow); }
.btn--blue:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-bold); }
.btn--ghost:hover { border-color: var(--text); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-white:hover { border-color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.badge-soon {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    background: var(--amber-soft);
    color: var(--amber-text);
    font-size: var(--fs-caption);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

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