/* ==========================================================================
   CPL Auto Mecânica
   Tema próprio. Tokens no topo; seções com cabeçalho /* ==== *\/.
   Direção “oficina aberta”: tinta, papel e vermelho em blocos inteiros.
   Archivo condensada e em caixa alta nos títulos; texto corrido normal.
   ========================================================================== */

:root {
  --paper: #F3EFE6;
  --paper-2: #E8E3D8;
  --paper-3: #D9D3C5;
  --ink: #121110;
  --ink-2: #1B1917;
  --ink-3: #24211D;
  --ink-4: #2E2A25;
  --red: #C8102E;
  --red-dark: #A60C25;
  --red-light: #FF7A85;
  --white: #FFFFFF;
  --muted: #5F5A52;
  --muted-dark: #B9B3A8;

  --line: rgba(18, 17, 16, .14);
  --line-strong: rgba(18, 17, 16, .28);
  --line-light: rgba(243, 239, 230, .14);
  --line-light-strong: rgba(243, 239, 230, .34);

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1320px;

  --f-display: 'Archivo', system-ui, -apple-system, sans-serif;

  /* Título condensado: largura e peso da Archivo variável. */
  --cond: 64%;
  --cond-w: 820;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-door: cubic-bezier(.7, 0, .2, 1);
  --t-fast: 140ms;
  --t-base: 220ms;
  --t-reveal: 560ms;
}

/* ==== Reset ==== */

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

html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

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

p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--red); color: var(--white); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  outline: 3px solid var(--red);
}

.skip:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.section--red :focus-visible,
.hero :focus-visible,
.page-head :focus-visible,
.header :focus-visible,
.trust :focus-visible,
.footer-cta :focus-visible,
.footer :focus-visible { outline-color: var(--paper); }

/* ==== Tipografia ==== */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.012em;
}

/* Título de impacto: condensado, caixa alta, linhas apertadas. */
.hero__title,
.section__title,
.page-head__title,
.parts__title,
.footer-cta__title,
.error-404__title,
.trust__item strong,
.process__num,
.rating__num,
.location__number,
.person__initial,
.footer__wordmark,
.hero__watermark,
.page-head__mark {
  font-family: var(--f-display);
  font-weight: var(--cond-w);
  font-stretch: var(--cond);
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.008em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.eyebrow--light { color: var(--paper); }
.eyebrow--onred { color: var(--white); }
.eyebrow--onred::before { background: var(--white); }

.link {
  border-bottom: 1px solid currentColor;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.link:hover { color: var(--red); }

/* ==== Layout ==== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 7vw, 104px);
}

.section--paper2 { background: var(--paper-2); }

.section--dark {
  background: var(--ink) var(--grain);
  color: var(--paper);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section__head--single { grid-template-columns: 1fr; }

.section__title {
  margin-top: 20px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: .98;
  text-wrap: balance;
  max-width: 16em;
}

.section__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.section__lede p + p { margin-top: 1em; }

.section--dark .section__lede { color: var(--muted-dark); }
.section--red .section__lede { color: rgba(255, 255, 255, .9); }

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==== Botões ==== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color var(--t-base) ease, color var(--t-base) ease, border-color var(--t-base) ease;
}

.btn::after {
  content: "→";
  font-size: 1.15em;
  transition: transform var(--t-base) var(--ease-out);
}

.btn:hover::after { transform: translateX(4px); }

.btn--lg { min-height: 58px; padding: 18px 28px; font-size: 15px; }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light { border-color: var(--line-light-strong); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

/* ==== Header ==== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow var(--t-base) ease;
}

.header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }

.header__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  line-height: 1;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  height: 38px;
  padding: 0 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 860;
  font-stretch: 70%;
  font-size: 26px;
  letter-spacing: .01em;
}

.brand__sub {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  max-width: 7em;
  line-height: 1.25;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, .78);
  transition: color var(--t-fast) ease;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}

.nav__list a:hover { color: var(--paper); }
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__list .current-menu-item > a { color: var(--paper); }
.nav__list .current-menu-item > a::after { transform: scaleX(1); }

.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 14px;
  font-weight: 650;
  color: var(--paper);
  white-space: nowrap;
  transition: color var(--t-fast) ease;
}

.header__tel:hover { color: var(--red-light); }
.header__tel svg { width: 15px; height: 15px; color: var(--red-light); }

.header__cta { flex: none; min-height: 44px; padding: 11px 18px; font-size: 13px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  padding: 10px 0;
  z-index: 110;
}

.menu-toggle__bars {
  display: grid;
  gap: 6px;
  width: 24px;
}

.menu-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--paper);
  transition: transform var(--t-base) var(--ease-out);
}

.menu-toggle__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.menu-open .menu-toggle__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity var(--t-base) ease, visibility var(--t-base);
}

.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

/* ==== Hero ==== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(243, 239, 230, .07), transparent 60%),
    var(--grain),
    var(--ink);
  color: var(--paper);
  padding-block: clamp(48px, 6vw, 96px) clamp(64px, 7vw, 112px);
  min-height: min(76svh, 800px);
  display: flex;
  align-items: center;
}

.hero__watermark {
  position: absolute;
  right: -.03em;
  bottom: -.2em;
  z-index: -1;
  font-size: clamp(260px, 42vw, 720px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 239, 230, .08);
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(56px, 6.2vw, 94px);
  line-height: .98;
  max-width: 11em;
  text-wrap: balance;
  animation: rise .6s var(--ease) backwards;
}

.hero__title em {
  font-style: normal;
  color: var(--red-light);
}

.hero__lead {
  margin-top: 28px;
  max-width: 46ch;
  color: var(--muted-dark);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  animation: rise .9s var(--ease)  .08s backwards;
}

.hero .btns {
  margin-top: 36px;
  animation: rise .9s var(--ease) .12s backwards;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
  color: var(--muted-dark);
  animation: rise .9s var(--ease) .16s backwards;
}

.hero__meta strong { color: var(--paper); font-weight: 760; }
.hero__stars { color: var(--red-light); letter-spacing: .1em; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}

/* Conversa de exemplo: a promessa mostrada, não dita. */
.chat {
  justify-self: end;
  width: min(100%, 380px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
  transform: none;
  overflow: hidden;
  animation: rise .6s var(--ease) .16s backwards;
}

@keyframes chat-in {
  from { opacity: 0; transform: translate3d(0, 60px, 0) rotate(5deg); }
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ink-2);
  color: var(--paper);
}

.chat__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 860;
  font-stretch: 70%;
  flex: none;
}

.chat__who { display: grid; line-height: 1.25; }
.chat__who strong { font-size: 15px; }
.chat__who small { font-size: 12px; color: var(--muted-dark); }

.chat__body {
  display: grid;
  gap: 10px;
  padding: 20px 16px 22px;
  background: var(--paper-2);
}

.chat__msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: none;
}

.chat__msg--me {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 3px;
}

.chat__msg--cpl {
  justify-self: start;
  background: var(--white);
  border-bottom-left-radius: 3px;
}

.chat__msg:nth-child(1) { animation-delay: 1.8s; }
.chat__msg:nth-child(2) { animation-delay: 2.5s; }
.chat__msg:nth-child(3) { animation-delay: 3.2s; }
.chat__msg:nth-child(4) { animation-delay: 3.8s; }

.chat__photo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
  margin: -4px -8px 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 40%, #8a8378 0 18%, #5c564e 19% 30%, #3a3631 31% 100%);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chat__photo svg { width: 16px; height: 16px; flex: none; }

.chat__ok {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chat__ok span { font-size: 18px; }

/* ==== Faixa de confiança ==== */

.trust {
  background: var(--red);
  color: var(--white);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(28px, 3.4vw, 52px) clamp(16px, 2vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, .26);
}

.trust__item:first-child { border-left: 0; padding-left: 0; }

.trust__item strong {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  font-weight: 860;
}

.trust__item span {
  max-width: 18ch;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ==== Processo ==== */

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  counter-reset: none;
}

.process__step {
  border-top: 4px solid var(--ink);
  padding-top: 28px;
}

.process__num {
  display: block;
  font-size: clamp(64px, 6vw, 88px);
  font-weight: 860;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  transition: color var(--t-base) ease;
}

.process__step:hover .process__num { color: var(--red); }

.process__title {
  margin-top: 22px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  max-width: 16ch;
}

.process__text {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--muted);
}

.section--paper2 .process__step { border-top-color: var(--ink); }

.process__note {
  margin-top: clamp(48px, 6vw, 80px);
  padding: 28px 32px;
  background: var(--ink);
  color: var(--paper);
  border-left: 8px solid var(--red);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 620;
  line-height: 1.4;
  max-width: 60ch;
}

/* ==== Serviços ==== */

.services {
  border-top: 1px solid var(--line-strong);
}

.section--dark .services { border-top-color: var(--line-light-strong); }

.service {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 80px minmax(260px, 1.1fr) minmax(0, 1fr) 64px;
  gap: 12px clamp(16px, 2.6vw, 40px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--t-base) ease, padding var(--t-base) var(--ease-out);
}

.section--dark .service { border-bottom-color: var(--line-light-strong); }

.service::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 320ms var(--ease-out);
}

.service:hover { color: var(--white); padding-left: 16px; }
.service:hover::before { transform: none; }

.service__num {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .1em;
  color: var(--red);
}

.section--dark .service__num { color: var(--red-light); }
.service:hover .service__num { color: var(--white); }

.service__title {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.05;
  font-weight: var(--cond-w);
  font-stretch: var(--cond);
  text-transform: uppercase;
  line-height: .92;
}

.service__sym {
  margin-top: 12px;
  max-width: 40ch;
  font-size: 15px;
  color: var(--muted);
}

.section--dark .service__sym { color: var(--muted-dark); }

.service__desc {
  max-width: 40ch;
  font-size: 15px;
  color: var(--muted);
}

.section--dark .service__desc { color: var(--muted-dark); }

.service:hover .service__sym,
.service:hover .service__desc { color: rgba(255, 255, 255, .9); }

/* O destino do serviço fica explícito também em telas de toque. */
.service__cta {
  grid-column: 2 / 4;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section--dark .service__cta { color: var(--red-light); }
.service:hover .service__cta { color: var(--white); }
.service__arrow { grid-column: 4; grid-row: 1 / 3; }

.service__arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) ease, color var(--t-base) ease;
}

.service:hover .service__arrow {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  transform: rotate(-45deg);
}

/* ==== A prova ==== */

.parts { overflow: hidden; }

.parts__title {
  margin-top: 24px;
  font-size: clamp(84px, 17vw, 300px);
  font-weight: 880;
  line-height: .9;
}

.parts__title em {
  font-style: normal;
  color: var(--red);
}

.parts__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 4px solid var(--ink);
}

.parts__lede {
  max-width: 42ch;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}

.parts__list { display: grid; }

.parts__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 680;
  line-height: 1.2;
}

.parts__list li:first-child { padding-top: 0; }

.parts__list li span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
}

/* ==== Família ==== */

.family__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.person {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 26vw, 340px);
  padding: 28px;
  background: var(--ink) var(--grain);
  color: var(--paper);
  border-bottom: 8px solid var(--red);
  transition: transform var(--t-base) var(--ease-out);
}

.person:hover { transform: translateY(-6px); }

.person__initial {
  position: absolute;
  top: -.08em;
  right: -.04em;
  font-size: clamp(160px, 16vw, 240px);
  font-weight: 880;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 122, 133, .55);
  transition: color var(--t-base) ease;
}

.person:hover .person__initial { color: rgba(200, 16, 46, .35); }

.person__name {
  position: relative;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: var(--cond-w);
  font-stretch: var(--cond);
  text-transform: uppercase;
  line-height: .9;
}

.person__role {
  position: relative;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-light);
}

.person__line {
  position: relative;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-dark);
}

.family__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 32px;
  font-size: 16px;
  color: var(--muted);
}

.family__note a {
  color: var(--red);
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  border-bottom: 2px solid var(--red);
}

.family__note a:hover { color: var(--red-dark); border-color: var(--red-dark); }

/* ==== Avaliações ==== */

.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.rating {
  position: sticky;
  top: 120px;
}

.rating__num {
  font-size: clamp(112px, 14vw, 200px);
  font-weight: 880;
  color: var(--paper);
}

.rating__num span {
  font-size: .28em;
  color: var(--muted-dark);
  margin-left: .06em;
}

.rating__stars {
  margin-top: 12px;
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: .12em;
  color: var(--red);
}

.rating__label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.rating__link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 2px solid var(--red);
}

.rating__link:hover { color: var(--red-light); }

.quotes { display: grid; gap: 16px; }

.quote {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  padding-left: clamp(72px, 7vw, 110px);
  background: var(--paper);
  color: var(--ink);
}

.quote:nth-child(2) { margin-left: clamp(0px, 4vw, 64px); }

.quote__mark {
  position: absolute;
  left: clamp(18px, 2vw, 32px);
  top: clamp(8px, 1vw, 16px);
  font-size: clamp(90px, 8vw, 130px);
  font-weight: 880;
  line-height: 1;
  color: var(--red);
}

.quote p {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 560;
  line-height: 1.45;
}

.quote footer {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==== Localização ==== */

.location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.location__tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.location__address {
  margin-top: 16px;
  font-style: normal;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.location__hours {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 15px;
}

.location__hours strong { color: var(--ink); }

.location__actions { margin-top: 32px; }

/* Placa do número: o 72 como fachada. */
.location__plate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(360px, 36vw, 520px);
  padding: clamp(24px, 3vw, 44px);
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  transition: background-color var(--t-base) ease;
}

.location__plate:hover { background: var(--red-dark); }

.location__plate .location__tag { color: var(--white); }

.location__number {
  display: block;
  font-size: clamp(220px, 28vw, 440px);
  font-weight: 900;
  line-height: .78;
  margin-block: 24px;
}

.location__street {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.location__go {
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.location__go span { transition: transform var(--t-base) var(--ease-out); }
.location__plate:hover .location__go span { transform: translateX(6px); }

/* ==== FAQ ==== */

/* Título à esquerda, perguntas à direita. */
.faq-sec .wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-sec .section__head { margin-bottom: 0; position: sticky; top: 120px; }

.faq__item { border-top: 2px solid var(--ink); }
.faq__item:last-child { border-bottom: 2px solid var(--ink); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--t-fast) ease;
}

.faq__q:hover { color: var(--red); }

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 22px;
  font-weight: 500;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) ease;
}

.faq__item[open] .faq__q::after { transform: rotate(45deg); background: var(--red); }

.faq__a {
  padding-bottom: 28px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ==== CTA final do rodapé ==== */

.footer-cta {
  background: var(--red);
  color: var(--white);
  padding-block: clamp(72px, 9vw, 140px);
}

.footer-cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.footer-cta__title {
  margin-top: 20px;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: .98;
  text-wrap: balance;
  max-width: 8.5em;
}

.footer-cta__actions {
  display: grid;
  gap: 12px;
}

.footer-cta .btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.footer-cta .btn--ghost-light:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* ==== Rodapé ==== */

.footer {
  background: var(--ink) var(--grain);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__claim {
  margin-top: 20px;
  max-width: 30ch;
  color: var(--muted-dark);
  font-size: 15px;
}

.footer__rating {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-dark);
}

.footer__rating-num {
  font-size: 28px;
  font-weight: 820;
  font-stretch: var(--cond);
  color: var(--paper);
  margin-right: 6px;
}

.footer__label {
  color: var(--red-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__col address,
.footer__col p {
  font-style: normal;
  font-size: 15px;
  color: var(--muted-dark);
  line-height: 1.7;
}

.footer__col .link { color: rgba(243, 239, 230, .9); }
.footer__col .link:hover { color: var(--paper); border-color: var(--red-light); }

.footer__note { font-size: 12px !important; opacity: .7; margin-top: 8px; }

/* Marca gigante de assinatura. */
.footer__wordmark {
  padding-inline: var(--gutter);
  font-size: 10.6vw;
  font-weight: 900;
  line-height: .78;
  white-space: nowrap;
  color: var(--ink-3);
  text-align: center;
  user-select: none;
  margin-bottom: -.06em;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: rgba(243, 239, 230, .62);
}

.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__bottom .link:hover { color: var(--paper); }

/* ==== WhatsApp flutuante ==== */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) ease;
}

.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); background: var(--red-dark); }

/* ==== Barra fixa de ação (mobile) ==== */

.action-bar { display: none; }

/* ==== Páginas internas ==== */

.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink) var(--grain);
  color: var(--paper);
  padding-block: clamp(72px, 10vw, 160px) clamp(56px, 7vw, 110px);
  border-bottom: 10px solid var(--red);
}

.page-head__mark {
  position: absolute;
  right: -.04em;
  bottom: -.2em;
  z-index: -1;
  font-size: clamp(160px, 24vw, 420px);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 239, 230, .08);
  pointer-events: none;
  user-select: none;
}

.page-head__title {
  margin-top: 24px;
  font-size: clamp(48px, 6.8vw, 100px);
  line-height: .98;
  text-wrap: balance;
  max-width: 8em;
  animation: rise .8s var(--ease) .05s backwards;
}

.page-head__lede {
  margin-top: 28px;
  max-width: 52ch;
  color: var(--muted-dark);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  animation: rise .8s var(--ease) .15s backwards;
}

.section--red .btns { margin-top: 8px; }

.entry { max-width: 68ch; }

.entry > * + * { margin-top: 1.2em; }

.entry h2 {
  margin-top: 1.6em;
  font-size: clamp(26px, 2.6vw, 36px);
}

.entry h3 {
  margin-top: 1.4em;
  font-size: clamp(20px, 2vw, 26px);
}

.entry p, .entry li { color: var(--muted); }
.entry ul { list-style: square; padding-left: 1.2em; }
.entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.entry blockquote {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  font-size: 1.1em;
}

/* ==== 404 ==== */

.error-404 {
  background: var(--ink) var(--grain);
  color: var(--paper);
  padding-block: clamp(96px, 14vw, 200px);
}

.error-404__code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-light);
}

.error-404__title { margin-top: 20px; font-size: clamp(48px, 6.8vw, 100px);
  line-height: .98;
  text-wrap: balance; max-width: 8em; }
.error-404__text { margin-top: 24px; color: var(--muted-dark); max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); }
.error-404 .btns { margin-top: 32px; }
.error-404 .btn--ghost { border-color: var(--line-light-strong); color: var(--paper); }
.error-404 .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ==== Reveal ==== */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity var(--t-reveal) var(--ease-out),
              transform var(--t-reveal) var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Itens em grade entram em sequência curta. */
.js [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.js [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.js [data-reveal]:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__door { display: none; }
  .hero__title, .hero__lead, .hero .btns, .hero__meta, .chat, .chat__msg,
  .page-head__title, .page-head__lede { animation: none; }
  .btn, .btn::after, .wa-float, .service, .service::before, .service__arrow,
  .person, .nav__list a::after, .faq__q::after { transition: none; }
}

@media (scripting: none) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==== Apresentação e serviços da página inicial ==== */
.hero__directions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 4px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 650;
}
.hero__directions:hover { color: var(--red-light); }
.hero__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 28px;
  font-size: 14px;
}
.hero__rating a { color: var(--muted-dark); text-decoration: underline; text-underline-offset: 4px; }
.hero__rating a:hover { color: var(--paper); }
.visit-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
}
.visit-card__title {
  margin-block: 24px 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}
.visit-card > p:not(.eyebrow) { max-width: 36ch; line-height: 1.6; }
.visit-card__details {
  display: grid;
  gap: 18px;
  padding-block: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 14px;
}
.visit-card address { font-style: normal; }
.visit-card__phone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  margin-top: 16px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
}
.visit-card__phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.services--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}
.services--cards .service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--red);
  background: var(--white);
  border-radius: 3px;
}
.services--cards .service::before { display: none; }
.services--cards .service:hover { background: var(--ink); color: var(--paper); }
.services--cards .service__title {
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.12;
  text-transform: none;
  font-stretch: normal;
}
.services--cards .service__num { padding: 0; }
.services--cards .service__cta { margin-top: auto; padding-top: 8px; font-size: 13px; }
.services--cards .service__arrow { display: none; }
.person {
  min-height: 0;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 3px;
}
.person__name { font-size: 30px; font-stretch: normal; text-transform: none; line-height: 1.1; }
.person__role { color: var(--red); letter-spacing: .04em; }
.person__line { color: var(--muted); }
.location__plate { min-height: 300px; }
.location__number { font-size: clamp(140px, 16vw, 220px); }
@media (max-width: 1100px) and (min-width: 701px) {
  .services--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .services--cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .family__grid .person { min-height: 0; }
  .hero__rating { display: block; }
  .hero__rating a { display: block; padding-block: 10px; }
}

/* ==== Responsivo ==== */

@media (max-width: 1100px) {
  .header__tel { display: none; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .chat { justify-self: start; transform: none; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .26); }
  .service { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 56px; }
  .service__arrow { width: 56px; height: 56px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 400px);
    margin: 0;
    background: var(--ink);
    border-left: 4px solid var(--red);
    padding: 110px var(--gutter) 40px;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform var(--t-base) var(--ease), visibility 0s linear var(--t-base);
    z-index: 95;
    overflow-y: auto;
  }
  .menu-open .nav {
    transform: none;
    visibility: visible;
    transition: transform var(--t-base) var(--ease), visibility 0s;
  }
  .menu-backdrop { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav__list a {
    font-size: 40px;
    font-weight: var(--cond-w);
    font-stretch: var(--cond);
    letter-spacing: 0;
    line-height: 1;
    padding-block: 10px;
    color: var(--paper);
  }
  .nav__list .current-menu-item > a { color: var(--red-light); }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header__cta { display: none; }

  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--ink);
    border-top: 1px solid var(--line-light);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .3);
  }

  .action-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 12px;
    border: 2px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 760;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .action-bar__btn svg { width: 19px; height: 19px; flex: none; }
  .action-bar__btn--wa { background: var(--red); color: var(--white); }
  .action-bar__btn--tel { color: var(--paper); border-color: var(--line-light-strong); }

  .wa-float { display: none; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  .section__head { grid-template-columns: 1fr; align-items: start; }

  .process__grid { grid-template-columns: 1fr; }
  .process__step { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; }
  .process__num { grid-row: span 2; font-size: 96px; }
  .process__title { margin-top: 4px; }

  .service { grid-template-columns: 40px minmax(0, 1fr) 48px; align-items: start; }
  .service__body { grid-column: 2; }
  .service__desc { grid-column: 2; }
  .service__arrow { grid-column: 3; grid-row: 1; width: 48px; height: 48px; font-size: 20px; }
  .service__num { padding-top: 8px; }
  .service__cta { grid-column: 2; }

  .parts__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .rating { position: static; }
  .quote:nth-child(2) { margin-left: 0; }
  .location__grid { grid-template-columns: 1fr; }
  .faq-sec .wrap { grid-template-columns: 1fr; }
  .faq-sec .section__head { position: static; }
  .footer-cta__in { grid-template-columns: 1fr; align-items: start; }
  .footer-cta__actions { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .header__in { min-height: 64px; }
  .brand__mark { height: 34px; font-size: 22px; }
  .brand__sub { font-size: 10px; }

  .hero { padding-block: 48px 72px; }
  .hero__title { font-size: clamp(46px, 12vw, 68px); }
  .hero .btns .btn { width: 100%; }
  .hero__meta { flex-direction: column; gap: 6px; }
  .chat { transform: none; }

  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 24px 14px; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item span { font-size: 11px; }

  .process__step { grid-template-columns: 1fr; }
  .process__num { grid-row: auto; font-size: 64px; }

  .process__note { padding: 22px; }

  .service { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px 16px; }
  .service__num { grid-column: 1 / -1; padding-top: 0; }
  .service__body, .service__desc { grid-column: 1; }
  .service__arrow { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
  .service:hover { padding-left: 0; }
  .service__cta { grid-column: 1; }

  .parts__list li { gap: 14px; }
  .parts__list li span { width: 34px; height: 34px; font-size: 17px; }

  .family__grid { grid-template-columns: 1fr; }
  .person { min-height: 260px; }
  .quote { padding: 24px 20px 24px 64px; }
  .quote__mark { left: 14px; font-size: 80px; }

  .location__plate { min-height: 320px; }
  .location__actions .btn { width: 100%; }

  .footer-cta__actions { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Barra de admin do WordPress */
.admin-bar .header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
