/* ==========================================================================
   Rheda Comércio de Pneus — estilos
   Paleta (baseada na logo): preto #0d0d0d, laranja #f7941d, vermelho #e53228, amarelo #ffd400
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-ink: #14110f;
  --color-primary: #0d0d0d;
  --color-primary-soft: #262322;
  --color-accent: #f7941d;
  --color-accent-dark: #d97a0a;
  --color-red: #e53228;
  --color-yellow: #ffd400;
  --color-muted: #5c5652;
  --color-border: rgba(13, 13, 13, 0.12);

  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 32px rgba(13, 13, 13, 0.12);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-primary);
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--color-muted); }

section { padding: 88px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 4px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center { margin-inline: auto; text-align: center; }

.stripe-divider {
  display: flex;
  gap: 6px;
  height: 4px;
  width: 64px;
  margin: 0 0 24px;
}
.section-head.center .stripe-divider { margin-inline: auto; }
.stripe-divider span { flex: 1; border-radius: 4px; }
.stripe-divider span:nth-child(1) { background: var(--color-red); }
.stripe-divider span:nth-child(2) { background: var(--color-accent); }
.stripe-divider span:nth-child(3) { background: var(--color-yellow); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.btn-outline-dark {
  background: rgba(13, 13, 13, 0.06);
  color: var(--color-primary);
  border-color: rgba(13, 13, 13, 0.6);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-outline-dark:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.btn-outline-light:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 48px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; }
.main-nav a:focus-visible { outline: 2px solid var(--color-accent-dark); outline-offset: 3px; }

.header-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
  transition: var(--transition);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ── Animações ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes stripeIn {
  from { transform: skewX(-12deg) scaleY(0); }
  to   { transform: skewX(-12deg) scaleY(1); }
}

.animate-fadeup {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.animate-fadein {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
.card, .pillar, .contact-method {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  margin-top: 84px;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.82) 0%, rgba(38,35,34,0.75) 100%),
    url('images/jimmy-nilsson-masth-9uHal2Dd9aE-unsplash.jpg') center/cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.hero-stripes {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 260px;
  display: flex;
  gap: 18px;
  transform: skewX(-12deg);
  opacity: 0.9;
  transform-origin: top;
  animation: stripeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-stripes span { flex: 1; }
.hero-stripes span:nth-child(1) { background: var(--color-red); }
.hero-stripes span:nth-child(2) { background: var(--color-accent); }
.hero-stripes span:nth-child(3) { background: var(--color-yellow); }

.hero .container { position: relative; z-index: 2; max-width: 720px; width: 100%; }

.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero h2 { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.55s; }
.hero-info { animation-delay: 0.7s; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(247, 148, 29, 0.16);
  color: var(--color-accent);
  border: 1px solid rgba(247, 148, 29, 0.5);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-accent) 50%, var(--color-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-white); /* fallback */
}

.hero h2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-info div { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.hero-info strong { display: block; color: var(--color-white); font-size: 1rem; margin-bottom: 2px; }

/* Sobre */
.about { background: var(--color-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-history p { color: var(--color-ink); }

.pillars { display: grid; gap: 20px; }
.pillar {
  background: #fafafa;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.pillar h3 { color: var(--color-accent-dark); margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 0.95rem; }

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.values-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Serviços / Produtos */
.services {
  position: relative;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.72) 100%),
    url('images/jakob-rosen-FsBbavP9YA4-unsplash.jpg') center/cover no-repeat;
  color: var(--color-white);
}
.services .section-tag { color: var(--color-accent); }
.services .section-head h2 { color: var(--color-white); }
.services .section-head p { color: rgba(255,255,255,0.75); }
.services .card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.services .card h3 { color: var(--color-white); }
.services .card p { color: rgba(255,255,255,0.72); }
.services .card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(247,148,29,0.5);
  transform: translateY(-4px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(247, 148, 29, 0.4);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(247, 148, 29, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent-dark);
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.94rem; }

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

/* Localização + Contato (seção única) */
.location-contact { padding: 88px 0; background: var(--color-primary); color: var(--color-white); }
.location-contact .section-head h2 { color: var(--color-white); }
.location-contact .section-head p { color: rgba(255, 255, 255, 0.72); }
.location-contact .section-tag { color: var(--color-accent); }

.location-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.location-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(247, 148, 29, 0.18);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-row .icon svg { width: 20px; height: 20px; }
.info-row strong { display: block; margin-bottom: 4px; color: var(--color-white); }
.info-row span, .info-row p { color: rgba(255, 255, 255, 0.75); margin: 0; font-size: 0.94rem; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-method {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s;
}
.contact-method:hover { background: rgba(247, 148, 29, 0.14); border-color: var(--color-accent); }
.contact-method .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.18);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method .icon svg { width: 20px; height: 20px; }
.contact-method strong { display: block; color: var(--color-white); font-size: 0.96rem; }
.contact-method span { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 380px;
  position: relative;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  color: var(--color-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(13, 13, 13, 0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}
.btn-dark:hover {
  background: #2a2521;
  border-color: #2a2521;
}
.btn-outline-cta {
  background: rgba(255,255,255,0.15);
  color: var(--color-primary);
  border: 2px solid rgba(13,13,13,0.5);
}
.btn-outline-cta:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ── Footer ── */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.site-footer > .container { padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin: 12px 0 20px;
  line-height: 1.7;
}
.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.25s, color 0.25s;
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom strong { color: rgba(255,255,255,0.55); }
.footer-stripe {
  display: flex;
  height: 4px;
  gap: 0;
}
.footer-stripe span { flex: 1; }
.footer-stripe span:nth-child(1) { background: var(--color-red); }
.footer-stripe span:nth-child(2) { background: var(--color-accent); }
.footer-stripe span:nth-child(3) { background: var(--color-yellow); }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #ffffff; }
.whatsapp-float:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 3px; }

/* Skip link acessibilidade */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 2000;
  font-weight: 700;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Responsivo */
@media (max-width: 900px) {
  .about-grid,
  .location-contact-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 300px; }
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta a.btn { display: none; }

  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
  }

  section { padding: 64px 0; }
  .hero { min-height: calc(100vh - 84px); padding: 60px 0; }
  .hero-stripes { width: 140px; opacity: 0.5; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-section { padding: 60px 0; }
  .location-contact { padding: 64px 0; }
}

@media (max-width: 480px) {
  .site-header .container { height: 72px; }
  .hero { margin-top: 72px; min-height: calc(100vh - 72px); }
  .brand img { height: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Vitrine ── */
@media (max-width: 768px) {
  #vitrine-iframe {
    padding-bottom: 50px !important;
    height: calc(100vh - 193px) !important;
  }
}
