/* =========================================================
   PAU BRASIL DISTRIBUIDORA — Design System v2 (Moderno)
   Verde da logo como base + âmbar/amarelo das gotas
   ========================================================= */

:root {
  /* Verdes da marca */
  --verde-escuro: #123018;   /* fundo imersivo */
  --verde-escuro2: #0d2412;
  --verde-900: #1a2e12;
  --verde-700: #25592b;
  --verde-600: #2d7a2d;      /* verde vivo (logo) */
  --verde-500: #3b9147;
  --verde-100: #e9f3ea;
  --verde-50:  #f6f8f4;

  /* Âmbar / amarelo das gotas (destaque) */
  --amarelo:   #f2b705;
  --ambar-600: #c47a10;
  --ambar-100: #fdf3d6;

  /* Neutros */
  --bg:        #f6f8f4;
  --surface:   #ffffff;
  --texto:     #1a2e12;
  --texto-sec: #56655a;
  --texto-mut: #6b7a6e;
  --borda:     #e6ece3;

  --radius:    12px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(18, 48, 24, 0.06);
  --shadow-lg: 0 16px 50px rgba(18, 48, 24, 0.12);
  --max:       1200px;
  --font:      'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ============ HEADER (escuro) ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--verde-escuro);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  height: 58px; width: auto;
  background: #fff;
  padding: 7px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: #cbe6cf;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--amarelo); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amarelo); color: var(--verde-900);
  padding: 11px 22px; border-radius: 10px;
  font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  transition: transform .1s, filter .2s; white-space: nowrap;
}
.btn:hover { background: var(--verde-500); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-verde { background: var(--verde-600); color: #fff; }
.btn-verde:hover { background: var(--verde-500); color: #fff; }
.btn-outline-light {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { border-color: var(--verde-500); background: var(--verde-500); color: #fff; }
.btn-outline {
  background: transparent; color: var(--verde-600);
  border: 1.5px solid var(--verde-600);
}
.btn-outline:hover { background: var(--verde-500); color: #fff; border-color: var(--verde-500); }

.menu-toggle {
  display: none; background: none; border: none;
  font-size: 26px; color: #fff; cursor: pointer;
}

/* ============ HERO (escuro imersivo) ============ */
.hero {
  background: var(--verde-escuro);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,183,5,0.10), transparent 70%);
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; }

/* Hero da home: texto + logo grande em destaque */
.hero-home { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-logo { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-logo img {
  width: 100%; max-width: 360px; height: auto;
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242,183,5,0.14); border: 1px solid rgba(242,183,5,0.3);
  color: var(--amarelo); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  color: #fff; font-size: clamp(36px, 6vw, 56px); font-weight: 800;
  line-height: 1.05; letter-spacing: -1.5px; max-width: 700px; margin-bottom: 20px;
}
.hero h1 .hl { color: var(--amarelo); }
.hero p {
  color: #a9cbaf; font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.6; max-width: 500px; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 15px 28px; font-size: 15px; }

.hero-stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat-num { color: var(--amarelo); font-size: 40px; font-weight: 800; line-height: 1; }
.hero-stats .stat-lbl { color: #a9cbaf; font-size: 14px; margin-top: 6px; }
.hero-stats .divider { width: 1px; background: rgba(255,255,255,0.1); }

/* Hero com imagem lateral (páginas internas) */
.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-split .hero-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 320px; box-shadow: var(--shadow-lg);
}
.hero-split .hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SEÇÕES ============ */
.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section.dark { background: var(--verde-escuro); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.eyebrow {
  color: var(--ambar-600); font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.section.dark .eyebrow { color: var(--amarelo); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 36px); font-weight: 800;
  color: var(--verde-900); margin-top: 8px; letter-spacing: -0.5px; line-height: 1.15;
}
.section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--texto-sec); margin-top: 10px; font-size: 17px; max-width: 560px; }
.section.dark .section-head p { color: #a9cbaf; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Marcas */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
  background: var(--surface); border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.brand-card::before {
  content: ''; position: absolute; top: 0; left: 0; z-index: 3;
  width: 100%; height: 4px; background: var(--verde-600);
}
.brand-card.amarela::before { background: var(--amarelo); }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Slideshow que preenche o card (imagens trocam em fade) */
.brand-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--verde-50);
  overflow: hidden;
}
.brand-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.brand-slideshow img.active { opacity: 1; }

.brand-info { padding: 20px 24px 24px; text-align: center; }
.brand-info h3 { color: var(--verde-900); font-size: 19px; font-weight: 700; }
.brand-info p { color: var(--texto-mut); font-size: 14px; margin-top: 4px; }

/* Sobre (2 colunas + checklist) */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { font-size: clamp(28px, 4vw, 34px); font-weight: 800; color: var(--verde-900); letter-spacing: -0.5px; line-height: 1.15; margin: 8px 0 16px; }
.about-grid > div > p { color: var(--texto-sec); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; align-items: center; gap: 12px; }
.check-item .ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.check-item .ic.verde { background: var(--verde-100); color: var(--verde-600); }
.check-item .ic.amarela { background: var(--ambar-100); color: var(--ambar-600); }
.check-item span { color: var(--verde-900); font-size: 15px; font-weight: 500; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; height: 320px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Valores (cards) */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card {
  background: var(--surface); border: 1px solid var(--borda);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--verde-100); color: var(--verde-600);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.value-card:nth-child(even) .ic { background: var(--ambar-100); color: var(--ambar-600); }
.value-card h3 { color: var(--verde-900); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--texto-sec); font-size: 15px; line-height: 1.6; }
.value-card a {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--ambar-600); font-weight: 700; font-size: 14px;
}
.value-card a:hover { color: var(--verde-700); }

/* Unidades (seção escura) */
.units-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.units-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unit-chip {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 18px; color: #fff;
}
.unit-chip i { color: var(--amarelo); font-size: 20px; }
.unit-chip .nm { font-weight: 600; font-size: 15px; margin-top: 10px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--verde-escuro2); color: #cbe6cf; padding: 48px 0 26px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-top img {
  height: 70px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: #cbe6cf; font-size: 15px; }
.footer-nav a:hover { color: var(--amarelo); }
.footer-bottom { padding-top: 22px; font-size: 13px; color: #8bad91; text-align: center; line-height: 1.7; }

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-photo { height: 240px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brands-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container, .header-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--verde-escuro); flex-direction: column; gap: 0;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-links a::after { display: none; }
  .header-inner > .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-home { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat-num { font-size: 32px; }
}

/* =========================================================
   ANIMAÇÕES E MOVIMENTO (sutil)
   ========================================================= */

/* Reveal ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero: entrada suave ao carregar */
.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .8s ease forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .31s; }
.hero-copy > *:nth-child(4) { animation-delay: .44s; }
.hero-copy > *:nth-child(5) { animation-delay: .57s; }
.hero-logo {
  opacity: 0;
  animation: fadeIn 1s ease .4s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* Carrossel */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex;
  transition: transform .8s cubic-bezier(.65,.05,.36,1);
}
.carousel-track > * {
  flex: 0 0 100%;
  min-width: 100%;
}
.carousel-track img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 32px 24px;
  background: linear-gradient(to top, rgba(13,36,18,0.85), transparent);
  color: #fff;
}
.carousel-caption h3 { font-size: 22px; font-weight: 700; }
.carousel-dots {
  position: absolute;
  bottom: 18px; right: 24px;
  display: flex; gap: 8px;
}
.carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.4);
  transition: background .3s, width .3s;
}
.carousel-dot.active {
  background: var(--amarelo);
  width: 24px; border-radius: 5px;
}

/* Hover sutil nos cards já existentes reforçado */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy > *, .hero-logo { opacity: 1 !important; transform: none !important; animation: none !important; }
  .carousel-track { transition: none; }
}

@media (max-width: 720px) {
  .carousel-track img { height: 260px; }
  .carousel-caption { padding: 28px 20px 20px; }
}

/* Nome da marca em texto (usado no header da home, onde a logo já aparece grande no hero) */
.brand-text {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.brand-text:hover { color: var(--amarelo); }

/* ===== Header da home: faixa amarela de largura total ===== */
/* linha de cima só com o nome */
.header-home .header-inner { padding-bottom: 12px; }

/* faixa amarela atravessa a tela inteira */
.nav-bar {
  background: var(--amarelo);
  width: 100%;
}
/* opções centralizadas no meio da faixa */
.nav-bar .nav-amarelo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.nav-amarelo a {
  color: var(--verde-900);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-amarelo a:hover {
  background: var(--verde-500);
  color: #fff;
}
.nav-amarelo a::after { display: none; }

@media (max-width: 720px) {
  .nav-bar { background: transparent; }
  .nav-bar .nav-amarelo {
    background: var(--verde-escuro);
    padding: 8px 0;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav-bar .nav-amarelo.open { display: flex; }
  .nav-amarelo a { color: #cbe6cf; display: block; padding: 14px 24px; border-radius: 0; }
  .nav-amarelo a:hover { background: rgba(255,255,255,0.06); color: #fff; }
}
