/* =========================================================
   Amanda.IA — landing (tema claro / fundo branco)
   Para trocar a cor de destaque da marca: mude --accent.
   ========================================================= */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f6f4;
  --bg-dark:   #0a0a0a;   /* card de destaque (newsletter) */
  --ink:       #0a0a0a;   /* texto principal */
  --muted:     #6b6b6b;
  --muted-2:   #9a9a9a;
  --line:      rgba(10, 10, 10, 0.10);
  --line-soft: rgba(10, 10, 10, 0.06);

  /* Cor da marca — troque aqui pela identidade da Amanda */
  --accent:      #f2d544;
  --accent-ink:  #0a0a0a;

  --radius:    22px;
  --radius-sm: 999px;
  --container: 1120px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* textura de grid sutil (estética blueprint) */
.grid-bg {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
}
.grid-bg-soft {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.btn-dark   { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-light  { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.ic { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo-dot { color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 60px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #fff;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.hero-title {
  margin-top: 30px;
  font-weight: 900;
  font-size: clamp(28px, 5.1vw, 62px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
/* Highlight estilo marca-texto: amarelo translúcido, levemente inclinado,
   atrás do texto (o texto continua preto) — como na ref. do @justyn.ai */
.hl {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 .1em;
}
.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.14em -0.06em 0.08em -0.06em;
  background: var(--accent); /* mesmo tom do botão "Quero receber" */
  border-radius: 3px;
  transform: rotate(-2deg);
}

.hero-sub {
  margin-top: 26px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

/* foto */
.hero-photo {
  position: relative;
  margin-top: 48px;
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.10);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-hint {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}
.hero-photo.photo-placeholder {
  background: var(--bg-soft);
  box-shadow: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-photo.photo-placeholder .photo-hint { display: flex; }

.intro { margin-top: 32px; max-width: 460px; }
.intro-hello { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.intro-text { margin-top: 10px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow.center { text-align: center; }

/* Newsletter card (escuro para contraste no fundo branco) */
.news-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.18);
}
.news-card .eyebrow { color: rgba(255,255,255,0.6); }
.news-title {
  margin-top: 16px;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.news-sub { margin: 18px auto 0; max-width: 480px; color: rgba(255,255,255,0.68); }

.news-form {
  margin: 32px auto 0;
  max-width: 560px;
  display: flex;
  gap: 10px;
}
.input {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 22px;
  font-size: 16px;
  font-family: var(--font);
  color: #0a0a0a;
  outline: none;
}
.input::placeholder { color: #9a9a9a; }
.input:focus { box-shadow: 0 0 0 3px var(--accent); }

.form-msg { margin-top: 16px; font-size: 15px; font-weight: 600; min-height: 22px; }
.form-msg.ok  { color: var(--accent); }
.form-msg.err { color: #ff8a8a; }

.news-fine { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.45); }

/* Benefits */
.benefits {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.benefit-num {
  display: inline-block;
  font-weight: 900;
  font-size: 14px;
  color: var(--ink);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.benefit h3 { margin-top: 14px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.cta-center { margin-top: 44px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-weight: 900; letter-spacing: -0.02em; }
.footer-copy { color: var(--muted-2); font-size: 13px; }

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
  .nav { display: none; }
  .news-form { flex-direction: column; }
  .news-card { padding: 40px 22px; }
  .benefits { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}
