/* ==========================================================================
   KAZAN — landing page styles
   Single stylesheet, sectioned. Custom properties drive the whole palette
   so the design system lives in one place (see :root below).
   ========================================================================== */

/* ============ FONTS (self-hosted, latin subset only — pt-BR needs no more) ============ */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-variable-latin.woff2') format('woff2');
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

/* ============ DESIGN TOKENS ============ */
:root {
  /* brand */
  --kazan-red: #D4202F;
  --kazan-red-dim: #7A1620;
  --kazan-navy: #253D84;
  --kazan-cream: #E4D7C3;
  --kazan-gold: #FBC90C;
  --kazan-cyan: #4BAED4;

  /* dark surfaces, layered instead of flat black */
  --surface-0: #120E0C;
  --surface-1: #1C1613;
  --surface-2: #271F1B;
  --surface-border: rgba(228, 215, 195, 0.12);

  /* text (contrast-checked against --surface-0, see plan doc) */
  --text-primary: var(--kazan-cream);
  --text-muted: #D6CBBC;
  --text-on-gold: #1C1613;
  --text-on-cream: #211A16;

  /* type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* spacing */
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --container-w: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --notch: 22px;

  --ease: cubic-bezier(.22, .75, .32, 1);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 900ms;

  --z-header: 50;
  --z-fab: 60;
}

/* ============ BASE ============ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }

p { color: var(--text-muted); max-width: 62ch; text-wrap: pretty; }
dd, li { text-wrap: pretty; }

em { color: var(--kazan-gold); font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--kazan-gold);
  color: var(--text-on-gold);
  padding: var(--space-2xs) var(--space-sm);
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--kazan-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--kazan-gold);
  margin-bottom: var(--space-xs);
  text-wrap: balance;
}
.kicker::before {
  content: '';
  width: 14px;
  height: 3px;
  background: var(--kazan-red);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
  flex-shrink: 0;
}

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section__lead {
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
}

.section {
  position: relative;
  padding-block: var(--space-3xl);
  overflow: clip;
}
.section--diferenciais, .section--produtos { background: var(--surface-1); }

.section__illustration {
  /* centralizado com margin auto (não transform) para não colidir com o transform
     que o .reveal-media usa na animação de entrada — os dois brigando pela mesma
     propriedade era o que fazia a ilustração ficar praticamente toda fora da seção */
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  width: min(46vw, 620px);
  height: auto;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
.section__illustration--left { left: -8%; }
.section__illustration--right { right: -8%; }
.section > .container { position: relative; z-index: 1; }

/* ============ REVEAL-ON-SCROLL ============ */
.reveal, .reveal-media {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal-media { transform: translateY(0) scale(1.04); }
.reveal.is-visible, .reveal-media.is-visible { opacity: 1; transform: none; }
.section__illustration.is-visible { opacity: .07; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-media { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .9em 1.6em;
  border-radius: 999px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--sm { padding: .6em 1.2em; font-size: .85rem; }

.btn--gold {
  background: var(--kazan-gold);
  color: var(--text-on-gold);
  box-shadow: 0 8px 24px -8px rgba(251, 201, 12, .55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(251, 201, 12, .65); }

.btn--ghost {
  background: rgba(228, 215, 195, .08);
  color: var(--text-primary);
  border: 1.5px solid rgba(228, 215, 195, .45);
}
.btn--ghost:hover {
  background: var(--surface-0);
  border-color: var(--kazan-cream);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 26px -6px rgba(37, 211, 102, .55);
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .65); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-block: var(--space-sm);
  background: linear-gradient(to bottom, rgba(18, 14, 12, .85), rgba(18, 14, 12, 0));
  backdrop-filter: blur(6px);
  /* clips the off-canvas mobile nav drawer (position:fixed, translateX(100%) when closed)
     so it doesn't extend the document's horizontal scroll area on narrow viewports.
     Scoped here instead of html/body, which breaks .saga__sticky's position:sticky.
     overflow-x:clip (not hidden) + explicit overflow-y:visible avoids the CSS rule that
     otherwise forces overflow-y to auto when only one axis is non-visible, which was
     clipping the 100vh-tall nav drawer down to the header's own height. */
  overflow-x: clip;
  overflow-y: visible;
}
.site-header.is-scrolled {
  background: rgba(18, 14, 12, .92);
  box-shadow: 0 1px 0 var(--surface-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.site-header__logo img { height: 80px; width: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav__list { display: flex; gap: var(--space-md); font-weight: 600; font-size: .92rem; }
.site-nav__list a { padding: .3em 0; border-bottom: 1.5px solid transparent; transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.site-nav__list a:hover { color: var(--kazan-gold); border-color: var(--kazan-gold); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-toggle__icon { width: 24px; height: 24px; flex-shrink: 0; }
.nav-toggle__icon--close { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(6.5rem, 16vh, 9.5rem) clamp(3.5rem, 8vh, 5.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 82% 30%, rgba(212, 32, 47, .30), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(37, 61, 132, .20), transparent 60%),
    var(--surface-0);
  overflow: clip;
}

.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 60% at 80% 45%, rgba(251, 201, 12, .12), transparent 70%);
  animation: glow-pulse 7s ease-in-out infinite;
}
@keyframes glow-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

.hero__dragon {
  position: absolute;
  left: -4%;
  top: 4%;
  width: min(56vw, 760px);
  opacity: .26;
  filter: drop-shadow(0 0 60px rgba(37, 61, 132, .5));
  z-index: 0;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(10, 8, 6, .72) 0%, rgba(10, 8, 6, .58) 35%, rgba(10, 8, 6, 0) 62%);
}

.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.hero__title span { color: var(--kazan-cream); -webkit-text-stroke: 0; }
/* quebras manuais para o efeito "escada" pedido pelo cliente (linhas crescendo em largura);
   só faz sentido na largura de desktop em que foi desenhado — no mobile deixa o balance cuidar */
@media (max-width: 1023px) {
  .hero__title-break, .section__title-break { display: none; }
}

.hero__subtitle { font-size: 1.2rem; font-weight: 600; color: #fff; max-width: 46ch; margin-bottom: var(--space-lg); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-xl); }
.hero__cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
.hero__cta-hint { font-size: .82rem; color: var(--text-muted); padding-left: .3em; }

.hero__product { position: relative; display: flex; justify-content: center; will-change: transform; }
.hero__product picture { display: block; max-width: 420px; }
.hero__product img { border-radius: 0 var(--radius-lg) 0 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll, .hero__glow { animation: none; } }


/* ============ VALUE CARDS (diferenciais) ============ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }

.value-card {
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 0 var(--notch) 0 0;
  padding: var(--space-lg) var(--space-md);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--kazan-gold); }
.value-card__icon { width: 40px; height: 40px; color: var(--kazan-gold); margin-bottom: var(--space-md); }
.value-card h3 { font-size: 1.1rem; color: var(--text-primary); margin-bottom: var(--space-2xs); }
.value-card__headline { color: var(--kazan-cream); font-weight: 700; margin-bottom: var(--space-2xs); }
.value-card p:last-child { font-size: .95rem; }

/* ============ FIGURA DE CONTEÚDO (Dor / Sobre / FAQ) ============ */
.dor__inner, .sobre__grid, .faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.dor__media, .sobre__media, .faq__media {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 0 28px 0 0;
  overflow: hidden;
}
.dor__media img, .sobre__media img, .faq__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .dor__inner { grid-template-columns: 1.1fr .9fr; }
  .sobre__grid { grid-template-columns: 1.1fr .9fr; }
  .faq__grid { grid-template-columns: 1.1fr .9fr; }
}

/* ============ SOBRE ============ */
.sobre__copy { max-width: 62ch; }
.sobre__copy p { font-size: 1.08rem; margin-bottom: var(--space-md); }

.sobre__bullets { display: flex; flex-direction: column; gap: var(--space-sm); }
.sobre__bullets li {
  font-size: 1.05rem;
  color: var(--text-muted);
  padding-left: var(--space-md);
  border-left: 3px solid var(--kazan-red);
}
.sobre__bullets strong { display: block; color: var(--text-primary); font-size: 1.1rem; margin-bottom: .15em; }

/* ============ DOR ============ */
.section--dor { background: var(--surface-1); }
.dor__inner .section__title { margin-bottom: var(--space-xl); }

.dor__moments { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-xl); }
.dor__moments p {
  position: relative;
  max-width: none;
  padding-left: var(--space-md);
  font-size: 1.15rem;
  color: var(--text-primary);
}
.dor__moments p::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 12px;
  height: 3px;
  background: var(--kazan-red);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
}

.dor__bridge {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--kazan-gold);
  max-width: none;
}

/* ============ SAGA (momento de marca) ============ */
/* Estado base: sem JS ou com prefers-reduced-motion, tudo visível em fluxo normal, sem pin. */
.saga {
  position: relative;
  background: var(--surface-0);
  padding-block: var(--space-3xl);
}
.saga__sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  text-align: center;
}
.saga__glow {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(212, 32, 47, .22), transparent 70%);
}
.saga__dragon {
  position: relative;
  z-index: 1;
  width: min(60vw, 360px);
  opacity: .5;
}
.saga__lines { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-sm); }
.saga__line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-primary);
  max-width: none;
}
.saga__line--final {
  color: var(--kazan-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.saga__cta {
  font-family: var(--font-body);
  text-transform: none;
}

/* Estado aprimorado: JS confirma suporte e liga o pin com scroll real. */
.saga.is-enhanced {
  height: 380vh;
  padding-block: 0;
}
.saga.is-enhanced .saga__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: none;
  justify-content: center;
  overflow: hidden;
}
.saga.is-enhanced .saga__dragon {
  position: absolute;
  width: min(70vw, 620px);
  opacity: .16;
  will-change: transform, opacity;
}
.saga.is-enhanced .saga__lines { position: absolute; inset: 0 var(--space-md); display: block; }
.saga.is-enhanced .saga__line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.saga.is-enhanced .saga__line.is-active { opacity: 1; transform: translateY(0); z-index: 1; }
.saga.is-enhanced .saga__line--final { flex-direction: column; gap: var(--space-lg); }
.saga.is-enhanced .saga__line--final.is-active { pointer-events: auto; }
.saga.is-enhanced .saga__line--final { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .saga.is-enhanced { height: auto; padding-block: var(--space-3xl); }
  .saga.is-enhanced .saga__sticky { position: relative; height: auto; }
  .saga.is-enhanced .saga__lines { position: relative; inset: auto; display: flex; flex-direction: column; gap: var(--space-sm); }
  .saga.is-enhanced .saga__line { position: relative; inset: auto; opacity: 1; transform: none; transition: none; }
}

/* ============ PRODUTOS ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }

.product-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 0 var(--notch) 0 0;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.product-card:hover, .product-card:focus-visible { transform: translateY(-6px); border-color: var(--kazan-gold); }

.product-card h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: var(--space-3xs); text-transform: none; font-family: var(--font-body); font-weight: 800; }
.product-card p { font-size: .92rem; margin: 0; }

.product-card--photo .product-card__media {
  border-radius: 0 var(--radius-sm) 0 0;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background: var(--kazan-cream);
  aspect-ratio: 4 / 3;
}
.product-card--photo .product-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.product-card__more {
  align-self: flex-start;
  margin-top: var(--space-sm);
  padding: 0;
  background: none;
  border: none;
  color: var(--kazan-gold);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.product-card:hover .product-card__more, .product-card:focus-visible .product-card__more { border-color: var(--kazan-gold); }

.produtos__footnote { margin-top: var(--space-xl); font-size: 1.02rem; text-align: center; max-width: none; }
.produtos__footnote strong { color: var(--kazan-gold); }

.produtos__cta { display: flex; justify-content: center; margin-top: var(--space-lg); }


/* ============ FAQ ============ */
.section--faq { background: var(--surface-1); }
.faq-list { max-width: 860px; }
.faq-item { position: relative; padding-block: var(--space-md); padding-left: var(--space-md); border-top: 1px solid var(--surface-border); }
.faq-item:last-child { border-bottom: 1px solid var(--surface-border); }
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(var(--space-md) + .55em);
  width: 12px;
  height: 3px;
  background: var(--kazan-red);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
}
.faq-item dt {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
  text-wrap: balance;
}
.faq-item dd { margin: 0; color: var(--text-muted); font-size: 1rem; }

/* ============ CONTATO ============ */
.contato__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: start; }

.contato__form { background: var(--surface-2); border: 1px solid var(--surface-border); border-radius: 0 36px 0 0; padding: var(--space-lg); }
.form-row { margin-bottom: var(--space-md); display: flex; flex-direction: column; gap: .5em; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: 0; }
.form-row--split > div { display: flex; flex-direction: column; gap: .5em; margin-bottom: var(--space-md); }
.form-row label { font-size: .82rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: .04em; }
.form-row input, .form-row select, .form-row textarea {
  background: #3A2E27;
  border: 1.5px solid rgba(228, 215, 195, .4);
  border-radius: var(--radius-sm);
  min-height: 52px;
  padding: .8em 1em;
  font-size: 1rem;
  color: #fff;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--kazan-gold); background: #423630; outline: none; }
.form-row textarea { resize: vertical; }
.form-row--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { width: 100%; justify-content: center; margin-top: var(--space-2xs); }
.form-feedback { margin-top: var(--space-sm); font-size: .9rem; min-height: 1.2em; }
.form-feedback[data-status="ok"] { color: var(--kazan-gold); }
.form-feedback[data-status="error"] { color: var(--kazan-red); }

/* ============ FOOTER ============ */
.site-footer { background: var(--surface-1); border-top: 1px solid var(--surface-border); padding-block: var(--space-2xl) var(--space-lg); }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.site-footer__brand img { height: 64px; width: auto; margin-bottom: var(--space-sm); }
.site-footer__brand p { font-size: .9rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: var(--space-2xs); font-weight: 600; }
.site-footer__nav a:hover { color: var(--kazan-gold); }
.site-footer__contact { font-size: .9rem; display: flex; flex-direction: column; gap: var(--space-sm); }
.site-footer__contact p { color: var(--text-muted); }
.site-footer__social { display: inline-flex; align-items: center; gap: .5em; color: var(--kazan-cream); font-weight: 600; width: fit-content; }
.site-footer__social:hover { color: var(--kazan-gold); }
.site-footer__bottom { border-top: 1px solid var(--surface-border); padding-top: var(--space-md); font-size: .82rem; color: var(--text-muted); }

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  right: var(--space-md);
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .whatsapp-fab:hover { transform: none; } }

/* ============ MODAL DE PRODUTO ============ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.product-modal[hidden] { display: none; }

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, .82);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 0 36px 0 0;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .65);
}

.product-modal.is-open .product-modal__backdrop { opacity: 1; }
.product-modal.is-open .product-modal__panel { opacity: 1; transform: none; }

.product-modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: rgba(18, 14, 12, .6);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.product-modal__close:hover { background: var(--kazan-red); transform: scale(1.06); }

.product-modal__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 40vh;
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
}
.product-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-modal__media[hidden] { display: none; }

.product-modal__body { padding: var(--space-lg); }
.product-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.product-modal__description { font-size: 1.05rem; margin-bottom: var(--space-md); max-width: none; }

@media (min-width: 700px) {
  .product-modal__panel {
    width: min(880px, 92vw);
    /* fixed (not just max-) height so every product modal — and its image — is the same size,
       instead of stretching to whatever height that product's description happens to need */
    height: min(480px, 78vh);
    max-height: min(480px, 78vh);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .product-modal__media { max-height: none; aspect-ratio: auto; height: 100%; }
  .product-modal__body { display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .product-modal__backdrop, .product-modal__panel { transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* >= 600px : product/value grids get breathing room, split form row already works */
@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

/* >= 1024px : full desktop nav, two-column hero/sobre/contato layouts */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; }

  .hero__inner { grid-template-columns: 1.3fr .7fr; }
  .hero__product { justify-content: flex-end; }

  /* foto única (garrafa + fundo) substitui a ilustração do dragão e a foto de produto
     separadas, que ficam só para mobile onde essa imagem larga não teria como cropar bem */
  .hero {
    background-image:
      radial-gradient(ellipse 70% 55% at 82% 30%, rgba(212, 32, 47, .18), transparent 60%),
      url('../img/hero/hero.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }
  .hero__dragon, .hero__product { display: none; }

  .contato__grid { grid-template-columns: 1fr 1fr; }
}

/* < 1024px : mobile nav drawer */
@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; z-index: calc(var(--z-header) + 1); }

  .site-nav {
    position: fixed;
    inset: 0 0 0 30%;
    height: 100vh;
    height: 100dvh;
    z-index: var(--z-header);
    background: var(--surface-1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease);
    border-left: 1px solid var(--surface-border);
  }
  .site-nav[data-state="open"] { transform: translateX(0); }
  .site-nav__list { flex-direction: column; gap: var(--space-md); font-size: 1.1rem; }
  .site-nav__cta { width: 100%; justify-content: center; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }
}

@media (min-width: 560px) {
  .site-footer__inner { grid-template-columns: 1.2fr .8fr 1fr; }
}

@media (min-width: 1440px) {
  :root { --container-w: 1360px; }
}

/* touch targets */
@media (pointer: coarse) {
  .site-nav__list a, .btn, .nav-toggle, .whatsapp-fab { min-height: 44px; }
}
