@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(fonts/manrope-500.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-600.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(fonts/manrope-700.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(fonts/manrope-800.woff2) format("woff2"); }

:root {
  --marine: #142970;
  --marine-fonce: #0C1C52;
  --bleu: #127AC5;
  --bleu-clair: #7CC6F5;
  --encre: #0F1B3D;
  --gris: #55627F;
  --ciel: #EEF4FA;
  --filet: #DCE5EF;
  --gouttiere: clamp(20px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--marine-fonce); } /* rebond en bas de page = couleur du pied */
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--encre);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, ul { margin: 0; }

.conteneur { max-width: 1440px; margin: 0 auto; padding-inline: var(--gouttiere); }

svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton--marine { background: var(--marine); color: #fff; padding: 13px 22px; font-size: 15px; }
.bouton--marine:hover { background: var(--marine-fonce); }
.bouton--bleu { background: var(--bleu); color: #fff; }
.bouton--bleu:hover { background: #0f68a8; }

/* En-tête */
.nav { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; gap: 16px; }
.logo img { width: 260px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 592fr) minmax(0, 616fr);
  gap: 72px; align-items: center; padding-block: 48px 104px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--ciel);
  color: var(--marine); font-size: 13px; font-weight: 600;
}
.badge span { width: 8px; height: 8px; border-radius: 50%; background: #22B07D; }
.hero__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
h1 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -0.02em; }
.hero__intro { font-size: 18px; line-height: 1.6; color: var(--gris); }

.hero__visuel { position: relative; }
.hero__visuel picture img { width: 100%; aspect-ratio: 616 / 640; object-fit: cover; border-radius: 28px; }
.carte-etude {
  position: absolute; top: 36px; right: 36px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: #fff; border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 27, 61, .16);
  font-size: 14px; color: var(--gris);
}
.carte-etude strong { display: block; font-size: 15px; color: var(--encre); font-weight: 700; }
.carte-etude__icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ciel); color: var(--bleu); }
.carte-etude__icone svg { width: 22px; height: 22px; stroke-width: 2.2; }

/* Approche */
.approche { background: var(--ciel); padding-block: 104px; }
.approche__grille { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 632fr); gap: 88px; align-items: center; }
.approche__grille picture img { width: 100%; aspect-ratio: 560 / 520; object-fit: cover; border-radius: 28px; }
.approche__texte { display: flex; flex-direction: column; gap: 56px; }
.approche__texte p { font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; letter-spacing: -0.005em; }
.mots { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mots li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--filet); color: var(--marine); font-weight: 600; font-size: 15px; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--marine); color: #fff; padding-block: 96px; scroll-margin-top: 0; }
.contact__vague { position: absolute; right: -40px; top: 40px; width: 760px; opacity: .07; pointer-events: none; }
.contact__grille { position: relative; display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 640fr); gap: 80px; align-items: center; }
h2 { font-weight: 800; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -0.015em; }
.coordonnees { list-style: none; padding: 12px 32px; border-radius: 24px; background: rgba(255, 255, 255, .06); }
.coordonnees li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.coordonnees li:last-child { border-bottom: 0; }
.coordonnees li, .coordonnees__lien { display: flex; align-items: center; gap: 18px; padding-block: 20px; }
.coordonnees__lien { flex: 1; padding-block: 0; text-decoration: none; }
.coordonnees__lien > span:nth-child(2) { flex: 1; }
.coordonnees__icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--bleu-clair); flex: none; }
.coordonnees__icone svg { width: 20px; height: 20px; }
.coordonnees small { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 600; color: #9FB2D6; }
.coordonnees li > span:last-child, .coordonnees__lien > span:nth-child(2) { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.coordonnees a { text-decoration: none; }
.coordonnees a:hover, .coordonnees__lien:hover u { color: var(--bleu-clair); }
.coordonnees__fleche { width: 20px; height: 20px; color: var(--bleu-clair); stroke-width: 2; }

/* Pied */
.pied { background: var(--marine-fonce); }
.pied__ligne { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; }
.pied img { width: 190px; }
.pied p { font-size: 14px; color: #9FB2D6; }
.pied a { text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }

/* Page des mentions légales */
.page-legale { min-height: 100vh; display: flex; flex-direction: column; }
.page-legale main { flex: 1; }
.page-legale > * { width: 100%; }
.legal { padding-block: 48px 104px; }
.legal > * { max-width: 820px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p { font-size: 16px; line-height: 1.7; color: var(--gris); margin-bottom: 12px; }
.legal a { color: var(--bleu); }
.legal__liste { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.legal__liste li { font-size: 16px; line-height: 1.6; color: var(--gris); overflow-wrap: anywhere; }
.legal__liste strong { color: var(--encre); font-weight: 700; }
.legal__credit { margin-top: 40px; font-size: 13px !important; }
.retour { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--bleu); font-weight: 600; text-decoration: none; }
.retour:hover { text-decoration: underline; }

/* Tablette et mobile */
@media (max-width: 960px) {
  .hero, .approche__grille, .contact__grille { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-block: 16px 72px; }
  .hero__visuel picture img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .approche__grille picture img { aspect-ratio: 3 / 2; border-radius: 22px; }
  .approche, .contact { padding-block: 72px; }
  .approche__texte { gap: 32px; }
  .contact__vague { width: 520px; right: -160px; }
}
@media (max-width: 560px) {
  .nav { padding-block: 20px; }
  .logo img { width: 176px; }
  .bouton--marine { padding: 11px 16px; font-size: 14px; }
  .bouton--marine svg { display: none; }
  .hero__texte { gap: 22px; }
  .mots li { padding: 8px 13px; font-size: 14px; }
  .contact__vague { top: auto; bottom: -60px; }
  .hero__intro { font-size: 16px; }
  .carte-etude { top: 16px; right: 16px; padding: 12px 14px; gap: 10px; }
  .carte-etude__icone { width: 36px; height: 36px; }
  .coordonnees { padding: 4px 18px; }
  .coordonnees li > span:last-child, .coordonnees__lien > span:nth-child(2) { font-size: 15px; }
  .pied__ligne { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }
