/* ==========================================================================
   Beox · LP Distribuidores — stylesheet estático (convertido do projeto React)
   ========================================================================== */

@font-face {
  font-family: "CreatoDisplay";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/CreatoDisplay-Regular.otf") format("opentype");
}

:root {
  --radius: 0.5rem;

  --background: #fcece9;
  --foreground: #3a221a;

  --primary: #422d24;
  --primary-foreground: #fdf3eb;

  --secondary: #fcece9; /* = background */
  --muted: #fcece9;     /* = background */
  --muted-foreground: #735e56;

  --accent: #daab9b;
  --accent-foreground: #3a221a;

  --destructive: #e7000b;

  --border: #e7d2cd;
  --input: #f1e0dc;
  --ring: #9b776a;

  --button: #636363;
  --button-foreground: #fcfcfc;

  --font-serif: "CreatoDisplay", system-ui, -apple-system, sans-serif;
  --font-sans: "CreatoDisplay", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.font-serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem; /* 7xl */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) { .wrap { padding-left: 2.5rem; padding-right: 2.5rem; } }
.wrap-3xl { max-width: 48rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 210, 205, 0.6);
  background-color: rgba(252, 236, 233, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.site-header.center .wrap { justify-content: center; padding-top: 2rem; padding-bottom: 2rem; }
.logo { height: 5rem; width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--button);
  color: var(--button-foreground);
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.25s ease;
}
.btn:hover { background-color: #4d4d4d; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.btn-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: var(--button);
  color: var(--button-foreground);
  padding: 1.25rem 1.75rem;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.25s ease;
}
.btn-block:hover { background-color: #4d4d4d; }
.btn-block span:first-child { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; }
.btn-block .arrow { font-size: 1.125rem; transition: transform 0.25s ease; }
.btn-block:hover .arrow { transform: translateX(4px); }
.btn-block:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 6rem; padding-bottom: 6rem; } }

.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.eyebrow-row { display: flex; align-items: center; gap: 0.75rem; }
.rule { height: 1px; width: 2.5rem; background-color: rgba(58,34,26,0.4); flex-shrink: 0; }

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.05;
  margin: 1.5rem 0 0;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 span { color: var(--accent); }

.hero-lead { margin-top: 2rem; max-width: 34rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }

.pill-list { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-size: 0.875rem; color: rgba(58,34,26,0.8); }
.pill-list li { display: flex; align-items: center; gap: 0.5rem; }
.dot { display: inline-block; height: 0.375rem; width: 0.375rem; border-radius: 999px; background-color: var(--accent); }

.hero-cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.hero-cta-note { font-size: 0.75rem; line-height: 1.6; color: var(--muted-foreground); }

.stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 28rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  list-style: none;
  padding-left: 0;
}
.stats .num { font-family: var(--font-serif); font-size: 2.25rem; color: var(--foreground); }
.stats .label { margin-top: 0.25rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }

.hero-media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--secondary);
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: var(--secondary); }
.marquee .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.marquee span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(58,34,26,0.7); }

/* ---------- Pillars ---------- */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }

.pillars-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.pillars-heading { font-size: 2.25rem; line-height: 1.1; margin-top: 1.5rem; }
@media (min-width: 640px) { .pillars-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pillars-heading { font-size: 3.75rem; } }
.pillars-heading span { color: var(--accent); }
.pillars-sub { margin-top: 1.5rem; max-width: 28rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }

.pillar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.pillar-item { display: grid; grid-template-columns: auto 1fr; gap: 0 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.pillar-n { font-family: var(--font-serif); font-size: 1.25rem; color: var(--accent); }
.pillar-t { font-family: var(--font-serif); font-size: 1.5rem; color: var(--foreground); margin: 0; }
@media (min-width: 640px) { .pillar-t { font-size: 1.875rem; } }
.pillar-b { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
@media (min-width: 640px) { .pillar-b { font-size: 1rem; } }

/* ---------- FAQ ---------- */
.faq-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: var(--secondary); }
.faq-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 5rem; } }
.faq-heading { font-size: 2.25rem; line-height: 1.1; margin-top: 1.5rem; }
@media (min-width: 640px) { .faq-heading { font-size: 3rem; } }
.faq-heading span { color: var(--accent); }
.faq-list-wrap { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--foreground);
}
@media (min-width: 640px) { .faq-q { font-size: 1.5rem; } }
.faq-plus { font-size: 1.5rem; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 2.5rem 1.5rem 0; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
@media (min-width: 640px) { .faq-a { font-size: 1rem; } }
.faq-item.open .faq-a { display: block; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.form-heading { font-size: 2.25rem; line-height: 1.1; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-heading { font-size: 3rem; } }
.form-heading span { color: var(--accent); }
.form-lead { margin-top: 1.5rem; max-width: 28rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }
.check-list { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(58,34,26,0.8); }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-list .mark { margin-top: 0.125rem; color: var(--accent); flex-shrink: 0; }

.form-card {
  background-color: var(--background);
  padding: 2rem;
  box-shadow: 0 30px 80px -50px rgba(60,30,20,0.4);
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }

#lead-form .fields-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { #lead-form .fields-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.field-label .req { color: var(--accent); }
.field input, .field select {
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus { border-color: var(--accent); }

.form-actions { grid-column: 1 / -1; margin-top: 0.5rem; }
.form-error { margin-top: 0.75rem; font-size: 0.75rem; color: var(--destructive); }
.form-note { margin-top: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background-color: rgba(252,236,233,0.4); }
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .site-footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- WhatsApp float ---------- */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 999px;
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.1); }

/* ---------- Obrigado page ---------- */
.thanks-section { margin-left: auto; margin-right: auto; max-width: 48rem; display: flex; flex-direction: column; align-items: center; padding: 6rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .thanks-section { padding-top: 8rem; padding-bottom: 8rem; } }
.thanks-title { font-size: 3rem; line-height: 1.05; margin-top: 2rem; }
@media (min-width: 640px) { .thanks-title { font-size: 3.75rem; } }
.thanks-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.thanks-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .thanks-actions { flex-direction: row; } }
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--foreground);
  transition: color 0.2s ease;
}
.link-btn:hover { color: var(--accent); }
