/* ==========================================================================
   DESIGN SYSTEM & ESTILOS GLOBAIS - H2O DISTRIBUIDORA DE ÁGUA MINERAL
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Cores Principais Oficial H2O Logo & Fachada */
  --primary: #0D3B66;        /* Azul Marinho H2O Logo/Fachada */
  --primary-hover: #005691;  /* Azul intermediário */
  --primary-dark: #071E36;   /* Azul escuro profundo */
  --primary-light: #E0F2FE;  /* Azul claro suave */
  --accent: #00A8E8;         /* Azul celeste splash logo */
  --aqua-glow: #38BDF8;      /* Azul aqua brilhante */
  --brand-red: #E63946;      /* Vermelho destaque (Número '2' da logo H2O) */
  
  /* Status & Ações */
  --whatsapp: #10B981;
  --whatsapp-hover: #059669;
  --danger: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;

  /* Neutros & Backgrounds */
  --bg-main: #F4F8FC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  
  /* Glassmorphism & Sombra */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 8px rgba(13, 59, 102, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(13, 59, 102, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(7, 30, 54, 0.25);

  /* Fontes & Raios */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-block {
  width: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding: 14px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 168, 232, 0.4);
}

.brand-text h1 {
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
}

.brand-text span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-main);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cart-nav {
  position: relative;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(0, 119, 182, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-cart-nav:hover {
  background: #B2EBF2;
}

.cart-count-badge {
  background: var(--danger);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding: 140px 0 90px;
  background: linear-gradient(180deg, #E0F7FA 0%, #F4F8FC 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-icon {
  font-size: 22px;
}

.strip-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.strip-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(13, 59, 102, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(0, 168, 232, 0.25);
  min-width: 240px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-floating-badge:hover {
  box-shadow: 0 12px 40px rgba(13, 59, 102, 0.35);
  transform: translateY(-2px);
}

.badge-icon-express {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.4);
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 15px;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.badge-text span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

/* ==========================================================================
   PRODUTOS & CATÁLOGO
   ========================================================================== */

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 36px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Filtros de Categoria */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Grid de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 182, 0.3);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(13, 59, 102, 0.3);
  z-index: 2;
}

.product-img-wrapper {
  height: 220px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-img-wrapper img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-volume {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.product-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  /* Trava a descrição em exatamente 3 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 3); /* garante altura mínima de 3 linhas */
}

/* Seletor de Modalidade no Card */
.product-option-switch {
  background: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 20px;
}

.switch-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.switch-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 4px;
  background: transparent;
  transition: var(--transition);
}

.switch-opt:last-child {
  margin-bottom: 0;
}

.switch-opt.active {
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--primary-light);
}

.switch-opt input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

.switch-opt strong {
  display: block;
  font-size: 12px;
  color: var(--text-main);
}

.switch-opt span {
  font-size: 11px;
  color: var(--primary-dark);
  font-weight: 600;
}

.single-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #F1F5F9;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.single-price-box .price-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.single-price-box .price-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-actions {
  margin-top: auto;
}

/* ==========================================================================
   CALCULADORA DE ÁGUA INTERATIVA
   ========================================================================== */

.calc-section {
  background: linear-gradient(135deg, #0A192F 0%, #023E8A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.calc-content .section-title {
  color: #FFFFFF;
}

.calc-content .section-desc {
  color: #94A3B8;
}

.calc-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.calc-results-box {
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}

.res-item strong {
  display: block;
  font-size: 26px;
  color: var(--aqua-glow);
  font-family: var(--font-heading);
}

.res-item span {
  font-size: 12px;
  color: #CBD5E1;
  text-transform: uppercase;
}

/* ==========================================================================
   ÁREA DE COBERTURA / BUSCA BAIRROS
   ========================================================================== */

.coverage-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.bairro-search-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.bairro-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.bairro-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15);
}

.bairro-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
}

.bairro-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bairro-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.bairro-info strong {
  display: block;
  font-size: 15px;
}

.bairro-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.status-online {
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}

/* ==========================================================================
   DRAWER DO CARRINHO (SIDEBAR OVERLAY)
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
}

.cart-drawer-header h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.cart-drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 60px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 4px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 18px;
  cursor: pointer;
}

.cart-bottle-selector {
  margin: 8px 0;
  font-size: 11px;
}

.bottle-option-label {
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 4px;
  background: #FFF;
  border: 1px solid var(--border);
}

.bottle-option-label.active {
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-weight: 700;
  cursor: pointer;
}

.qty-control span {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
}

.cart-item-price {
  text-align: right;
}

.unit-price-sm {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

/* Checkout Form Drawer Footer */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.03);
}

.checkout-fields h4 {
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.cart-input-sm {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  outline: none;
}

.cart-input-sm:focus {
  border-color: var(--primary);
}

.cart-totals-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.cart-totals-summary strong {
  font-size: 20px;
  color: var(--primary-dark);
}

/* ==========================================================================
   FAQ & FOOTER
   ========================================================================== */

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open {
  border-color: var(--primary);
}

footer {
  background: #0A192F;
  color: #94A3B8;
  padding: 64px 0 0;
}

/* Layout superior do footer */
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.4fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

/* Coluna da marca */
.footer-brand {
  /* nada extra por padrão */
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #64748B;
  max-width: 260px;
}

/* Grupos de links */
.footer-links-group h4 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-links li {
  font-size: 14px;
  line-height: 1.5;
  color: #94A3B8;
  overflow-wrap: anywhere;
}

/* Endereço: faixa de largura total abaixo das colunas */
.footer-address {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
}

.footer-address strong {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-address address {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
}

.footer-address address span {
  white-space: nowrap;
}

/* Horários: dia à esquerda, horário à direita */
.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.hours-day {
  color: #CBD5E1;
}

.hours-time {
  text-align: right;
  white-space: nowrap;
  color: #FFFFFF;
  font-weight: 500;
}

.hours-closed {
  color: #F87171;
}

.footer-links a {
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Botão WhatsApp no footer */
.footer-wa-btn {
  font-size: 13px;
  padding: 9px 18px;
  margin-top: 4px;
  white-space: nowrap;
}

/* Linha inferior */
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: #475569;
}

/* Responsividade do footer */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-tagline {
    max-width: 100%;
  }
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}

.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

/* Responsividade Mobile */
@media (max-width: 992px) {
  .hero-grid, .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-features-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODAL DE CONFIRMAÇÃO DE VASILHAME
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  width: 90%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 2501;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid var(--border);
}

.modal-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 20px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  color: var(--primary-dark);
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.close-modal-btn:hover {
  color: var(--danger);
}

.modal-body {
  padding: 24px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-bottle-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-opt-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: #FAFAFA;
}

.modal-opt-card:hover {
  border-color: var(--primary-hover);
  background: #F1F5F9;
}

.modal-opt-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.08);
}

.modal-opt-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--primary);
  transform: scale(1.2);
}

.modal-opt-info strong {
  display: block;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.modal-opt-info span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.modal-opt-info .modal-price-tag {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 6px;
}

.modal-footer {
  padding: 16px 24px;
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Mapa de localização */
.mapa-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mapa-endereco {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
@media (max-width: 768px) {
  .mapa-wrapper { height: 300px; }
}
