/* =========================================================
   Libellya — styles.css 
   ========================================================= */

/* =========================
   00 — FONT
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* =========================
   01 — VARIABLES
   ========================= */
:root {
  /* Neutres */
  --bg: #f7faf9;
  --surface: #ffffff;
  --text: #2a2422;
  --muted: #6b6662;
  --border: #e6ecea;

  /* Mint */
  --mint-500: #7be1ce;
  --mint-600: #33bfa7;
  --mint-700: #1ea08a;
  --mint-soft: rgba(123, 225, 206, 0.16);

  /* Dark */
  --dark-900: #0b0c10;
  --dark-850: #0f1214;
  --dark-800: #12151a;
  --dark-700: #1a1f26;

  /* Typo (harmonisée) */
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-h2: clamp(30px, 3.2vw, 42px);
  --fs-h3: 20px;

  --lh: 1.65;

  /* Layout */
  --max: 1100px;

  /* UI */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 18px 42px rgba(0, 0, 0, 0.08);

  /* Focus */
  --focus: rgba(51, 191, 167, 0.35);
}

/* =========================
   02 — RESET + BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    'Apple Color Emoji',
    'Segoe UI Emoji';
  font-size: var(--fs-body);
  line-height: var(--lh);
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Accessibilité */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 10px;
}
.skip-link:focus {
  left: 16px;
  z-index: 9999;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.muted {
  color: var(--muted);
}

/* ancres pas cachées par le header sticky */
section[id] {
  scroll-margin-top: 90px;
}

/* =========================
   03 — TYPOGRAPHIE 
   ========================= */
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.section__head {
  margin-bottom: 26px;
}

.section__head--center {
  text-align: center;
}

.section__head h2 {
  margin: 0 0 14px;
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  color: var(--mint-700);
}

.section__head p {
  color: var(--muted);
  max-width: 72ch;
}

/* liens “contenu” (pas nav/boutons) : discret */
main a:not(.btn):not(.project-card) {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
main a:not(.btn):not(.project-card):hover {
  text-decoration: underline;
}

/* =========================
   04 — BOUTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--mint-700);
  color: #fff;
}
.btn--primary:hover {
  background: var(--mint-600);
  color: #000;
}

.btn--ghost {
  background: rgba(123, 225, 206, 0.12);
  border: 1px solid rgba(51, 191, 167, 0.45);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(123, 225, 206, 0.22);
  border-color: rgba(51, 191, 167, 0.75);
}

.btn--sm {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

/* =========================
   05 — HEADER / NAV / BURGER
   ========================= */
.header {
  position: relative;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 249, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
/*pour que le header soit magantique */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-header > .header {
  position: relative; /* laisse la gestion sticky au wrapper */
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.02);
  text-decoration: none !important;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__content {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__text {
  white-space: nowrap;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1;
}
.logo__tagline {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mint-700);
  opacity: 0.75;
  display: block;
  margin-top: 6px;
}

/* Nav desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Pas de traits au hover sur la nav */
.nav a,
.nav button,
.menu a,
.menu button,
.burger {
  text-decoration: none;
}

/* Items nav */
.nav a,
.nav__dropbtn {
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: black;
  padding: 10px 10px;
  border-radius: 12px;
  transition:
    background 0.55s ease,
    color 0.15s ease;
}

.nav a:hover,
.nav__dropbtn:hover {
  color: var(--mint-600);
  background: rgba(249, 249, 249, 0.14);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.nav__dropbtn {
  background: none;
  border: 0;
  cursor: pointer;
}

/* Dropdown content */
.nav__dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: -10px;
  min-width: 270px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: 10px;
  z-index: 200;

  /* 👇 au lieu de display:none */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

/* Zone tampon invisible pour éviter la fermeture */
@media (hover: hover) {
  .nav__dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
  }

  .nav__dropdown:hover .nav__dropdown-content,
  .nav__dropdown:focus-within .nav__dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav__dropdown-content a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: background 0.15s ease;
}

.nav__dropdown-content a:hover {
  background: rgba(11, 179, 148, 0.16);
}

/* Burger  */
.burger {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 14px 18px;
  min-height: 46px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.burger:hover {
  background: rgba(123, 225, 206, 0.12);
  border-color: rgba(51, 191, 167, 0.35);
}

.burger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Label burger (sr-only) conservé proprement */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Menu mobile */
.menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.menu__inner {
  display: grid;
  gap: 10px;
  padding: 14px 0 18px;
}
.menu__inner a,
.menu__inner .nav__dropbtn {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
}

/* Responsive header */
@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .burger__label {
    display: none;
  }
  .menu__inner .btn--primary {
    background: var(--mint-600);
    color: #fff;
    border: 1px solid var(--mint-600);
  }
  /* a voir si je lenleve si sa bug sur le telephone 
  .logo__tagline {
    display: none;
  } */

  .logo__text {
    white-space: normal;
  }
}
@media (max-width: 820px) and (hover: hover) {
  .menu__inner .btn--primary:hover {
    background: transparent;
    color: var(--mint-600);
    border: 1px solid var(--mint-600);
  }
}

@media (max-width: 820px) {
  .menu__inner .nav__dropdown {
    width: 100%;
  }

  .menu__inner .nav__dropbtn {
    width: 100%;
    text-align: left;
    display: block;
  }
  .menu .nav__dropdown-content {
    display: grid;
    gap: 10px;
  }
  .menu__inner a,
  .menu__inner .nav__dropbtn {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
  }
}

/* =========================
   06 — SECTIONS (GLOBAL)
   ========================= */
.section {
  padding: 90px 0;
}

.section--alt {
  background: #fff;
  border-top: none;
  border-bottom: none;
}

.section--white,
.section--realisations,
.section--quote,
.section--faq {
  background: #fff;
}

/* Responsive sections */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
}

/* =========================
   07 — HERO (DARK)
   ========================= */
.hero {
  padding: 120px 0 110px;
  color: #fff;
  background:
    radial-gradient(
      900px 520px at 50% 0%,
      rgba(51, 191, 167, 0.38),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 18% 24%,
      rgba(51, 191, 167, 0.22),
      transparent 62%
    ),
    linear-gradient(
      135deg,
      var(--dark-900),
      var(--dark-800) 55%,
      var(--dark-700)
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero__content {
  text-align: center;
  max-width: 920px;
}

.kicker {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 24px;
}

/* titre */
.hero__title {
  margin: 34px 0 20px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-align: center;
  font-weight: 700;
}

.hero__intro {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 0.9;
  letter-spacing: 0;
  display: inline-block;
  margin-right: 0.08em;
}

.hero__title .accent {
  color: var(--mint-600);
}

.hero-words {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.hero-words::before {
  content: 'déclenche des contacts';
  visibility: hidden;
  white-space: nowrap;
}

.hero-words .word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  color: var(--mint-600);
  animation: wordFade 6s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-words .word-1 {
  animation-delay: 0s;
  font-weight: 800;
}

.hero-words .word-2 {
  animation-delay: 3s;
  font-weight: 800;
}

@keyframes wordFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
  }
  42% {
    opacity: 1;
    transform: translateY(0);
  }
  54% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 0;
  }
}

.lead {
  margin: 18px auto 32px;
  color: #fff;
  font-size: var(--fs-lead);
  max-width: 66ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* CTA adaptés au dark */
.hero .btn--primary {
  background: var(--mint-600);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.hero .btn--primary:hover {
  background: rgb(255, 255, 255);
  color: var(--mint-600);
}

.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--mint-600);
}

@media (max-width: 768px) {
  .kicker {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero__title {
    margin: 28px 0 0;
    letter-spacing: -0.01em;
  }

  .hero__intro {
    font-size: clamp(34px, 11vw, 56px);
    line-height: 0.9;
  }

  .hero-words {
    display: block;
    text-align: center;
    margin-top: 12px;
    min-height: 1.8em;
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1;
  }

  /* Bloc unique — plus de conflit de cascade */
  .hero-words .word {
    left: 50%;
    white-space: nowrap;
    max-width: none;
    font-size: clamp(22px, 6.8vw, 34px);
    animation: wordFadeMobile 6s ease-in-out infinite;
  }

  .hero-words .word-1 {
    animation-delay: 0s;
  }
  .hero-words .word-2 {
    animation-delay: 3s;
  }

  .lead {
    margin: 8px auto 24px;
    font-size: 16px;
    line-height: 1.45;
    text-align: justify; /* justifié */
    text-align-last: center; /* dernière ligne centrée */
  }

  .hero__cta {
    flex-direction: column; /* boutons en colonne */
    align-items: center;
    gap: 18px; /* espace entre eux */
  }

  .hero__cta .btn {
    width: 100%; /* pleine largeur */
    max-width: 320px; /* mais pas trop large */
    text-align: center;
  }
}

@keyframes wordFadeMobile {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  12% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  42% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  54% {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
}

/* =========================
   08 — PILIERS 
   ========================= */

.approach {
  padding: 8px 0;
}

.approach__head {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.approach__kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(123, 225, 206, 0.14);
  border: 1px solid rgba(51, 191, 167, 0.22);
}

.approach__head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mint-600);
  text-wrap: balance;
}

.approach__lead {
  margin: 0 auto;
  max-width: 70ch;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.75;
  color: var(--muted);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.approach {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 26px;
  padding: 22px 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.approach__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.approach__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--mint-700);
  background: rgba(123, 225, 206, 0.12);
  border: 1px solid rgba(51, 191, 167, 0.22);
}

.approach h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.approach__desc {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.approach__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.approach__list li {
  margin: 6px 0;
}

@media (hover: hover) {
  .approach:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 191, 167, 0.25);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  }
}

.approach__cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .approach__head {
    text-align: center;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .approach__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .approach__cta {
    justify-content: center;
    margin-top: 16px;
  }
}

/* =========================
   PROCESS (dark + steps)
   ========================= */

.section--dark {
  background:
    radial-gradient(
      900px 420px at 20% 0%,
      rgba(30, 160, 138, 0.2),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 85% 10%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, var(--dark-850) 0%, #0b0d0f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Head — centré automatiquement dans les sections */
.section--dark .section__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
}

.section--dark .section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mint-600);
  text-wrap: balance;
}

.section--dark .section__head p {
  margin: 0 auto;
  max-width: 65ch;
  color: #fff;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.75;
  text-align: center;
}

/* Steps */
.steps {
  margin-top: 34px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(51, 191, 167, 0.9),
    rgba(51, 191, 167, 0.08)
  );
  opacity: 0.55;
}

.steps__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.steps__num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(123, 225, 206, 0.95),
    rgba(51, 191, 167, 0.92)
  );
  box-shadow: none;
}

.steps__item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}

.steps__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 75ch;
}
.steps__item strong {
  font-size: 0.9em;
}

@media (hover: hover) {
  .steps__item:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 191, 167, 0.28);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  }
}

/* Mobile */
@media (max-width: 900px) {
  .steps::before {
    left: 24px;
  }
  .steps__item {
    grid-template-columns: 56px 1fr;
    padding: 18px;
  }
  .steps__num {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  .steps__item strong {
    font-size: 0.8em;
  }
  
}

/* =========================
   10 — REALISATIONS
   ========================= */

.section--realisations {
  position: relative;
  overflow: hidden;
  padding: 96px 0 48px;
  background: #fff;
}

/* Halo haut gauche */
.section--realisations::before {
  content: '';
  position: absolute;
  top: -800px;
  left: -800px;
  width: 2000px;
  height: 2000px;
  background: radial-gradient(
    circle at center,
    rgba(51, 191, 167, 0.32) 0%,
    rgba(51, 191, 167, 0.3) 18%,
    rgba(51, 191, 167, 0.2) 35%,
    rgba(51, 191, 167, 0.12) 50%,
    rgba(51, 191, 167, 0.06) 65%,
    rgba(51, 191, 167, 0.03) 75%,
    transparent 95%
  );
  filter: blur(140px);
  pointer-events: none;
}

/* Halo bas droite */
.section--realisations::after {
  content: '';
  position: absolute;
  bottom: -800px;
  right: -800px;
  width: 2000px;
  height: 2000px;
  background: radial-gradient(
    circle at center,
    rgba(51, 191, 167, 0.32) 0%,
    rgba(51, 191, 167, 0.3) 18%,
    rgba(51, 191, 167, 0.2) 35%,
    rgba(51, 191, 167, 0.12) 50%,
    rgba(51, 191, 167, 0.06) 65%,
    rgba(51, 191, 167, 0.03) 75%,
    transparent 95%
  );
  filter: blur(140px);
  pointer-events: none;
}

.section--realisations > .container {
  position: relative;
  z-index: 1;
}

/* Header */
.projects-head {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.projects-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mint-600);
  text-wrap: balance;
}

.projects-head p {
  margin: 0 auto 18px;
  max-width: 72ch;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(14, 17, 19, 0.72);
}

/* Liste */
.projects-list {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

/* Carte */
.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Image */
.project-row__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg) center / cover no-repeat;
  border-radius: 32px;
  margin: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  z-index: 2;
  overflow: hidden;
}

/* Contenu */
.project-row__content {
  position: relative;
  padding: 60px 60px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.project-row__content h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.project-row__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

.project-focus {
  font-size: 15px;
  color: rgba(42, 36, 34, 0.72);
}

.project-focus strong {
  color: var(--text);
  font-weight: 700;
}

/* Bulle CTA */
.project-row__pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mint-700);
  text-decoration: none;
  background: rgba(123, 225, 206, 0.14);
  border: 1px solid rgba(51, 191, 167, 0.28);
  width: fit-content;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.project-row__pill,
.project-row__pill:hover,
.project-row__pill:focus,
.project-row__pill:active,
.project-row__pill:visited {
  text-decoration: none !important;
}

/* Hover */
@media (hover: hover) {
  .project-row:hover {
    transform: translateY(-3px);
    border-color: rgba(51, 191, 167, 0.22);
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.12),
      0 2px 0 rgba(255, 255, 255, 0.7) inset;
  }

  .project-row:hover .project-row__pill,
  .project-row__pill:hover,
  .project-row__pill:focus {
    color: #000;
    box-shadow: 0 12px 26px rgba(51, 191, 167, 0.16);
    transform: translateY(-1px);
    background: rgba(123, 225, 206, 0.22);
    border-color: rgba(51, 191, 167, 0.45);
  }
}

/* Alternance desktop */
@media (min-width: 901px) {
  .project-row:nth-child(even) {
    grid-template-columns: 1fr 1.1fr;
  }

  .project-row:nth-child(even) .project-row__image {
    order: 2;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .section--realisations {
    padding: 72px 0 60px;
  }

  .projects-head {
    margin-bottom: 24px;
  }
  .projects-head p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.75;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .project-row__image {
    margin: 0;
  }

  .project-row__content {
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .projects-head h2 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.12;
    text-wrap: balance;
  }
  .project-row__content h3 {
    font-size: 22px;
  }

  .project-row__content p {
    max-width: 92%;
  }

  .section--realisations::before,
  .section--realisations::after {
    width: 900px;
    height: 900px;
    filter: blur(80px);
  }

  .section--realisations::before {
    top: -520px;
    left: -520px;
    opacity: 0.55;
  }

  .section--realisations::after {
    bottom: -520px;
    right: -520px;
    opacity: 0.55;
  }
  .project-row:nth-child(odd) .project-row__image {
    margin: 24px 0 24px 24px;
  }

  .project-row:nth-child(even) .project-row__image {
    order: 2;
    margin: 24px 24px 24px 0;
  }
}

/* =========================
   BLOC SEO DARK
   ========================= */

.section--seo-dark {
  background:
    radial-gradient(
      900px 420px at 20% 0%,
      rgba(30, 160, 138, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 85% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 55%
    ),
    linear-gradient(180deg, var(--dark-850) 0%, #0b0d0f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 88px 0;
}

.seo-dark-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.section--seo-dark .section__head {
  max-width: 700px;
  margin: 0;
  text-align: left;
}

.section--seo-dark .section__head h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--mint-600);
  text-wrap: balance;
}

.section--seo-dark .section__head p {
  margin: 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
  text-align: justify;
}

.section--seo-dark .section__head p + p {
  margin-top: 18px;
}

.seo-dark-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 430px;
  margin-left: auto;
}

.seo-card {
  min-height: 128px;
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(123, 225, 206, 0.14);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(6px);
  text-align: left;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.seo-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.1;
  color: var(--mint-600);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.seo-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 16ch;
}

@media (hover: hover) {
  .seo-card:hover {
    transform: translateY(-3px);
    background: rgba(123, 225, 206, 0.06);
    border-color: rgba(123, 225, 206, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 900px) {
  .section--seo-dark {
    padding: 52px 0;
  }

  .seo-dark-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section--seo-dark .section__head {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .section--seo-dark .section__head h2 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.1;
    margin: 0 0 24px;
  }

  .section--seo-dark .section__head p {
    max-width: 88%;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    text-align-last: center;
  }

  .section--seo-dark .section__head p + p {
    margin-top: 18px;
  }

  .seo-dark-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
    margin: 0;
  }

  .seo-card {
    min-height: 92px;
    padding: 14px 10px;
    border-radius: 16px;
    text-align: center;
  }

  .seo-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.15;
    text-align: center;
  }

  .seo-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    max-width: 100%;
    text-align: center;
  }
}

/* =========================
   11 — TEMOIGNAGE
   ========================= */
.section--quote {
  padding: 60px 0;
  background: #fff;
}

.quote {
  width: min(100%, 880px);
  margin: 0 auto;
  text-align: center;
}

.quote__stars {
  font-size: 22px;
  letter-spacing: 4px;
  color: #f2b84b;
  margin-bottom: 12px;
}

.quote__meta {
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--text);
}

.quote__meta .muted {
  font-weight: 800;
}

.quote__text {
  margin: 0 auto;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 52ch;
}

.quote__text strong {
  color: var(--mint-700);
}

/* Responsive témoignage */
@media (max-width: 768px) {
  .section--quote {
    padding: 50px 0;
  }
  .quote__text {
    max-width: 90%;
  }
}

/* =========================
   12 — FAQ 
   ========================= */

.section--faq {
  background: #fff;
  padding: 110px 0;
}

/* La carte */
.faq-card {
  width: min(100%, 980px);
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  padding: 44px 38px;

  background:
    radial-gradient(
      900px 520px at 80% 0%,
      rgba(123, 225, 206, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #0f1316 0%, #0a0c0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);

  /* halo vert uniforme */
  box-shadow:
    0 0 60px rgba(123, 225, 206, 0.45),
    0 0 140px rgba(123, 225, 206, 0.25),
    0 0 260px rgba(123, 225, 206, 0.1);
}

/* En-tête */
.faq-head {
  text-align: center;
  margin-bottom: 28px;
}

.faq-head h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mint-600);
  text-wrap: balance;
}

.faq-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* LISTE */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

/* ITEM */
.faq-item {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  padding: 24px 0;
  transition: border-color 0.25s ease;
}

/* Le résumé */
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Le bouton + rond */
.faq-item summary::after {
  content: '＋';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--mint-600);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
/* OPEN STATE */
.faq-item[open] {
  border-bottom-color: rgba(123, 225, 206, 0.4);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
  color: rgba(123, 225, 206, 1);
}

/* CONTENT */
.faq-content {
  padding-top: 14px;
  max-width: 65ch;
}

.faq-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* Hover (desktop) */
@media (hover: hover) {
  .faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section--faq {
    padding: 80px 0;
  }

  .faq-card {
    padding: 28px 16px;
    border-radius: 20px;
  }
  .faq-card::before {
    inset: -34px;
    filter: blur(22px);
  }

  .faq-head h2 {
    font-size: 30px;
  }
  .faq-head p {
    font-size: 0.95rem;
  }

  .faq-item {
    padding: 16px 0;
  }
  .faq-item summary {
    font-size: 0.8rem;
    line-height: 1.35;
    padding-right: 40px;
  }
  .faq-item summary::after {
    font-size: 16px;
  }

  .faq-content {
    padding-top: 10px;
  }
  .faq-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* =========================
   13 — CONTACT
   ========================= */

#contact.section {
  background: #fff;
  padding-top: 56px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 620px);
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}
#contact .section__head {
  margin: 0 auto 20px;
}
#contact.section .section__head h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mint-600);
  text-wrap: balance;
}
#contact.section .section__head p {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.65;
  color: #6b6b6b;
  margin: 0;
}
.form,
.aside {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.aside {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 46px;
  padding-bottom: 28px;
}

.aside h3 {
  margin: 0 0 34px;
  font-size: var(--fs-h3);
  text-wrap: balance;
}

.aside .muted {
  margin: 12px 0 12px;
  line-height: 1.65;
}

.aside__points {
  margin: 10px auto 54px;
  width: 100%;
  max-width: 500px;
}

.list {
  width: 100%;
  margin: 0 auto;
  padding-left: 22px;
  color: var(--muted);
}
.aside .list strong {
  color: var(--mint-600) !important;
}

.list li {
  margin: 0 0 16px;
  line-height: 1.65;
  padding-left: 0;
}

.list li:last-child {
  margin-bottom: 0;
}

.aside__cta {
  display: flex;
  justify-content: center;
  margin: 35px 0 12px !important;
}

.form__note {
  margin: 18px auto 0 !important;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #655f5c;
  text-align: center;
  text-wrap: balance;
}

/* =========================
Modification du dessigne BREVO
=============================== */
/*Modification de letoile sur le formualire de brevo */
#sib-container .entry__label[data-required]::after {
  color: #33bfa7 !important;
}

/*Couleur modifier pour etre omogene */
#sib-container select.input {
  color: #5f6f6b !important;
}
/*fleche en gris */
#sib-container #SUJET {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6f6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}

/* Responsive contact */
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* Bouton du RDV echange rapide */
.aside__cta {
  display: flex;
  justify-content: center;
  margin: 22px 0 12px;
}
.form__note {
  margin-top: 0;
}

.rdv-pill {
  position: relative;
  width: min(100%, 220px);
  height: 58px;
  padding: 0 16px 0 58px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 1px solid rgba(42, 36, 34, 0.08);
  border-radius: 999px;
  text-decoration: none !important;

  box-shadow:
    0 10px 24px rgba(51, 191, 167, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.rdv-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 191, 167, 0.2);
  box-shadow:
    0 14px 28px rgba(51, 191, 167, 0.15),
    0 6px 14px rgba(0, 0, 0, 0.05);
}

.rdv-pill__icon-wrap {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);

  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mint-600);
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 10px 20px rgba(51, 191, 167, 0.26),
    0 0 18px rgba(123, 225, 206, 0.22);
}

.rdv-pill__icon {
  width: 42px;
  height: 42px;
  display: block;
  color: #fff;
}

.rdv-pill__text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #1f1d1c;
  text-align: center;
}

@media (max-width: 768px) {
  .rdv-pill {
    width: min(100%, 205px);
    height: 54px;
    padding: 0 14px 0 54px;
  }
  #contact.section .section__head h2 {
    text-align: center;
  }

  .rdv-pill__icon-wrap {
    width: 56px;
    height: 56px;
    left: -8px;
  }

  .rdv-pill__icon {
    width: 31px;
    height: 31px;
  }

  .rdv-pill__text {
    font-size: 14px;
    text-align: center;
  }
}
@media (max-width: 860px) {
  .aside__points {
    display: block;
    padding: 0 0 20px;
  }

  .list {
    max-width: 100%;
  }
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  #contact.section .section__head p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
  }
  #contact.section .section__head h2 {
    text-align: center;
  }
}

@media (max-width: 640px) {
  #contact.section .section__head p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }
  #contact.section .section__head h2 {
    text-align: center;
  }
}
/* =========================
   14 — FOOTER
   ========================= */

.footer {
  background: #000;
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 20px;
  margin-top: 0;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr auto;
  align-items: start;
  gap: 40px;
}

.footer__brand {
  padding-right: 30px;
  border-right: 1px solid var(--mint-600);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

.footer__brand p {
  margin: 0;
  max-width: 290px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  text-align: justify;
}
.footer__center {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
}

.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  color: var(--mint-600);
}

.footer__col a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #fff;
}

/* Réseaux */
.footer__social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
}

.footer__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mint-600);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(51, 191, 167, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.footer__icon svg {
  width: 18px;
  height: 18px;
  fill: var(--mint-600);
  transition: fill 0.25s ease;
}

@media (hover: hover) {
  .footer__icon:hover {
    transform: translateY(-3px);
    background: rgba(51, 191, 167, 0.12);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.35);
  }
}

/* Bottom */
.footer__bottom {
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(51, 191, 167, 0.45);
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer {
    padding: 42px 0 18px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer__brand {
    border-right: none;
    border-bottom: 1px solid rgba(51, 191, 167, 0.45);
    padding-right: 0;
    padding-bottom: 24px;
    align-items: center;
  }

  .footer__logo img {
    height: 52px;
  }

  .footer__brand p {
    max-width: 460px;
    text-align: center;
  }

  .footer__center {
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
  }

  .footer__col {
    min-width: 130px;
  }

  .footer__social {
    justify-content: center;
  }
}

/* ==========================================================
   SCROLL REVEAL leffet sur les composants (sections)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibilité : pas d'animation sur tel */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
