:root {
  --blue: #294798;
  --navy: #1d2b50;
  --hero: #162241;
  --bg: #f4f5f9;
  --white: #fff;
  --tint: #e3e9fa;
  --tint-soft: #eef1fa;
  --tint-hover: #dfe6fa;
  --text-1: #3b4560;
  --text-2: #4a5470;
  --line: #e3e7f0;
  --muted-dark: #c9d1e6;
  --muted-dark-2: #dfe4f0;
  --gutter: clamp(12px, 3vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --card-pad: clamp(28px, 5vw, 64px);
  --display: 'Bebas Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
input, textarea, select, button { font: inherit; color: inherit; }
img { display: block; }

.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }
.icon-22 { width: 22px; height: 22px; flex: none; }
.icon-24 { width: 24px; height: 24px; }
.icon-26 { width: 26px; height: 26px; }
.icon-28 { width: 28px; height: 28px; }

.wrap {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
}
.inset { padding: 0 clamp(0px, 2vw, 24px); }
.anchor { scroll-margin-top: 96px; }

.display-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head--split {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-head--split > div { display: flex; flex-direction: column; gap: 20px; }

.eyebrow {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  color: var(--blue);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}
.eyebrow--dark { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--tint-hover); color: var(--navy); }
.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-weight: 500;
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }
.btn--soft { background: var(--tint-soft); color: var(--navy); }
.btn--soft:hover { background: var(--tint-hover); color: var(--navy); }

.icon-tile {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Emplacement photo : affiche la légende tant que sa photo (assets/photos/…) n'est pas chargée. */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: rgba(127, 127, 127, 0.08);
  color: #6e7590;
}
.ph:not(.has-img)::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px dashed currentColor;
  opacity: 0.35;
  border-radius: inherit;
  pointer-events: none;
}
.ph:not(.has-img)::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10%;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.75;
}
.ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph--dark { color: #9fb4f0; background: rgba(255, 255, 255, 0.04); }
.ph--top:not(.has-img)::after { align-items: flex-start; padding-top: 32px; }

/* Header */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 var(--gutter);
}
.site-header__bar {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(29, 43, 80, 0.08);
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: 40px; object-fit: contain; }
.brand span {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--navy);
  line-height: 1;
}
.site-nav { display: flex; gap: 4px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--navy); padding: 10px 14px; border-radius: 999px; }
.site-nav a:hover { background: var(--tint-soft); color: var(--blue); }
.site-header .btn { padding: 12px 20px; font-size: 15px; }
@media (max-width: 999px) {
  .site-nav { display: none; }
}
@media (max-width: 479px) {
  .brand span { display: none; }
}

/* Hero */
.hero { padding-top: 28px; padding-bottom: 0; }
.hero__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--hero);
  color: var(--white);
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(22, 34, 65, 0.92) 0%, rgba(22, 34, 65, 0.55) 45%, rgba(22, 34, 65, 0) 75%),
    rgba(22, 34, 65, 0.35);
  pointer-events: none;
}
.hero__content {
  position: relative;
  width: 100%;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: none;
}
.hero__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 14px;
  font-weight: 500;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 48px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 148px);
  line-height: 0.88;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}
.hero__side { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.hero__side p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; pointer-events: auto; }
.hero__ctas .btn { font-size: 16px; }
.hero__ctas .btn--white { padding: 16px 26px; }
.hero__ctas .btn--glass { padding: 16px 24px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}
.hero__facts span { display: flex; align-items: center; gap: 8px; }

/* Bandeau produits */
.marquee { overflow: hidden; padding: 28px 0 8px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: akte-marquee 45s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 12px 20px;
  margin-right: 12px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
@keyframes akte-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Qui sommes-nous */
.about { padding-top: var(--section-y); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text p { margin: 0; line-height: 1.6; max-width: 540px; text-wrap: pretty; }
.about__text p.lead { font-size: 18px; color: var(--text-1); }
.about__text p.sub { font-size: 17px; color: var(--text-2); }
.about__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-card strong { font-size: 17px; }
.about-card span:last-child { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.about-card--wide { background: var(--blue); color: var(--white); grid-column: span 2; }
.about-card--wide .icon-tile { background: rgba(255, 255, 255, 0.15); }
.about-card--wide span:last-child { color: var(--muted-dark-2); }

/* Services */
.panel { background: var(--white); border-radius: 32px; padding: var(--card-pad); }
.panel--navy { background: var(--navy); color: var(--white); }
.services__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}
.service {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service__media { position: relative; height: clamp(240px, 26vw, 340px); }
.service__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(29, 43, 80, 0.15);
  pointer-events: none;
}
.service__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.service h3 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; margin: 0; }
.service p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}
.services__extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 16px;
}
.extra {
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.extra div { display: flex; flex-direction: column; gap: 6px; }
.extra strong { font-size: 17px; }
.extra span { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Méthode */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}
.step {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__n { font-family: var(--display); font-size: 44px; line-height: 1; color: #d3dbf2; }
.step h3 { margin: 0; font-size: 18px; font-weight: 700; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* Galerie */
.gallery__legend { display: flex; gap: 16px; font-size: 14px; color: var(--muted-dark); }
.gallery__legend span { display: flex; align-items: center; gap: 6px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery > * { border-radius: 20px; overflow: hidden; }
.gallery .tall { grid-row: span 2; }
.video-tile {
  background: repeating-linear-gradient(135deg, #24356390 0 10px, #2a3c6c 10px 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.video-tile { position: relative; }
.video-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-tile:has(video) { cursor: pointer; }
.video-tile:has(video) .video-tile__label { display: none; }
.video-tile:has(video) .video-tile__play { position: relative; z-index: 1; }
.video-tile.is-playing .video-tile__play { display: none; }
.video-tile__play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-tile__play img { margin-left: 3px; }
.video-tile__label { font-size: 13px; color: var(--muted-dark-2); }

/* Pourquoi Akte */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}
.reason {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
.reason h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; margin: 0; }
.reason p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* Contact */
.contact { padding-bottom: clamp(48px, 6vw, 80px); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact__intro { display: flex; flex-direction: column; gap: 24px; }
.contact__intro > p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 460px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.field {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
}
.field:focus { border-color: var(--blue); background: var(--white); }
textarea.field { resize: vertical; }
.form__group { display: flex; flex-direction: column; gap: 10px; }
.form__label { font-size: 14px; font-weight: 600; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.type {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg);
  color: var(--navy);
}
.type .on { display: none; }
.type[aria-pressed='true'] { background: var(--blue); color: var(--white); }
.type[aria-pressed='true'] .on { display: block; }
.type[aria-pressed='true'] .off { display: none; }
.upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed #b8c2dc;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
}
.upload:hover, .upload:focus-within { border-color: var(--blue); background: #f7f9fe; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.upload__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upload__text strong { font-size: 15px; }
.upload__text span {
  font-size: 13px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form .btn--blue { align-self: flex-start; gap: 10px; padding: 16px 28px; font-size: 16px; }
.form .btn--blue:disabled { opacity: 0.6; cursor: wait; }
.form__error { margin: 0; font-size: 14px; color: #b3261e; }
.sent {
  background: var(--tint);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sent img { width: 32px; height: 32px; flex: none; }
.sent div { display: flex; flex-direction: column; gap: 8px; }
.sent strong { font-size: 18px; }
.sent span { font-size: 16px; line-height: 1.5; color: var(--text-1); }
.sent button {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
[hidden] { display: none !important; }
.contact__side { display: flex; flex-direction: column; gap: 12px; }
.map { border-radius: 24px; overflow: hidden; height: 320px; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: none; display: block; }
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.info {
  background: var(--bg);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info > span { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }

/* Footer */
.site-footer { max-width: 1344px; margin: 0 auto; padding: 0 var(--gutter) 24px; }
.site-footer__card {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { height: 64px; width: 64px; object-fit: contain; }
.site-footer__brand > span { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font-family: var(--display); font-size: 30px; letter-spacing: 0.04em; line-height: 1; }
.site-footer__tagline { font-size: 14px; color: var(--muted-dark); }
.site-footer .btn--white { padding: 14px 22px; font-size: 15px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: var(--muted-dark);
}
.site-footer__bottom div { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a.light { color: var(--white); }
.site-footer a.light:hover { color: var(--muted-dark); }

/* Mentions légales */
.legal-main { max-width: 1344px; margin: 0 auto; padding: 28px var(--gutter) clamp(48px, 6vw, 80px); }
.legal-hero {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 112px); line-height: 0.9; margin: 0; }
.legal-hero p { margin: 0; font-size: 15px; color: var(--muted-dark); }
.legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 12px;
  margin-top: 12px;
}
.legal-card {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-card h2 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; margin: 0; }
.legal-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 10px 16px;
  font-size: 15px;
  line-height: 1.5;
}
.legal-card dt { color: var(--text-2); }
.legal-card dd { margin: 0; }
.legal-body {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 56px);
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-1);
}
.legal-body section { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.legal-body h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; margin: 0; color: var(--navy); }
.legal-body p { margin: 0; }
.legal-footer {
  background: var(--navy);
  color: var(--muted-dark);
  border-radius: 24px;
  padding: 20px clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
