/* Flor do Sertão: site institucional (v2). Cores e fonte derivadas da logo. */

/* Montserrat hospedada no próprio site (OFL, assets/fonts/OFL.txt): sem conexão com terceiros.
   O latin vem por último: em faixas sobrepostas o navegador consulta primeiro a regra mais recente,
   então acentos combinantes usam o arquivo latin e o latin-ext só baixa se um caractere exigir. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/montserrat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/montserrat-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;
}
/* Reserva com as medidas da Montserrat: em rede lenta o texto aparece primeiro na fonte do sistema;
   com largura e altura ajustadas, a troca para a Montserrat quase não muda as quebras de linha.
   size-adjust = largura da Montserrat ÷ Arial, medida nos textos do site nos 5 idiomas, por peso. */
@font-face {
  font-family: "Montserrat Fallback"; font-weight: 400 500;
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 112.8%; ascent-override: 86.0%; descent-override: 22.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback"; font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold");
  size-adjust: 107.5%; ascent-override: 90.2%; descent-override: 23.3%; line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback"; font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold");
  size-adjust: 109.5%; ascent-override: 88.6%; descent-override: 22.8%; line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback"; font-weight: 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold");
  size-adjust: 111.7%; ascent-override: 86.8%; descent-override: 22.4%; line-gap-override: 0%;
}

:root {
  --forest: #10301c;
  --forest-2: #17402a;
  --forest-3: #0b2415;
  --leaf: #8cb241;
  --leaf-deep: #4f7d22;
  --mango: #f9b931;
  --mango-hot: #ffc94f;
  --orange: #ef8a1d;
  --orange-ink: #a85406;
  --river: #5aa2c8;
  --ink: #14201a;
  --ink-2: #4a5a50;
  --mist: #f4f7ef;
  --mist-2: #e9efe0;
  --line: #dfe6d6;
  --white: #ffffff;

  --header-h: 76px;
  --radius: 20px;
  --radius-lg: 28px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 40px -20px rgba(16, 48, 28, 0.28);

  scrollbar-color: var(--leaf-deep) var(--mist);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.motion) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4, p, li, dt, dd, blockquote, figcaption { overflow-wrap: break-word; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--mango); color: var(--forest); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.origin :focus-visible, .consult :focus-visible, .contact :focus-visible, .footer :focus-visible, .card--cta :focus-visible { outline-color: var(--mango); }
/* Painéis brancos dentro das seções escuras: o anel volta ao verde (manga sobre branco = 1,75:1) */
.person :focus-visible, .services :focus-visible { outline-color: var(--forest); }
/* Seções que recebem foco por script (âncoras, link de pular) não ganham anel */
main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--forest); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Âncoras param no topo da seção: o respiro da própria seção já passa da altura do cabeçalho.
   O scroll-padding do html continua valendo para o foco do teclado. */
main > section[id] { scroll-margin-top: calc(-1 * var(--header-h)); }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Tipografia ---------- */
.h1, .hero__title {
  font-weight: 800; font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1; letter-spacing: -0.035em; text-wrap: balance;
}
.h2 {
  font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
.h3 { font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; white-space: nowrap; }
.btn--mango { background: var(--mango); color: var(--forest); box-shadow: 0 10px 24px -14px rgba(239, 138, 29, 0.9); }
.btn--mango:hover { background: var(--mango-hot); box-shadow: 0 14px 28px -14px rgba(239, 138, 29, 1); }
.btn--ghost { border-color: rgba(20, 32, 26, 0.22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest); color: var(--white); }
.btn--outline { border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--white); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform 0.45s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header__bar {
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-scrolled .header__bar { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.94); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; }
.brand__name { display: flex; flex-direction: column; font-weight: 800; font-size: 0.9375rem; line-height: 1.1; color: var(--forest); letter-spacing: 0.01em; }
.brand__name small { font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-deep); margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 12px; border-radius: 999px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--ink); white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav a:hover { background: var(--mist); color: var(--forest); }

.lang {
  display: flex; flex: none; padding: 4px; gap: 2px;
  border-radius: 999px; background: var(--mist); border: 1px solid var(--line);
}
.lang button {
  min-width: 36px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang button:hover { color: var(--forest); background: rgba(16, 48, 28, 0.06); }
.lang button[aria-pressed="true"] { background: var(--forest); color: var(--white); }

.header__wa { display: none; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--mango); color: var(--forest); flex: none; }
.header__wa svg { width: 22px; height: 22px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); flex: none; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--forest); margin: auto; position: relative;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Pontos de quebra do cabeçalho em em: com o texto ampliado pelo usuário, o menu recolhe antes de transbordar */
@media (max-width: 77.4375em) {
  .burger { display: block; }
  .lang { margin-left: auto; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .lang::-webkit-scrollbar { display: none; }
  .lang button { flex: none; }
  .lang button:focus-visible { outline-offset: 1px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; margin: 0; padding: 24px var(--gutter) 40px;
    background: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
  .nav a:hover { background: none; color: var(--leaf-deep); }
}
@media (max-width: 45em) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .header__wa { display: grid; }
  .header__bar { gap: 8px; }
  .brand__name { display: none; }
  .brand img { width: 40px; }
  .lang button { min-width: 0; padding: 0 7px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; height: 100svh; min-height: max(640px, var(--stage-min, 0px)); overflow: hidden; background: var(--white); }
.hero__media {
  --inset-t: 62%; --inset-x: var(--gutter); --inset-b: 3.5%; --r: var(--radius-lg);
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(var(--inset-t) var(--inset-x) var(--inset-b) var(--inset-x) round var(--r));
  will-change: clip-path;
}
/* Vídeo em loop sobre o 1º quadro: o quadro aparece enquanto carrega, no fim de cada volta (fusão) e para quem pede menos movimento */
/* Cor média da foto do topo: o cartão já tem corpo enquanto ela carrega (rede lenta) */
.hero__visual { position: absolute; inset: 0; background: #737a65; }
.hero__visual img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Vídeos em loop: começam invisíveis sobre o 1º quadro e aparecem ao tocar */
.loop-video { opacity: 0; }
.loop-visual { position: absolute; inset: 0; }
.loop-visual img, .loop-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 14, 0) 45%, rgba(8, 24, 14, 0.62) 100%); }
.hero__statement {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 88px);
  max-width: 22ch; color: var(--white);
  font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance;
}
.motion .hero__statement { opacity: 0; }
html:not(.motion) .hero__statement { display: none; }
.hero__copy {
  position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--header-h) + clamp(28px, 6vh, 72px));
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(18px, 2.6vh, 28px);
  padding-inline: var(--gutter);
}
.hero__title { color: var(--forest); max-width: 14ch; }
.hero__sub { max-width: 56ch; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__meta {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(3.5% + 18px);
  display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-inline: 24px;
  color: var(--white); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  pointer-events: none;
}
/* Pausar/reproduzir vídeo (abertura e oásis). Na abertura fica ao lado da dica de rolagem e não some na expansão. */
.video-toggle {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(11, 36, 21, 0.55); color: var(--white); pointer-events: auto;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease);
}
.video-toggle:hover { background: rgba(11, 36, 21, 0.8); }
.video-toggle:focus-visible { outline-color: var(--mango); outline-offset: 2px; border-radius: 50%; }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .video-toggle__pause, .video-toggle.is-playing .video-toggle__play { display: none; }
.video-toggle.is-playing .video-toggle__pause { display: block; }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; pointer-events: auto; padding: 13px; margin: -13px; }
.hero__scroll svg { width: 18px; height: 18px; }
.hero__scroll svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

@media (max-width: 720px) {
  .hero__media { --inset-t: 66%; --inset-b: 2.5%; --r: var(--radius); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; min-height: 50px; }
  .hero__meta { bottom: calc(2.5% + 10px); padding-inline: 16px; font-size: 0.6875rem; }
  .hero__scroll span { display: none; }
}
@media (max-height: 760px) and (min-width: 721px) {
  .hero__media { --inset-t: 66%; }
  .hero__title { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
}

/* ---------- Quem somos ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 28px; }
.quote { padding-top: 8px; }
.quote p { font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.35; color: var(--forest); letter-spacing: -0.01em; }
.quote footer { margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.about__media { position: relative; min-height: clamp(420px, 48vw, 680px); }
.media { overflow: hidden; border-radius: var(--radius-lg); background: var(--mist-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { position: absolute; right: 0; top: 0; width: 74%; aspect-ratio: 3 / 4; }
.about__img--b { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--white); box-shadow: var(--shadow); }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dd { font-weight: 800; font-size: clamp(2.75rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat dt { font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); max-width: 24ch; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.values li { padding-top: 20px; border-top: 2px solid var(--forest); }
.icon { width: 40px; height: 40px; color: var(--leaf-deep); margin-bottom: 20px; }
.values h3 { font-weight: 700; font-size: 1.125rem; line-height: 1.3; margin-bottom: 8px; color: var(--forest); }
.values p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 959px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { min-height: 0; aspect-ratio: 1 / 1.05; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ---------- Origem ---------- */
.origin { position: relative; overflow: hidden; background: var(--forest); color: var(--white); isolation: isolate; }
.origin .lead { color: rgba(255, 255, 255, 0.78); }
.origin__topo { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.07); z-index: -1; }
.origin__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.origin__text { display: flex; flex-direction: column; gap: 28px; }
.origin__photo { position: relative; aspect-ratio: 4 / 5; }
.origin__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: rgba(11, 36, 21, 0.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 600;
}
.origin__photo figcaption svg { width: 16px; height: 16px; color: var(--mango); }
.origin__photo figcaption, .origin__toggle { z-index: 1; }
.origin__toggle { position: absolute; right: 16px; bottom: 16px; }
.origin__photo figcaption { max-width: calc(100% - 92px); line-height: 1.3; }  /* não encosta no botão do vídeo em traduções longas */
.river { grid-column: 1 / -1; position: relative; aspect-ratio: 1200 / 520; margin-top: clamp(48px, 6vw, 96px); }
.river__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.river__bed { fill: none; stroke: rgba(90, 162, 200, 0.16); stroke-width: 22; stroke-linecap: round; }
.river__water { fill: none; stroke: var(--river); stroke-width: 5; stroke-linecap: round; }
.river__name { fill: var(--river); font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.stop { position: absolute; width: min(26%, 300px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; transform: translate(-50%, -28px); }
.stop--1 { left: 18.333%; top: 57.69%; }
.stop--2 { left: 50%; top: 15.38%; }
.stop--3 { left: 81.667%; top: 57.69%; }
.stop__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mango); color: var(--forest); flex: none; box-shadow: 0 0 0 8px var(--forest); }
.stop__dot svg { width: 28px; height: 28px; }
.stop__text { min-width: 0; }
.stop h3 { font-weight: 700; font-size: 1.1875rem; margin-bottom: 6px; }
.stop p { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; line-height: 1.55; }

@media (max-width: 959px) {
  .origin__grid { grid-template-columns: minmax(0, 1fr); }
  .river { aspect-ratio: auto; margin-top: 8px; }
  .river__svg { display: none; }
  .river__stops { position: relative; display: flex; flex-direction: column; gap: 36px; padding-left: 4px; }
  .river__stops::before { content: ""; position: absolute; left: 30px; top: 28px; bottom: 28px; width: 4px; border-radius: 4px; background: var(--river); }
  .stop, .stop--1, .stop--2, .stop--3 { position: relative; left: auto; top: auto; width: auto; transform: none; flex-direction: row; align-items: flex-start; text-align: left; }
}

/* ---------- Frutas ---------- */
.products { background: var(--mist); overflow: hidden; }
.products__pin { padding-block: var(--section); display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.products__head > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.products__hint { display: none; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.products__hint svg { width: 16px; height: 16px; flex: none; }
.products__progress { flex: none; width: 200px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.products__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0.14); }
/* Recuo da faixa: alinha o 1º cartão com o título; o encaixe da rolagem respeita o mesmo recuo */
.products { --rail-inset: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); }
.products__viewport { overflow: hidden; scroll-padding-inline: var(--rail-inset); }
.products__track {
  display: flex; gap: 24px; width: max-content;
  padding-inline: var(--rail-inset);
}
.card {
  width: clamp(280px, 26vw, 370px); flex: none;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); background: var(--white); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(16, 48, 28, 0.38); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--mist-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { font-weight: 700; font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.1; color: var(--forest); }
.tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4);
  background: #fdf0d8; color: var(--orange-ink);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
/* Ficha da variedade: formato, casca e polpa, uma linha por atributo */
.spec { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.45; }
.spec dt { font-weight: 600; color: var(--ink-2); }
.spec dd { font-weight: 600; color: var(--forest); }
.card--cta {
  justify-content: space-between; gap: 32px; padding: 36px 32px;
  background: var(--forest); color: var(--white);
}
.card--cta p { font-weight: 600; font-size: 1.3125rem; line-height: 1.45; letter-spacing: -0.01em; }
.card--cta .btn { align-self: flex-start; }

@media (max-width: 1023px) {
  .products__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .products__viewport::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; width: min(82vw, 340px); }
  .products__track { padding-bottom: 24px; }
  .products__progress { display: none; }
  .products__hint { display: inline-flex; }
}

/* ---------- Padrão ---------- */
.standard__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.standard__media { position: relative; aspect-ratio: 4 / 5; }
.standard__text { display: flex; flex-direction: column; gap: 24px; }
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; margin-top: 16px; }
.criteria dt { display: flex; flex-direction: column; gap: 14px; font-weight: 700; font-size: 1.0625rem; color: var(--forest); margin-bottom: 6px; }
.criteria .icon { width: 52px; height: 52px; padding: 12px; margin: 0; border-radius: 50%; background: var(--mist); }
.criteria dd { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }


@media (max-width: 959px) {
  .standard__grid { grid-template-columns: minmax(0, 1fr); }
  .standard__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .criteria { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- Processo ---------- */
.process { background: var(--mist); }
.process__pin { min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 32px) 48px; }
.process__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.process__text { display: flex; flex-direction: column; gap: 22px; }
.steps { margin-top: 12px; display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); font-weight: 800; font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step.is-active .step__n { background: var(--mango); border-color: var(--mango); color: var(--forest); }
.step h3 { font-weight: 700; font-size: 1.1875rem; color: var(--ink-2); margin-bottom: 4px; transition: color 0.4s var(--ease); }
.step.is-active h3 { color: var(--forest); }
.step p { font-size: 0.9375rem; color: var(--ink-2); max-width: 46ch; }
.process__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.process__bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0.25); }
.process__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow); }
.process__toggle { position: absolute; right: 16px; bottom: 16px; z-index: 1; }

@media (max-width: 959px) {
  .process__pin { min-height: 0; padding-block: var(--section); }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .step .step__n { background: var(--mango); border-color: var(--mango); color: var(--forest); }
  .step h3 { color: var(--forest); }
  .process__bar { display: none; }
  .process__media { width: min(100%, 480px); }
}

/* ---------- Consultoria ---------- */
.consult { background: var(--forest); color: var(--white); }
.consult .lead { color: rgba(255, 255, 255, 0.78); }
.consult__head { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.protocols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.protocol { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--forest-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.protocol__name { font-weight: 800; font-size: clamp(2rem, 2.6vw, 2.75rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: 28px; }
.protocol__name::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--mango); margin-top: 18px; }
.protocol dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.protocol dt { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.protocol dd, .protocol__desc { color: rgba(255, 255, 255, 0.74); font-size: 0.9375rem; line-height: 1.6; }
.protocol__desc { max-width: 62ch; }
.services {
  margin-top: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start;
}
.services .h3 { color: var(--forest); }
.services ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.services li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 0.9875rem; line-height: 1.45; }
.services li svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--mango); color: var(--forest); }
.services .btn { grid-column: 2; justify-self: start; }

@media (max-width: 1199px) {
  .protocols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protocol dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .protocol--platform { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .protocols, .services { grid-template-columns: minmax(0, 1fr); }
  .services .btn { grid-column: 1; }
}
@media (max-width: 560px) {
  .protocol dl, .services ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Galeria ---------- */
.gallery { padding-bottom: clamp(64px, 8vw, 112px); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.gallery__head > div { display: flex; flex-direction: column; gap: 18px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; }
.marquee__track img { height: clamp(240px, 28vw, 380px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.motion .marquee__track { will-change: transform; }
html:not(.motion) .marquee { overflow-x: auto; }

/* ---------- Contato ---------- */
.contact { position: relative; overflow: hidden; color: var(--white); isolation: isolate; }
.contact__bg { position: absolute; inset: -12% 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 14, 0.5) 0%, rgba(8, 24, 14, 0.82) 70%); }
.contact__inner { padding-block: clamp(120px, 14vw, 200px) clamp(80px, 9vw, 128px); display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.contact__head { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.contact .lead { color: rgba(255, 255, 255, 0.86); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.person { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.person h3 { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--forest); }
.person__role { font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 18px; }
.person__wa {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
  background: var(--mist); text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.person__wa:hover { background: var(--mist-2); }
.person__wa svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--leaf-deep); color: var(--white); flex: none; }
.person__wa > span { display: flex; flex-direction: column; }
.person__label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.person__wa strong { font-weight: 700; font-size: 1.0625rem; color: var(--forest); font-variant-numeric: tabular-nums; }
.person__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.person__mail svg { width: 20px; height: 20px; flex: none; color: var(--leaf-deep); }
.person__mail:hover { color: var(--leaf-deep); }
@media (max-width: 720px) { .people { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rodapé ---------- */
.footer { background: var(--forest-3); color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; padding-block: clamp(64px, 7vw, 96px) 48px; }
.footer__brand img { width: 220px; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mango); margin-bottom: 6px; }
.footer__col a { text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__pair { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.footer__pair strong { color: var(--white); font-weight: 700; }
.footer__where { margin-top: 6px; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; font-size: 0.8125rem; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, 0.1); }
.footer__bottom a { color: var(--white); font-weight: 600; }
@media (max-width: 859px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sem animação (movimento reduzido ou sem JS) ---------- */
html:not(.motion) .products__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.motion) .card { scroll-snap-align: start; }
html:not(.motion) .products__track { padding-bottom: 24px; }
html:not(.motion) .products__progress, html:not(.motion) .process__bar { display: none; }
html:not(.motion) .step .step__n { background: var(--mango); border-color: var(--mango); color: var(--forest); }
html:not(.motion) .step h3 { color: var(--forest); }

/* Processo fixado (desktop com movimento): título, etapas e vídeo cabem na altura da tela */
@media (min-width: 960px) {
  .motion .process__pin { height: 100svh; min-height: 600px; padding-block: calc(var(--header-h) + 16px) 24px; }
  .motion .process .h2 { font-size: clamp(2rem, 5vh, 3.5rem); }
  .motion .process__text { gap: clamp(12px, 2vh, 22px); }
  .motion .steps { margin-top: 0; }
  .motion .step { padding-block: clamp(8px, 1.5vh, 18px); }
  .motion .process__media { justify-self: end; width: min(100%, calc((100svh - var(--header-h) - 64px) * 0.8)); }
}

/* Tela baixa: só a etapa ativa mostra a descrição; as outras ficam no título e abrem com a rolagem */
@media (min-width: 960px) and (max-height: 760px) {
  .motion .step > div { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows 0.5s var(--ease); }
  .motion .step.is-active > div { grid-template-rows: auto 1fr; }
  .motion .step h3 { margin-bottom: 0; align-self: center; min-height: 40px; display: flex; align-items: center; }
  .motion .step p { min-height: 0; overflow: hidden; }
}

/* Trilho de frutas fixado (desktop com movimento): cabe na altura da tela */
@media (min-width: 1024px) {
  .motion .products__pin {
    height: 100svh; min-height: 640px; justify-content: center;
    padding-block: calc(var(--header-h) + 8px) 24px; gap: clamp(24px, 3.5vh, 44px);
  }
  .motion .card__media { aspect-ratio: auto; height: clamp(170px, 29vh, 320px); }
  .motion .card__body { padding: 20px 24px 24px; gap: 10px; }
  .motion .products .h2 { font-size: clamp(2rem, 4.4vh, 3.25rem); }
}
