/* Cdev Studio — base das demos. Cada nicho define suas cores/fontes em [data-theme]. */
@font-face { font-family: "Archivo"; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../../assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2191,U+2193; }
@font-face { font-family: "Archivo"; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../../assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0; }

:root {
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fh: var(--f);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 6vw, 96px);
  --r: 18px;
  --wa: #25d366;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--f);
  -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background .4s, color .4s;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
::selection { background: var(--a); color: var(--a-ink); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* foto com fundo de reserva enquanto carrega */
.ph { background: var(--card) linear-gradient(135deg, color-mix(in srgb, var(--a) 18%, transparent), transparent); overflow: hidden; }
.ph img { width: 100%; height: 100%; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--btn-r, 999px); border: 0; cursor: pointer;
  font: 600 15px/1 var(--f); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-a { background: var(--a); color: var(--a-ink); }
.btn-line { border: 1px solid var(--line-2); background: transparent; color: var(--fg); }
.btn-line:hover { border-color: var(--fg); }
.btn-wa { background: var(--wa); color: #04170b; }

/* faixa da demo */
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--pad); background: #000; color: #fff; font: 600 13px/1.2 var(--f); }
.demo-bar a { text-decoration: none; }
.demo-bar .go { background: #fff; color: #000; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.demo-bar .back { opacity: .7; }
.demo-bar .back:hover { opacity: 1; }
html.embed .demo-bar, html.embed .fab { display: none; }

/* topo */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--fh); letter-spacing: -.01em; }
.tnav { display: flex; gap: 28px; font-size: 14px; color: var(--mut); }
.tnav a { text-decoration: none; transition: color .2s; }
.tnav a:hover { color: var(--fg); }
.tright { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.pill button { height: 30px; min-width: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--mut); font: 600 12px/1 var(--f); cursor: pointer; display: grid; place-items: center; }
.pill button[aria-pressed="true"] { background: var(--card-2); color: var(--fg); }
.pill .ico { width: 15px; height: 15px; }
.top .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* seções */
.sec { padding: clamp(72px, 12vh, 132px) var(--pad); }
.kick { display: inline-block; color: var(--a-txt, var(--a)); font: 700 12px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.h2 { font: 800 clamp(32px, 4.6vw, 60px)/1.02 var(--fh); letter-spacing: -.02em; max-width: 18ch; }
.lead { margin-top: 18px; color: var(--mut); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; }

/* formulário */
.form { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mut); }
.form input, .form select, .form textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: calc(var(--r) * .6); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--fg); font: 16px var(--f); transition: border-color .2s;
}
.form textarea { height: 92px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--a); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 4px; }
.form.off { display: none; }
.ok { display: none; gap: 14px; background: var(--card); border: 1px solid var(--a); border-radius: var(--r); padding: 28px; }
.ok.on { display: grid; }
.ok h3 { font: 800 22px/1.2 var(--fh); }
.ok p { color: var(--mut); font-size: 15px; }
.bubble { background: #005c4b; color: #e9fdf5; border-radius: 12px 12px 12px 3px; padding: 12px 14px; font-size: 14px; white-space: pre-line; max-width: 420px; }
.ok .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* horários */
.hours { border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { color: var(--mut); }
.hours li.today { font-weight: 700; }
.hours li.today span:last-child { color: var(--a-txt, var(--a)); }

/* mapa ilustrativo */
.map { position: relative; min-height: 320px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background-color: var(--card);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 48%; height: 28px; background: var(--line-2); opacity: .7; rotate: -10deg; }
.map::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 58%; width: 18px; background: var(--line-2); opacity: .7; rotate: 8deg; }
.pin { position: absolute; left: 55%; top: 44%; z-index: 2; translate: -50% -100%; display: grid; justify-items: center; gap: 8px; }
.pin i { width: 24px; height: 24px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--a); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.pin b { background: var(--fg); color: var(--bg); font-size: 12px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }

.foot { padding: 28px var(--pad) 44px; border-top: 1px solid var(--line); color: var(--mut); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #04170b; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; fill: currentColor; }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .tnav { display: none; }
  .top { padding: 12px 16px; gap: 8px; }
  .brand { font-size: 17px; }
  .top .btn span { display: none; }
  .top .btn { width: 40px; padding: 0; }
  .demo-bar { padding: 8px 16px; font-size: 12px; }
  .demo-bar .back { display: none; }
  .sec { padding: 64px 18px; }
  .h2 { font-size: clamp(30px, 8.6vw, 42px); }
  .form, .ok { padding: 20px; }
  .form .row { grid-template-columns: 1fr; }
  .map { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
