/* Sneaky Swaps — site. As mesmas cores e fontes do app (aprovadas pelo Yuri em 02/11). */
:root {
  --cream: #F5F0E6;
  --paper: #FFFDF8;
  --forest: #1F4A33;
  --forest-2: #2A5C42;
  --lime: #CFE38A;
  --orange: #E8692E;
  --ink: #1E2A22;
  --muted: #5F665C;
  --line: #E3DACA;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; }
h2 em, h1 em { font-style: italic; }
.label {
  display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase;
  color: var(--forest);
}
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 26px; border: 0;
  background: var(--forest); color: var(--cream); font: 600 16px/1 var(--sans); text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--forest-2); transform: translateY(-1px); }
.btn.lime { background: var(--lime); color: var(--forest); }
.btn.lime:hover { background: #DCEC9F; }
.textlink { font-weight: 600; text-underline-offset: 4px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; text-decoration: none; }
.brand svg { height: 46px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (max-width: 820px) { .nav ul { display: none; } }

/* ---------- hero: the swap ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 40px 0 88px; }
.swap { font-size: clamp(50px, 7.4vw, 96px); line-height: .98; margin: 18px 0 26px; }
.swap .dish { display: block; font-size: .56em; line-height: 1.1; margin-bottom: .08em; }
.swap .old { position: relative; display: inline-block; color: #8C8A7E; }
.swap .old::after {          /* o risco laranja que "tira" o ingrediente */
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .085em;
  background: var(--orange); border-radius: 4px; transform-origin: left center;
  transform: scaleX(1); transition: transform .45s ease .15s;
}
.swap .row2 { display: flex; align-items: flex-end; gap: .12em; }
.swap .arrow { width: .9em; height: .8em; flex: none; margin-bottom: -.38em; }
.swap .arrow path { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease .45s; }
.swap .new { display: block; font-style: italic; color: var(--forest); padding-left: .55em;
  transition: opacity .4s ease .7s, transform .4s ease .7s; }
.swap.out .old::after { transform: scaleX(0); transition-delay: 0s; }
.swap.out .arrow path { stroke-dashoffset: 60; transition-delay: 0s; }
.swap.out .new { opacity: 0; transform: translateY(.12em); transition-delay: 0s; }
.swap .dish, .swap .old { transition: opacity .3s ease; }
.swap.out .dish, .swap.out .old { opacity: 0; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.fine b { color: var(--ink); font-weight: 600; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dots { display: flex; gap: 0; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #CFC6B4; transition: width .2s ease; }
.dots button[aria-current="true"]::before { background: var(--orange); width: 24px; border-radius: 5px; }
.dots button[aria-current="true"] { width: 36px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-phone { order: 2; }
}

/* ---------- iPhone (mesmo desenho do rascunho aprovado) ---------- */
.ip { width: 290px; height: 620px; border-radius: 52px; background: #0b0b0c; padding: 10px; flex: none;
  box-shadow: 0 30px 60px -20px rgba(31, 74, 51, .45), inset 0 0 0 2px #3a3a3c; }
.ip.sm { width: 250px; height: 534px; border-radius: 46px; padding: 9px; }
.scr { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; position: relative; background: var(--cream);
  font-family: -apple-system, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif; color: var(--ink); }
.ip.sm .scr { border-radius: 37px; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: #000; border-radius: 14px; z-index: 9; }
.sb { height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 6px 24px 0 30px; font-size: 13px; font-weight: 600; position: relative; z-index: 8; }
.sb.w { color: #fff; }
.homeind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 3px; background: var(--ink); z-index: 9; }
.pill { white-space: nowrap; font-size: 9.5px; font-weight: 600; background: var(--paper); border-radius: 10px; padding: 4px 8px; color: #4a5248; }
.pill.lime { background: var(--lime); color: var(--forest); }
.pill.orange { background: var(--orange); color: #fff; }

/* tela da receita */
.r-photo { position: absolute; inset: 0 0 auto 0; height: 262px; }
.r-photo img { width: 100%; height: 100%; object-fit: cover; }
.glassrow { position: absolute; top: 54px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 8; }
.glass { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 253, 248, .92); display: flex; align-items: center; justify-content: center; }
.sheet { position: absolute; top: 238px; left: 0; right: 0; bottom: 0; background: var(--cream); border-radius: 26px 26px 0 0; padding: 18px 18px 0; }
.sheet h3 { font-size: 27px; line-height: 1.02; }
.chips { display: flex; gap: 5px; margin-top: 9px; flex-wrap: wrap; }
.segm { display: flex; background: var(--paper); border-radius: 16px; padding: 3px; margin-top: 12px; }
.segm span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 7px 0; border-radius: 13px; color: #8A8A7E; }
.segm span.on { background: var(--forest); color: var(--cream); }
.ingr { list-style: none; margin: 10px 0 0; padding: 0; }
.ingr li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #EAE3D5; font-size: 11.5px; line-height: 1.25; }
.ingr li i { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #BDB6A6; flex: none; }
.ingr li.have i { background: var(--lime); border-color: var(--lime); }
.ingr li b { font-weight: 650; }
.startbtn { position: absolute; left: 18px; right: 18px; bottom: 24px; height: 44px; border-radius: 22px; background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
#heroScreen .r-photo, #heroScreen .sheet { transition: opacity .35s ease; }
#heroScreen.out .r-photo, #heroScreen.out .sheet { opacity: 0; }

/* tela de início */
.h-pad { padding: 0 16px; }
.h-hi { font-size: 11.5px; color: #8A8A7E; margin-top: 4px; }
.h-title { font-size: 28px; line-height: 1.02; margin-top: 2px; }
.h-search { height: 38px; border-radius: 19px; background: var(--paper); display: flex; align-items: center; gap: 7px; padding: 0 13px; font-size: 11.5px; color: #9a9a8e; margin-top: 12px; }
.h-sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 13px; font-size: 13px; font-weight: 700; }
.h-sec small { font-size: 10px; color: #8A8A7E; font-weight: 500; }
.h-feature { margin-top: 8px; border-radius: 20px; background: var(--forest); color: var(--cream); display: flex; overflow: hidden; height: 100px; }
.h-feature .tx { padding: 11px 8px 11px 13px; flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.h-feature .tx strong { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.05; }
.h-feature img { width: 100px; height: 100px; object-fit: cover; }
.h-grid { display: flex; gap: 8px; margin-top: 8px; }
.h-card { flex: 1; background: var(--paper); border-radius: 16px; padding: 6px 6px 8px; }
.h-card img { height: 64px; width: 100%; object-fit: cover; border-radius: 11px; }
.h-card b { display: block; font-size: 10.5px; font-weight: 600; margin: 6px 3px 1px; line-height: 1.2; }
.h-card small { display: block; font-size: 9px; color: #8A8A7E; margin: 0 3px; }
.tabbar { position: absolute; left: 12px; right: 12px; bottom: 20px; height: 54px; border-radius: 27px; background: var(--ink); display: flex; justify-content: space-around; align-items: center; z-index: 7; }
.tabbar span { font-size: 8.5px; color: #9fa89b; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar span.on { color: var(--lime); }
.tabbar .mid { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); margin-top: -22px; box-shadow: 0 6px 14px rgba(31, 74, 51, .35); justify-content: center; }
.tabbar svg { width: 18px; height: 18px; }

/* modo cozinhar */
.c-top { padding: 4px 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 600; color: #8A8A7E; }
.c-bar { margin: 10px 18px 0; height: 5px; border-radius: 3px; background: #E5DDCD; overflow: hidden; }
.c-bar i { display: block; width: 14.3%; height: 100%; background: var(--forest); }
.c-step { padding: 0 18px; margin-top: 22px; }
.c-step .label { font-size: 10px; }
.c-step p { font-family: var(--serif); font-size: 25px; line-height: 1.12; margin: 8px 0 0; }
.c-timer { margin: 22px auto 0; width: 128px; height: 128px; border-radius: 50%; border: 7px solid var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.c-timer b { font-size: 30px; font-weight: 650; letter-spacing: -.02em; }
.c-timer small { font-size: 9.5px; color: #8A8A7E; }
.c-nav { position: absolute; left: 18px; right: 18px; bottom: 24px; display: flex; gap: 10px; }
.c-nav span { flex: 1; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; background: var(--paper); }
.c-nav span.go { background: var(--forest); color: var(--cream); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.sec-head p { margin: 0; max-width: 28em; color: var(--muted); }

/* a faixa de receitas */
.menu { border-top: 1px solid var(--line); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.dish-card { background: var(--paper); border-radius: 22px; padding: 8px 8px 14px; }
.dish-card img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 16px; width: 100%; }
.dish-card b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; margin: 10px 6px 6px; }
.dish-card .pill { margin-left: 6px; display: inline-block; }
@media (max-width: 1000px) { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; }
  .dish-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* dentro do app */
.inside { background: var(--paper); border-radius: 40px; margin: 0 16px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trio figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trio .scr { text-align: left; }
.trio figcaption { margin-top: 26px; max-width: 290px; }
.trio h3 { font-size: 30px; line-height: 1.05; }
.trio p { color: var(--muted); font-size: 16px; margin: 8px 0 0; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 56px; } }

/* como funciona (é uma sequência de verdade: a ordem importa) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--forest); padding-top: 18px; }
.steps li::before { content: counter(s); font: italic 400 46px/1 var(--serif); color: var(--orange); }
.steps h3 { font-size: 28px; margin-top: 10px; }
.steps p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* preço */
.pricing { background: var(--forest); color: var(--cream); border-radius: 40px; margin: 0 16px; }
.pricing .label { color: var(--lime); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pricing h2 { margin-top: 14px; }
.pricing .lede { color: #C9D6CB; margin-top: 18px; }
.plan { background: var(--cream); color: var(--ink); border-radius: 30px; padding: 34px; }
.plan .name { font-weight: 600; font-size: 15px; color: var(--muted); }
.plan .amount { font-family: var(--serif); font-size: 76px; line-height: 1; margin: 10px 0 4px; }
.plan .amount small { font-family: var(--sans); font-size: 17px; color: var(--muted); }
.plan .billing { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; }
.plan li { display: flex; gap: 10px; padding: 7px 0; font-size: 16px; }
.plan li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231F4A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan .btn { width: 100%; }
.plan .terms { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.secure { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.secure .cards { display: flex; gap: 6px; }
.secure .cards span { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; border: 1px solid var(--line); background: var(--paper); border-radius: 5px; padding: 3px 7px; color: var(--ink); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .plan { padding: 26px; } }

/* perguntas */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 30px/1 var(--sans); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 40em; }

/* contato e rodapé */
.contact { text-align: center; }
.contact h2 { max-width: 17em; margin: 0 auto; text-wrap: balance; }
.contact .mail { display: inline-block; margin-top: 22px; font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); color: var(--forest); text-underline-offset: 8px; text-decoration-color: var(--orange); }
.contact p { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-weight: 500; color: var(--ink); display: inline-block; padding: 5px 0; }
.foot nav a:hover { text-decoration: underline; }
.foot .legal { max-width: 36em; margin: 0; }
.disclaimer { margin-top: 22px; font-size: 13px; }

/* ---------- páginas legais ---------- */
.doc { max-width: 760px; padding: 32px 0 80px; }
.doc h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1; margin: 12px 0 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.doc h2 { font-size: 30px; margin: 40px 0 10px; }
.doc p, .doc li { color: #2F3A31; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--paper); border-radius: 20px; padding: 20px 24px; margin: 24px 0; }
.back { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--forest); padding: 8px 0; }
@media (max-width: 620px) { .back .long { display: none; } }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .inside, .pricing { margin: 0 8px; border-radius: 28px; }
  .lede { font-size: 17px; }
  .ip { transform: scale(.92); transform-origin: top center; margin-bottom: -50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
