/* ═══════════════════════════════════════════════════════════════════
   site.css · Sistema visual do nutrlucas.com.br (17/11/2026)
   Base de todas as páginas: cores, tipografia, botões, cabeçalho, menu,
   rodapé, superfícies e formulários. Mobile first.
   A home (index.html) tem o próprio CSS inline com as mesmas regras.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --ink: #05090e;
  --ink-2: #0a1220;
  --ink-3: #101b2e;
  --ink-4: #14213a;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.16);
  --txt: rgba(255,255,255,0.86);
  --txt-2: rgba(255,255,255,0.62);
  --txt-3: rgba(255,255,255,0.42);
  --gold: #f5c400;
  --gold-soft: #e9c25a;
  --gold-deep: #a07d00;
  --gold-glow: rgba(245,196,0,0.18);
  --paper: #f3f0e8;
  --paper-2: #faf8f3;
  --paper-ink: #0b1426;
  --paper-ink-2: rgba(11,20,38,0.72);
  --paper-line: rgba(11,20,38,0.12);
  --ok: #2ee59d;
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --serif: 'Libre Baskerville', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap-n { width: min(760px, 100% - 32px); margin-inline: auto; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-family: var(--display); color: #fff; margin: 0; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.025em; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--txt-2); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 10.5px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Botões ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink);
  font: 700 15px/1 var(--display); letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 10px 40px -10px rgba(245,196,0,.55), inset 0 -2px 0 rgba(0,0,0,.12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(245,196,0,.7), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn:hover::before { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--txt);
  font: 600 15px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: rgba(245,196,0,.6); background: rgba(245,196,0,.06); }
.btn-ghost svg { width: 16px; height: 16px; }

/* ── Revelação ao rolar ─────────────────────────── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ── Cabeçalho e menu ───────────────────────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.solid, .top.fixo { background: rgba(5,9,14,.94); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; flex: none; }
.logo b { font: 800 16px var(--display); color: #fff; letter-spacing: -0.01em; }
.logo b span { font-weight: 500; color: var(--txt-2); }
.logo small { font: 600 9px var(--display); letter-spacing: .18em; color: var(--txt-3); margin-top: 3px; }
.top .btn { padding: 12px 18px; font-size: 13px; box-shadow: none; }
.nav { display: none; align-items: center; gap: 2px; }
.nav > a, .nav .sub > button {
  padding: 10px 13px; border-radius: 999px; font: 600 13.5px var(--display); color: var(--txt-2);
  text-decoration: none; background: none; border: 0; cursor: pointer; transition: color .25s, background .25s;
}
.nav > a:hover, .nav .sub > button:hover, .nav > a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.05); }
.nav .sub { position: relative; }
.nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 240px; transform: translate(-50%, 6px);
  opacity: 0; pointer-events: none; padding: 8px; border-radius: 16px; background: rgba(10,18,32,.97);
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  transition: opacity .25s, transform .35s var(--ease);
}
.nav .sub:hover .sub-menu, .nav .sub:focus-within .sub-menu { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nav .sub-menu a { display: block; padding: 11px 14px; border-radius: 10px; font: 600 13.5px var(--display); color: var(--txt); text-decoration: none; }
.nav .sub-menu a small { display: block; font: 400 12px var(--body); color: var(--txt-3); margin-top: 2px; }
.nav .sub-menu a:hover { background: rgba(255,255,255,.06); }
.top-dir { display: flex; align-items: center; gap: 10px; }
.top-dir .btn { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; position: relative; z-index: 2; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-aberto .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-aberto .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.gaveta {
  position: fixed; inset: 0; z-index: 45; overflow-y: auto;
  background: radial-gradient(120% 80% at 100% 0%, rgba(245,196,0,.12), transparent 60%), var(--ink);
  padding: 96px 24px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 34px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-aberto .gaveta { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu-aberto { overflow: hidden; }
.gaveta nav { display: flex; flex-direction: column; }
.gaveta nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font: 800 28px/1.1 var(--display); letter-spacing: -0.03em; color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.gaveta nav a small { font: 600 10.5px var(--display); letter-spacing: .14em; color: var(--txt-3); text-transform: uppercase; text-align: right; }
.gaveta nav a em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.menu-aberto .gaveta nav a { opacity: 1; transform: none; }
.gaveta-pe { display: grid; gap: 12px; margin-top: 28px; opacity: 0; transition: opacity .6s .35s; }
.menu-aberto .gaveta-pe { opacity: 1; }
.gaveta-pe p { margin: 6px 0 0; color: var(--txt-3); font-size: 13px; text-align: center; }

/* ── Abertura das páginas internas ──────────────── */
.abertura { position: relative; padding: 128px 0 56px; overflow: hidden; }
.abertura::before { content: ''; position: absolute; right: -20%; top: -30%; width: 80vw; height: 80vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(245,196,0,.12), transparent 70%); pointer-events: none; }
.abertura h1 { font-weight: 900; font-size: clamp(34px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 18px; max-width: 18ch; }
.abertura .lead { margin: 0; }
.trilha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--txt-3); }
.trilha a { color: var(--txt-3); text-decoration: none; }
.trilha a:hover { color: var(--gold); }
.trilha span[aria-current] { color: var(--gold); }

/* ── Superfícies ────────────────────────────────── */
.sec { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.card { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper h1, .paper h2, .paper h3, .paper h4 { color: var(--paper-ink); }
.paper .lead { color: var(--paper-ink-2); }
.paper .eyebrow { color: var(--gold-deep); }
.paper em.s { color: #b48a00; }
.chip-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(245,196,0,.1); color: var(--gold); font: 600 11.5px var(--display); letter-spacing: .02em; text-decoration: none; }
.paper .chip-tag { background: rgba(160,125,0,.12); color: var(--gold-deep); }

/* ── Formulários ────────────────────────────────── */
.campo { display: grid; gap: 8px; }
.campo label, .rotulo { font: 600 13px var(--display); color: var(--txt); letter-spacing: .01em; }
.campo small { color: var(--txt-3); font-size: 12.5px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], select, textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04); color: #fff; font: 500 16px var(--body);
  transition: border-color .25s, background .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f5c400' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select option { color: #0b1426; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(245,196,0,.05); box-shadow: 0 0 0 4px rgba(245,196,0,.12); }
input::placeholder, textarea::placeholder { color: var(--txt-3); }
.paper input, .paper select, .paper textarea { background: #fff; color: var(--paper-ink); border-color: var(--paper-line); }

/* ── Rodapé ─────────────────────────────────────── */
.rodape { border-top: 1px solid var(--line); background: var(--ink); color: var(--txt-3); font-size: 13px; position: relative; z-index: 1; }
.rodape-cta { display: grid; gap: 22px; padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.rodape-cta h2 { font-size: clamp(26px, 4vw, 42px); max-width: 18ch; }
.contato { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 36px 0 30px; }
.contato div { display: grid; gap: 4px; }
.contato b { font: 700 10.5px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contato a, .contato span { color: var(--txt-2); text-decoration: none; font-size: 14px; }
.contato a:hover { color: #fff; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 0 18px; }
.rodape-links a { color: var(--txt-2); text-decoration: none; font: 600 13px var(--display); }
.rodape-links a:hover { color: var(--gold); }
.rodape-base { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; padding: 18px 0 34px; border-top: 1px solid var(--line); }
.rodape-base a { color: var(--txt-2); text-decoration: none; }

@media (min-width: 640px) {
  .wrap, .wrap-n { width: min(var(--wrap), 100% - 48px); }
  .wrap-n { width: min(760px, 100% - 48px); }
  .top-dir .btn { display: inline-flex; }
  .contato { grid-template-columns: repeat(3, 1fr); }
  .rodape-cta { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
  .top-in { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
