/* ============================================================
   COSTA CAR WASH — Design System
   Navy profundo + branco (fiel ao logótipo real) com acento em
   latão/âmbar escovado. Serifada de impacto para títulos, sans
   geométrica para corpo/UI, e uma voz técnica (Space Grotesk)
   para specs, preços e badges — evocando fichas técnicas e
   etiquetas automóveis.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,600..900;1,9..144,600..900&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Cor */
  --ink: #0A0F1C;
  --navy: #101B33;
  --navy-2: #1B2C4F;
  --navy-3: #263D68;
  --paper: #F6F3EC;
  --paper-alt: #EEE9DD;
  --white: #FFFFFF;
  --steel: #4B5364;
  --steel-light: #848D9C;
  --line: #DDD7C8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #B3812E;
  --accent-light: #D6A34F;
  --accent-dark: #8C6423;
  --danger: #A8412C;
  --success: #3C6E52;

  --on-accent: #0A0F1C;

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-hero: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Space Grotesk', 'Inter', sans-serif;

  /* Espaçamento — base 8px */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* Cantos */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Sombras — suaves, várias camadas */
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.06), 0 1px 1px rgba(10, 15, 28, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(10, 15, 28, 0.14), 0 2px 6px -2px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(10, 15, 28, 0.28), 0 8px 16px -8px rgba(10, 15, 28, 0.16);
  --shadow-accent: 0 10px 24px -8px rgba(179, 129, 46, 0.45);

  /* Movimento */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; transition: top var(--dur-base) var(--ease-out-expo);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-8); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--navy { background: var(--navy); color: var(--paper); }
.section--alt { background: var(--paper-alt); }

.section-head {
  display: flex; flex-direction: column; gap: var(--space-3);
  max-width: 640px; margin-bottom: var(--space-8);
}
.section-head--center { text-align: center; margin-inline: auto; align-items: center; }
.eyebrow {
  font-family: var(--font-tech); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.section-lede { color: var(--steel); font-size: 1.05rem; max-width: 56ch; }
.section--dark .section-lede, .section--navy .section-lede { color: rgba(246, 243, 236, 0.72); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.9rem 1.75rem; border-radius: var(--radius-sm);
  font-family: var(--font-tech); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; min-height: 48px;
  transition: transform var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo), background-color var(--dur-base) var(--ease-out-expo), color var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.section--dark .btn-outline, .section--navy .btn-outline { color: var(--paper); }
.section--dark .btn-outline:hover, .section--navy .btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; padding-inline: 0.5rem; min-height: auto; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.75rem; min-height: 40px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  transition: background-color var(--dur-base) var(--ease-out-expo), transform var(--dur-base) var(--ease-out-expo);
  position: relative;
}
.icon-btn:hover { background: rgba(10, 15, 28, 0.06); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Badges & Tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-tech); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-full);
  background: var(--ink); color: var(--paper);
}
.badge--novo { background: var(--navy-2); color: var(--paper); }
.badge--promo { background: var(--accent); color: var(--on-accent); }
.badge--esgotado { background: var(--paper-alt); color: var(--steel); border: 1px solid var(--line); }
.badge--outline { background: transparent; border: 1px solid var(--line-dark); }

.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.55rem 1rem; border-radius: var(--radius-full);
  border: 1px solid var(--line); background: var(--white);
  font-size: 0.85rem; font-weight: 500; color: var(--steel);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out-expo); min-height: 44px;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Header / Navegação ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; border-radius: var(--radius-full);
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand__tag { font-family: var(--font-tech); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav__list { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
  font-size: 0.92rem; font-weight: 500; color: var(--steel);
  position: relative; padding-block: 0.4rem;
  transition: color var(--dur-fast) var(--ease-out-expo);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent);
  font-family: var(--font-tech); font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform var(--dur-fast) var(--ease-out-expo);
}
.cart-badge[data-active="true"] { transform: scale(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: all var(--dur-base) var(--ease-out-expo);
}
.nav-toggle::before { position: absolute; transform: translateY(-7px); }
.nav-toggle::after { position: absolute; transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: var(--space-8) var(--container-pad); gap: var(--space-8);
    transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out-expo);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .nav__link { font-size: 1.25rem; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero — foto de fundo (Porsche 911 sob luz de inspeção) ---------- */
/* Desktop e mobile usam fotografias dedicadas (paisagem / retrato) definidas
   como background-image, com um overlay em gradiente para garantir
   legibilidade do texto sobre a zona escura de cada composição. */
.hero {
  position: relative; color: var(--paper); overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
  background-color: var(--ink);
  background-image: url("../assets/img/hero-desktop.jpg");
  background-size: cover; background-position: center right;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.94) 0%, rgba(10, 15, 28, 0.8) 28%, rgba(10, 15, 28, 0.35) 52%, rgba(10, 15, 28, 0.05) 72%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.1) 0%, rgba(10, 15, 28, 0.45) 100%);
}

.hero__content { position: relative; z-index: 10; text-align: left; max-width: 640px; }
.hero__name {
  font-family: var(--font-hero); font-size: clamp(2.75rem, 7vw, 5.75rem); font-weight: 700;
  font-style: italic; letter-spacing: -0.01em; line-height: 1.05;
  background: linear-gradient(180deg, var(--white) 0%, var(--steel-light) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__tagline {
  margin-top: var(--space-4); font-family: var(--font-tech); font-size: 1rem;
  letter-spacing: 0.02em; color: var(--accent-light); max-width: 40ch;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--space-4); margin-top: var(--space-7); }
.hero__actions .btn-outline {
  color: var(--white); border-color: rgba(255, 255, 255, 0.6);
}
.hero__actions .btn-outline:hover {
  background: var(--success); border-color: var(--success); color: var(--white);
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-h)); align-items: flex-start; padding-top: var(--space-8);
    background-image: url("../assets/img/hero-mobile.jpg");
    background-position: center top;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 15, 28, 0.85) 0%, rgba(10, 15, 28, 0.55) 22%, rgba(10, 15, 28, 0.2) 42%, rgba(10, 15, 28, 0.15) 55%, rgba(10, 15, 28, 0.85) 100%);
  }
  .hero__content { text-align: center; max-width: 100%; }
  .hero__tagline { margin-inline: auto; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 640px) {
  .hero__tagline { font-size: 0.88rem; }
  .hero__actions { gap: var(--space-3); }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* Marquee de produtos — faixa de cards em loop contínuo, ancorada à
   base da hero. Feita só com CSS (@keyframes), sem JS nem dependências. */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 34%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 28%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 90%, transparent);
}
.hero-marquee__track {
  display: flex; align-items: center; gap: var(--space-4); height: 100%; width: max-content;
  animation: hero-marquee-scroll 34s linear infinite;
}
@keyframes hero-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-marquee__card {
  flex-shrink: 0; aspect-ratio: 3 / 4; height: 88%;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-marquee__card:nth-child(even) { transform: rotate(2deg); }
.hero-marquee__card:nth-child(odd) { transform: rotate(-2deg); }
.hero-marquee__card img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-marquee__track { animation: none; }
}

@media (max-width: 900px) {
  .hero-marquee { height: 30%; bottom: 3%; }
  .hero-marquee__card { height: 92%; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: transform var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo);
}

/* Cartão de produto */
.product-card { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line); }
.product-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-alt); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out-expo); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; gap: var(--space-2); z-index: 2; }
.product-card__quick {
  position: absolute; right: var(--space-3); bottom: var(--space-3); z-index: 2;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--white); box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-out-expo), transform var(--dur-base) var(--ease-out-expo), background-color var(--dur-fast);
}
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { opacity: 1; transform: translateY(0); }
.product-card__quick:hover { background: var(--accent); color: var(--on-accent); }
.product-card__quick svg { width: 20px; height: 20px; }
.product-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-card__brand { font-family: var(--font-tech); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); }
.product-card__name { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--space-2); }
.product-card__price { font-family: var(--font-tech); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.product-card__price-old { font-family: var(--font-tech); font-size: 0.85rem; color: var(--steel-light); text-decoration: line-through; margin-right: var(--space-2); }

/* Cartão de serviço */
.service-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); position: relative; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card--featured { border-color: var(--accent); background: linear-gradient(180deg, #FFFDF8 0%, var(--white) 100%); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.service-card__name { font-size: 1.2rem; }
.service-card__meta { font-family: var(--font-tech); font-size: 0.75rem; color: var(--steel-light); letter-spacing: 0.04em; text-transform: uppercase; }
.service-card__desc { color: var(--steel); font-size: 0.94rem; }
.service-card__list { display: flex; flex-direction: column; gap: var(--space-2); }
.service-card__list li { display: flex; gap: var(--space-2); font-size: 0.9rem; color: var(--steel); align-items: flex-start; }
.service-card__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.service-card__price { font-family: var(--font-tech); font-weight: 700; font-size: 1.3rem; }
.service-card__price small { font-size: 0.7rem; font-weight: 500; color: var(--steel-light); text-transform: uppercase; letter-spacing: 0.05em; }

/* Cartão de testemunho */
.testimonial-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); background: var(--white); }
.testimonial-card__stars { display: flex; gap: 2px; color: var(--accent); }
.testimonial-card__stars svg { width: 16px; height: 16px; }
.testimonial-card__text { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.testimonial-card__name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card__car { font-size: 0.8rem; color: var(--steel-light); }

/* Cartão simples (valores, sobre) */
.value-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); background: transparent; border: none; }
.value-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--ink); color: var(--accent-light);
  display: inline-flex; align-items: center; justify-content: center;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card__title { font-size: 1.1rem; }
.value-card__desc { color: var(--steel); font-size: 0.92rem; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font-size: 1rem; min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-fast) var(--ease-out-expo);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179, 129, 46, 0.18);
}
.field-hint { font-size: 0.78rem; color: var(--steel-light); }
.field-error { font-size: 0.78rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Filtros (loja) ---------- */
.filters-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-8); }
.filters-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filters-select {
  padding: 0.6rem 2.2rem 0.6rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5364' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  appearance: none; font-size: 0.85rem; min-height: 44px; cursor: pointer;
}
.filters-clear { font-family: var(--font-tech); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.results-count { font-size: 0.85rem; color: var(--steel-light); margin-bottom: var(--space-5); }
.empty-state { text-align: center; padding: var(--space-12) var(--space-4); color: var(--steel); }

/* ---------- Carrinho ---------- */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line__media { width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-alt); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-weight: 600; }
.cart-line__meta { font-size: 0.82rem; color: var(--steel-light); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-full); }
.qty-control button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.qty-control button:hover { color: var(--accent); }
.qty-control span { min-width: 28px; text-align: center; font-family: var(--font-tech); font-weight: 600; }
.cart-line__remove { color: var(--steel-light); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; margin-top: var(--space-2); }
.cart-line__remove:hover { color: var(--danger); }
.cart-line__price-wrap { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); }
.cart-line__price { font-family: var(--font-tech); font-weight: 700; }

.cart-layout { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-summary { position: sticky; top: calc(var(--header-h) + var(--space-6)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 900px) { .cart-summary { position: static; } }
.summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--steel); }
.summary-row--total { font-size: 1.15rem; font-weight: 700; color: var(--ink); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.summary-row--total span:last-child { font-family: var(--font-tech); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 243, 236, 0.8); padding-block: var(--space-12) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-10); }
.footer-brand__desc { color: rgba(246, 243, 236, 0.6); font-size: 0.92rem; margin-top: var(--space-4); max-width: 32ch; }
.footer-heading { font-family: var(--font-tech); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { color: rgba(246, 243, 236, 0.65); font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--line-dark);
  display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur-fast);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line-dark); font-size: 0.8rem; color: rgba(246, 243, 236, 0.5); }
.footer-bottom a:hover { color: var(--accent-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- Utilidades diversas ---------- */
.divider { height: 1px; background: var(--line); border: none; margin-block: var(--space-8); }
.text-steel { color: var(--steel); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

.reveal, .reveal-item, [data-hero-item] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item, [data-hero-item] { opacity: 1 !important; transform: none !important; }
}
/* noscript fallback: never hide content if JS fails to load */
.no-js .reveal, .no-js .reveal-item, .no-js [data-hero-item] { opacity: 1; }

.map-frame { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4/5; } }

.info-row { display: flex; gap: var(--space-4); align-items: flex-start; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-row__label { font-family: var(--font-tech); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-light); }
.info-row__value { font-weight: 500; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; font-family: var(--font-tech); font-weight: 600; }
.hours-table tr.is-today td { color: var(--accent-dark); font-weight: 700; }

.toast {
  position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--ink); color: var(--paper); padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full); box-shadow: var(--shadow-lg); z-index: 300;
  display: flex; align-items: center; gap: var(--space-3); font-size: 0.9rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out-expo), transform var(--dur-base) var(--ease-out-expo);
}
.toast[data-visible="true"] { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; color: var(--accent-light); }

.breadcrumbs { font-size: 0.85rem; color: var(--steel-light); display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-6); flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent); }

.gallery { display: grid; grid-template-columns: 84px 1fr; gap: var(--space-4); }
.gallery__main { aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; background: var(--paper-alt); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery__thumb { aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--paper-alt); }
.gallery__thumb[aria-current="true"] { border-color: var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; overflow-x: auto; }
  .gallery__thumb { min-width: 64px; width: 64px; }
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 0.7rem 0; font-size: 0.9rem; }
.spec-table td:first-child { color: var(--steel-light); font-family: var(--font-tech); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; width: 40%; }

.tabs { display: flex; gap: var(--space-6); border-bottom: 1px solid var(--line); margin-bottom: var(--space-6); }
.tabs button { padding-bottom: var(--space-3); font-weight: 600; color: var(--steel-light); position: relative; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); }
.tab-panel[hidden] { display: none; }


.whatsapp-fab {
  position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 90;
  width: 58px; height: 58px; border-radius: var(--radius-full); background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out-expo), background-color var(--dur-base);
}
.whatsapp-fab:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px) scale(1.04); }
.whatsapp-fab svg { width: 26px; height: 26px; }

.page-hero { background: var(--ink); color: var(--paper); padding-block: calc(var(--space-12) + var(--space-4)) var(--space-10); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(179, 129, 46, 0.16), transparent 60%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.page-hero__lede { color: rgba(246, 243, 236, 0.72); max-width: 60ch; margin-top: var(--space-4); font-size: 1.05rem; }

@media (max-width: 640px) {
  .container { padding-inline: 1.25rem; }
  .section { padding-block: var(--space-8); }
  h1 { font-size: 2rem; }
}
