/* Callisto. — core.css: bundled fonts.css + tokens.css + base.css (loaded on every page) */

/* Callisto. — Self-hosted font faces (subset by unicode range) */

/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Callisto. — Design tokens
   Pastel-forward palette on cream, with a deep navy for dark sections
   and ONE saturated amber (extracted from the Jupiter-band logo, pairs
   with the navy like Jupiter's ochre clouds against deep space) for
   conversion moments. Shared by every page. */

:root {
  /* ---- Base surfaces ---- */
  --cream: #FAF6EF;          /* page background (light sections) */
  --cream-deep: #F3ECDF;     /* alternate light section */
  --paper: #FFFFFF;          /* cards on cream */
  --paper-2: var(--paper);   /* alt image-slot placeholder tone */
  --ink: #0B132B;            /* dark section background (navy #0B132B) — constant across themes */
  --ink-soft: #141F3C;       /* raised surfaces on ink */
  --ink-border: #263356;
  --nav-glass: rgba(250,246,239,.85); /* translucent nav backdrop */

  /* ---- Pastel family ---- */
  --peach: #FFD9C4;
  --peach-soft: #FFEADF;
  --lavender: #E3DCF7;
  --mint: #D5EDDD;
  --sky: #D6E8F7;
  --butter: #F7E8BE;
  --rose: #F7DCE4;

  /* ---- Conversion accent (the ONLY saturated color) ----
     Amber/ochre lifted from the logo's Jupiter-band bronze, not the
     old red-coral — warmer, more "Jupiter", and higher-contrast
     against navy. */
  --coral: #E69537;
  --coral-hover: #DA811B;
  --coral-press: #B66B16;
  --coral-tint: #F7E7D4;

  /* ---- Secondary accent: azure blue (textos de destaque, links, palavras-chave) ---- */
  --azure: #2A6FDB;          /* mid blue, harmônico com navy + coral */
  --azure-deep: #1B4F9E;     /* blue em fundos claros para contraste AA */
  --azure-soft: #6FA0E8;     /* blue claro sobre navy */
  --azure-tint: #E2ECFB;

  /* ---- Text ---- */
  --text-strong: #0B132B;    /* headings on light */
  --text-body: #3C4560;      /* body on light */
  --text-muted: #5D6780;     /* AA 4.5:1 sobre cream, butter e paper */
  --text-on-ink: #F6F2EA;    /* headings on dark */
  --text-on-ink-body: #B9C2D8;
  --text-on-coral: var(--ink);   /* amber is lighter than the old red-coral — dark ink text keeps AA contrast */
  --ink-muted: #55617F;      /* constant secondary text for content pinned on pastel/paper accent cards */

  /* ---- Semantic aliases ---- */
  --surface-page: var(--cream);
  --surface-alt: var(--cream-deep);
  --surface-card: var(--paper);
  --surface-dark: var(--ink);
  --surface-dark-raised: var(--ink-soft);
  --action-primary: var(--coral);
  --action-primary-hover: var(--coral-hover);
  --action-primary-press: var(--coral-press);

  /* ---- Lines ---- */
  --border: #E6DFD2;
  --border-strong: #0B132B;  /* 1.5px ink outlines are a brand motif — flips light-on-dark in dark theme */

  /* ---- Semantic states ---- */
  --success: #2E7D5B;
  --success-tint: var(--mint);
  --warning: #9A6B00;
  --warning-tint: var(--butter);
  --danger: #C03A2B;
  --danger-tint: #F9DCD6;
  --info: #2B5E8C;
  --info-tint: var(--sky);
}

/* Callisto. — Dark theme
   Flips the surface/text/line tokens; pastels, ink, coral and the semantic
   state colors stay constant (they already work as light accents against a
   dark page). Opt-in via [data-theme="dark"] on <html>, set by site.js. */
:root[data-theme="dark"] {
  --cream: #12172C;
  --cream-deep: #0D1122;
  --paper: #1E2648;
  --paper-2: var(--paper);
  --nav-glass: rgba(18,22,42,.8);
  --border: #303A5C;
  --border-strong: #EDE6D8;
  --text-strong: #F3EFE6;
  --text-body: #C7CEDE;
  --text-muted: #8A93B0;
  --azure-deep: var(--azure-soft);   /* keyword/label text needs to read light-on-dark now */
  --shadow-ink: rgba(0, 0, 0, 0.45);  /* offset shadows stay dark (not the now-light border-strong) so they read as a shadow, not a white glow */
}

/* Callisto. — Typography tokens
   Display: Bricolage Grotesque (expressive, chunky, contemporary)
   Body: Figtree (clean geometric humanist)
   Mono: Spline Sans Mono (dev credibility — labels, numbers, tags)
   Self-hosted — see fonts.css for the @font-face declarations. */

:root {
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'Figtree', 'Helvetica Neue', sans-serif;
  --font-mono: 'Spline Sans Mono', 'SFMono-Regular', monospace;
  --font-accent: 'Instrument Serif', Georgia, serif;  /* palavras-chave em itálico, destaques editoriais */

  /* Scale (desktop) */
  --text-hero: clamp(56px, 7vw, 104px);   /* hero display, wght 750, lh 0.98, ls -0.03em */
  --text-h1: 64px;                        /* lh 1.02, ls -0.025em */
  --text-h2: 44px;                        /* lh 1.05, ls -0.02em */
  --text-h3: 28px;                        /* lh 1.15, ls -0.01em */
  --text-h4: 20px;                        /* lh 1.25 */
  --text-lead: 21px;                      /* body lead, lh 1.55 */
  --text-base: 17px;                      /* body, lh 1.6 */
  --text-small: 14.5px;                   /* lh 1.5 */
  --text-label: 12.5px;                   /* mono, uppercase, ls 0.14em */

  --weight-display: 750;
  --weight-heading: 640;
  --weight-body: 450;
  --weight-medium: 550;
  --weight-bold: 700;
}

/* Callisto. — Spacing, radii, layout tokens */

:root {
  /* 4px base scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 140px;   /* section vertical rhythm */

  /* Radii — soft but not bubbly; pills for actions, chunky for cards */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: 24px;
}

/* Callisto. — Shadows, borders, motion tokens */

:root {
  /* Shadows — warm-tinted, never gray. The brand motif is the
     "offset slab": a hard 1.5px ink border + solid offset shadow. */
  --shadow-ink: var(--border-strong);   /* offset-shadow color — same as the ink outline in light theme, overridden to stay dark in dark theme */
  --shadow-slab: 4px 4px 0 var(--shadow-ink);            /* hero cards, CTAs */
  --shadow-slab-sm: 3px 3px 0 var(--shadow-ink);         /* buttons, chips */
  --shadow-slab-hover: 6px 6px 0 var(--shadow-ink);      /* lift on hover */
  --shadow-soft: 0 12px 32px -12px rgba(11, 19, 43, 0.18);  /* floating panels */
  --shadow-float: 0 24px 64px -24px rgba(11, 19, 43, 0.28); /* dialogs */

  --outline: 1.5px solid var(--border-strong);    /* the ink outline */
  --outline-light: 1px solid var(--border);

  /* Motion — springy and confident. Animations are a core brand trait. */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* pops, hovers */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* entrances, reveals */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);      /* loops, marquees */
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 640ms;
  --dur-reveal: 900ms;

  /* Focus */
  --focus-ring: 0 0 0 3px var(--coral-tint), 0 0 0 4.5px var(--coral);
}

/* Shared keyframes */
@keyframes lume-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lume-pop {
  0% { transform: scale(0.92); opacity: 0; }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes lume-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes lume-spin {
  to { transform: rotate(360deg); }
}
@keyframes lume-float {
  0%, 100% { transform: translateY(0) rotate(var(--float-tilt, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--float-tilt, 0deg)); }
}

/* Callisto. — Base layer: reset, layout primitives, nav, buttons, footer.
   Shared across every page. */

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; }
body { background: var(--cream); color: var(--text-strong); font-family: var(--font-body); font-size: var(--text-base); -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.label { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* Só para leitores de tela (headings estruturais, textos de contexto) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Anti-flash ----
   O <head> das páginas adiciona `js` no <html>; os elementos que o GSAP vai
   revelar (marcados com data-cloak) ficam invisíveis até o autoAlpha do GSAP
   assumir via estilo inline. Se o GSAP não carregar, site.js remove a classe
   e tudo aparece normalmente. Sem JS a classe nunca é adicionada. */
html.js [data-cloak] { visibility: hidden; }

/* ---- Transição entre páginas (cross-document view transitions) ----
   Crossfade curto ao navegar entre as páginas do site. Progressivo: só
   Chrome/Edge 126+ aplicam; os demais navegam normalmente. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---- Reveal system ---- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-pop { opacity: 0; transform: scale(.9); transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring); }
.rv-pop.in { opacity: 1; transform: none; }
.split-line { overflow: hidden; display: block; }

/* ---- Menos movimento ----
   O GSAP já respeita a preferência (via matchMedia nos scripts); aqui a
   contraparte para as animações 100% CSS: reveals aparecem prontos e os
   loops decorativos (órbitas, float, pulsos) param. */
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-pop { opacity: 1; transform: none; transition: none; }
  .float-dot, .float-dot .moon, .wa-fab::before,
  footer .foot-orbit, nav,
  .hero .w, .hero .label, .hero .lead, .hero .ctas, .hero .proof { animation: none !important; }
}

/* ---- Nav ---- */
nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 130; width: min(1080px, calc(100% - 48px));
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
      background: var(--nav-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); padding: 10px 12px 10px 26px;
      box-shadow: var(--shadow-slab-sm); animation: navDrop .8s var(--ease-spring) both; transition: box-shadow var(--dur-fast) var(--ease-out); }
@keyframes navDrop { from { transform: translate(-50%, -120px); } to { transform: translate(-50%, 0); } }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; transition: transform var(--dur-med) var(--ease-spring), background var(--dur-med) var(--ease-out); }
.logo:hover img { transform: rotate(24deg); }
/* O ícone tem faixas cor de tinta que somem contra um fundo escuro — um
   respaldo claro atrás do globo mantém as faixas visíveis no navbar em
   dark mode e no rodapé, que é sempre escuro nos dois temas. */
footer .fcol .logo img,
html[data-theme="dark"] nav .logo img { background: #F6F2EA; padding: 3px; }
nav .links { display: flex; gap: 4px; }
nav .links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: var(--radius-pill); transition: background var(--dur-fast) var(--ease-out); }
nav .links a:hover { background: rgba(11,19,43,.07); }
nav .links a.on { background: var(--ink); color: var(--text-on-ink); }

/* ---- Acesso discreto do cliente (canto direito, antes do WhatsApp) ---- */
.client-access { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); text-decoration: none; white-space: nowrap; padding: 0 6px; transition: color var(--dur-fast) var(--ease-out); }
.client-access strong { color: var(--text-strong); font-weight: 700; transition: color var(--dur-fast) var(--ease-out); }
.client-access:hover, .client-access:hover strong { color: var(--coral); }
.mm-client-access { font-family: var(--font-mono); font-size: 13.5px; color: var(--text-on-ink-body); text-decoration: none; }
.mm-client-access:hover { color: var(--text-on-ink); }

/* ---- Alternador de tema claro/escuro ----
   Escondido por enquanto: o site fica só na versão clara original, com
   exceção da hero (fixada em escuro direto no CSS da home). Regra abaixo
   sobrepõe as .theme-toggle/.mm-theme-toggle definidas a seguir. */
.theme-toggle, .mm-theme-toggle { display: none !important; }

.theme-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0;
  border: 1.5px solid var(--border-strong); border-radius: 50%; background: var(--paper); color: var(--text-strong);
  cursor: pointer; padding: 0; transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-spring); }
.theme-toggle:hover { transform: translate(-1px,-1px) rotate(-8deg); box-shadow: 2px 2px 0 var(--shadow-ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.mm-theme-toggle { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13.5px; color: var(--text-on-ink-body);
  background: none; border: 1.5px solid var(--ink-border); border-radius: var(--radius-pill); padding: 10px 18px; cursor: pointer; align-self: flex-start; }
.mm-theme-toggle:hover { color: var(--text-on-ink); border-color: var(--text-on-ink-body); }
.mm-theme-toggle svg { width: 16px; height: 16px; }
.mm-theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .mm-theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .mm-theme-toggle .i-moon { display: block; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; text-decoration: none;
       border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); cursor: pointer;
       box-shadow: var(--shadow-slab-sm); transition: all var(--dur-fast) var(--ease-spring); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-slab-hover); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.btn-primary { background: linear-gradient(135deg, #E6C35B 0%, var(--coral) 45%, #CF811E 100%); color: var(--text-on-coral); }
.btn-primary:hover { background: linear-gradient(135deg, #EBB043 0%, var(--coral-hover) 50%, #C47612 100%); }
.btn-secondary { background: var(--paper); color: var(--text-strong); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { filter: brightness(1.1); }
.btn-md { font-size: 15.5px; padding: 12px 24px; }
.btn-lg { font-size: 18px; padding: 17px 34px; }
.btn-xl { font-size: 21px; padding: 21px 44px; }
.btn svg { width: 1.2em; height: 1.2em; }

/* ---- Section heading ---- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 720; font-size: var(--text-h2); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; margin-top: 14px; }
section.pad { padding: var(--space-10) 0; }

.tag { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; padding: 4px 11px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--cream); color: var(--text-strong); white-space: nowrap; }

/* ---- Formulário "comece agora" — compartilhado entre home e experiência ----
   Envia os dados por e-mail (ver site.js) e troca o conteúdo do formulário
   por uma confirmação visual (.lead-success) depois do envio. */
.lead-form { max-width: 640px; margin: 40px auto 0; }
.lead-alt { display: block; margin-top: 16px; font-size: 14.5px; color: var(--ink-muted); text-decoration: none; border-bottom: 1.5px solid transparent; }
.lead-alt:hover { color: var(--ink); border-color: currentColor; }
.lead-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.lead-input { flex: 1 1 180px; max-width: 260px; font-family: var(--font-mono); font-size: 15px; padding: 13px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--paper); color: var(--text-strong); outline: none; transition: box-shadow var(--dur-fast) var(--ease-out); }
.lead-input:focus { box-shadow: var(--focus-ring); }
.lead-input::placeholder { color: var(--text-muted); }
/* Honeypot anti-spam: só bots preenchem este campo (invisível pra humanos). */
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lead-success { display: none; font-size: 17px; color: var(--text-strong); padding: 20px 0; }
.lead-form.is-sent .lead-row, .lead-form.is-sent .lead-hp, .lead-form.is-sent button, .lead-form.is-sent .lead-alt { display: none; }
.lead-form.is-sent .lead-success { display: block; }
@media (max-width: 600px) {
  .lead-row { flex-direction: column; }
  .lead-input { max-width: 100%; flex-basis: auto; }
}

/* ---- Image placeholder (static — real screenshots drop in later) ---- */
.img-slot { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--cream-deep), var(--cream-deep) 12px, var(--paper) 12px, var(--paper) 24px); }
.img-slot span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-align: center; color: var(--text-muted); background: var(--paper);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); padding: 6px 14px; }

/* ---- Callisto easter egg: mini moon orbiting the floating dots ---- */
.float-dot { overflow: visible; }
.float-dot .moon { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--coral); opacity: .85; box-shadow: 0 0 6px 1px rgba(255,92,56,.45); pointer-events: none;
  animation: cal-orbit var(--orbit-dur, 7s) linear infinite; }
@keyframes cal-orbit {
  from { transform: rotate(0deg) translateX(var(--orbit-r, 34px)); }
  to   { transform: rotate(360deg) translateX(var(--orbit-r, 34px)); }
}

/* ---- Footer ---- */
footer { background: radial-gradient(900px 420px at 82% 0%, rgba(42,111,219,.20) 0%, transparent 60%), radial-gradient(700px 380px at 6% 100%, rgba(255,92,56,.12) 0%, transparent 60%), linear-gradient(rgba(8,10,18,.68), rgba(8,10,18,.68)), url('../img/footer.webp'), var(--ink); background-repeat: no-repeat, no-repeat, no-repeat, no-repeat; background-position: center, center, top center, bottom right; background-size: auto, auto, auto, 90% auto; color: var(--text-on-ink-body); border-top: 1.5px solid var(--border-strong); padding: 80px 0 34px; position: relative; overflow: hidden; }
footer .foot-orbit { position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border: 1.5px dashed rgba(185,194,216,.16); border-radius: 50%; animation: lume-spin 60s linear infinite; pointer-events: none; }
footer .foot-orbit span { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--cream); }
footer .foot-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--ink-border); flex-wrap: wrap; }
footer .foot-cta h3 { font-family: var(--font-display); font-weight: 730; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.025em; color: var(--text-on-ink); max-width: 16ch; }
footer .foot-cta h3 em { font-style: normal; background: linear-gradient(105deg, var(--coral) 20%, var(--azure-soft) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer .fcol .logo { color: var(--text-on-ink); margin-bottom: 16px; }
footer .fcol p { font-size: 15px; line-height: 1.6; max-width: 30ch; }
footer .fcol h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
footer .fcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
footer .fcol a { text-decoration: none; font-size: 15px; transition: color var(--dur-fast) var(--ease-out); }
footer .fcol a:hover { color: var(--coral); }
footer .foot-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
footer .foot-badges span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border: 1.5px solid var(--ink-border); border-radius: 999px; color: var(--text-on-ink-body); }
footer .foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--ink-border); flex-wrap: wrap; }
footer .foot-bottom .made { font-family: var(--font-mono); font-size: 12.5px; }
footer .foot-bottom .made i { font-style: normal; color: var(--coral); }
footer a { text-decoration: none; font-size: 14.5px; }
footer a:hover { color: var(--text-on-ink); }

/* ---- WhatsApp floating action button ---- */
.wa-fab { position: fixed; right: 28px; bottom: 28px; z-index: 95; width: 62px; height: 62px; border-radius: 50%;
  background: var(--coral); color: var(--text-on-coral); border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-slab-sm);
  display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-spring); }
.wa-fab::before { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--coral); animation: waPulse 2.2s var(--ease-out) infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.wa-fab:hover { transform: translate(-2px,-2px) rotate(-8deg); box-shadow: var(--shadow-slab-hover); }
.wa-tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) scale(.8); transform-origin: right center; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--text-on-ink); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; transition: all var(--dur-fast) var(--ease-spring); }
.wa-fab:hover .wa-tip { opacity: 1; transform: translateY(-50%) scale(1); }

/* ---- Mobile nav (hamburger menu) ---- */
.nav-burger { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 42px; height: 42px; flex-shrink: 0; border: 1.5px solid var(--border-strong); border-radius: 50%; background: var(--paper); cursor: pointer; padding: 0; }
.nav-burger span { display: block; width: 16px; height: 2px; background: var(--border-strong); border-radius: 1px; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--text-on-ink);
  display: flex; flex-direction: column; padding: 108px 28px 36px; opacity: 0; visibility: hidden;
  transform: translateY(-18px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med) var(--ease-out); }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .mm-links { display: flex; flex-direction: column; }
.mobile-menu .mm-links a { font-family: var(--font-display); font-weight: 650; font-size: clamp(28px, 8vw, 38px); letter-spacing: -.02em;
  text-decoration: none; color: var(--text-on-ink); padding: 16px 2px; border-bottom: 1px solid var(--ink-border); }
.mobile-menu .mm-links a.on { color: var(--coral); }
.mobile-menu .mm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu .mm-foot .btn { justify-content: center; }
.mobile-menu .mm-contact { font-family: var(--font-mono); font-size: 13.5px; color: var(--text-on-ink-body); text-decoration: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  nav .links { display: none; }
  nav > .btn { display: none; }
  nav .client-access { display: none; }
  nav .theme-toggle { display: none; }
  .nav-burger { display: flex; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  section.pad { padding: 72px 0; }
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer .foot-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  nav { padding: 8px 8px 8px 18px; }
  .logo { font-size: 20px; }
  .logo img { width: 28px; height: 28px; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-fab { right: 18px; bottom: 18px; width: 54px; height: 54px; }
}
