/* =========================================================
   Linvere — Functional Health for Women (Renata Lin)
   BRAND TOKENS: cores tiradas do logo Linvere.
   ========================================================= */
:root {
  /* Paleta extraída do logo Linvere */
  --bg: #fdfbf7;          /* creme do logo */
  --bg-alt: #f4efe6;      /* creme quente (faixas alternadas) */
  --sage-soft: #e8ede2;   /* sálvia bem clara */
  --surface: #ffffff;
  --ink: #3b352c;         /* texto principal */
  --ink-soft: #6a604f;    /* marrom do "Functional health for women" */
  --line: #e7dfd2;
  --brand: #627058;       /* verde escuro do "vere" */
  --brand-dark: #4e5a46;
  --sage: #8a9c7c;        /* verde claro das folhas */
  --accent: #be6b45;      /* terracota do "Lin" */
  --accent-dark: #a4583a;
  --on-brand: #ffffff;
  --deep: #4e5a46;        /* faixas escuras / footer (verde profundo) */
  --on-deep: #f6f0e6;
  --deep-accent: #e8b99c; /* terracota clara sobre o verde */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(60, 40, 30, .35);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--accent); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand); font-weight: 500; margin-bottom: 1rem; display: inline-block;
}
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 42rem; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.8em; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .82rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-brand); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--deep); color: var(--on-deep); text-align: center;
  font-size: .85rem; letter-spacing: .06em; padding: .6em 1em;
}
.announce a { color: #fff; font-weight: 500; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(253, 251, 247, .93);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo-mark { height: 58px; width: auto; flex: none; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; }
.logo-word { height: 32px; width: auto; max-width: none; flex: none; object-fit: contain; }
.logo-tag { white-space: nowrap; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { width: 100%; margin-top: 16px; }
}

/* ---------- photo placeholders (trocar por fotos reais da Renata) ---------- */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden; background:
    radial-gradient(120% 90% at 20% 10%, #f3d3c0 0%, transparent 55%),
    radial-gradient(90% 80% at 90% 90%, #c8d3bd 0%, transparent 60%),
    linear-gradient(160deg, #efe4d8, #dccfbf);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo .ph-label {
  margin: 18px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255, 255, 255, .7); padding: .5em .9em; border-radius: 999px; color: var(--ink-soft);
}

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { aspect-ratio: 4 / 5; }
.hero-visual { position: relative; }
.hero-badge {
  position: absolute; left: -28px; bottom: 40px; background: var(--surface); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 250px; font-size: .92rem; line-height: 1.4;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.leaf { position: absolute; color: var(--brand); opacity: .18; pointer-events: none; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* ---------- cards (offerings) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 8px; padding: .8em 1.4em; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { aspect-ratio: 5 / 6; }
.quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.35;
  border-left: 3px solid var(--accent); padding-left: 24px; margin: 32px 0; font-style: italic;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.pillar {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.pillar-body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .3em; }
.pillar p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; flex: 1; }
.pillar-link { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.pillar:hover .pillar-link span { margin-left: 4px; }
.pillar-link span { transition: margin .2s; }
@media (max-width: 1060px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); gap: 14px; } .pillar-body { padding: 16px 14px 18px; } }

/* ---------- guide promo band ---------- */
.promo { background: var(--brand); color: var(--on-brand); border-radius: 28px; overflow: hidden; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.promo-copy { padding: clamp(40px, 6vw, 80px); }
.promo-copy .eyebrow { color: rgba(255, 255, 255, .8); }
.promo-copy p { color: rgba(255, 255, 255, .88); }
.promo ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.promo li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.promo li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.promo-visual { display: flex; align-items: center; justify-content: center; padding: 48px; background: rgba(0,0,0,.08); height: 100%; }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; } }

/* guide "book cover" mockup */
.guide-cover {
  width: min(300px, 100%); aspect-ratio: 3 / 4; border-radius: 6px 16px 16px 6px; position: relative;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%); color: var(--ink);
  box-shadow: -10px 0 0 -4px rgba(0,0,0,.12) inset, 0 30px 60px -20px rgba(0,0,0,.45);
  padding: 34px 28px; display: flex; flex-direction: column; transform: rotate(-3deg);
}
.guide-cover .gc-kicker { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brand); }
.guide-cover .gc-title { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; margin: 14px 0 10px; }
.guide-cover .gc-sub { font-size: .8rem; color: var(--ink-soft); line-height: 1.4; }
.guide-cover .gc-author { margin-top: auto; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; }
.guide-cover .gc-leaf { position: absolute; right: 18px; bottom: 44px; width: 90px; color: var(--accent); opacity: .5; }
.guide-cover .gc-mark { position: absolute; right: 22px; bottom: 50px; width: 96px; opacity: .9; }

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testimonial { background: var(--surface); border-radius: var(--radius); padding: 34px 30px; }
.testimonial p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; }
.testimonial .who { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 15px 18px; border-radius: 12px; border: 1.5px solid var(--line);
  font: 400 1rem var(--font-body); background: var(--surface); color: var(--ink); transition: border-color .2s;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b5d55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .92rem; min-height: 1.2em; margin: 0; }
.form-msg.error { color: #a23b2a; }
.form .btn { width: 100%; padding: 1.15em; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.fine { font-size: .8rem; color: var(--ink-soft); margin: 0; text-align: center; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* newsletter band */
.newsletter { background: var(--deep); color: var(--on-deep); }
.newsletter .lead { color: rgba(243, 235, 228, .8); }
.newsletter .eyebrow { color: var(--deep-accent); }
.newsletter-form { display: flex; gap: 12px; max-width: 640px; margin: 32px auto 0; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 180px; padding: 16px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; font: 400 1rem var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { outline: none; border-color: var(--deep-accent); }
.newsletter .form-msg { width: 100%; text-align: center; }
.newsletter .form-msg.error { color: #f2a99a; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding: 72px 0 36px; border-top: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--deep-accent); margin: 0 0 16px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .logo-tag { color: var(--deep-accent); }
.site-footer .logo-mark { height: 64px; }
.site-footer .logo-word { height: 32px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; opacity: .7; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.disclaimer { max-width: 760px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- free-guide landing ---------- */
.fg-hero { padding: clamp(48px, 7vw, 96px) 0; }
.fg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.fg-card { position: sticky; top: 110px; background: var(--surface); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.fg-card h2 { font-size: 1.9rem; }
.fg-cover-wrap { display: flex; justify-content: center; padding: 20px 0 40px; }
.fg-list { list-style: none; padding: 0; margin: 24px 0; }
.fg-list li { display: flex; gap: 14px; margin-bottom: 14px; }
.fg-list .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); }
.success { text-align: center; padding: 12px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.success-icon svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .fg-grid { grid-template-columns: 1fr; } .fg-card { position: static; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- admin ---------- */
.admin { padding: 48px 0; }
.admin .count { font-size: 1rem; background: var(--brand); color: #fff; border-radius: 999px; padding: 4px 12px; vertical-align: middle; font-family: var(--font-body); }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); margin-top: 24px; }
.admin table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin th, .admin td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.admin .empty { text-align: center; color: var(--ink-soft); padding: 40px; }

/* ---------- brand bits ---------- */
.brand-rule { width: 64px; height: 2px; background: var(--accent); border: 0; margin: 0 0 1.2rem; }
.center .brand-rule { margin-left: auto; margin-right: auto; }
.tagline { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 1.15rem; }
@media (max-width: 560px) { .logo-mark { height: 46px; } .logo-word { height: 24px; } .logo-tag { font-size: .52rem; letter-spacing: .2em; } }

.h1-accent { color: var(--accent); font-style: normal; }

/* contact emails */
.contact-list li { display: flex; flex-direction: column; margin-bottom: 14px; }
.contact-list span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 2px; }
.footer-bottom a { color: inherit; }
.about-contact { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); }
.about-contact a, .fine a { color: var(--accent); }

.emailed-note { font-size: .92rem; color: var(--ink-soft); background: var(--sage-soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.legal-wrap { max-width: 820px; }
.legal-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.legal-meta { font-size: .85rem; color: var(--ink-soft); letter-spacing: .04em; }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 32px 0 48px; }
.legal-toc p { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: .95rem; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a, .legal section a { color: var(--accent); }
.legal section { padding-top: 12px; margin-bottom: 30px; scroll-margin-top: 110px; }
.legal h2 { font-size: 1.6rem; margin-bottom: .6em; }
.legal h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
.legal section p, .legal section li { color: var(--ink-soft); font-size: 1rem; }
.legal section strong { color: var(--ink); font-weight: 500; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal-contact { background: var(--bg-alt); border-radius: 14px; padding: 18px 22px; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.form-legal { width: 100%; text-align: center; font-size: .8rem; color: rgba(243, 235, 228, .65); margin: 4px 0 0; }
.form-legal a { color: inherit; }
