/* ==========================================================================
   Base Lumere: tokens, reset, tipografia, botões e campos comuns.
   Tokens iguais aos de apresentacao-assessoria/css/base.css (ver DESIGN.md de lá).
   ========================================================================== */
:root{
  --bg:#000;
  --accent:#00D4FF;
  --accent-dim:rgba(0,212,255,.35);
  --accent-glow:rgba(0,212,255,.13);
  --white:#FFF;
  --ice:#E0E6ED;
  --muted:#8891A0;
  --line:rgba(255,255,255,.09);
  --glass-border:rgba(0,212,255,.16);
  --panel:#0B0D10;
  --panel-2:#14181E;
  --panel-line:rgba(255,255,255,.08);
  --wire:color-mix(in srgb,var(--white) 26%,var(--bg));
  --ft:'Montserrat','Helvetica Neue',Arial,sans-serif;
  --fb:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
  --pad:20px;
  --col:800px;
}
@media (min-width:600px){:root{--pad:32px}}
@media (min-width:960px){:root{--pad:48px}}

/* Reset e tema do navegador */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{background:var(--bg);color-scheme:dark;scroll-behavior:smooth;-webkit-text-size-adjust:100%;
  scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 38%,var(--bg)) var(--bg)}
body{min-height:100vh;font-family:var(--fb);font-size:1rem;line-height:1.6;color:var(--ice);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--accent) 38%,var(--bg));border-radius:10px;border:2px solid var(--bg)}
::selection{background:var(--accent);color:#000}
img,svg{display:block;max-width:100%}
a{color:inherit;text-underline-offset:.24em;text-decoration-thickness:1px}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
fieldset{border:0;min-width:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
.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}
.skip{position:fixed;left:16px;top:-80px;z-index:100;padding:10px 16px;border-radius:6px;background:var(--accent);color:#000;font-weight:600;text-decoration:none}
.skip:focus{top:12px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important}
}

/* Tipografia: títulos Montserrat 800 caixa alta; texto Inter */
h1,h2,h3{font-family:var(--ft);font-weight:800;color:var(--white);text-transform:uppercase;letter-spacing:.012em;text-wrap:balance}
h3{font-size:clamp(1.2rem,.98rem + .9vw,1.6rem);line-height:1.15;letter-spacing:.02em}
p{text-wrap:pretty}
.accent{color:var(--accent)}
.lead{max-width:56ch;font-size:clamp(1.02rem,.97rem + .25vw,1.15rem);color:var(--muted)}
.rotulo{font-family:var(--ft);font-weight:700;font-size:.69rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.col{width:100%;max-width:var(--col);margin:0 auto;padding:0 var(--pad)}

/* Ponto de luz: a assinatura (branco, aro ciano, halo) */
.luz{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--white);box-shadow:0 0 0 2px var(--accent),0 0 16px 4px var(--accent-dim)}

/* Botões */
.btn,.btn-sec{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:6px;
  font-family:var(--ft);font-weight:700;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;text-align:center;
  transition:transform 160ms var(--ease),background-color 200ms ease,border-color 200ms ease,box-shadow 240ms ease}
.btn{background:var(--accent);color:#000}
.btn-sec{position:relative;border:1px solid rgba(255,255,255,.28);color:var(--white)}
.btn:active,.btn-sec:active{transform:scale(.97)}
.btn:disabled,.btn-sec:disabled,.btn-sec.is-off{opacity:.45;pointer-events:none}
.btn-sm{min-height:44px;padding:0 18px;font-size:.69rem;letter-spacing:.08em}
.btn-lg{min-height:64px;padding:0 clamp(20px,4vw,40px);font-size:clamp(.78rem,.7rem + .4vw,.92rem)}
@media (max-width:479px){.btn-lg{width:100%}}
.btn-sec:focus-within{outline:2px solid var(--accent);outline-offset:3px}
@media (hover:hover) and (pointer:fine){
  .btn:hover{background:color-mix(in srgb,var(--accent) 80%,var(--white));box-shadow:0 12px 32px -14px var(--accent)}
  .btn-sec:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.04)}
}
.link-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:.86rem;color:var(--muted);text-decoration:underline;text-underline-offset:.28em}
@media (hover:hover){.link-btn:hover{color:var(--white)}}

/* Botão de remover (X desenhado em CSS, alvo de 44px) */
.x-btn{position:relative;flex:none;width:44px;height:44px;border-radius:6px;color:var(--muted)}
.x-btn::before,.x-btn::after{content:'';position:absolute;left:50%;top:50%;width:14px;height:1.5px;margin:-.75px 0 0 -7px;background:currentColor;transform:rotate(45deg)}
.x-btn::after{transform:rotate(-45deg)}
@media (hover:hover){.x-btn:hover{color:var(--white)}}

/* Campos comuns (título, ajuda, erro e caixa de texto) */
.campo-titulo{display:block;width:100%;padding:0;margin-bottom:12px;font-size:1.06rem;font-weight:600;line-height:1.4;color:var(--white)}
.obrig{display:inline-block;margin-left:10px;padding:1px 9px;border:1px solid var(--glass-border);border-radius:999px;vertical-align:2px;
  font-family:var(--ft);font-weight:700;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.campo-ajuda{max-width:60ch;margin:-6px 0 14px;font-size:.92rem;color:var(--muted)}
.campo-erro:empty{display:none}
.campo-erro{display:flex;gap:10px;margin-top:10px;font-size:.92rem;font-weight:500;color:var(--white);white-space:pre-line}
.campo-erro::before{content:'!';content:'!' / '';flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;
  border:1.5px solid var(--white);border-radius:50%;font:700 .7rem/1 var(--ft)}
.controle{display:block;width:100%;min-height:52px;padding:14px 16px;background:var(--panel);color:var(--white);
  border:1px solid rgba(255,255,255,.18);border-radius:6px;font:inherit;line-height:1.4;color-scheme:dark;transition:border-color 200ms ease}
.controle::placeholder{color:var(--muted);opacity:.9}
.controle:hover{border-color:rgba(255,255,255,.32)}
.controle:focus-visible{border-color:var(--accent)}
textarea.controle{min-height:96px;resize:none;overflow:hidden}
.tem-erro .controle{border-color:var(--white)}
