@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0B1F33;
  --navy-2: #13304D;
  --or: #FF6B00;
  --or-2: #FF8A1F;
  --bg: #F8FAFC;
  --gris: #E5E7EB;
  --txt: #111827;
  --mute: #475569;
  --rayon: 14px;
  --largeur: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--txt);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--or-2); outline-offset: 3px; border-radius: 6px; }

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--or); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.lien-evitement:focus { left: 1rem; top: 1rem; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(11, 31, 51, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.marque { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; }
.marque img { width: 30px; height: 30px; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav ul a { color: #CBD5E1; text-decoration: none; font-weight: 600; font-size: .9rem; }
.nav ul a:hover { color: var(--or-2); }

/* ---------- Héro ---------- */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(255,107,0,.22), transparent 60%), var(--navy);
  color: #E2E8F0;
  padding: 5.5rem 0 4.5rem;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--or), var(--or-2));
}
.surtitre { color: var(--or-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .8rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; margin: 0; font-weight: 800; }
.role { color: var(--or-2); font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 600; margin: .8rem 0 1.4rem; }
.pitch { max-width: 720px; font-size: 1.08rem; margin: 0 0 1.6rem; }
.pitch strong { color: #fff; }
.infos { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.infos li { border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: .3rem .9rem; font-size: .85rem; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-plein { background: linear-gradient(135deg, var(--or), var(--or-2)); color: #fff; }
.btn-contour { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.btn-contour:hover { border-color: var(--or-2); }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-claire { background: var(--bg); }
h2 {
  display: flex; align-items: center; gap: .8rem;
  color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 .6rem;
}
h2::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 5px;
  background: linear-gradient(135deg, var(--or), var(--or-2));
}
.intro { color: var(--mute); max-width: 680px; margin: 0 0 2.2rem; }

.grille { display: grid; gap: 1.2rem; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

.carte {
  background: #fff; border: 1px solid var(--gris); border-radius: var(--rayon);
  padding: 1.4rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.carte:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,31,51,.08); }
.carte h3 { color: var(--navy); margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 800; }
.carte p { margin: 0; color: #334155; font-size: .95rem; }

.carte-sombre { background: var(--navy); border-color: var(--navy); color: #CBD5E1; }
.carte-sombre h3 { color: var(--or-2); }
.carte-sombre p { color: #CBD5E1; }
.numero { display: inline-block; color: var(--or-2); font-weight: 800; font-size: .85rem; letter-spacing: .1em; margin-bottom: .4rem; }

.carte-competence { border-left: 5px solid var(--or); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .8rem; }
.tags li { background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; padding: .2rem .7rem; border-radius: 99px; }

/* ---------- Projets ---------- */
.projet { padding: 1.8rem; }
.projet-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.projet h3 { font-size: 1.3rem; }
.badge { font-size: .75rem; font-weight: 700; color: #fff; background: var(--or); padding: .25rem .8rem; border-radius: 99px; white-space: nowrap; }
.badge-navy { background: var(--navy); }
.stack { color: var(--or); font-weight: 700; font-size: .85rem; margin: .2rem 0 .9rem !important; }
.projet ul { margin: 0; padding-left: 1.2rem; color: #1F2937; }
.projet li { margin-bottom: .35rem; }
.chiffres { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--gris); }
.chiffres div { display: flex; flex-direction: column; }
.chiffres strong { color: var(--navy); font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.chiffres span { color: var(--mute); font-size: .8rem; }

.carte-mini { border-top: 4px solid var(--or); }
.carte-mini .stack { font-size: .78rem; margin: 0 0 .5rem !important; }
.carte-mini a { color: var(--or); font-weight: 700; font-size: .85rem; }

/* ---------- Parcours ---------- */
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--or), var(--or-2)); border-radius: 3px; }
.frise li { position: relative; padding: 0 0 2rem 3rem; }
.frise li:last-child { padding-bottom: 0; }
.frise li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--or); }
.frise .quand { color: var(--or); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.frise h3 { color: var(--navy); margin: .1rem 0 .3rem; font-size: 1.15rem; }
.frise p { margin: 0; color: #334155; max-width: 640px; }

.passions { display: flex; flex-wrap: wrap; gap: .8rem; list-style: none; padding: 0; margin: 0; }
.passions li { background: #fff; border: 1px solid var(--gris); border-radius: 12px; padding: .8rem 1.2rem; font-weight: 700; color: var(--navy); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #CBD5E1; text-align: center; }
.contact h2 { color: #fff; justify-content: center; }
.contact .intro { margin-inline: auto; color: #CBD5E1; }
.contact .actions { justify-content: center; }
.coordonnees { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; font-weight: 600; }
.coordonnees a { color: #fff; text-decoration: none; }
.coordonnees a:hover { color: var(--or-2); }

footer { background: #07182A; color: #94A3B8; font-size: .85rem; padding: 1.4rem 0; text-align: center; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav ul { display: none; }
  .g2 { grid-template-columns: 1fr; }
  section { padding: 3.2rem 0; }
  .hero { padding: 3.8rem 0 3.4rem; }
}

/* ---------- Impression ---------- */
@media print {
  .nav, .actions, .lien-evitement { display: none; }
  .carte:hover { transform: none; box-shadow: none; }
}

.titre-passions { margin-top: 3rem; margin-bottom: 1.2rem; }
sup { line-height: 0; }
