/* Paleta da marca carrot — extraída de ../IMG (logos e peças). Altere só aqui. */
:root {
  --cream: #FFF6EE;
  --peach: #FFE6D3;
  --orange: #F26A1B;
  --orange-deep: #C2410C;
  --brown: #2B1B12;
  --brown-soft: #6B4A3A;
  --white: #FFFFFF;
  --line: #F1DCCB;
  --whatsapp: #1F8F4E;

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1160px;
  --shadow: 0 20px 50px -24px rgba(43, 27, 18, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}

.lead { font-size: 1.15rem; color: var(--brown-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--orange-deep); color: var(--cream); box-shadow: 0 10px 24px -12px var(--orange-deep); }
.btn-primary:hover { background: #A8370A; }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 24px -12px var(--whatsapp); }
.btn-whatsapp:hover { background: #18773F; }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.brand svg { width: 40px; height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--brown-soft);
  transition: color .15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brown); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav-links .btn { min-height: 44px; padding: 0 20px; color: var(--cream); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--brown);
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; width: 100%; }
  .nav-links a[aria-current="page"] { text-decoration: none; color: var(--orange-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -260px;
  top: -40px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: var(--orange);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--orange-deep); }
.hero .lead { max-width: 520px; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--brown-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--orange-deep); }

/* Celular ilustrativo */
.phone {
  justify-self: center;
  width: 100%;
  max-width: 330px;
  background: var(--brown);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(43, 27, 18, 0.6);
}
.phone-screen {
  background: var(--cream);
  border-radius: 34px;
  overflow: hidden;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}
.phone-top strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.phone-top small { color: var(--brown-soft); font-size: 0.75rem; }
.tag {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--orange-deep);
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px 22px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
}
.bubble.in { background: var(--white); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.bubble.bot { background: var(--peach); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.out { background: var(--orange); color: var(--white); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble .who { display: block; font-size: 0.68rem; font-weight: 600; opacity: .75; margin-bottom: 2px; }
.bubble ol { margin: 6px 0 0; padding-left: 18px; }
.system-note {
  align-self: center;
  font-size: 0.7rem;
  color: var(--brown-soft);
  background: rgba(43, 27, 18, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero::after { width: 520px; height: 520px; right: -280px; top: auto; bottom: -180px; }
  .phone { max-width: 300px; }
}

/* ---------- Faixa de destaques ---------- */
.strip {
  background: var(--brown);
  color: var(--cream);
  padding: 28px 0;
}
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-weight: 500;
}
.strip li { display: inline-flex; align-items: center; gap: 10px; }
.strip li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--peach);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--brown-soft); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Como funciona */
.how { background: var(--peach); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--brown-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Para quem */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  background: var(--white);
  border: 1px solid var(--line);
}
.panel.dark { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.panel.dark p, .panel.dark li { color: rgba(255, 246, 238, 0.78); }
.panel h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.panel > p { color: var(--brown-soft); margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--brown-soft); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .panel { padding: 32px 24px; } }

/* CTA / contato */
.cta {
  background: var(--orange);
  color: var(--brown);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; margin-bottom: 16px; }
.cta p { font-size: 1.1rem; max-width: 520px; }
.cta .btn-row { flex-direction: column; align-items: stretch; }
.cta .btn { min-height: 60px; font-size: 1.05rem; }
.cta-mark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  opacity: .12;
  pointer-events: none;
}
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; padding: 48px 24px; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--brown);
  color: rgba(255, 246, 238, 0.72);
  padding: 64px 0 32px;
  margin-top: 104px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 246, 238, 0.14);
}
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer h4 { color: var(--cream); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.9rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { margin-top: 72px; } }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}

/* [hidden] vence os display: flex/grid das classes (contato escondido, BUG-024) */
[hidden] { display: none !important; }
