@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #22312c;
  --muted: #66736f;
  --line: #d8ded8;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --sage: #7b927f;
  --sage-dark: #506d5c;
  --clay: #b0715f;
  --mist: #edf2eb;
  --focus: #1f6f54;
  --shadow: 0 18px 45px rgba(34, 49, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 222, 216, 0.85);
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: opacity 150ms;
}

.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open  { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.brand {
  display: grid;
  gap: 0;
  text-decoration: none;
}

.brand strong {
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.1;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--sage-dark);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

.nav-cta:hover,
.button:hover {
  background: #3a7d65;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(80, 109, 92, 0.35);
}

.nav-cta:active,
.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--mist);
  border-color: var(--sage);
  box-shadow: 0 6px 18px rgba(80, 109, 92, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 48px;
}

.hero-cover {
  position: relative;
  display: flex;
  min-height: 520px;
  width: 100%;
  margin: 0;
  padding: 96px 16px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.hero-cover > div {
  width: min(920px, 100%);
  margin: auto;
}

.hero-cover h1 {
  max-width: none;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
}

.hero-cover .lead {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cover .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  font-weight: 400;
  text-transform: none;
}

.hero-cover .quote {
  max-width: 800px;
  border-left: 0;
  margin: 18px auto 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-style: italic;
}

.hero-cover .button {
  background: #2d8c8a;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.04;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--mist);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.band {
  padding: 70px 0;
}

.band.alt {
  background: var(--mist);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page-title {
  padding: 64px 0 42px;
}

.page-title p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.reviews-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rating-summary {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  text-align: center;
}

.rating-summary strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stars {
  color: #f5a400;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.review-card {
  display: grid;
  gap: 14px;
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card .author {
  color: var(--ink);
  font-weight: 800;
}

.review-card .date {
  color: var(--muted);
  font-size: 0.88rem;
}

.review-card p {
  margin: 0;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
}

.review-form-grid .wide {
  grid-column: 1 / -1;
}

.star-input {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 1.6rem;
}

.star-input button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #f5a400;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.star-input button:focus-visible {
  outline: 3px solid rgba(31, 111, 84, 0.25);
  outline-offset: 3px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.fact {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid #70a39a;
  border-radius: 999px;
  color: #2b8582;
  font-weight: 800;
}

.pricing {
  display: grid;
  gap: 18px;
  margin: 28px 0 36px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(102, 115, 111, 0.18);
  padding-bottom: 16px;
}

.price-row strong {
  color: #2b8582;
  text-transform: uppercase;
}

.price-row span {
  color: #8f9894;
  font-weight: 800;
}

.contact-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background-image: linear-gradient(rgba(34, 49, 44, 0.1), rgba(34, 49, 44, 0.15)), url("images/contact-main.jpeg");
  background-position: center;
  background-size: cover;
}

.contact-overlay {
  position: absolute;
  right: 30px;
  bottom: 70px;
  left: 30px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 22px;
  background: rgba(34, 49, 44, 0.55);
  color: #fff;
  text-align: center;
}

.contact-overlay a {
  color: #fff;
}

.inline-phone-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  border-color: rgba(80, 109, 92, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(34, 49, 44, 0.16);
}

.card:hover .icon-svg {
  color: var(--sage-dark);
  transform: translateY(-2px) scale(1.04);
}

.card.center {
  text-align: center;
}

.icon-svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: #70a39a;
  transition: color 220ms ease, transform 220ms ease;
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.image-band {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.image-band .content,
.image-band h2,
.image-band p {
  color: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  content: "›";
  font-weight: 800;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.partner-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.card p,
.content p,
.content li {
  color: var(--muted);
}

.content {
  max-width: 850px;
}

.content ul {
  padding-left: 22px;
}

.quote {
  border-left: 4px solid var(--sage);
  margin: 28px 0 0;
  padding: 4px 0 4px 20px;
  color: var(--muted);
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 3px solid rgba(31, 111, 84, 0.2);
  border-color: var(--focus);
}

.notice {
  border: 1px solid #eadbcf;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff6ef;
  color: #6e4636;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  background: #0d2730;
  color: rgba(255, 255, 255, 0.9);
}

.pre-footer-cta {
  padding: 52px 0;
  background: var(--sage-dark);
  color: #fff;
  text-align: center;
}

.pre-footer-cta h2 {
  color: #fff;
}

.pre-footer-cta p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.pre-footer-cta .actions {
  justify-content: center;
}

.pre-footer-cta .button {
  background: #fff;
  color: var(--sage-dark);
}

.pre-footer-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.footer-inner a {
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.footer-contact a {
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
}

.sitemap-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.sitemap-list a:hover {
  color: var(--sage-dark);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

/* Décalage en cascade pour les éléments dans une grille */
.grid .card-icon-wrap:nth-child(2),
.grid .card:nth-child(2),
.impl-row:nth-child(2) { transition-delay: 80ms; }
.grid .card-icon-wrap:nth-child(3),
.grid .card:nth-child(3),
.impl-row:nth-child(3) { transition-delay: 160ms; }

/* 2-column grid variant */
.grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Card with floating icon above top border (style original Simplébo) */
.card-icon-wrap {
  padding-top: 38px;
}

.card.card-accent {
  position: relative;
  border-top: 4px solid #237676;
  box-shadow: 5px 15px 40px rgba(47, 47, 47, 0.18);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.card.card-accent:hover {
  transform: translateY(-6px);
  box-shadow: 5px 22px 50px rgba(47, 47, 47, 0.26);
}

.icon-fill {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-fill svg {
  width: 30px;
  height: 30px;
  fill: #237676;
}

/* Rangées image+texte pour "La mise en place" */
.impl-rows {
  display: grid;
  gap: 48px;
  margin: 40px 0 32px;
}

.impl-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.impl-row img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.impl-center {
  margin: 24px 0 8px;
  text-align: center;
  color: var(--muted);
}

/* Carte blanche centrée sur fond sombre (Les limites) */
.limits-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 48px;
  background: var(--surface);
  border-radius: 4px;
  box-shadow: 5px 15px 40px rgba(47, 47, 47, 0.22);
  text-align: center;
}

.limits-card h2,
.limits-card p {
  color: var(--ink);
}

.limits-card p {
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
    width: 100%;
  }

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

  .nav-open .nav-cta {
    display: inline-flex;
    width: auto;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .two-col,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-cover {
    min-height: 520px;
    padding: 76px 16px;
  }

  .hero-media img {
    aspect-ratio: 16 / 11;
  }

  .grid,
  .grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .impl-row {
    grid-template-columns: 1fr;
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 440px;
  }

  .reviews-header {
    align-items: stretch;
    flex-direction: column;
  }

  .review-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links a,
  .nav-cta,
  .button {
    width: 100%;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links li {
    flex: 1 1 140px;
  }

  .actions {
    flex-direction: column;
  }
}
