/* ============================================================
   ACQUA LAVANDERIA EXPRESS — DARK TECH DESIGN SYSTEM
   ============================================================ */

/* Brand tokens — overridden by main.js from config.js */
:root {
  --brand:       #F47A1F;
  --brand-2:     #FFA94D;
  --brand-dark:  #7A3408;
  --brand-glow:  rgba(244, 122, 31, 0.35);
  --brand-glow2: rgba(244, 122, 31, 0.12);

  --bg-primary:  #07080f;
  --bg-surface:  #0d1120;
  --bg-card:     #111827;
  --bg-glass:    rgba(255, 255, 255, 0.035);
  --glass-border:rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(244, 122, 31, 0.45);

  --text-primary: #eef2ff;
  --text-muted:   #6b7fa3;
  --text-dim:     #3d4e6b;

  --accent:      #00c8ff;
  --accent-glow: rgba(0, 200, 255, 0.2);

  --radius-xl:   1.5rem;
  --radius-2xl:  2rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-primary);
}

section[id] { scroll-margin-top: 80px; }

body {
  font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  antialiased: true;
  overflow-x: hidden;
}

/* ---- Brand Helpers ---- */
.brand-text        { color: var(--brand); }
.brand-text-light  { color: var(--brand-2); }
.brand-bg          { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.brand-bg-soft     { background: var(--brand-glow2); }

/* ---- Typography ---- */
.font-space { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.font-inter { font-family: 'Inter', sans-serif; }

/* ---- Noise Texture Overlay ---- */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 40;
  color: var(--text-primary);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

#nav.scrolled {
  background: rgba(7, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border), 0 8px 32px rgba(0,0,0,0.4);
}

#nav:not(.scrolled) { background: transparent; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Gradient mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(244,122,31,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,200,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 60% 80%, rgba(244,122,31,0.08) 0%, transparent 60%),
    var(--bg-primary);
  z-index: 0;
}

/* Animated gradient orb */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,122,31,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,255,0.10) 0%, transparent 70%);
  bottom: -80px; right: 10%;
  animation-delay: -6s;
}

/* Canvas particles */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero image side */
.hero-img-panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 52%;
  z-index: 2;
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero-img-panel {
    inset: 0;
    width: 100%;
    opacity: 0.15;
  }
}
.hero-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 25%, black 60%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 25%, black 60%);
}
@media (max-width: 767px) {
  .hero-img-panel img { mask-image: none; -webkit-mask-image: none; }
}

/* Hero content */
.hero-content { position: relative; z-index: 3; }

/* Pulse badge */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--brand-glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.badge-live {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(244,122,31,0.12);
  border: 1px solid rgba(244,122,31,0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-2);
  animation: pulse-ring 2.5s ease-out infinite;
}
.badge-live .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: blink 1.4s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Hero stats */
.hero-stat {
  display: flex; flex-direction: column;
  padding: 0.75rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-surface);
  border-block: 1px solid var(--glass-border);
  padding: 1.25rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-item span.num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--brand);
}
.trust-divider {
  width: 1px; height: 24px;
  background: var(--glass-border);
}

/* ============================================================
   SECTIONS — Base
   ============================================================ */
.section-dark {
  background: var(--bg-primary);
  position: relative;
}
.section-surface {
  background: var(--bg-surface);
  position: relative;
}
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: block; width: 20px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; line-height: 1.1;
  color: var(--text-primary);
}
.section-sub {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 0 1px rgba(244,122,31,0.1), 0 20px 60px rgba(244,122,31,0.08);
  transform: translateY(-4px);
}

/* Icon badge inside card */
.icon-badge {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem;
  background: rgba(244,122,31,0.12);
  border: 1px solid rgba(244,122,31,0.2);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-badge svg { color: var(--brand); }

/* ============================================================
   BENEFÍCIOS GRID
   ============================================================ */
.benef-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.benef-card:hover {
  border-color: rgba(244,122,31,0.35);
  transform: translateY(-3px);
}

/* ============================================================
   COMO FUNCIONA — TIMELINE
   ============================================================ */
.timeline-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  flex: 1;
}
.timeline-step::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(50% + 28px);
  width: calc(100% - 56px); height: 1px;
  background: linear-gradient(to right, var(--brand), transparent);
}
.timeline-step:last-child::before { display: none; }
/* Mobile/tablet: cards empilham — esconde os conectores horizontais (vazavam pra fora da tela) */
@media (max-width: 1023px) {
  .timeline-step::before { display: none; }
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,122,31,0.2) 0%, transparent 80%);
  border: 1px solid rgba(244,122,31,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--brand);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px var(--brand-glow);
  flex-shrink: 0;
}

/* ============================================================
   PLANOS
   ============================================================ */
.plano-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.plano-card:hover {
  border-color: rgba(244,122,31,0.3);
  transform: translateY(-4px);
}
.plano-destaque {
  background: linear-gradient(145deg, rgba(244,122,31,0.15) 0%, rgba(244,122,31,0.05) 100%);
  border-color: rgba(244,122,31,0.5) !important;
  box-shadow: 0 0 40px rgba(244,122,31,0.12), inset 0 1px 0 rgba(244,122,31,0.2);
}
.plano-pub { color: var(--text-muted); }
.plano-destaque .plano-pub { color: rgba(244,180,100,0.8); }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-img-wrap {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden;
}
.sobre-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid rgba(244,122,31,0.3);
  border-radius: var(--radius-2xl);
  z-index: 1; pointer-events: none;
}
.sobre-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, var(--bg-surface) 0%, transparent 100%);
  z-index: 0;
}

/* ============================================================
   APP SECTION
   ============================================================ */
.app-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(244,122,31,0.1) 0%, transparent 70%),
    var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}
.app-badge-btn {
  transition: transform 0.2s, filter 0.2s;
}
.app-badge-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
}
footer a { transition: color 0.2s; }
footer a:hover { color: var(--brand); }

/* ============================================================
   WHATSAPP WIDGET (dark override)
   ============================================================ */
#wppWidgetCard {
  background: #0d1422 !important;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#wppWidgetTooltip {
  background: #0d1422 !important;
  color: var(--text-primary) !important;
  border-color: var(--glass-border) !important;
}
#wppWidgetTooltip .bg-white { background: #1a2540 !important; }

/* ============================================================
   MODAL PROMO — dark
   ============================================================ */
#promoModal { background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  border: none; cursor: pointer;
  font-size: 0.9rem; letter-spacing: 0.02em;
  box-shadow: 0 4px 24px var(--brand-glow);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--brand-glow);
  filter: brightness(1.08);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-glass);
  color: var(--text-primary); font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: rgba(244,122,31,0.5);
  background: rgba(244,122,31,0.08);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS — Scroll Reveal
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.reveal { opacity: 0; }
.reveal.visible { animation: fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal-left.visible  { animation: fadeInLeft  0.65s cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal-right.visible { animation: fadeInRight 0.65s cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal-scale.visible { animation: scaleIn     0.65s cubic-bezier(0.22,1,0.36,1) forwards; }

.float-effect { animation: float 5s ease-in-out infinite; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================================
   SCROLLBAR (dark)
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #1e2d44; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ============================================================
   PRODUTOS PREMIUM
   ============================================================ */
.product-logo {
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s, filter 0.3s;
}
.product-logo:hover { opacity: 1; }

/* ============================================================
   MAPA
   ============================================================ */
#mapa-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(244,122,31,0.06);
}
#mapa-wrap iframe { display: block; }

/* ============================================================
   CHECKLIST
   ============================================================ */
.check-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.9rem; font-weight: 500;
}
.check-item:last-child { border-bottom: none; }
.check-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--brand);
}

/* ============================================================
   COUNTER
   ============================================================ */
.counter-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
#mobileMenu {
  background: rgba(7, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
#mobileMenu a {
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
  display: block; font-weight: 600;
  transition: color 0.2s;
}
#mobileMenu a:last-child { border-bottom: none; }
#mobileMenu a:hover { color: var(--brand); }

/* ============================================================
   CESTÃO DE RESPEITO
   ============================================================ */
.cestao-section {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(244,122,31,0.07) 0%, transparent 70%),
    var(--bg-surface);
  border-block: 1px solid var(--glass-border);
}

/* ============================================================
   GRADIENT DIVIDERS
   ============================================================ */
.grad-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(244,122,31,0.4), transparent);
}

/* Custom Footer Link with high contrast and explicit hover */
.footer-link {
  color: var(--text-muted) !important;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s, text-decoration 0.2s;
}
.footer-link:hover {
  color: var(--brand) !important;
  text-decoration: underline;
}

