/* ========================================
   ZN GÁS - Design System (DSX Digital)
   Mobile-First | Hero 3D | WCAG
   ======================================== */

:root {
  --color-primary: #0A26EA;
  --color-primary-dark: #0718A8;
  --color-primary-light: #3D5BFF;
  --color-secondary: #F5A623;
  --color-secondary-dark: #E09000;
  --color-accent: #FF6B35;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;
    
  --color-bg: #F6F8FF;
  --color-surface: #FFFFFF;
  --color-text: #141B3A;
  --color-text-muted: #5B6585;
  --color-border: #E1E6F5;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;

  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(10, 20, 80, 0.06);
  --shadow-md: 0 6px 18px rgba(10, 20, 80, 0.10);
  --shadow-lg: 0 14px 36px rgba(10, 20, 80, 0.16);
  --shadow-xl: 0 24px 60px rgba(10, 20, 80, 0.22);

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.22; color: var(--color-text); }
h1 { font-size: clamp(2rem, 5.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); }
h4 { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-md); transition: all var(--transition);
  white-space: nowrap; border: 2px solid transparent;
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #fff; box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--color-secondary-dark), #e55a2b); transform: translateY(-2px); }

.btn-secondary { background: var(--color-surface); color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }

.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--color-primary); }

.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); }

.icon-whatsapp { flex-shrink: 0; }

.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn-primary.pulse { animation: pulse-orange 2s infinite; }
@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(245, 166, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
  background: transparent; border-bottom: 1px solid transparent;
  z-index: 1000; transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border); box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.logo { display: flex; align-items: center; flex-shrink: 0; position: relative; }
.logo-img { height: 42px; width: auto; }
.header .logo-on-light { position: absolute; left: 0; top: 0; opacity: 0; }
.header .logo-on-dark { transition: opacity var(--transition); }
.header .logo-on-light { transition: opacity var(--transition); }
.header.scrolled .logo-on-dark { opacity: 0; }
.header.scrolled .logo-on-light { opacity: 1; }

.nav { display: none; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.82); position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--color-secondary); transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header.scrolled .nav-link { color: var(--color-text-muted); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--color-primary); }

.header-cta { display: none; }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.header.scrolled .hamburger span, .hamburger.active span { background: var(--color-primary); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav {
    display: block; position: fixed; top: 0; right: -100%;
    width: min(320px, 85vw); height: 100vh; background: var(--color-surface);
    box-shadow: var(--shadow-xl); padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
    transition: right var(--transition-slow); z-index: 999;
  }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link, .header.scrolled .nav-link { display: block; padding: 1rem 0; font-size: 1.1rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
  .nav-link::after { display: none; }
}
@media (min-width: 992px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* ---------- Ícones ---------- */
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn .ico { width: 1.2em; height: 1.2em; }
.nav-link { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-link .ico { width: 1.05rem; height: 1.05rem; opacity: 0.85; }
.trust-item .ico { color: #ffd27a; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-height) + 1.5rem) 0 5.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 78% 48%, rgba(120,170,255,0.55) 0%, rgba(120,170,255,0) 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(5,10,110,0.8) 0%, rgba(5,10,110,0) 70%),
    linear-gradient(135deg, #0718A8 0%, #0A26EA 55%, #2f55ff 100%);
}
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 1; pointer-events: none;
  background: var(--color-primary-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c240 40 480 40 720 10s480-30 720 10v10H0z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c240 40 480 40 720 10s480-30 720 10v10H0z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.hero-inner { position: relative; z-index: 2; display: grid; gap: 1.5rem; align-items: center; }
.hero-content { max-width: 600px; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.95rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); color: #fff;
  font-size: 0.82rem; font-weight: 600; border-radius: var(--radius-full); margin-bottom: 1.1rem; backdrop-filter: blur(6px);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #7cf0ff; box-shadow: 0 0 10px #7cf0ff; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); color: #fff; margin-bottom: 1rem; text-shadow: 0 4px 24px rgba(3,10,100,0.45); }
.hero h1 .highlight { color: #ffd27a; }
.hero-sub { font-size: 1.05rem; color: #dbe3ff; margin-bottom: 1.6rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.trust-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 500; color: #dbe3ff; }

/* Cena do produto (imagem + efeito 3D) */
.hero-visual { display: flex; flex-direction: column; align-items: center; perspective: 1100px; }
.scene {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(470px, 92%); aspect-ratio: 1 / 1;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.scene-glow {
  position: absolute; inset: 6% 6% 4%; border-radius: 50%; transform: translateZ(-80px);
  background: radial-gradient(circle, rgba(124,240,255,0.85) 0%, rgba(90,140,255,0.45) 38%, rgba(90,140,255,0) 70%);
  filter: blur(8px); animation: glow 3.2s ease-in-out infinite;
}
@keyframes glow { 50% { transform: translateZ(-80px) scale(1.1); opacity: 0.8; } }
.scene-shadow {
  position: absolute; left: 14%; right: 14%; bottom: 1%; height: 7%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2,6,70,0.6) 0%, rgba(2,6,70,0) 70%); transform: translateZ(-10px);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: translateZ(-10px) scale(0.85); opacity: 0.7; } }

.layer { position: absolute; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.gallons { position: absolute; width: 60%; left: 0; bottom: 5%; aspect-ratio: 422 / 476; transform: translateZ(10px); transform-style: preserve-3d; pointer-events: none; }
.gallons img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 20px 18px rgba(2,8,90,0.35)); }
.gallon-l { transform: translateZ(0); animation: bob-a 6s ease-in-out infinite; }
.gallon-r { transform: translateZ(36px); animation: bob-c 4.6s ease-in-out -2s infinite; }
.cyl { width: 52%; right: 4%; bottom: 3%; transform: translateZ(90px); filter: drop-shadow(0 26px 24px rgba(2,8,90,0.5)); animation: bob-b 5s ease-in-out infinite; }
@keyframes bob-a { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes bob-b { 0%,100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -16px; rotate: 1.5deg; } }
@keyframes bob-c { 0%,100% { translate: 0 0; rotate: 0.8deg; } 50% { translate: 4px -14px; rotate: -1deg; } }

/* Toque: cada elemento reage de um jeito */
@keyframes jump { 0% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -34px; rotate: -3deg; } 62% { translate: 0 2px; rotate: 2deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes wobble { 0%,100% { rotate: 0deg; } 30% { rotate: -5deg; } 62% { rotate: 3deg; } }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem;
  background: rgba(255,255,255,0.95); color: var(--color-primary); font-weight: 700; font-size: 0.82rem;
  border-radius: var(--radius-full); box-shadow: 0 10px 24px rgba(2,8,90,0.3); white-space: nowrap;
}
.chip .ico { color: var(--color-accent); }
.chip-water .ico { color: #1a9bff; }
.chip-fast .ico { color: var(--color-primary); }
.chip-gas   { top: 8%;  right: 0;  transform: translateZ(150px); animation: bob-a 4.6s ease-in-out infinite; }
.chip-water { top: 34%; left: -2%; transform: translateZ(130px); animation: bob-a 5.4s ease-in-out -1.5s infinite; }
.chip-fast  { bottom: 10%; right: -2%; transform: translateZ(140px); animation: bob-a 5s ease-in-out -3s infinite; }

.hero-hint { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.75rem; font-size: 0.82rem; color: #dbe3ff; animation: hint 3.5s ease-in-out infinite; }
.hero-hint .ico { color: #8ee7ff; }
@keyframes hint { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

@media (max-width: 767px) {
  .hero { padding-bottom: 4.5rem; align-items: flex-start; }
  .hero-visual { order: -1; }
  .scene { width: min(300px, 78%); }
  .chip { font-size: 0.72rem; padding: 0.38rem 0.7rem; }
  .chip-water { left: -6%; }
  .chip-fast { right: 0; }
  .chip-water { left: 0; }
  .hero-sub { font-size: 1rem; }
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
}

/* ---------- Faixa animada ---------- */
.marquee { background: var(--color-primary-dark); color: #fff; overflow: hidden; white-space: nowrap; padding: 0.85rem 0; border-top: 1px solid rgba(255,255,255,0.15); }
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 32s linear infinite; padding-left: 2.5rem; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 0 3px rgba(245,166,35,0.25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.section-badge {
  display: inline-block; padding: 0.35rem 0.85rem; background: rgba(10,38,234,0.08); color: var(--color-primary);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: var(--radius-full); margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-muted); font-size: 1.05rem; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.products-grid .reveal:nth-child(2), .features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.products-grid .reveal:nth-child(3), .features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.products-grid .reveal:nth-child(4), .features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Produtos ---------- */
.produtos { background: var(--color-surface); }
.products-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--color-bg); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition, 0.25s), opacity 0.7s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-image {
  position: relative; height: 210px; padding: 1.25rem; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 60%, #dfe6ff 0%, rgba(223,230,255,0) 70%);
}
.product-photo { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(10,38,234,0.22)); transition: transform 0.5s ease; animation: float-soft 6s ease-in-out infinite; }
.product-card:hover .product-photo { transform: scale(1.08) rotate(-2deg); animation-play-state: paused; }
@keyframes float-soft { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.product-icon { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow-md); }

.product-tag {
  position: absolute; top: 12px; right: 12px; background: var(--color-secondary); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: var(--radius-full);
}
.product-tag-blue { background: var(--color-primary); }

.product-info { padding: 0.5rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { margin-bottom: 0.5rem; }
.product-info > p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; flex: 1; }
.product-features { margin-bottom: 1.25rem; }
.product-features li { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.3rem; }

/* ---------- Diferenciais ---------- */
.diferenciais { background: linear-gradient(180deg, var(--color-bg) 0%, #e4eaff 100%); }
.features-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--color-surface); padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity 0.7s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(10,38,234,0.18); }
.feature-icon { width: 58px; height: 58px; margin: 0 auto 1rem; background: rgba(10,38,234,0.09); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease; }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.08rem; }
.feature-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ---------- Avaliações Google ---------- */
.avaliacoes { background: var(--color-surface); }

.google-pill {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.1rem;
  padding: 0.55rem 1.1rem; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-full); box-shadow: var(--shadow-md); font-weight: 600; font-size: 0.9rem; color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition);
}
.google-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.google-pill svg { width: 20px; height: 20px; }
.google-pill-stars { color: #FBBC04; letter-spacing: 2px; font-size: 1rem; }

.reviews-wrapper { position: relative; }
.reviews-track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding: 0.5rem 0.25rem 1.5rem; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline-offset: 4px; }

.review-card {
  flex: 0 0 min(340px, 86vw); scroll-snap-align: start; background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(10,38,234,0.2); }
.review-head { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-who { flex: 1; min-width: 0; }
.review-who strong { display: block; font-size: 0.97rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-who span { font-size: 0.78rem; color: var(--color-text-muted); }
.review-g { width: 22px; height: 22px; flex-shrink: 0; }
.review-stars { color: #FBBC04; font-size: 1.15rem; letter-spacing: 2px; line-height: 1; }
.review-text { font-size: 0.95rem; line-height: 1.6; color: var(--color-text); flex: 1; }
.review-foot { font-size: 0.78rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.4rem; }
.review-foot svg { width: 14px; height: 14px; }

.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.testimonial-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg); border: 1px solid var(--color-border);
  font-size: 1.5rem; line-height: 1; color: var(--color-primary); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.testimonial-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.reviews-dots { display: flex; gap: 0.4rem; }
.reviews-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); transition: all var(--transition); }
.reviews-dots i.on { width: 22px; border-radius: 8px; background: var(--color-primary); }

/* ---------- Localização ---------- */
.localizacao { background: linear-gradient(180deg, #e4eaff 0%, var(--color-bg) 100%); }
.loc-grid { display: block; text-align: center; }
.loc-info { max-width: 640px; margin: 0 auto; }
.loc-info h2 { margin: 0.25rem 0 0.75rem; }
.loc-info > p { color: var(--color-text-muted); margin: 0 auto 1.5rem; max-width: 520px; }
.loc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; overflow: hidden; color: #fff; padding: 4rem 0;
  background:
    radial-gradient(ellipse 60% 120% at 50% 130%, rgba(124,240,255,0.55) 0%, rgba(124,240,255,0) 70%),
    linear-gradient(135deg, #0718A8 0%, #0A26EA 60%, #2f55ff 100%);
}
.cta-bubbles { position: absolute; inset: 0; pointer-events: none; }
.cta-bubbles i {
  position: absolute; bottom: -40px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.45);
  animation: rise 9s linear infinite;
}
.cta-bubbles i:nth-child(1) { left: 6%;  animation-duration: 8s;  width: 14px; height: 14px; }
.cta-bubbles i:nth-child(2) { left: 18%; animation-duration: 11s; animation-delay: -4s; width: 24px; height: 24px; }
.cta-bubbles i:nth-child(3) { left: 31%; animation-duration: 9s;  animation-delay: -7s; }
.cta-bubbles i:nth-child(4) { left: 46%; animation-duration: 12s; animation-delay: -2s; width: 12px; height: 12px; }
.cta-bubbles i:nth-child(5) { left: 60%; animation-duration: 10s; animation-delay: -6s; width: 28px; height: 28px; }
.cta-bubbles i:nth-child(6) { left: 74%; animation-duration: 8.5s; animation-delay: -3s; }
.cta-bubbles i:nth-child(7) { left: 86%; animation-duration: 11s; animation-delay: -8s; width: 20px; height: 20px; }
.cta-bubbles i:nth-child(8) { left: 94%; animation-duration: 9.5s; animation-delay: -5s; width: 12px; height: 12px; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-320px); opacity: 0; } }
.cta-box { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-box h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-box > p { color: #c3cdf3; margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }

/* ---------- Footer ---------- */
.footer { background: #061070; color: #cbd3f1; padding: 3.5rem 0 1.5rem; border-top: 4px solid var(--color-secondary); }
.footer-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; margin-bottom: 2.5rem; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; max-width: 340px; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all var(--transition); }
.social-link .ico { width: 20px; height: 20px; }
.social-link:hover { transform: translateY(-3px); }
.social-wa:hover { background: var(--color-whatsapp); }
.social-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.social-fb:hover { background: #1877F2; }
.social-map:hover { background: var(--color-primary); }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; position: relative; padding-bottom: 0.6rem; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--color-secondary); }
.footer-list li { margin-bottom: 0.65rem; font-size: 0.9rem; }
.footer-list a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-list a .ico, .footer-links a .ico { width: 1.05rem; height: 1.05rem; color: #8ea0ff; }
.footer-list a:hover, .footer-links a:hover { color: var(--color-secondary); }
.footer-list a:hover .ico, .footer-links a:hover .ico { color: var(--color-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.75rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: #aab6e6; white-space: nowrap; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 1.25rem; }
.copyright, .agency { font-size: 0.82rem; color: #8f9bd0; margin: 0; }
.agency a { color: var(--color-secondary); font-weight: 600; }
.agency a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .copyright, .agency, .footer-links a { white-space: nowrap; }
  .footer-meta { flex-wrap: nowrap; }
  .copyright + .agency::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #5b6bc0; vertical-align: middle; margin-right: 1.25rem; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr 1.1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-list a { white-space: nowrap; }
}
/* Mobile: tudo centralizado no rodapé */
@media (max-width: 767px) {
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; background: var(--color-whatsapp); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); z-index: 900; transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--color-whatsapp-dark); }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-surface); box-shadow: 0 -4px 30px rgba(0,0,0,0.14);
  padding: 1.25rem; z-index: 1100; transform: translateY(100%); transition: transform var(--transition-slow); border-top: 1px solid var(--color-border);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-content { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .cookie-content { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie-text { font-size: 0.9rem; color: var(--color-text-muted); flex: 1; }
.cookie-text strong { color: var(--color-text); }
.cookie-link { color: var(--color-primary); text-decoration: underline; font-weight: 500; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; flex-shrink: 0; }

/* ---------- Modais ---------- */
.modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all var(--transition); }
.modal.active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(2,4,24,0.65); backdrop-filter: blur(4px); }
.modal-content { position: relative; background: var(--color-surface); border-radius: var(--radius-lg); padding: 1.75rem; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); transform: translateY(20px); transition: transform var(--transition); }
.modal.active .modal-content { transform: translateY(0); }
.modal-content.modal-lg { max-width: 640px; }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 1.75rem; color: var(--color-text-muted); line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--color-text); }
.modal-content h2 { margin-bottom: 0.75rem; padding-right: 2rem; }
.modal-desc { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.modal-body { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; }
.modal-body h3 { color: var(--color-text); font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.modal-body ul { margin: 0.5rem 0 0.75rem 1.25rem; list-style: disc; }
.modal-body a { color: var(--color-primary); text-decoration: underline; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
.cookie-options { display: flex; flex-direction: column; gap: 1rem; }
.cookie-option { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; padding: 0.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); transition: border-color var(--transition); }
.cookie-option:hover { border-color: var(--color-primary-light); }
.cookie-option input { margin-top: 3px; accent-color: var(--color-primary); width: 18px; height: 18px; flex-shrink: 0; }
.cookie-option strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.cookie-option span { font-size: 0.8rem; color: var(--color-text-muted); }

:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  .nav-link, .header.scrolled .nav-link { display: flex; gap: 0.7rem; }
}

@media (max-width: 991px) {
  .nav { width: 100%; max-width: none; }
  .header.menu-open { background: #fff; box-shadow: none; border-bottom-color: var(--color-border); }
  .header.menu-open .logo-on-dark { opacity: 0; }
  .header.menu-open .logo-on-light { opacity: 1; }
}

/* ---------- Mobile / tablet: itens centralizados ---------- */
@media (max-width: 767px) {
  .hero-content { margin: 0 auto; text-align: center; }
  .hero-content .badge { text-align: center; justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { justify-content: center; }
  .loc-info { text-align: center; }
  .loc-info > p { margin-left: auto; margin-right: auto; }
  .loc-actions { flex-direction: column; align-items: stretch; }
  .loc-actions .btn { width: 100%; }
}
@media (max-width: 575px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}
.header .logo { z-index: 1001; }
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.hero h1 .door { display: none; }
@media (max-width: 767px) {
  .hero h1 .l { display: block; }
  .hero h1 .door { display: inline; }
}
/* Rodapé mobile: menus centralizados, ícones alinhados à esquerda */
@media (max-width: 575px) {
  .footer-col { text-align: center; }
  .footer-col h4 { display: block; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-list { width: 250px; max-width: 100%; margin: 0 auto; text-align: left; }
}

/* ---- Título do hero em 2 linhas (desktop) ---- */
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); }
  .hero-content { max-width: 700px; }
  .hero h1 { font-size: clamp(1.55rem, 2.3vw, 2.1rem); white-space: nowrap; letter-spacing: -0.01em; }
  .hero h1 .highlight { display: block; }
}

/* ---- Hero compacto no mobile (~80% da tela) ---- */
@media (max-width: 767px) {
  .hero { min-height: 80vh; min-height: 80svh; align-items: center; padding: calc(var(--header-height) + 0.1rem) 0 2.4rem; }
  .hero-wave { height: 36px; }
  .hero-inner { gap: 0.4rem; }
  .scene { width: min(215px, 58%); }
  .chip { font-size: 0.64rem; padding: 0.3rem 0.6rem; }
  .hero-hint { margin-top: 0.1rem; font-size: 0.72rem; }
  .hero-content .badge { margin-bottom: 0.6rem; padding: 0.3rem 0.8rem; font-size: 0.72rem; }
  .hero h1 { font-size: clamp(1.6rem, 7.2vw, 1.95rem); margin-bottom: 0.6rem; line-height: 1.15; }
  .hero-sub { font-size: 0.88rem; line-height: 1.45; margin-bottom: 0.9rem; }
  .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 0.5rem; margin-bottom: 0.9rem; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; padding: 0.72rem 0.7rem; font-size: 0.86rem; gap: 0.4rem; }
  .hero-actions .btn-primary { flex: 1.4 1 0; }
  .hero-actions .btn-ghost { flex: 1 1 0; }
  .hero-actions .btn .ico, .hero-actions .btn svg { width: 1.1em; height: 1.1em; }
  .hero-trust { gap: 0.3rem 0.9rem; }
  .trust-item { font-size: 0.74rem; gap: 0.3rem; }
}
@media (max-width: 767px) {
  .hero { padding-bottom: 1.9rem; }
  .scene { width: min(205px, 55%); aspect-ratio: 1 / 0.82; }
  .hero-inner { gap: 0.2rem; }
  .hero-content .badge { font-size: 0.68rem; padding: 0.28rem 0.7rem; letter-spacing: -0.01em; }
  .hero-sub { font-size: 0.85rem; margin-bottom: 0.8rem; }
  .hero-actions { margin-bottom: 0.75rem; }
}

/* ---- Mobile: título em 3 linhas, objetos espaçados (85% do container), respiro após a dica ---- */
@media (max-width: 767px) {
  .hero h1 { font-size: clamp(1.35rem, 6.1vw, 1.8rem); }
  .hero h1 .highlight { display: block; white-space: nowrap; }
  .hero h1 .highlight .l { display: inline; }

  .hero-visual { width: 100%; }
  .scene { width: 85%; aspect-ratio: 1 / 0.6; }
  .gallons { width: 50%; left: 0; bottom: 3%; }
  .cyl { width: 42%; right: 0; bottom: 2%; }
  .chip-water { top: -6%; left: 2%; }
  .chip-gas { top: -8%; right: 0; }
  .chip-fast { bottom: 0; left: 50%; right: auto; margin-left: -45px; }
  .hero-hint { margin-top: 0.55rem; margin-bottom: 0.85rem; }
}
@media (max-width: 767px) { .hero { padding-top: calc(var(--header-height) + 0.7rem); } }
/* Rodapé mobile: bloco centralizado, títulos e textos alinhados à esquerda junto com os ícones */
@media (max-width: 575px) {
  .footer-col { width: 250px; max-width: 100%; margin: 0 auto; text-align: left; }
  .footer-col h4::after { left: 0; transform: none; }
  .footer-list { width: 100%; }
}


/* ===== Cena: galão | botijão (meio) | galão, distribuídos igualmente ===== */
.scene { display: flex; justify-content: space-between; align-items: flex-end; aspect-ratio: auto; padding-top: 16%; }
.scene .layer { position: relative; inset: auto; right: auto; left: auto; bottom: auto; height: auto; max-width: none; flex: 0 0 auto; }
.scene .gallon-l { width: 25%; transform: translateZ(10px); animation: bob-a 6s ease-in-out infinite; filter: drop-shadow(0 18px 16px rgba(2,8,90,0.35)); }
.scene .gallon-r { width: 25%; transform: translateZ(36px); animation: bob-c 4.6s ease-in-out -2s infinite; filter: drop-shadow(0 18px 16px rgba(2,8,90,0.35)); }
.scene .cyl { width: 40%; transform: translateZ(90px); animation: bob-b 5s ease-in-out infinite; filter: drop-shadow(0 22px 20px rgba(2,8,90,0.5)); }
.scene-glow { inset: 14% 4% 2%; }
.scene-shadow { left: 6%; right: 6%; }
.chip-gas   { top: 0; right: auto; left: 50%; margin-left: -62px; }
.chip-water { top: 6%; left: -2%; }
.chip-fast  { bottom: 4%; right: -3%; }

/* desktop: objetos um pouco maiores, com leve sobreposição */
@media (min-width: 768px) {
  .scene { width: min(480px, 100%); }
  .scene .gallon-l, .scene .gallon-r { width: 31%; }
  .scene .cyl { width: 44%; margin: 0 -4%; }
}
/* mobile: 3 elementos em 80% da largura do container, com vãos iguais */
@media (max-width: 767px) {
  .scene { width: 80%; aspect-ratio: auto; padding-top: 15%; }
  .scene .gallon-l, .scene .gallon-r { width: 25%; }
  .scene .cyl { width: 40%; margin: 0; }
  .chip-gas   { top: -2%; margin-left: -54px; }
  .chip-water { top: 5%; left: -3%; }
  .chip-fast  { bottom: 2%; right: -4%; }
}
@media (max-width: 767px) {
  .scene .gallon-l, .scene .gallon-r { width: 27%; }
  .scene .cyl { width: 36%; transform: translateZ(45px); }
  .scene .gallon-r { transform: translateZ(20px); }
}

/* Cada elemento reage ao toque */
.scene .layer { pointer-events: auto; cursor: pointer; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.scene .gallon-l.hit, .scene .gallon-r.hit { animation: jump 0.85s cubic-bezier(.3,1.5,.5,1); }
.scene .cyl.zoom { animation: zoom-gas 1.4s ease; }
@keyframes zoom-gas { 0% { scale: 1; } 28% { scale: 1.5; } 68% { scale: 1.5; } 100% { scale: 1; } }

/* Mobile: três etiquetas voltam, sempre abaixo do menu superior */
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-height) + 1.1rem); }
  .scene { padding-top: 26%; }
  .chip-gas   { top: 0; left: 50%; margin-left: -54px; right: auto; bottom: auto; }
  .chip-water { top: 13%; left: -2%; right: auto; bottom: auto; }
  .chip-fast  { display: inline-flex; top: 13%; right: -2%; left: auto; bottom: auto; }
}

@keyframes bob-chip { 0%,100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-height) + 1.6rem); }
  .scene { padding-top: 21%; }
  .chip { animation: bob-chip 4.5s ease-in-out infinite; }
  .chip-gas { transform: translateZ(30px); }
  .chip-water { transform: translateZ(24px); animation-delay: -1.5s; }
  .chip-fast { transform: translateZ(24px); animation-delay: -3s; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-height) + 1.1rem); padding-bottom: 1.3rem; }
  .scene { padding-top: 19%; }
  .hero-hint { margin-top: 0.35rem; margin-bottom: 0.6rem; }
  .hero-content .badge { margin-bottom: 0.5rem; }
  .hero h1 { margin-bottom: 0.5rem; }
  .hero-sub { margin-bottom: 0.7rem; }
  .hero-actions { margin-bottom: 0.6rem; }
  .hero-wave { height: 30px; }
}


/* ===== Botão voltar ao topo ===== */
.back-top {
  position: fixed; right: 30px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(10,38,234,0.4); z-index: 900;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }
.back-top .ico { width: 22px; height: 22px; }

/* ===== Hero: altura pelo conteúdo em tablet e desktop (sem excesso de espaço, inclusive "versão desktop" no celular) ===== */
@media (min-width: 768px) {
  .hero { min-height: 0; padding: calc(var(--header-height) + 2rem) 0 4rem; }
  .hero-wave { height: 50px; }
}
@media (min-width: 768px) {
  .hero { padding: calc(var(--header-height) + 1.5rem) 0 3.75rem; }
  .hero h1 .door { display: inline; }
  .hero-hint { margin-top: 0.4rem; }
}

/* Tablet (768-899): coluna do visual estreita, etiquetas compactas como no mobile */
@media (min-width: 768px) and (max-width: 899px) {
  .scene { padding-top: 21%; }
  .chip { font-size: 0.64rem; padding: 0.3rem 0.6rem; animation: bob-chip 4.5s ease-in-out infinite; }
  .chip-gas   { top: 0; left: 50%; margin-left: -54px; right: auto; transform: translateZ(30px); }
  .chip-water { top: 13%; left: -2%; right: auto; transform: translateZ(24px); animation-delay: -1.5s; }
  .chip-fast  { display: inline-flex; top: 13%; right: -2%; left: auto; bottom: auto; transform: translateZ(24px); animation-delay: -3s; }
  .hero-hint { font-size: 0.72rem; }
  .hero-content .badge { font-size: 0.7rem; }
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-height) + 2.4rem); } }
