/* BritesCarLab — design moderno 2025 */
:root {
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --bg-dark: #0d1117;
  --bg-dark-soft: #161b22;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --highlight: #f59e0b;
  --highlight-soft: #fef3c7;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: "Inter", system-ui, sans-serif;
  --header-h: 118px;
  --max: 1180px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--accent);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
}

.logo img {
  height: 108px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  background: transparent;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  line-height: 0;
  background: transparent;
}

.footer-logo img {
  height: 108px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  background: transparent;
}

.footer-brand p {
  margin: 0;
  max-width: 320px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  color: var(--text) !important;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  pointer-events: none;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  min-height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--bg-dark);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .sub a {
  padding-left: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 17, 23, 0.88) 0%, rgba(13, 17, 23, 0.55) 55%, rgba(13, 17, 23, 0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-features span {
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-features strong { color: #fff; }

/* Sections */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* Promo strip — domicílio + chave + agendar */
.promo-strip {
  background: var(--bg-dark);
  color: #fff;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.promo-strip-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.promo-strip-sub {
  margin: 0.15rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--highlight);
}

.promo-strip-text p:last-child {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 420px;
}

.promo-strip-diagnostico,
.promo-strip-key {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

.promo-strip-diagnostico img {
  max-height: 150px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.promo-strip-key img {
  max-height: 150px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.promo-strip-action {
  text-align: center;
}

.promo-strip-action .btn-primary {
  white-space: nowrap;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card.featured {
  border-color: var(--highlight);
  box-shadow: 0 0 0 1px var(--highlight), var(--shadow);
}

.service-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--highlight);
  color: #78350f;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.service-card { position: relative; }

.service-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.service-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.service-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.service-body .link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Keys highlight section */
.keys-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d1117 100%);
  color: #fff;
  padding: 5rem 0;
}

.keys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.keys-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.keys-content p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.keys-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.keys-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.keys-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.keys-list li::before {
  content: "✓";
  color: #93c5fd;
  font-weight: 700;
}

.keys-visual {
  background: transparent;
  border: none;
  padding: 0;
}

.keys-visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats */
.stats-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-item p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-weight: 500;
}

/* CTA */
.cta-section {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-section p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow);
}

.cta-section .btn-primary:hover {
  background: #f8fafc;
  color: var(--accent-hover);
}

/* Page hero (inner) */
.page-hero {
  background: var(--bg-dark) url("../images/hero-bg.jpg") center / cover;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.75);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  opacity: 0.85;
  font-size: 1.1rem;
}

/* Content */
.page-content {
  padding: 4rem 0;
}

.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.content-card h2:first-child { margin-top: 0; }

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-row:last-child { border-bottom: none; }

.service-row .icon-lg {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.service-row h3 { margin: 0 0 0.5rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-q::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

/* Coupons */
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.coupon {
  background: linear-gradient(145deg, var(--accent), #1e40af);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.coupon .amount {
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.coupon .label { font-size: 0.9rem; opacity: 0.9; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.contact-info-box {
  background: var(--bg-dark);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-info-box h3 { margin-top: 0; color: #fff; }

.contact-info-box a { color: #93c5fd; }

.contact-info-box a.btn,
.contact-info-box .btn,
.contact-grid .btn {
  color: #fff;
}

.contact-info-box a.btn:hover,
.contact-info-box a.btn:focus,
.contact-info-box .btn:hover,
.contact-info-box .btn:focus,
.contact-grid .btn:hover,
.contact-grid .btn:focus {
  color: #fff;
}

.contact-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-box li {
  padding: 0.5rem 0;
  opacity: 0.9;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.96);
  transition: transform var(--transition);
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.modal h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }

.modal > p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.form-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 1.5rem 0 0.75rem;
  grid-column: 1 / -1;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: #fff;
  padding: 1rem 0;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-bar.show { transform: translateY(0); }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p { margin: 0; flex: 1; font-size: 0.9rem; }

/* B2B */
.b2b-banner {
  background: linear-gradient(135deg, var(--accent), #1e40af);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

/* Responsive */
/* Espaço no fundo para o botão flutuante não tapar conteúdo */
body {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
}

@media (max-width: 992px) {
  .nav-desktop { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: flex; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .keys-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .coupons-grid { grid-template-columns: 1fr; }
  .promo-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .promo-strip-text p:last-child {
    max-width: none;
    margin-inline: auto;
  }

  .promo-strip-diagnostico img,
  .promo-strip-key img {
    max-height: 120px;
  }
}

/* Service card link wrapper */
.service-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.service-card-link:hover { color: inherit; }

.service-card-link .link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.services-grid-8 {
  grid-template-columns: repeat(4, 1fr);
}

.services-page-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
}

/* Service detail page */
.service-detail-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.45) 100%);
}

.service-detail-hero .container {
  position: relative;
  z-index: 1;
}

.service-detail-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.service-detail-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.service-detail-hero p {
  margin: 0;
  max-width: 560px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.service-detail-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.service-detail-list {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  line-height: 1.8;
}

.service-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  border: none;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1ebe57;
  color: #fff !important;
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* WhatsApp — ícone compacto no header (mobile) */
.btn-call-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
  min-width: 44px;
  min-height: 44px;
  box-shadow: none;
}

.btn-call-mobile:hover,
.btn-call-mobile:focus {
  background: transparent;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.btn-call-mobile svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* Botão flutuante WhatsApp — visível em PC, Android e iPhone */
.call-fab {
  display: flex;
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1400;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.call-fab:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.55);
}

.call-fab:active {
  transform: scale(0.98);
}

.call-fab svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: #fff;
}

.call-fab--raised {
  bottom: calc(5.75rem + env(safe-area-inset-bottom));
}

.mobile-nav-call {
  color: #25d366 !important;
  font-weight: 600;
  border-bottom: none !important;
  margin-top: 0.5rem;
}

.mobile-nav-cta {
  margin-top: 1.25rem;
  width: 100%;
  text-align: center;
}

body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .services-grid-8 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 88px;
  }

  html { overflow-x: hidden; }

  .container {
    width: min(var(--max), 94%);
  }

  .logo img {
    height: 72px;
    max-width: 280px;
  }

  .footer-logo img {
    height: 80px;
    max-width: 300px;
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 0.5rem;
  }

  .mobile-nav {
    top: var(--header-h);
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav a {
    padding: 1rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .hero-lead { font-size: 1rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .promo-strip {
    padding: 1.5rem 0;
  }

  .promo-strip-diagnostico img,
  .promo-strip-key img {
    max-height: 100px;
    margin-inline: auto;
  }

  .services-grid,
  .services-grid-8 { grid-template-columns: 1fr; }

  .service-img { height: 200px; }

  .service-detail-hero {
    min-height: 220px;
    padding: 2rem 0 1.75rem;
  }

  .service-detail-cta {
    flex-direction: column;
  }

  .service-detail-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .keys-grid .keys-visual { order: -1; }

  .keys-actions {
    flex-direction: column;
  }

  .keys-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    align-self: flex-end;
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-overlay.active { display: flex; }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-inner .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .page-hero h1 { font-size: 1.75rem; }

  .steps { grid-template-columns: 1fr; }
  .keys-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-dropdown-menu {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
