:root {
  --ink: #0b1713;
  --ink-soft: #17241f;
  --text: #2f3f37;
  --muted: #6b7871;
  --line: rgba(20, 36, 30, .11);
  --line-strong: rgba(20, 36, 30, .17);
  --paper: #f7f8f3;
  --paper-soft: #eef3ed;
  --surface: #ffffff;
  --surface-soft: #fbfcf8;
  --surface-raised: rgba(255, 255, 255, .82);
  --dark-surface: #101d18;
  --dark-surface-raised: rgba(255, 255, 255, .07);
  --line-dark: rgba(255, 255, 255, .13);
  --white: #ffffff;
  --green: #246b45;
  --green-dark: #123c2d;
  --lime: #b5c86b;
  --petrol: #2f7584;
  --orange: #c86f4a;
  --success: #2e7d4f;
  --warning: #b7791f;
  --danger: #b94a48;
  --info: #2f7584;
  --focus: rgba(181, 200, 107, .34);
  --ink-rgb: 11, 23, 19;
  --green-rgb: 36, 107, 69;
  --accent-rgb: 181, 200, 107;
  --shadow-sm: 0 10px 24px rgba(10, 28, 21, .08);
  --shadow: 0 22px 52px rgba(10, 28, 21, .14);
  --shadow-lg: 0 30px 80px rgba(8, 23, 17, .18);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  width: 100%;
  max-width: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbfcf8 0%, var(--paper) 48%, #f8faf6 100%);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

::selection {
  color: var(--ink);
  background: rgba(var(--accent-rgb), .36);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  background: rgba(250, 252, 248, .9);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(var(--ink-rgb), .035);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.brand {
  width: 60px;
  flex: 0 0 auto;
  transition: transform .18s ease, opacity .18s ease;
}

.brand img {
  width: 60px;
  height: auto;
}

.brand:hover,
.brand:focus-visible {
  opacity: .92;
  transform: translateY(-1px);
}

.nav-links,
.nav-actions,
.hero-actions,
.footer-links,
.contact-direct {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(var(--ink-rgb), .08);
  border-radius: 999px;
  color: rgba(var(--ink-rgb), .66);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .01em;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--green-dark);
  background: rgba(var(--green-rgb), .08);
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(var(--ink-rgb), .12);
}

.nav-actions {
  gap: 10px;
  flex: 0 0 auto;
}

.btn,
.menu-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, opacity .18s ease;
}

.btn {
  padding: 0 17px;
}

.menu-btn {
  display: none;
  padding: 0 14px;
  color: var(--green-dark);
  background: rgba(var(--green-rgb), .08);
  border-color: rgba(var(--green-rgb), .18);
}

.btn:hover,
.btn:focus-visible,
.menu-btn:hover,
.menu-btn:focus-visible {
  transform: translateY(-2px);
}

.btn:active,
.menu-btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: progress;
  opacity: .76;
  transform: none;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #c8d982, var(--lime));
  box-shadow: 0 18px 36px rgba(var(--accent-rgb), .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: rgba(var(--ink-rgb), .08);
  background: linear-gradient(135deg, #d4e28f, #bacb70);
  box-shadow: 0 22px 44px rgba(var(--accent-rgb), .28);
}

.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(var(--ink-rgb), .2);
  border-top-color: var(--ink);
  border-radius: 999px;
  animation: spin .75s linear infinite;
}

.btn-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .13);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(88svh - 72px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-color: var(--ink);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/landing/hero-planta-agro.jpg");
  background-repeat: no-repeat;
  background-size: auto 112%;
  background-position: calc(100% + 150px) center;
  filter: saturate(.88) contrast(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 19%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 19%, #000 34%, #000 100%);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb), .94) 0%, rgba(var(--ink-rgb), .9) 35%, rgba(18, 45, 35, .66) 58%, rgba(18, 45, 35, .2) 100%),
    linear-gradient(180deg, rgba(var(--ink-rgb), .04) 0%, rgba(var(--ink-rgb), .12) 46%, rgba(var(--ink-rgb), .86) 100%);
}

.hero-content {
  min-height: calc(88svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding: 70px 0 42px;
  min-width: 0;
}

.hero-copy {
  max-width: 730px;
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #cbd88d;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-light .kicker,
.section-band .kicker {
  color: var(--green);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.65rem, 4.8vw, 4.65rem);
  line-height: 1.03;
  font-weight: 900;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(.99rem, 1.08vw, 1.1rem);
  line-height: 1.72;
}

.hero-meta {
  max-width: 650px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.hero-meta li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 850;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  max-width: 930px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .22);
}

.hero-proof div {
  min-height: 98px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), .64), rgba(var(--ink-rgb), .45));
  transition: background .18s ease;
}

.hero-proof div:hover {
  background: linear-gradient(180deg, rgba(var(--ink-rgb), .54), rgba(var(--ink-rgb), .38));
}

.hero-proof strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1;
  font-weight: 900;
}

.hero-proof span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.5;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: linear-gradient(180deg, var(--paper), #fff);
}

.section-band {
  background: linear-gradient(180deg, var(--paper-soft), #fff);
}

.section-head {
  max-width: 850px;
  margin-bottom: 40px;
}

.section-head h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.07;
  font-weight: 900;
}

.section-head p,
.contact-copy p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(.98rem, 1vw, 1.05rem);
  line-height: 1.76;
}

.about-section {
  padding-top: 44px;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.about-copy h2 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.07;
  font-weight: 900;
}

.about-copy p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.74;
}

.about-list {
  max-width: 760px;
}

.about-panel {
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), .12);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.about-panel div {
  padding: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)),
    rgba(var(--ink-rgb), .96);
}

.about-panel div:last-child {
  border-bottom: 0;
}

.about-panel span {
  color: var(--lime);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.12;
  font-weight: 900;
}

.about-panel p {
  margin-top: 9px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.58;
}

.metrics-grid,
.steps-grid,
.services-grid,
.case-grid,
.gallery-grid,
.team-grid {
  display: grid;
  gap: 14px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evidence-note {
  max-width: 860px;
  margin: 16px 0 0;
  padding: 15px 17px;
  border: 1px solid rgba(var(--green-rgb), .14);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(var(--green-rgb), .055);
  font-size: .92rem;
  line-height: 1.6;
}

.metric-card,
.step-card,
.service-card,
.case-card,
.evidence-summary,
.chart-panel,
.team-card,
.contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card,
.service-card,
.case-card,
.evidence-summary,
.chart-panel,
.team-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.metric-card:hover,
.service-card:hover,
.case-card:hover,
.evidence-summary:hover,
.chart-panel:hover,
.team-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.metric-card {
  min-height: 198px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(var(--green-rgb), .035), rgba(255, 255, 255, 0) 52%),
    var(--surface);
}

.metric-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--green), var(--lime));
}

.metric-card span,
.panel-label,
.team-role {
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}

.metric-card p,
.step-card p,
.service-card p,
.case-card p,
.evidence-summary p,
.team-card p,
.form-note {
  color: var(--muted);
  line-height: 1.62;
}

.metric-card p {
  margin-top: 16px;
  font-size: .94rem;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}

.chart-panel,
.evidence-summary {
  padding: 26px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h3,
.evidence-summary h3,
.step-card h3,
.service-card h3,
.case-card h3,
.team-card h3 {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 900;
}

.panel-head h3 {
  margin-top: 6px;
}

.panel-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: rgba(var(--accent-rgb), .18);
  border: 1px solid rgba(var(--accent-rgb), .28);
  font-size: .76rem;
  font-weight: 900;
}

.chart-frame {
  position: relative;
  height: 430px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(var(--green-rgb), .025), rgba(var(--green-rgb), .01)),
    var(--surface-soft);
}

.evidence-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evidence-summary h3 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.evidence-summary p {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
}

.results-details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(8, 28, 20, .06);
}

.results-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.results-details summary::-webkit-details-marker {
  display: none;
}

.results-details summary::after {
  content: "Abrir";
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(var(--green-rgb), .06);
  font-size: .72rem;
  font-weight: 900;
}

.results-details[open] summary::after {
  content: "Fechar";
}

.table-scroll {
  margin: 0 22px 22px;
  overflow-x: auto;
  border: 1px solid #dce5df;
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--ink);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #e3ebe6;
  text-align: left;
  font-size: .9rem;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--white);
  background: var(--green-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background .16s ease;
}

tbody tr:hover {
  background: rgba(var(--green-rgb), .045);
}

.increment-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: rgba(var(--green-rgb), .1);
  font-weight: 900;
}

#metodo {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--ink-rgb), .98), rgba(22, 58, 45, .94)),
    var(--ink-soft);
}

#metodo .section-head h2,
#metodo .step-card h3 {
  color: var(--white);
}

#metodo .section-head p,
#metodo .step-card p {
  color: rgba(255, 255, 255, .72);
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  min-height: 245px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .02);
  border-color: var(--line-dark);
  box-shadow: none;
}

#metodo .step-card:hover {
  border-color: rgba(var(--accent-rgb), .32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .055)),
    rgba(255, 255, 255, .03);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}

.step-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(var(--accent-rgb), .42);
  border-radius: var(--radius);
  color: var(--lime);
  background: rgba(var(--accent-rgb), .07);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.step-symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card p,
.service-card p,
.case-card p {
  margin-top: 12px;
}

.case-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--ink-rgb), .97), rgba(22, 58, 45, .92)),
    var(--ink-soft);
}

.case-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/landing/hero-planta-agro.jpg");
  background-size: cover;
  background-position: center;
  opacity: .13;
  filter: saturate(.75) contrast(1.02);
}

.case-section .container {
  position: relative;
  z-index: 1;
}

.case-section .kicker {
  color: var(--lime);
}

.case-immersive {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.case-story {
  position: sticky;
  top: 104px;
}

.case-story h2 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.07;
  font-weight: 900;
}

.case-story > p {
  max-width: 590px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.04rem;
  line-height: 1.72;
}

.case-roles {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.case-roles article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .18s ease, padding-left .18s ease;
}

.case-roles article:hover {
  border-color: rgba(var(--accent-rgb), .3);
  padding-left: 4px;
}

.case-roles article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .4);
  border-radius: var(--radius);
  color: var(--lime);
  font-size: .78rem;
  font-weight: 900;
}

.case-roles h3 {
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 900;
}

.case-roles p {
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.56;
}

.case-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .92fr);
  gap: 14px;
}

.case-photo {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .24);
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.case-photo:hover {
  border-color: rgba(var(--accent-rgb), .28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  transform: translateY(-3px);
}

.case-photo-main {
  grid-row: span 2;
  min-height: 636px;
}

.case-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(.96) contrast(1.04);
  transition: transform .5s ease;
}

.case-photo:hover img {
  transform: scale(1.035);
}

.case-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb), .02) 20%, rgba(var(--ink-rgb), .7) 72%, rgba(var(--ink-rgb), .9) 100%),
    linear-gradient(90deg, rgba(var(--ink-rgb), .14), rgba(var(--ink-rgb), .02));
}

.case-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: var(--white);
}

.case-photo figcaption span {
  color: var(--lime);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-photo figcaption strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
  font-weight: 900;
}

.case-photo figcaption p {
  max-width: 34ch;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.48;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  padding: 24px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.evidence-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(8, 28, 20, .07);
}

.evidence-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

.evidence-image figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 30px 34px;
  background:
    linear-gradient(180deg, rgba(var(--green-rgb), .025), rgba(255, 255, 255, 0) 60%),
    var(--surface);
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--petrol));
}

.service-card::before {
  left: 18px;
}

.service-card::after {
  right: 18px;
  opacity: .28;
}

#equipe {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--ink-rgb), .95), rgba(47, 117, 132, .58)),
    var(--ink-soft);
}

#equipe .section-head h2 {
  color: var(--white);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
}

.team-card img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #dce7dd;
}

.team-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card h3 {
  margin-top: 10px;
}

.team-card p {
  margin-top: 12px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 68, 49, .94), rgba(47, 117, 132, .68)),
    var(--green-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
  gap: 38px;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, .78);
}

.contact-direct {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-direct a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  font-size: .9rem;
  font-weight: 850;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  border-color: rgba(var(--accent-rgb), .4);
  background: rgba(255, 255, 255, .13);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  border-color: rgba(255, 255, 255, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 252, 248, .92));
  box-shadow: var(--shadow-lg);
}

.form-intro {
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.form-intro span {
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-intro strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 900;
}

.form-intro p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.field {
  display: grid;
  align-self: start;
  gap: 8px;
}

.field.full,
.form-intro,
.form-status,
.form-note {
  grid-column: 1 / -1;
}

.contact-form > .btn.full {
  grid-column: 1 / -1;
  width: 100%;
}

label {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  transition: color .18s ease;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8e1dc;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input,
select {
  min-height: 48px;
  height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(107, 120, 113, .72);
}

.field:focus-within label {
  color: var(--green-dark);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(var(--green-rgb), .12);
}

.contact-form[data-submitted="true"] input:invalid,
.contact-form[data-submitted="true"] select:invalid,
.contact-form[data-submitted="true"] textarea:invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(185, 74, 72, .1);
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: rgba(var(--accent-rgb), .18);
  border: 1px solid rgba(var(--accent-rgb), .32);
  font-size: .9rem;
  font-weight: 850;
}

.form-status[data-type="error"] {
  color: var(--danger);
  background: rgba(185, 74, 72, .08);
  border-color: rgba(185, 74, 72, .22);
}

.form-note {
  font-size: .82rem;
}

.site-footer {
  padding: 34px 0 40px;
  color: rgba(255, 255, 255, .72);
  background: #07110e;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  font-size: .9rem;
}

.footer-brand img {
  width: 56px;
  height: auto;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: .88rem;
  font-weight: 850;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-admin-link {
  min-height: 48px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .05);
  font-size: .74rem;
  line-height: 1.1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.footer-admin-link span {
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-admin-link strong {
  color: var(--lime);
  font-size: .9rem;
  font-weight: 900;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  color: var(--white);
  border-color: rgba(var(--accent-rgb), .4);
  background: rgba(var(--accent-rgb), .1);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 2px;
    font-size: .76rem;
  }

  .nav-links a {
    padding-inline: 10px;
  }

  .metrics-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .case-immersive,
  .evidence-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .case-story {
    position: static;
    max-width: 860px;
  }

  .contact-copy {
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 72px;
    gap: 12px;
  }

  .brand,
  .brand img {
    width: 58px;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
    border-radius: var(--radius);
    color: var(--green-dark);
    background: rgba(var(--green-rgb), .07);
  }

  .nav-links a.is-active,
  .nav-links a[aria-current="page"] {
    color: var(--white);
    background: var(--ink);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-btn {
    position: fixed;
    top: 16px;
    right: 14px;
    z-index: 70;
    display: inline-flex !important;
    min-height: 42px;
    padding: 0 12px;
    font-size: .86rem;
    background: #f7f9f2;
    box-shadow: 0 10px 24px rgba(var(--ink-rgb), .1);
  }

  .nav-actions {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
  }

  .nav-actions .btn {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 72px);
  }

  .hero-content {
    justify-content: flex-end;
    gap: 26px;
    padding-top: 24vh;
    padding-bottom: 34px;
  }

  .hero-media::before {
    background-size: auto 128%;
    background-position: 62% center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(var(--ink-rgb), .24) 0%, rgba(var(--ink-rgb), .72) 44%, rgba(var(--ink-rgb), .94) 100%),
      linear-gradient(90deg, rgba(var(--ink-rgb), .84) 0%, rgba(var(--ink-rgb), .56) 62%, rgba(var(--ink-rgb), .34) 100%);
  }

  .hero-proof,
  .about-panel,
  .case-visuals,
  .case-grid,
  .gallery-grid,
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .case-photo-main {
    grid-row: auto;
    min-height: 520px;
  }

  .case-photo {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(calc(100% - 48px), 1180px);
  }

  .container {
    width: calc(100vw - 48px);
  }

  .section {
    padding: 68px 0;
  }

  .kicker {
    max-width: 100%;
    font-size: .68rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 13.2ch;
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero-copy p {
    max-width: 35ch;
    margin-top: 18px;
    font-size: .96rem;
    line-height: 1.6;
  }

  .hero-meta {
    display: none;
  }

  .hero-content {
    gap: 22px;
    padding-top: 22vh;
    padding-bottom: 24px;
  }

  .hero-actions,
  .contact-direct {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .contact-direct a {
    width: 100%;
  }

  .hero-proof,
  .about-panel,
  .case-visuals,
  .metrics-grid,
  .steps-grid,
  .contact-form {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    min-width: 0;
    min-height: auto;
    padding: 18px;
  }

  .hero-proof span {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .hero-actions,
  .hero-proof {
    max-width: 342px;
  }

  .chart-frame {
    height: 460px;
  }

  .chart-panel,
  .evidence-summary,
  .about-panel div,
  .case-photo figcaption,
  .metric-card,
  .step-card,
  .service-card,
  .case-card,
  .contact-form {
    padding: 22px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 310px;
  }

  .case-story h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .case-story > p,
  .case-roles p {
    font-size: .96rem;
  }

  .case-roles article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
  }

  .case-roles article > span {
    width: 32px;
    height: 32px;
  }

  .case-photo,
  .case-photo-main {
    min-height: 380px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-admin-link {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(342px, calc(100vw - 48px));
  }

  .nav {
    min-height: 72px;
  }

  .brand,
  .brand img {
    width: 54px;
  }

  .menu-btn {
    min-width: 66px;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 72px);
  }

  .hero-content {
    padding-top: 20vh;
  }
}

@media (max-width: 520px) {
  .menu-btn {
    right: max(14px, calc(100vw - 376px));
  }
}
