/* ==========================================================================
   GARAGE 469 SERVIÇOS AUTOMOTIVOS — FOZ DO IGUAÇU / PR
   Design System: Carbon Obsidian (#090B0F) + Racing Yellow (#FACC15) + Daylight (#F5F7FA)
   ========================================================================== */

:root {
  --bg-dark: #090b0f;
  --bg-dark-elevated: #11151d;
  --bg-dark-card: rgba(18, 22, 31, 0.82);
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --text-dark: #0d1117;
  --text-dark-muted: #4b5563;
  --text-light: #f9fafb;
  --text-light-muted: #9ca3af;
  --accent: #facc15;
  --accent-hover: #eab308;
  --accent-glow: rgba(250, 204, 21, 0.28);
  --border-dark: rgba(255, 255, 255, 0.11);
  --border-light: #e2e8f0;
  --success: #22c55e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-light: 0 12px 32px rgba(15, 23, 42, 0.07);
  --font-display: 'Chakra Petch', 'Oswald', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER FIXO + DRAWER MOBILE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 11, 15, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(9, 11, 15, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

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

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-title span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
  transition: color 0.2s ease;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #d1d5db;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.header-location svg {
  color: var(--accent);
  flex-shrink: 0;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #090b0f;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px var(--accent-glow);
  white-space: nowrap;
}

.btn-yellow:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.45);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #0d1017;
  border-left: 1px solid var(--border-dark);
  z-index: 120;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.drawer-links a {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.drawer-footer {
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   HERO SECTION (HÍBRIDO 1-B + SELETOR & SEGURADORAS 1-C + SELOS 1-A)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  padding-top: 96px;
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #07090d;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.86) 44%, rgba(7, 9, 13, 0.32) 76%, rgba(7, 9, 13, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.5) 0%, rgba(7, 9, 13, 0.15) 55%, rgba(7, 9, 13, 0.95) 100%),
    url('bg-hero.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  gap: 32px;
  align-items: center;
  margin: auto 0;
  padding: 18px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.badge-pill-yellow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #090b0f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.badge-pill-google {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 19, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3f4f6;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.badge-pill-google .stars {
  color: var(--accent);
  letter-spacing: 1px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-title .highlight {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 32px rgba(250, 204, 21, 0.22);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #d1d5db;
  max-width: 590px;
  line-height: 1.55;
}

.hero-subtitle strong {
  color: #ffffff;
}

/* Seletor Interativo de 4 Necessidades (do 1-c) */
.hero-selector-wrap {
  background: rgba(13, 17, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.selector-header span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.hero-need-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.need-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: left;
  color: #f9fafb;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
}

.need-card:hover,
.need-card.active {
  background: rgba(250, 204, 21, 0.11);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.need-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(250, 204, 21, 0.16);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.need-card strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.need-card small {
  display: block;
  font-size: 0.71rem;
  color: #9ca3af;
  line-height: 1.3;
}

.need-arrow {
  align-self: flex-end;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #090b0f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* Hero CTAs */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-hero-primary {
  padding: 15px 24px;
  font-size: 0.98rem;
  border-radius: 10px;
}

.btn-hero-secondary {
  padding: 15px 20px;
  font-size: 0.94rem;
  border-radius: 10px;
}

/* Selos Minimalistas Inferior Esquerdo (da 1-a) */
.hero-minimal-seals {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.minimal-seal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.minimal-seal svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.minimal-seal span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #d1d5db;
}

/* Barra de Seguradoras no Rodapé da Hero (do 1-c) */
.hero-insurers-bar {
  margin-top: 22px;
  background: rgba(12, 16, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.insurers-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insurers-label-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(250, 204, 21, 0.15);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurers-label div strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.insurers-label div span {
  font-size: 0.75rem;
  color: #9ca3af;
}

.insurers-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.insurer-chip {
  padding: 6px 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: 0.03em;
}

.insurer-chip.highlight-chip {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.45);
  color: var(--accent);
}

/* ==========================================================================
   SEÇÃO 2: SIMULADOR / CALCULADORA ULTRA-COMPACTA (CLARA #F5F7FA)
   ========================================================================== */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 72px 0;
}

.section-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 72px 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 76px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-light .section-tag,
.section-white .section-tag {
  background: #fef08a;
  color: #713f12;
  border: 1px solid #fde047;
}

.section-dark .section-tag {
  background: rgba(250, 204, 21, 0.14);
  color: var(--accent);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 8px;
  font-size: 0.98rem;
  max-width: 660px;
}

.section-light .section-desc,
.section-white .section-desc {
  color: var(--text-dark-muted);
}

.section-dark .section-desc {
  color: var(--text-light-muted);
}

/* Card da Calculadora */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.calc-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.calc-pill {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.calc-pill.active {
  background: #0f172a;
  color: var(--accent);
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-btn.active,
.preset-btn:hover {
  background: #fef9c3;
  border-color: #eab308;
  color: #713f12;
}

.slider-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  border-radius: 10px;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slider-top span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.slider-top strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 6px;
}

input[type="range"].calc-range {
  width: 100%;
  accent-color: #0f172a;
  height: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.calc-results-box {
  background: #0d1117;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #1e293b;
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
}

.calc-metric span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.calc-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: 3px;
}

.calc-cta-full {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.92rem;
}

.calc-note {
  font-size: 0.74rem;
  color: #9ca3af;
  text-align: center;
}

/* ==========================================================================
   SEÇÃO 3: BASTIDORES EM VÍDEO (.MP4) + PORTFÓLIO REAL (ESCURA)
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 52px;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #141923;
  border: 1px solid var(--border-dark);
  aspect-ratio: 9 / 14;
  max-height: 460px;
  width: 100%;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%, rgba(7,9,13,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  pointer-events: none;
}

.video-badge {
  align-self: flex-start;
  background: rgba(9, 11, 15, 0.8);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.video-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-bottom h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.video-bottom p {
  font-size: 0.8rem;
  color: #d1d5db;
}

.btn-audio-toggle {
  pointer-events: auto;
  align-self: flex-start;
  background: var(--accent);
  color: #090b0f;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Filtro de Portfólio */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e5e7eb;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #090b0f;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: #121722;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.04);
}

.portfolio-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 11, 15, 0.86);
  color: var(--accent);
  border: 1px solid rgba(250, 204, 21, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.portfolio-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.portfolio-body h4 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: #ffffff;
}

.portfolio-body p {
  font-size: 0.84rem;
  color: #9ca3af;
  flex: 1;
}

.portfolio-link {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SEÇÃO 4: SOLUÇÕES & GUIA TÉCNICO (BENTO GRID CLARO #FFFFFF)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
  border-color: #cbd5e1;
}

.bento-card.bento-featured {
  grid-column: span 2;
  background: #0d1117;
  color: #ffffff;
  border-color: #1e293b;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef08a;
  color: #090b0f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-featured .bento-icon {
  background: var(--accent);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.bento-card p {
  font-size: 0.9rem;
  color: #475569;
}

.bento-featured p {
  color: #cbd5e1;
}

.bento-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-list li {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #1e293b;
}

.bento-featured .bento-list li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* ==========================================================================
   SEÇÃO 5: COMPARADOR INTERATIVO ANTES × DEPOIS (CLARA #F5F7FA)
   ========================================================================== */
.ba-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.ba-viewer {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-light);
  border: 2px solid #0f172a;
  user-select: none;
  --pos: 50%;
}

.ba-viewer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  z-index: 2;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--accent);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #090b0f;
  border: 3px solid #090b0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.ba-tag {
  position: absolute;
  bottom: 14px;
  z-index: 4;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ba-tag-before {
  left: 14px;
  background: rgba(9, 11, 15, 0.85);
  color: #ffffff;
}

.ba-tag-after {
  right: 14px;
  background: var(--accent);
  color: #090b0f;
}

.ba-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 5;
  cursor: ew-resize;
}

.ba-case-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ba-case-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ba-case-btn.active,
.ba-case-btn:hover {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.ba-case-btn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.ba-case-btn.active strong {
  color: var(--accent);
}

.ba-case-btn span {
  font-size: 0.84rem;
  color: #64748b;
}

.ba-case-btn.active span {
  color: #cbd5e1;
}

/* ==========================================================================
   SEÇÃO 6: ESPECIALISTAS & SETORES (GRID 4 DESKTOP / 2×2 MOBILE OBRIGATÓRIO)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  background: #121722;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a202c;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-role {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.team-desc {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* ==========================================================================
   SEÇÃO 7: AVALIAÇÕES REAIS DO GOOGLE (GRID DESKTOP / CARROSSEL MOBILE)
   ========================================================================== */
.reviews-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.google-score-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
}

.google-score-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #eab308;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: #1e293b;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.carousel-hint {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-top: 10px;
  text-align: center;
}

/* ==========================================================================
   SEÇÃO 8: FAQ + LOCALIZAÇÃO + RODAPÉ COM SELO SARTORIA (ESCURA)
   ========================================================================== */
.faq-location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #121722;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question span.faq-icon {
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] span.faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: #9ca3af;
  display: none;
}

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

.location-card {
  background: #121722;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-row svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-row strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
}

.location-row span {
  font-size: 0.85rem;
  color: #9ca3af;
}

.site-footer {
  background: #06080b;
  border-top: 1px solid var(--border-dark);
  padding: 36px 0 28px;
  color: #9ca3af;
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE-NATIVE (<= 900px e <= 768px)
   ========================================================================== */
@media (max-width: 960px) {
  .desktop-nav,
  .header-location {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .calc-card,
  .ba-layout,
  .faq-location-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.bento-featured {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 64px;
  }

  .header-right .btn-yellow {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 78px;
    background-position: 68% center;
  }

  .hero-title {
    font-size: 2.05rem;
  }

  .hero-need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .need-card {
    padding: 10px;
  }

  .hero-minimal-seals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Regra Obrigatória 3: Calculadora <= 100svh no Mobile (cabe inteira em 1 tela 390x844) */
  #simulador.section-light {
    padding: 18px 0;
    min-height: auto;
  }

  #simulador .section-header {
    margin-bottom: 10px;
  }

  #simulador .section-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    margin-bottom: 4px;
  }

  #simulador .section-title {
    font-size: 1.25rem;
  }

  #simulador .section-desc {
    display: none;
  }

  .calc-card {
    padding: 14px;
    gap: 12px;
  }

  .calc-controls {
    gap: 10px;
  }

  .calc-label {
    font-size: 0.68rem;
    margin-bottom: 4px;
  }

  .calc-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .calc-pill {
    padding: 7px 6px;
    font-size: 0.74rem;
  }

  .preset-btn {
    padding: 5px 9px;
    font-size: 0.7rem;
  }

  .slider-box {
    padding: 8px 10px;
  }

  .slider-top strong {
    font-size: 0.92rem;
  }

  .calc-results-box {
    padding: 12px;
    gap: 10px;
  }

  .calc-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .calc-metric {
    padding: 8px;
  }

  .calc-metric span {
    font-size: 0.62rem;
  }

  .calc-metric strong {
    font-size: 0.88rem;
  }

  .calc-cta-full {
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  .calc-note {
    display: none;
  }

  /* Vídeos e Portfólio no Mobile */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-card {
    aspect-ratio: 16 / 10;
    max-height: 250px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Regra Obrigatória 5: Cards de Equipe em Grid Duplo 2x2 no Mobile */
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-info {
    padding: 10px;
  }

  .team-role {
    font-size: 0.62rem;
  }

  .team-name {
    font-size: 0.88rem;
  }

  .team-desc {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* Regra Obrigatória 6: Avaliações Google em Carrossel Horizontal no Mobile */
  .reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    min-width: 85%;
    scroll-snap-align: start;
    padding: 18px;
  }

  .carousel-hint {
    display: block;
  }
}
