:root {
  --forest-950: #071f18;
  --forest-900: #0b2b21;
  --forest-800: #164333;
  --forest-700: #245543;
  --moss-500: #7e966e;
  --sage-200: #dce4d4;
  --sun-400: #e7c277;
  --linen-100: #f5f2e9;
  --paper: #fbfaf5;
  --ink: #14241d;
  --muted: #657169;
  --line: rgba(20, 36, 29, 0.17);
  --white-line: rgba(255, 255, 255, 0.22);
  --shadow: 0 1.8rem 5rem rgba(7, 31, 24, 0.15);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --max: 84rem;
  --organic: 3.2rem 3.2rem 0.75rem 3.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--forest-950);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--linen-100);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--forest-950);
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: var(--forest-800);
  font-size: 0.77rem;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.eyebrow::before {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.button-light {
  color: var(--forest-950);
  background: #f7ecd2;
}

.button-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(12px);
}

.button-dark {
  color: #fff;
  background: var(--forest-800);
}

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  transition: background 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(7, 31, 24, 0.92);
  box-shadow: 0 0.8rem 2rem rgba(4, 21, 16, 0.18);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 6rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--white-line);
}

.site-header.is-scrolled .nav-shell,
.site-header.menu-visible .nav-shell {
  border-bottom-color: transparent;
}

.wordmark {
  display: inline-grid;
  color: #fff;
  text-decoration: none;
  line-height: 0.92;
}

.wordmark strong {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.075em;
}

.wordmark span {
  margin-top: 0.38rem;
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  opacity: 0.74;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.main-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  color: var(--forest-950);
  background: #f7ecd2;
}

.menu-button {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.29rem auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(0.39rem) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-0.39rem) rotate(-45deg);
}

/* Hero vivant */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--forest-900);
}

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

.hero-scene {
  z-index: -3;
  overflow: hidden;
  background: #15382c;
}

.scene-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #15382c;
}

.scene-overlay {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 18, 13, 0.78) 0%, rgba(3, 18, 13, 0.42) 38%, rgba(3, 18, 13, 0.08) 69%),
    linear-gradient(0deg, rgba(2, 15, 11, 0.6) 0%, transparent 48%, rgba(3, 16, 12, 0.22) 100%);
}

.hero-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 100svh;
  margin-inline: auto;
  padding: 10rem 0 5rem;
  display: grid;
  align-items: end;
}

.hero-copy {
  width: min(51rem, 73vw);
  margin-bottom: clamp(1rem, 6vh, 4rem);
  padding-left: clamp(1.25rem, 3vw, 3rem);
  border-left: 1px solid rgba(255, 255, 255, 0.48);
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.55rem, 7vw, 7.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 44rem;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Repères */
.proof-strip {
  color: var(--linen-100);
  background: var(--forest-950);
}

.proof-grid {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
}

.proof-title,
.proof-item {
  min-height: 8.4rem;
  padding: 1.6rem clamp(1rem, 2vw, 2rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-title {
  padding-left: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.proof-item strong {
  color: var(--sun-400);
  font-family: var(--display);
  font-size: 1.62rem;
  font-weight: 500;
}

.proof-item span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.62fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-heading h2,
.contact-story h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 5.2vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.047em;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Services, formes organiques de la direction 4 */
.services-section {
  background: var(--linen-100);
}

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

.service-card {
  min-height: 31rem;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--organic);
}

.service-card:nth-child(2) {
  background: var(--sage-200);
  border-radius: 3.2rem 0.75rem 3.2rem 3.2rem;
}

.service-card:nth-child(3) {
  color: #fff;
  background: var(--forest-800);
  border-color: transparent;
  border-radius: 0.75rem 3.2rem 3.2rem 3.2rem;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 750;
}

.service-card:nth-child(3) .service-topline {
  color: var(--sun-400);
}

.service-icon {
  width: 2.8rem;
  height: 2.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.service-card h3 {
  margin: auto 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card:nth-child(3) p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  width: fit-content;
  margin-top: 1.7rem;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.36rem;
}

/* Repères tarifaires */
.rates-section {
  background: #e9e7dd;
}

.rates-heading h2 {
  max-width: 14ch;
}

.rates-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 1.15rem;
  align-items: stretch;
}

.rate-card {
  min-height: 32rem;
  padding: clamp(1.7rem, 2.8vw, 2.5rem);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem 3.2rem 3.2rem 3.2rem;
}

.rate-card-featured {
  color: #fff;
  background: var(--forest-800);
  border-color: transparent;
  border-radius: 3.2rem 3.2rem 0.75rem 3.2rem;
}

.rate-card-sage {
  background: var(--sage-200);
  border-radius: 3.2rem 0.75rem 3.2rem 3.2rem;
}

.rate-card-head {
  min-height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rate-card-head p,
.rate-card-head span {
  margin: 0;
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 750;
}

.rate-card-head span {
  padding: 0.35rem 0.58rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.rate-card-featured .rate-card-head p,
.rate-card-featured .rate-card-head span {
  color: var(--sun-400);
}

.rate-card h3 {
  margin: 2.8rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.rate-price {
  min-height: 6.6rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.45rem;
}

.rate-price small {
  flex-basis: 100%;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.rate-price strong {
  font-family: var(--display);
  font-size: clamp(3.15rem, 5vw, 5.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.rate-price span {
  color: var(--muted);
  font-size: 0.82rem;
}

.rate-card-featured .rate-price small,
.rate-card-featured .rate-price span {
  color: rgba(255, 255, 255, 0.68);
}

.rate-card ul {
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
  list-style: none;
}

.rate-card li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.rate-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.5rem;
  height: 1px;
  background: var(--forest-700);
  content: "";
}

.rate-card-featured li {
  color: rgba(255, 255, 255, 0.75);
}

.rate-card-featured li::before {
  background: var(--sun-400);
}

.rate-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

/* Entrées SEO utiles, présentées comme des périmètres de prestation. */
.needs-section {
  color: #fff;
  background: var(--forest-950);
}

.needs-section .eyebrow,
.needs-section .section-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.need-card {
  min-height: 22rem;
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--organic);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.need-card:nth-child(2) {
  background: var(--sage-200);
  border-radius: 3.2rem 0.75rem 3.2rem 3.2rem;
}

.need-card:nth-child(3) {
  border-radius: 0.75rem 3.2rem 3.2rem 3.2rem;
}

.need-card:nth-child(4) {
  color: #fff;
  background: var(--forest-800);
  border-radius: 3.2rem 3.2rem 3.2rem 0.75rem;
}

.need-card:hover {
  transform: translateY(-4px);
}

.need-card small {
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 750;
}

.need-card:nth-child(4) small {
  color: var(--sun-400);
}

.need-card h3 {
  margin: auto 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.8vw, 2.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.need-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.need-card:nth-child(4) p {
  color: rgba(255, 255, 255, 0.7);
}

.need-card > span {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

/* Réalisations */
.work-section {
  color: #fff;
  background: var(--forest-800);
}

.work-section .eyebrow,
.work-section .section-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.work-stack {
  display: grid;
  gap: 1.25rem;
}

.work-card {
  position: relative;
  min-height: 42rem;
  margin: 0;
  overflow: hidden;
  background: var(--forest-950);
  border-radius: 9rem 9rem 0.8rem 0.8rem;
}

.work-stack .work-card {
  min-height: 20.35rem;
  border-radius: 4rem 4rem 0.8rem 0.8rem;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.work-card:hover img {
  transform: scale(1.025);
}

.work-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 6rem 2rem 1.8rem;
  background: linear-gradient(transparent, rgba(2, 17, 12, 0.88));
}

.work-card strong {
  display: block;
  max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.work-card span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
}

/* Méthode */
.method-section {
  background: #e9e7dd;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.method-step {
  min-height: 21rem;
  padding: 2rem 1.75rem;
  border-right: 1px dashed rgba(20, 36, 29, 0.24);
}

.method-step:last-child {
  border-right: 0;
}

.method-number {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
}

.method-step h3 {
  margin: 4rem 0 0.85rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Engagements */
.commitments-section {
  color: #fff;
  background: var(--forest-800);
}

.commitments-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  background: var(--forest-950);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5rem 5rem 0.8rem 5rem;
}

.commitments-intro {
  padding: clamp(2.5rem, 5vw, 5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.commitments-intro .eyebrow {
  color: var(--sun-400);
}

.commitments-intro h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.commitments-intro > p:last-child {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.commitments-list {
  padding: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem);
}

.commitment-item {
  min-height: 10.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.commitment-item:last-child {
  border-bottom: 0;
}

.commitment-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
}

.commitment-item p {
  max-width: 45rem;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* SAP */
.sap-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: #fff;
  background: var(--forest-950);
  border-radius: 4.5rem 4.5rem 0.8rem 4.5rem;
}

.sap-number {
  color: var(--sun-400);
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.sap-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
}

.sap-copy p {
  max-width: 46rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.sap-facts {
  max-width: 46rem;
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sap-facts p {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem 1.35rem 0.35rem 1.35rem;
}

.sap-facts p:nth-child(2) {
  border-radius: 1.35rem 0.35rem 1.35rem 1.35rem;
}

.sap-facts strong,
.sap-facts span {
  display: block;
}

.sap-facts strong {
  color: var(--sun-400);
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
}

.sap-facts span {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  line-height: 1.45;
}

.sap-copy .sap-caution {
  margin-top: 1rem;
  font-size: 0.72rem;
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}

.contact-section::before {
  position: absolute;
  inset: 0 50% 0 0;
  background:
    linear-gradient(90deg, rgba(4, 25, 18, 0.57), rgba(4, 25, 18, 0.9)),
    url("../img/solaverde-bg-06-jardin-delamare-low.jpg") center / cover;
  content: "";
  opacity: 0.77;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 52rem;
}

.contact-story {
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-story .eyebrow {
  color: #fff;
}

.contact-story h2 {
  max-width: 9ch;
}

.contact-story > div > p {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.direct-contact {
  display: grid;
  gap: 0.7rem;
  margin-top: 3rem;
}

.direct-contact a {
  width: fit-content;
  color: #fff;
  font-size: 0.92rem;
  text-underline-offset: 0.3rem;
}

.direct-contact span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.form-panel {
  align-self: center;
  min-height: 39rem;
  margin: 2rem 0 2rem 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--organic);
  box-shadow: var(--shadow);
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}

.form-meta strong {
  color: var(--forest-800);
}

.form-progress {
  width: 8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.form-progress i {
  height: 0.2rem;
  background: #d8d7d0;
}

.form-progress i.active {
  background: var(--forest-800);
}

.form-step {
  padding: 0;
  margin: 0;
  border: 0;
}

.form-step[hidden] {
  display: none;
}

.form-step legend {
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.step-help {
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.project-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.project-option {
  position: relative;
}

.project-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-option span {
  min-height: 4.6rem;
  padding: 0.9rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 1.2rem 1.2rem 0.3rem 1.2rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.project-option input:checked + span {
  color: #fff;
  background: var(--forest-800);
  border-color: var(--forest-800);
}

.project-option input:focus-visible + span {
  outline: 3px solid var(--sun-400);
  outline-offset: 3px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.75rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.field textarea {
  min-height: 6.4rem;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.45rem;
}

.button-back {
  padding: 0.6rem 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.privacy-note,
.form-status {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.form-status {
  padding: 0.8rem;
  border-radius: 0.6rem;
}

.form-status.is-error {
  color: #7c2e20;
  background: #f8e5df;
}

.form-status a {
  font-weight: 750;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.turnstile-slot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.turnstile-slot:not(:empty) {
  min-height: 4.1rem;
  margin-top: 1rem;
}

.turnstile-slot[data-size="compact"]:not(:empty) {
  min-height: 8.75rem;
}

.form-success {
  min-height: 30rem;
  place-items: center;
  text-align: center;
}

.form-success:not([hidden]) {
  display: grid;
}

.form-success strong {
  display: block;
  font-family: var(--display);
  font-size: 2.65rem;
  font-weight: 500;
}

.form-success p {
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.65;
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.faq-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.25;
}

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

.faq-item summary::after {
  position: absolute;
  top: 1.25rem;
  right: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 48rem;
  padding: 0 3rem 1.55rem 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 4rem 0 7rem;
  color: rgba(255, 255, 255, 0.7);
  background: #051913;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.8fr;
  gap: 3rem;
}

.footer-brand p {
  max-width: 29rem;
  margin: 1.35rem 0 0;
  line-height: 1.7;
}

.footer-column strong {
  display: block;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.8rem;
}

.footer-column a,
.footer-column span {
  display: block;
  width: fit-content;
  margin: 0.55rem 0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr;
  gap: 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
}

.footer-bottom > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-bottom strong {
  color: #fff;
  font-size: 0.72rem;
}

.footer-bottom span,
.footer-bottom a {
  color: inherit;
  line-height: 1.55;
}

.footer-bottom a {
  width: fit-content;
}

.mobile-conversion {
  display: none;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 25, 18, 0.85), rgba(4, 25, 18, 0.38)),
    url("../img/solaverde-hero-nuit.webp") center / cover;
}

.not-found-card {
  width: min(44rem, calc(100% - 2rem));
  padding: clamp(2rem, 6vw, 5rem);
  background: rgba(7, 31, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--organic);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.not-found-card .wordmark {
  margin-bottom: 4rem;
}

.not-found-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.not-found-card p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

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

  .proof-title {
    display: none;
  }

  .services-grid {
    gap: 0.85rem;
  }

  .rates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rate-card-featured {
    min-height: 28rem;
    grid-column: 1 / -1;
  }

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

  .service-card {
    min-height: 29rem;
  }

  .contact-layout {
    grid-template-columns: 0.72fr 1.28fr;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  .hero-inner {
    padding: 7rem 0 3rem;
  }

  .hero-copy {
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 4.9rem);
  }

  .hero-lead {
    margin-top: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-nav.is-open {
    position: fixed;
    inset: 6rem 0 0;
    display: flex;
    padding: 2rem 1.5rem 7rem;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    color: #fff;
    background: var(--forest-950);
  }

  .main-nav.is-open a {
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 500;
  }

  .main-nav.is-open a::after {
    display: none;
  }

  .hero-copy {
    width: min(44rem, 86vw);
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .rates-grid {
    grid-template-columns: 1fr;
  }

  .rate-card-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .rate-card {
    min-height: 29rem;
  }

  .service-card {
    min-height: 23rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 34rem;
  }

  .work-stack {
    grid-template-columns: 1fr 1fr;
  }

  .work-stack .work-card {
    min-height: 24rem;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-step:nth-child(2) {
    border-right: 0;
  }

  .method-step:nth-child(-n + 2) {
    border-bottom: 1px dashed rgba(20, 36, 29, 0.24);
  }

  .commitments-panel {
    grid-template-columns: 1fr;
  }

  .commitments-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .sap-panel {
    grid-template-columns: auto 1fr;
  }

  .sap-panel .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .contact-section::before {
    inset: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-story {
    min-height: 34rem;
    padding-right: 0;
  }

  .form-panel {
    margin: 0 0 4rem;
  }

  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 5rem;
  }

  .shell,
  .nav-shell,
  .hero-inner,
  .proof-grid {
    width: min(calc(100% - 2rem), var(--max));
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(7, 31, 24, 0.72);
    backdrop-filter: blur(13px);
  }

  .nav-shell {
    min-height: 5rem;
  }

  .main-nav.is-open {
    inset: 5rem 0 0;
  }

  .wordmark strong {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 52rem;
  }

  .scene-video {
    object-position: 58% center;
  }

  .scene-overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 13, 0.66), rgba(3, 18, 13, 0.12)),
      linear-gradient(0deg, rgba(2, 15, 11, 0.78) 0%, rgba(2, 15, 11, 0.12) 72%);
  }

  .hero-inner {
    min-height: 52rem;
    padding: 8.5rem 0 9rem;
  }

  .hero-copy {
    width: 100%;
    margin-bottom: 0;
    padding-left: 1rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 16vw, 5.4rem);
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .needs-grid {
    grid-template-columns: 1fr;
  }

  .need-card {
    min-height: 19rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    padding: 1.15rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-heading h2,
  .contact-story h2 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .service-card {
    min-height: 25rem;
    padding: 1.65rem;
    border-radius: 2.2rem 2.2rem 0.55rem 2.2rem;
  }

  .service-card:nth-child(2) {
    border-radius: 2.2rem 0.55rem 2.2rem 2.2rem;
  }

  .service-card:nth-child(3) {
    border-radius: 0.55rem 2.2rem 2.2rem 2.2rem;
  }

  .rate-card,
  .rate-card-featured,
  .rate-card-sage {
    min-height: 0;
    border-radius: 2.2rem 2.2rem 0.55rem 2.2rem;
  }

  .rate-card-sage {
    border-radius: 2.2rem 0.55rem 2.2rem 2.2rem;
  }

  .rate-card:last-child {
    border-radius: 0.55rem 2.2rem 2.2rem 2.2rem;
  }

  .rate-link {
    margin-top: 2rem;
  }

  .work-card,
  .work-stack .work-card {
    min-height: 30rem;
    border-radius: 5rem 5rem 0.65rem 0.65rem;
  }

  .work-stack {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-step,
  .method-step:nth-child(2) {
    min-height: auto;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px dashed rgba(20, 36, 29, 0.24);
  }

  .method-step h3 {
    margin-top: 1.6rem;
  }

  .commitments-panel {
    border-radius: 2.7rem 2.7rem 0.65rem 2.7rem;
  }

  .commitments-intro,
  .commitments-list {
    padding: 2rem 1.5rem;
  }

  .commitment-item {
    min-height: 0;
    padding: 1.5rem 0;
    align-items: start;
  }

  .sap-panel {
    grid-template-columns: 1fr;
    border-radius: 2.7rem 2.7rem 0.65rem 2.7rem;
  }

  .sap-panel .button {
    width: 100%;
  }

  .sap-facts {
    grid-template-columns: 1fr;
  }

  .contact-story {
    min-height: 32rem;
  }

  .form-panel {
    min-height: 0;
    padding: 1.5rem;
    border-radius: 2.2rem 2.2rem 0.55rem 2.2rem;
  }

  .project-options,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2.25rem;
  }

  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: auto;
  }

  .mobile-conversion {
    position: fixed;
    z-index: 95;
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    padding: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(7, 31, 24, 0.94);
    box-shadow: 0 1rem 3rem rgba(2, 15, 11, 0.28);
    backdrop-filter: blur(18px);
  }

  .mobile-conversion a {
    padding: 0.8rem 0.65rem;
    color: #fff;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 750;
  }

  .mobile-conversion a:last-child {
    color: var(--forest-950);
    background: #f7ecd2;
  }
}

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

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

  .scene-video {
    display: none;
  }

  .hero-scene {
    background: #15382c url("/img/timelapse/solaverde-jardin-timelapse-poster.jpg?v=20260917b") center / cover no-repeat;
  }
}
