/* Keila Faria Nutrição Integrativa: verde-sálvia suave, papel claro, sem excesso de efeitos */
:root {
  --bg: #f5f7f3;
  --surface: #e9efe6;
  --surface-2: #dfe8db;
  --ink: #2c3a31;
  --muted: #57655b;
  --accent: #567559;
  --accent-hover: #47634a;
  --accent-ink: #ffffff;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --step-head: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  --step-display: clamp(2.25rem, 1.4rem + 2.6vw, 3.375rem);

  --margin: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --gap: clamp(88px, 10vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Literata", Georgia, serif; font-size: var(--step-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
main > section { padding-top: var(--gap); }
.sec-title, main h2 { font-size: var(--step-head); }
.sec-lead { margin-top: 20px; max-width: 46ch; color: var(--muted); }

/* Faixa de demonstração */
.demo-banner { background: #ffe066; color: #1c1c1c; font: 500 15px/1.4 system-ui, sans-serif; padding: 10px var(--margin); text-align: center; }

/* Barra */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.bar-in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.bar-name { font-size: 1.1875rem; font-weight: 500; text-decoration: none; margin-right: auto; }
.bar-name span { color: var(--muted); font-weight: 400; }
.bar-links { display: flex; gap: 28px; font-size: var(--step-small); }
.bar-links a { text-decoration: none; }
.bar-links a:hover { color: var(--accent); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 1rem/1 "Literata", serif; text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.link { font-weight: 500; }
.link:hover { color: var(--accent); }

/* Hero: texto à esquerda, foto à direita */
.hero { padding-top: clamp(32px, 5vw, 72px) !important; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--step-display); line-height: 1.06; max-width: 14em; }
.hero .lead { font-size: var(--step-lead); line-height: 1.5; margin-top: 28px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: var(--step-small); color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
.hero-photo { height: max(520px, calc(100svh - 150px)); overflow: hidden; border-radius: 16px; background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Sobre */
.about-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-text h2 { margin-bottom: 28px; }
.about-text p + p { margin-top: 1em; }
.about-text { max-width: 36rem; }
.sign { margin-top: 32px !important; font-size: 1.25rem; font-weight: 500; }
.sign span { display: block; font-size: var(--step-small); font-weight: 400; color: var(--muted); }
.creds-list { list-style: none; margin: 20px 0 !important; padding: 8px 0 8px 22px; border-left: 4px solid var(--accent); display: grid; gap: 10px; }
.creds-list li { font-size: var(--step-body); line-height: 1.35; color: var(--muted); position: relative; }
.creds-list strong { color: var(--accent); font-weight: 700; font-size: var(--step-lead); }

/* Áreas: só texto, com os tópicos em destaque */
.areas .sec-title { margin-bottom: clamp(36px, 4vw, 56px); }
.topic {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.topic h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; }
.topic p { max-width: 44ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); padding: 14px 18px; border-radius: 12px;
  font-size: 1.0625rem; font-weight: 500;
}
.ticks li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Sinais do corpo */
.signals-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; background: var(--surface); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); border-radius: 16px; }
.signals-text h2 { margin-bottom: 20px; }
.signals-text p { max-width: 34ch; }
.checker fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checker label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg); border-radius: 10px; cursor: pointer; font-size: 1rem; line-height: 1.35; transition: background .2s; }
.checker label:hover { background: #fff; }
.checker input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.checker label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.checker-out { margin-top: 28px; }
.checker-empty { color: var(--muted); }
.checker-out ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checker-out li { padding-left: 18px; position: relative; }
.checker-out li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.checker-out li strong { font-weight: 600; }
.note { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }

/* Atendimento */
.flow { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.flow li { padding-top: 24px; position: relative; }
.flow li::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; background: var(--accent); border-radius: 2px; }
.flow h3 { font-size: 1.375rem; margin-bottom: 12px; }
.flow p { color: var(--ink); }

/* Avaliações: carrossel de cards */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.reviews-sub { margin-top: 10px; color: var(--muted); }
.car-nav { display: flex; gap: 10px; }
.car-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.car-btn:hover { background: var(--accent); color: var(--accent-ink); }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.review {
  margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px;
  background: #fff; border-radius: 16px; padding: 28px;
}
.stars { display: flex; gap: 3px; color: #b8862b; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; flex: 1; }
.review figcaption { font-size: var(--step-small); color: var(--muted); }

/* Para ler e ouvir: fotos de comida e cards com ícones */
.cards { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-content: start;
  height: 100%; padding: 22px; border-radius: 16px; background: var(--surface);
  text-decoration: none; transition: background .2s;
}
.card:hover { background: var(--surface-2); }
.card .ico { grid-row: 1 / span 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bg); color: var(--accent); }
.card .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-tag { font-size: var(--step-small); color: var(--muted); }
.card strong { font-weight: 500; font-size: 1.125rem; line-height: 1.3; }
.card:hover strong { color: var(--accent-hover); }
.card-desc { font-size: var(--step-small); color: var(--muted); }

/* Dúvidas em sanfona, todas fechadas */
.faq-in { display: grid; gap: clamp(28px, 3vw, 40px); }

.acc { display: grid; gap: 10px; }
.acc details { background: var(--surface); border-radius: 12px; padding: 0 22px; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; font-size: 1.125rem; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3a31' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: var(--accent-hover); }
.acc details p { padding: 0 48px 22px 0; color: var(--ink); max-width: 60ch; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); /* taste-skill-ignore: botão flutuante */
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* Contato: compacto e suave */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--surface); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); border-radius: 16px; }
.contact-in h2 { margin-bottom: 12px; }
.contact-in p { color: var(--muted); margin-bottom: 28px; }
.contact-list { margin: 0; display: grid; gap: 22px; }
.contact-list dt { font-size: var(--step-small); color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-size: 1.1875rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Rodapé */
.foot { margin-top: var(--gap); padding: 40px 0 32px; background: var(--bg); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.foot-name { font-size: 1.25rem; font-weight: 500; }
.foot-brand p:not(.foot-name) { font-size: var(--step-small); color: var(--muted); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #111; transition: background .2s; }
.social a:hover { background: var(--surface); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.foot-legal { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); padding-top: 24px; }

/* Tablet */
@media (max-width: 960px) {
  .bar-links { display: none; }
  .hero-in, .about-in, .topic, .signals-in, .contact-in { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: calc((100% - 20px) / 2); }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-photo { order: -1; height: auto; aspect-ratio: 4 / 3.4; }
  .hero h1 { max-width: 16ch; }
  .about-photo { aspect-ratio: 4 / 3; max-height: 520px; }
  .flow { grid-template-columns: 1fr; }
  .signals-in, .contact-in { border-radius: 0; }
}
/* Celular */
@media (max-width: 560px) {
  .bar-name span { display: none; }
  .hero-photo { aspect-ratio: 4 / 4.4; }
  .checker fieldset { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 86%; }
  .cards { grid-template-columns: 1fr; }
  .reviews-head { align-items: flex-start; flex-direction: column; }
  .acc details p { padding-right: 0; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .foot { padding-bottom: 96px; }
  .facts { gap: 10px 24px; }
  .foot-in { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .bar .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Uma única entrada suave: cada bloco aparece uma vez ao chegar na tela */
.js .fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade { opacity: 1; transform: none; transition: none; } }
