/* ═══════════════════════════════════════════════════
   CAFÉ LÁ DE CASA — Design System & Estilos Globais
   ═══════════════════════════════════════════════════ */

/* ─── 1. Design Tokens (CSS Variables) ─── */
:root {
  /* Cores */
  --c-primary: #5c3317;
  --c-accent: #c8955a;
  --c-accent-light: #d9ae7c;
  --c-bg: #faf7f2;
  --c-bg-alt: #f5ede0;
  --c-dark: #1a0f06;
  --c-dark-mid: #2b1508;
  --c-text: #2d1a0e;
  --c-text-muted: #7a5c44;
  --c-text-light: #f5ede0;
  --c-white: #ffffff;

  /* Tipografia */
  --font-title: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Tamanhos */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;

  /* Espaçamentos */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-btn: 50px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(92, 51, 23, .08), 0 1px 2px rgba(92, 51, 23, .06);
  --shadow-md: 0 4px 16px rgba(92, 51, 23, .12), 0 2px 6px rgba(92, 51, 23, .08);
  --shadow-lg: 0 10px 40px rgba(92, 51, 23, .18), 0 4px 16px rgba(92, 51, 23, .10);
  --shadow-xl: 0 24px 64px rgba(26, 15, 6, .30);

  /* Transições */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* Glass */
  --glass-bg: rgba(250, 247, 242, 0.08);
  --glass-bg-mid: rgba(250, 247, 242, 0.15);
  --glass-bg-solid: rgba(250, 247, 242, 0.92);
  --glass-border: rgba(250, 247, 242, 0.20);
  --glass-blur: blur(20px) saturate(180%);
}

/* ─── 2. Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ─── 3. Layout Utilities ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--sp-8);
  }
}

/* ─── 4. Botões ─── */

/* Base dos botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-btn);
  padding: 0.65rem 1.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Liquid Glass Button — para fundo escuro */
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--glass-border);
  color: var(--c-white);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.btn-glass:hover {
  background: var(--glass-bg-mid);
  border-color: rgba(250, 247, 242, .35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* Botão principal no header */
.btn-primary {
  background: rgba(200, 149, 90, 0.25);
  border-color: rgba(200, 149, 90, 0.60);
  color: var(--c-accent-light);
}

.btn-primary:hover {
  background: rgba(200, 149, 90, 0.40);
  border-color: rgba(200, 149, 90, 0.80);
  color: var(--c-white);
}

/* Botão hero grande */
.btn-hero {
  padding: 0.9rem 2.2rem;
  font-size: var(--fs-base);
  background: rgba(200, 149, 90, .28);
  border-color: rgba(200, 149, 90, .60);
  color: var(--c-accent-light);
}

.btn-hero:hover {
  background: rgba(200, 149, 90, .45);
  color: var(--c-white);
}

/* Botão outline glass — fundo escuro */
.btn-outline-glass {
  background: transparent;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid rgba(250, 247, 242, .25);
  color: rgba(250, 247, 242, .85);
  padding: 0.9rem 2rem;
  font-size: var(--fs-base);
}

.btn-outline-glass:hover {
  background: rgba(250, 247, 242, .10);
  border-color: rgba(250, 247, 242, .45);
  color: var(--c-white);
}

/* Botão sólido — seções claras */
.btn-primary-solid {
  background: var(--c-primary);
  color: var(--c-text-light);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
  padding: 0.85rem 2rem;
}

.btn-primary-solid:hover {
  background: #4a2912;
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}

.btn-primary-solid.btn-large {
  padding: 1rem 2.5rem;
  font-size: var(--fs-lg);
}

/* ─── 5. HEADER — Liquid Glass Sticky ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Estado inicial: totalmente transparente */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    backdrop-filter var(--dur-slow) var(--ease),
    box-shadow var(--dur-slow) var(--ease);
}


/* Estado após scroll */
.site-header.scrolled {
  background: rgba(26, 15, 6, 0.70);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(250, 247, 242, .12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .30);
}

/* Em seções claras (js adiciona .site-header--light) */
.site-header.scrolled.header-light {
  background: rgba(250, 247, 242, .88);
  border-bottom-color: rgba(92, 51, 23, .12);
  box-shadow: 0 2px 20px rgba(92, 51, 23, .10);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  max-width: 1200px;
  margin-inline: auto;
  min-height: 68px;
  transition: min-height 0.35s ease;
  /* Garante que nada ultrapasse a largura da tela */
  overflow: hidden;
}

@media (min-width: 640px) {
  .nav-container {
    gap: var(--sp-6);
    padding: var(--sp-2) var(--sp-6);
    min-height: 88px;
  }
}

.site-header.scrolled .nav-container {
  min-height: 60px;
}

/* Logo: ícone + título com animação ao scroll */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 1;
  visibility: visible;
  /* Apenas opacity e visibility — NUNCA max-width, width ou transform */
  transition:
    opacity 0.40s ease,
    visibility 0.40s ease;
}

/* Ao scrollar: logo some via fade — layout NÃO se desloca */
.site-header.scrolled .logo-icon {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.40s ease,
    visibility 0.40s ease;
}

/* ── Título: texto HTML estático — nunca some, nunca se move ───────────────── */
.logo-title {
  color: var(--c-text-light);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  /* Em mobile pode truncar se necessário */
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

@media (min-width: 400px) {
  .logo-title {
    max-width: 180px;
  }
}

/* Fundo claro: cor escura */
.site-header.header-light .logo-title {
  filter: brightness(0.35) saturate(1.1);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(250, 247, 242, .80);
  letter-spacing: 0.01em;
  transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
  position: relative;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  color: rgba(250, 247, 242, 1);
  background: rgba(250, 247, 242, .10);
}

/* Links em header claro */
.site-header.header-light .nav-link {
  color: var(--c-text-muted);
}

.site-header.header-light .nav-link:hover {
  color: var(--c-primary);
  background: rgba(92, 51, 23, .07);
}

/* Botão CTA do Header — dourado sólido (estilo do print) */
.btn-cta-header {
  display: none; /* Oculto no mobile — o hero tem CTA próprio */
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-btn);
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(200, 149, 90, .40);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease);
}

/* Exibe o CTA no header apenas a partir de 640px */
@media (min-width: 640px) {
  .btn-cta-header {
    display: inline-flex;
  }
}

.btn-cta-header:hover {
  background: #b8823e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 149, 90, .55);
}

.btn-cta-header:active {
  transform: translateY(0);
}

/* Hamburger Mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  margin-left: auto;
  border-radius: var(--radius-sm);
}

.site-header.header-light .hamburger-line {
  background: rgba(45, 26, 14, .85);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(250, 247, 242, .85);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile aberto */
.nav-links.nav-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  /* Garante que não ultrapasse a largura da viewport */
  width: 100%;
  box-sizing: border-box;
  background: rgba(26, 15, 6, 0.97);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--sp-6);
  gap: var(--sp-4);
  border-bottom: 1px solid rgba(250, 247, 242, .10);
  animation: slideDown var(--dur-base) var(--ease-out);
  /* Previne overflow horizontal */
  overflow-x: hidden;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.nav-open .nav-link {
  font-size: var(--fs-lg);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-links.nav-open {
    /* resetar mobile */
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
    animation: none;
  }

  .nav-links.nav-open .nav-link {
    font-size: var(--fs-sm);
  }
}

/* ─── 6. HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--c-dark);
}

/* Fundo com brilhos difusos */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Gradiente quente no canto superior */
.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(92, 51, 23, .60) 0%, transparent 70%);
  filter: blur(60px);
}

/* Gradiente caramelo no canto inferior direito */
.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 149, 90, .25) 0%, transparent 70%);
  filter: blur(80px);
}

/* Grain texture sutil */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 100px;
  padding-bottom: var(--sp-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(var(--fs-4xl), 8vw, var(--fs-7xl));
  font-weight: 400;
  line-height: 1.08;
  color: var(--c-white);
  max-width: 800px;
}

.hero-title-line {
  display: block;
}

.hero-title-line-italic,
.hero-title em {
  color: var(--c-accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
  color: rgba(245, 237, 224, 0.72);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-4);
  /* Limita à largura do container */
  width: 100%;
  max-width: 520px;
}

/* Em telas muito pequenas, botões ocupam largura total */
@media (max-width: 399px) {
  .hero-actions .btn,
  .hero-actions .btn-glass,
  .hero-actions .btn-outline-glass {
    width: 100%;
    justify-content: center;
  }
}

/* Seta scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(245, 237, 224, .45);
  font-size: 1.75rem;
  animation: bounce 2.5s ease-in-out infinite;
  line-height: 1;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── 7. Animações de entrada (JS IntersectionObserver) ─── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp var(--dur-slow) var(--ease-out) forwards;
}

.animate-delay-1 {
  animation-delay: 150ms;
}

.animate-delay-2 {
  animation-delay: 300ms;
}

.animate-delay-3 {
  animation-delay: 500ms;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elementos que revelam ao entrar na tela */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Atraso escalonado para grids */
.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.reveal:nth-child(4) {
  transition-delay: 240ms;
}

/* ─── 8. Section Shared Styles ─── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(200, 149, 90, .12);
  border: 1px solid rgba(200, 149, 90, .25);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ─── 9. DIFERENCIAIS ─── */
.diferenciais {
  padding-block: var(--sp-16) var(--sp-12);
  background: var(--c-bg);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .diferenciais-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
  }
}

.diferencial-item {
  text-align: center;
  padding: var(--sp-6);
  border-radius: var(--radius-card);
  background: var(--c-bg-alt);
  border: 1px solid rgba(92, 51, 23, .08);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-out);
}

.diferencial-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.diferencial-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--sp-3);
}

.diferencial-item h3 {
  font-family: var(--font-title);
  font-size: var(--fs-lg);
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
  font-weight: 400;
}

.diferencial-item p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ─── 10. PRODUTOS ─── */
.produtos {
  padding-block: var(--sp-16);
  background: var(--c-bg-alt);
}

/* Grid — 4 colunas no desktop, responsivo */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: var(--sp-10);
}

@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Card base */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* Card destaque */
.product-card[data-featured="true"] {
  border: 2px solid #d4a843;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
}

/* Imagem — altura fixa igual em todos os cards */
.card-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img {
  transform: scale(1.04);
}

/* Badge flutuante — estilo carimbo rotacionado */
.card-badge {
  position: absolute;
  top: 14px;
  left: -8px;
  background: #d4a843;
  color: #3b1f0e;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px 6px 18px;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Tags de categoria */
.card-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-presente {
  background: #d4a843;
  color: #3b1f0e;
}

/* Body do card */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-family: var(--font-title);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: #3b1f0e;
  line-height: 1.2;
}

.card-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* Preço */
.card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c8621a;
}

/* Toggle de detalhes */
.card-details-toggle {
  background: none;
  border: none;
  color: #c8621a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}

.card-details-toggle:hover {
  opacity: 0.7;
}

/* Lista de detalhes — anima via max-height, nunca display:none */
.card-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #5a3e2b;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.card-details[hidden] {
  display: none;
}

.card-details.open {
  max-height: 400px;
}

/* Botão compra — ancorado no fundo via margin-top: auto */
.btn-buy {
  margin-top: auto;
  display: block;
  background: #25d366;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-buy:hover {
  background: #1ebe5d;
}

.produtos-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-top: var(--sp-4);
}

.produtos-note a {
  color: #c8621a;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(200, 98, 26, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-base) var(--ease);
}

.produtos-note a:hover {
  text-decoration-color: #c8621a;
}

/* ─── 11. HISTÓRIA ─── */
.historia {
  padding-block: var(--sp-24);
  background: var(--c-bg);
}

.historia-grid {
  display: grid;
  gap: var(--sp-16);
  align-items: center;
}

@media (min-width: 900px) {
  .historia-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-20);
  }
}

.historia-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

/* Slideshow animado — Nossa História */
.historia-photos {
  position: relative;
  width: clamp(300px, 44vw, 480px);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(92, 51, 23, .38);
}

.historia-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 20px;
  overflow: hidden;
  animation: historiaFade 12s ease-in-out infinite backwards;
}

.historia-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  animation: historiaZoomRotate 12s ease-in-out infinite backwards;
}

.historia-photo--1 {
  z-index: 3;
  animation-delay: 0s;
}
.historia-photo--1 img { animation-delay: 0s; }

.historia-photo--2 {
  z-index: 2;
  animation-delay: 4s;
}
.historia-photo--2 img { animation-delay: 4s; }

.historia-photo--3 {
  z-index: 1;
  animation-delay: 8s;
}
.historia-photo--3 img { animation-delay: 8s; }

@keyframes historiaFade {
  0%        { opacity: 0; }
  6%        { opacity: 1; }
  30%       { opacity: 1; }
  38%       { opacity: 0; }
  100%      { opacity: 0; }
}

@keyframes historiaZoomRotate {
  0%        { transform: scale(1.08) rotate(-2deg); }
  50%       { transform: scale(1.00) rotate(2deg);  }
  100%      { transform: scale(1.06) rotate(-1deg); }
}

/* Indicadores (dots) */
.historia-photos-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hpd {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .40);
  animation: dotActive 12s ease-in-out infinite backwards;
}

.hpd--1 { animation-delay: 0s; }
.hpd--2 { animation-delay: 4s; }
.hpd--3 { animation-delay: 8s; }

@keyframes dotActive {
  0%        { background: rgba(255,255,255,.40); transform: scale(1); }
  6%        { background: rgba(255,255,255,.95); transform: scale(1.3); }
  30%       { background: rgba(255,255,255,.95); transform: scale(1.3); }
  38%       { background: rgba(255,255,255,.40); transform: scale(1); }
  100%      { background: rgba(255,255,255,.40); transform: scale(1); }
}

.historia-tag {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  font-style: italic;
}

.historia-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.historia-content .section-title {
  text-align: left;
  margin-bottom: 0;
}

.historia-content p {
  color: var(--c-text-muted);
  line-height: 1.8;
  font-size: clamp(var(--fs-base), 1.5vw, var(--fs-lg));
}

.historia-content p strong {
  color: var(--c-primary);
}

.historia-content p em {
  color: var(--c-accent);
  font-style: italic;
}

/* ─── 12. AVALIAÇÕES ─── */
.avaliacoes {
  padding-block: var(--sp-24);
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}

.avaliacoes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(92, 51, 23, .50) 0%, transparent 70%);
  filter: blur(60px);
}

.avaliacoes .section-tag {
  background: rgba(200, 149, 90, .15);
}

.avaliacoes .section-title {
  color: var(--c-text-light);
}

.avaliacoes .section-subtitle {
  color: rgba(245, 237, 224, .60);
}

.avaliacoes-grid {
  display: grid;
  gap: var(--sp-6);
  justify-content: center;
  max-width: 1120px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .avaliacoes-grid {
    grid-template-columns: repeat(2, minmax(280px, 360px));
  }
}

@media (min-width: 1024px) {
  .avaliacoes-grid {
    grid-template-columns: repeat(3, minmax(280px, 360px));
  }
}

.avaliacao-card {
  background: rgba(250, 247, 242, .06);
  border: 1px solid rgba(250, 247, 242, .10);
  border-radius: var(--radius-card);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.avaliacao-card:hover {
  background: rgba(250, 247, 242, .09);
  border-color: rgba(200, 149, 90, .25);
}

.avaliacao-stars {
  color: var(--c-accent);
  font-size: var(--fs-lg);
  letter-spacing: 2px;
}

.avaliacao-texto {
  font-style: italic;
  color: rgba(245, 237, 224, .80);
  line-height: 1.75;
  font-size: var(--fs-sm);
  flex: 1;
}

.avaliacao-autor {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(250, 247, 242, .08);
}

.avaliacao-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-white);
  flex-shrink: 0;
}

.avaliacao-nome {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  font-style: normal;
}

.avaliacao-cidade {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(245, 237, 224, .50);
}

/* ─── 13. GARANTIAS ─── */
.garantias {
  padding-block: var(--sp-24);
  background: var(--c-bg-alt);
}

.garantias-grid {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-16);
}

@media (min-width: 640px) {
  .garantias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .garantias-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.garantia-item {
  padding: var(--sp-8) var(--sp-6);
  background: var(--c-bg);
  border-radius: var(--radius-card);
  border: 1px solid rgba(92, 51, 23, .08);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease);
}

.garantia-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.garantia-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
}

.garantia-item h3 {
  font-family: var(--font-title);
  font-size: var(--fs-xl);
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  font-weight: 400;
}

.garantia-item p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
}

.garantias-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.garantias-cta-text {
  font-family: var(--font-title);
  font-size: var(--fs-2xl);
  color: var(--c-primary);
}

.garantias-microcopy {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ─── 14. FOOTER ─── */
.site-footer {
  background: var(--c-dark);
  padding-top: var(--sp-16);
  color: rgba(245, 237, 224, .70);
}

.footer-grid {
  display: grid;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(250, 247, 242, .08);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-16);
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-titulo {
  height: 18px;
  width: auto;
  filter: brightness(3) saturate(0);
  opacity: 0.75;
  margin-bottom: var(--sp-2);
}

.footer-tagline {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(245, 237, 224, .50);
}

.footer-nav-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, .40);
  margin-bottom: var(--sp-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: rgba(245, 237, 224, .65);
  transition: color var(--dur-base) var(--ease);
}

.footer-nav a:hover {
  color: var(--c-accent-light);
}

.footer-contato {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #4ade80;
  transition: color var(--dur-base) var(--ease);
}

.footer-whatsapp:hover {
  color: #86efac;
}

.footer-regiao,
.footer-origem {
  font-size: var(--fs-sm);
  color: rgba(245, 237, 224, .50);
}

.footer-bottom {
  padding-block: var(--sp-6);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(245, 237, 224, .30);
  letter-spacing: 0.05em;
}

/* ─── 15. WhatsApp Flutuante ─── */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease);
  /* Entra fadeIn após 2s */
  opacity: 0;
  animation: whaFloat 0.5s 2s var(--ease-out) forwards;
}

@keyframes whaFloat {
  to {
    opacity: 1;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .60);
}

/* Efeito pulso verde */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulseBorder 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes pulseBorder {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ─── 16. Responsividade Extra ─── */
@media (max-width: 639px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .product-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.maintenance-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f4d7b6;
  color: #4a2912;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(92, 51, 23, .15);
}




