/* =========================================================================
   WRC FESTAS & EVENTOS — main.css
   Estilo editorial (mesma engenharia do site da O KAFÉ) com identidade WRC:
   vermelho, dourado, bege e fotos reais dos eventos.
   Organização: 1) Variáveis/tema  2) Base  3) Navbar  4) Hero  5) Seções
   6) Cards/Produtos  7) Galeria  8) Depoimentos  9) FAQ  10) Footer
   11) Flutuantes  12) Animações  13) Responsivo
   ========================================================================= */

/* ---------- 1. VARIÁVEIS E TEMA ---------- */
:root {
  /* Marca WRC */
  --vermelho:      #B81C2E;
  --vermelho-dark: #8B0F1F;
  --dourado:       #C9973A;
  --dourado-light: #E8B84B;

  /* Tema ESCURO (padrão) */
  --bg:        #161210;
  --surface:   #211915;
  --surface-2: #2A201A;
  --text:      #F7F1E6;
  --muted:     rgba(247, 241, 230, .64);
  --line:      rgba(201, 151, 58, .16);
  --line-mid:  rgba(201, 151, 58, .30);
  --line-strong: rgba(201, 151, 58, .50);
  --on-accent: #FFFFFF;

  /* Faixa clara (seções bege alternadas) */
  --band-bg:    #F4EEE4;
  --band-bg-2:  #FBF7F0;
  --band-text:  #241610;
  --band-muted: #6A5545;
  --band-line:  rgba(184, 28, 46, .14);
  --band-card:  #FFFFFF;

  --nav-h: 76px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="light"] {
  --bg:        #FBF7F0;
  --surface:   #FFFFFF;
  --surface-2: #F4EEE4;
  --text:      #241610;
  --muted:     rgba(36, 22, 16, .66);
  --line:      rgba(184, 28, 46, .12);
  --line-mid:  rgba(184, 28, 46, .22);
  --line-strong: rgba(184, 28, 46, .40);
  --on-accent: #FFFFFF;

  --band-bg:    #241610;
  --band-bg-2:  #17110E;
  --band-text:  #F7F1E6;
  --band-muted: rgba(247, 241, 230, .64);
  --band-line:  rgba(201, 151, 58, .20);
  --band-card:  #211915;
}

/* ---------- 2. BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.display { font-family: 'Playfair Display', Georgia, serif; }

::selection { background: var(--vermelho); color: #fff; }

/* Scrollbar custom */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--vermelho), var(--dourado));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: clamp(72px, 11vh, 130px) 0; }

/* Rótulo de seção (linha + texto pequeno) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--vermelho);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--dourado); }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--dourado); }

.section-num {
  position: absolute; top: 30px; right: 40px;
  font-size: 11px; font-weight: 300; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); z-index: 2;
}

.h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04;
  letter-spacing: -.02em; margin: 22px 0;
}
.h2 em { font-style: italic; font-weight: 500; color: var(--vermelho); }
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 560px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn-primary { background: var(--vermelho); color: #fff; box-shadow: 0 10px 30px -12px rgba(184,28,46,.7); }
.btn-primary:hover { background: var(--dourado); box-shadow: 0 16px 40px -12px rgba(201,151,58,.6); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-dark { background: #161210; color: #fff; }
.btn-dark:hover { background: var(--dourado); color: #161210; }
/* brilho passando */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .6s var(--ease);
}
.btn:hover::after { left: 160%; }

/* ---------- 3. NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.6);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand-name span { color: var(--vermelho); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--vermelho); transform: translateX(-50%); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background-color .3s;
}
.theme-toggle:hover { border-color: var(--dourado); }

.ham { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; position: relative; }
.ham span { position: absolute; left: 9px; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.ham span:nth-child(1) { top: 14px; }
.ham span:nth-child(2) { top: 20px; }
.ham span:nth-child(3) { top: 26px; }
body.menu-open .ham span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .ham span:nth-child(2) { opacity: 0; }
body.menu-open .ham span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile fullscreen */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: clamp(28px, 8vw, 44px); font-weight: 600; padding: 8px 0; }
.mobile-menu a em { color: var(--vermelho); font-style: normal; }

/* ---------- 4. HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: 116%; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 20s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,18,16,.72) 0%, rgba(22,18,16,.55) 40%, rgba(22,18,16,.92) 100%),
              linear-gradient(115deg, rgba(184,28,46,.35), transparent 60%);
}
:root[data-theme="light"] .hero-bg::after {
  background: linear-gradient(180deg, rgba(22,18,16,.62) 0%, rgba(22,18,16,.5) 45%, rgba(22,18,16,.88) 100%),
              linear-gradient(115deg, rgba(184,28,46,.35), transparent 60%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(56px, 9vh, 96px); color: #F7F1E6; }
.hero .eyebrow { color: var(--dourado-light); }
.hero .eyebrow::before { background: var(--dourado); }
.hero-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(42px, 8vw, 104px); line-height: .95; letter-spacing: -.025em; margin: 34px 0 0;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--dourado-light); }
.hero-rule { height: 1px; width: 100%; background: rgba(247,241,230,.28); transform: scaleX(0); transform-origin: left; margin: clamp(28px,4vw,44px) 0; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; }
.hero-p { flex: 1 1 320px; max-width: 480px; color: rgba(247,241,230,.82); font-size: clamp(15px,1.3vw,19px); line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Estatísticas do hero */
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: clamp(34px, 5vh, 56px); }
.hero-stats .stat { border-left: 2px solid var(--vermelho); padding-left: 16px; }
.hero-stats .num { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--dourado-light); line-height: 1; }
.hero-stats .lbl { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(247,241,230,.7); margin-top: 6px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,241,230,.7);
}
.scroll-cue .dot { width: 22px; height: 34px; border: 1px solid rgba(247,241,230,.5); border-radius: 12px; position: relative; }
.scroll-cue .dot::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--dourado-light); transform: translateX(-50%); animation: scrollBounce 1.6s var(--ease) infinite; }

/* Partículas (confete) do hero */
.particle { position: absolute; border-radius: 50%; pointer-events: none; z-index: 2; opacity: .35; }

/* ---------- 5. SEÇÕES ---------- */
.band { background: var(--band-bg); color: var(--band-text); }
.band .eyebrow { color: var(--vermelho); }
.band .h2 em { color: var(--vermelho); }
.band .lead { color: var(--band-muted); }

/* SOBRE */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(184,28,46,.4); position: relative; z-index: 2; }
.about-media::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 60%; height: 60%; border: 2px solid var(--dourado); border-radius: 16px; z-index: 1; }
.about-badge {
  position: absolute; left: -18px; bottom: 28px; z-index: 3;
  background: #161210; color: #fff; padding: 14px 20px; border-radius: 12px;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.about-badge b { color: var(--dourado-light); font-family: 'Playfair Display', serif; }

.feature-list { display: grid; gap: 18px; margin-top: 30px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--vermelho) 12%, transparent); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.feature p { font-size: 14px; color: var(--band-muted); }

/* Contadores */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 7vh, 80px); border-top: 1px solid var(--band-line); padding-top: 40px; }
.counter .num { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--vermelho); line-height: 1; }
.counter .lbl { font-size: 13px; color: var(--band-muted); margin-top: 8px; letter-spacing: .03em; }

/* ---------- 6. PRODUTOS ---------- */
.products { background: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filter-btn {
  font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  transition: background-color .3s, color .3s, border-color .3s;
}
.filter-btn:hover { border-color: var(--dourado); }
.filter-btn.active { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card.hidden { display: none; }
.card.featured { border-color: var(--dourado); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.tag {
  position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 11px; border-radius: 100px; color: #fff;
  background: rgba(22,18,16,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15);
}
.tag.red { background: var(--vermelho); border-color: transparent; }
.tag.gold { background: var(--dourado); color: #161210; border-color: transparent; }
.tag.green { background: #2e7d5b; border-color: transparent; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 18px; }
.card-link { font-size: 13px; font-weight: 600; color: var(--dourado-light); display: inline-flex; align-items: center; gap: 7px; }
.card-link svg { transition: transform .3s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- 6b. CARROSSEL DENTRO DO CARD ---------- */
/* Fica dentro de .card-media (que já tem aspect-ratio 4/3 + overflow hidden).
   O .carousel-track desliza na horizontal (translateX); as imagens dão o
   zoom no hover — como cada uma está numa camada diferente do track, o zoom
   e o deslize NÃO brigam entre si. */
.carousel { position: absolute; inset: 0; }
.carousel-track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }

/* Setas ‹ › — só aparecem "fortes" no hover/foco, mas continuam clicáveis sempre. */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(22,18,16,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease), background-color .3s;
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.card:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow:hover { background: var(--vermelho); }

/* Bolinhas indicadoras (dots) */
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.carousel-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background-color .3s, width .3s;
}
.carousel-dots button.active { background: #fff; width: 18px; border-radius: 100px; }

/* Touch: em telas sem hover (celular), as setas ficam sempre visíveis. */
@media (hover: none) {
  .carousel-arrow { opacity: 1; }
}

/* ---------- 7. GALERIA ---------- */
/* A galeria agora é um LEQUE (fan carousel). O estilo das cartas, do fallback
   em grade e das setas/dots está no bloco 15, no fim deste arquivo. */

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,8,7,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.lb-btn:hover { background: var(--vermelho); }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 24px; right: 24px; width: 46px; height: 46px; }

/* ---------- 8. POR QUE / DIFERENCIAIS (faixa vermelha) ---------- */
.why { background: var(--vermelho); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.why .eyebrow { color: var(--dourado-light); }
.why .eyebrow::before, .why .eyebrow.center::after { background: var(--dourado-light); }
.why .h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; position: relative; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 30px 24px; transition: background-color .35s, transform .35s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.why-card .ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(201,151,58,.2); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.why-card:hover .ic { animation: goldPulse 1.4s var(--ease); }
.why-card h4 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,.82); }

/* ---------- COMO FUNCIONA ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 50px; position: relative; }
.step .n { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; color: var(--dourado); line-height: 1; }
.step h4 { font-size: 17px; font-weight: 600; margin: 12px 0 6px; }
.step p { font-size: 14px; color: var(--band-muted); }

/* ---------- 9. DEPOIMENTOS ---------- */
.testimonials { background: var(--bg); }
.tcarousel { margin-top: 44px; position: relative; overflow: hidden; }
.ttrack { display: flex; transition: transform .6s var(--ease); }
.tslide { min-width: 100%; padding: 0 4px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(30px, 5vw, 54px); max-width: 780px; margin: 0 auto; text-align: center; }
.tcard .stars { color: var(--dourado); letter-spacing: 3px; font-size: 18px; }
.tcard blockquote { font-family: 'Playfair Display', serif; font-size: clamp(19px, 2.3vw, 27px); line-height: 1.45; font-style: italic; margin: 22px 0 26px; }
.tcard .who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tcard .who img { width: 52px; height: 52px; border-radius: 50%; }
.tcard .who b { display: block; font-family: 'Outfit'; font-style: normal; }
.tcard .who span { font-size: 13px; color: var(--muted); }
/* Selinho "Avaliação no Google" nos depoimentos reais */
.tcard .who .tgoogle { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; font-weight: 600; font-style: normal; color: #4285F4; }
.tcard .who .tgoogle::before { content: "G"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11px; line-height: 1; color: #4285F4; }
.tnav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.tnav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; transition: background-color .3s, color .3s; }
.tnav button:hover { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.tdots { display: flex; gap: 8px; }
.tdots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: background-color .3s, width .3s; }
.tdots span.active { background: var(--vermelho); width: 22px; border-radius: 100px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--band-line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: 'Playfair Display', serif; font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--band-text); }
.faq-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--vermelho); transition: transform .35s var(--ease); font-family: 'Outfit'; }
.faq-item.open .faq-q { color: var(--vermelho); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--band-muted); font-size: 15px; max-width: 680px; }

/* ---------- 10. CTA FINAL + FOOTER ---------- */
.cta-final { background: var(--vermelho); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; }
.cta-final .inner { position: relative; z-index: 2; }
.cta-final .h2 { color: #fff; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,.9); max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.footer { background: #12100E; color: #F7F1E6; padding: 70px 0 30px; }
:root[data-theme="light"] .footer { background: #12100E; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer h5 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-light); margin-bottom: 18px; }
.footer p, .footer a { font-size: 14px; color: rgba(247,241,230,.7); }
.footer .foot-links a { display: block; padding: 5px 0; transition: color .3s; }
.footer .foot-links a:hover { color: var(--dourado-light); }
.footer .socials { display: flex; gap: 12px; margin-top: 16px; }
.footer .socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--vermelho); display: flex; align-items: center; justify-content: center; transition: background-color .3s, transform .3s; }
.footer .socials a:hover { background: var(--dourado); transform: translateY(-3px); }
.footer .socials svg { fill: #fff; width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(201,151,58,.18); margin-top: 46px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: rgba(247,241,230,.5); }
/* Crédito discreto da O KAFÉ: mesma cor do rodapé, só ganha o dourado no hover. */
.okafe-credit { color: inherit; font-weight: 600; border-bottom: 1px solid rgba(201,151,58,.35); transition: color .3s, border-color .3s; }
.okafe-credit:hover { color: var(--dourado-light); border-color: var(--dourado-light); }

/* ---------- 11. FLUTUANTES ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); opacity: 0; transform: scale(.4);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float.show { opacity: 1; transform: scale(1); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulseRing 2.2s ease-out infinite; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 119;
  width: 46px; height: 46px; border-radius: 50%; background: var(--vermelho); color: #fff;
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background-color .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--dourado); color: #161210; }

/* Loading screen */
.loader { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .6s var(--ease), visibility .6s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader img { height: 84px; animation: pop 1.4s var(--ease) infinite alternate; }
.loader .spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--vermelho); border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- 12. ANIMAÇÕES ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); }
.no-gsap [data-reveal] { opacity: 1; transform: none; }
/* Hero: só esconde o conteúdo de entrada QUANDO o GSAP está presente
   (a classe .no-gsap é removida pelo JS só se gsap+ScrollTrigger carregarem).
   Assim, se a CDN falhar, o hero aparece normalmente — nunca fica invisível. */
html:not(.no-gsap) .hero [data-anim] { opacity: 0; }
.no-gsap .hero-rule { transform: scaleX(1); }

@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes scrollBounce { 0%,100% { transform: translate(-50%,0); opacity: 1; } 50% { transform: translate(-50%,10px); opacity: .3; } }
@keyframes goldPulse { 0% { box-shadow: 0 0 0 0 rgba(201,151,58,.5); } 100% { box-shadow: 0 0 0 18px rgba(201,151,58,0); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { to { transform: translateY(-8px); } }
@keyframes floatParticle {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-40px) rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-bg img { animation: none; }
}

/* ---------- 13. RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .steps, .counters { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .ham { display: block; }
  /* No mobile o botão flutuante de WhatsApp já cobre o CTA — libera espaço na navbar. */
  .nav .btn-primary { display: none; }
  .product-grid, .why-grid, .steps, .counters, .footer-grid { grid-template-columns: 1fr; }
  .counters { gap: 30px; }
  .hero-stats { gap: 20px; }
  .hero-row { gap: 18px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .about-badge { left: 12px; }
  .footer-bottom { justify-content: flex-start; }
  .section-num { display: none; }
}
@media (max-width: 400px) {
  /* Telas bem estreitas: mantém só "WRC" na marca para não quebrar linha. */
  .brand .brand-name span { display: none; }
}

/* ---------- 14. FORMULÁRIO DE ORÇAMENTO (dentro do CTA vermelho) ---------- */
/* O CTA final tem fundo vermelho; o formulário vira um "cartão-convite" claro
   para garantir contraste e legibilidade. Usa as variáveis --band-* (que já
   invertem entre tema claro e escuro), então funciona nos dois temas. */
.orc-form {
  position: relative; z-index: 2;
  max-width: 680px; margin: 34px auto 0;
  background: var(--band-bg-2); color: var(--band-text);
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px;
  padding: clamp(24px, 4vw, 40px); text-align: left;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.55);
}
.orc-head { text-align: center; margin-bottom: 22px; }
.orc-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(22px, 3vw, 30px); color: var(--vermelho); line-height: 1.1; }
.orc-sub { color: var(--band-muted); font-size: 15px; margin-top: 7px; }

.orc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.orc-field { display: flex; flex-direction: column; gap: 7px; }
.orc-field-full { grid-column: 1 / -1; }
.orc-field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--band-text); }
.orc-field input, .orc-field select, .orc-field textarea {
  font-family: 'Outfit', sans-serif; font-size: 15px; width: 100%;
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--band-line); background: var(--band-card); color: var(--band-text);
  transition: border-color .25s, box-shadow .25s;
}
.orc-field textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.orc-field input::placeholder, .orc-field textarea::placeholder { color: var(--band-muted); }
.orc-field input:focus, .orc-field select:focus, .orc-field textarea:focus {
  outline: none; border-color: var(--vermelho);
  box-shadow: 0 0 0 3px rgba(184,28,46,.16);
}
/* Ajuda o ícone nativo do seletor de data a aparecer no tema escuro. */
:root[data-theme="light"] .orc-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.7); }

.orc-submit {
  margin-top: 20px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px;
  padding: 16px 28px; border-radius: 100px; cursor: pointer;
  border: 0; color: #fff; background: var(--vermelho);
  box-shadow: 0 14px 34px -12px rgba(184,28,46,.6);
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, color .3s;
}
.orc-submit:hover { background: var(--dourado); color: #161210; box-shadow: 0 18px 40px -12px rgba(201,151,58,.55); }
.orc-submit::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .6s var(--ease);
}
.orc-submit:hover::after { left: 160%; }

.orc-micro { text-align: center; font-size: 12.5px; color: var(--band-muted); margin-top: 12px; }
/* Mensagem de erro acessível (inline, com aria-live no HTML) — animada. */
.orc-erro {
  margin-top: 14px; font-size: 14px; font-weight: 600; color: #e5484d;
  background: rgba(184,28,46,.10); border: 1px solid rgba(184,28,46,.30);
  border-radius: 10px; max-height: 0; overflow: hidden; padding: 0 15px;
  opacity: 0; transition: opacity .3s, max-height .3s, padding .3s;
}
.orc-erro.show { opacity: 1; max-height: 90px; padding: 11px 15px; }

.cta-alt { margin-top: 34px !important; font-size: 14px; color: rgba(255,255,255,.85); }

/* ---------- 15. TOOLTIP DO BOTÃO FLUTUANTE ---------- */
.wa-float[data-tip]::after {
  content: attr(data-tip);
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #161210; color: #F7F1E6; font-size: 13px; font-weight: 600;
  white-space: nowrap; padding: 8px 13px; border-radius: 10px;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float[data-tip]:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- 16. DIVISÓRIA DOURADA SUTIL ENTRE SEÇÕES ---------- */
.gold-divider { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 300px; margin: clamp(46px, 7vh, 70px) auto 0; }
.gold-divider span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--dourado)); opacity: .7; }
.gold-divider span:last-child { background: linear-gradient(90deg, var(--dourado), transparent); }
.gold-divider i { color: var(--dourado); font-size: 11px; font-style: normal; }

/* Responsivo do formulário: em telas estreitas os campos empilham. */
@media (max-width: 560px) {
  .orc-grid { grid-template-columns: 1fr; }
  /* No mobile o tooltip do WhatsApp pode ficar escondido para não atrapalhar. */
  .wa-float[data-tip]::after { display: none; }
}

/* ---------- 17. GALERIA EM LEQUE (fan carousel) ----------
   Substitui a antiga grade .gallery. Tem DUAS camadas de comportamento:
   1) FALLBACK (sem a classe .fan-ready): as 13 fotos aparecem numa grade
      simples e clicável — funciona sem JS/GSAP e no modo movimento reduzido.
   2) LEQUE ATIVO (.fan-ready, adicionada pelo JS): as cartas viram absolutas
      e o GSAP as abre em leque. Setas/dots só aparecem nesse modo. */

.fan { position: relative; margin-top: 32px; }

/* --- Base da carta (vale para os dois modos) --- */
.fan-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surface);
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Lupa de "ampliar" ao passar o mouse / focar (igual à antiga galeria). */
.fan-card::after {
  content: "🔍";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: rgba(184,28,46,.5);
  opacity: 0; transition: opacity .3s var(--ease);
  border-radius: inherit; pointer-events: none;
}
.fan-card:hover::after,
.fan-card:focus-visible::after { opacity: 1; }

/* --- FALLBACK: grade simples --- */
.fan-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fan:not(.fan-ready) .fan-card { aspect-ratio: 4 / 3; }
/* Sem o leque ativo, escondemos setas e dots (a grade não precisa deles). */
.fan:not(.fan-ready) .fan-arrow,
.fan:not(.fan-ready) .fan-dots { display: none; }

/* --- LEQUE ATIVO --- */
.fan-ready .fan-stage {
  display: block;
  position: relative;
  height: 50vh;          /* altura enxuta: as cartas ficam ancoradas na base,
                            então o excedente vira vão vazio no topo — mantido baixo */
  max-height: 470px;
  min-height: 380px;
}
.fan-ready .fan-card {
  position: absolute;
  left: 50%;             /* centralizado; o GSAP usa xPercent:-50 + offset */
  bottom: 6%;
  width: clamp(150px, 20vw, 260px);
  aspect-ratio: 3 / 4;   /* cartas em pé, cara de "leque de baralho" */
  border-radius: 16px;
  border: 3px solid var(--surface);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.55), 0 4px 14px -6px rgba(0,0,0,.4);
  transform-origin: 50% 100%; /* pivô no meio-de-baixo: o leque abre da base */
  will-change: transform;
  opacity: 0;            /* o GSAP revela na animação de entrada */
}
:root[data-theme="light"] .fan-ready .fan-card { border-color: #fff; }

/* Setas ‹ › — mesmo padrão visual do carrossel de produtos/lightbox. */
.fan-arrow {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 30;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(22,18,16,.55); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, border-color .3s;
}
:root[data-theme="light"] .fan-arrow { background: rgba(255,255,255,.75); color: var(--vermelho); }
.fan-prev { left: 6px; }
.fan-next { right: 6px; }
.fan-arrow:hover { background: var(--vermelho); color: #fff; border-color: var(--vermelho); }
.fan-arrow:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

/* Bolinhas (dots) — uma por foto; a ativa vira "pílula" vermelha. */
.fan-dots {
  position: relative; z-index: 30;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.fan-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--line-strong); transition: background-color .3s, width .3s;
}
.fan-dot:hover { background: var(--dourado); }
.fan-dot.active { background: var(--vermelho); width: 24px; border-radius: 100px; }
.fan-dot:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

/* Responsivo do leque */
@media (max-width: 1024px) {
  .fan-stage { grid-template-columns: repeat(2, 1fr); } /* fallback em 2 colunas */
  .fan-ready .fan-stage { height: 48vh; }
}
@media (max-width: 640px) {
  .fan-ready .fan-stage { height: 44vh; min-height: 290px; }
  .fan-ready .fan-card { width: clamp(120px, 44vw, 180px); }
  .fan-arrow { width: 42px; height: 42px; font-size: 22px; }
}
