/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 24px;
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,33,55,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(168,207,234,.15);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-badge {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600;
  color: white;
  letter-spacing: .5px;
  line-height: 1.2;
}
.nav__logo-sub {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__link {
  background: none; border: none;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .3px;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--sky);
  transition: width .3s ease;
}
.nav__link:hover,
.nav__link.active { color: var(--sky); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Nav right */
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.nav__burger {
  background: none; border: none;
  color: white; font-size: 22px;
  display: flex; align-items: center;
  padding: 4px;
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(168,207,234,.1);
  padding: 16px 24px 24px;
}
.nav__drawer.open { display: block; }
.nav__drawer-link {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(168,207,234,.08);
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
  font-family: var(--font-sans);
  transition: color .2s;
  text-decoration: none;
}
.nav__drawer-link:last-child { border-bottom: none; }
.nav__drawer-link:hover { color: var(--sky); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 14px; font-weight: 600;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { transform: scale(.97) !important; transition-duration: .08s; }

.btn-wa {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  animation: pulse-wa 2.5s infinite;
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sky {
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  color: var(--navy);
}
.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(90,163,204,.4);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 24px;
}

/* ── WA FLOAT ───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
  animation: pulse-wa 2.5s infinite;
  transition: transform .25s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.12); }
.wa-float svg   { width: 28px; height: 28px; fill: white; }

/* ── SECTION SHARED ─────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section--navy { background: var(--navy); }
.section--grey { background: var(--grey); }
.section--sky  { background: var(--sky-light); }

.section__head {
  text-align: center;
  margin-bottom: 64px;
}
.section__head .eyebrow { margin-bottom: 14px; display: block; }
.section__head h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  color: var(--navy);
}
.section__head--light h2 { color: white; }

/* ── CARDS GRID ─────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--grey);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(13,33,55,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card--white { background: var(--white); border-color: rgba(13,33,55,.08); }

.card__icon   { margin-bottom: 18px; display: block; line-height: 0; color: var(--sky-deep); }
.card__icon svg { width: 42px; height: 42px; }
.card__title  { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card__desc   { font-size: 14px; color: var(--grey-dark); line-height: 1.65; margin-bottom: 20px; }
.card__link   { font-size: 13px; color: var(--sky-deep); font-weight: 600; transition: color .2s; }
.card__link:hover { color: var(--navy); }

/* Clickable card */
.card--clickable { cursor: pointer; text-decoration: none; display: block; color: inherit; }

/* ── STATS STRIP ────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 36px 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip__num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--sky);
  line-height: 1;
}
.stats-strip__label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
}
@media (max-width: 520px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ── WHY ZK BLOCKS ──────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.why-block__icon  { margin-bottom: 18px; line-height: 0; color: var(--sky); }
.why-block__icon svg { width: 40px; height: 40px; }
.why-block__title { font-size: 16px; font-weight: 700; color: white; margin-bottom: 10px; }
.why-block__desc  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ── HISTOIRE ───────────────────────────────────────────────────────────── */
.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}
.histoire-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.histoire-item__icon { font-size: 30px; flex-shrink: 0; margin-top: 2px; }
.histoire-item__icon img { width: 46px; height: 46px; object-fit: contain; display: block; }
.histoire-item__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.histoire-item__text  { font-size: 14px; color: var(--grey-dark); line-height: 1.75; }
@media (max-width: 680px) {
  .histoire-grid { grid-template-columns: 1fr; }
}

/* ── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--sky-light);
  padding: 90px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(26px, 4vw, 44px);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 16px;
  color: var(--grey-dark);
  margin-bottom: 36px;
}

/* ── SHOWCASE IMAGE ─────────────────────────────────────────────────────── */
.showcase-img {
  width: 100%;
  height: 62vh;
  min-height: 320px;
  max-height: 700px;
  position: relative;
  overflow: hidden;
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s ease;
}
.showcase-img:hover img {
  transform: scale(1.03);
}
.showcase-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(13,33,55,.55) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px 40px;
}
.showcase-img__caption {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
@media (max-width: 768px) {
  .showcase-img { height: 45vw; min-height: 220px; }
  .showcase-img__overlay { padding: 18px 20px; }
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 70px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.footer__brand-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.footer__brand-desc { font-size: 13px; line-height: 1.75; }

.footer__heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}
.footer__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  background: none; border: none;
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.footer__link:hover { color: white; }
.footer__link--sky  { color: var(--sky); }
.footer__link svg   { width: 16px; height: 16px; flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer__seo { color: var(--sky); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 40%, var(--navy-light) 70%, var(--sky-deep) 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(13,33,55,.88) 0%,
    rgba(13,33,55,.78) 40%,
    rgba(20,52,82,.72) 70%,
    rgba(43,108,150,.66) 100%
  );
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__content {
  max-width: 860px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  color: var(--sky);
  margin-bottom: 22px;
  animation: fadeUp .7s ease both;
}
.hero__title {
  font-size: clamp(42px, 8vw, 88px);
  color: white;
  margin-bottom: 26px;
  animation: fadeUp .7s .1s ease both;
}
.hero__title em { color: var(--sky); font-style: italic; }
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 44px;
  animation: fadeUp .7s .2s ease both;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

/* ── PAGE HERO (services) ───────────────────────────────────────────────── */
.page-hero {
  background:
    linear-gradient(160deg, rgba(8,6,13,.62) 0%, rgba(13,33,55,.68) 60%, rgba(13,33,55,.72) 100%),
    url("../../images/page%20service.jpg") center / cover no-repeat;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  text-align: center;
}
.page-hero .eyebrow  { color: var(--sky); margin-bottom: 14px; display: block; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 62px);
  color: white;
  margin-bottom: 28px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Anchor pills */
.anchor-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.anchor-pill {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px; font-weight: 600;
  background: rgba(168,207,234,.15);
  border: 1px solid rgba(168,207,234,.3);
  color: var(--sky);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.anchor-pill:hover {
  background: rgba(168,207,234,.3);
  color: white;
}

/* ── SERVICE SECTION ─────────────────────────────────────────────────────── */
.service-section { padding: 80px 0; }
.service-section:nth-child(even) { background: var(--grey); }

.service-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.service-section__head h2 {
  font-size: clamp(26px, 3.5vw, 42px);
}
.service-section__head p {
  font-size: 14px;
  color: var(--grey-dark);
  max-width: 420px;
  line-height: 1.65;
}

/* ── CAROUSEL ────────────────────────────────────────────────────────────── */
.carousel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(13,33,55,.07);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;     /* impossible de s'arrêter entre 2 images */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* IE/Edge legacy */
}
.carousel-track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Placeholder slides — dégradés stylisés */
.carousel-slide:nth-child(1) { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.carousel-slide:nth-child(2) { background: linear-gradient(135deg, var(--sky-deep) 0%, var(--navy-mid) 100%); }
.carousel-slide:nth-child(3) { background: linear-gradient(135deg, var(--navy-light) 0%, var(--sky-deep) 100%); }

/* Slides avec vraies photos */
.carousel-slide--img {
  background: var(--navy);
  padding: 0;
  font-size: 0;
}
.carousel-slide--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(13,33,55,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  cursor: pointer;
}
.carousel-btn:hover { background: rgba(13,33,55,.85); }
.carousel-btn--prev { left: 8px; }
.carousel-btn--next { right: 8px; }

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grey-mid);
  transition: background .2s, transform .2s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--sky-deep);
  transform: scale(1.35);
}

/* ── POPUP CARTE (carte agrandie au clic) ───────────────────────────────── */
.card-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(8, 6, 13, .82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.card-modal.open { display: flex; animation: modalFade .2s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.card-modal__dialog {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  overflow: hidden;                 /* coins arrondis respectés */
  animation: modalPop .25s cubic-bezier(.2,.8,.3,1.1);
}
@keyframes modalPop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.card-modal__content {
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;                 /* scroll si la carte est haute */
}

.card-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-size: 26px; line-height: 1;
  color: #fff;
  background: rgba(13, 33, 55, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.card-modal__close:hover { background: rgba(13, 33, 55, .85); }

/* Carousel & texte agrandis dans le popup */
.card-modal .carousel-slide {
  height: min(60vh, 460px);
  background: var(--navy);
}
.card-modal .carousel-slide--img img { object-fit: cover; }
.card-modal .carousel-card__body { padding: 26px 28px 30px; cursor: auto; }
.card-modal .carousel-card__title { font-size: 22px; margin-bottom: 10px; }
.card-modal .carousel-card__desc  { font-size: 15px; }

@media (max-width: 600px) {
  .card-modal { padding: 12px; }
  .card-modal .carousel-slide { height: min(46vh, 360px); }
  .card-modal .carousel-card__body { padding: 22px 22px 26px; }
}

.carousel-card__body {
  padding: 22px 24px 26px;
}
.carousel-card__title { font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.carousel-card__desc  { font-size: 13px; color: var(--grey-dark); line-height: 1.65; margin-bottom: 16px; }
.carousel-card__cta   { font-size: 12px; color: var(--sky-deep); font-weight: 600; }

/* Prix (optionnel) — affiché uniquement si renseigné */
.carousel-card__price {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Slide de remplacement quand une carte n'a pas encore d'image */
.carousel-slide--empty {
  background: linear-gradient(135deg, var(--grey) 0%, var(--sky-light) 100%);
}

/* États de chargement / vide des grilles dynamiques */
.cards-loading,
.cards-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--grey-dark);
  font-size: 14px;
  padding: 48px 0;
}
.cards-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
  border: 2px solid var(--grey-mid);
  border-top-color: var(--sky-deep);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ── SUR-MESURE FORM ─────────────────────────────────────────────────────── */
.form-section {
  background: var(--white);
  padding: 80px 0;
}
.form-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-mid);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(90,163,204,.15);
}
.form-textarea { resize: vertical; }
/* Sélecteurs de dates natifs : même rendu que les autres champs */
.form-input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  color-scheme: light;
  cursor: pointer;
}
.form-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .6;
  filter: invert(38%) sepia(34%) saturate(640%) hue-rotate(165deg);
}

/* ── DATE PICKER personnalisé ───────────────────────────────────────────── */
.dp { position: relative; }
input.dp-native {            /* input natif conservé (valeur/name) mais masqué */
  position: absolute;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  opacity: 0; pointer-events: none;
}
.dp-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  color: var(--grey-dark);
}
.dp-trigger .dp-value { flex: 1; line-height: 1.2; }
.dp-trigger.has-value { color: var(--navy); font-weight: 500; }
.dp-trigger > svg { color: var(--sky-deep); flex-shrink: 0; }
.dp.open .dp-trigger {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(90, 163, 204, .15);
}

.dp-pop {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(13, 33, 55, .18);
  animation: dpPop .16s ease;
}
@keyframes dpPop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dp-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  text-transform: capitalize;
}
.dp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  font-size: 20px; line-height: 1;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s;
}
.dp-nav:hover { background: rgba(13, 33, 55, .07); }

.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow span {
  padding: 4px 0;
  text-align: center;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.dp-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  font-size: 13px;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.dp-day:hover:not(:disabled):not(.selected) { background: rgba(90, 163, 204, .16); }
.dp-day.today { box-shadow: inset 0 0 0 1.5px var(--sky-deep); }
.dp-day.selected { background: var(--sky-deep); color: #fff; font-weight: 600; }
.dp-day:disabled { color: var(--grey-mid); cursor: not-allowed; }
.dp-empty { aspect-ratio: 1 / 1; }

.form-group    { display: grid; gap: 8px; }
.form-grid     { display: grid; gap: 16px; }

.form-success {
  text-align: center;
  padding: 60px 0;
}
.form-success__icon  { font-size: 60px; margin-bottom: 20px; }
.form-success__title { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.form-success__text  { font-size: 15px; color: var(--grey-dark); }
.form-error {
  font-size: 13px; font-weight: 600;
  color: var(--red);
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero__title { font-size: clamp(38px, 9vw, 62px); }
  .hero__sub   { font-size: 16px; }
}

/* ── SUR-MESURE MODAL ───────────────────────────────────────────────────── */
.sm-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.sm-modal.open { display: flex; }
.sm-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,33,55,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sm-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 30px 80px rgba(13,33,55,.35);
  padding: 40px 36px;
  animation: smModalIn .3s ease both;
}
@keyframes smModalIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sm-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 40px; height: 40px;
  border: none;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--grey-dark);
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.sm-modal__close:hover { background: var(--grey-light, rgba(13,33,55,.06)); color: var(--navy); }
.sm-modal__head {
  text-align: center;
  margin-bottom: 28px;
}
.sm-modal__head .eyebrow { color: var(--sky-deep); display: block; margin-bottom: 8px; }
.sm-modal__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--navy);
}
.sm-modal__sub {
  font-size: 14px;
  color: var(--grey-dark);
  margin-top: 10px;
  line-height: 1.6;
}
@media (max-width: 540px) {
  .sm-modal { padding: 0; }
  .sm-modal__dialog { min-height: 100%; border-radius: 0; padding: 72px 20px 32px; }
}
