/* Comunicativa — página "site em atualização"
   Layout: referência Superpower (Refero). Cores: paleta Comunicativa.
   Tokens completos em ../REFERENCIA-DESIGN.md */

:root {
  --ink: #000113;          /* texto, nav flutuante, superfícies escuras */
  --white: #ffffff;
  --teal: #00BEA4;         /* acento: marca, checks, halo, estado ativo. Texto sobre ele = --ink */
  --deep: #003F37;         /* profundidade do hero e do bloco de contato */
  --zinc: #71717a;         /* texto secundário */
  --ash: #a1a1aa;          /* terciário */
  --mist: #e4e4e7;         /* hairlines */
  --fog: #f4f4f5;          /* superfície muda */

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 60px);
  --section: clamp(56px, 8vw, 96px);
  --r-card: 15px;
  --r-icon: 7.5px;
  --r-pill: 9999px;
  --shadow: rgba(0, 0, 0, 0.05) 0 2px 2px 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 15px/1.5 var(--font);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; }
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white);
}
.skip:focus { top: 12px; }

/* ---------- Barra de aviso ---------- */
.notice {
  display: flex; justify-content: center; align-items: center; gap: 8px 20px; flex-wrap: wrap;
  padding: 12px 16px; font-size: 13px; text-align: center;
}
.notice__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 190, 164, 0.18); flex: none;
}
.notice__msg { display: inline-flex; align-items: center; gap: 10px; }
.notice__link { color: var(--zinc); }
.notice__link:hover { color: var(--ink); }

/* ---------- Navegação flutuante ---------- */
.nav {
  position: fixed; z-index: 50; top: 58px; left: 50%; translate: -50% 0;
  width: min(var(--max), calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px 12px 10px 20px; border-radius: var(--r-card);
  color: var(--white);
  background: rgba(0, 1, 19, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
@supports (animation-timeline: scroll()) {
  .nav { animation: nav-float linear both; animation-timeline: scroll(root); animation-range: 0 260px; }
  @keyframes nav-float {
    from { background: rgba(0, 1, 19, 0); backdrop-filter: none; top: 58px; }
    to   { background: rgba(0, 1, 19, 0.72); top: 14px; }
  }
}
.nav__links { display: flex; gap: 24px; font-size: 13px; }
.nav__links a { opacity: 0.8; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__logo img { height: 38px; width: auto; }
.nav__end { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 13px; }
.nav__phone { opacity: 0.8; }
.nav__phone:hover { opacity: 1; }

/* ---------- Botões (sistema pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 400; letter-spacing: -0.009em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--fog); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--deep); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 8px; min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--gutter) 40px;
  border-radius: var(--r-card);
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 80% at 72% 46%, var(--deep) 0%, rgba(0, 63, 55, 0.35) 45%, transparent 72%),
    var(--ink);
}
.halo { position: absolute; z-index: -1; left: 72%; top: 46%; width: min(78vw, 860px); aspect-ratio: 1; translate: -50% -50%; }
.halo__glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 190, 164, 0.42) 0%, rgba(0, 190, 164, 0.2) 22%, rgba(0, 63, 55, 0.4) 46%, transparent 68%);
  animation: breathe 7s ease-in-out infinite;
}
.signal { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@keyframes breathe { 50% { scale: 1.05; opacity: 0.8; } }

.hero__content { max-width: 760px; margin-bottom: auto; margin-top: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 13px; }
.eyebrow svg { width: 14px; height: 14px; color: var(--teal); }
.display {
  margin: 0; font-weight: 400; font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1; letter-spacing: -0.025em; text-wrap: balance;
}
.hero__lead { margin: 20px 0 32px; max-width: 480px; font-size: 17px; line-height: 1.4; letter-spacing: -0.009em; color: rgba(255, 255, 255, 0.74); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { display: flex; flex-wrap: wrap; gap: 20px 0; margin: 64px 0 0; padding: 0; list-style: none; font-size: 15px; }
.facts li { padding-right: 24px; margin-right: 24px; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.facts li:last-child { border-right: 0; }
.facts span { display: block; color: rgba(255, 255, 255, 0.55); }

/* ---------- Seções claras ---------- */
.section { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.label { margin: 0 0 16px; font: 400 11px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--zinc); }
.label--dark { color: rgba(255, 255, 255, 0.6); }
.h2 { margin: 0; font-weight: 400; font-size: clamp(32px, 4.4vw, 45px); line-height: 1.13; letter-spacing: -0.015em; text-wrap: balance; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 40px 80px; align-items: start; }
.prose { margin: 0 0 28px; font-size: 17px; line-height: 1.5; color: var(--zinc); }
.prose strong { color: var(--ink); font-weight: 400; }

.services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mist); }
.services li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--mist); font-size: 17px; line-height: 1.4; }
.check {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; translate: 0 3px;
  border-radius: var(--r-icon); background: var(--teal); color: var(--ink);
}
.check svg { width: 12px; height: 12px; }
.services small { display: block; margin-top: 2px; font-size: 15px; color: var(--zinc); }

/* Loja — o que chega no novo site */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .prose { max-width: 420px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.card {
  display: flex; flex-direction: column; min-height: 260px; padding: 24px;
  border: 1px solid var(--mist); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow);
}
.card__tag {
  align-self: flex-start; margin-bottom: auto; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--fog); font: 400 11px/1.5 var(--mono); color: var(--zinc);
}
.card h3 { margin: 56px 0 8px; font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -0.012em; }
.card p { margin: 0; color: var(--zinc); }

/* Perguntas frequentes */
.faq { border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.25; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--fog) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000113' stroke-width='1.5'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: rotate .25s ease, background-color .25s ease;
}
.faq summary:hover::after { background-color: var(--mist); }
.faq details[open] summary::after { rotate: 45deg; background-color: var(--teal); }
.faq p { margin: -6px 0 24px; max-width: 640px; font-size: 17px; line-height: 1.5; color: var(--zinc); }

/* Contato — bloco escuro */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  margin: var(--section) 8px 0; padding: var(--section) var(--gutter);
  border-radius: var(--r-card); color: var(--white); text-align: center;
  background: radial-gradient(ellipse 60% 90% at 50% 100%, var(--deep) 0%, transparent 70%), var(--ink);
}
.contact .h2 { max-width: 720px; margin: 0 auto 32px; }
.contact .actions { justify-content: center; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 12px; height: 12px; color: var(--teal); }

/* Rodapé */
.footer {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 96px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--zinc);
}
.footer img { height: 26px; width: auto; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--ink); }

/* Atalho flutuante (recolhido, abre ao clicar) */
.float {
  position: fixed; z-index: 40; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.float__label {
  padding: 14px 20px; border-radius: var(--r-card); background: rgba(0, 1, 19, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white); font-size: 15px; box-shadow: var(--shadow);
}
.float__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-card);
  background: var(--teal); color: var(--ink);
}
.float__icon svg { width: 24px; height: 24px; }
.float:hover .float__label { background: var(--ink); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav {
    position: sticky; top: 8px; left: auto; translate: none; margin: 0 auto 8px;
    width: calc(100% - 16px); grid-template-columns: 1fr auto; padding-left: 16px;
    animation: none; background: rgba(0, 1, 19, 0.88);
  }
  .notice__link { display: none; }
  .hero { padding-top: 72px; min-height: calc(100svh - 120px); }
  .nav__links, .nav__phone { display: none; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 32px; }
  .halo { left: 82%; top: 16%; width: 120vw; }
  .float__label { display: none; }
}
@media (max-width: 560px) {
  .nav__logo img { height: 24px; }
  .facts { flex-direction: column; }
  .facts li { border-right: 0; padding-right: 0; margin-right: 0; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .halo__glow { animation: none; }
  .nav { animation: none; }
}
