/* ==========================================================
   Adega Fuzikawa - Landing Page
   Mobile-first | Dark Mode premium | Azul + Amarelo Ipiranga
   ========================================================== */

:root {
  --blue: #003399;
  --blue-deep: #001a5c;
  --yellow: #ffcc00;
  --gold: #f5a623;          /* dourado de cerveja */
  --bg: #00206b;
  --bg-alt: #002a85;
  --surface: #0035a3;
  --surface-2: #0040bf;
  --border: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --text-soft: #c4d1f5;
  --whats: #25d366;
  --whats-dark: #1ebe5b;
  --radius: 18px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { color: #ffe066; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.text-gold { color: var(--yellow); }
.text-muted-soft { color: var(--text-soft); }

/* ---------- Header ---------- */
.site-header {
  z-index: 1030;
  background: rgba(0, 32, 107, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(0, 32, 107, 0.95);
  border-bottom-color: var(--yellow);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.site-header .navbar { min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-size: 1.1rem; }
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900; font-size: 1.3rem;
  box-shadow: 0 0 0 2px var(--blue) inset, 0 4px 14px rgba(255, 204, 0, 0.35);
}
.brand-text strong { color: var(--yellow); }

.navbar .nav-link {
  color: var(--text-soft);
  font-weight: 500;
  position: relative;
  padding: 0.6rem 0.8rem;
  transition: color 0.2s;
}
.navbar .nav-link::after {
  content: "";
  position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem;
  height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.6rem;
  }
}

/* ---------- Botões ---------- */
.btn-whats {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--whats);
  color: #05200f;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-whats:hover, .btn-whats:focus-visible {
  background: var(--whats-dark);
  color: #05200f;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}
.btn-whats.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn-hero { font-size: 1.15rem; padding: 1.05rem 2rem; min-height: 56px; }
.icon-whats { width: 1.4em; height: 1.4em; flex: none; }

/* Pulso */
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Botão flutuante */
.whats-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 1040;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whats); color: #fff;
  transition: transform 0.2s;
}
.whats-float svg { width: 34px; height: 34px; }
.whats-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10% 0 -10% 0; z-index: -2;
  background:
    radial-gradient(65% 60% at 88% 15%, rgba(255, 204, 0, 0.38), transparent 70%),
    radial-gradient(50% 45% at 8% 95%, rgba(26, 85, 214, 0.55), transparent 70%),
    linear-gradient(160deg, #003399 0%, #00206b 60%, #001a5c 100%);
  will-change: transform;
}
/* Foto da fachada como fundo + overlay azul Ipiranga */
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(0, 32, 107, 0.78) 0%, rgba(0, 32, 107, 0.76) 100%);
}
@media (min-width: 992px) {
  .hero-img { object-position: 68% center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, transparent 75%, var(--bg) 100%),
      linear-gradient(90deg, rgba(0, 32, 107, 0.9) 0%, rgba(0, 32, 107, 0.72) 45%, rgba(0, 51, 153, 0.18) 100%);
  }
}
.hero::after {
  /* grid sutil */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* bolhas (frescor) */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -40px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255, 204, 0, 0.25);
  border: 1px solid rgba(255, 204, 0, 0.5);
  animation: rise 11s linear infinite;
}
.bubbles span:nth-child(1) { left: 12%; animation-duration: 10s; }
.bubbles span:nth-child(2) { left: 28%; width: 9px; height: 9px; animation-duration: 13s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 46%; width: 18px; height: 18px; animation-duration: 12s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 63%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 78%; animation-duration: 14s; animation-delay: 5s; }
.bubbles span:nth-child(6) { left: 91%; width: 8px; height: 8px; animation-duration: 11s; animation-delay: 3s; }
@keyframes rise {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-105vh) scale(1.2); opacity: 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 7.5vw, 4.6rem);
  font-weight: 900;
  margin: 0 0 1.2rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--text-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero-badges {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.hero-badges li {
  font-size: 0.85rem; font-weight: 700;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: rgba(255, 204, 0, 0.14);
  color: var(--yellow);
  border: 1px solid rgba(255, 204, 0, 0.4);
}
.hero-title .text-gold {
  background: linear-gradient(transparent 68%, rgba(255, 204, 0, 0.28) 68%);
  padding: 0 0.1em;
}

/* ---------- Faixa marquee amarela ---------- */
.marquee {
  background: var(--yellow);
  color: var(--blue-deep);
  overflow: hidden;
  border-block: 3px solid var(--blue);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  padding: 0.85rem 1.6rem;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee-track span::after { content: "\2605"; margin-left: 3.2rem; color: var(--blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Seções ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.lead-soft { color: var(--text-soft); font-size: 1.08rem; }
.lead-soft strong { color: var(--text); }

/* Seção amarela sólida (Sobre) */
.section-yellow { background: var(--yellow); color: var(--blue-deep); }
.section-yellow .section-title { color: var(--blue-deep); }
.section-yellow .lead-soft { color: #1a2a5e; }
.section-yellow .lead-soft strong { color: var(--blue-deep); }
.section-yellow .eyebrow {
  color: var(--yellow);
  background: var(--blue);
  border-color: var(--blue);
}
.section-yellow .stat {
  background: var(--blue);
  border-color: var(--blue-deep);
  box-shadow: 0 10px 28px rgba(0, 26, 92, 0.25);
}
.section-yellow .stat:hover { border-color: var(--blue-deep); box-shadow: 0 16px 36px rgba(0, 26, 92, 0.4); }
.section-yellow .stat-lbl, .section-yellow .stat-num small { color: #d6defa; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Fotos em moldura (reutilizável) ---------- */
.photo {
  position: relative;
  margin: 0 14px 14px 0;
  isolation: isolate;
}
.photo::before {
  content: "";
  position: absolute; inset: 14px -14px -14px 14px;
  border-radius: var(--radius);
  background: var(--blue);          /* sobre fundo amarelo */
  z-index: -1;
}
.photo--yellow::before { background: var(--yellow); }  /* sobre fundo azul */
.photo img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 3px solid var(--blue-deep);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.photo--yellow img { border-color: var(--yellow); }
.photo--square img { aspect-ratio: 1 / 1; }
.photo:hover img { transform: translate(-4px, -4px); }
.photo-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  max-width: calc(100% - 2rem);
  font-weight: 800; font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  background: var(--blue); color: var(--yellow);
}
.photo--yellow .photo-badge { background: var(--yellow); color: var(--blue-deep); }
#gelada .photo-badge { left: 0.6rem; bottom: 0.6rem; max-width: calc(100% - 1.2rem); font-size: 0.75rem; padding: 0.35rem 0.7rem; }

/* Lista com check */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 600; }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0.1rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--blue-deep);
  font-size: 0.85rem; font-weight: 900;
}

/* Botão amarelo (secundário) */
.btn-yellow {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--blue-deep);
  font-weight: 800; border: 0; border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-yellow:hover, .btn-yellow:focus-visible {
  background: #ffe066; color: var(--blue-deep);
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 204, 0, 0.35);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(255, 204, 0, 0.45); }
.stat-num { display: block; font-size: 2.6rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.stat-num small { font-size: 1rem; color: var(--text-soft); margin-left: 2px; }
.stat-lbl { display: block; margin-top: 0.5rem; font-size: 0.88rem; color: var(--text-soft); }

/* ---------- Cards de produto ---------- */
.card-product {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s, box-shadow 0.35s;
}
.card-product:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 204, 0, 0.6);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 204, 0, 0.2);
}

.card-ico {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  color: var(--blue-deep);
  background: var(--yellow);
  margin-bottom: 1.2rem;
  transition: transform 0.35s, background 0.35s, color 0.35s;
}
.card-ico svg { width: 36px; height: 36px; }
.card-product:hover .card-ico { transform: rotate(-6deg) scale(1.08); background: var(--blue-deep); color: var(--yellow); }

.card-product h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.6rem; }
.card-product p { color: var(--text-soft); font-size: 0.97rem; flex: 1; }
.card-link { font-weight: 700; margin-top: 0.6rem; display: inline-block; transition: transform 0.2s; }
.card-link:hover { transform: translateX(4px); }

/* ---------- Depoimentos ---------- */
.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.testimonial { border-left: 4px solid var(--yellow); position: relative; }
.testimonial::before {
  content: "\201C"; position: absolute; top: 0.2rem; right: 1.2rem;
  font-size: 5rem; line-height: 1; font-weight: 900; color: rgba(255, 204, 0, 0.2);
}
.testimonial:hover { transform: translateY(-6px); border-color: rgba(255, 204, 0, 0.5); }
.stars { color: var(--yellow); font-size: 1.25rem; letter-spacing: 3px; margin-bottom: 0.8rem; }
.testimonial blockquote { margin: 0 0 1.4rem; color: var(--text); font-size: 1.02rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 0.8rem; }
.testimonial figcaption small { display: block; color: var(--text-soft); }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--yellow); font-weight: 800;
  border: 2px solid var(--yellow);
}

/* ---------- FAQ (Bootstrap accordion tema escuro) ---------- */
.accordion {
  --bs-accordion-bg: var(--surface);
  --bs-accordion-color: var(--text);
  --bs-accordion-border-color: var(--border);
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-btn-bg: var(--surface);
  --bs-accordion-active-color: var(--yellow);
  --bs-accordion-active-bg: var(--surface-2);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.25);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffcc00'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.accordion-item { border-radius: 14px !important; overflow: hidden; margin-bottom: 0.8rem; border: 1px solid var(--border); }
.accordion-button:not(.collapsed) {
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(10%) sepia(60%) saturate(3000%) hue-rotate(215deg);
}
.accordion-button { font-weight: 700; padding: 1.15rem 1.3rem; }
.accordion-body { color: var(--text-soft); }

/* ---------- Footer ---------- */
/* Faixa CTA amarela */
.cta-band {
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 3.5rem 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 900; margin: 0 0 0.4rem; }
.cta-band p { margin: 0; font-weight: 500; }
.btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--blue); color: #fff; font-weight: 800;
  border-radius: 999px; padding: 1rem 1.9rem; min-height: 54px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-blue:hover, .btn-blue:focus-visible {
  background: var(--blue-deep); color: var(--yellow);
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 26, 92, 0.4);
}
.btn-blue .icon-whats { color: var(--whats); }

.site-footer {
  background: #001445;
  border-top: 4px solid var(--yellow);
  padding: 4rem 0 1.5rem;
}
.footer-info { font-style: normal; margin-bottom: 1.5rem; }
.footer-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow); margin: 1.2rem 0 0.3rem;
}
.footer-info p { color: var(--text-soft); margin: 0; }

.map-box {
  position: relative;
  width: 100%; height: 100%; min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.map-box iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* Sem JS: conteúdo sempre visível */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
  .section { padding: 6.5rem 0; }
  .stat-num { font-size: 3rem; }
  .whats-float { right: 28px; bottom: 28px; }
}

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}
