/* Garage 449 — cores do logo e dos flyers da oficina */
:root {
  --red: #C8102E;
  --wine: #8A0D22;
  --white: #FFFFFF;
  --concrete: #E3E4E6;
  --graphite: #26282D;
  --steel: #5E636B;

  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Saira", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
}

@property --ray {
  syntax: "<angle>";
  inherits: false;
  initial-value: -90deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font: 400 17px/1.55 var(--body);
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
}
h2 { font-size: 34px; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--graphite);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--graphite); color: var(--white); padding: 10px 14px;
}
.skip:focus { top: 8px; }

/* Barra de demonstração */
.demo-bar {
  background: var(--graphite);
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 7px var(--gutter);
}

/* Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--red);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 46px; height: 46px; border-radius: 6px; }
.foot__logo { width: 80px; height: 80px; border-radius: 8px; }
.brand__name { font: italic 800 23px/1 var(--display); }
.top__nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.top__nav a { text-decoration: none; }
.top__nav a:not(.top__call):hover { text-decoration: underline; text-underline-offset: 4px; }
.top__nav a:not(.top__call) { display: none; }
.top__call {
  background: var(--graphite); color: var(--white);
  padding: 8px 16px; border-radius: 4px;
}

/* Hero */
.hero { padding: 26px 0 40px; }
.hero__in { display: grid; gap: 26px; }

.emblem {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 50%;
  max-width: 340px;
  border: 6px solid var(--graphite);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1.15fr auto 0.85fr;
  justify-items: center;
  isolation: isolate;
}
.emblem__rays {
  position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from var(--ray) at 50% 100%, var(--red) 0 7.5deg, var(--white) 7.5deg 15deg);
  animation: rays 1.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rays { from { --ray: -127.5deg; } to { --ray: -90deg; } }

.emblem__name {
  grid-row: 1;
  align-self: end;
  font: italic 800 clamp(40px, 12vw, 96px)/0.9 var(--display);
  color: var(--graphite);
  letter-spacing: -0.01em;
  transform: rotate(-5deg);
  text-shadow:
    3px 0 0 var(--white), -3px 0 0 var(--white), 0 3px 0 var(--white), 0 -3px 0 var(--white),
    2px 2px 0 var(--white), -2px -2px 0 var(--white), 2px -2px 0 var(--white), -2px 2px 0 var(--white),
    5px 5px 0 var(--wine);
  white-space: nowrap;
}
.emblem__bike { grid-row: 2; width: 44%; height: auto; margin-top: 2%; }
.emblem__ribbon {
  grid-row: 3;
  align-self: start;
  margin-top: 3%;
  background: var(--graphite);
  color: var(--white);
  font: italic 600 clamp(14px, 4vw, 22px)/1 var(--display);
  letter-spacing: 0.03em;
  padding: 0.3em 0.9em 0.4em;
  border-radius: 3px;
}

.hero h1 { font-size: 46px; max-width: 13ch; }
.hero__lead { margin-top: 14px; max-width: 46ch; }
.moved {
  margin-top: 16px; padding: 8px 0 8px 12px;
  border-left: 4px solid var(--red);
  font-size: 16px; max-width: 46ch;
}
.nw { white-space: nowrap; }
.moved strong { color: var(--wine); }
.moved a { font-weight: 600; color: var(--wine); text-underline-offset: 3px; }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px;
  font-weight: 600; font-size: 15px;
}
.status__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--steel);
}
.status.is-open .status__dot { background: #1E8E3E; box-shadow: 0 0 0 4px rgba(30,142,62,.18); }

.hero__cta { display: grid; gap: 10px; margin-top: 22px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 6px;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--wine); }
.btn--line { border-color: var(--graphite); color: var(--graphite); background: var(--white); }
.btn--line:hover { background: var(--graphite); color: var(--white); }
.btn--full { width: 100%; }

/* Fotos do Instagram */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border: 2px solid var(--graphite); background: var(--concrete); }
.photo figcaption { margin-top: 8px; font-size: 14px; color: var(--steel); }
.split__head .photo { margin-top: 22px; max-width: 340px; }
.photo--models { margin-top: 24px; max-width: 420px; }
.visit__top { display: grid; gap: 26px; }
.photo--models img, .split__head .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo--models img { object-position: 60% 40%; }

/* Modelos */
.models { background: var(--concrete); padding: 40px 0 44px; }
.models h2 { font-size: 26px; color: var(--wine); }
.models__list {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  font: italic 800 25px/1.15 var(--display);
}
.models__also { margin-top: 10px; font: italic 600 21px/1.2 var(--display); color: var(--wine); }
.models__note { margin-top: 18px; color: var(--steel); font-size: 15px; max-width: 60ch; }

/* Layout de duas colunas reaproveitado */
.services, .visit, .order, .place { padding: 56px 0; }
.split { display: grid; gap: 22px; }
.split__head p { margin-top: 10px; color: var(--steel); max-width: 38ch; }

/* Serviços */
.svc { margin: 0; border-top: 3px solid var(--graphite); }
.svc__row {
  display: grid; gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #C9CBCF;
}
.svc dt { font: italic 800 23px/1.1 var(--display); color: var(--red); }
.svc dd { margin: 0; max-width: 56ch; }

/* Visita */
.visit { background: var(--concrete); }
.quote { margin: 22px 0 0; }
.quote blockquote { margin: 0; }
.quote p {
  font: italic 800 34px/1.05 var(--display);
  color: var(--red);
  max-width: 22ch;
}
.quote figcaption { margin-top: 10px; color: var(--steel); font-size: 15px; }
.visit__cols { display: grid; gap: 22px; margin-top: 30px; padding-top: 22px; border-top: 3px solid var(--graphite); }
.rating { max-width: 34ch; }
.rating strong { font-weight: 700; }
.rating a { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--wine); text-underline-offset: 3px; }
.visit__list { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; max-width: 56ch; }
.visit__list li::marker { color: var(--red); }

/* Ordem de serviço */
.order__alt { color: var(--graphite) !important; }
.order__alt a { font-weight: 600; color: var(--wine); text-underline-offset: 3px; white-space: nowrap; }
.order { padding-bottom: 24px; }
.slip {
  background: var(--white);
  border: 2px solid var(--graphite);
  border-top: 10px solid var(--red);
  padding: 20px 18px 22px;
  display: grid; gap: 16px;
  max-width: 560px;
}
.slip__title { font: italic 800 22px/1 var(--display); color: var(--wine); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 17px/1.4 var(--body);
  color: var(--graphite);
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: 4px;
  padding: 10px 12px;
}
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2326282D' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 32px; background-position: right 12px center; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px; box-shadow: none;
}
.field .invalid { border-color: var(--red); background-color: #FFF0F2; }
.slip__error { color: var(--wine); font-weight: 600; }

/* Endereço */
.place__in { display: grid; gap: 26px; }
address { font-style: normal; font-size: 20px; line-height: 1.45; margin-top: 14px; }
.place__moved { margin-top: 10px; color: var(--steel); font-size: 15px; max-width: 46ch; }
.hours { margin-top: 22px; border-collapse: collapse; width: 100%; max-width: 360px; }
.hours caption { text-align: left; font: italic 800 23px/1 var(--display); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid #D2D4D8; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--red); }
.hours tr.today th::after { content: " (hoje)"; font-weight: 400; color: var(--steel); }
.place__cta { display: grid; gap: 10px; margin-top: 24px; }
.place__map iframe { width: 100%; height: 320px; border: 2px solid var(--graphite); }

/* Rodapé */
.foot { background: var(--graphite); color: var(--white); padding: 34px 0 110px; font-size: 15px; }
.foot__in { display: grid; gap: 18px; }
.foot__name { font: italic 800 26px/1 var(--display); margin-bottom: 6px; }
.foot a { color: var(--white); text-underline-offset: 3px; }
.foot__demo { color: #B9BDC3; font-size: 14px; }
.foot :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--graphite); }

/* WhatsApp fixo (celular) */
.float-wa {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  background: var(--red); color: var(--white);
  border: 2px solid var(--white);
  border-radius: 8px;
  font: 700 17px/1 var(--body);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(38,40,45,.35);
  transition: transform .2s ease, opacity .2s ease;
}
.float-wa svg { width: 24px; height: 24px; fill: currentColor; }
.float-wa.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Tablet e desktop */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .top__nav a:not(.top__call) { display: inline; }
  .hero__cta, .place__cta { display: flex; flex-wrap: wrap; }
  .float-wa { display: none; }
  .foot { padding-bottom: 40px; }
  .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .foot__demo { max-width: 34ch; text-align: right; }
}

@media (min-width: 1000px) {
  h2 { font-size: 44px; }
  .hero { padding: 48px 0 64px; }
  .hero__in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
  .hero__text { order: -1; }
  .hero h1 { font-size: 68px; }
  .hero__lead { font-size: 19px; }
  .emblem { max-width: none; }
  .emblem__name { font-size: 76px; }
  .models { padding: 48px 0 52px; }
  .models__list { font-size: 38px; gap: 2px 30px; }
  .models__also { font-size: 26px; }
  .quote p { font-size: 56px; }
  .visit__cols { grid-template-columns: 340px 1fr; gap: 56px; }
  .visit__top { grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
  .models .wrap { display: grid; grid-template-columns: 1fr 340px; column-gap: 56px; }
  .models h2, .models__list, .models__also, .models__note { grid-column: 1; }
  .photo--models { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; align-self: center; }
  .photo--models img, .split__head .photo img { aspect-ratio: auto; }
  .models .wrap { align-content: start; }
  .services, .visit, .order, .place { padding: 84px 0; }
  .split { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
  .svc__row { grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; padding: 20px 0; }
  .order__alt { color: var(--graphite) !important; }
.order__alt a { font-weight: 600; color: var(--wine); text-underline-offset: 3px; white-space: nowrap; }
.order { padding-bottom: 24px; }
.slip { padding: 28px 30px 30px; }
  .place__in { grid-template-columns: 400px 1fr; gap: 56px; align-items: start; }
  .place__map iframe { height: 520px; }
  .order { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblem__rays { animation: none; }
  .float-wa { transition: none; }
}
