/* ═══════════════════════════════════════════
   PEDAL & PROSA — style.css
   Base visual para todo o site
═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Variáveis de Cores ── */
:root {
  --verde:         #2e7d32;
  --verde-medio:   #43a047;
  --verde-escuro:  #1b5e20;
  --verde-claro:   #f1f8f1;
  --laranja:       #e8720c;
  --laranja-claro: #fff3e0;
  --bege:          #f5f0e8;
  --bege-escuro:   #e8e0d0;
  --dourado:       #e6a817;
  --dourado-escuro:#c68a00;
  --escuro:        #1a1a1a;
  --cinza:         #666;
  --cinza-claro:   #f8f8f8;
  --borda:         #e0e0e0;
  --branco:        #ffffff;
  --wa:            #25D366;
  --sombra:        0 4px 24px rgba(0,0,0,0.08);
  --sombra-hover:  0 8px 32px rgba(0,0,0,0.14);
}

/* ── Utilitários ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--cinza);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.tag {
  display: inline-block;
  background: var(--verde-claro);
  color: var(--verde);
  border: 1px solid var(--verde-medio);
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   BOTÕES
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--dourado);
  color: var(--escuro);
  box-shadow: 0 4px 20px rgba(230,168,23,0.35);
}
.btn-primary:hover {
  background: var(--dourado-escuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(230,168,23,0.5);
}
.btn-verde {
  background: var(--verde);
  color: #fff;
  box-shadow: 0 4px 20px rgba(46,125,50,0.3);
}
.btn-verde:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(46,125,50,0.45);
}
.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: #fff;
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.topbar {
  background: var(--verde-escuro);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.topbar a { color: var(--dourado); font-weight: 700; }
.topbar a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   HEADER / NAVEGAÇÃO
═══════════════════════════════════════════ */
header {
  background: #fff;
  border-bottom: 1px solid var(--borda);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.logo-texto {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1.2;
}
.logo-texto span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  color: var(--cinza);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navegação desktop */
nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--escuro);
  border-radius: 8px;
  transition: all 0.18s ease;
  position: relative;
}
nav ul li a:hover,
nav ul li a.ativo {
  color: var(--verde);
  background: var(--verde-claro);
}
nav ul li a.ativo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--verde);
  border-radius: 2px;
}

/* Menu hambúrguer (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--escuro);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════
   HERO — home
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.42);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0 60px;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  text-align: center;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════
   SEÇÕES GERAIS
═══════════════════════════════════════════ */
section { padding: 72px 0; }
section.bg-bege { background: var(--bege); }
section.bg-verde { background: var(--verde); color: #fff; }
section.bg-verde .section-title { color: #fff; }
section.bg-verde .section-subtitle { color: rgba(255,255,255,0.8); }

/* ── Cards de pedais ── */
.pedais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.pedal-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
  transition: all 0.25s ease;
}
.pedal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
}
.pedal-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.pedal-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--verde-claro), var(--bege));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.pedal-card-body {
  padding: 24px;
}
.pedal-card-body h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  color: var(--escuro);
  margin: 10px 0 8px;
}
.pedal-card-body p {
  font-size: 0.9rem;
  color: var(--cinza);
  margin-bottom: 18px;
  line-height: 1.6;
}
.pedal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--borda);
  background: var(--cinza-claro);
}

/* ── Diferenciais ── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.diferencial-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--borda);
  transition: all 0.22s ease;
}
.diferencial-card:hover {
  border-color: var(--verde-medio);
  box-shadow: var(--sombra);
  transform: translateY(-4px);
}
.diferencial-icone {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.diferencial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 8px;
}
.diferencial-card p {
  font-size: 0.88rem;
  color: var(--cinza);
  line-height: 1.6;
}

/* ── Depoimentos ── */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.depoimento-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
  position: relative;
}
.depoimento-card::before {
  content: '"';
  font-family: 'Merriweather', serif;
  font-size: 4rem;
  color: var(--verde-claro);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.depoimento-texto {
  font-size: 0.92rem;
  color: var(--cinza);
  line-height: 1.7;
  margin-bottom: 18px;
  padding-top: 20px;
}
.depoimento-autor {
  font-weight: 700;
  color: var(--escuro);
  font-size: 0.9rem;
}
.depoimento-autor span {
  display: block;
  font-weight: 400;
  color: var(--cinza);
  font-size: 0.82rem;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--verde);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--escuro);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo-txt {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--verde-medio); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--dourado); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--dourado); }

/* Barra flutuante WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--wa);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.22s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}

/* ═══════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--borda); box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 16px 0; }
  nav.aberto { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav ul li a { padding: 12px 24px; border-radius: 0; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; }

  .hero { min-height: 80vh; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 52px 0; }

  .pedais-grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .diferenciais-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
