/* Padrões compartilhados de navegação e apresentação. © 2026 KS Studio. */
@media(max-width:1150px){
  .header{position:sticky;top:0;z-index:100}
  .header nav,.header nav.open{display:flex;position:fixed;top:var(--menu-top,76px);left:auto;right:0;bottom:0;width:min(330px,86vw);max-height:none;overflow-y:auto;padding:28px 24px;background:#eae8da;box-shadow:-12px 12px 30px #4c311c24;transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .32s cubic-bezier(.22,1,.36,1),visibility 0s linear .32s;z-index:99;justify-content:flex-start}
  .header nav.open{transform:translateX(0);visibility:visible;pointer-events:auto;transition:transform .32s cubic-bezier(.22,1,.36,1)}
  [id]{scroll-margin-top:88px}
}
@media(max-width:700px){
  .services .service-cards{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;scrollbar-width:none;align-items:stretch}
  .services .service-cards::-webkit-scrollbar{display:none}
  .services .service-cards .service-card{flex:0 0 88%;scroll-snap-align:start}
  .service-carousel-controls{display:flex;justify-content:center;gap:12px;margin-top:22px}
  .service-carousel-controls button{width:48px;height:48px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;cursor:pointer;font-size:1.35rem;line-height:1}
  .service-carousel-controls button:hover{background:#eae8da;color:#4c311c}
}
@media(min-width:701px){.service-carousel-controls{display:none}}
body .floating-whatsapp,body.hero-actions-visible .floating-whatsapp{display:grid;opacity:1;visibility:visible;pointer-events:auto;transform:none;background:#258a50;color:#fff}
body .floating-whatsapp:hover{background:#1c7140}
footer .footer-social a[aria-label="WhatsApp"]{background:#258a50;color:#fff}
@media(prefers-reduced-motion:reduce){.header nav,.header nav.open{transition:none}.services .service-cards{scroll-behavior:auto}}

/* Fotos principais preservam a imagem completa dentro da própria moldura. */
.recipe-page .recipe-cover{display:block;width:auto;height:auto;max-width:100%;max-height:620px;aspect-ratio:auto;object-fit:initial;margin-inline:auto}
.mentor-paths-intro img{height:auto;max-height:none;aspect-ratio:auto;object-fit:initial}
@media(max-width:760px){.mentoria .mentor-hero::after{height:auto;aspect-ratio:1672/941;background-size:100% 100%;background-position:center}}
@media(max-width:767px){.recipe-page .recipe-cover{width:auto;height:auto;max-height:620px;aspect-ratio:auto;object-fit:initial}.sobre-retrato{height:auto;max-height:none;aspect-ratio:auto;object-fit:initial}}

/* As receitas mantêm a busca e os filtros no carrossel móvel. */
@media(max-width:700px){
  .recipe-grid.recipe-carousel-ready{display:flex;overflow-x:auto;align-items:stretch;gap:16px;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;scrollbar-width:none}
  .recipe-grid.recipe-carousel-ready::-webkit-scrollbar{display:none}
  .recipe-grid.recipe-carousel-ready .recipe:not([hidden]){flex:0 0 88%;width:88%;max-width:none;margin:0;scroll-snap-align:start}
  .recipe-carousel-controls{display:flex;justify-content:center;gap:12px;margin:22px 0}
  .recipe-carousel-controls[hidden]{display:none}
  .recipe-carousel-controls button,.service-carousel-controls button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #4c311c;border-radius:50%;background:#4c311c;color:#eae8da;cursor:pointer;font-size:1.35rem;line-height:1}
  .recipe-carousel-controls button:hover,.service-carousel-controls button:hover{background:#67462d;color:#fff}
  .recipe-carousel-controls button:focus-visible{outline:3px solid #69724e;outline-offset:3px}
}
@media(min-width:701px){.recipe-carousel-controls{display:none}}
@media(prefers-reduced-motion:reduce){.recipe-grid.recipe-carousel-ready{scroll-behavior:auto}}
/* O cartão inteiro já leva à receita; dispensa texto repetido. */
.recipe-content > span{display:none}
