/* =========================================================
   Dt Nesrine Abidi Boumaiza — Diététicienne Biologiste
   Charte : gris clair, blanc, vert frais, titres en serif fine
   ========================================================= */

:root {
  --white: #ffffff;
  --bg: #eeeeec;          /* fond de page gris clair */
  --bg-2: #e5e6e2;        /* sections alternées */
  --green: #7aac3b;
  --green-600: #659530;
  --green-700: #4b7323;
  --green-100: #e3edd2;
  --green-50: #f2f6ea;
  --ink: #1c1d1a;
  --text: #4a4c46;
  --muted: #80837b;
  --line: rgba(28, 29, 26, 0.1);
  --dark: #1c1d1a;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;

  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 24px rgba(28, 29, 26, 0.06);
  --shadow: 0 28px 60px -28px rgba(28, 29, 26, 0.28);
  --shadow-green: 0 14px 28px -12px rgba(101, 149, 48, 0.65);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--ink); }
p { margin: 0 0 1em; }
sup { font-size: 0.6em; }

.container { width: min(1220px, 100% - 48px); margin-inline: auto; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--green);
}
.eyebrow--center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--green);
}

.title em,
.hero__title em,
blockquote em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-600);
}

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.title .op { font-style: italic; color: var(--green); padding-inline: 0.06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 13.5px/1 var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn--green {
  background: linear-gradient(180deg, #86b845 0%, var(--green) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--green:hover { background: var(--green-600); box-shadow: 0 18px 32px -12px rgba(101, 149, 48, 0.75); }
.btn--outline { color: var(--ink); border-color: rgba(28, 29, 26, 0.18); background: rgba(255, 255, 255, 0.6); }
.btn--outline:hover { border-color: var(--green); color: var(--green-700); background: var(--white); }
.btn--light { background: var(--white); color: var(--green-700); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.35); }
.btn--light:hover { background: var(--green-50); }
.btn--block { width: 100%; padding-block: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}
.link-arrow::after {
  content: "→";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }
.link-inline { color: var(--green-700); font-weight: 700; border-bottom: 1px solid var(--green); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
}
.nav.is-scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 14px 34px -24px rgba(28, 29, 26, 0.35);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; color: var(--green); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.brand__text small { font-size: 9.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-600); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color 0.3s;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 22px; font-size: 13px; }
.nav__cta-mobile { display: none; }

.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  height: calc(100vh - 50px);
  height: calc(100svh - 50px);
  min-height: 540px;
  max-height: 860px;
  background:
    radial-gradient(800px 560px at 75% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 65%),
    var(--bg);
}
.hero__swoosh {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 70%;
  fill: none;
  stroke: var(--green);
  stroke-width: 1;
  opacity: 0.22;
  pointer-events: none;
}
.hero__swoosh path:last-child { opacity: 0.5; }
.hero__grid {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: stretch;
  gap: 24px;
}
.hero__content { align-self: center; padding-bottom: 20px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.1vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero__title em { padding-right: 0.04em; }
.hero__lead { max-width: 440px; font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(122, 172, 59, 0.18); }

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
/* Grand disque blanc façon « assiette », comme sur la référence */
.hero__halo {
  position: absolute;
  width: min(500px, 96%);
  aspect-ratio: 1;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 63%, #f4f5f1 64% 70%, #ffffff 71%);
  box-shadow: 0 40px 80px -36px rgba(28, 29, 26, 0.35);
}
.hero__watermark {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  left: 50%;
  top: 10%;
  transform: translateX(-46%);
  color: var(--green);
  opacity: 0.08;
}
.hero__portrait {
  position: relative;
  z-index: 1;
  height: 96%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 26px 36px rgba(28, 29, 26, 0.16));
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13px; line-height: 1.2; }
.float-card small { font-size: 11.5px; color: var(--muted); }
.float-card--top { top: 30%; left: -12%; }
.float-card--bottom { bottom: 14%; right: -8%; animation-delay: -3s; }
.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
}
.float-card__icon svg { width: 18px; height: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Ribbon ---------- */
.ribbon {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--green);
  padding: 13px 0;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}
.ribbon i { font-style: normal; color: rgba(255, 255, 255, 0.6); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--bg-2); }
.section--sand { background: var(--white); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section__lead { margin: 14px auto 0; font-size: 15px; color: var(--muted); max-width: 560px; }
.section__lead--left { margin-inline: 0; }
.title--left { text-align: left; }

/* ---------- Expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.05; margin-bottom: 8px; }
.card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: var(--green-50);
  transition: transform 0.6s var(--ease), background 0.4s, color 0.4s;
}
.card__icon svg { width: 27px; height: 27px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); background: var(--green); color: var(--white); }

.card--cta {
  background: linear-gradient(160deg, #86b845 0%, var(--green-600) 100%);
  box-shadow: var(--shadow-green);
}
.card--cta h3 { color: var(--white); }
.card--cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 18px; }
.card--cta .btn { align-self: flex-start; margin-top: auto; }
.card__kicker {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 12px !important;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about__visual {
  position: relative;
  height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.about__halo {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg) 0 63%, #e6e7e2 64% 70%, var(--bg) 71%);
}
.about__monogram {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 400px;
  line-height: 1;
  font-weight: 500;
  color: var(--green);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.about__visual img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 26px 36px rgba(28, 29, 26, 0.14));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.about__badge {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 13px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}
.about__badge svg {
  width: 44px;
  height: 44px;
  padding: 7px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}
.about__content > p { font-size: 15px; }
.about__content .title { margin-bottom: 18px; }

.checks { list-style: none; padding: 0; margin: 20px 0 18px; display: grid; gap: 10px; font-size: 14px; }
.checks li { position: relative; padding-left: 36px; font-weight: 700; color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.about__content .signature {
  font-family: var(--script);
  font-size: 36px;
  line-height: 1.2;
  margin: 0;
  color: var(--green-600);
}

/* ---------- Méthode : frise horizontale ---------- */
.steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(28, 29, 26, 0.22);
}
.step { position: relative; padding-top: 42px; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(28, 29, 26, 0.22);
  box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 12px var(--green);
  transition: transform 0.4s var(--ease);
}
.step:hover::before { transform: scale(1.2); }
.step__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-600);
  margin-bottom: 8px;
}
.step__num::before { content: "Étape "; }
.step h3 { font-family: var(--serif); font-size: 25px; line-height: 1.05; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; max-width: 260px; }

/* ---------- Gallery ---------- */
.gallery__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 36px;
}
.gallery__head .section__lead { margin: 0; }
.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-2);
  font: inherit;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 29, 26, 0.6) 0%, rgba(28, 29, 26, 0) 45%);
  opacity: 0.8;
  transition: opacity 0.5s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__label {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover .gallery__label { transform: translateY(-4px); }
.gallery__item--a { grid-column: 1; grid-row: 1 / 3; }
.gallery__item--b { grid-column: 2; grid-row: 1; }
.gallery__item--d { grid-column: 2; grid-row: 2; }
.gallery__item--c { grid-column: 3; grid-row: 1 / 3; }
.gallery__item--e { grid-column: 4; grid-row: 1 / 3; }
.gallery__item--a img { object-position: 50% 62%; }
.gallery__item--c img { object-position: 30% 50%; }
.gallery__item--e img { object-position: 50% 30%; }
.gallery__item--d img { object-position: 50% 40%; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(20, 21, 18, 0.9);
  backdrop-filter: blur(6px);
  animation: fade 0.35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: 88vh; border-radius: 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; align-items: stretch; }
.offer {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.offer h3 { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin-bottom: 8px; }
.offer p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.offer__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--green-100);
  color: var(--green-700);
}
.offer__icon svg { width: 22px; height: 22px; }

.offer--featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #86b845 0%, var(--green-600) 100%);
  box-shadow: var(--shadow-green);
}
.offer--featured:hover { background: linear-gradient(160deg, #86b845 0%, var(--green-600) 100%); }
.offer--featured::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.06), 0 0 0 80px rgba(255, 255, 255, 0.04);
}
.offer--featured h3 { color: var(--white); font-size: 30px; }
.offer--featured p { color: rgba(255, 255, 255, 0.85); }
.offer--featured .btn { align-self: flex-start; margin-top: auto; }
.offer__tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; color: var(--white); }
.offer__list li { position: relative; padding-left: 24px; font-size: 13.5px; }
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

/* ---------- Quote ---------- */
.quote {
  padding: 76px 0;
  background:
    radial-gradient(600px 300px at 50% 45%, rgba(255, 255, 255, 0.9), transparent 70%),
    var(--bg);
}
.quote__inner { max-width: 900px; text-align: center; }
.quote__logo { width: 60px; height: 60px; margin: 0 auto 16px; color: var(--green); }
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote__ar {
  margin: 16px 0 0;
  font-family: "Amiri", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--green-700);
}
.quote__author { margin-top: 18px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .title { margin-bottom: 18px; }
.faq__head p:last-child { color: var(--muted); }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--green); color: var(--white); }
.faq__item p { padding: 0 20px 18px; margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Contact (bloc clair comme la référence) ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 100% 100%, var(--green-50), transparent 65%),
    var(--white);
  box-shadow: var(--shadow);
}
.contact > * { min-width: 0; }
.contact__info .title { margin-bottom: 16px; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--green-600); }
.contact__list svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  flex: none;
}

.form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
}
.form > *, .form__row > * { min-width: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; min-width: 0; }
.form label > span { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.form label > span em { font-weight: 500; color: var(--muted); font-style: normal; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--white);
  font: 500 14.5px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form textarea { border-radius: 18px; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(122, 172, 59, 0.18); }
.form .is-invalid { border-color: #c0532f !important; box-shadow: 0 0 0 4px rgba(192, 83, 47, 0.12) !important; }
.form__note { margin: 0; min-height: 1.2em; font-size: 13.5px; text-align: center; color: var(--green-700); }

/* ---------- Footer ---------- */
.footer { margin-top: 0; padding: 56px 0 26px; background: var(--dark); color: rgba(255, 255, 255, 0.6); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand--footer { color: var(--white); }
.brand--footer .brand__text small { color: #a9cf74; }
.footer__slogan { margin: 16px 0 14px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; color: rgba(255, 255, 255, 0.85); max-width: 300px; }
.footer__nap { font-style: normal; font-size: 13px; line-height: 1.7; }
.footer__nap a, .footer__col a { transition: color 0.3s; }
.footer__nap a:hover, .footer__col a:hover { color: #a9cf74; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer__title { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.footer__col a[aria-current="page"] { color: #a9cf74; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px; color: rgba(255, 255, 255, 0.4);
}
.footer__bottom p { margin: 0; }
.footer__bottom p:last-child { padding-right: 64px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
  transition: transform 0.35s var(--ease);
}
.wa-float svg { width: 25px; height: 25px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Technologies ---------- */
.pillars {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 999px;
  background: var(--bg);
  padding: 8px;
}
.pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
}
.pillars li:nth-child(2) { background: var(--white); box-shadow: var(--shadow-sm); }
.pillars span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.pillars strong { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1; color: var(--ink); }
.pillars small { font-size: 12px; color: var(--muted); }

.devices { display: grid; gap: 22px; }
.device {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.device > * { min-width: 0; }
.device--reverse { grid-template-columns: 1.22fr 0.78fr; }
.device--reverse .device__visual { order: 2; }

.device__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%),
    #302f34;
}
.device__visual img { position: relative; z-index: 1; }
.device__visual--inbody img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
}
.device__visual--suit::before,
.device__visual--tecar::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(169, 207, 116, 0.28);
  box-shadow: 0 0 0 34px rgba(169, 207, 116, 0.05), 0 0 0 70px rgba(169, 207, 116, 0.03);
}
.device__visual--suit img {
  height: 86%;
  width: auto;
  max-height: 440px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.tecar-art { position: relative; width: 70%; max-width: 300px; color: #a9cf74; }
.device__badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device__body { padding: 34px 38px 30px; }
.device__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-600);
}
.device__body h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.04; margin-bottom: 12px; }
.device__body h3 em { color: var(--green-600); }
.device__intro { font-size: 14.5px; color: var(--text); max-width: 600px; }
.device__cols { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px; margin-top: 8px; }
.device__cols h4 {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.device__note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  border-left: 3px solid var(--green);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.device__note strong { color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--text); }
.ticks li { position: relative; padding-left: 26px; line-height: 1.4; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b7323' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ticks--sm { font-size: 13px; gap: 6px; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: flow; }
.flow li {
  position: relative;
  padding-left: 38px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  counter-increment: flow;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 28px;
  bottom: -10px;
  width: 1px;
  background: rgba(28, 29, 26, 0.18);
}
.flow strong { display: block; color: var(--ink); font-size: 13.5px; }

/* ---------- Programmes ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program__tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.program h3 { font-family: var(--serif); font-size: 25px; line-height: 1.05; }
.program__en {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--green-600);
}
.program > p:not(.program__en) { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.program .ticks { margin-top: auto; }

.program--featured {
  overflow: hidden;
  background: linear-gradient(160deg, #86b845 0%, var(--green-600) 100%);
  box-shadow: var(--shadow-green);
}
.program--featured::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.06), 0 0 0 80px rgba(255, 255, 255, 0.04);
}
.program--featured .program__tag { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); }
.program--featured h3 { color: var(--white); }
.program--featured .program__en { color: rgba(255, 255, 255, 0.85); }
.program--featured > p:not(.program__en) { color: rgba(255, 255, 255, 0.88); }
.program--featured .ticks { margin-top: 0; color: var(--white); }
.program--featured .ticks li::before { background-color: rgba(255, 255, 255, 0.95); }
.program--featured .btn { align-self: flex-start; margin-top: 18px; }

.audience {
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.audience__title { margin: 0 0 16px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; }
.audience__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.audience__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.audience__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a9cf74; }
.audience__note { margin: 16px auto 0; max-width: 640px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

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


/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Le hero s'anime dès le chargement, sans attendre le scroll */
.hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--d, 0s) + 0.1s);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav__links { gap: 20px; }
  .nav__links a:not(.btn) { font-size: 13px; }
}

@media (max-width: 1180px) {
  .brand__text strong { font-size: 18px; }
  .device__cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .device__body { padding: 30px 28px 26px; }
}

@media (max-width: 1100px) {
  .nav__cta { display: none; }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .offers--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--featured { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 220px); }
  .gallery__item--e { grid-column: 1 / 4; grid-row: 3; }
}

@media (max-width: 960px) {
  .nav__links {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 96px 26px 30px;
    background: var(--white);
    transform: translateY(-105%);
    transition: transform 0.5s var(--ease);
    box-shadow: 0 30px 60px -20px rgba(28, 29, 26, 0.3);
  }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); padding: 2px 0; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav.is-open .nav__links { transform: none; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 16px; }
  .nav__burger { display: block; z-index: 2; }
  .brand { position: relative; z-index: 2; }

  .hero { padding-top: 106px; height: auto; max-height: none; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; height: auto; }
  .hero__title { font-size: clamp(2.4rem, 7.4vw, 3.5rem); }
  .hero__content { text-align: center; padding-bottom: 0; }
  .hero__content .eyebrow { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { height: min(560px, 118vw); }
  .float-card--top { left: 2%; }
  .float-card--bottom { right: 2%; }

  .about, .faq { grid-template-columns: 1fr; gap: 36px; }
  .about__visual { height: min(540px, 120vw); }
  .faq__head { position: static; }
  .gallery__head { grid-template-columns: 1fr; gap: 0; }

  .device, .device--reverse { grid-template-columns: 1fr; }
  .device--reverse .device__visual { order: 0; }
  .device__visual { min-height: 340px; }
  .device__visual--suit img { height: 300px; }
  .pillars { border-radius: 26px; }

  .contact { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(1220px, 100% - 36px); }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .title { font-size: 2.15rem; }
  .cards, .offers, .offers--4, .programs { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 4px; }
  .pillars li:nth-child(2) { box-shadow: none; }
  .device__cols { grid-template-columns: 1fr; gap: 22px; }
  .device__body { padding: 26px 20px 22px; }
  .device__visual { min-height: 300px; }
  .audience { padding: 24px 18px; }
  .audience__title { font-size: 23px; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .hero__actions .btn { width: 100%; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 0.15em; }
  .hero .eyebrow::before { display: none; }
  .hero__trust { flex-direction: column; align-items: center; }
  .float-card { padding: 8px 13px 8px 8px; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card--top { top: 18%; left: -4px; }
  .float-card--bottom { bottom: 12%; right: -4px; }
  .ribbon span { font-size: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 190px); gap: 10px; }
  .gallery__item--c { grid-column: 1; grid-row: 3 / 5; }
  .gallery__item--e { grid-column: 2; grid-row: 3 / 5; }
  .gallery__label { font-size: 17px; left: 14px; bottom: 10px; }
  .about__monogram { font-size: 320px; }
  .about__badge { right: -4px; bottom: 50px; font-size: 16px; }
  .form { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .contact { border-radius: 24px; padding: 28px 18px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 16.5px; }
  .brand__text small { font-size: 8.5px; letter-spacing: 0.18em; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

/* =========================================================
   SITE MULTI-PAGES : menus, en-têtes de pages, contenus
   ========================================================= */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* Menu déroulant */
.nav__item { position: relative; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.nav__item.has-sub > .nav__link::before {
  content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.55;
}
.nav__item.is-active > .nav__link { color: var(--green-700); }
.nav__item.is-active > .nav__link::after { transform: scaleX(1) !important; }
.nav__sub {
  position: absolute; top: 100%; left: -18px; min-width: 250px;
  display: grid; padding: 10px; border-radius: 18px; background: var(--white);
  box-shadow: 0 24px 50px -20px rgba(28, 29, 26, 0.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__links .nav__sub a { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.nav__links .nav__sub a::after { display: none; }
.nav__links .nav__sub a:hover, .nav__links .nav__sub a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }

/* En-tête des pages internes */
.phero {
  position: relative;
  padding: 118px 0 56px;
  background:
    radial-gradient(700px 460px at 80% 40%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 65%),
    var(--bg);
  overflow: hidden;
}
.phero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.phero--text .phero__grid { grid-template-columns: 1fr; max-width: 820px; }
.phero__grid > * { min-width: 0; }
.phero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 16px;
}
.phero__title em { font-style: italic; color: var(--green-600); }
.phero__lead { font-size: 15.5px; line-height: 1.65; color: var(--text); max-width: 560px; margin-bottom: 24px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__visual { display: grid; place-items: center; }
.phero__plate {
  position: relative; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 63%, #f4f5f1 64% 70%, #ffffff 71%);
  box-shadow: 0 40px 80px -36px rgba(28, 29, 26, 0.35);
}
.phero__plate img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 118%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
  filter: drop-shadow(0 20px 30px rgba(28, 29, 26, 0.14));
}
.phero__tile {
  position: relative; width: min(420px, 100%); aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg);
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%), #302f34;
  box-shadow: 0 40px 80px -36px rgba(28, 29, 26, 0.5);
}
.phero__tile--inbody img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
}
.phero__tile--suit img { height: 86%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.phero__photo { width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Fil d’Ariane */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 22px; font-size: 12.5px; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.breadcrumb a { font-weight: 600; color: var(--text); }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb [aria-current] { color: var(--green-700); font-weight: 600; }

/* Bouton fantôme (sur fond sombre) */
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Contenu rédactionnel */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.split > * { min-width: 0; }
.split--rev { grid-template-columns: 0.8fr 1.2fr; }
.prose { font-size: 15px; line-height: 1.72; color: var(--text); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; margin: 0 0 16px; }
.prose h2 em { font-style: italic; color: var(--green-600); }
.prose h3 { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin: 30px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul:not(.ticks) { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--green-700); font-weight: 700; border-bottom: 1px solid var(--green-100); }
.prose a:not(.btn):hover { border-color: var(--green); }
.prose .ticks { margin: 4px 0 18px; }
.prose + .prose { margin-top: 40px; }

.aside-card {
  position: sticky; top: 100px;
  padding: 28px 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow);
}
.aside-card--dark { background: var(--dark); color: rgba(255, 255, 255, 0.8); }
.aside-card--dark h3, .aside-card--dark strong { color: var(--white); }
.aside-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.1; margin-bottom: 14px; }
.aside-card p { font-size: 13.5px; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .ticks { margin-bottom: 18px; }
.aside-card--dark .ticks { color: rgba(255, 255, 255, 0.85); }

.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.keyfact { padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.keyfact strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--green-600); margin-bottom: 6px; }
.keyfact span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

.notice {
  padding: 18px 22px; border-radius: 18px; background: var(--white); border-left: 3px solid var(--green);
  font-size: 13.5px; line-height: 1.6; color: var(--muted); box-shadow: var(--shadow-sm);
}
.notice strong { color: var(--ink); }

/* Cartes de liens entre pages */
.linkcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.linkcards--2 { grid-template-columns: repeat(2, 1fr); }
.linkcards--4 { grid-template-columns: repeat(4, 1fr); }
.linkcard {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.section--sand .linkcard { background: var(--bg); box-shadow: none; }
.linkcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.linkcard h3 { font-family: var(--serif); font-size: 24px; line-height: 1.08; }
.linkcard p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.linkcard .link-arrow { margin-top: auto; }
.linkcard__tag {
  align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--green-50); color: var(--green-700);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Bandeau d’appel à l’action en bas de page */
.ctaband { padding: 20px 0 84px; }
.ctaband__inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 34px 40px; border-radius: var(--radius-lg); background: var(--dark); color: rgba(255, 255, 255, 0.7);
}
.ctaband__inner::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -160px; border-radius: 50%;
  border: 1px solid rgba(169, 207, 116, 0.25); box-shadow: 0 0 0 40px rgba(169, 207, 116, 0.04);
  pointer-events: none;
}
.ctaband__logo { width: 64px; height: 64px; color: #a9cf74; }
.ctaband__title { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; color: var(--white); }
.ctaband__title em { color: #a9cf74; font-style: italic; }
.ctaband__text p:last-child { margin: 0; font-size: 13.5px; }
.ctaband__text .eyebrow { color: #a9cf74; margin-bottom: 8px; }
.ctaband__text .eyebrow::before { background: #a9cf74; }
.ctaband__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info {
  padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
}
.info h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 8px; }
.info p { margin: 0; font-size: 14px; color: var(--muted); }
.info a { color: var(--green-700); font-weight: 700; }

.faq--full { grid-template-columns: 0.7fr 1.3fr; }
.faq__group + .faq__group { margin-top: 34px; }
.faq__group > h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 14px; }

/* 404 */
.notfound { padding: 160px 0 100px; text-align: center; }
.notfound__code { font-family: var(--serif); font-style: italic; font-size: 140px; line-height: 1; color: var(--green); opacity: 0.35; margin: 0; }

@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .linkcards--4 { grid-template-columns: repeat(2, 1fr); }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .linkcards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links { max-height: 100vh; overflow-y: auto; }
  .nav__item { width: 100%; }
  .nav__item.has-sub > .nav__link::before { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none;
    min-width: 0; padding: 0 0 8px 2px; gap: 0;
  }
  .nav__links .nav__sub a { font-family: var(--sans); font-size: 14px; padding: 5px 0; color: var(--muted); border-radius: 0; }
  .nav__links .nav__sub a:hover, .nav__links .nav__sub a[aria-current="page"] { background: none; }
  .nav__item > .nav__link { padding: 2px 0; }

  .phero { padding: 104px 0 44px; }
  .phero__grid, .split, .split--rev { grid-template-columns: 1fr; gap: 36px; }
  .phero__visual { order: 2; }
  .phero__plate, .phero__tile { width: min(360px, 100%); }
  .aside-card { position: static; }
  .infos { grid-template-columns: 1fr; }
  .faq--full { grid-template-columns: 1fr; }
  .ctaband__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; }
  .ctaband__text .eyebrow { justify-content: center; }
  .ctaband__actions { justify-content: center; }
}
@media (max-width: 640px) {
  .linkcards, .linkcards--2, .linkcards--4, .keyfacts { grid-template-columns: 1fr; }
  .phero__title { font-size: 2.2rem; }
  .phero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom p:last-child { padding-right: 0; }
  .ctaband { padding-bottom: 64px; }
}

/* Cartes d’expertise cliquables & aperçus d’appareils (accueil) */
a.card { color: inherit; }
.card .link-arrow { padding-top: 16px; }
.center-link { margin: 30px 0 0; text-align: center; }
.devteasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.devteaser {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.devteaser:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.devteaser__visual {
  position: relative; height: 260px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%), #302f34;
}
.devteaser__visual--inbody img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 70%, transparent 100%);
}
.devteaser__visual--suit img { height: 88%; width: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55)); }
.devteaser__visual--tecar img { height: 84%; width: auto; max-width: 90%; object-fit: contain; }
.phero__tile--tecar img { width: 88%; height: auto; }
.devteaser__visual--tecar img,
.phero__tile--tecar img {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.devteaser__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.devteaser__body h3 { font-family: var(--serif); font-size: 25px; line-height: 1.05; margin-bottom: 8px; }
.devteaser__body p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
@media (max-width: 960px) { .devteasers { grid-template-columns: 1fr; } }
.prose .signature { font-family: var(--script); font-size: 38px; line-height: 1.2; margin: 26px 0 0; color: var(--green-600); }
.program__h, .devteaser__h { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.05; color: var(--ink); margin: 0; }
.program--featured .program__h { color: var(--white); }
.devteaser__body .devteaser__h { margin-bottom: 8px; }
.program .link-arrow { margin-top: 18px; }
.program .ticks + .link-arrow { margin-top: 18px; }
a.offer { color: inherit; }
.offers--4 .offer h3 { font-size: 24px; }
.flow--lg { gap: 16px; }
.flow--lg li { font-size: 14px; padding-left: 46px; }
.flow--lg li::before { width: 32px; height: 32px; font-size: 13px; }
.flow--lg li:not(:last-child)::after { left: 15.5px; top: 34px; bottom: -16px; }
.flow--lg strong { font-size: 15px; margin-bottom: 2px; }
.prose .flow { margin: 6px 0 18px; }
