/* ============================================================
   Agence Greener — agencegreener.com
   Design system : thème sombre vert (charte du logo Greener),
   Poppins, dégradés verts, surfaces "glass", fond fluide animé
   ============================================================ */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/poppins-latin-200-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/poppins-latin-900-normal.woff2") format("woff2");
}

/* ---------- Jetons ---------- */
:root {
  --bg: #071309;
  --bg-2: #040d07;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.74);
  --ink-3: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  /* Palette issue du logo Greener */
  --g1: #bfd98a; /* vert pâle */
  --g2: #8cc63f; /* vert lime */
  --g3: #0c9c46; /* vert émeraude */
  --g4: #0b6b3a; /* vert forêt */
  --mint: #dff0c2; /* texte accent clair */
  --slate: rgba(6, 22, 12, 0.82);
  --card: rgba(var(--g4-rgb), 0.25);
  --glass: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(90deg, var(--g1), var(--g3));
  --r: 24px;
  --r-sm: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --wrap: 1160px;
  /* Canaux RGB — changer la charte = modifier ces valeurs + les couleurs ci-dessus */
  --bg-rgb: 7,19,9;
  --g1-rgb: 191,217,138;
  --g2-rgb: 140,198,63;
  --g3-rgb: 12,156,70;
  --g4-rgb: 11,107,58;
  --mint-rgb: 223,240,194;
}

@property --ga {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--g3);
  color: #fff;
}
img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}
p strong,
.lede strong,
.hero-sub strong {
  color: #fff;
  font-weight: 700;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--g3-rgb), 0.5);
  border-radius: 999px;
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  background: var(--slate);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 12px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--ink-3);
}
.light {
  font-weight: 200;
}
.center {
  text-align: center;
}
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}
.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 760px;
}
.center .lede {
  margin-inline: auto;
}

/* Titres de section — style devfolio : énorme, 900, point final */
.sec-title {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  text-align: center;
  margin-bottom: 1.25rem;
}
.sec-title-xl {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  text-align: center;
}
.sec-head {
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.sec-head .eyebrow {
  justify-content: center;
}
.sec-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ---------- Animations d'apparition (Reveal) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
}
.js .reveal.d2.in {
  transition-delay: 0.28s;
}
.js .reveal.d3.in {
  transition-delay: 0.4s;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(var(--bg-rgb), 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo b {
  font-weight: 900;
}
.logo svg {
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}
.nav > a,
.nav-item > a {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.62;
  transition: opacity 0.2s ease;
  padding: 0.35rem 0;
}
.nav > a:hover,
.nav-item > a:hover,
.nav > a[aria-current="page"],
.nav-item > a[aria-current="page"] {
  opacity: 1;
}
.nav > a[aria-current="page"],
.nav-item > a[aria-current="page"] {
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
}
.nav-item {
  position: relative;
}
.nav-item > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.45rem;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}
.sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 270px;
  padding: 0.6rem;
  border-radius: var(--r-sm);
  background: rgba(var(--bg-rgb), 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}
.nav-item:hover .sub,
.nav-item:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-2);
}
.sub a:hover {
  background: var(--glass);
  color: #fff;
}
.sub a.sub-all {
  color: var(--mint);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Boutons (bordure animée en dégradé conique) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  padding: 1px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.3s ease;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--ga) at 50% 50%, #ffffff 0%, var(--g3) 50%, var(--mint) 100%);
  animation: spin-grad 2s linear infinite;
}
@keyframes spin-grad {
  to {
    --ga: 360deg;
  }
}
.btn-in {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: inherit;
  background: var(--slate);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  white-space: nowrap;
}
.btn:hover {
  transform: scale(1.05);
}
.btn-sm .btn-in {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--glass);
  transform: scale(1.04);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.center .cta-row,
.cta-row.center {
  justify-content: center;
}
.arrow-link {
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.arrow-link::after {
  content: "→";
  color: var(--mint);
  transition: transform 0.2s ease;
}
.arrow-link:hover::after {
  transform: translateX(5px);
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(6rem, 12vw, 9.5rem) clamp(4rem, 8vw, 6rem);
}
.hero-in {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  margin-bottom: 1.5rem;
}
.hero .sub {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 200;
  max-width: 780px;
  margin: 0 auto 2.2rem;
  color: var(--ink-2);
}
.hero .cta-row {
  justify-content: center;
  margin-bottom: 2.4rem;
}
.p-hero {
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
}
.p-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.breadcrumbs a:hover {
  color: #fff;
}
.breadcrumbs .sep {
  opacity: 0.5;
}

/* Fond animé fluide (remplace les spotlights) */
.bg-fluid {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
}
.bg-fluid span {
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  will-change: transform;
}
.bg-fluid .b1 {
  left: -12vmax;
  top: -16vmax;
  background: radial-gradient(closest-side, rgba(var(--g2-rgb), 0.16), transparent 70%);
  animation: drift-a 46s ease-in-out infinite alternate;
}
.bg-fluid .b2 {
  right: -18vmax;
  top: 2vmax;
  background: radial-gradient(closest-side, rgba(var(--g3-rgb), 0.14), transparent 70%);
  animation: drift-b 58s ease-in-out infinite alternate;
}
.bg-fluid .b3 {
  left: 18vw;
  bottom: -34vmax;
  background: radial-gradient(closest-side, rgba(var(--g4-rgb), 0.22), transparent 72%);
  animation: drift-c 52s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to {
    transform: translate(12vw, 9vh) scale(1.16);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-9vw, 13vh) scale(0.9);
  }
}
@keyframes drift-c {
  to {
    transform: translate(7vw, -11vh) scale(1.12);
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 60% at 50% 0%, rgba(var(--g3-rgb), 0.13), transparent 70%);
}

/* Chips / pastilles */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.center .chips,
.chips.center {
  justify-content: center;
}
.chip {
  background: var(--glass);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease;
  white-space: nowrap;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.2);
}
.chip-sm {
  font-size: 0.76rem;
  padding: 0.3rem 0.75rem;
  box-shadow: none;
}
.chip-grad {
  background: var(--grad);
}

/* ---------- Cartes ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.97rem;
}
.card .arrow-link {
  margin-top: auto;
}
a.card {
  display: flex;
  flex-direction: column;
}
.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
  color: var(--mint);
}
.card-ico svg {
  width: 26px;
  height: 26px;
}

/* Carte "Sparkle" : liseré lumineux qui tourne (équivalent CSS) */
.glow {
  position: relative;
  padding: 1px;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
}
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ga) at 50% 50%,
    transparent 0deg,
    transparent 250deg,
    rgba(var(--mint-rgb), 0.55) 300deg,
    var(--g3) 330deg,
    transparent 360deg
  );
  animation: spin-grad 5s linear infinite;
}
.glow:nth-child(2)::before {
  animation-duration: 6.5s;
  animation-delay: -2s;
}
.glow:nth-child(3)::before {
  animation-duration: 5.7s;
  animation-delay: -3.5s;
}
.glow:nth-child(4)::before {
  animation-duration: 7.2s;
  animation-delay: -1.2s;
}
.glow-in {
  border-radius: calc(var(--r) - 1px);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(var(--g4-rgb), 0.32), rgba(var(--bg-rgb), 0.85));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  height: 100%;
}
.glow-in h3 {
  font-size: 1.28rem;
  font-weight: 700;
}
.glow-in p {
  font-size: 0.97rem;
}

/* ---------- Bento (réalisations) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.bento-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.bento-body {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}
.bento-card:hover .bento-body {
  transform: translateX(8px);
}
.bento-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  margin: 0.6rem 0 0.5rem;
}
.bento-card p {
  font-size: 0.95rem;
  max-width: 56ch;
}
.bento-card .chips {
  margin-top: 0.9rem;
}
.bento-art {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: clamp(140px, 22vw, 230px);
  opacity: 0.14;
  z-index: 1;
  pointer-events: none;
}
.b-a {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 420px;
}
.b-b {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}
.b-c {
  grid-column: span 3;
}
.b-d {
  grid-column: span 3;
}
.b-full {
  grid-column: span 6;
}
.art-1 {
  background: radial-gradient(700px 380px at 85% -10%, rgba(var(--g3-rgb), 0.32), transparent 65%),
    radial-gradient(500px 300px at -10% 110%, rgba(var(--g2-rgb), 0.2), transparent 60%);
}
.art-2 {
  background: radial-gradient(600px 340px at 15% -15%, rgba(var(--g2-rgb), 0.26), transparent 65%),
    radial-gradient(420px 260px at 110% 110%, rgba(var(--g3-rgb), 0.25), transparent 60%);
}
.art-3 {
  background: radial-gradient(560px 320px at 110% -10%, rgba(var(--mint-rgb), 0.16), transparent 60%),
    radial-gradient(460px 280px at -10% 110%, rgba(var(--g3-rgb), 0.28), transparent 60%);
}
.art-4 {
  background: radial-gradient(600px 320px at -10% -20%, rgba(var(--g3-rgb), 0.3), transparent 60%),
    radial-gradient(480px 300px at 110% 100%, rgba(var(--g2-rgb), 0.18), transparent 60%);
}
.art-5 {
  background: radial-gradient(640px 360px at 50% -30%, rgba(var(--g2-rgb), 0.22), transparent 65%),
    radial-gradient(520px 320px at 90% 120%, rgba(var(--g3-rgb), 0.26), transparent 60%);
}
.art-cta {
  background: radial-gradient(700px 400px at 50% 120%, rgba(var(--g3-rgb), 0.35), transparent 65%);
  align-items: center;
  text-align: center;
  justify-content: center;
}

/* ---------- Étapes / méthode ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.5rem;
}
.step .num {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.95rem;
}
.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Listes à coches ---------- */
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
  color: var(--ink-2);
}
.ticks li strong {
  color: #fff;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--g3-rgb), 0.45), rgba(var(--g2-rgb), 0.45));
  border: 1px solid var(--line-2);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: calc(0.42em + 3.5px);
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] {
  border-color: var(--line-2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--mint);
  line-height: 1;
  transition: transform 0.25s ease;
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 1.3rem 1.15rem;
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Formulaire ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field-full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
}
.field label .req {
  color: var(--mint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  color: #fff;
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--g3);
  box-shadow: 0 0 0 3px rgba(var(--g3-rgb), 0.28);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23DFF0C2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field select option {
  background: #1a0a1e;
  color: #fff;
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-3);
}
.form-status {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mint);
  min-height: 1.4em;
  margin-top: 0.6rem;
}

/* ---------- Bandeau CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 110%, rgba(var(--g3-rgb), 0.28), transparent 70%),
    radial-gradient(40% 60% at 80% -10%, rgba(var(--g2-rgb), 0.16), transparent 60%);
}
.cta-final h2 {
  font-size: clamp(2.3rem, 6.5vw, 4.8rem);
  margin-bottom: 1.2rem;
}
.cta-final .lede {
  margin-inline: auto;
  margin-bottom: 2.2rem;
}

/* ---------- Encadré contact rapide ---------- */
.contact-aside {
  display: grid;
  gap: 1rem;
}
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
}
.info-line svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--mint);
  margin-top: 0.2rem;
}
.info-line strong {
  display: block;
  font-size: 0.95rem;
}
.info-line span,
.info-line a.mail {
  font-size: 0.92rem;
  color: var(--ink-2);
}
a.mail:hover {
  color: var(--mint);
}
.copy-btn {
  background: var(--glass);
  border: 1px solid var(--line-2);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  cursor: pointer;
  margin-left: 0.6rem;
  transition: background 0.2s ease;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.foot-grid-bg {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  opacity: 0.16;
  pointer-events: none;
}
.foot-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.foot-in h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.foot-in ul li {
  margin-bottom: 0.55rem;
}
.foot-in ul a {
  font-size: 0.94rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.foot-in ul a:hover {
  color: #fff;
}
.foot-brand p {
  font-size: 0.94rem;
  margin-top: 1rem;
  max-width: 34ch;
}
.foot-legal {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.foot-legal a:hover {
  color: #fff;
}

/* ---------- Divers ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.2rem;
}
.stat {
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 0.85rem;
  color: var(--ink-3);
}
.zone-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.4rem;
}
.prose {
  max-width: 820px;
  margin-inline: auto;
}
.err-hero {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.err-hero .big {
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.txt-grad-link {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s ease;
}
.txt-grad-link:hover {
  transform: scale(1.05);
}

/* Cartes-liens de service */
.svc {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.svc .arrow-link {
  margin-top: auto;
  padding-top: 1.15rem;
}
.svc .ticks {
  margin: 0.4rem 0 0.9rem;
}
.svc .ticks li {
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}
.foot-contact li {
  color: var(--ink-3);
  font-size: 0.94rem;
}
.foot-contact a {
  color: var(--mint);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .b-a,
  .b-b,
  .b-c,
  .b-d,
  .b-full {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(var(--bg-rgb), 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-2);
    padding: 1rem 1.4rem 1.6rem;
    display: none;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav.open {
    display: flex;
  }
  .nav > a,
  .nav-item > a {
    padding: 0.7rem 0.3rem;
    font-size: 1.05rem;
  }
  .nav-item > a::after {
    display: none;
  }
  .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0.4rem 0.9rem;
  }
  .nav .btn {
    margin-top: 0.8rem;
    align-self: flex-start;
  }
  .burger {
    display: block;
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-4,
  .steps,
  .steps-4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .foot-in {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fondateur ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: min(100%, 360px);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 80% at 20% 0%, rgba(var(--g2-rgb), 0.22), transparent 60%),
    linear-gradient(160deg, rgba(var(--g4-rgb), 0.4), rgba(var(--bg-rgb), 0.92));
  display: grid;
  place-items: center;
  justify-self: center;
}
.founder-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-photo .ph {
  text-align: center;
  padding: 1.5rem;
}
.founder-photo .ph img {
  width: 92px;
  height: auto;
  margin-bottom: 0.9rem;
  opacity: 0.95;
}
.founder-photo .ph span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.founder-name {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}
.founder-role {
  color: var(--mint);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
  }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bg-fluid span {
    animation: none;
  }
  .btn::before,
  .glow::before {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .btn,
  .btn-ghost,
  .card,
  .txt-grad-link {
    transition: none;
  }
}
