@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-latin-800-normal.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url(../fonts/poppins-latin-400-italic.woff2) format("woff2");
}
:root {
  --c1: #4abffb;
  --c2: #7be0ff;
  --c3: #eef3ff;
  --navy: #021649;
  --ink: #0c0f17;
  --yellow: #f9c74f;
  --grad: linear-gradient(100deg, #eef3ff 40%, #7be0ff 150%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    400 1.0625rem/1.7 Poppins,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #0a4a9e;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 20;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--c3);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo img {
  display: block;
}
nav ul {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
nav a:hover,
nav a[aria-current] {
  border-color: var(--c1);
  color: var(--navy);
}
.burger {
  display: none;
  font:
    600 0.9rem Poppins,
    sans-serif;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 1rem;
  cursor: pointer;
}
h1,
h2 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin: 2.6rem 0 0.8rem;
}
.hero {
  background: var(--grad);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.lead {
  font-size: 1.2rem;
  max-width: 62ch;
  margin: 1.4rem 0 0;
}
.hero-home h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
.mark {
  position: absolute;
  right: max(-4rem, calc(50% - 640px));
  top: 50%;
  translate: 0 -50%;
  width: clamp(260px, 38vw, 520px);
  height: auto;
  opacity: 0.25;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 0;
}
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  transition:
    background 0.15s,
    color 0.15s;
}
.btn:hover {
  background: #fff;
  color: var(--navy);
}
.btn.alt {
  background: transparent;
  color: var(--navy);
}
.btn.alt:hover {
  background: var(--navy);
  color: #fff;
}
.sec {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.tint {
  background: var(--c3);
}
.prose {
  max-width: none;
}
.prose > * {
  max-width: 760px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li {
  margin: 0.5rem 0;
}
.prose li::marker {
  color: var(--c1);
}
.big {
  font-size: clamp(1.3rem, 1.0vw, 1.75rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 5px solid var(--c1);
  padding-left: 1.2rem;
  margin: 1.6rem 0;
}
.rows {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.rows a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-top: 1px solid #b9c9ee;
  text-decoration: none;
  color: var(--ink);
}
.rows li:last-child a {
  border-bottom: 1px solid #b9c9ee;
}
.rows strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
}
.rows a:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--c1);
  text-decoration-thickness: 3px;
}
.contact {
  list-style: none;
  padding: 0;
}
.contact li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid var(--c3);
  margin: 0;
}
.contact strong {
  min-width: 9rem;
  color: var(--navy);
}
.copybtn {
  font:
    500 0.85rem Poppins,
    sans-serif;
  margin-left: 0.8rem;
  background: var(--c3);
  color: var(--navy);
  border: 1px solid var(--c1);
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
}
.photo {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: min(280px, 45%);
}
.photo img {
  border-radius: 8px;
}
.cta {
  background: var(--navy);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta h2 {
  color: #fff;
  margin: 0 0 0.5rem;
}
/* .cta p {
  margin: 0;
} */
.btn.light {
  background: var(--c2);
  border-color: var(--c2);
  color: var(--navy);
}
.btn.light:hover {
  background: #fff;
  border-color: #fff;
}
.btn.yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.btn.yellow:hover {
  background: #fff;
  border-color: #fff;
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn.ghost:hover {
  background: #fff;
  color: var(--navy);
}
footer {
  background: var(--c3);
  padding: 2.5rem 0 1rem;
  font-size: 0.95rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2.5rem;
}
.foot li {
  margin: 0.25rem 0;
}
.foot img {
  display: block;
  margin-bottom: 0.8rem;
}
.copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}
@media (max-width: 1100px) {
  .burger {
    display: block;
  }
  nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--c3);
    display: none;
  }
  nav.open {
    display: block;
  }
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1rem;
  }
}
@media (max-width: 640px) {
  .mark {
    /* opacity: 0.25; */
    width: 70vw;
  }
  .rows a {
    flex-direction: column;
    gap: 0.2rem;
  }
  .photo {
    float: none;
    margin: 0 0 1.5rem;
    width: 70%;
  }
  .foot ul {
    columns: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  color: var(--navy);
}
.kicker::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 4px;
  background: var(--c1);
}

.banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5/1;
  max-height: 320px; 
  object-fit: cover;
  object-position: center 40%;
}
@media (max-width: 640px) {
  .banner {
    aspect-ratio: auto;
    height: 110px;
    object-position: right center;
  }
}

/* ===== Accueil : hero photo plein écran ===== */
:root {
  --header-h: 93px; /* hauteur de la barre de navigation : logo 68 + padding 24 + bordure 1 */
  --grad-intro: linear-gradient(100deg, var(--c2) -20%, var(--c3) 70%);
}
.hero-photo {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 3rem 0 6rem;
  text-align: center;
  color: #fff;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 35%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 22, 73, 0.3), rgba(2, 22, 73, 0.5));
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-photo .kicker {
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}
.hero-photo .kicker::before {
  display: none;
}
.hero-photo h1 {
  color: #fff;
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}
.hl {
  text-decoration: underline;
  text-decoration-color: var(--c1);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}
.hero-photo .actions {
  justify-content: center;
  margin-top: 2.2rem;
}
.scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.8rem;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: background 0.15s, color 0.15s;
}
.scroll:hover {
  background: #fff;
  color: var(--navy);
}
.scroll:focus-visible {
  outline-color: #fff;
}
.intro {
  background: var(--grad-intro);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  scroll-margin-top: var(--header-h);
}
.intro .lead {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

/* Smartphone : logo de la barre de navigation réduit (190 px de large -> 52 px de haut) */
@media (max-width: 640px) {
  :root {
    --header-h: 77px; /* 52 (logo) + 24 (marges) + 1 (bordure) */
  }
  .logo img {
    width: 190px;
  }
}

/* Introduction : le symbole (.mark) est positionné par rapport à la section */
.intro {
  position: relative;
  overflow: hidden;
}
.intro .wrap {
  position: relative;
  z-index: 1;
}
