﻿/* =====================================================================
   Brayan Consertos - Assistência Técnica
   style.css
   Menu multinível: Mega Menu (Desktop) + Drill-down (Mobile)
===================================================================== */

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

/* ----------------------- Resets e Variáveis ----------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --primary: #0f4c81;          /* Azul principal */
  --primary-dark: #0a3a63;
  --accent: #1e51e3;           /* Azul de destaque */
  --dark: #1e293b;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 10px 15px -3px rgba(15, 76, 129, 0.12);
  --shadow-lg: 0 20px 40px -12px rgba(15, 76, 129, 0.25);
  --radius: 10px;
}

html { scroll-padding-top: 100px; }
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light);
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.86), rgba(248, 250, 252, 0.86)),
    url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--dark);
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ----------------------- Barra Superior ----------------------- */
.topbar { background: var(--primary-dark); color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { color: var(--accent); }
.topbar-hours { justify-self: end; text-align: right; }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.3px;
  padding: 5px 16px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.45);
  animation: badgePulse 2.4s ease-in-out infinite;
}
.topbar-badge svg { color: #fff; }
.topbar-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(249, 115, 22, 0.45); }
  50% { box-shadow: 0 2px 18px rgba(249, 115, 22, 0.85); }
}
@keyframes badgeShine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}

/* Badge das páginas de produto (abaixo das marcas) */
.brands-badge {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.brands-badge .topbar-badge {
  font-size: 13px;
  padding: 7px 18px;
}

/* ----------------------- Header ----------------------- */
.header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 18px rgba(15, 76, 129, 0.14); }

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

.logo { font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }

/* ----------------------- Menu Base ----------------------- */
.menu-list { display: flex; align-items: center; }
.menu-item { position: relative; }

.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.menu-link:hover { color: var(--primary); background: #eef4fa; }
.menu-link .arrow { font-size: 11px; transition: transform 0.2s ease; }

.btn-highlight {
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 600;
  padding: 11px 20px;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.35);
}
.btn-highlight:hover { background: #e6761a; color: var(--white) !important; }

/* ----------------------- Drill-down / Dropdown (base) ----------------------- */
.dropdown-menu { list-style: none; }

/* ============================ DESKTOP (>= 992px) ============================ */
@media (min-width: 992px) {
  .menu-toggle, .mobile-header, .overlay { display: none; }

  /* Base dos dropdowns: escondidos até o hover.
     pointer-events: none faz o menu não capturar o mouse fora do hover,
     evitando que a grande área do mega menu reabra/segure o dropdown. */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
  }

  /* Mostra o submenu ao passar o mouse no item pai
     (seletor sem ">" para re-habilitar o clique também nos itens
     de Nível 3, que herdam a classe .dropdown-menu e recebiam
     pointer-events: none da regra base) */
  .menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease;
  }

  /* Giro da seta no hover */
  .menu-item.has-dropdown:hover > .menu-link .arrow { transform: rotate(180deg); }

  /* ---------- Mega Menu em grade (Nível 2 + 3) ---------- */
  .mega-menu {
    width: min(1060px, calc(100vw - 40px));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 8px;
    padding: 18px;
    left: 50%;
    transform: translateX(-50%);
  }
  .menu-item.has-dropdown:hover > .mega-menu { transform: translateX(-50%); }

  /* Colunas do mega menu */
  .mega-col { border-radius: 8px; padding: 8px; transition: background 0.2s ease; }
  .mega-col:hover { background: #f1f6fb; }

  .mega-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    padding: 8px 10px;
    margin-bottom: 4px;
  }
  .mega-title::after {
    content: "";
    width: 32px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 6px;
    margin-left: auto;
  }
  .mega-title .arrow { display: none; }

  /* Nível 3 dentro do mega menu: visível (grade), sem flyout */
  .mega-menu .level-3 {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    background: transparent;
  }
  .mega-menu .level-3 li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    font-size: 14px;
    color: var(--muted);
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  }
  .mega-menu .level-3 li a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .mega-menu .level-3 li a:hover {
    color: var(--primary);
    background: #eef4fa;
    padding-left: 14px;
  }
}

/* ============================ MOBILE (< 992px) ============================ */
@media (max-width: 991px) {
  /* Botão hamburguer */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
  }
  .menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Overlay escuro */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 90;
  }
  .overlay.active { opacity: 1; visibility: visible; }

  /* Painel lateral */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100%;
    background: var(--white);
    z-index: 105;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
  }
  .nav-menu.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.18); }

  /* Cabeçalho do painel (titulo + voltar + fechar) */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 15px;
    background: var(--primary);
    color: var(--white);
    flex-shrink: 0;
  }
  .btn-back {
    background: none;
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 6px 0;
  }
  .btn-back.visible { opacity: 1; pointer-events: auto; }
  .mobile-title { font-weight: 700; font-size: 15px; letter-spacing: 0.3px; }
  .mobile-close {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 6px;
    color: #cbd5e1;
  }
  .mobile-close:hover { color: var(--white); }

  /* Lista principal em coluna */
  .menu-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow-y: auto;
  }
  .menu-item { border-bottom: 1px solid var(--border); }
  .menu-item { position: static; }
  .menu-link {
    justify-content: space-between;
    padding: 16px 18px;
    font-size: 15px;
    border-radius: 0;
    width: 100%;
  }
  .menu-link .arrow { font-size: 16px; }
  .menu-link:hover { background: #f1f6fb; }
  .btn-highlight {
    margin: 12px 14px;
    justify-content: center;
    border-radius: 8px;
    width: auto;
    padding: 13px;
  }
  .btn-highlight:hover { background: #e6761a; }

  /* Camadas do drill-down (telas de Nível 2 e Nível 3).
     Exibição direta via display: a classe .active apenas mostra o painel
     sobre a lista do menu. Sem transform/transição p/ máxima
     compatibilidade com navegadores e modos de emulação. */
  .dropdown-menu {
    position: absolute;
    top: 52px;
    left: 0;
    z-index: 2;
    width: 100%;
    height: calc(100% - 52px);
    background: var(--white);
    display: none;
    overflow-y: auto;
    padding: 10px 0;
  }
  .dropdown-menu.active { display: block; }

  /* Nível 3 dentro do mega menu: cobre a área da categoria (Nível 2) */
  .mega-menu .level-3 {
    z-index: 3;
    top: 0;
    height: 100%;
  }
  .mega-menu .level-3.active { display: block; }

  /* Faixa de titulo de cada coluna do mega (Nível 2) no mobile */
  .mega-col { border-bottom: 1px solid var(--border); }
  .mega-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    width: 100%;
  }
  .mega-title::after { display: none; }
  .mega-title .arrow { transition: transform 0.2s ease; }
  .mega-col.has-dropdown.open > .mega-title .arrow { transform: rotate(90deg); }

  /* Links de Nível 3 no mobile */
  .mega-menu .level-3 li a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
  }
  .mega-menu .level-3 li a:hover { background: #f8fafc; color: var(--primary); }
}

/* ============================ CONTEÚDO ============================ */

/* ---------- Botões genéricos ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(15,76,129,0.30); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(245,130,32,0.35); }
.btn-secondary:hover { background: #e6761a; }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: #eef4fa; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark) url('assets/hero-bg.jpg') center / cover no-repeat;
}

/* Camada do vídeo/imagem de fundo em tela cheia */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Filtro escuro para garantir a leitura dos textos */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Conteúdo centralizado sobre o vídeo */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,130,32,0.16);
  border: 1px solid rgba(245,130,32,0.5);
  color: #fcd9b0;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; font-weight: 800; margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero-content p { font-size: 17px; color: #cbd5e1; max-width: 560px; margin-bottom: 28px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #cbd5e1; }
.hero-trust svg { color: #4ade80; }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section-alt { background: transparent; }

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Cards de serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--card-color) 12%, white);
  color: var(--card-color);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.card-list { margin-bottom: 20px; flex: 1; }
.card-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--dark);
  font-size: 14px;
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  background: #eef4fa;
  border-radius: 4px;
}
.card-list li::after {
  content: "✓";
  position: absolute; left: 3.5px; top: 9px;
  font-size: 10px; color: var(--primary); font-weight: 700;
}
.card-link { color: var(--primary); font-weight: 700; font-size: 14px; }
.card-link:hover { color: var(--accent); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.step-num {
  font-size: 30px;
  font-weight: 800;
  color: #dbeafe;
  position: absolute; top: 14px; right: 18px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Sobre / vantagens ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.about-text > p { color: var(--muted); margin-bottom: 24px; }
.about-points li {
  padding: 12px 0 12px 34px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.about-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 13px;
  width: 22px; height: 22px;
  background: #e6f4ea; color: #16a34a;
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.about-points strong { display: block; font-size: 15px; }
.about-points li span, .about-points li em { font-style: normal; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 28px; color: var(--primary); }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--accent), #f59e0b); padding: 60px 0; }
.cta-inner { text-align: center; color: var(--white); }
.cta h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta p { margin-bottom: 24px; font-size: 16px; }

/* ---------- Faixa de imagem em tela cheia (meio e fim da home) ---------- */
.img-band {
  position: relative;
  width: 100%;
  padding: 110px 0;
  background:
    linear-gradient(rgba(10, 35, 63, 0.78), rgba(10, 35, 63, 0.78)),
    url('assets/hero-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  color: var(--white);
}
.img-band-inner {
  text-align: center;
  max-width: 780px;
}
.img-band .section-tag { color: var(--accent); }
.img-band h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.img-band p { color: #cbd5e1; font-size: 16px; margin-bottom: 28px; }
.img-band--end { padding: 120px 0; }
@media (max-width: 768px) {
  .img-band { background-attachment: scroll; padding: 80px 0; }
}

/* ---------- Contato ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }

.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-ico {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eef4fa; color: var(--primary);
  border-radius: 10px;
}
.contact-list strong { display: block; font-size: 14px; }
.contact-list p { color: var(--muted); font-size: 14px; }

.contact-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--dark);
  background: var(--light);
  margin-bottom: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.12);
  background: var(--white);
}
.form-success {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #e6f4ea;
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-success.visible { display: block; }

/* ---------- Rodapé ---------- */
.footer { background: #0f172a; color: #94a3b8; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 20px;
}
.footer-logo { color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-col strong { color: var(--white); font-size: 14px; display: block; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1e293b; padding: 18px 0; }
.footer-bottom p { font-size: 13px; text-align: center; }

/* ---------- Mapa no rodapé ---------- */
.footer-map { border-top: 1px solid #1e293b; padding: 40px 0; }
.footer-map-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer-map-info strong { color: var(--white); font-size: 14px; display: block; margin-bottom: 14px; }
.footer-map-info p { font-size: 14px; margin-bottom: 6px; }
.footer-map-embed iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 80;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================ RESPONSIVO ============================ */

/* Alternância da fonte do vídeo entre as telas:
   Desktop usa vídeo horizontal (16:9), Mobile usa vídeo vertical (9:16).
   A troca dos arquivos é feita via atributo media nos <source> do vídeo.
   Aqui apenas garantimos que o vídeo sempre preencha a tela (object-fit: cover
   já cobre ambos os formatos em qualquer orientação). */
@media (max-width: 992px) {
  .hero { height: 92vh; min-height: 520px; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-map-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { background-attachment: scroll; }
  .hero { height: 88vh; min-height: 500px; }
  .hero h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-map-inner { grid-template-columns: 1fr; }
  .topbar-hours { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* =====================================================================
   PÁGINAS INTERNAS (serviços, categorias e eletrodomésticos)
===================================================================== */

/* Item ativo no menu */
.menu-item.active > .menu-link { color: var(--primary); font-weight: 700; }
.menu-item.active .mega-title { color: var(--primary-dark); }

/* ---------- Hero de página interna ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(rgba(10, 35, 63, 0.85), rgba(10, 35, 63, 0.85)),
    url('assets/hero-bg.jpg') center / cover no-repeat;
  color: var(--white);
  padding: 60px 0 66px;
}
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; font-weight: 800; }
.page-hero > .container > p { color: #cbd5e1; font-size: 16px; max-width: 660px; margin-top: 12px; }
.page-hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
  list-style: none;
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #64748b; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb .current { color: #fcd9b0; font-weight: 600; }

/* Intro das páginas */
.intro { max-width: 780px; margin: 0 auto; text-align: center; }
.intro h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.intro p { color: var(--muted); font-size: 16px; }
.intro .btn { margin-top: 22px; }

/* ---------- Grade de defeitos ---------- */
.defeitos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.defeito {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.defeito:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.defeito-num {
  position: absolute; top: 12px; right: 18px;
  font-size: 26px; font-weight: 800; color: #dbeafe;
}
.defeito h4 { font-size: 15px; margin-bottom: 6px; padding-right: 34px; }
.defeito p { font-size: 14px; color: var(--muted); }

/* Variante da página de geladeiras: defeitos agrupados por categoria */
.defeitos-grid--grupos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defeitos-grid--grupos .defeito h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-right: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.defeitos-grid--grupos .defeito h4::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent);
  flex-shrink: 0;
}
.defeitos-grid--grupos .defeito ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.defeitos-grid--grupos .defeito li {
  font-size: 14px;
  color: var(--dark);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.defeitos-grid--grupos .defeito li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #dbeafe;
  border: 2px solid var(--primary);
}

/* ---------- Marcas atendidas (carrossel infinito) ---------- */
.brands-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
  display: flex;
  width: max-content;
}
.brands-slide {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex-shrink: 0;
}
.brands-slide img {
  height: 46px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.brands-slide img:hover {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .brands-slide img { transition: none; }
}

/* Lote de informações na página de contato */
.contact-chips { margin-top: 26px; }
.contact-chips h4 { font-size: 14px; color: var(--dark); margin-bottom: 12px; }
.contact-chips .brand-chip { margin: 0 8px 10px 0; }
.brand-chip::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ---------- Perguntas frequentes (FAQ) ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 46px 16px 18px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  color: var(--dark);
}
.faq summary::after {
  content: "+";
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); font-size: 14px; }

/* Responsivo das páginas internas */
@media (max-width: 992px) {
  .defeitos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .defeitos-grid { grid-template-columns: 1fr; }
  .defeitos-grid--grupos { grid-template-columns: 1fr; }
  .topbar { display: none; }
}

/* =====================================================================
   DEPOIMENTOS (avaliações do Google)
===================================================================== */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: -28px 0 36px;
}
.reviews-summary .stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.reviews-summary .stars svg { width: 20px; height: 20px; }
.reviews-summary p { font-size: 15px; color: var(--muted); font-weight: 500; margin: 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-stars { display: inline-flex; gap: 2px; color: #fbbf24; margin-bottom: 12px; }
.review-stars svg { width: 15px; height: 15px; }
.review-text { font-size: 14px; line-height: 1.55; color: var(--dark); flex: 1; }
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.review-avatar {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.review-name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.review-when { font-size: 12px; color: var(--muted); }
.review-source { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.review-source svg { width: 13px; height: 13px; flex-shrink: 0; }
.reviews-all { text-align: center; margin-top: 34px; }

@media (max-width: 992px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}