/* Mariana Drago, Nutricionista — redesign 2026
   Conceito: leveza. O arco da foto original vira o formato-assinatura do site. */

:root {
  --nevoa: #F5F5FB;
  --branco: #FFFFFF;
  --lavanda-suave: #E3E5F3;
  --lavanda: #6C76AA;        /* cor da marca, só em áreas grandes e decoração */
  --lavanda-texto: #4F5A96;  /* versão com contraste para texto */
  --indigo: #2B2F5C;
  --indigo-fundo: #23274D;
  --folha: #5A995A;          /* cor da marca */
  --folha-escura: #387240;   /* botões: contraste AA com texto branco */
  --pessego: #F6E2D3;        /* ecoa o tom quente das fotos */

  --f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texto: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --altura-topo: 68px;
  --raio: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--altura-topo) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nevoa);
  color: var(--indigo);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 350;
  font-variation-settings: "SOFT" 100;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

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

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 8px; }
.pular:focus { left: 8px; }

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

/* ---------- Botões e links ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.botao--cheio { background: var(--folha-escura); color: #fff; }
.botao--cheio:hover { background: #2D5F34; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(56,114,64,.7); }
.botao--cheio:active { transform: translateY(0); }
.botao--pequeno { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.botao--grande { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }

.link-seta {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 44px;
  font-weight: 600; color: var(--lavanda-texto); text-decoration: none;
  border-bottom: 1.5px solid transparent;
}
.link-seta::after { content: ""; width: 1.1em; height: 1.1em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .25s var(--ease); }
.link-seta:hover { color: var(--indigo); }
.link-seta:hover::after { transform: translateX(4px); }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(245,245,251,.94); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.topo.rolou { box-shadow: 0 1px 0 var(--lavanda-suave), 0 12px 24px -20px rgba(43,47,92,.5); }
.topo__interno { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--altura-topo); display: flex; align-items: center; gap: 12px; }
.topo__logo { margin-right: auto; display: block; }
.topo__logo img { height: 40px; width: auto; }
.topo__cta-mobile { margin-left: auto; }

.hamb { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 50%; }
.hamb span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--indigo); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.hamb span:first-child { top: 17px; }
.hamb span:last-child { top: 25px; }
.hamb[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hamb[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* menu mobile: painel claro que desce do topo */
.menu {
  position: fixed; left: 0; right: 0; top: var(--altura-topo);
  background: var(--nevoa);
  padding: 8px var(--gutter) 28px;
  border-bottom: 1px solid var(--lavanda-suave);
  box-shadow: 0 30px 40px -30px rgba(43,47,92,.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.menu.aberto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu ul { margin-bottom: 18px; }
.menu li a { display: block; padding: 14px 0; font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 350; text-decoration: none; border-bottom: 1px solid var(--lavanda-suave); }
.menu li a:hover { color: var(--lavanda-texto); }
.menu__cta { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 56px; overflow: hidden; }
.hero__interno { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 28px; }

.hero__foto { position: relative; width: min(76%, 340px); margin: 0 auto; padding: 0 0 14px 14px; }
.arco { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--lavanda-suave); }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.hero .arco img { object-position: 38% 22%; }
.arco-linha { position: absolute; inset: 14px 14px 0 0; border: 2px solid var(--folha); border-radius: 999px 999px 22px 22px; transform: translate(-14px, 14px); pointer-events: none; }
.hero__foto .arco { margin-left: 0; }
.folha { position: absolute; width: 58px; right: -10px; top: 38%; transform: rotate(14deg); filter: drop-shadow(0 8px 10px rgba(43,47,92,.18)); }

.hero__texto h1 { font-size: clamp(2.5rem, 9.4vw, 4.9rem); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; margin-bottom: .55em; }
.hero__sub { font-size: 1.15rem; max-width: 34em; color: #3A3F73; }
.hero__acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 24px; }
.hero__acoes .botao { width: 100%; }

/* Entrada orquestrada, única da página */
@media (prefers-reduced-motion: no-preference) {
  .hero .arco { animation: arco-sobe 1.1s var(--ease) both; }
  .hero .arco-linha { animation: linha-surge .9s .35s var(--ease) both; }
  .hero .folha { animation: folha-brota .8s .85s var(--ease) both; }
  .hero__texto > * { animation: texto-entra .8s var(--ease) both; }
  .hero__texto > :nth-child(1) { animation-delay: .15s; }
  .hero__texto > :nth-child(2) { animation-delay: .3s; }
  .hero__texto > :nth-child(3) { animation-delay: .45s; }
}
@keyframes arco-sobe { from { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes linha-surge { from { opacity: 0; transform: translate(0, 0); } to { opacity: 1; transform: translate(-14px, 14px); } }
@keyframes folha-brota { from { opacity: 0; transform: rotate(14deg) scale(.4); } to { opacity: 1; transform: rotate(14deg) scale(1); } }
@keyframes texto-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.secao { padding: 64px 0; }
.secao__cab { margin-bottom: 36px; max-width: 40rem; }
.secao__cab h2, .sobre h2, .como h2, .contato h2 { font-size: clamp(2rem, 6.4vw, 3.2rem); margin-bottom: .45em; }
.secao__cab p { margin: 0; color: #3A3F73; }
.secao__cab--linha { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 4px 24px; }
.secao__cab--linha h2 { margin: 0; }

/* Atendimentos: lista editorial, sem cartões */
.atend { background: var(--branco); }
.lista-atend { border-top: 2px solid var(--indigo); }
.atend__item { display: grid; gap: 8px; padding: 26px 0 22px; border-bottom: 1px solid var(--lavanda-suave); position: relative; }
.atend__item::before { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 0; bottom: 0; background: var(--nevoa); opacity: 0; transition: opacity .3s var(--ease); z-index: 0; }
.atend__item > * { position: relative; z-index: 1; }
.atend__item:hover::before { opacity: 1; }
.atend__item h3 { font-size: 1.9rem; }
.atend__item p { margin: 0; max-width: 40em; color: #3A3F73; }
.atend__item .link-seta { justify-self: start; }

/* Sobre */
.sobre__grade { display: grid; gap: 32px; }
.sobre__foto { width: min(88%, 420px); margin: 0 auto; }
.sobre__foto img { width: 100%; }
.destaque { font-family: var(--f-titulo); font-size: 1.3rem; line-height: 1.45; font-weight: 350; color: var(--indigo); }
.sobre__texto .botao { margin-top: 10px; }

/* Como atendo */
.como { background: var(--indigo-fundo); color: #EDEEF8; position: relative; overflow: hidden; }
.como h2 { color: #fff; }
.como .intro { color: #CCD0EA; max-width: 34em; }
.como__grade { display: grid; gap: 40px; }
.modos { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.modo { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.modo dt { font-family: var(--f-titulo); font-size: 1.45rem; font-weight: 350; color: #fff; margin-bottom: 4px; }
.modo dd { color: #CCD0EA; }
.como__fotos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.arco--alto { aspect-ratio: 3 / 4.4; }
.arco--redondo { aspect-ratio: 1; border-radius: 50%; margin-bottom: 18%; }
.como .arco { background: rgba(255,255,255,.08); }

/* Depoimentos */
.depo { background: var(--pessego); }
.depo__grade { display: grid; gap: 40px; }
.depo__item { position: relative; padding-top: 18px; border-top: 2px solid var(--indigo); }
.estrelas { color: var(--folha-escura); letter-spacing: .18em; font-size: 1.05rem; margin-bottom: 12px; }
.depo blockquote p { font-family: var(--f-titulo); font-size: 1.28rem; line-height: 1.5; font-weight: 350; margin-bottom: 18px; }
.depo figcaption { font-weight: 600; }

/* Blog */
.blog__grade { display: grid; gap: 36px; }
.post__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--raio) var(--raio) var(--raio) var(--raio); overflow: hidden; background: var(--lavanda-suave); margin-bottom: 16px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post__img:hover img { transform: scale(1.04); }
.post h3 { font-size: 1.5rem; margin-bottom: 8px; }
.post h3 a { display: inline-block; padding: 6px 0; text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.post p { color: #3A3F73; margin: 0; }

/* Contato */
.contato { background: var(--branco); }
.contato__grade { display: grid; gap: 36px; }
.contato .intro { max-width: 30em; margin-bottom: 24px; }
.contato .botao { width: 100%; }
.dados { margin: 30px 0 10px; border-top: 1px solid var(--lavanda-suave); }
.dados li { display: grid; padding: 14px 0; border-bottom: 1px solid var(--lavanda-suave); }
.dados__rotulo { font-size: .9rem; color: var(--lavanda-texto); font-weight: 600; }
.dados a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1.12rem; word-break: break-word; }
.dados a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dados address { font-size: 1.12rem; }
.mapa { border-radius: 999px 999px var(--raio) var(--raio); overflow: hidden; min-height: 360px; background: var(--lavanda-suave); }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }

/* Rodapé */
.rodape { background: var(--indigo-fundo); color: #CCD0EA; padding: 52px 0 0; }
.rodape__grade { display: grid; gap: 32px; }
.rodape__marca img { width: 220px; margin-bottom: 14px; }
.rodape__marca p { font-family: var(--f-titulo); font-size: 1.15rem; color: #fff; max-width: 18em; }
.rodape__nav, .rodape__redes { display: grid; gap: 0; align-content: start; }
.rodape a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.rodape__copy { margin: 40px 0 0; padding: 18px var(--gutter); border-top: 1px solid rgba(255,255,255,.14); text-align: center; font-size: .9rem; }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .secao { padding: 88px 0; }
  .hero__acoes { flex-direction: row; align-items: center; gap: 24px; }
  .hero__acoes .botao { width: auto; }
  .contato .botao { width: auto; }
  .blog__grade { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .depo__grade { grid-template-columns: 1fr 1fr; gap: 56px; }
  .depo__item:nth-child(2) { margin-top: 56px; }
  .depo blockquote p { font-size: 1.4rem; }
  .atend__item { grid-template-columns: 1.1fr 1.7fr auto; align-items: center; gap: 36px; padding: 32px 0; }
  .atend__item h3 { font-size: 2.1rem; }
  .atend__item::before { left: -24px; right: -24px; }
  .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --altura-topo: 78px; }
  .hamb, .topo__cta-mobile { display: none; }
  .topo__logo img { height: 46px; }
  .menu { position: static; display: flex; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .menu ul { display: flex; gap: 6px; margin: 0; }
  .menu li a { padding: 10px 12px; font-family: var(--f-texto); font-size: .98rem; font-weight: 500; border: 0; border-radius: 999px; transition: background-color .2s; }
  .menu li a:hover { background: var(--lavanda-suave); color: var(--indigo); }
  .menu__cta { width: auto; }

  .hero { padding: 36px 0 96px; }
  .hero__interno { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
  .hero__foto { order: 2; width: 100%; max-width: 440px; margin: 0 0 0 auto; padding: 0 0 22px 22px; }
  .arco-linha { inset: 22px 22px 0 0; transform: translate(-22px, 22px); }
  @keyframes linha-surge { from { opacity: 0; transform: translate(0, 0); } to { opacity: 1; transform: translate(-22px, 22px); } }
  .folha { width: 84px; right: -26px; top: 34%; }
  .hero__texto { order: 1; }

  .sobre__grade { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
  .sobre__foto { width: 100%; margin: 0; }
  .destaque { font-size: 1.55rem; }

  .como__grade { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
  .como__fotos { gap: 22px; }

  .contato__grade { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  .mapa { min-height: 560px; }
  .mapa iframe { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation: none !important; }
}
