/* =====================================================================
   Auto Elétrica Diego — estilos
   Paleta e tipografia conforme o Guia Visual do projeto.
   ===================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #080A0C;
  --charcoal: #111519;
  --charcoal-2: #161B20;
  --yellow: #FFD400;
  --yellow-dark: #E8B900;
  --white: #F5F7F8;
  --gray-light: #B8C0C8;
  --gray-steel: #9CA6AF;

  --line: rgba(156, 166, 175, 0.16);
  --line-strong: rgba(156, 166, 175, 0.28);

  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--black); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hl { color: var(--yellow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gray-light);
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--yellow); }
.eyebrow--center { justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--btn-h); padding: 0 1.4em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--yellow); color: var(--black); box-shadow: 0 8px 24px -10px rgba(255, 212, 0, .55); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { border-color: var(--yellow); color: var(--yellow); background: rgba(255, 212, 0, .04); }
.btn-outline:hover { background: rgba(255, 212, 0, .12); }
.btn-ghost { background: var(--charcoal-2); border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost .icon { color: var(--yellow); }
.btn-sm { --btn-h: 46px; font-size: 0.92rem; padding: 0 1.15em; }
.btn-lg { --btn-h: 60px; font-size: 1.05rem; padding: 0 1.6em; }
.btn .icon-arrow { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.link-underline {
  display: inline-flex; align-items: center; min-height: 48px;
  font-weight: 600; color: var(--white);
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left calc(50% + 0.85em) / 100% 2px;
  transition: color .2s var(--ease), background-size .25s var(--ease);
}
.link-underline:hover { color: var(--yellow); }
.link-underline--muted { color: var(--gray-light); font-size: 0.94rem; }

/* ---------- 1. Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(8, 10, 12, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, .7) 20%, rgba(255, 212, 0, .7) 80%, transparent);
  opacity: .55;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.main-nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; font-size: 0.97rem; color: var(--white);
  transition: color .2s var(--ease);
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: 4px; height: 3px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--yellow); }
.main-nav a.is-active { color: var(--yellow); }
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-cta { margin-left: clamp(8px, 2vw, 32px); }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-left: 4px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(540px, calc(100svh - var(--header-h) - 104px), 780px);
  display: flex; align-items: center;
  background: var(--black);
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 72%; z-index: -2; display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--black) 26%, rgba(8, 10, 12, .82) 40%, rgba(8, 10, 12, .35) 62%, rgba(8, 10, 12, .05) 85%),
    linear-gradient(0deg, rgba(8, 10, 12, .85) 0%, rgba(8, 10, 12, 0) 26%),
    linear-gradient(180deg, rgba(8, 10, 12, .45) 0%, rgba(8, 10, 12, 0) 18%);
}
.hero-stripes {
  position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 40%;
  background: radial-gradient(60% 50% at 10% 55%, rgba(255, 212, 0, .07), transparent 70%);
  pointer-events: none;
}
.hero-content { padding-block: clamp(56px, 8vw, 96px); }
.hero-content > * { max-width: 680px; }
.hero-content > h1 { max-width: 940px; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 4.9vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  text-wrap: balance;
}
.hero h1 .hl { display: block; }
@media (min-width: 1024px) { .hero h1 .hl { white-space: nowrap; } }
.hero-lead {
  margin-top: 22px; max-width: 520px;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.45; color: var(--gray-light);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }

/* ---------- 3. Faixa de serviços ---------- */
.service-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--charcoal) 0%, #0D1114 100%);
  border-block: 1px solid var(--line);
}
.service-strip::after {
  content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 180px; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 212, 0, .85) 22px 30px, transparent 30px 52px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%);
  mask: linear-gradient(90deg, transparent, #000 60%);
  opacity: .55;
}
.strip-list { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.strip-list li {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 30px 20px;
}
.strip-list li + li { border-left: 1px solid var(--line-strong); }
.strip-icon { width: 52px; height: 52px; color: var(--yellow); }
.strip-list h2 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.strip-list p { margin-top: 4px; font-size: 0.93rem; color: var(--gray-light); }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-pad); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head .section-title { margin-top: 18px; }
.section-head .section-text { margin-top: 18px; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end;
}
.section-head--split .section-text { margin-top: 0; padding-bottom: 6px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; text-wrap: balance; }
.section-title--sm { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-text { color: var(--gray-light); font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 620px; }

/* ---------- 4. Cartões de serviço ---------- */
.services { background: var(--black); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8); }
.card:hover::before { transform: scaleX(1); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0d1013; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.card-title { display: flex; align-items: center; gap: 14px; }
.card-icon { width: 34px; height: 34px; color: var(--yellow); }
.card h3 { font-size: 1.3rem; font-weight: 700; }
.card p { color: var(--gray-light); }
.card-link {
  margin-top: auto; padding-top: 8px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 0.95rem; color: var(--yellow);
}
.card-link .icon { transition: transform .2s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- 5. Galeria da oficina ---------- */
.workshop { background: var(--charcoal); border-block: 1px solid var(--line); }
.gallery {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
}
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d1013; }
.gallery-item--main { grid-row: span 2; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery-open picture { height: 100%; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 40px 20px 16px; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(0deg, rgba(8, 10, 12, .88), transparent);
  display: flex; align-items: center; gap: 10px;
}
.gallery-item figcaption::before { content: ""; width: 18px; height: 3px; background: var(--yellow); border-radius: 2px; }
.gallery-zoom {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 10, 12, .65); color: var(--yellow); border: 1px solid var(--line-strong);
  opacity: 0; transition: opacity .25s var(--ease);
}
.gallery-zoom .icon { width: 18px; height: 18px; }
.gallery-open:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { opacity: 1; }

.lightbox {
  padding: 0; border: 0; background: transparent; color: var(--white);
  max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 5, 6, .9); }
.lightbox img { width: auto; max-width: 100%; max-height: calc(92vh - 56px); margin-inline: auto; border-radius: var(--radius); }
.lightbox-caption { text-align: center; color: var(--gray-light); margin-top: 12px; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: -8px; right: -8px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--black); border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---------- 6. Diferenciais ---------- */
.values { background: var(--black); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.value {
  padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--charcoal) 0%, rgba(17, 21, 25, .4) 100%);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.value:hover { border-color: rgba(255, 212, 0, .35); }
.value-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px;
  background: rgba(255, 212, 0, .08); border: 1px solid rgba(255, 212, 0, .28); color: var(--yellow);
}
.value-icon .icon { width: 28px; height: 28px; }
.value h3 { margin-top: 22px; font-size: 1.15rem; font-weight: 700; }
.value p { margin-top: 10px; color: var(--gray-light); font-size: 0.96rem; }

/* ---------- 7. Avaliações ---------- */
.reviews { padding-top: 0; background: var(--black); }
.reviews-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 48px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(255, 212, 0, .10), transparent 55%),
    var(--charcoal);
  border: 1px solid var(--line-strong);
}
.reviews-stars { display: flex; gap: 4px; color: var(--yellow); }
.reviews-stars .icon { width: 26px; height: 26px; }
.reviews-copy .section-title { margin-top: 14px; }
.reviews-copy .section-text { margin-top: 10px; }
.reviews-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* ---------- 8. Localização ---------- */
.location { background: var(--charcoal); border-block: 1px solid var(--line); }
.location-grid {
  display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.location-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3vw, 40px);
  background: var(--black); border: 1px solid var(--line-strong); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.location-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow);
}
.location-pin {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  box-shadow: 0 0 0 8px rgba(255, 212, 0, .12);
}
.location-pin .icon { width: 30px; height: 30px; }
.location-card h3 { margin-top: 26px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; }
.location-city { margin-top: 8px; color: var(--yellow); font-weight: 600; }
.location-address { margin-top: 6px; color: var(--gray-light); }
.location-actions { margin-top: 28px; display: grid; gap: 12px; width: 100%; }
.location-phone {
  margin-top: auto; padding-top: 28px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--gray-light); font-weight: 600;
}
.location-phone .icon { color: var(--yellow); }
.location-phone:hover { color: var(--white); }

.map-frame {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: #0d1013;
}
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1;
  filter: grayscale(.25) contrast(1.05);
}
.map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--gray-light); font-weight: 600;
  background: repeating-linear-gradient(45deg, #0d1013 0 14px, #101418 14px 28px);
}
.map-fallback .icon { width: 40px; height: 40px; color: var(--yellow); }

/* ---------- 9. Contato ---------- */
.cta { background: var(--black); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(60% 120% at 100% 100%, rgba(255, 212, 0, .16), transparent 60%),
    linear-gradient(135deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid rgba(255, 212, 0, .28);
}
.cta-stripes {
  position: absolute; z-index: -1; right: -60px; top: -20px; bottom: -20px; width: 300px;
  background: repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 212, 0, .9) 28px 38px, transparent 38px 66px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 70%);
  mask: linear-gradient(90deg, transparent, #000 70%);
  opacity: .22;
}
.cta-title { margin-top: 18px; max-width: 820px; font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; text-wrap: balance; }
.cta .section-text { margin-top: 18px; }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.cta-phone { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; }
.cta-phone > .icon {
  width: 48px; height: 48px; padding: 12px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--yellow);
  transition: border-color .2s var(--ease);
}
.cta-phone:hover > .icon { border-color: var(--yellow); }
.cta-phone small { display: block; font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-steel); }
.cta-phone strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }

/* ---------- 10. Rodapé ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 18px; color: var(--gray-steel); font-size: 0.95rem; max-width: 320px; }
.footer-title { font-size: 0.82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
.footer-list { margin-top: 18px; display: grid; gap: 4px; }
.footer-list a, .footer-hours {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px;
  color: var(--gray-light); font-size: 0.97rem; transition: color .2s var(--ease);
}
.footer-list a:hover { color: var(--yellow); }
.footer-contact .icon { color: var(--yellow); width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); padding-block: 24px;
  border-top: 1px solid var(--line); color: var(--gray-steel); font-size: 0.88rem;
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
}
.credit { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.credit-label { font-size: 0.7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-steel); }
.credit-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: .01em;
  color: var(--gray-light); transition: color .2s var(--ease);
}
.credit-link .icon { width: 14px; height: 14px; color: var(--yellow); transition: transform .2s var(--ease); }
.credit-link:hover { color: var(--white); }
.credit-link:hover .icon { transform: translate(2px, -2px); }
/* reserva espaço para o botão flutuante de WhatsApp não cobrir a assinatura */
@media (min-width: 768px) { .footer-bottom { padding-bottom: 100px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- WhatsApp flutuante e barra mobile ---------- */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--black);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 212, 0, .14);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--yellow-dark); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.mobile-bar { display: none; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Responsivo
   ===================================================================== */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-panel { grid-template-columns: 1fr auto; }
  .reviews-stars { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: rgba(8, 10, 12, .98); border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a:not(.btn) { display: flex; min-height: 56px; font-size: 1.08rem; }
  .main-nav a:not(.btn)::after { left: 0; right: auto; width: 24px; bottom: 10px; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 16px; }

  .strip-list li { flex-direction: column; text-align: center; gap: 10px; padding: 24px 12px; }
  .strip-icon { width: 44px; height: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .cards .card:last-child .card-media { flex: 1.15; aspect-ratio: auto; min-height: 260px; }
  .cards .card:last-child .card-body { flex: 1; justify-content: center; }

  .section-head--split { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .location-actions { grid-template-columns: 1fr 1fr; }
  .map-frame { min-height: 400px; }
}

@media (max-width: 767px) {
  .hero { align-items: flex-end; min-height: calc(100svh - var(--header-h)); max-height: 900px; }
  .hero-media { inset: 0 0 auto 0; width: 100%; height: min(125vw, 100%); }
  .hero-media img { object-position: 55% 50%; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 12, .5) 0%, rgba(8, 10, 12, 0) 20%, rgba(8, 10, 12, .15) 38%, rgba(8, 10, 12, .88) 66%, var(--black) 96%);
  }
  .hero::before { display: none; }
  .hero-stripes { display: none; }
  .hero-content { padding-block: 72vw 40px; }
  .hero-content .eyebrow, .hero h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, .55); }
  .hero h1 { margin-top: 16px; font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .hero-lead { margin-top: 16px; }
  .hero-actions { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-underline { align-self: center; }

  .strip-list { grid-template-columns: 1fr; padding-block: 8px; }
  .strip-list li { flex-direction: row; text-align: left; justify-content: flex-start; gap: 18px; padding: 18px 4px; }
  .strip-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .strip-icon { width: 44px; height: 44px; }
  .service-strip::after { width: 110px; opacity: .35; }

  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; flex-direction: column; }
  .cards .card:last-child .card-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--main { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:not(.gallery-item--main) figcaption { font-size: .82rem; padding: 32px 12px 10px; }
  .gallery-zoom { opacity: 1; width: 34px; height: 34px; top: 10px; right: 10px; }

  .section-head--center { text-align: left; }
  .eyebrow--center { justify-content: flex-start; }
  .values-grid { grid-template-columns: 1fr; }
  .value { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px 20px; }
  .value-icon { grid-row: span 2; width: 50px; height: 50px; }
  .value h3 { margin-top: 2px; }
  .value p { margin-top: 6px; }

  .reviews-panel { grid-template-columns: 1fr; text-align: left; }
  .reviews-actions { align-items: stretch; }
  .reviews-actions .btn { width: 100%; }

  .location-actions { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .cta-phone { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .credit { align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }

  /* Barra de ações no celular substitui o botão flutuante */
  .wa-float { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 10, 12, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-strong);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
    border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  }
  .mobile-bar-wa { background: var(--yellow); color: var(--black); }
  .mobile-bar-map { background: var(--charcoal-2); border: 1px solid var(--line-strong); }
  .mobile-bar-map .icon { color: var(--yellow); }
}

@media (max-width: 560px) {
  .header-cta { width: 48px; min-height: 48px; padding: 0; }
  .header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta .icon { width: 24px; height: 24px; }
  .brand img { height: 42px; }
}

@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-bar a { font-size: .9rem; gap: 6px; }
  .eyebrow { letter-spacing: .24em; }
  .hero h1 { font-size: 2.15rem; }
}
