/* === Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: #2A160C; background: #fff;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

:root {
  --brown: #2A160C;
  --brown-light: #3d2d26;
  --gold: #BF9155;
  --gold-dark: #A07843;
  --beige: #F5EFE6;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 60px);
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* === Header === */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(42, 22, 12, .85); backdrop-filter: blur(10px);
  padding: 14px 0; transition: padding .2s;
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr-logo { height: 40px; width: auto; }
.hdr-nav { display: flex; gap: 28px; }
.hdr-nav a { color: #fff; font-weight: 600; font-size: 14px; transition: color .2s; }
.hdr-nav a:hover, .hdr-nav a.active { color: var(--gold); }
.hdr-cta {
  background: var(--whatsapp); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s;
}
.hdr-cta:hover { transform: translateY(-1px); background: var(--whatsapp-dark); }
.menu-btn { display: none; color: #fff; font-size: 28px; }

/* === Hero === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--brown);
  color: #fff; padding-top: 90px;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--brown) 0%, rgba(42,22,12,.85) 50%, rgba(42,22,12,.4) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 60px 0; }
.hero-mark { display: none; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 1.1rem; margin-bottom: 32px; opacity: .9; }

/* === Sub-hero (paginas internas) === */
.subhero {
  background: var(--brown); color: #fff;
  padding: 140px var(--pad) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(191,145,85,.18), transparent 70%);
}
.subhero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.subhero h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.subhero h1 .accent { color: var(--gold); }
.subhero p { font-size: 1.05rem; opacity: .9; max-width: 640px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumb {
  font-size: .85rem;
  margin-bottom: 24px; opacity: .8;
  display: flex; gap: 8px; justify-content: center;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::after { content: '/'; margin-left: 8px; opacity: .5; }
.breadcrumb span:last-child::after { content: ''; }

/* === Botoes === */
.btn-wpp {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #fff;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
}
.btn-wpp:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.5); background: var(--whatsapp-dark); }
.btn-wpp svg { width: 22px; height: 22px; }

/* === Seções === */
section { padding: 80px 0; }
.eyebrow { color: var(--gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.lead { font-size: 1.1rem; color: #555; max-width: 680px; }

/* === Conteúdo de página interna === */
.content { background: #fff; }
.content-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.content h2 { font-size: 1.75rem; color: var(--brown); margin: 48px 0 16px; font-weight: 700; line-height: 1.25; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.25rem; color: var(--brown); margin: 32px 0 12px; font-weight: 700; }
.content p { margin-bottom: 16px; color: #444; line-height: 1.75; }
.content ul, .content ol { margin: 16px 0 24px 24px; color: #444; }
.content li { margin-bottom: 8px; line-height: 1.7; }
.content strong { color: var(--brown); }
.content .highlight-box {
  background: var(--beige); border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: 0 12px 12px 0;
  margin: 24px 0;
}
.content .highlight-box p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { background: var(--beige); }
.faq-list { max-width: 760px; margin: 32px auto 0; }
.faq-item {
  background: #fff; border-radius: 12px; padding: 0;
  margin-bottom: 12px; overflow: hidden;
  border: 1px solid rgba(42,22,12,.06);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer; font-weight: 700; color: var(--brown);
  list-style: none; position: relative;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--beige); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--gold);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item-body { padding: 0 24px 20px; color: #555; line-height: 1.7; }

/* === Serviços (cards) === */
.services { background: #fff; }
.services-grid {
  display: grid; gap: 28px; margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.svc {
  background: #fff; border-radius: 16px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(42,22,12,.08);
  display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(42,22,12,.12); }
.svc img { aspect-ratio: 16/10; object-fit: cover; }
.svc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-size: 1.2rem; color: var(--brown); font-weight: 700; }
.svc p { color: #555; font-size: .95rem; flex: 1; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700; font-size: .9rem;
  margin-top: 8px; align-self: flex-start;
  transition: gap .2s, color .15s;
}
.svc-link:hover { gap: 10px; color: var(--gold-dark); }

/* === Marquee === */
.marquee {
  background: var(--brown); color: var(--gold);
  padding: 22px 0; overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(191,145,85,.15);
  border-bottom: 1px solid rgba(191,145,85,.15);
}
.marquee-track {
  display: flex; gap: 40px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track span {
  font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 40px;
}
.marquee-track span::after { content: '✦'; color: var(--gold); opacity: .6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === Diferenciais === */
.diffs { background: var(--beige); }
.diffs-grid { display: grid; gap: 24px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.diff {
  text-align: center; padding: 32px 24px; border-radius: 16px;
  background: #fff; transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(42,22,12,.05);
}
.diff:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(42,22,12,.08); }
.diff-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--brown); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.diff-icon svg { width: 28px; height: 28px; }
.diff h3 { color: var(--brown); margin-bottom: 8px; font-size: 1.1rem; font-weight: 700; }
.diff p { color: #555; font-size: .9rem; line-height: 1.5; }

/* === Sobre === */
.about {
  position: relative; color: #fff; padding: 120px 0;
  background: var(--brown); overflow: hidden;
}
.about::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../assets/wp-content/uploads/2024/07/SOBRE-MIM-BG-1.webp');
  background-size: cover; background-position: center;
  opacity: .4;
}
.about-content { position: relative; max-width: 720px; }
.about .h2 { color: #fff; }
.about .eyebrow { color: var(--gold); }
.about p { margin-bottom: 16px; opacity: .92; line-height: 1.7; }
.about .btn-wpp { margin-top: 16px; }

/* === Estrutura (galeria) === */
.structure { background: #fff; text-align: center; }
.gallery {
  display: grid; gap: 16px; margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gallery img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; transition: transform .3s; }
.gallery img:hover { transform: scale(1.02); }
.structure .btn-wpp { margin-top: 32px; }

/* === Atuamos em todo Brasil === */
.brazil { background: var(--beige); color: var(--brown); padding: 80px 0; }
.brazil-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.brazil iframe {
  width: 100%; height: 360px; border: 0; border-radius: 16px;
  box-shadow: 0 8px 24px rgba(42,22,12,.12);
}
.brazil h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.highlight {
  position: relative; display: inline-block; color: var(--brown);
  font-weight: 700; padding: 0 4px;
}
.highlight::before {
  content: ''; position: absolute;
  inset: 0; z-index: -1;
  background: var(--gold); opacity: .35;
  border-radius: 50%;
  transform: scale(1.15, 1.6);
}
.brazil p { margin-bottom: 16px; line-height: 1.7; color: #444; }
.brazil-info { font-size: .95rem; }
.brazil-info strong { color: var(--brown); }

/* === CTA final === */
.cta-final {
  background: var(--brown); color: #fff; text-align: center;
  padding: 100px var(--pad);
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(191,145,85,.15), transparent 70%);
}
.cta-final-inner { position: relative; }
.cta-final .h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { opacity: .9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === Footer === */
footer { background: #1a0d07; color: #aaa; padding: 32px 0; font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer a { color: var(--gold); }

/* === Floating WhatsApp === */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .15s, background .15s;
}
.fab:hover { transform: scale(1.08); background: var(--whatsapp-dark); }
.fab svg { width: 28px; height: 28px; }

/* === Responsivo === */
@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .hdr-cta { padding: 8px 16px; font-size: 13px; }
  .menu-btn { display: block; }

  .hero {
    min-height: auto;
    padding: 70px 0 0;
    align-items: stretch;
    text-align: center;
    flex-direction: column;
    background: var(--brown);
  }
  .hero::after { display: none; }
  .hero-photo {
    position: static;
    width: 100%; height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 15%;
    z-index: auto;
  }
  .hero-content { padding: 32px 0 56px; max-width: 100%; }
  .hero-mark {
    display: block;
    width: 80px; height: auto;
    margin: 0 auto 20px;
    opacity: .9;
  }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); margin-bottom: 16px; }
  .hero p { font-size: .95rem; margin-bottom: 28px; max-width: 380px; margin-left: auto; margin-right: auto; opacity: .85; }
  .btn-wpp { padding: 14px 26px; font-size: .95rem; }

  .subhero { padding: 110px var(--pad) 50px; }

  .hdr { background: transparent; backdrop-filter: none; }
  .hdr.scrolled { background: rgba(42,22,12,.95); backdrop-filter: blur(10px); }
  body.subpage .hdr { background: rgba(42,22,12,.95); backdrop-filter: blur(10px); }

  section { padding: 60px 0; }
  .about { padding: 80px 0; }
  .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hdr-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--brown); padding: 16px var(--pad);
  }
  .hdr-nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

  .services-grid, .diffs-grid { gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .brazil-grid { grid-template-columns: 1fr; gap: 32px; }
  .fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .marquee-track span { font-size: .85rem; gap: 28px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; line-height: 1.2; }
  .hero-content { padding-bottom: 32px; }
  .gallery { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
