/* Fontes do ebook (Lora e Poppins, licença OFL), hospedadas no próprio site */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cores e medidas tiradas do ebook */
:root {
  color-scheme: light;
  --cream: #FBF5EA;
  --paper: #FFFDF8;
  --sand: #F2E7D3;
  --line: #E2D3B8;
  --ink: #2B211B;
  --ink-soft: #5A4F46;
  --petrol: #14495A;
  --petrol-soft: #E3EDEF;
  --gold: #C49A45;
  --gold-ink: #5E4512;
  --copper: #A3441C;
  --copper-dark: #873814;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --shadow: 0 12px 32px rgb(43 33 27 / .14);
  --gutter: 1.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.25rem/1.6 var(--serif);
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--petrol); text-underline-offset: .18em; }

:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.6rem + 2.3vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.5em;
  height: 1.5em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap { width: min(100% - 2 * var(--gutter), 42rem); margin-inline: auto; }

.section { padding: 3.5rem 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }

.eyebrow {
  margin-bottom: .75rem;
  color: var(--petrol);
  font: 500 .9375rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow i { font-style: normal; }

.note { color: var(--ink-soft); font-size: 1.0625rem; }

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--petrol);
  font: 600 1rem/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand .icon { stroke-width: 1.5; }

/* Botões */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  max-width: 28rem;
  min-height: 4rem;
  padding: .9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font: 600 1.25rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgb(163 68 28 / .3);
  transition: background-color .2s, transform .1s;
}
.btn:hover { background: var(--copper-dark); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--ghost {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
  box-shadow: none;
  font-size: 1.125rem;
}
.btn--ghost:hover { background: var(--petrol-soft); }

/* Preço */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin-bottom: 1rem; }
.price strong { font: 700 2.25rem/1 var(--serif); color: var(--ink); }
.price span { color: var(--ink-soft); font-size: 1.0625rem; }
.price--big { justify-content: center; }
.price--big strong { font-size: 3rem; }

/* Topo */
.hero {
  display: grid;
  grid-template-areas: "intro" "photo" "buy";
  gap: 1.5rem;
  width: min(100% - 2 * var(--gutter), 42rem);
  margin-inline: auto;
  padding: 1.5rem 0 3rem;
}
.hero__intro { grid-area: intro; }
.hero__intro h1 { margin-bottom: .4em; }
.hero__intro .lead { margin: 0; font-size: 1.3125rem; color: var(--ink-soft); }
.hero__photo { grid-area: photo; }
.hero__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__buy { grid-area: buy; }
.hero__buy .note { margin: .9rem 0 1.25rem; }

.trust { display: grid; gap: .6rem; font: 500 1rem/1.4 var(--sans); color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: .6rem; }
.trust .icon { color: var(--petrol); }

/* Capítulos */
.chapter { margin-top: 3rem; }
.chapter img { width: 100%; border-radius: var(--radius); }
.chapter h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin-top: 1.25rem; font-size: 1.625rem; }
.chapter .tr { flex-basis: 100%; color: var(--petrol); font-size: 1.125rem; font-style: italic; font-weight: 600; }
.count {
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--petrol-soft);
  color: var(--petrol);
  font: 500 .9375rem/1.4 var(--sans);
}
.recipes { display: grid; gap: .55rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.recipes li { position: relative; padding-left: 1.25rem; line-height: 1.4; }
.recipes li::before { content: ""; position: absolute; left: .1rem; top: .6em; width: .45rem; height: .45rem; background: var(--gold); transform: rotate(45deg); }
.recipes i { color: var(--petrol); white-space: nowrap; }
.recipes i::before { content: "· "; color: var(--gold); font-style: normal; }

/* Por que dá certo */
.features { display: grid; gap: 1.75rem; margin-top: 2rem; }
.features li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
.features .icon {
  grid-row: span 2;
  width: 3rem;
  height: 3rem;
  padding: .7rem;
  border-radius: 50%;
  background: var(--petrol-soft);
  color: var(--petrol);
}
.features h3 { margin-bottom: .3rem; }
.features p { margin: 0; color: var(--ink-soft); }

.swaps {
  margin-top: 3rem;
  padding: 1.5rem var(--gutter);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.swaps h3 { margin-bottom: 1rem; }
.swaps dl { margin: 0 0 1rem; border-top: 1px solid var(--line); }
.swaps dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}
.swaps dt { color: var(--ink-soft); font: 400 .9375rem/1.4 var(--sans); }
.swaps dt i { display: block; color: var(--petrol); font: italic 700 1.125rem/1.3 var(--serif); }
.swaps dd { margin: 0; font-size: 1.125rem; }
.swaps dd::before { content: "→ "; color: var(--gold); }
.swaps .note { margin: 0; }

/* Por dentro */
.pages { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.pages figure { margin: 0; }
.pages a { display: block; border-radius: 6px; box-shadow: var(--shadow); }
.pages img { border-radius: 6px; }
.pages figcaption { margin-top: .75rem; color: var(--ink-soft); font: 400 .9375rem/1.4 var(--sans); }
#por-dentro .note { margin: 1.25rem 0 0; }

/* Sobre o Emir */
.about { display: grid; gap: 1.5rem; }
.about__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.signature { font-style: italic; }
.signature strong { font-style: normal; }
.disclosure {
  display: flex;
  gap: .75rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--petrol);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--sand);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.disclosure .icon { color: var(--petrol); margin-top: .1rem; }

/* Como funciona */
.steps { display: grid; gap: 1.75rem; margin-top: 2rem; counter-reset: step; }
.steps li { position: relative; padding-left: 3.75rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  font: 600 1.25rem/1 var(--sans);
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Oferta */
.offer {
  padding: 2rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}
.offer__cover { width: 15rem; margin: 0 auto 1.75rem; border-radius: 4px; box-shadow: 0 16px 36px rgb(43 33 27 / .28); }
.offer h2 { margin-bottom: 1.25rem; }
.checklist { display: grid; gap: .7rem; margin: 0 auto 1.75rem; max-width: 28rem; text-align: left; }
.checklist li { display: flex; gap: .7rem; line-height: 1.4; }
.checklist .icon { color: var(--petrol); stroke-width: 2.5; }
.offer .btn { margin-inline: auto; }
.offer .note { margin: .9rem 0 1.5rem; }
.guarantee {
  display: flex;
  gap: .75rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-align: left;
}
.guarantee .icon { width: 2rem; height: 2rem; color: var(--gold-ink); }

/* Perguntas frequentes */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: .9rem 0;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--petrol-soft);
  color: var(--petrol);
  font: 600 1.5rem/1 var(--sans);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-soft); }

/* Chamada final */
.final { display: grid; gap: 1.5rem; }
.final__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.final .note { margin: .9rem 0 0; }
.share { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; }
.share .btn { margin-inline: auto; }

/* Rodapé */
.footer {
  padding: 3rem 0 3.5rem;
  background: var(--petrol);
  color: #F4EEE3;
  font-size: 1rem;
  line-height: 1.6;
}
.footer a { color: #fff; }
.footer .brand { color: #fff; }

/* Política de privacidade */
.legal h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
.legal h2 { margin-top: 2rem; font-size: 1.5rem; }
.legal ul { display: grid; gap: .75rem; margin: 0 0 1em; padding-left: 1.25rem; list-style: disc; }
.legal .brand a { text-decoration: none; }

/* Barra de compra fixa (só no celular) */
.buybar {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -8px 24px rgb(43 33 27 / .12);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.buybar[hidden] { display: none; }
.buybar.is-visible { transform: none; }
.buybar__price { display: grid; margin: 0; line-height: 1.2; }
.buybar__price strong { font-size: 1.5rem; }
.buybar__price span { color: var(--ink-soft); font: 400 .875rem/1.3 var(--sans); }
.buybar .btn { width: auto; min-height: 3.5rem; padding-inline: 1.25rem; font-size: 1.125rem; box-shadow: none; }

@media (max-width: 55.99rem) {
  .footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
}

/* Celulares estreitos (360px): sem a seta, o texto do botão cabe numa linha */
@media (max-width: 23.75rem) {
  .btn[data-cta] .icon { display: none; }
}

@media (min-width: 44rem) {
  .features { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .about, .final { grid-template-columns: 18rem 1fr; gap: 2.5rem; align-items: start; }
  .disclosure { grid-column: 1 / -1; }
  .swaps { padding: 2rem; }
  .offer { padding: 2.5rem 2.5rem 2rem; }
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas: "photo intro" "photo buy";
    align-content: center;
    column-gap: 4rem;
    row-gap: 1.75rem;
    width: min(100% - 4rem, 68rem);
    padding: 4rem 0;
  }
  .hero__intro { align-self: end; }
  .hero__buy { align-self: start; }
  .section { padding: 5rem 0; }
  .buybar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .buybar { transition: none; }
}
