@import url("food-gallery.css");
@import url("food-method.css");
@import url("food-plans.css");

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/food/InstrumentSerif-Italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}
.food {
  --fd-ink: var(--ink);
  --fd-paper: var(--paper);
  --fd-muted: #465348;
  --fd-line: #c8cbbd;
  --fd-accent: var(--lemon-green);
  --fd-display: "Instrument Serif", Georgia, serif;
  --fd-weave: repeating-linear-gradient(0deg, transparent 0 6px, currentColor 6px 7px, transparent 7px 10px, currentColor 10px 11px, transparent 11px 17px),
              repeating-linear-gradient(90deg, transparent 0 6px, currentColor 6px 7px, transparent 7px 10px, currentColor 10px 11px, transparent 11px 17px);
  color: var(--fd-ink);
  background: var(--fd-paper);
}
.food :where(h1,h2,h3,h4,p,figure,ul,dl,dd) { margin: 0; }
.food :where(section[id]) { scroll-margin-top: 15px; }
.food :where(h1,h2,h3) { text-wrap: balance; }
.food :where(h2) { font-size: clamp(40px,4.25vw,73px); line-height: 1.01; font-weight: 670; letter-spacing: -.063em; }
.food h2 em { font: italic 400 1.17em/.85 var(--fd-display); letter-spacing: -.025em; }
.fd-section { padding-block: clamp(58px,6.4vw,100px); }
.fd-label, .fd-assinatura { width: fit-content; }
.fd-label { margin-bottom: 14px; color: var(--fd-muted); font-size: 13px; font-weight: 650; }
.fd-inline, .fd-plan-jump { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font-size: 14px; font-weight: 690; text-underline-offset: 5px; }

.fd-hero {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  background: #14221b;
  color: #fcfaed;
}
.fd-hero-photo {
  position: absolute;
  inset: 0 0 0 32%;
  overflow: hidden;
  z-index: -2;
}
.fd-hero-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 58%;
}
.fd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,#14221b 0%,#14221b 28%,rgb(20 34 27/.97) 34%,rgb(20 34 27/.74) 43%,rgb(20 34 27/.18) 58%,transparent 73%);
}
.fd-hero-inner { display: grid; align-items: center; min-height: clamp(465px,40.5vw,690px); padding-block: clamp(45px,5.1vw,83px); }
.fd-intro { width: min(58%,760px); }
.fd-assinatura { display: flex; align-items: baseline; gap: .13em; font-size: clamp(21px,1.68vw,29px); font-weight: 790; letter-spacing: -.08em; line-height: 1; }
.fd-assinatura em { font: italic 400 1.3em/.75 var(--fd-display); color: var(--lemon-green); letter-spacing: -.027em; }
.fd-intro h1 { font-size: clamp(63px,6.25vw,105px); font-weight: 620; line-height: .97; letter-spacing: -.074em; margin: clamp(23px,2.3vw,41px) 0 20px; }
.fd-intro h1 em { font: italic 400 1.28em/.82 var(--fd-display); letter-spacing: -.043em; color: var(--paper); }
.fd-promise { max-width: 36ch; color: #e7e9dd; font-size: clamp(16px,1.23vw,21px); line-height: 1.48; text-wrap: pretty; }
.fd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: clamp(20px,2.2vw,35px); }
.fd-cta { display: inline-flex; align-items: center; gap: 23px; min-height: 46px; padding: 10px 17px; border-radius: 28px; background: var(--lemon-green); color: var(--fd-ink); font-size: 14px; font-weight: 720; text-decoration: none; }
.fd-cta span { font-size: 18px; line-height: 1; }
.fd-plan-jump { color: #f0f1e5; }
.fd-jumps { border-bottom: 1px solid var(--fd-line); background: #ebece0; }
.fd-jumps .frame { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(18px,2.8vw,46px); padding-block: 6px; }
.fd-jumps a { display: inline-flex; align-items: center; min-height: 43px; font-size: 14px; font-weight: 660; text-decoration: none; }

.fd-week { border-block: 1px solid var(--fd-line); background: #eeeee4; }
.fd-week-grid { display: grid; grid-template-columns: minmax(0,1.23fr) minmax(0,.77fr); align-items: center; gap: clamp(30px,7vw,115px); }
.fd-week-report h2 { max-width: 13ch; }
.fd-canais { display: flex; flex-wrap: wrap; gap: 3px 15px; border-bottom: 1px solid var(--fd-line); margin-top: clamp(20px,2.4vw,35px); }
.fd-canais button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; padding: 8px 1px 7px; font-size: 14px; font-weight: 585; color: var(--fd-muted); background: transparent; }
.fd-canais button[aria-selected="true"] { border-color: var(--lemon-green); color: var(--fd-ink); font-weight: 760; }
.fd-leitura { padding-block: 18px 5px; }
.fd-leitura[role="tabpanel"] > h3 { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.fd-leitura h3 { font-size: 20px; margin-bottom: 10px; }
.fd-leitura dl { display: grid; gap: 14px; max-width: 53ch; }
.fd-leitura dt { font-size: 12px; color: var(--fd-muted); font-weight: 730; }
.fd-leitura dd { margin-top: 3px; font-size: clamp(16px,1.23vw,20px); line-height: 1.4; letter-spacing: -.02em; }
.fd-menu-demo { display: block; background: #e2e4d6; color: var(--fd-ink); text-decoration: none; overflow: hidden; }
.fd-demo-visual { position: relative; isolation: isolate; display: grid; place-items: end center; overflow: hidden; padding: 24px 12% 0; height: clamp(180px,16vw,265px); }
.fd-demo-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; color: #b4bba5; opacity: .65; background: var(--fd-weave); }
.fd-demo-visual img { width: 73%; height: auto; align-self: start; max-width: 235px; max-height: none; display: block; border: 5px solid #fbfbf4; border-bottom: 0; border-radius: 10px 10px 0 0; object-fit: contain; box-shadow: 0 5px 18px #28302326; }
.fd-demo-caption { position: relative; padding: 16px 22px 20px; background: #e8e9dd; border-top: 1px solid #bbc1ad; }
.fd-demo-caption > span { display: block; font-size: 12px; font-weight: 635; }
.fd-demo-caption strong { display: block; font-size: clamp(21px,2vw,32px); font-weight: 650; letter-spacing: -.054em; line-height: 1.1; margin: 5px 0 8px; }
.fd-demo-link { text-decoration: underline; text-underline-offset: 4px; }
.fd-gallery { background: #1b2921; color: #f6f4e9; }
.fd-gallery .fd-label { color: #d6dec6; }
.fd-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(23px,3vw,45px); }
.fd-gallery .fg-arte { overflow: hidden; }
.fd-gallery .fg-legenda { position: relative; padding-right: 38px; }
.fd-gallery .fg-abrir { color: #9af6a1; }
.fd-gallery .fg-abrir i { position: absolute; top: 14px; right: 0; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #819080; border-radius: 50%; }
.fd-faq { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 35px; }
.fd-faq h2 { max-width: 11ch; }
.fd-faq .fd-inline { margin-top: 10px; }
.fd-questions details { border-bottom: 1px solid var(--fd-line); }
.fd-questions details:first-child { border-top: 1px solid var(--fd-ink); }
.fd-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 0; list-style: none; cursor: pointer; font-size: clamp(17px,1.32vw,22px); font-weight: 650; letter-spacing: -.025em; }
.fd-questions summary::-webkit-details-marker { display: none; }
.fd-questions summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.fd-questions [open] > summary::after { content: "−"; }
.fd-questions details p { max-width: 57ch; font-size: 16px; padding: 0 18px 19px 0; line-height: 1.5; }
.fd-post { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 24px; padding-block: 12px; border-top: 1px solid var(--fd-line); font-size: 13px; }
.fd-post a { padding-block: 7px; font-weight: 660; text-underline-offset: 4px; }
.food :focus-visible { outline: 2px solid #537333; outline-offset: 3px; }
.fd-hero :focus-visible,.fd-gallery :focus-visible { outline-color: #dceba1; }
.fd-gallery .fg-dialogo :focus-visible { outline-color: #48602d; }
@media (hover:hover) {
  .fd-jumps a:hover,.fd-canais button:hover { text-decoration: underline; text-underline-offset: 5px; }
  .fd-cta:hover { background: #a4f9a4; }
  .fd-demo-link:hover,.fd-inline:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion:no-preference) {
  .fd-hero-photo img { transform: translateY(var(--food-shift,0px)) scale(var(--food-scale,1.025)); }
  .fd-intro { animation: fd-arrive .68s cubic-bezier(.2,.7,.3,1) both; }
  .fdm-ticket.on-paper { animation: fd-slip .56s cubic-bezier(.18,.76,.28,1) both; transform-origin: 10% 0; }
  .fd-leitura[role="tabpanel"]:not([hidden]) dl { animation: fd-answer .23s ease-out both; }
  .fd-gallery .fg-arte img,.fd-demo-visual img { transition: scale .38s ease-out; }
  .fd-canais button,.fd-cta { transition: background-color .18s, border-color .18s; }
  @keyframes fd-arrive { from { transform: translateY(12px); opacity: .35; } to { transform: none; opacity: 1; } }
  @keyframes fd-answer { from { transform: translateY(4px); opacity: .64; } to { transform: none; opacity: 1; } }
  @keyframes fd-slip { from { transform: translateY(-13px) rotate(-1.8deg); } to { transform: none; } }
  @media (hover:hover) { .fg-capa:hover .fg-arte img,.fd-menu-demo:hover .fd-demo-visual img { scale: 1.025; } }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .fd-galeria-grid > .fg-album:nth-of-type(2) { transform: translateY(var(--food-album-offset, 0px)); }
  .fd-galeria-grid > .fg-album:nth-of-type(3) { transform: translateY(calc(var(--food-album-offset, 0px) * 1.8)); }
}
@media (min-width:741px) and (max-width:1020px) {
  .fd-intro { width: 65%; }
  .fd-hero-inner { min-height: 465px; }
  .fd-promise { max-width: 30ch; }
  .fd-week-grid { gap: 30px; }
  .fd-canais { gap: 0 11px; }
}
@media (max-width:740px) {
  .fd-hero-inner { align-items: start; min-height: 0; padding: 30px 0 clamp(205px,57vw,340px); }
  .fd-intro { width: 100%; }
  .fd-hero-photo { inset: auto 0 0; height: clamp(235px,69vw,420px); }
  .fd-hero-photo img { object-position: 50% 65%; }
  .fd-hero::before { background: linear-gradient(0deg,transparent 0%,transparent 22%,rgb(20 34 27/.17) 33%,#14221b 50%); }
  .fd-intro h1 { font-size: clamp(52px,10.6vw,72px); margin: 16px 0; }
  .fd-promise { font-size: 16px; max-width: 38ch; }
  .fd-actions { margin-top: 17px; gap: 5px 17px; }
  .fd-cta { min-height: 42px; padding: 9px 13px; font-size: 13px; gap: 10px; }
  .fd-plan-jump { font-size: 13px; }
  .fd-jumps .frame { gap: 0 14px; padding-block: 6px; }
  .fd-jumps a { min-height: 34px; font-size: 12px; }
  .fd-section { padding-block: 44px; }
  .fd-label { margin-bottom: 9px; }
  .fd-week-grid { grid-template-columns: 1fr; gap: 21px; }
  .fd-week-report h2 { max-width: 15ch; }
  .fd-canais { gap: 0 12px; margin-top: 17px; }
  .fd-canais button { font-size: 13px; }
  .fd-menu-demo { display: grid; grid-template-columns: .82fr 1.18fr; }
  .fd-demo-visual { height: 140px; padding: 15px 5% 0; }
  .fd-demo-visual img { width: 91%; }
  .fd-demo-caption { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border: 0; }
  .fd-section-head { flex-wrap: wrap; gap: 3px; }
  .fd-gallery .fg-abrir i { display: none; }
  .fd-gallery .fg-legenda { padding-right: 0; }
  .fd-faq { grid-template-columns: 1fr; gap: 14px; }
  .fd-faq h2 { max-width: none; }
}
@media (max-width:355px) {
  .fd-canais, .fd-jumps .frame { gap: 0 10px; }
  .fd-jumps a { font-size: 11.5px; }
}
