/* =========================================================
   AutoFix Centro Automotivo — Campo Grande, MS
   Sistema visual: "sinalização de oficina" — claro, utilitário,
   Barlow condensada nos títulos e rótulos, amarelo de faixa nos botões.
   ========================================================= */

/* ============ tokens ============ */
:root {
  --ground: #F1F2F0;        /* fundo — branco de parede, levemente frio */
  --surface: #FFFFFF;       /* cartões */
  --surface-warm: #E9EAE5;  /* seções alternadas */
  --ink: #17251F;           /* verde-cerrado quase preto — cabeçalho, rodapé, títulos */
  --ink-soft: #3A453F;      /* texto corrido sobre claro */
  --muted: #59635D;         /* legendas, metadados (AA em --ground) */
  --signal: #1F6B4D;        /* verde de placa de rodovia — links, confiança */
  --signal-dark: #17553D;
  --go: #F2B417;            /* amarelo de faixa de pista — CTA principal */
  --go-dark: #DA9E0A;
  --go-ink: #2A2100;        /* texto sobre o amarelo */
  --clay: #A6543E;          /* terra roxa desbotada — filete/realce da seção "interior" */
  --clay-dark: #8E4029;     /* terra roxa para texto sobre claro (AA) */
  --line: #D6D7D1;          /* filetes */
  --line-strong: #BFC1B9;

  /* Barlow: desenhada a partir das placas de rodovia e de carro — uma família só,
     condensada nos títulos e rótulos, normal no texto. */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --whats: #25D366;         /* verde do WhatsApp — botão flutuante e barra do celular */
  --whats-ink: #0B2A17;

  --largura-max: 1140px;
  --raio: 10px;
  --raio-lg: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ico-whats: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  --lane: 4px;              /* espessura da "faixa de pista" */
}

/* ============ fontes (hospedadas no próprio site) ============ */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fontes/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fontes/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fontes/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fontes/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fontes/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fontes/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
picture { display: contents; }

/* ============ reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--ground);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--signal-dark); }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--go); color: var(--go-ink); }
section[id] { scroll-margin-top: 64px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.7rem + 5vw, 5rem); line-height: .95; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1rem; text-wrap: pretty; }

/* ============ layout / ritmo ============ */
.container { width: 100%; max-width: var(--largura-max); margin-inline: auto; padding-inline: 22px; }
.secao { padding-block: clamp(52px, 4rem + 4vw, 104px); }
.secao--warm { background: var(--surface-warm); }
.secao--ink { background: var(--ink); color: #D9DED9; }
.secao--ink h2 { color: #fff; }
.secao__intro { max-width: 46ch; color: var(--muted); margin-top: -.25rem; }

/* ============ botões ============ */
.btn {
  --_bg: var(--go);
  --_fg: var(--go-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .015em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--_fg);
  background: var(--_bg);
  border: 2px solid var(--_bg);
  border-radius: var(--raio);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { color: var(--_fg); transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(23,37,31,.55); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--whats::before,
.barra-acao__whats::before {
  content: "";
  width: 1.2em; height: 1.2em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ico-whats) center / contain no-repeat;
  mask: var(--ico-whats) center / contain no-repeat;
}
.btn--whats { --_bg: var(--go); --_fg: var(--go-ink); }
.btn--whats:hover { background: var(--go-dark); border-color: var(--go-dark); }
.btn--ligar {
  --_bg: transparent;
  --_fg: var(--ink);
  border-color: var(--ink);
}
.btn--ligar:hover { --_fg: #fff; color: #fff; background: var(--ink); border-color: var(--ink); }
.secao--ink .btn--ligar { --_fg: #fff; border-color: rgba(255,255,255,.5); }
.secao--ink .btn--ligar:hover { background: #fff; --_fg: var(--ink); color: var(--ink); border-color: #fff; }

.grupo-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ============ cabeçalho ============ */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: var(--lane) solid var(--go);
}
.cabecalho__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 10px;
}
.cabecalho__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.cabecalho__nome { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: #fff; }
.pular {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: .7rem 1rem;
  background: var(--go); color: var(--go-ink);
  font-weight: 600; border-radius: var(--raio);
}
.pular:focus { top: 12px; }
.cabecalho__logo img { height: 38px; width: 38px; border-radius: 6px; }
.cabecalho__nav { display: flex; gap: 1.6rem; margin-right: auto; margin-left: 1rem; }
.cabecalho__nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #C9D2CC;
  text-decoration: none;
  padding-block: .4rem;
  background: linear-gradient(var(--go), var(--go)) left bottom / 0 2px no-repeat;
  transition: color .2s, background-size .35s var(--ease);
}
.cabecalho__nav a:hover { color: #fff; background-size: 100% 2px; }
@media (max-width: 900px) { .cabecalho__nav { display: none; } }
.cabecalho__contato { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.cabecalho__tel {
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.cabecalho__tel:hover { color: var(--go); }
.cabecalho .btn { padding: .5rem 1rem; font-size: 1.05rem; }
@media (max-width: 620px) {
  .cabecalho__tel span { display: none; }
}
/* no celular a barra de baixo já tem o WhatsApp: o cabeçalho fica com o telefone */
@media (max-width: 800px) {
  .cabecalho .btn--whats { display: none; }
  .cabecalho__inner { min-height: 60px; }
}

/* ============ hero base ============ */
.hero h1 { margin-bottom: .35em; }
.hero__estado {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.1;
  text-wrap: balance;
  color: var(--go);
  text-decoration: none;
}
.hero__estado:hover { color: #fff; }
.hero__estado svg { width: .95em; height: .95em; flex: none; fill: currentColor; }
.hero__sub { font-size: 1.2rem; margin-bottom: 1.6rem; }
.hero .grupo-ctas { margin-bottom: 1rem; }
.horario { margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.45; color: #B7C0BA; max-width: 34rem; }
.cta-final .horario { margin: 1.4rem auto 0; }
.hero__prova {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin: 0;
  color: var(--muted);
}
.hero__prova b { color: var(--ink); font-weight: 600; }
.hero__prova span { color: var(--line-strong); padding: 0 .5em; }

/* ============ hero com foto (primeira dobra da home) ============ */
.hero--foto {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: var(--lane) solid var(--go);
}
.hero--foto .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}
.hero--foto .hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(23,37,31,.96) 0%,
      rgba(23,37,31,.86) 34%,
      rgba(23,37,31,.55) 66%,
      rgba(23,37,31,.28) 100%),
    linear-gradient(0deg, rgba(23,37,31,.35), rgba(23,37,31,0) 45%);
}
.hero--foto .hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 78svh, 720px);
  padding-block: clamp(48px, 8vh, 96px);
}
.hero--foto .hero__texto { max-width: 38rem; }
.hero--foto .hero__sub { max-width: 46ch; }
.hero--foto .hero__prova { max-width: 30rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero--foto .hero__texto > * { animation: subir .9s var(--ease) backwards; }
  .hero--foto .hero__texto > :nth-child(2) { animation-delay: .08s; }
  .hero--foto .hero__texto > :nth-child(3) { animation-delay: .16s; }
  .hero--foto .hero__texto > :nth-child(4) { animation-delay: .24s; }
  .hero--foto .hero__texto > :nth-child(5) { animation-delay: .32s; }
  .hero--foto .hero__texto > :nth-child(6) { animation-delay: .4s; }
  .hero--foto .hero__bg { animation: assentar 1.8s var(--ease) backwards; }
}
/* só transform: o texto nunca depende da animação para ficar visível */
@keyframes subir { from { transform: translateY(26px); } }
@keyframes assentar { from { transform: scale(1.07); } }
.hero--foto h1 { color: #fff; }
.hero--foto .hero__sub { color: #D4DAD5; }
.hero--foto .hero__prova { color: #AEB8B2; border-top-color: rgba(255,255,255,.24); }
.hero--foto .hero__prova b { color: #fff; }
.hero--foto .hero__prova a { display: inline-block; padding-block: .6rem; color: #D4DAD5; text-underline-offset: 4px; }
.hero--foto .hero__prova a:hover { color: var(--go); }
.hero--foto .hero__prova a:hover b { color: var(--go); }
.hero--foto .hero__prova span { color: rgba(255,255,255,.4); }
.hero--foto .btn--ligar { --_fg: #fff; border-color: rgba(255,255,255,.55); }
.hero--foto .btn--ligar:hover { background: #fff; --_fg: var(--ink); color: var(--ink); border-color: #fff; }
/* telas largas: texto sobre o verde, fachada inteira à direita */
@media (min-width: 1024px) {
  .hero--foto .hero__bg,
  .hero--foto .hero__scrim { left: 44%; width: 56%; }
  .hero--foto .hero__bg { object-position: center 30%; animation: none; }
  .hero--foto .hero__scrim {
    background: linear-gradient(90deg, var(--ink) 0%, rgba(23,37,31,.5) 4%, rgba(23,37,31,0) 11%);
  }
  .hero--foto .hero__texto { max-width: 30rem; }
}
/* celular: o letreiro aparece inteiro, sem escurecer, acima do texto */
@media (max-width: 720px) {
  .hero--foto .hero__bg {
    position: static;
    height: auto;
    aspect-ratio: 5 / 2;
    object-position: center 4%;
  }
  .hero--foto .hero__scrim { display: none; }
  .hero--foto .hero__inner { min-height: 0; padding-block: 28px 36px; }
  .hero--foto .hero__texto { max-width: none; }
}

/* ============ "o que a gente não faz" ============ */
.nao-faz {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.nao-faz .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
  padding-block: clamp(28px, 3vw, 40px);
}
.nao-faz__rotulo {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clay-dark);
  white-space: nowrap;
  padding-top: .15rem;
}
.nao-faz p { margin: 0; max-width: 62ch; }
.nao-faz b { color: var(--ink); }
@media (max-width: 620px) {
  .nao-faz .container { grid-template-columns: 1fr; gap: .5rem; }
}

/* ============ serviços ============ */
.servicos {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.servico {
  position: relative;
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--ink);
  color: #B7C0BA;
  border-radius: var(--raio-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.servico h3 { font-size: 2.1rem; font-weight: 800; margin-bottom: .5rem; }
.servico h3 a, .servico h3 a:hover { color: #fff; text-decoration: none; outline: none; }
.servico h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.servico h3 a:focus-visible::after { outline: 3px solid var(--go); outline-offset: 3px; }
.servico p { flex: 1; margin: 0 0 1.2rem; font-size: 1.02rem; }
.servico__ir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  color: var(--go);
}
.servico__ir svg {
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.28);
  color: #fff;
  transition: transform .4s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.servico:hover { transform: translateY(-5px); box-shadow: 0 22px 30px -20px rgba(23,37,31,.7); }
.servico:hover .servico__ir svg { background: var(--go); border-color: var(--go); color: var(--go-ink); transform: translateX(4px); }

.servicos-mais {
  list-style: none;
  padding: 0;
  margin: 2.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 2rem;
}
.servicos-mais li { min-width: 0; border-top: 2px solid var(--ink); padding-top: 1rem; }
.servicos-mais h3 { margin-bottom: .3rem; }
.servicos-mais p { margin: 0; color: var(--muted); font-size: 1rem; }

.servicos-cta {
  margin-top: 2.6rem;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  background: var(--surface);
  border-radius: var(--raio-lg);
}
.servicos-cta h3 { margin-bottom: .2rem; }
.servicos-cta p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .servicos-mais { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .servicos { grid-template-columns: 1fr; }
  .servico { min-height: 0; }
}
@media (max-width: 440px) {
  .servicos-mais { gap: 1.2rem 1rem; }
  .servicos-mais h3 { font-size: 1.3rem; }
  .servicos-mais p { font-size: .95rem; line-height: 1.45; }
}

/* ============ diferenciais — folha de inspeção ============ */
.porque {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.6rem, 5vw, 3.6rem);
  align-items: center;
  margin-top: 2.2rem;
}
.porque > * { min-width: 0; }
.porque__foto { margin: 0; border-radius: var(--raio-lg); overflow: hidden; }
.porque__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .porque { grid-template-columns: 1fr; } }
.inspecao { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.inspecao li {
  padding: 1.2rem 0 1.2rem 1.8rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.inspecao li:last-child { border-bottom: 1px solid var(--line); }
.inspecao li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.75rem;
  width: 12px; height: var(--lane);
  background: var(--go);
}
.inspecao b { display: block; color: var(--ink); font-weight: 600; margin-bottom: .15rem; }
.inspecao span { color: var(--muted); }

/* ============ interior / todo o MS ============ */
.interior { background: #F0E7E2; color: var(--ink-soft); }
.interior h2 { color: var(--ink); }
.interior p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.interior__topo {
  display: grid;
  grid-template-columns: 1fr minmax(0, 430px);
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: center;
}
.interior__topo > * { min-width: 0; }
.interior__lead { max-width: 54ch; font-size: 1.15rem; }
.interior__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.4rem 2rem;
  margin: clamp(2.4rem, 5vw, 3.6rem) 0 1.8rem;
}
.interior__grid > div { min-width: 0; border-top: 2px solid var(--clay); padding-top: 1rem; }
.interior__grid h3 { color: var(--ink); margin-bottom: .3rem; }
.interior__grid p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.interior__grid a { color: var(--clay-dark); font-weight: 600; }
.cidades { border-top: 1px solid rgba(166,84,62,.35); max-width: 75ch; }
.cidades summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  font-weight: 600;
  color: var(--clay-dark);
}
.cidades summary::-webkit-details-marker { display: none; }
.cidades summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.cidades[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.cidades p { margin: 0 0 .4rem; font-size: 1rem; color: #6A564E; max-width: 68ch; }
@media (max-width: 820px) {
  .interior__topo { grid-template-columns: 1fr; }
  .ms { max-width: 420px; }
}

/* mapa do estado: as rotas são faixas de pista que correm até Campo Grande */
.ms { margin: 0; }
.ms svg { display: block; width: 100%; height: auto; overflow: visible; }
.ms__estado { fill: var(--ink); }
.ms__rotas line { stroke: var(--go); stroke-width: 2; stroke-dasharray: 7 5; }
.ms__cidades circle { fill: #fff; }
.ms text {
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: .03em;
  font-weight: 600;
  fill: #E4E9E5;
  paint-order: stroke;
  stroke: var(--ink);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.ms .ms__cg-nome { font-size: 18px; font-weight: 800; letter-spacing: .01em; fill: #fff; }
.ms__cg { fill: var(--go); stroke: var(--ink); stroke-width: 3; }
.ms__pulso { fill: var(--go); opacity: 0; transform-box: fill-box; transform-origin: center; }
.ms figcaption { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-soft); }
.ms figcaption b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .ms__rotas line { animation: rota 1.5s linear infinite; }
  .ms__pulso { animation: pulso 2.4s var(--ease) infinite; }
}
@keyframes rota { to { stroke-dashoffset: -12; } }
@keyframes pulso { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }

/* ============ galeria ============ */
.galeria {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(150px, 17vw, 215px));
  gap: 10px;
}
.galeria figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--raio-lg); }
.galeria figure:nth-child(-n+2) { grid-row: span 2; }
.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.galeria figure:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
  .galeria { grid-template-columns: 1fr 1fr; grid-template-rows: 58vw 36vw 36vw; }
  .galeria figure:first-child { grid-column: span 2; grid-row: auto; }
}
.galeria figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(23,37,31,.82);
  padding: .25rem .6rem;
  border-radius: 999px;
}

/* ============ FAQ ============ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 1rem clamp(1.6rem, 5vw, 4rem);
  align-items: start;
}
.faq-layout > * { min-width: 0; }
.faq-layout > h2 { position: sticky; top: 96px; }
.faq-layout .faq { margin-top: 0; }
@media (max-width: 820px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout > h2 { position: static; }
}
.faq { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.faq details {
  border-bottom: 1px solid var(--line-strong);
  padding: .4rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--signal); }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: .3em;
  color: var(--signal);
  background:
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0;
    overflow: clip;
    transition: height .4s var(--ease), content-visibility .4s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}
.faq details p { margin: .1rem 0 .8rem; color: var(--ink-soft); max-width: 68ch; }

/* ============ localização ============ */
.local {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
  margin-top: 2.2rem;
}
.local > * { min-width: 0; }
.ficha dd { overflow-wrap: anywhere; }
.ficha {
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  color: var(--ink-soft);
}
.ficha dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.1rem;
}
.ficha dt:first-child { margin-top: 0; }
.ficha dd { margin: 0; color: var(--ink); }
.ficha dd a { display: inline-block; padding-block: .5rem; font-weight: 600; }
.local .grupo-ctas { margin-top: 1.6rem; }
.local iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--raio-lg);
}
@media (max-width: 760px) {
  .local { grid-template-columns: 1fr; }
  .local iframe { height: 260px; }
}

/* ============ CTA final ============ */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 24ch; margin-inline: auto; }
.cta-final .grupo-ctas { justify-content: center; margin-top: 1.6rem; }

/* ============ rodapé ============ */
.rodape { background: var(--ink); color: #AEB8B2; border-top: var(--lane) solid var(--go); }
.rodape__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding-block: 3rem;
}
.rodape img { width: 84px; height: 84px; border-radius: 8px; margin-bottom: .9rem; }
.rodape h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .6rem;
}
.rodape a { color: #AEB8B2; text-decoration: none; display: inline-block; padding-block: .35rem; }
.rodape a:hover { color: var(--go); }
.rodape__copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.1rem;
  font-size: .9rem;
  color: #93A09A;
}
@media (max-width: 640px) {
  .rodape__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .rodape__grid { grid-template-columns: 1fr; }
}

/* ============ WhatsApp sempre à mão ============
   Celular: barra fixa WhatsApp + Ligar. Telas maiores: botão flutuante. */
.barra-acao {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
}
.barra-acao a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .015em;
  text-decoration: none;
}
.barra-acao__whats { background: var(--whats); color: var(--whats-ink); }
.barra-acao__ligar, .barra-acao__ligar:hover { background: var(--ink); color: #fff; }
.barra-acao__whats:hover { color: var(--whats-ink); }
@media (max-width: 800px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .barra-acao a { min-height: 60px; padding-bottom: calc(.95rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 801px) {
  /* pílula no verde do WhatsApp; ícone branco num disco verde-escuro */
  .barra-acao { left: auto; right: 24px; bottom: 24px; }
  .barra-acao .barra-acao__ligar { display: none; }
  .barra-acao .barra-acao__whats {
    position: relative;
    height: 56px;
    padding: 0 1.5rem 0 62px;
    background: var(--whats);
    color: var(--whats-ink);
    border-radius: 999px;
    box-shadow: 0 14px 28px -12px rgba(11,42,23,.6), 0 2px 8px rgba(11,42,23,.18);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .barra-acao__whats::after {
    content: "";
    position: absolute;
    top: 6px; left: 6px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #0B6B3A;
  }
  .barra-acao .barra-acao__whats::before {
    position: absolute;
    top: 15px; left: 15px;
    z-index: 1;
    width: 26px; height: 26px;
    background: #fff;
  }
  .barra-acao .barra-acao__whats:hover { color: var(--whats-ink); transform: translateY(-3px); box-shadow: 0 20px 32px -14px rgba(11,42,23,.65), 0 2px 8px rgba(11,42,23,.18); }
  .barra-acao .barra-acao__whats:active { transform: scale(.97); }
}

/* ============ página de serviço ============ */
.hero--servico { border-bottom: var(--lane) solid var(--go); }
.hero--servico .hero__inner {
  display: block;
  padding-block: clamp(40px, 3rem + 3vw, 76px);
}
.hero--servico .hero__texto { max-width: 46ch; }
.hero--servico .hero__sub { margin-bottom: 1.4rem; }
.hero--servico h1 { overflow-wrap: break-word; }

.migalha {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.migalha a { color: var(--muted); text-decoration: none; }
.migalha a:hover { color: var(--signal); }
.servico-corpo { max-width: 62ch; }
.servico-corpo h2 { margin-top: 2.6rem; }
.servico-corpo h2:first-child { margin-top: 0; }
.lista-check { list-style: none; padding: 0; margin: 0; }
.lista-check li {
  padding: .55rem 0 .55rem 1.7rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 10px; height: var(--lane);
  background: var(--go);
}

/* ============ acessibilidade ============ */
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 1px;
}
:where(.cabecalho, .hero--foto, .secao--ink, .rodape, .barra-acao) :where(a, button, summary):focus-visible { outline-color: var(--go); }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto; }
}
