/* ==========================================================================
   MAESTRALLI NUTRI
   Tipografia pesada, fotos grandes, blocos de cor chapados e uma régua de
   milímetros que acompanha a rolagem. Osso, preto-esverdeado, verde-floresta e lima.
   Bricolage Grotesque (títulos) + Instrument Sans (texto), servidas pelo próprio site.
   ========================================================================== */

/* Fontes (OFL, baixadas do Google Fonts; latin + latin-ext) */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url(../fonts/instrument-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url(../fonts/instrument-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bone: #F4F2E9;
  --sand: #E5E3D1;
  --ink: #0D1510;
  --muted: #4F5A52;
  --muted-dark: #B3BDB5;
  --lime: #C6F135;
  --forest: #14532D;
  --forest-text: #CBDACF;
  --line-light: rgba(13, 21, 16, .25);
  --line-dark: rgba(244, 242, 233, .28);

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --header-h: 72px;
  --bar-h: calc(58px + env(safe-area-inset-bottom));
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; -webkit-text-size-adjust: 100%; }

body {
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button, a, label, select, summary { cursor: pointer; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 85; line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.display { font-size: clamp(2.5rem, 7vw, 6.2rem); max-width: 13em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.lead.big { font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.4; margin-top: 28px; max-width: 30em; color: inherit; }
.note { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.section-ink :focus-visible, .section-forest :focus-visible, .footer :focus-visible, .scan-band :focus-visible { outline-color: var(--lime); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 28px; background: var(--lime); color: var(--ink);
  border: 2px solid var(--lime); font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.section-ink .btn:hover, .footer .btn:hover, .section-ink .btn:focus-visible, .footer .btn:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-xl { min-height: 76px; padding: 20px 40px; font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin-top: 40px; }

.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; border-bottom: 2px solid currentColor; line-height: 1.2; transition: background-color .2s; }
.link:hover { background: var(--lime); color: var(--ink); }
.actions { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }

/* ==========================================================================
   Régua de milímetros: fina no celular, completa (com a marca em mm) a partir de 1300px
   ========================================================================== */
.ruler {
  --tick: rgba(13, 21, 16, .5);
  position: fixed; left: 0; top: var(--header-h); bottom: 0; width: 8px; z-index: 20; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 8px) 0 0 / 7px 100% no-repeat;
}
.ruler.on-dark { --tick: rgba(244, 242, 233, .55); }
.ruler-mark { position: absolute; left: 0; top: 0; height: 3px; width: 14px; background: var(--lime); color: var(--ink); will-change: transform; }
.ruler-mark b { display: none; }
@media (min-width: 1300px) {
  .ruler {
    width: 30px;
    background:
      repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 8px) 0 0 / 9px 100% no-repeat,
      repeating-linear-gradient(to bottom, var(--tick) 0 2px, transparent 2px 40px) 0 0 / 20px 100% no-repeat;
  }
  .ruler-mark { height: 22px; width: auto; padding: 0 8px 0 6px; display: flex; align-items: center; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
  .ruler-mark b { display: block; font: 700 .68rem var(--display); letter-spacing: 0; white-space: nowrap; padding-right: 6px; }
}

/* ==========================================================================
   Cabeçalho e menu
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 30; height: var(--header-h); background: var(--bone); border-bottom: 2px solid var(--ink); }
.header-bar { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.logo b { font-weight: 500; }
.logo-m { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--bone); font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 22px; }
.nav-link { display: inline-block; padding: 8px 0; font-size: .92rem; font-weight: 500; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-link:hover { border-bottom-color: var(--forest); }
.nav-link.active { border-bottom-color: var(--ink); }

.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: var(--ink); color: var(--bone); padding: 12px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.menu[hidden] { display: none; }
.menu li a { display: block; padding: 12px 0; font: 800 clamp(2rem, 9vw, 3rem)/1 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.03em; border-bottom: 1px solid rgba(244, 242, 233, .18); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ==========================================================================
   Abertura
   ========================================================================== */
.hero { padding-top: clamp(36px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--lime); border: 2px solid var(--ink); flex: none; }
.hero h1 { font-size: clamp(2.7rem, 6.1vw, 5.6rem); margin-bottom: 32px; }
.hero h1 span { color: var(--forest); background: linear-gradient(transparent 62%, var(--lime) 62% 93%, transparent 93%); padding: 0 .08em; margin: 0 -.08em; }
.hero .lead { margin-bottom: 36px; }

.hero-photo { position: relative; isolation: isolate; max-width: 420px; margin-left: auto; width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 16px 16px 0 var(--lime); }
.hero-photo figcaption { margin-top: 34px; font-size: .88rem; color: var(--muted); }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 100px); border-top: 2px solid var(--ink); }
.hero-facts li { padding: 22px 20px 26px 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero-facts b { display: block; font: 700 1.1rem/1.2 var(--display); color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { margin: 24px auto 0 0; max-width: 340px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgba(13, 21, 16, .2); }
}

/* ==========================================================================
   O exame na tela
   ========================================================================== */
.scan-band { background: var(--ink); color: var(--bone); padding: clamp(56px, 7vw, 96px) 0 0; overflow: hidden; }
.scan-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.scan-head h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 16em; }
.scan-head p { color: var(--muted-dark); font-size: .92rem; }

.scan-stage { position: relative; container-type: inline-size; max-width: 1440px; margin: 0 auto; aspect-ratio: 1200 / 380; }
.scan { position: absolute; inset: 0; width: 100%; height: 100%; }
.readout { position: absolute; padding: .35em .8em .45em; background: rgba(8, 8, 7, .82); border-left: 4px solid var(--lime); }
.readout span { display: block; font-size: clamp(.72rem, 1.25cqw, .95rem); color: var(--muted-dark); font-weight: 500; }
.readout strong { display: block; font: 800 5.2cqw/1 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.03em; color: var(--lime); font-variant-numeric: tabular-nums; }
.readout strong i { font-style: normal; }
.readout-fat { left: 29.4%; top: 10%; }
.readout-muscle { left: 67%; top: 50%; }

.scan .reveal-rect { transform-box: fill-box; transform-origin: top; animation: scan-reveal 2.2s cubic-bezier(.45, 0, .2, 1) .3s both; }
.scan .sweep { animation: scan-sweep 2.2s cubic-bezier(.45, 0, .2, 1) .3s both; }
.cal { animation: cal-in .4s ease 2.4s both; }
.cal-2 { animation-delay: 2.8s; }
@keyframes scan-reveal { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes scan-sweep { 0% { transform: translateY(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(380px); opacity: 0; } }
@keyframes cal-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 700px) {
  .scan-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; container-type: normal; }
  .scan { position: static; grid-column: 1 / -1; aspect-ratio: 2 / 1; height: auto; }
  .readout { position: static; padding: 14px 16px 18px; background: #1B1B19; }
  .readout span { font-size: .8rem; }
  .readout strong { font-size: 2.3rem; }
}

/* ==========================================================================
   Seções: fundos e colunas
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-ink { background: var(--ink); color: var(--bone); }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--bone); }
.section-ink .lead { color: var(--muted-dark); }
.section-forest .lead { color: var(--forest-text); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.split-reverse { grid-template-columns: 7fr 5fr; }
.prose > * + * { margin-top: 24px; }
.prose .display { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.prose .btn, .prose .link { margin-top: 16px; }
.prose .actions { margin-top: 36px; }
.prose .actions .btn, .prose .actions .link { margin-top: 0; }
@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .photo-tall { order: -1; }
}

/* ==========================================================================
   Problema: comparador "mesmo peso"
   ========================================================================== */
.compare { --r: 0; margin-top: clamp(48px, 6vw, 80px); }
.compare-row + .compare-row { margin-top: 28px; }
.compare-label { font: 700 1.15rem var(--display); letter-spacing: -.01em; margin-bottom: 10px; }
.bar { display: flex; gap: 4px; height: clamp(92px, 12vw, 140px); }
.seg {
  --eq: 33.33;
  flex: 1 1 0; flex-grow: calc(var(--eq) + (var(--real) - var(--eq)) * var(--r));
  min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px clamp(8px, 1.6vw, 20px) 10px; white-space: nowrap;
}
.seg em { font-style: normal; font-weight: 600; font-size: clamp(.78rem, 1.3vw, 1rem); }
.seg b { font: 800 clamp(1.4rem, 4vw, 3rem)/1 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.03em; opacity: var(--r); font-variant-numeric: tabular-nums; }
.seg-fat { background: var(--lime); color: var(--ink); }
.seg-muscle { background: var(--forest); color: var(--bone); }
.seg-other { background: var(--sand); color: var(--ink); }
.slider { margin-top: 36px; max-width: 640px; }
.slider label { display: block; font: 700 1.1rem/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -15px; background: var(--lime); border: 3px solid var(--ink); border-radius: 0; }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; background: var(--lime); border: 3px solid var(--ink); border-radius: 0; }
.problem-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; margin-top: clamp(48px, 6vw, 72px); font-size: 1.15rem; max-width: 900px; }
@media (max-width: 760px) { .problem-text { grid-template-columns: 1fr; } }

/* ==========================================================================
   Exame
   ========================================================================== */
.photo-hard { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.photo-hard img { width: 100%; box-shadow: 16px 16px 0 var(--lime); }
.photo-hard figcaption { margin-top: 34px; font-size: .9rem; color: var(--muted-dark); }
.measures { margin-top: 36px; }
.measures > div { display: grid; grid-template-columns: 210px 1fr; gap: 6px 28px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.measures > div:last-child { border-bottom: 1px solid var(--line-dark); }
.measures dt { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.02em; }
.measures dd { color: var(--muted-dark); }
@media (max-width: 600px) { .measures > div { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comparativo de métodos
   ========================================================================== */
.methods { width: calc(100% + 32px); margin: clamp(40px, 6vw, 72px) -16px 0; border-collapse: collapse; }
.methods th, .methods td { text-align: left; vertical-align: top; padding: 22px 16px; }
.methods thead th { padding-top: 0; padding-bottom: 14px; font: 700 .95rem var(--display); letter-spacing: -.01em; border-bottom: 3px solid var(--ink); }
.methods tbody tr { border-bottom: 2px solid var(--ink); }
.methods tbody th { width: 21%; font: 800 clamp(1.25rem, 2.1vw, 1.7rem)/1.05 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.025em; }
.methods tbody th small { display: block; margin-top: 6px; font: 500 .85rem var(--sans); letter-spacing: 0; color: var(--muted); }
.methods td { color: var(--muted); }
.methods .hl { background: var(--lime); }
.methods .hl th, .methods .hl td, .methods .hl th small { color: var(--ink); }
.methods .hl td:nth-child(3) { font-weight: 700; }
@media (max-width: 860px) {
  .methods { width: 100%; margin-left: 0; margin-right: 0; }
  .methods thead { position: absolute; left: -9999px; }
  .methods, .methods tbody, .methods tr, .methods th, .methods td { display: block; }
  .methods tbody tr { padding: 20px 16px 14px; border-bottom: 0; border-top: 2px solid var(--ink); }
  .methods tbody tr:last-child { border-bottom: 2px solid var(--ink); }
  .methods tbody th { width: auto; padding: 0 0 6px; }
  .methods td { padding: 8px 0 0; }
  .methods td::before { content: attr(data-label); display: block; font: 700 .78rem var(--display); color: var(--ink); margin-bottom: 2px; }
}

/* ==========================================================================
   Calculadora
   ========================================================================== */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.calc-form { display: grid; gap: 20px; padding: clamp(22px, 3vw, 36px); background: var(--bone); border: 2px solid var(--ink); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 700 .98rem var(--display); letter-spacing: -.01em; }
.field input, .field select { width: 100%; min-height: 56px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; font-size: 1.1rem; }
.field input:focus, .field select:focus { outline: 3px solid var(--forest); outline-offset: 0; }
.calc-error { color: #B3260E; font-weight: 700; }
.calc-result { padding-top: 24px; border-top: 2px solid var(--ink); }
.calc-result[hidden], .calc-error[hidden], .calc-line[hidden] { display: none; }
.calc-result > * + * { margin-top: 12px; }
.calc-line { display: flex; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; }
.calc-big { font: 800 clamp(3rem, 9vw, 5rem)/.9 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.05em; color: var(--forest); }
.calc-line h3 { font-size: 1.25rem; }
.calc-result p:not(.calc-big) { color: var(--muted); }
.calc-result #resultProtNote { font-size: .92rem; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Como funciona: passos
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: clamp(48px, 7vw, 88px); }
.steps li { border-top: 3px solid var(--lime); padding-top: 10px; }
.steps .n { display: block; font: 800 clamp(5rem, 9vw, 8.5rem)/.9 var(--display); letter-spacing: -.05em; margin: 8px 0 18px; color: var(--lime); }
.steps h3 { font-size: 1.55rem; margin-bottom: 10px; }
.steps p { max-width: 16em; color: var(--forest-text); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.hours { margin: 14px 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 20em; padding: 7px 0; border-top: 1px solid var(--line-dark); color: var(--bone); }
.hours span { color: var(--forest-text); }
@media (max-width: 860px) { 
/* ==========================================================================
   Atendimento
   ========================================================================== */
.services { margin-top: clamp(40px, 6vw, 72px); border-bottom: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px 48px; margin: 0 -20px; padding: 44px 20px; border-top: 2px solid var(--ink); align-items: start; transition: background-color .25s, color .25s; }
.service h3 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; font-variation-settings: "wdth" 85; letter-spacing: -.035em; line-height: .98; }
.service-body p { color: var(--muted); transition: color .25s; }
.service-body p + p { margin-top: 12px; }
.service-for b { color: var(--ink); transition: color .25s; }
.go { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 700; }
.go .ico { transition: transform .3s var(--ease); }
.service:hover { background: var(--ink); color: var(--bone); }
.service:hover .service-body p { color: var(--muted-dark); }
.service:hover .service-for b { color: var(--bone); }
.service:hover .go { color: var(--lime); }
.service:hover .go .ico { transform: translateX(8px); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; } }

/* ==========================================================================
   Sobre
   ========================================================================== */
.photo-tall { justify-self: end; max-width: 440px; width: 100%; }
.photo-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: -16px 16px 0 var(--ink); }
@media (max-width: 900px) { .photo-tall { justify-self: start; max-width: 360px; } }
.creds { margin-top: 28px; }
.creds li { padding: 14px 0; border-top: 1px solid var(--line-light); color: var(--muted); }
.creds li:last-child { border-bottom: 1px solid var(--line-light); }
.creds b { color: var(--ink); }
.creds a { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--forest); }
.creds a:hover { background: var(--lime); }

/* ==========================================================================
   Instagram
   ========================================================================== */
.handle { display: block; font: 800 clamp(2.3rem, 7.6vw, 6.6rem)/.95 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.02em; transition: color .2s; overflow-wrap: anywhere; }
.handle span { display: block; font: 600 1rem var(--sans); letter-spacing: 0; color: var(--lime); margin-bottom: 16px; }
.handle .ico { display: inline-block; width: .6em; height: .6em; margin-left: .15em; color: var(--lime); }
.handle:hover { color: var(--lime); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(56px, 8vw, 96px); }
.topics li { border-top: 3px solid var(--lime); padding-top: 20px; }
.topics h3 { font-size: 1.65rem; margin-bottom: 10px; }
.topics p { color: var(--muted-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.tags li { padding: 9px 18px; border: 2px solid rgba(244, 242, 233, .4); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   Pratos: as fotos viram o prato
   ========================================================================== */
.meals { display: flex; align-items: flex-start; justify-content: center; margin-top: clamp(48px, 7vw, 88px); padding-right: 14px; }
.meal { position: relative; flex: none; }
.meal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 14px 14px 0 var(--lime); transition: transform .45s var(--ease); }
.meal-a { width: 42%; z-index: 1; }
.meal-b { width: 32%; margin: clamp(56px, 9vw, 120px) 0 0 -5%; z-index: 2; }
.meal-c { width: 28%; margin: clamp(0px, 2vw, 24px) 0 0 -4%; z-index: 3; }
.meal figcaption { position: absolute; left: 2%; bottom: -8px; max-width: 82%; padding: 8px 14px; background: var(--ink); color: var(--bone); font-weight: 600; font-size: .88rem; line-height: 1.3; transform: rotate(-3deg); transition: transform .3s var(--ease); }
.meal-b figcaption { left: auto; right: 0; transform: rotate(2.5deg); }
.meal:hover img { transform: rotate(-5deg) scale(1.03); }
.meal:hover figcaption { transform: rotate(0) translateY(-4px); }
@media (max-width: 720px) {
  .meals { flex-wrap: wrap; gap: 36px 4%; padding-right: 10px; }
  .meal-a { width: 84%; margin: 0; }
  .meal-b, .meal-c { width: 46%; margin: 0; }
  .meal-c { margin-top: 28px; }
  .meal figcaption { font-size: .78rem; padding: 6px 10px; bottom: -14px; max-width: 100%; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 960px; }
.faq-list { margin-top: clamp(40px, 6vw, 64px); border-bottom: 2px solid var(--ink); }
details { border-top: 2px solid var(--ink); }
summary { list-style: none; position: relative; padding: 28px 56px 28px 0; font: 700 clamp(1.25rem, 2.7vw, 1.8rem)/1.15 var(--display); letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 500 2.6rem/1 var(--sans); color: var(--forest); transition: transform .25s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 30px; color: var(--muted); max-width: 40em; font-size: 1.1rem; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer { background: var(--ink); color: var(--bone); padding: clamp(84px, 11vw, 150px) 0 36px; }
.footer .display { font-size: clamp(2.6rem, 8vw, 7rem); max-width: 11em; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact h3 { font-size: 1.3rem; margin-bottom: 12px; }
.contact address, .contact p { font-style: normal; color: var(--muted-dark); margin-bottom: 14px; }
.contact a:not(.plain) { display: inline-block; padding: 10px 0 2px; font-weight: 700; border-bottom: 2px solid var(--lime); }
.contact a:hover { color: var(--lime); }
.contact .plain { color: var(--bone); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.footer-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-size: .86rem; color: var(--muted-dark); }
.footer-bottom p { max-width: 44em; }
.footer-bottom strong { color: var(--bone); font-family: var(--display); }
.footer-bottom a { font-weight: 600; color: var(--bone); border-bottom: 2px solid var(--lime); }
.footer-bottom a:hover { color: var(--lime); }

/* WhatsApp: botão flutuante no desktop, barra fixa no celular */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 58px; height: 58px; display: grid; place-items: center; background: var(--ink); color: var(--bone); border: 2px solid var(--bone); box-shadow: 4px 4px 0 var(--lime); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.wa-float:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lime); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float span { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: var(--bar-h); }
  .ruler { bottom: var(--bar-h); }
  .wa-float { left: 0; right: 0; bottom: 0; width: auto; height: var(--bar-h); padding-bottom: env(safe-area-inset-bottom); gap: 10px; background: var(--lime); color: var(--ink); border: 0; border-top: 2px solid var(--ink); box-shadow: none; grid-auto-flow: column; justify-content: center; font-weight: 700; font-size: 1.05rem; }
  .wa-float span { display: inline; }
  .wa-float .ico { width: 24px; height: 24px; }
  .wa-float:hover { transform: none; box-shadow: none; }
}

/* ==========================================================================
   Páginas 404 e Privacidade
   ========================================================================== */
.legal-kicker { font-weight: 600; margin-bottom: 18px; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); max-width: none; margin: 48px 0 12px; }
.legal p, .legal li { max-width: 44em; color: var(--muted); }
.legal ul { margin-top: 8px; }
.legal li { padding: 10px 0; border-top: 1px solid rgba(13, 21, 16, .2); }
.legal li b { color: var(--ink); }
.legal a:not(.btn) { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--forest); }
.legal .lead.big { color: var(--muted); }

/* ==========================================================================
   Movimento (só quando o JS carregou e o usuário aceita animação)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .18s; }
  .hero-copy > :nth-child(4) { animation-delay: .26s; }
  .hero-photo { animation: rise 1s var(--ease) .2s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }

  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .btn.rv.in { transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .2s, color .2s, border-color .2s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan .reveal-rect, .scan .sweep, .cal { animation: none; }
  .scan .sweep { display: none; }
  .wa-float:hover, .meal:hover img, .meal:hover figcaption { transform: none; }
}

/* Animações de número e de barras ficam isoladas: não refazem o layout da página inteira */
.readout, .compare { contain: layout style; }
