/* ============================================
   MAIN.CSS — Reset, variáveis, tipografia e
   componentes globais (header, footer, hero...)
   ============================================ */

:root {
  --wood: #b3560d;       /* laranja da marca, escurecido p/ contraste em texto */
  --wood-dark: #404041;  /* grafite da marca — botões e destaques primários */
  --wood-deep: #2b2b2b;  /* grafite profundo — footer, faixas escuras */
  --accent: #f58c29;     /* laranja puro da marca — só uso decorativo (sem texto sobreposto) */
  --cream: #faf6f0;
  --sand: #f0e7dc;
  --ink: #2a2220;
  --muted: #7a6f66;
  --line: #e7ddd0;
  --wa: #25d366;
  --green-dark: #1eb257;
  --shadow: 0 18px 55px rgba(43, 43, 43, 0.13);
  --shadow-sm: 0 8px 28px rgba(43, 43, 43, 0.07);
  --radius: 18px;
  --maxw: 1280px;
}

/* ----- Reset ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(179, 86, 13, .35); outline-offset: 3px; }

/* ----- Tipografia ----- */
h1, h2, h3, h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700; line-height: 1.12; letter-spacing: -0.035em;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 600; color: var(--wood); margin-bottom: 10px;
}

/* ----- Layout ----- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section--alt { background: var(--sand); }
.section, .features, .about { content-visibility: auto; contain-intrinsic-size: 1px 700px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__head p { color: var(--muted); margin-top: 8px; }

/* ----- Botões ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wood-dark); color: #fff;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--wood-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--brand { background: var(--accent); color: var(--wood-deep); }
.btn--brand:hover { background: var(--wood); color: #fff; }
.btn--ghost { background: transparent; color: var(--wood-dark); border: 1.5px solid var(--wood-dark); }
.btn--ghost:hover { background: var(--wood-dark); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--wa { background: var(--wa); }
.btn--wa:hover { background: var(--green-dark); }
.btn--block { width: 100%; }

/* ----- Topbar ----- */
.topbar { background: var(--wood-deep); color: #f3e9dd; font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: center; align-items: center; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar__inner p { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.topbar__icon { font-size: 0.95rem; }
.topbar a { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ----- Header ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(43,43,43,.08); background: rgba(255,255,255,.94); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { height: 50px; width: auto; display: block; }
.logo__mark-img { height: 34px; width: auto; display: block; }
.logo__text { font-size: 1.1rem; font-family: "Fraunces", serif; }
.logo__text strong { font-weight: 600; }
.logo--light { color: var(--cream); display: flex; align-items: center; gap: 10px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--wood); }
.nav a.is-active { font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ----- Hero ----- */
.hero { background: var(--cream); padding: 24px 0 0; }
.hero__banner {
  position: relative; border-radius: 28px; overflow: hidden;
  min-height: min(720px, calc(100vh - 142px)); display: flex; align-items: flex-end;
  box-shadow: var(--shadow); background: var(--sand);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero__bg.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(20,20,20,.84) 0%, rgba(20,20,20,.48) 48%, rgba(20,20,20,.08) 78%), linear-gradient(180deg, transparent 45%, rgba(18,18,18,.42) 100%);
}
.hero__panel { position: relative; z-index: 2; padding: 64px 64px 68px; max-width: 760px; }
.hero__dots { display: flex; gap: 8px; margin-top: 26px; }
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none;
  background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: background .2s, width .2s;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active { background: #fff; width: 22px; border-radius: 4px; }
.hero__panel .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2.55rem, 5.2vw, 4.8rem); margin-bottom: 20px; max-width: 700px; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.16rem); color: rgba(255, 255, 255, 0.88); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.btn--ghost-light:hover { background: #fff; color: var(--wood-dark); border-color: #fff; }
/* ----- Features / selos ----- */
.features { background: var(--wood-deep); color: #f3e9dd; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 34px 24px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__ico { font-size: 1.6rem; }
.feature strong { display: block; font-size: 0.98rem; }
.feature p { font-size: 0.85rem; color: #c7c2bd; }

/* ----- Categorias ----- */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 22px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 128px; text-align: center; }
.cat__img { display: block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat__img { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat__label { font-family: "Montserrat", sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--ink); }

/* ----- Sobre ----- */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about__media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__content h2 { margin-bottom: 18px; }
.about__content p { color: var(--muted); margin-bottom: 14px; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--wa); font-weight: 700; }

/* ----- Depoimentos ----- */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.testimonial { display: flex; flex-direction: column; min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.testimonial__stars { color: var(--accent); font-size: 1.05rem; letter-spacing: .12em; margin-bottom: 22px; }
.testimonial blockquote { flex: 1; font: 600 clamp(1.05rem, 2vw, 1.22rem)/1.55 Montserrat,sans-serif; color: var(--ink); }
.testimonial__author { display: grid; gap: 2px; margin-top: 22px; }
.testimonial__author a { width: fit-content; color: var(--wood); font-size: .88rem; font-weight: 700; }
.testimonial__author a:hover { text-decoration: underline; }
.testimonial__author span { color: var(--muted); font-size: .75rem; }
.testimonials__action { display: flex; justify-content: center; margin-top: 30px; }

/* ----- Footer ----- */
.footer { background: var(--wood-deep); color: #c9c4bd; padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.35fr .8fr 1.15fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer__desc { margin-top: 14px; font-size: 0.9rem; max-width: 280px; }
.footer__brand { display: inline-flex; }
.footer__logo-img { display: block; width: min(230px, 100%); height: auto; }
.footer__col h4 { font-family: "Montserrat", sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; font-size: 0.9rem; margin-bottom: 8px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__social { display: grid; gap: 10px; }
.footer__social a { display: flex; align-items: center; gap: 10px; margin: 0; width: fit-content; }
.footer__social a span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(245,140,41,.55); border-radius: 50%; color: var(--accent); font-size: .72rem; font-weight: 800; }
.footer__social a:hover span { background: var(--accent); color: var(--wood-deep); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px; font-size: 0.82rem; text-align: center; }

/* ----- WhatsApp flutuante ----- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55); }
.wa-float__icon { font-size: 1.5rem; line-height: 1; }
.wa-float__ring {
  position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float__ring { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ----- Utilidades ----- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* Entrada progressiva durante a rolagem. Só oculta após o JS estar pronto. */
.reveal-ready .reveal { opacity: 0; transform: translateY(34px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.65,.25,1); }
.reveal-ready .reveal.reveal--left { transform: translateX(-38px); }
.reveal-ready .reveal.reveal--right { transform: translateX(38px); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translate(0); }
.reveal-ready .reveal:nth-child(2) { transition-delay: .07s; }
.reveal-ready .reveal:nth-child(3) { transition-delay: .14s; }
.reveal-ready .reveal:nth-child(4) { transition-delay: .21s; }
