/* ==========================================================================
   BRAZ DOS CANUDOS — Design System + Landing Page
   CSS3 · mobile-first · sem dependências
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta oficial */
  --royal:      #2563EB;
  --deep:       #1D4ED8;
  --navy:       #1E3A8A;
  --blue:       #3B82F6;
  --light-blue: #60A5FA;
  --sky:        #DBEAFE;
  --ice:        #F8FAFC;
  --dark:       #0F172A;
  --slate:      #475569;
  --border:     #E2E8F0;

  /* Acento extraído da logo (fitas douradas do canudo) */
  --gold:       #C9A227;
  --gold-soft:  #F3E7C0;

  --white:      #FFFFFF;

  /* Tipografia */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;

  /* Espaçamento */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  /* Formas */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;

  /* Sombras */
  --sh-xs: 0 1px 2px rgba(15,23,42,.06);
  --sh-sm: 0 2px 8px rgba(15,23,42,.06);
  --sh-md: 0 8px 24px rgba(15,23,42,.08);
  --sh-lg: 0 18px 48px rgba(15,23,42,.12);
  --sh-blue: 0 12px 32px rgba(37,99,235,.28);

  /* Movimento */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
  --t-slow: .6s var(--ease-out);

  --maxw: 1200px;
  --nav-h: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--dark);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 3px; border-radius: 4px; }

/* Pular para o conteúdo — só aparece ao navegar por teclado */
.skip {
  position: absolute; left: 50%; top: -100px; z-index: 200;
  transform: translateX(-50%);
  padding: .8rem 1.4rem; border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--dark); color: #fff;
  font-size: var(--fs-sm); font-weight: 600;
  transition: top var(--t);
}
.skip:focus { top: 0; }

::selection { background: var(--royal); color: #fff; }

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: 'SOFT' 18, 'WONK' 1, 'opsz' 40;
}

.display  { font-size: clamp(2.6rem, 7vw, var(--fs-4xl)); }
.h-sec    { font-size: clamp(2rem, 4.6vw, var(--fs-3xl)); }
.h-card   { font-size: var(--fs-lg); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--royal);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--center::before { display: none; }

.lead { font-size: var(--fs-md); color: var(--slate); line-height: 1.7; }
.muted { color: var(--slate); }
.ital { font-style: italic; font-variation-settings: 'SOFT' 40, 'WONK' 1; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(var(--sp-8), 9vw, var(--sp-9)); }
.section--tight { padding-block: clamp(var(--sp-7), 6vw, var(--sp-8)); }
.sec-head { max-width: 640px; margin-bottom: var(--sp-7); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h-sec { margin-block: var(--sp-3) var(--sp-4); }

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--royal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .9rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  box-shadow: var(--sh-sm);
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-blue); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--dark); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn--ghost:hover { --btn-fg: var(--royal); box-shadow: inset 0 0 0 1.5px var(--royal), var(--sh-sm); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--dark  { --btn-bg: var(--dark); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------------------
   6. NAVBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
}
.topbar__in { display: flex; align-items: center; justify-content: center; gap: var(--sp-5); min-height: 38px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color var(--t-fast); }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--light-blue); }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.nav.is-stuck { box-shadow: var(--sh-sm); border-color: var(--border); background: rgba(255,255,255,.94); }
.nav__in { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--nav-h); }
.nav__logo img { height: 52px; width: auto; transition: transform var(--t); }
.nav__logo:hover img { transform: scale(1.04); }

.nav__links { display: none; gap: var(--sp-5); margin-left: auto; }
.nav__links a {
  font-size: var(--fs-sm); font-weight: 500; color: var(--slate);
  position: relative; padding-block: 4px; transition: color var(--t-fast);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--royal); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t);
}
.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
@media (min-width: 960px) { .nav__actions { margin-left: 0; } .nav__links { display: flex; } }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: .7rem 1.15rem;
  border-radius: var(--r-full);
  background: var(--dark); color: #fff;
  font-size: var(--fs-sm); font-weight: 600;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: var(--sh-sm);
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.cart-btn__count {
  min-width: 21px; height: 21px; padding-inline: 6px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--dark);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; line-height: 1;
}
.cart-btn.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0%{transform:scale(1)} 35%{transform:scale(1.14)} 100%{transform:scale(1)} }

.burger { display: grid; gap: 5px; padding: 10px; }
.burger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast); }
@media (min-width: 960px) { .burger { display: none; } }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  display: grid; gap: var(--sp-2);
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform var(--t-slow), opacity var(--t), visibility var(--t);
  box-shadow: var(--sh-lg);
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { padding: var(--sp-3) var(--sp-2); font-weight: 500; border-bottom: 1px solid var(--border); }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 820px);
  padding-block: clamp(var(--sp-8), 9vw, var(--sp-9));
  overflow: hidden;
  color: #fff;
  text-align: center;
}

/* --- Fundo: foto dos capelos sob um gradiente da paleta azul --- */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  /* WebP com fallback JPEG — o PNG original tinha 1,27 MB; o WebP tem 30 KB */
  background-position: center 22%;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/hero-bg.jpg");
  background-image: -webkit-image-set(url("../img/hero-bg.webp") type("image/webp"),
                                      url("../img/hero-bg.jpg")  type("image/jpeg"));
  background-image: image-set(url("../img/hero-bg.webp") type("image/webp"),
                              url("../img/hero-bg.jpg")  type("image/jpeg"));
  transform: scale(1.04);
}

/* Camada 1 — o gradiente azul que dá a cor da marca */
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(128deg,
    rgba(15, 23, 42, .96)   0%,
    rgba(30, 58, 138, .95) 32%,
    rgba(29, 78, 216, .93) 62%,
    rgba(29, 78, 216, .91) 100%);
}

/* Camada 2 — brilho radial e emenda com o corpo da página */
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 620px at 50% 24%, rgba(96,165,250,.20) 0%, transparent 64%),
    radial-gradient(760px 520px at 88% 96%, rgba(37,99,235,.24) 0%, transparent 62%),
    linear-gradient(to bottom, rgba(15,23,42,.28) 0%, transparent 22%, transparent 74%, rgba(248,250,252,.14) 92%, var(--ice) 100%);
}

/* Fita dourada sutil separando o hero do conteúdo */
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-soft) 50%, var(--gold) 78%, transparent);
  opacity: .55;
}

.hero__in {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  width: 100%;
  max-width: 900px;
}

.hero .eyebrow { color: #E8F1FE; }   /* Light Blue reprova em contraste sobre o gradiente */
.hero h1 { margin-block: var(--sp-2) var(--sp-3); color: #fff; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-variation-settings: 'SOFT' 45, 'WONK' 1;
}
.hero .lead { max-width: 60ch; color: rgba(255,255,255,.90); }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-4); }

/* Botão de vidro sobre o gradiente */
.btn--glass {
  --btn-bg: rgba(255,255,255,.10);
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover {
  --btn-bg: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5), var(--sh-md);
}

.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: .42rem .95rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #fff;
  transition: background var(--t), transform var(--t);
}
.chip:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.chip svg { color: var(--gold-soft); }

.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(var(--sp-5), 5vw, var(--sp-8));
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.16);
  width: 100%;
}
.trust { display: grid; gap: 2px; }
.trust__n { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600; color: #fff; line-height: 1; }
.trust__l { font-size: var(--fs-xs); color: rgba(255,255,255,.88); letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 767px) {
  .hero { min-height: 0; text-align: left; }
  .hero__in { justify-items: start; max-width: none; }
  .hero .eyebrow--center::before { display: inline-block; }
  .hero__cta, .hero__chips, .hero__trust { justify-content: flex-start; }
  .hero__cta .btn { flex: 1 1 100%; }
  .trust__n { font-size: var(--fs-xl); }
}

/* --------------------------------------------------------------------------
   8. FAIXA DE DIFERENCIAIS
   -------------------------------------------------------------------------- */
.strip { background: var(--navy); color: #fff; overflow: hidden; }
.strip__track { display: flex; gap: var(--sp-7); padding-block: var(--sp-4); white-space: nowrap; animation: marquee 34s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.strip__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


.prod-grid {
    display: grid;
    gap: var(--sp-5);
}

@media (min-width: 680px) {
    .prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
  position: relative;
  min-width: 0;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #CBD9F5; }

.card__art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #F1F6FF, #E4EDFD);
  overflow: hidden;
}
.card__art svg { width: 78%; transition: transform var(--t-slow); }
.card:hover .card__art svg { transform: scale(1.07) rotate(-3deg); }
.card__art .art-img {
  width: 88%; height: 88%; object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 18px rgba(30,58,138,.16));
  transition: transform var(--t-slow);
}
.card:hover .card__art .art-img { transform: scale(1.08) rotate(-2deg); }
.card__art::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 55%);
  pointer-events: none;
}

.card__tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2;
  background: var(--dark); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--r-full);
}
.card__tag--gold { background: var(--gold); color: var(--dark); }

.card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: var(--sp-5); gap: var(--sp-3); }
.card__kicker { font-size: var(--fs-xs); color: var(--royal); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.card__desc { font-size: var(--fs-sm); color: var(--slate); }
.card__meta { font-size: var(--fs-xs); color: var(--slate); display: flex; align-items: center; gap: 6px; padding-top: var(--sp-1); }

/* Configurador */
.cfg { display: grid; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-4); border-top: 1px dashed var(--border); }
.cfg > * { min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

.select, .input, .textarea {
  width: 100%;
  padding: .7rem .85rem;
  background: var(--ice);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.select { appearance: none; -webkit-appearance: none; padding-right: 2.1rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
.select:focus, .input:focus, .textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.textarea { resize: vertical; min-height: 84px; font-family: inherit; }
.input.is-error, .select.is-error { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.err-msg { font-size: var(--fs-xs); color: #DC2626; display: none; }
.err-msg.is-on { display: block; }

/* Campo-armadilha: fora da tela, fora do foco, fora do fluxo */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qty { display: inline-flex; align-items: center; flex: 0 0 auto; background: var(--ice); border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 30px; height: 38px; display: grid; place-items: center; font-size: var(--fs-md); font-weight: 600; color: var(--slate); transition: background var(--t-fast), color var(--t-fast); }
.qty button:hover { background: var(--sky); color: var(--deep); }
.qty input { width: 44px; height: 38px; min-width: 0; text-align: center; background: transparent; border: 0; font-weight: 700; font-size: var(--fs-sm); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input { -moz-appearance: textfield; }

.cfg__row { display: flex; align-items: flex-end; gap: var(--sp-2); flex-wrap: wrap; min-width: 0; }
.cfg__price { margin-left: auto; text-align: right; line-height: 1.15; min-width: 0; }
.cfg__price small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.cfg__price b { font-family: var(--font-display); font-size: var(--fs-md); color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cfg__price b .cents { font-size: .68em; }

.price-flash { animation: flash .4s var(--ease-out); }
@keyframes flash { 0%{opacity:.25; transform: translateY(-4px)} 100%{opacity:1; transform:none} }

/* --------------------------------------------------------------------------
   10. MAPAS / PROJETOS
   -------------------------------------------------------------------------- */
.maps { background: linear-gradient(180deg, #fff, var(--ice)); }
.maps__grid { display: grid; gap: var(--sp-6); align-items: start; }
.maps__shot { margin-top: var(--sp-6); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #F1F6FF, #E4EDFD); border: 1px solid var(--border);
  display: grid; place-items: center; padding: var(--sp-4); }
.maps__shot img { width: 100%; max-width: 460px; mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 24px rgba(30,58,138,.16)); }
@media (min-width: 940px) { .maps__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-sm); }
.panel--accent { background: linear-gradient(165deg, var(--navy), #142451); color: #fff; border-color: transparent; }
.panel--accent .field__lbl { color: rgba(255,255,255,.62); }
.panel--accent .select, .panel--accent .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.panel--accent .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23DBEAFE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
.panel--accent .select option { color: var(--dark); }
.panel--accent .qty { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.panel--accent .qty button { color: rgba(255,255,255,.8); }
.panel--accent .qty button:hover { background: rgba(255,255,255,.14); color: #fff; }
.panel--accent .cfg__price b { color: #fff; font-size: var(--fs-xl); }
.panel--accent .cfg__price small { color: rgba(255,255,255,.6); }
.panel--accent .cfg { border-top-color: rgba(255,255,255,.16); }

.grid-2 { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }


/* Complementos */
.addon-list { display: grid; gap: var(--sp-3); }
.addon {
  display: flex; align-items: center; gap: var(--sp-4); min-width: 0;
  padding: var(--sp-4);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.addon:hover { border-color: var(--light-blue); transform: translateX(4px); box-shadow: var(--sh-sm); }
.addon__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--sky); color: var(--deep); }
.addon__info { flex: 1 1 120px; min-width: 0; }
.addon__info strong, .addon__info small { overflow-wrap: anywhere; }
.addon__info strong { display: block; font-size: var(--fs-sm); }
.addon__info small { color: var(--slate); font-size: var(--fs-xs); }
.addon__price { font-family: var(--font-display); font-size: var(--fs-md); color: var(--navy); font-weight: 600; }
.addon__add { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; transition: transform var(--t), background var(--t); }
.addon__add:hover { background: var(--royal); transform: rotate(90deg) scale(1.08); }
@media (max-width: 560px) { .addon { flex-wrap: wrap; } .addon__info { flex: 1 1 60%; } }

/* --------------------------------------------------------------------------
   11. TABELA DE PREÇOS
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.tab {
  padding: .6rem 1.2rem; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600; color: var(--slate);
  background: #fff; border: 1.5px solid var(--border);
  transition: all var(--t);
}
.tab:hover { border-color: var(--light-blue); color: var(--deep); }
.tab.is-on { background: var(--dark); color: #fff; border-color: var(--dark); }

.tabpane { display: none; animation: fadeUp .4s var(--ease-out); }
.tabpane.is-on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; -webkit-overflow-scrolling: touch; }
table.price { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
table.price th, table.price td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.price thead th { background: var(--ice); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 700; position: sticky; top: 0; }
table.price thead th small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .75; }
table.price tbody tr { transition: background var(--t-fast); }
table.price tbody tr:hover { background: #F5F9FF; }
table.price td.val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); }
table.price td.na { color: #94A3B8; font-weight: 400; }
table.price th.rowh { font-weight: 600; color: var(--dark); }

.notes { display: grid; gap: var(--sp-2); margin-top: var(--sp-5); }
.note { display: flex; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--slate); }
.note span { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--sky); color: var(--deep); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }

/* --------------------------------------------------------------------------
   12. PASSOS / SOBRE
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: s; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--sp-5); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); transition: transform var(--t), box-shadow var(--t); }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600;
  color: var(--sky); line-height: 1; display: block; margin-bottom: var(--sp-3);
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--slate); }

.about { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.about::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.34), transparent 68%);
  filter: blur(6px);
}
.about__grid { position: relative; display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 940px) { .about__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.about .lead { color: rgba(255,255,255,.72); }
.about .eyebrow { color: var(--light-blue); }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.stat { padding: var(--sp-5); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); backdrop-filter: blur(6px); transition: background var(--t), transform var(--t); }
.stat:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--fs-2xl); color: #fff; line-height: 1; }
.stat span { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   12.5 FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--sp-3); }

.faq__i {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; transition: border-color var(--t), box-shadow var(--t);
}
.faq__i:hover { border-color: #CBD9F5; }
.faq__i[open] { border-color: var(--light-blue); box-shadow: var(--sh-sm); }

.faq__i summary {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer; list-style: none;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary h3 {
  flex: 1; margin: 0;
  font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 600;
  letter-spacing: -.005em; line-height: 1.45;
}
.faq__i[open] summary h3 { color: var(--deep); }

.faq__ic {
  flex: none; position: relative; width: 22px; height: 22px;
  border-radius: 50%; background: var(--sky);
  transition: background var(--t), transform var(--t);
}
.faq__ic::before, .faq__ic::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--deep); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t), opacity var(--t);
}
.faq__ic::before { width: 10px; height: 2px; }
.faq__ic::after  { width: 2px; height: 10px; }
.faq__i[open] .faq__ic { background: var(--royal); transform: rotate(180deg); }
.faq__i[open] .faq__ic::before { background: #fff; }
.faq__i[open] .faq__ic::after  { opacity: 0; }

.faq__r { padding: 0 var(--sp-5) var(--sp-5); }
.faq__r p {
  margin: 0; padding-top: var(--sp-2);
  border-top: 1px dashed var(--border);
  font-size: var(--fs-sm); color: var(--slate); line-height: 1.75;
}
.faq__i[open] .faq__r { animation: fadeUp .3s var(--ease-out); }

/* --------------------------------------------------------------------------
   13. CONTATO + MAPA
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; gap: var(--sp-6); align-items: stretch; }
@media (min-width: 940px) { .contact__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--sp-7); } }

.contact-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.contact-item {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.contact-item:hover { border-color: var(--royal); transform: translateY(-3px); box-shadow: var(--sh-md); }
.contact-item__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); color: var(--deep); display: grid; place-items: center; }
.contact-item__tx small { display: block; font-size: var(--fs-sm); color: var(--slate); line-height: 1.4; }
.contact-item__tx strong { font-size: var(--fs-md); font-weight: 700; letter-spacing: -.01em; }

.map-card {
  position: relative;
  min-height: 420px; height: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-md);
  background: var(--sky);
}
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(1.03); }
.map-pin {
  position: absolute; top: var(--sp-4); left: var(--sp-4); right: var(--sp-4);
  max-width: 380px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: var(--sp-4); display: flex; gap: var(--sp-3);
  animation: dropIn .6s var(--ease-out) both;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.map-pin__tx { flex: 1; min-width: 0; }
.map-pin__tx strong { display: block; font-size: var(--fs-sm); line-height: 1.35; margin-bottom: 4px; }
.map-pin__tx small { display: block; font-size: var(--fs-xs); color: var(--slate); line-height: 1.5; }
.map-pin__acts { display: flex; gap: var(--sp-2); flex: none; }
.map-pin__acts a { width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--deep); display: grid; place-items: center; transition: background var(--t), transform var(--t); }
.map-pin__acts a:hover { background: var(--royal); color: #fff; transform: scale(1.08); }

/* --------------------------------------------------------------------------
   14. CARRINHO (drawer)
   -------------------------------------------------------------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
body.cart-open .overlay { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(460px, 100%);
  background: var(--ice);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .45s var(--ease-out);
  box-shadow: -20px 0 60px rgba(15,23,42,.18);
}
body.cart-open .drawer { transform: translateX(0); }

.drawer__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-5); background: #fff; border-bottom: 1px solid var(--border); }
.drawer__head h3 { font-size: var(--fs-lg); flex: 1; }
.drawer__close { width: 38px; height: 38px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; transition: background var(--t), transform var(--t); }
.drawer__close:hover { background: var(--sky); transform: rotate(90deg); }

.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-5); display: grid; gap: var(--sp-4); align-content: start; }
.drawer__foot { padding: var(--sp-5); background: #fff; border-top: 1px solid var(--border); display: grid; gap: var(--sp-4); }

.ci { display: flex; gap: var(--sp-3); padding: var(--sp-4); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); animation: slideIn .35s var(--ease-out) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.ci.is-leaving { animation: slideOut .28s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(26px); height: 0; padding-block: 0; margin-bottom: -1rem; } }
.ci__art { flex: none; width: 52px; height: 52px; border-radius: var(--r-sm); background: linear-gradient(150deg,#EEF4FF,#DCE8FD); display: grid; place-items: center; }
.ci__art svg { width: 30px; }
.ci__art .art-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ci__tx { flex: 1; min-width: 0; }
.ci__tx strong { display: block; font-size: var(--fs-sm); line-height: 1.35; }
.ci__tx small { display: block; font-size: var(--fs-xs); color: var(--slate); margin-top: 2px; }
.ci__bot { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); }
.ci__qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-full); overflow: hidden; }
.ci__qty button { width: 28px; height: 28px; display: grid; place-items: center; font-weight: 700; color: var(--slate); transition: background var(--t-fast); }
.ci__qty button:hover { background: var(--sky); color: var(--deep); }
.ci__qty span { min-width: 40px; text-align: center; font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.ci__sub { margin-left: auto; font-weight: 700; font-size: var(--fs-sm); color: var(--navy); font-variant-numeric: tabular-nums; }
.ci__del { color: #94A3B8; transition: color var(--t-fast); padding: 4px; }
.ci__del:hover { color: #DC2626; }

.cart-empty { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--slate); }
.cart-empty svg { margin: 0 auto var(--sp-4); opacity: .4; }
.cart-empty p { font-size: var(--fs-sm); }

.total-row { display: flex; align-items: baseline; justify-content: space-between; }
.total-row span { font-size: var(--fs-sm); color: var(--slate); }
.total-row b { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--navy); font-variant-numeric: tabular-nums; }
.total-hint { font-size: var(--fs-xs); color: var(--slate); line-height: 1.5; }

/* Formulário de orçamento */
.form-step { display: none; }
.form-step.is-on { display: grid; gap: var(--sp-4); animation: fadeUp .35s var(--ease-out); }
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 420px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.sent {
  text-align: center; padding: var(--sp-7) var(--sp-4);
}
.sent__ic { width: 74px; height: 74px; margin: 0 auto var(--sp-5); border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; animation: pop .5s var(--ease-out) both; }
@keyframes pop { 0%{transform:scale(.5);opacity:0} 60%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.sent h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.sent p { font-size: var(--fs-sm); color: var(--slate); margin-bottom: var(--sp-5); }

/* --------------------------------------------------------------------------
   15. TOAST
   -------------------------------------------------------------------------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 120; display: grid; gap: var(--sp-2); transform: translateX(-50%); width: min(400px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: .85rem 1.1rem;
  background: var(--dark); color: #fff;
  border-radius: var(--r-full); box-shadow: var(--sh-lg);
  font-size: var(--fs-sm); font-weight: 500;
  animation: toastIn .4s var(--ease-out) both;
}
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
.toast--err { background: #B91C1C; }
.toast__ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.16); }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(.96); } }


/* --------------------------------------------------------------------------
   16. RODAPÉ
   -------------------------------------------------------------------------- */
.footer { background: var(--dark); color: rgba(255,255,255,.66); padding-block: var(--sp-8) var(--sp-6); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-7); } }
.footer__logo { background: #fff; border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); display: inline-block; margin-bottom: var(--sp-4); }
.footer__logo img { height: 46px; }
.footer h3 { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4); }
.footer ul { display: grid; gap: var(--sp-2); }
.footer a { transition: color var(--t-fast); }
.footer a:hover { color: #fff; }
/* --- Selo de marca registrada no rodapé ---------------------------------
   O caractere ® já é um R dentro de um círculo. Em 12px ele some, e colocá-lo
   dentro de outro círculo deixa o R minúsculo. Por isso é desenhado em SVG:
   o R ocupa o círculo inteiro e continua nítido em qualquer tamanho.        */
.rodape-marca { display: inline-flex; align-items: center; gap: .6rem; }
.rodape-marca__selo {
  flex: none;
  width: 13px; height: 13px;
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.rodape-marca__nome { font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: .01em; }

@media (max-width: 480px) {
  .rodape-marca__selo { width: 23px; height: 23px; }
}

/* Só para leitor de tela */
.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;
}

.footer__bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-3) var(--sp-5);
  font-size: var(--fs-xs);
}

/* Crédito do desenvolvedor */
.creditos {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .85rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.62);
  white-space: nowrap;
  transition: color var(--t), background var(--t), border-color var(--t), transform var(--t);
}
.creditos img {
  width: auto; height: 17px;
  opacity: .9;
  transition: opacity var(--t), transform var(--t);
}
.creditos strong { color: rgba(255,255,255,.86); font-weight: 700; letter-spacing: .01em; }
.creditos:hover {
  color: #fff;
  background: rgba(255,255,255,.09);
  border-color: rgba(234,116,38,.55);
  transform: translateY(-2px);
}
.creditos:hover img { opacity: 1; transform: scale(1.08) rotate(-4deg); }
.creditos:hover strong { color: #fff; }

@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .creditos { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   17. ANIMAÇÃO DE ENTRADA (scroll reveal)
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
[data-reveal][data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
