/* =========================================================
   Pneus 2 Irmãos – Renovadora de Pneus
   Layout: DEC Soluções Digitais · out/2026
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #16304F;          /* cor principal */
  --navy-dark: #0F2440;     /* topbar e rodapé */
  --navy-line: #2A4366;
  --accent: #E3A21A;        /* âmbar – CTAs principais */
  --accent-text: #8A5A00;   /* âmbar escuro p/ textos (contraste AA) */
  --green: #1E7A3E;         /* WhatsApp */
  --ink: #1E242C;           /* texto */
  --ink-on-accent: #1A1A1A;
  --muted: #4A5361;         /* texto secundário */
  --ground: #F5F3EE;        /* fundo da página */
  --surface: #FFFFFF;
  --surface-alt: #EAE6DD;
  --line: #E2DED5;
  --on-dark: #DCE3EC;
  --on-dark-muted: #B9C6D6;

  --font-display: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 8px;
  --radius-sm: 6px;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
address { font-style: normal; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack-sm { display: flex; flex-direction: column; gap: 18px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.eyebrow {
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent-text);
}
.eyebrow--accent { color: var(--accent); }

.link-strong { font-weight: 700; }

.ico-text { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease, background-color .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink-on-accent); }
.btn--accent:hover { color: var(--ink-on-accent); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { color: #fff; }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn--ghost { border: 1.5px solid #8FA3BC; color: #fff; background: transparent; }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: var(--on-dark); font-size: 15px; }
.topbar__inner {
  padding-top: 8px; padding-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  align-items: center; justify-content: space-between;
}
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.topbar__link { color: var(--on-dark); text-decoration: none; }
.topbar__link:hover { color: #fff; }

/* ---------- Header ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__inner {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
}
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--navy); }
.brand__logo { width: 56px; height: 56px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.05; }
.brand__tag { font-size: 14px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 0; }
.header__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; }
.hero__inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }
.hero__lead { font-size: 19px; color: var(--on-dark); max-width: 560px; }
.hero__note { font-size: 15px; color: var(--on-dark-muted); }
.hero__note a { color: #fff; font-weight: 700; }
.hero__img { flex: 1 1 420px; min-width: 0; width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Números ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__grid { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--accent); padding-left: 16px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--navy); line-height: 1.1; }
.stat__label { color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--no-bottom { padding-bottom: 0; }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.section__title { font-size: clamp(30px, 3.6vw, 40px); color: var(--navy); }

/* ---------- Cards de serviço ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__img { width: 100%; height: 170px; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 24px; color: var(--navy); }
.card__text { color: var(--muted); flex: 1; }
.card .btn { min-height: 46px; }
.callout { padding: 18px 22px; background: var(--surface-alt); border-radius: var(--radius); }

/* ---------- Split (texto + imagem) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split--start { align-items: flex-start; }
.split--stretch { align-items: stretch; gap: 40px; }
.split__text { flex: 1 1 440px; min-width: 0; }
.split__img { flex: 1 1 420px; min-width: 0; width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.split__img--tall { height: 440px; object-position: 50% 40%; }

/* ---------- Passos da coleta ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink-on-accent); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); }
.gallery .gallery__top { object-position: 50% 35%; }

/* ---------- Homenagem ---------- */
.tribute {
  flex: 1 1 380px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.tribute__photo { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tribute__photo img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-sm); }
.tribute__photo figcaption { font-size: 14px; color: var(--muted); }
.tribute__head { display: flex; flex-direction: column; gap: 2px; }
.tribute__label { font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tribute__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--navy); }
.tribute__quote { font-style: italic; color: #333B45; }

/* ---------- Parceiro ---------- */
.partner { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner__inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; }
.partner__label { font-weight: 700; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; font-size: 14px; }
.partner__logo { width: 200px; height: 64px; object-fit: contain; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.testimonial blockquote { margin: 0; font-size: 18px; }
.testimonial figcaption { display: flex; flex-direction: column; margin-top: auto; }
.testimonial figcaption strong { color: var(--navy); }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Formulário ---------- */
.quote {
  flex: 1 1 520px; min-width: 0;
  background: var(--navy); color: #fff; border-radius: 10px;
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.quote__head { display: flex; flex-direction: column; gap: 6px; }
.quote__head p { color: var(--on-dark); }
.quote__title { font-size: 36px; }
.quote__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  min-height: 46px; border: 0; border-radius: var(--radius-sm);
  padding: 0 14px; color: var(--ink); background: #fff;
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field [aria-invalid="true"] { outline: 3px solid #F2B8B5; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--on-dark); }
.check input { width: 20px; height: 20px; }
.quote__privacy { font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Contato direto ---------- */
.contact { flex: 1 1 380px; min-width: 0; gap: 20px; }
.contact__title { font-size: 32px; color: var(--navy); }
.contact-card {
  display: flex; gap: 14px; align-items: center; padding: 18px;
  border-radius: var(--radius); text-decoration: none;
  color: var(--navy); background: var(--surface); border: 1px solid var(--line);
}
.contact-card > span { display: flex; flex-direction: column; }
.contact-card strong { font-size: 19px; }
.contact-card > span > span { font-size: 15px; }
.contact-card--whatsapp { background: var(--green); color: #fff; border-color: var(--green); }
.contact-card--whatsapp:hover { color: #fff; filter: brightness(1.06); }
.address {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
}
.address strong { color: var(--navy); }
.address__hours { margin-top: 8px; }

/* ---------- Faixa final ---------- */
.cta-band { background: var(--accent); }
.cta-band__inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.cta-band__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); color: var(--ink-on-accent); line-height: 1.15; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-dark); color: var(--on-dark); font-size: 15px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer__grid { padding-top: 44px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col strong { color: #fff; }
.footer__brand { font-family: var(--font-display); font-size: 22px; }
.footer__bottom {
  padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--navy-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  color: var(--on-dark-muted); font-size: 14px;
}
.footer__bottom a { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float:hover { color: #fff; filter: brightness(1.06); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  :root { --section-y: 56px; }
  .header { position: static; }
  .hero__inner { padding-top: 44px; padding-bottom: 44px; gap: 32px; }
  .hero__img { height: 260px; }
  .split__img, .split__img--tall { height: 300px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav { gap: 2px 18px; font-size: 15px; }
  .header__actions { width: 100%; }
  .header__actions .btn { flex: 1 1 auto; }
  .btn--lg { width: 100%; }
  .quote { padding: 24px; }
  .gallery img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
