/* Pages SEO Solaverde — prolongement éditorial de la nouvelle direction artistique */

.seo-page {
  background: var(--linen-100);
}

.seo-page .site-header {
  background: linear-gradient(180deg, rgba(7, 31, 24, 0.72), rgba(7, 31, 24, 0));
}

.seo-page .site-header.is-scrolled,
.seo-page .site-header.menu-visible {
  background: rgba(7, 31, 24, 0.94);
}

.seo-hero {
  position: relative;
  min-height: min(52rem, 88svh);
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}

.seo-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(126, 150, 110, 0.18), transparent 28rem),
    linear-gradient(115deg, transparent 0 54%, rgba(231, 194, 119, 0.07) 54% 100%);
  content: "";
}

.seo-hero-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 3rem), var(--max));
  min-height: min(52rem, 88svh);
  margin-inline: auto;
  padding: 10rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
}

.seo-hero-copy {
  padding-bottom: clamp(1rem, 4vw, 3.5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.breadcrumbs a {
  text-underline-offset: 0.25rem;
}

.seo-hero .eyebrow {
  color: var(--sun-400);
}

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

.seo-hero-lead {
  max-width: 43rem;
  margin: 1.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

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

.seo-hero-media {
  position: relative;
  min-height: clamp(27rem, 58vw, 42rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9rem 9rem 0.9rem 9rem;
  box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, 0.3);
}

.seo-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(4, 24, 17, 0.58));
  content: "";
}

.seo-hero-note {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(7, 31, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.35rem 1.35rem 0.35rem 1.35rem;
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  line-height: 1.45;
}

.seo-hero-note strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
}

.seo-proof {
  color: #fff;
  background: var(--forest-800);
}

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

.seo-proof-item {
  min-height: 8.5rem;
  padding: 1.55rem clamp(1rem, 2.6vw, 2.4rem);
  display: grid;
  align-content: center;
  gap: 0.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.seo-proof-item:first-child {
  padding-left: 0;
}

.seo-proof-item:last-child {
  border-right: 0;
}

.seo-proof-item strong {
  color: var(--sun-400);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 500;
}

.seo-proof-item span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.74rem;
  line-height: 1.5;
}

.seo-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.seo-section.is-paper {
  background: var(--paper);
}

.seo-section.is-sage {
  background: var(--sage-200);
}

.seo-section.is-mist {
  background: #e9e7dd;
}

.seo-section.is-forest {
  color: #fff;
  background: var(--forest-800);
}

.seo-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.seo-kicker {
  position: sticky;
  top: 8rem;
}

.seo-kicker h2,
.seo-section-heading h2,
.seo-cta-copy h2,
.seo-faq-title h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.8vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.seo-copy {
  max-width: 48rem;
}

.seo-copy > p:first-child {
  margin-top: 0;
  color: var(--forest-800);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.seo-copy p,
.seo-copy li,
.seo-section-heading > p,
.seo-feature p,
.seo-step p,
.seo-aside p {
  color: var(--muted);
  line-height: 1.75;
}

.seo-copy h3 {
  margin: 2.7rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.1;
}

.seo-copy ul,
.seo-copy ol {
  margin: 1.1rem 0 0;
  padding-left: 1.25rem;
}

.seo-copy li + li {
  margin-top: 0.5rem;
}

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

.seo-section-heading > p {
  margin: 0;
}

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

.seo-feature {
  padding: 2.1rem 0;
  display: grid;
  grid-template-columns: 3.8rem minmax(11rem, 0.62fr) minmax(18rem, 1.38fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.seo-feature-index {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest-700);
  font-family: var(--display);
  font-size: 1rem;
}

.seo-feature h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.12;
}

.seo-feature p {
  margin: 0;
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(20rem, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.seo-split.is-reversed > :first-child {
  order: 2;
}

.seo-photo {
  position: relative;
  min-height: clamp(25rem, 52vw, 41rem);
  overflow: hidden;
  border-radius: 7rem 7rem 0.75rem 7rem;
  background: var(--forest-900);
}

.seo-split.is-reversed .seo-photo {
  border-radius: 7rem 0.75rem 7rem 7rem;
}

.seo-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.seo-aside > p {
  max-width: 42rem;
  margin: 1.4rem 0 0;
}

.seo-checks {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.seo-checks li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.seo-checks li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--moss-500);
  border-radius: 50%;
  content: "";
}

.seo-checks li::after {
  position: absolute;
  top: 1.32rem;
  left: 0.28rem;
  width: 0.45rem;
  height: 0.24rem;
  border-bottom: 1px solid var(--forest-700);
  border-left: 1px solid var(--forest-700);
  content: "";
  transform: rotate(-45deg);
}

.seo-callout {
  margin-top: 2rem;
  padding: 1.3rem 1.45rem;
  background: var(--paper);
  border-left: 3px solid var(--moss-500);
  border-radius: 0 1.2rem 0.3rem 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.seo-callout a {
  color: var(--forest-800);
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.seo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.seo-step {
  min-height: 20rem;
  padding: 1.8rem clamp(1rem, 2vw, 1.7rem);
  border-right: 1px dashed rgba(255, 255, 255, 0.24);
}

.seo-step:first-child {
  padding-left: 0;
}

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

.seo-step span {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: var(--sun-400);
  font-family: var(--display);
}

.seo-step h3 {
  margin: 4rem 0 0.75rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
}

.seo-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.seo-related {
  min-height: 20rem;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2.8rem 2.8rem 0.65rem 2.8rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.seo-related:nth-child(2) {
  border-radius: 2.8rem 0.65rem 2.8rem 2.8rem;
}

.seo-related:nth-child(3) {
  color: #fff;
  background: var(--forest-800);
  border-color: transparent;
  border-radius: 0.65rem 2.8rem 2.8rem 2.8rem;
}

.seo-related:hover {
  transform: translateY(-3px);
}

.seo-related small {
  color: var(--forest-700);
  font-size: 0.69rem;
  font-weight: 750;
}

.seo-related:nth-child(3) small {
  color: var(--sun-400);
}

.seo-related strong {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.05;
}

.seo-related span {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.seo-related:nth-child(3) span {
  color: rgba(255, 255, 255, 0.67);
}

.seo-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}

.seo-cta::before {
  position: absolute;
  inset: 0 0 0 57%;
  background: linear-gradient(90deg, var(--forest-950), rgba(7, 31, 24, 0.2)), var(--seo-cta-image) center / cover;
  content: "";
  opacity: 0.7;
}

.seo-cta-inner {
  position: relative;
  z-index: 1;
  min-height: 32rem;
  display: grid;
  grid-template-columns: 0.72fr 0.28fr;
  align-items: center;
}

.seo-cta-copy p {
  max-width: 41rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.seo-contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.5rem;
}

.seo-contact-lines a {
  color: #fff;
  font-size: 0.82rem;
  text-underline-offset: 0.3rem;
}

.seo-faq {
  background: var(--paper);
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.seo-faq-title {
  position: sticky;
  top: 8rem;
}

.seo-faq .faq-list {
  min-width: 0;
}

.seo-source-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.seo-source-note a {
  color: var(--forest-800);
  text-underline-offset: 0.22rem;
}

@media (max-width: 980px) {
  .seo-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 0.82fr;
    gap: 2.5rem;
  }

  .seo-hero h1 {
    font-size: clamp(3.2rem, 7.5vw, 5.5rem);
  }

  .seo-hero-media {
    min-height: 34rem;
  }

  .seo-intro-grid,
  .seo-split,
  .seo-faq-grid {
    gap: 3rem;
  }

  .seo-feature {
    grid-template-columns: 3rem minmax(10rem, 0.72fr) minmax(14rem, 1.28fr);
  }

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

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

  .seo-step:nth-child(-n + 2) {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 720px) {
  .seo-hero,
  .seo-hero-grid {
    min-height: auto;
  }

  .seo-hero-grid {
    padding: 8.5rem 0 2rem;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .seo-hero-copy {
    padding-bottom: 0;
  }

  .seo-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .seo-hero-media {
    min-height: 23rem;
    border-radius: 5rem 5rem 0.65rem 5rem;
  }

  .seo-hero-note {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

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

  .seo-proof-item,
  .seo-proof-item:first-child {
    min-height: auto;
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .seo-intro-grid,
  .seo-section-heading,
  .seo-split,
  .seo-faq-grid {
    grid-template-columns: 1fr;
  }

  .seo-kicker,
  .seo-faq-title {
    position: static;
  }

  .seo-feature {
    grid-template-columns: 2.8rem 1fr;
    gap: 1rem;
  }

  .seo-feature p {
    grid-column: 2;
  }

  .seo-split.is-reversed > :first-child {
    order: initial;
  }

  .seo-photo,
  .seo-split.is-reversed .seo-photo {
    min-height: 24rem;
    border-radius: 4.5rem 4.5rem 0.65rem 4.5rem;
  }

  .seo-steps,
  .seo-related-grid,
  .seo-cta-inner {
    grid-template-columns: 1fr;
  }

  .seo-step,
  .seo-step:first-child {
    min-height: auto;
    padding: 1.7rem 0 2rem;
    border-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.24);
  }

  .seo-step:last-child {
    border-bottom: 0;
  }

  .seo-step h3 {
    margin-top: 2rem;
  }

  .seo-related {
    min-height: 16rem;
  }

  .seo-cta::before {
    inset: 52% 0 0;
    background: linear-gradient(180deg, var(--forest-950), rgba(7, 31, 24, 0.25)), var(--seo-cta-image) center / cover;
  }

  .seo-cta-inner {
    min-height: 38rem;
    align-items: start;
    padding-top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-related,
  .button {
    transition: none;
  }
}
