/* ============================================================
   Mariana Souza Nutricionista — design tokens
   ============================================================ */
:root {
  --cream:      #F6F1E2;
  --cream-2:    #EFE6CC;
  --ink:        #26231C;
  --ink-soft:   #514A3D;
  --forest:     #1F3D2B;
  --forest-2:   #16301F;
  --leaf:       #5B8C3E;
  --leaf-soft:  #DCE7CB;
  --clay:       #C1592C;
  --clay-2:     #A84A22;
  --corn:       #E8A93B;
  --line:       rgba(38, 35, 28, 0.14);
  --line-light: rgba(246, 241, 226, 0.22);

  --display: "Fraunces", "Iowan Old Style", serif;
  --body:    "Karla", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --wrap: min(1120px, 92vw);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--forest); }
p { margin: 0; }
ol, dl { margin: 0; padding: 0; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn-clay {
  background: var(--clay);
  color: var(--cream);
  box-shadow: 0 6px 0 var(--clay-2);
}
.btn-clay:hover { transform: translateY(-2px); }
.btn-clay:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--clay-2); }
.btn-large { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-small { padding: 0.6rem 1.15rem; font-size: 0.9rem; }

.link-inline {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--clay);
  color: var(--forest);
}
.link-inline:hover { color: var(--clay); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}
.eyebrow-on-forest { color: var(--corn); }
.eyebrow-on-cream { color: var(--clay-2); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 226, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 1.5px solid var(--forest);
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  line-height: 1.2;
}
.brand-name em { font-style: normal; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; gap: 1.75rem; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); }
.main-nav a:hover { color: var(--clay); }

@media (max-width: 780px) {
  .main-nav { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero-copy h1 em { font-style: italic; color: var(--clay); }
.hero-lede {
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  align-self: stretch;
}

.hero-photo-wrap {
  position: relative;
  width: min(460px, 88vw);
  aspect-ratio: 0.72;
  margin-bottom: calc(-1 * clamp(3rem, 7vw, 6rem));
  overflow: hidden;
}
.hero-photo-blob {
  position: absolute;
  inset: 3% 4% -20% 4%;
  background: linear-gradient(160deg, var(--leaf-soft) 0%, var(--cream-2) 55%, var(--corn) 130%);
  border-radius: 42% 58% 63% 37% / 47% 43% 57% 53%;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 94%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 98%);
          mask-image: linear-gradient(to bottom, black 80%, transparent 98%);
  filter: drop-shadow(0 18px 26px rgba(31, 61, 43, 0.18));
}

.seal {
  position: absolute;
  top: -0.8rem;
  right: -0.5rem;
  width: 148px;
  height: 148px;
  z-index: 2;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 10px rgba(31, 61, 43, 0.25));
}
.seal-svg { width: 100%; height: 100%; }
.seal-svg path { fill: none; }
.seal-text {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  fill: var(--cream);
}
.seal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--forest);
  border: 2px dashed var(--corn);
  z-index: -1;
}
.seal-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--corn);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; align-self: auto; margin-bottom: 1rem; }
  .hero-photo-wrap { width: min(420px, 78vw); margin-bottom: 0; }
  .seal { right: 0.5rem; }
}

/* ============================================================
   Proof bar
   ============================================================ */
.proof-bar {
  background: var(--forest);
  color: var(--cream);
  padding: 1.8rem 0;
}
.proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  text-align: center;
}
.proof-item { display: flex; flex-direction: column; gap: 0.2rem; }
.proof-num { font-family: var(--display); font-weight: 600; font-size: 1.9rem; color: var(--corn); }
.proof-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--line-light); }
.proof-divider { width: 1px; height: 2.2rem; background: var(--line-light); }
@media (max-width: 600px) { .proof-divider { display: none; } }

/* ============================================================
   Origem
   ============================================================ */
.origem { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.origem-grid { max-width: 62ch; }
.origem h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.22;
}
.origem-text { margin-top: 1.4rem; font-size: 1.05rem; color: var(--ink-soft); max-width: 58ch; }

/* ============================================================
   Método
   ============================================================ */
.metodo { background: var(--forest); color: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.metodo-title { color: var(--cream); font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 22ch; margin-bottom: 3rem; }
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.metodo-card {
  background: var(--forest);
  padding: 2.2rem 1.8rem;
}
.metodo-icon { font-size: 1.5rem; color: var(--corn); }
.metodo-card h3 {
  color: var(--cream);
  font-size: 1.15rem;
  margin-top: 1rem;
}
.metodo-card p { margin-top: 0.7rem; color: var(--line-light); font-size: 0.95rem; }

/* ============================================================
   Processo (como funciona)
   ============================================================ */
.processo { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.processo h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 26ch; margin-bottom: 3rem; }
.processo-list { list-style: none; display: flex; flex-direction: column; }
.processo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.processo-step:last-child { border-bottom: 1px solid var(--line); }
.processo-index { font-family: var(--mono); font-size: 0.95rem; color: var(--clay); }
.processo-step h3 { font-size: 1.25rem; }
.processo-step p { margin-top: 0.5rem; color: var(--ink-soft); max-width: 55ch; }

/* ============================================================
   Depoimentos
   ============================================================ */
.depoimentos { background: var(--cream-2); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.depoimentos h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 24ch; margin-bottom: 2.75rem; }
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.depoimento-card {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.8rem;
  position: relative;
}
.depoimento-card::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--corn);
  line-height: 1;
}
.depoimento-card blockquote {
  margin: 1.6rem 0 1.2rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--forest);
  line-height: 1.4;
}
.depoimento-card figcaption {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* ============================================================
   Local / CTA final
   ============================================================ */
.local { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.local h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 2rem; max-width: 18ch; }
.local-list { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.2rem; }
.local-list dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.3rem; }
.local-list dd { margin: 0; font-size: 1.02rem; }
.local-list a { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 3px; }
.local-map { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.local-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 780px) {
  .local-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--forest-2); color: var(--line-light); padding: 2.5rem 0; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.brand-mark-light { border-color: var(--cream); }
.footer-brand strong { display: block; color: var(--cream); font-family: var(--display); font-weight: 600; font-size: 1rem; }
.footer-brand span { font-size: 0.85rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; font-size: 0.85rem; text-align: right; }
.footer-contact a { text-decoration: underline; text-decoration-color: var(--corn); text-underline-offset: 3px; color: var(--cream); }

@media (max-width: 600px) {
  .footer-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-contact { align-items: flex-start; text-align: left; }
}
