/* FotoFio — folha única. Mobile-first (referência: iPhone 16 Pro Max, 440pt). */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #F6F0E7;
  --paper: #FFFBF5;
  --line: #E7DDCF;
  --tint: #EEE4D5;
  --line-tint: #E2D5C2;
  --ink: #1D2B26;
  --ink-2: #4B5852;
  --ink-3: #59645E;
  --sage: #2E5A4C;
  --sage-deep: #1F3F35;
  --sage-soft: #DDE7E0;
  --clay: #AD4621;
  --clay-hover: #923A1A;
  --clay-soft: #F4E0D3;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(29, 43, 38, .06), 0 12px 32px -12px rgba(29, 43, 38, .18);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.012em; word-spacing: .09em; font-variation-settings: 'opsz' 120; }
h3 { letter-spacing: -.004em; word-spacing: .03em; font-variation-settings: 'opsz' 36; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--paper); padding: 8px 14px; border-radius: 10px; }

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

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--clay); }

.top { padding: 16px 0 6px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
/* menu de âncoras: some no mobile (não cabe ao lado da marca sem apertar) */
.top-nav { display: none; }
.top-nav a {
  font-size: 15px; font-weight: 600; color: var(--sage); text-decoration: none;
  padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1.5px no-repeat;
  transition: background-size .25s ease;
}
.top-nav a:hover { background-size: 100% 1.5px; }
[id] { scroll-margin-top: 24px; }

/* ---------- Botão ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px;
  background: var(--clay); color: #fff;
  font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(185, 78, 39, .7);
  transition: background .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--clay-hover); }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-block { width: 100%; }

.reassure { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); opacity: .55; }

/* ---------- Hero ---------- */
.hero { padding: 22px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(42px, 11.4vw, 70px); margin-top: 14px; }
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 400; }
.hero .lede { font-size: 18.5px; color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.hero .btn { margin-top: 28px; }

.hero-media { position: relative; margin-top: 36px; }
.hero-media .frame {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line);
  box-shadow: var(--shadow);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.bubble {
  position: absolute; left: -4px; bottom: 26px; max-width: 78%;
  background: #fff; color: var(--ink);
  padding: 12px 16px 10px; border-radius: 18px 18px 18px 6px;
  font-size: 15px; line-height: 1.4; box-shadow: var(--shadow);
}
.bubble small { display: block; text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.bubble small b { color: #34B7F1; font-weight: 700; letter-spacing: -.12em; margin-left: 4px; }

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 8.4vw, 50px); margin-top: 12px; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }

/* hook — frase de curiosidade entre hero e passos */
.hook { padding: 8px 0 64px; }
.hook p {
  font-family: var(--serif); font-size: clamp(25px, 6.6vw, 38px); line-height: 1.25; letter-spacing: -.01em;
  max-width: 22em; color: var(--ink);
}
.hook p span { color: var(--ink-3); }

/* Como funciona — faixa tingida, 3 cards iguais com número grande */
.how { background: var(--tint); }
.how .section-head { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.step {
  background: var(--paper); border: 1px solid var(--line-tint); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(29, 43, 38, .04), 0 14px 30px -18px rgba(29, 43, 38, .22);
}
.step .pic { aspect-ratio: 1 / 1; background: var(--line); overflow: hidden; }
.step .pic img { width: 100%; height: 100%; object-fit: cover; }
.step .pic .pos-1 { object-position: 50% 62%; }
.step .pic .pos-2 { object-position: 50% 45%; }
.step .pic .pos-3 { object-position: 50% 28%; }
.step .body { position: relative; padding: 50px 26px 30px; flex: 1; }
.step .num {
  position: absolute; top: -38px; left: 22px;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-tint); color: var(--clay);
  font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1;
  font-variation-settings: 'opsz' 144; padding-bottom: 4px;
  box-shadow: 0 8px 18px -10px rgba(29, 43, 38, .35);
}
.step h3 { font-size: 25px; }
.step p { color: var(--ink-2); margin-top: 10px; font-size: 16.5px; }

/* O que você descobre */
.discover { background: var(--sage-deep); color: #EEF3EF; position: relative; overflow: hidden; }
.discover .texture { position: absolute; inset: 0 0 auto 0; height: 300px; }
.discover .texture img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.discover .texture::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 63, 53, .25) 0%, var(--sage-deep) 100%);
}
.discover .wrap { position: relative; }
.discover .eyebrow { color: #F0C9B2; }
.discover .section-head p { color: #C5D3CB; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.finding {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  padding: 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.finding .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(240, 201, 178, .14); color: #F0C9B2;
}
.finding .ico svg { width: 24px; height: 24px; }
.finding h3 { font-size: 23px; color: #fff; }
.finding p { color: #C5D3CB; margin-top: 6px; font-size: 16.5px; }
.note { margin-top: 26px; font-size: 14px; color: #A9BBB1; max-width: 40em; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq-list details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 0 22px; transition: border-color .2s;
}
.faq-list details[open] { border-color: #D6C8B4; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-family: var(--serif); font-size: 20.5px; font-weight: 500; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3F35' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 22px; color: var(--ink-2); font-size: 16.5px; }
.faq-list .answer p + p { margin-top: 10px; }

/* CTA final */
.final { padding: 24px 0 88px; }
.final-card {
  background: var(--clay-soft); border-radius: 30px; padding: 44px 24px 34px; text-align: center;
  position: relative; overflow: hidden;
}
.final-card::before {
  content: ''; position: absolute; width: 300px; height: 300px; right: -190px; top: -200px;
  border-radius: 50%; border: 1.5px solid rgba(185, 78, 39, .18);
}
.final-card h2 { font-size: clamp(32px, 8.6vw, 52px); position: relative; }
.final-card p { color: var(--ink-2); margin: 14px auto 0; max-width: 30em; position: relative; }
.final-card .btn { margin-top: 28px; position: relative; }
.final-card .reassure { justify-content: center; }

/* Rodapé — 3 blocos: marca + tagline | âncoras | privacidade + © */
.foot { background: var(--tint); padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--ink-3); }
.foot-grid { display: grid; gap: 28px; }
.foot-grid > * + * { border-top: 1px solid var(--line-tint); padding-top: 28px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.foot-logo img { width: 34px; height: 34px; }
.foot-logo .brand-name { font-size: 24px; }
.foot-brand p { margin-top: 12px; color: var(--ink-2); }
.foot-nav, .foot-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-nav a, .foot-legal a { color: var(--ink-2); font-weight: 600; text-decoration: none; padding: 2px 0; }
.foot-nav a:hover, .foot-legal a:hover { color: var(--sage); text-decoration: underline; text-underline-offset: 4px; }

/* Barra fixa (mobile) — aparece quando o CTA do hero sai da tela */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 240, 231, 0) 0%, rgba(246, 240, 231, .94) 32%);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.sticky-cta.is-on { transform: none; pointer-events: auto; }
.sticky-cta .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- Página de texto (privacidade) ---------- */
.doc { padding: 34px 0 80px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 9vw, 54px); margin-top: 12px; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.doc h2 { font-size: 25px; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc ul + p { margin-top: 14px; }
.doc address { font-style: normal; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 12px 0 14px; line-height: 1.7; }
.doc .callout { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin-top: 28px; }
.doc .back { display: inline-block; margin-top: 40px; font-weight: 700; color: var(--sage); text-decoration: none; }

/* ---------- Telas maiores ---------- */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .top { padding-top: 24px; }
  .brand { gap: 14px; }
  .brand svg { width: 52px; height: 52px; }
  .brand-name { font-size: 36px; }
  .top-nav { display: flex; align-items: center; gap: 32px; }
  .foot { padding-top: 64px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr auto; gap: 48px; align-items: start; }
  .foot-grid > * + * { border-top: 0; padding-top: 0; }
  .foot-legal { align-items: flex-end; text-align: right; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
  .step .pic { aspect-ratio: 4 / 5; }
  .findings { grid-template-columns: repeat(3, 1fr); }
  .finding { grid-template-columns: 1fr; }
  .sticky-cta { display: none; }
  .final-card { padding: 64px 48px 48px; }
  .btn-block { width: auto; }
}
@media (min-width: 980px) {
  .hero { padding: 40px 0 80px; }
  .hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
  .hero-media { margin-top: 0; }
  .section { padding: 104px 0; }
  .discover .texture { height: 380px; }
}
