/* Layout : bandeaux bleu nuit pleine largeur alternés avec un fond gris-bleu clair, boutons bleus aux couleurs du logo, menu déroulant en haut. Thème unique et assumé. */
:root {
  --navy: #0B2350;
  --navy-2: #17336B;
  --bg: #EDEFF3;
  --white: #FFFFFF;
  --ink: #0B2350;
  --muted: #4E5D73;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C3CCDA;
  --line: #D5DAE3;
  --accent-1: #2C5FC4;
  --accent-2: #5B8CE0;
  --accent: #2C5FC4;
  --accent-soft: #E8EFFC;
  --shadow: 0 2px 6px rgba(14,35,65,.06), 0 14px 34px -14px rgba(14,35,65,.25);

  --f-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-logo: "Michroma", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem);
  --step-4: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy);
}
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.center { text-align: center; }
.section { padding-block: 84px; }
@media (max-width: 700px) { .section { padding-block: 56px; } }
.section-head { display: grid; gap: 12px; justify-items: center; text-align: center; margin: 0 auto 44px; max-width: 760px; }
.section-head p { color: var(--muted); }
.navy { background: var(--navy); color: var(--on-navy); }
.navy .section-head p { color: var(--on-navy-muted); }
.white { background: var(--white); }
.kicker { color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.white .kicker, .section:not(.navy) .kicker { color: var(--accent); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1.2 var(--f-display); text-decoration: none; text-align: center;
  padding: 1em 1.9em; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%); color: var(--white); box-shadow: 0 8px 20px -8px rgba(44,95,196,.5); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }

/* En-tête et menu */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy); color: var(--on-navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; }
.brand { font: 700 1.25rem/1.05 var(--f-display); text-decoration: none; letter-spacing: -.01em; color: var(--white); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font: 600 .95rem/1 var(--f-body); color: var(--on-navy); padding: 12px 12px; border-radius: 8px;
}
.menu-link:hover, .has-sub.open > .menu-link { color: var(--accent-2); }
.menu-link[aria-current="page"] { color: var(--accent-2); }
.chev { width: 10px; height: 10px; transition: transform .2s; }
.has-sub.open .chev { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: 10px; min-width: 260px;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow);
  display: none;
}
.sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: grid; }
.sub a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub a small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.sub a:hover { background: var(--bg); color: var(--accent); }
.nav .btn { padding: .8em 1.3em; font-size: .92rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px; place-items: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding-block: 12px 24px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .sub { position: static; box-shadow: none; background: transparent; color: var(--on-navy); padding: 4px 0 8px 12px; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: grid; }
  .sub a small { color: var(--on-navy-muted); }
  .sub a:hover { background: rgba(255,255,255,.06); color: var(--accent-2); }
  .nav .btn { align-self: flex-start; }
}

/* Hero accueil */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; padding-top: 72px; }
.hero-text { display: grid; gap: 24px; padding-bottom: 72px; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero-sub { font-size: var(--step-1); color: var(--on-navy-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 18px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats b { font: 600 1.05rem/1.2 var(--f-display); color: var(--white); }
.hero-stats span { font-size: .88rem; color: var(--on-navy-muted); }
.hero-photo {
  align-self: end; justify-self: center; width: min(100%, 400px); aspect-ratio: 4 / 5;
  border-radius: 200px 200px 0 0;
  background: linear-gradient(180deg, var(--navy-2), rgba(22,48,90,.3));
  border: 2px dashed rgba(195,204,218,.35); border-bottom: 0;
  display: grid; place-items: center; color: var(--on-navy-muted); font-size: .9rem;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-text { padding-bottom: 0; }
  .hero-photo { width: min(100%, 300px); }
}

/* Hero des pages */
.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-block: 64px 72px; }
.page-hero-text { display: grid; gap: 20px; min-width: 0; }
.crumbs { font-size: .88rem; color: var(--on-navy-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero h1 em { font-style: normal; color: var(--accent-2); }
.page-hero .hero-sub { max-width: 56ch; }
.forwho { background: var(--white); color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.forwho h2 { font-size: var(--step-1); font-weight: 700; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C5FC4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 52px; } }

/* Situations */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .situations { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.situation {
  display: grid; grid-template-rows: auto 1fr auto; text-decoration: none; border-radius: 14px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow); transition: transform .2s;
}
.situation:hover { transform: translateY(-4px); }
.situation-visual { aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #DCE3EE, #F4F6F9); }
.situation-visual svg { width: 30%; height: auto; }
.situation-body { padding: 18px 22px 20px; color: var(--muted); font-size: .97rem; }
.situation-label { background: var(--navy); color: var(--white); font: 600 var(--step-1)/1.3 var(--f-display); padding: 16px 20px; text-align: center; display: flex; justify-content: center; gap: 8px; }
.situation-label span { color: var(--accent-2); }

/* Offres (accueil) */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }
.offer { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; justify-items: center; text-align: center; min-width: 0; }
.offer-icon { width: 100%; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; background: var(--bg); display: grid; place-items: center; }
.offer-icon svg { width: 30%; height: auto; }
.offer h3 { font-size: var(--step-1); font-weight: 700; padding-top: 6px; }
.offer p { color: var(--muted); font-size: .97rem; max-width: 28ch; }
.offer .btn { width: 100%; max-width: 230px; padding: .9em 1em; }
.summary { margin-top: 48px; text-align: center; display: grid; gap: 4px; color: var(--muted); }
.summary strong { color: var(--ink); }

/* Cartes « ce que je fais » */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.white .feature { background: var(--bg); box-shadow: none; }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: var(--step-1); font-weight: 700; }
.feature p { color: var(--muted); font-size: .98rem; }
.feature ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; display: grid; gap: 4px; }

/* Formats */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .formats { grid-template-columns: 1fr; } }
.format { border-radius: 16px; padding: 32px; display: grid; gap: 14px; align-content: start; background: var(--white); box-shadow: var(--shadow); }
.format.dark { background: var(--navy); color: var(--on-navy); }
.format.dark p, .format.dark li { color: var(--on-navy-muted); }
.format p, .format li { color: var(--muted); }
.format ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.format .btn { justify-self: start; margin-top: 6px; }

/* Fondateur */
.founder { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.founder-photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 16px; background: linear-gradient(160deg, var(--navy-2), #071837);
  border: 2px dashed rgba(195,204,218,.35); display: grid; place-items: center; color: var(--on-navy-muted); text-align: center; padding: 20px;
}
.founder-photo span { font: 700 4rem/1 var(--f-display); color: var(--accent-2); display: block; margin-bottom: 12px; }
.founder-text { display: grid; gap: 18px; min-width: 0; }
.founder-text p { color: var(--on-navy-muted); max-width: 62ch; }
.founder-text p strong { color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.stat { display: grid; gap: 10px; justify-items: center; text-align: center; }
.stat svg { width: 34px; height: 34px; }
.stat b { font: 600 1.05rem/1.3 var(--f-display); color: var(--white); }
@media (max-width: 960px) { .founder { grid-template-columns: 1fr; gap: 36px; } .founder-photo { max-width: 340px; margin-inline: auto; width: 100%; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Méthode */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.method li { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 30px 26px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.white .method li { background: var(--bg); box-shadow: none; }
.method-n {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: var(--white);
  font: 700 1.3rem/1 var(--f-display);
}
.method p { color: var(--muted); }
@media (max-width: 820px) { .method { grid-template-columns: 1fr; } }

/* Parcours formation */
.parcours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.parcours li { border: 2px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 8px; align-content: start; background: var(--white); }
.parcours .step { color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.parcours h3 { font-size: var(--step-1); font-weight: 700; }
.parcours p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .parcours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .parcours { grid-template-columns: 1fr; } }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tag { background: var(--bg); border-radius: 999px; padding: .35em .95em; font-size: .92rem; font-weight: 600; }
.white .tag { background: var(--bg); }

/* Liens vers les autres situations */
.crosslinks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .crosslinks { grid-template-columns: 1fr; } }
.crosslink { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.crosslink:hover { transform: translateY(-3px); }
.crosslink b { font: 600 var(--step-1)/1.3 var(--f-display); }
.crosslink small { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.crosslink .go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: var(--white); font-weight: 700; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { border: 2px dashed rgba(195,204,218,.4); border-radius: 14px; padding: 28px; display: grid; gap: 14px; align-content: start; color: var(--on-navy-muted); }
.stars { color: var(--accent-2); letter-spacing: .12em; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-text { display: grid; gap: 18px; min-width: 0; }
.contact-text h2 { font-size: var(--step-4); }
.contact-text > p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.steps b { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--f-display); }
.contact-form { display: grid; gap: 18px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 32px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend, label { font-weight: 600; font-size: .95rem; }
.choice { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; border: 2px solid var(--line); cursor: pointer; font-size: .92rem; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.choice label:has(input:checked) { border-color: var(--accent-1); background: #F2F6FE; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 2px solid transparent; border-radius: 10px; padding: 12px 14px;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent-1); background: var(--white); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-done { padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); font-size: .95rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .choice, .row { grid-template-columns: 1fr; } .contact-form { padding: 22px; } }

/* Pied de page */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.site-footer .wrap { padding-block: 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; font-size: .92rem; }
.site-footer h3 { font: 700 .85rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { display: inline-block; margin-bottom: 10px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Ajouts du site final */
.situation-visual svg, .offer-icon svg { color: var(--navy); stroke-width: 1.6; }
.feature-icon svg { color: var(--accent); }
.stat svg { color: var(--accent-2); }
img.is-photo { object-fit: cover; border: 0; padding: 0; display: block; }
.founder-text > p:not(.kicker) { color: var(--on-navy-muted); max-width: 62ch; }
.founder-text > p strong { color: var(--white); }
.section-note { text-align: center; margin-top: 32px; color: var(--muted); }
.format-text { display: grid; gap: 8px; }
.format-text p, .format-text ul { margin: 0; }
.quote { margin: 0; }
.quote blockquote { margin: 0; color: var(--white); }
.quote figcaption { font-size: .92rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--accent); }
.site-footer p + p { margin-top: 6px; }
.footer-nda { font-size: .8rem; opacity: .8; max-width: 42ch; }
img.hero-photo.is-photo { object-position: 50% 22%; border-bottom: 0; }
img.founder-photo.is-photo { object-position: 50% 30%; }

/* Logo */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 56px; width: auto; display: block; }
.brand-footer img { height: 64px; }
@media (max-width: 600px) { .brand img { height: 44px; } }

/* Typographie alignée sur le logo : Manrope partout, Michroma pour les surtitres (comme « CONSEIL ») */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
.hero h1, .page-hero h1, .contact-text h2 { font-weight: 800; letter-spacing: -0.03em; }
.kicker, .parcours .step, .site-footer h3 {
  font-family: var(--f-logo); font-weight: 400;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
}
.btn { font-weight: 700; letter-spacing: .01em; }
.menu-link { font-weight: 600; }
.hero-stats b, .stat b, .situation-label, .crosslink b { font-weight: 700; }

/* Photo du haut de page : cadre droit, coins légèrement arrondis (plus d'arche) */
.hero .wrap { align-items: center; padding-bottom: 72px; }
.hero-text { padding-bottom: 0; }
.hero-photo { border-radius: 16px; border: 0; aspect-ratio: 4 / 5; align-self: center; box-shadow: 0 24px 48px -24px rgba(0,0,0,.55); }
div.hero-photo { border: 2px dashed rgba(195,204,218,.35); }
@media (max-width: 900px) { .hero .wrap { padding-bottom: 48px; } }
