/* Buzetti Recapagem · revisão da página institucional.
   Cores: logotipo original (roxo #20114F, azul #008BCF).
   A FOTO NÃO FOI REDESENHADA: é recortada do banner PNG já existente no domínio.
   Manter buzetti-recapagem-pneus-curitiba-cic-2025.png na mesma pasta do CSS. */
:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f7f7f8;
  --ink: #313137;
  --ink-muted: #5c5c64;
  --violet: #20114f;
  --violet-soft: #574b75;
  --blue: #1984bb;
  --blue-light: #eef4f8;
  --border: #e5e4e9;
  --footer: #222222;
  --footer-muted: #cccccc;
  --whatsapp: #21b95d;
  --focus: #1576ad;
  --layout-width: 1210px;
  font-family: "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
main { display: flex; flex-direction: column; flex: 1; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 1000; padding: 10px 14px; background: white; color: var(--violet); }
.skip-link:focus { top: 12px; }

/* O cartão de visita original privilegiava contatos visíveis. A V3 recupera isso.
   Evitar altura fixada ao tamanho da tela: o conteúdo define a altura natural. */
.poster { position: relative; isolation: isolate; display: grid; grid-template-rows: auto auto; overflow: clip; background: white; }
.poster__blue-rail { position: absolute; z-index: -1; top: 19%; right: 0; bottom: 0; width: 5.3%; max-width: 90px; background: var(--violet); }
.masthead { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; width: min(calc(100% - 48px), var(--layout-width)); margin-inline: auto; padding: clamp(16px, 2.2vw, 28px) 0; }
.brand { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; }
.brand img { display: block; width: clamp(192px, 20vw, 255px); height: auto; max-width: 100%; object-fit: contain; }
.masthead__right { display: flex; align-items: center; gap: clamp(13px, 2vw, 30px); padding-top: 8px; min-width: 0; }
.chevrons { display: flex; flex: 0 0 auto; width: clamp(60px, 8vw, 103px); height: clamp(31px, 3.6vw, 48px); }
.chevrons span { display: block; width: 51%; height: 100%; margin-left: -13%; background: var(--violet); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%); }
.chevrons span:nth-child(2) { background: var(--blue); }
.chevrons span:nth-child(3) { background: var(--violet); }
.masthead__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 0; }
.masthead__contacts a { text-decoration: none; }
.masthead__contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.phone { color: var(--violet); font-family: Arial, Helvetica, sans-serif; font-size: clamp(15px, 1.6vw, 22px); font-weight: 700; white-space: nowrap; }
.email { color: var(--ink-muted); font-family: Arial, Helvetica, sans-serif; font-size: clamp(11px, 1vw, 15px); overflow-wrap: anywhere; }

/* Hero: composição em duas colunas, sem depender de posicionamento absoluto do texto. */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); align-items: center; gap: clamp(18px, 3vw, 44px); min-height: clamp(350px, 31vw, 465px); width: min(calc(100% - 48px), var(--layout-width)); margin-inline: auto; padding: 24px 0 42px; position: relative; }
.hero__message { min-width: 0; text-align: center; }
.hero__message h1 { margin: 0; color: #303037; font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif; font-size: clamp(19px, 2.2vw, 31px); line-height: 1.4; font-weight: 400; letter-spacing: .13em; }
.hero__years { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 24px); margin: 10px 0 7px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(29px, 3vw, 45px); line-height: 1; font-weight: 800; }
.hero__years > strong { font-weight: 800; }
/* Duplo hexágono evita que a borda desapareça sobre o branco. */
.hero__year-current { position: relative; display: inline-grid; place-items: center; width: 2.85em; height: 2.1em; flex: 0 0 auto; color: var(--blue); background: #c7c5d5; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.hero__year-current::before { content: ""; position: absolute; inset: 2px; background: #fff; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.hero__year-current strong { position: relative; z-index: 1; font-weight: 800; }
.hero__address { margin: 11px auto 0; color: var(--ink-muted); font-size: clamp(14px, 1.15vw, 16px); font-style: normal; line-height: 1.5; letter-spacing: .018em; }
.hero__action { margin: 18px 0 0; }
.hero__action a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--violet); border-radius: 5px; color: #fff; background: var(--violet); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.35; transition: background-color .18s ease, color .18s ease; }
.hero__action a:hover { background: #fff; color: var(--violet); }

/* A fotografia está no PNG publicado, no hexágono perto do canto direito.
   Este recorte usa a escala EXATA da imagem original (770x400), sem criar outro desenho.
   A região da foto está perto de x=610..769, y=138..273. */
.hero__illustration { position: relative; justify-self: center; width: min(100%, 285px); aspect-ratio: 1; pointer-events: none; }
.hero__hex { position: absolute; aspect-ratio: 1; clip-path: polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%); }
.hero__hex--small { width: 13%; bottom: 25%; left: -7%; background: #697989; }
.hero__hex--large { width: 26%; bottom: 3%; left: 8%; background: var(--blue); }
.hero__truck-outline { position: absolute; top: 3%; right: 0; width: 79%; aspect-ratio: 160 / 140; background: var(--surface); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.hero__truck-inner { position: absolute; inset: 0; overflow: hidden; }
.hero__truck-photo {
  position: absolute; inset: 0;
  background-color: #e4e5e8;
  background-image: url('buzetti-recapagem-pneus-curitiba-cic-2025.png');
  background-size: 481.25% auto;
  background-position: right 51.7%;
  background-repeat: no-repeat;
}

.location { display: flex; align-items: center; flex: 1 0 auto; padding: clamp(55px, 7vw, 105px) 0; border-top: 1px solid var(--border); background: var(--surface); }
.location__inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 86px); align-items: center; width: min(calc(100% - 48px), var(--layout-width)); margin-inline: auto; }
.location__text { max-width: 520px; }
.location__eyebrow { margin: 0 0 14px; color: var(--violet-soft); font-size: .78rem; font-weight: 700; letter-spacing: .2em; }
.location h2 { margin: 0 0 15px; color: var(--violet); font-size: clamp(1.6rem, 2.6vw, 2.65rem); line-height: 1.2; }
.location__text > p:not(.location__eyebrow) { font-size: 1.02rem; line-height: 1.65; }
.location__directions { display: inline-block; margin-top: 10px; color: var(--violet); font-weight: 700; text-underline-offset: 4px; }
.location__map-area { min-width: 0; }
.map-placeholder, .map-frame { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: clamp(270px, 28vw, 378px); border: 1px solid #dedee1; border-radius: 7px; background: #ececf0; text-align: center; }
.map-placeholder p { margin: 12px 0 17px; color: var(--violet); font-size: 1.18rem; font-weight: 700; }
.map-placeholder small { margin: 15px 12px 0; color: var(--ink-muted); font-size: .8rem; }
.map-placeholder__pin { width: 25px; height: 33px; border: 7px solid var(--violet); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-placeholder__pin::after { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); transform: translate(1px,1px); }
.map-placeholder__button, .map-placeholder small { display: none; }
.js-enabled .map-placeholder__button { display: inline-block; }
.js-enabled .map-placeholder small { display: block; }
.map-placeholder__button { padding: 12px 19px; border: none; border-radius: 5px; background: var(--violet); color: #fff; font-size: .97rem; font-weight: 700; cursor: pointer; }
.map-placeholder__button:hover { background: #3b2a70; }
.map-frame[hidden], .map-placeholder[hidden] { display: none; }
.map-frame { overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 270px; border: 0; }

/* Rodapé institucional inspirado no modelo fornecido pelo cliente. */
.site-footer { padding: 0 24px; background: var(--footer); color: var(--footer-muted); font-family: "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(160px, .7fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 90px); max-width: var(--layout-width); margin: 0 auto; padding: 42px 0 39px; }
.site-footer__grid > * { min-width: 0; }
.site-footer__about p { max-width: 435px; margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.site-footer h2 { margin: 0 0 19px; color: #fff; font-size: 19px; line-height: 1.4; font-weight: 700; }
.site-footer__grid ul { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin: 0 0 12px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__socials { display: flex; align-items: center; gap: 12px; }
.site-footer__socials a { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: #434343; color: #fff; transition: background-color .18s ease, transform .18s ease; }
.site-footer__socials a:hover { background: var(--violet-soft); transform: translateY(-2px); }
.site-footer__socials svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.site-footer__contact li { display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 3px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.site-footer__contact li svg { width: 15px; height: 15px; margin-top: 3px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__contact li svg.icon-whatsapp { fill: currentColor; stroke: none; }
.site-footer__contact li svg circle { fill: var(--footer); }
.site-footer__contact address { font-style: normal; }
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer__map-row { margin-top: -2px; }
.site-footer__map-link { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 600; }
.site-footer__bottom { max-width: var(--layout-width); margin: 0 auto; padding: 21px 0 18px; border-top: 1px solid #434343; text-align: center; font-size: 14px; line-height: 1.65; }
.site-footer__bottom p { margin: 0; }

/* Contato discreto: área clicável de 50px sem dependências externas. */
.whatsapp-float { position: fixed; z-index: 50; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.16); transition: transform .2s ease, background-color .2s ease; }
.whatsapp-float:hover { transform: translateY(-2px); background: #149a4b; }
.whatsapp-float svg { display: block; width: 26px; height: 26px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(175px, 28%); min-height: 385px; gap: 9px; padding-inline: 0; }
  .hero__message h1 { letter-spacing: .08em; }
  .hero__illustration { width: min(100%, 240px); }
  .site-footer__grid { grid-template-columns: minmax(0, 1.1fr) minmax(140px, .65fr) minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 760px) {
  .poster__blue-rail { top: 39%; bottom: 0; width: 4%; }
  .masthead { flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; width: 100%; padding: 24px 20px 8px; }
  .brand { margin: 0 auto; }
  .brand img { width: min(255px, 75vw); }
  .masthead__right { justify-content: center; width: 100%; padding: 0; gap: 10px; }
  .chevrons { width: 65px; height: 34px; }
  .masthead__contacts { align-items: flex-start; }
  .phone { font-size: 17px; }
  .email { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 7px; min-height: 0; width: 100%; padding: 30px 22px 36px; }
  .hero__message { width: 100%; }
  .hero__message h1 { font-size: clamp(18px, 4.4vw, 25px); letter-spacing: .08em; }
  .hero__years { font-size: clamp(29px, 7.1vw, 42px); }
  .hero__address { max-width: 370px; }
  .hero__illustration { justify-self: end; width: min(58vw, 215px); margin-right: 5%; }
  .location { padding: 46px 22px 60px; }
  .location__inner { grid-template-columns: 1fr; width: 100%; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; padding: 37px 0; }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__contact li { font-size: 14px; }
  .site-footer__bottom { font-size: 13px; }
}
@media (max-width: 430px) {
  .site-footer { padding: 0 22px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__contact { grid-column: auto; }
  .site-footer__grid h2 { margin-bottom: 12px; }
  .site-footer__about p { max-width: 350px; }
  .site-footer__links li { margin-bottom: 9px; }
  .site-footer__bottom p:first-child span { display: block; }
  .whatsapp-float { width: 48px; height: 48px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whatsapp-float, .site-footer__socials a, .hero__action a { transition: none; }
}
