:root {
  --bg: #0b0d14;
  --bg-alt: #10131c;
  --card: #151926;
  --text: #eef0f6;
  --muted: #9aa3b8;
  --accent: #f5b301;
  --accent-2: #ffd45e;
  --line: rgba(255,255,255,.08);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #1a1400; font-weight: 700; cursor: pointer; font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,179,1,.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--small { padding: .5rem 1.1rem; font-size: .9rem; white-space: nowrap; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 2rem; transition: background .3s, padding .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(11,13,20,.85); backdrop-filter: blur(10px); padding: .7rem 2rem; border-bottom: 1px solid var(--line); }
.nav__logo { font-weight: 900; letter-spacing: .12em; font-size: 1.25rem; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 1.6rem; align-items: center; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--accent-2); }

/* ============================================================
   HERO — fundo em movimento
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;   /* texto embaixo: libera o letreiro da foto */
  overflow: hidden;            /* esconde o que a imagem "sobra" ao se mover */
  isolation: isolate;
}

/* 1. IMAGEM — maior que a seção para ter margem de movimento */
.hero__stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__bg-img {
  position: absolute; top: 0; left: 0;
  width: 118%; height: 108%;          /* sobra: 18% na horizontal, 8% na vertical */
  object-fit: cover; object-position: center top;
  opacity: 1;
  filter: saturate(1.05) brightness(.95);
  transform: translate3d(0,0,0);      /* JS atualiza a cada frame */
  will-change: transform;
  user-select: none; pointer-events: none;
}

/* 2. SOMBRA / COR — empurra a imagem para "trás" */
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 55% 70% at 75% 35%, rgba(245,179,1,.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 75%, rgba(255,140,60,.14) 0%, transparent 65%),
    linear-gradient(180deg, rgba(5,6,10,.15) 0%, rgba(5,6,10,.35) 30%, rgba(5,6,10,.82) 62%, rgba(11,13,20,1) 100%);
}

/* 3. GRADE — desloca exatamente 1 célula (80px) → loop sem emenda */
.hero__grid { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.hero__grid::before {
  content: ''; position: absolute; inset: -100px;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 80%);
  animation: gridMove 20s linear infinite;
  will-change: transform;
}
@keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(80px); } }

/* 4. TEXTURA — ruído em SVG inline, mistura com "screen" */
.hero__texture {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .12; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 5. CONTEÚDO */
.hero__content {
  position: relative; z-index: 5; max-width: 900px; padding: 2rem 1.5rem 7rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem;
}
.overline { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 620px; color: #cfd4e3; font-size: 1.1rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.7rem; }
.hero__stats span { color: var(--muted); font-size: .85rem; }

.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Seções ---------- */
.section { padding: 6rem 1.5rem; }
.section--alt { background: var(--bg-alt); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap--narrow { max-width: 640px; text-align: center; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: .6rem; }
.lead { color: var(--muted); margin-bottom: 2.5rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); border-color: rgba(245,179,1,.5); }
.card__icon { font-size: 2rem; display: block; margin-bottom: .6rem; }
.card h3 { margin-bottom: .4rem; }
.card p, blockquote.card { color: #c4cade; }
blockquote.card cite { display: block; margin-top: .9rem; color: var(--muted); font-size: .85rem; font-style: normal; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 40px rgba(245,179,1,.18); }
.plan .tag { position: absolute; top: -12px; left: 1.4rem; background: var(--accent); color: #1a1400; font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.price { font-size: 2.6rem; font-weight: 900; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { flex: 1; display: grid; gap: .5rem; color: #c4cade; }
.plan li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }
.plan .btn { text-align: center; }

.section--cta { background: radial-gradient(ellipse at 50% 0%, rgba(245,179,1,.18), transparent 60%), var(--bg); }
.cta-wa { margin-top: 2rem; display: grid; justify-items: center; gap: .9rem; }
.btn--wa { display: inline-flex; align-items: center; gap: .6rem; background: #25d366; border-color: #25d366; color: #06210f; padding: 1rem 2rem; font-size: 1.1rem; }
.btn--wa:hover { box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.cta-wa__note { color: var(--muted); font-size: .9rem; }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #06210f;
  box-shadow: 0 6px 22px rgba(0,0,0,.45); transition: transform .25s var(--ease);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 6px 22px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 6px 22px rgba(0,0,0,.45), 0 0 0 18px rgba(37,211,102,0); } }


/* ---------- Reveal ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
  /* Celular: a foto ocupa só o alto (fachada inteira visível) e o texto vem logo abaixo */
  .hero { align-items: flex-start; min-height: 0; }
  .hero__stage { bottom: auto; height: min(46svh, 360px); -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .hero__bg-img { width: 190%; height: 100%; object-position: center top; }
  .hero__shade { background: linear-gradient(180deg, rgba(5,6,10,.1) 0%, rgba(5,6,10,.25) 30%, var(--bg) 62%); }
  .hero__content { padding-top: min(40svh, 310px); padding-bottom: 5rem; }
  .nav { padding: .9rem 1rem; }
  .nav.scrolled { padding: .6rem 1rem; }
  .section { padding: 4.5rem 1.25rem; }
  .wa-float { width: 56px; height: 56px; right: .9rem; bottom: .9rem; }
}

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.gallery figure { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; font-weight: 700; background: linear-gradient(transparent, rgba(5,6,10,.85)); }

/* ---------- FAQ ---------- */
.wrap--faq { max-width: 760px; }
.faq { display: grid; gap: .8rem; margin-top: 1.5rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; }
.faq details[open] { border-color: rgba(245,179,1,.5); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; }

/* ---------- Localização ---------- */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.info__block { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; display: grid; gap: .8rem; align-content: start; justify-items: start; }
.info__block h3 { color: var(--accent-2); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; }
.hours { width: 100%; display: grid; gap: .5rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.hours span { color: var(--muted); }
.hours strong { white-space: nowrap; }

/* ---------- Rodapé ---------- */
.footer { padding: 3rem 1.5rem 2rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer h3 { color: var(--text); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .6rem; }
.footer a:hover { color: var(--accent-2); text-decoration: underline; }
.footer__logo { color: var(--text); font-weight: 900; letter-spacing: .12em; font-size: 1.2rem; }
.footer__logo span { color: var(--accent); }
.footer__legal { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); text-align: center; font-size: .8rem; }

/* ---------- Acessibilidade ---------- */
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--accent); color: #1a1400; font-weight: 700; padding: .6rem 1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Acessibilidade: sem movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__grid::before, .hero__scroll i, .wa-float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
