:root {
  --navy: #081f47;
  --blue: #0066ef;
  --blue-hover: #0053c5;
  --muted: #506079;
  --line: #dce4ee;
  --surface: #f5f8fc;
  --white: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: -80px; padding: 14px; z-index: 10; background: var(--white); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 36px; min-height: 100px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.brand img { display: block; width: 170px; height: auto; }
.main-nav { margin-left: auto; display: flex; gap: 27px; align-items: center; }
.main-nav a { position: relative; padding-block: 20px; font-size: 14px; font-weight: 500; }
.main-nav a:hover, .footer-nav a:hover { color: var(--blue); }
.main-nav [aria-current="page"] { color: var(--blue); }
.main-nav [aria-current="page"]::after { content: ""; position: absolute; height: 2px; background: var(--blue); bottom: 8px; inset-inline: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 18px 24px; min-height: 54px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-hover); }
.button-secondary { background: var(--white); border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.header-cta { min-height: 44px; padding: 13px 19px; gap: 20px; }
.hero { padding-block: 94px 76px; }
h1 { margin: 0; font-size: clamp(48px, 6.25vw, 80px); line-height: 1.07; letter-spacing: -0.055em; font-weight: 700; }
h1 span { color: var(--blue); }
.hero-copy { max-width: 600px; margin: 28px 0 0; font-size: 21px; line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.approach-card { display: flex; align-items: flex-start; gap: 24px; border: 1px solid var(--line); border-radius: 10px; padding: 34px; }
.icon { display: grid; place-items: center; width: 58px; height: 58px; background: var(--surface); border-radius: 9px; color: var(--blue); flex-shrink: 0; }
.icon svg { width: 32px; height: 32px; }
h2 { margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -0.025em; }
.approach-card p { margin: 14px 0 0; max-width: 300px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.entry-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 42px 74px; }
.entry-link { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 25px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.entry-arrow { color: var(--blue); font-size: 24px; font-weight: 400; }
.entry-link:hover { color: var(--blue); border-color: var(--blue); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-footer .brand img { width: 135px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; flex-wrap: wrap; padding-block: 16px; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: 30px; }
  .main-nav a { padding-block: 12px; }
  .header-cta { margin-left: auto; }
  .hero { padding-block: 64px; }
  .approach-card { padding: 26px; gap: 18px; }
  h2 { font-size: 22px; }
  .entry-links { gap: 24px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .brand img { width: 140px; }
  .header-cta { padding: 12px 14px; gap: 12px; font-size: 13px; }
  .main-nav { gap: 0; justify-content: space-between; }
  .main-nav a { font-size: 12px; }
  .hero { padding-block: 54px 44px; }
  h1 { font-size: clamp(35px, 8.9vw, 53px); letter-spacing: -0.05em; }
  .hero-copy { font-size: 17px; margin-top: 22px; line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 26px; gap: 12px; }
  .button { justify-content: space-between; padding-inline: 20px; }
  .approach { grid-template-columns: 1fr; gap: 14px; }
  .approach-card { padding: 24px 20px; gap: 16px; }
  .icon { width: 48px; height: 48px; }
  .icon svg { width: 28px; height: 28px; }
  h2 { font-size: 22px; }
  .approach-card p { font-size: 15px; }
  .entry-links { grid-template-columns: 1fr; gap: 0; padding-block: 24px 46px; }
  .entry-link { padding-block: 22px; font-size: 17px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 24px 32px; gap: 16px; }
  .footer-nav { gap: 22px; }
}


/* Formations : maquette fournie, composants et tokens de l’accueil. */
body[data-page="formations"] .container { width: min(1312px, calc(100% - 128px)); }
body[data-page="formations"] .header-inner { min-height: 84px; }
body[data-page="formations"] .main-nav { margin-inline: auto; }
body[data-page="formations"] .brand img { width: 190px; }
.photo-hero { position: relative; isolation: isolate; min-height: 520px; padding-block: 96px 72px; overflow: hidden; background: #f6f9fc; }
.photo-hero-image { position: absolute; z-index: -2; top: 0; right: 0; width: 74%; height: 100%; object-fit: cover; object-position: 60% center; }
.photo-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffffa 28%, #ffffffb8 45%, #ffffff00 67%); }
.photo-hero h1 { max-width: 780px; margin-top: 18px; font-size: 54px; line-height: 1.07; letter-spacing: -0.04em; }
.photo-hero .hero-copy { max-width: 600px; margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--navy); }
.photo-hero .hero-actions { margin-top: 28px; gap: 18px; }
.photo-hero .button-secondary { color: var(--blue); border-color: #7fa7d4; background: #ffffffbb; }
.photo-hero-note { position: absolute; right: max(64px, calc((100vw - 1312px) / 2)); bottom: 56px; width: 270px; padding: 22px; background: #ffffffeb; border-radius: 5px; }
.photo-hero-note::before { content: ""; display: block; width: 36px; height: 2px; margin-bottom: 14px; background: var(--blue); }
.photo-hero-note p { margin: 0; font-size: 15px; line-height: 1.5; }
.feature-band { padding-block: 44px; }
.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; list-style: none; margin: 0; padding: 0; }
.feature-list > li { position: relative; }
.feature-list > li + li::before { content: ""; position: absolute; left: -18px; inset-block: 0; width: 1px; background: #e3eaf2; }
.feature-list svg { display: block; width: 42px; height: 42px; margin-bottom: 16px; color: #145486; }
.feature-list h2 { font-size: 20px; line-height: 1.25; }
.feature-list p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.formations-catalog { padding-block: 40px 44px; background: #f4f9ff; scroll-margin-top: 24px; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
.catalog-heading h2 { margin-top: 12px; font-size: 40px; line-height: 1.15; letter-spacing: -0.035em; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--blue); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.formations-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; grid-auto-rows: 1fr; }
.content-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid #e6edf5; border-radius: 7px; box-shadow: 0 2px 6px #081f4703; }
.card-photo { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px; }
.card-body h3 { min-height: 1.25em; margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.025em; }
.card-body > p { margin: 10px 0 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: auto 0 18px; padding: 0; }
.card-tags li { padding: 4px 8px; border-radius: 4px; background: #eef6ff; color: #284e73; font-size: 12px; line-height: 1.5; }
.formation-benefits { margin: 0; padding: 0 0 0 50px; list-style: none; border-left: 1px solid #8db5db; display: grid; gap: 22px; }
.formation-benefits li { display: grid; grid-template-columns: 36px 1fr; gap: 24px; align-items: start; }
.formation-benefits li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #edf7ff; color: var(--blue); }
.formation-benefits svg { width: 25px; height: 25px; }
.formation-benefits h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.formation-benefits p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.photo-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.photo-banner-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 0%; }
.photo-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #041d3bdb, #041d3b66); }
.photo-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 208px; padding-block: 36px; }
.photo-banner .home-eyebrow { color: var(--white); }
.photo-banner h2 { margin-top: 16px; font-size: 38px; line-height: 1.15; }
.photo-banner h2 + p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; }
.photo-banner .button { flex-shrink: 0; }
@media (max-width: 1199px) {
  .formations-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
  .feature-list > li:nth-child(odd)::before { display: none; }
}
@media (max-width: 1000px) {
  body[data-page="formations"] .container { width: calc(100% - 64px); }
  .photo-hero { min-height: 500px; padding-block: 64px; }
  .photo-hero h1 { max-width: 600px; font-size: 46px; }
  .photo-hero .hero-copy { max-width: 500px; font-size: 19px; }
  .photo-hero-image { width: 100%; }
  .photo-hero::after { background: linear-gradient(90deg, #fff 0%, #fffffff2 35%, #ffffffb8 57%, #ffffff00 88%); }
  .photo-hero-note { position: relative; right: auto; bottom: auto; width: 270px; margin: 28px 32px 0 auto; }
  .catalog-heading h2 { font-size: 34px; }
  .formation-benefits { padding: 28px 0 0; border-left: 0; border-top: 1px solid #8db5db; }
  .photo-banner h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  body[data-page="formations"] .container { width: calc(100% - 40px); }
  body[data-page="formations"] .brand img { width: 140px; }
  body[data-page="formations"] .header-inner { min-height: 0; }
  body[data-page="formations"] .header-cta { min-height: 40px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .photo-hero { display: flex; flex-direction: column; min-height: 0; padding: 32px 0 0; background: var(--white); }
  .photo-hero::after { display: none; }
  .photo-hero-content { order: 1; padding-bottom: 32px; }
  .photo-hero h1 { margin-top: 20px; font-size: clamp(34px, 9vw, 46px); }
  .photo-hero .hero-copy { margin-top: 20px; font-size: 17px; }
  .photo-hero .hero-actions { margin-top: 24px; gap: 12px; }
  .photo-hero-image { position: static; z-index: auto; order: 2; height: 230px; width: 100%; object-position: 65% center; }
  .photo-hero-note { order: 3; z-index: 1; width: calc(100% - 80px); margin: -60px auto 20px; padding: 18px; }
  .feature-band { padding-block: 32px; }
  .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .feature-list > li:nth-child(n)::before { display: none; }
  .feature-list h2 { font-size: 20px; }
  .formations-catalog { padding-block: 32px; }
  .catalog-heading { gap: 18px; margin-bottom: 24px; }
  .catalog-heading h2 { font-size: 29px; }
  .formations-cards { grid-template-columns: 1fr; gap: 20px; }
  .card-body { padding: 20px; }
  .card-body h3 { min-height: 0; font-size: 23px; }
  .card-tags { margin-top: 0; }
  .formation-benefits li { gap: 16px; }
  .formation-benefits h3 { font-size: 16px; }
  .photo-banner-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 32px; }
  .photo-banner h2 { font-size: 30px; }
  .photo-banner h2 + p { font-size: 16px; }
  .photo-banner .button { width: 100%; }
}

/* Accueil : règles limitées à la homepage, d’après la maquette fournie. */
body[data-page="home"] .container { width: min(1312px, calc(100% - 128px)); }
body[data-page="home"] .header-inner { min-height: 84px; }
body[data-page="home"] .main-nav { margin-inline: auto; }
body[data-page="home"] .brand img { width: 190px; }
.home-eyebrow { margin: 0; font-size: 11px; line-height: 1.5; letter-spacing: 0.15em; color: var(--navy); }
.home-hero { position: relative; isolation: isolate; min-height: 590px; padding-block: 76px 88px; background: #f6f9fc; overflow: hidden; }
.home-hero-photo { position: absolute; z-index: -2; right: 0; top: 0; width: 72%; height: 100%; object-fit: cover; object-position: center 65%; }
.home-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffffa 28%, #ffffffb8 44%, #ffffff00 64%); }
.home-hero-content h1 { max-width: 760px; margin-top: 24px; font-size: 68px; line-height: 1.04; letter-spacing: -0.05em; }
.home-hero .hero-copy { max-width: 490px; margin-top: 24px; font-size: 22px; line-height: 1.45; color: var(--navy); }
.home-hero .hero-actions { gap: 18px; margin-top: 28px; }
.home-hero .button-secondary { border-color: #7fa7d4; color: var(--blue); background: #ffffffbb; }
.home-dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 24px 30px; }
.home-service-card { position: relative; isolation: isolate; min-height: 240px; border: 1px solid #e9edf3; border-radius: 6px; overflow: hidden; background: #f8fafc; }
.home-service-card > img { position: absolute; z-index: -2; right: 0; top: 0; height: 100%; width: 64%; object-fit: cover; object-position: center; }
.home-service-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #f8fafc 0%, #f8fafcf5 39%, #f8fafcbb 53%, #f8fafc00 76%); }
.home-service-copy { position: relative; max-width: 365px; padding: 32px; }
.home-service-copy h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }
.home-service-copy h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--blue); margin-top: 18px; }
.home-service-copy p { max-width: 250px; margin: 28px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.home-domains { padding-block: 38px 36px; background: #f5faff; }
.home-domains h2 { margin-top: 12px; font-size: 38px; line-height: 1.15; letter-spacing: -0.035em; }
.home-domain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 30px; }
.home-domain { position: relative; display: flex; flex-direction: column; padding-inline: 0; }
.home-domain + .home-domain::before { content: ""; position: absolute; left: -18px; inset-block: 0; width: 1px; background: #e1e9f1; }
.home-domain:first-child { border-left: 0; padding-left: 0; }
.home-domain:last-child { padding-right: 0; }
.home-domain > svg { width: 44px; height: 44px; margin-bottom: 18px; color: #145486; }
.home-domain h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -0.03em; }
.home-domain h3::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 12px; background: #5d9cce; }
.home-domain p { min-height: 90px; margin: 12px 0 18px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.home-domain > img { display: block; width: 100%; height: auto; aspect-ratio: 1.96; object-fit: cover; border-radius: 5px; margin-top: auto; }
.home-domain > a { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; margin-top: 18px; color: var(--blue); font-size: 14px; line-height: 1.5; }
.home-domain > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-method { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; padding-block: 40px; }
.home-method-copy h2 { margin-top: 14px; font-size: 36px; line-height: 1.18; letter-spacing: -0.035em; }
.home-method-copy > p:not(.home-eyebrow) { max-width: 600px; margin: 20px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.home-method-copy .button { margin-top: 24px; }
.home-steps { margin: 0; padding: 0 0 0 50px; list-style: none; border-left: 1px solid #8db5db; }
.home-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 28px; padding-block: 12px; border-bottom: 1px solid #e6edf4; }
.home-steps li:first-child { padding-top: 0; }
.home-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.home-step-number { font-size: 20px; line-height: 1.4; color: var(--blue); }
.home-steps h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.home-steps p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.home-contact { position: relative; isolation: isolate; color: var(--white); background: var(--navy); overflow: hidden; }
.home-contact-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-contact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #031c3c55; }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 164px; padding-block: 26px; }
.home-signoff img { display: block; width: 180px; height: auto; filter: brightness(0) invert(1); }
.home-signoff p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.home-contact h2 { margin-left: auto; font-size: 22px; line-height: 1.3; font-weight: 500; }
.home-button-white { color: var(--navy); background: var(--white); }
.home-button-white:hover { background: #eaf3ff; }
.home-button-white:focus-visible { outline-color: var(--white); }
.home-footer { background: var(--white); }
.home-footer .footer-inner { min-height: 80px; }
.home-footer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 1000px) {
  body[data-page="home"] .container { width: calc(100% - 64px); }
  .home-hero { min-height: 540px; padding-block: 60px 72px; }
  .home-hero-content h1 { max-width: 600px; font-size: 54px; }
  .home-hero-photo { width: 100%; }
  .home-hero::after { background: linear-gradient(90deg, #fff 0%, #fffffff2 30%, #ffffffb8 48%, #ffffff00 85%); }
  .home-hero .hero-copy { font-size: 20px; max-width: 470px; }
  .home-service-copy { padding: 26px; max-width: 280px; }
  .home-service-copy h2 { font-size: 22px; }
  .home-service-copy p { max-width: 210px; font-size: 16px; }
  .home-domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .home-domain:nth-child(odd) { padding: 0 24px 0 0; }
  .home-domain:nth-child(odd)::before { display: none; }
  .home-domain:nth-child(even) { padding: 0 0 0 24px; }
  .home-domain:nth-child(even)::before { left: 0; }
  .home-domain p { min-height: 80px; }
  .home-method { grid-template-columns: 1fr; gap: 32px; }
  .home-steps { padding: 28px 0 0; border-left: 0; border-top: 1px solid #8db5db; }
  .home-contact-inner { gap: 24px; flex-wrap: wrap; }
  .home-contact h2 { font-size: 20px; }
}
@media (max-width: 600px) {
  body[data-page="home"] .container { width: calc(100% - 40px); }
  body[data-page="home"] .brand img { width: 140px; }
  body[data-page="home"] .header-inner { min-height: 0; }
  body[data-page="home"] .header-cta { min-height: 40px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; padding-block: 32px 0; background: var(--white); }
  .home-hero::after { display: none; }
  .home-hero-content { order: 1; padding-bottom: 32px; }
  .home-hero-photo { position: static; z-index: auto; order: 2; width: 100%; height: 220px; object-position: center 65%; }
  .home-eyebrow { font-size: 10px; letter-spacing: 0.12em; }
  .home-hero-content h1 { font-size: clamp(34px, 9vw, 46px); margin-top: 20px; }
  .home-hero .hero-copy { font-size: 17px; margin-top: 20px; }
  .home-hero .hero-actions { margin-top: 24px; }
  .home-dual { grid-template-columns: 1fr; padding-block: 20px 28px; gap: 16px; }
  .home-service-card { min-height: 220px; }
  .home-service-card::after { background: linear-gradient(90deg, #f8fafc 0%, #f8fafcf5 50%, #f8fafccc 72%, #f8fafc00 100%); }
  .home-service-copy { padding: 24px; max-width: 280px; }
  .home-service-copy h2 { font-size: 23px; }
  .home-service-copy p { margin-top: 24px; max-width: 205px; }
  .home-domains { padding-block: 32px; }
  .home-domains h2 { font-size: 29px; }
  .home-domain-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .home-domain:nth-child(n) { padding: 0 0 28px; border: 0; border-bottom: 1px solid #e1e9f1; }
  .home-domain:nth-child(n)::before { display: none; }
  .home-domain:last-child { padding-bottom: 0; border-bottom: 0; }
  .home-domain h3 { font-size: 23px; }
  .home-domain p { min-height: 0; }
  .home-domain > svg { width: 38px; height: 38px; margin-bottom: 14px; }
  .home-domain > img { margin-top: 0; }
  .home-method { padding-block: 36px; }
  .home-method-copy h2 { font-size: 29px; }
  .home-method-copy > p:not(.home-eyebrow) { font-size: 16px; }
  .home-method-copy .button { display: flex; }
  .home-steps li { column-gap: 16px; }
  .home-steps h3 { font-size: 16px; }
  .home-contact-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 30px; }
  .home-contact h2 { margin: 0; font-size: 23px; }
  .home-contact .button { width: 100%; }
  .home-footer .footer-inner { gap: 20px; padding-block: 24px; }
  .home-footer .footer-nav { gap: 18px; font-size: 12px; }
}


/* Micro-finition du hero Accueil : desktop uniquement. */
@media (min-width: 1024px) {
  .home-hero { min-height: 646px; display: flex; align-items: center; padding-block: 84px; }
  .home-hero-content h1 { margin-top: 30px; }
  .home-hero .hero-copy { margin-top: 30px; }
  .home-hero .hero-actions { margin-top: 34px; }
}


/* Solutions : variantes locales des composants déjà utilisés par Formations. */
body[data-page="solutions"] .container { width: min(1312px, calc(100% - 128px)); }
body[data-page="solutions"] .header-inner { min-height: 84px; }
body[data-page="solutions"] .main-nav { margin-inline: auto; }
body[data-page="solutions"] .brand img { width: 190px; }
.solutions-main .photo-hero { min-height: 616px; padding-block: 112px 96px; }
.solutions-main .photo-hero h1 { font-size: 56px; }
.solutions-main .feature-band { padding-block: 48px; }
.solutions-catalog { padding-block: 44px 48px; background: #f4f9ff; }
.solutions-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; grid-auto-rows: 1fr; }
.solutions-cards .card-photo { aspect-ratio: 1.8; }
.solutions-cards .card-body { padding-bottom: 28px; }
.solutions-why { grid-template-columns: 1.25fr 1fr; gap: 64px; padding-block: 64px 72px; }
.solutions-why .home-method-copy h2 { font-size: 32px; }
@media (max-width: 1199px) {
  .solutions-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  body[data-page="solutions"] .container { width: calc(100% - 64px); }
  .solutions-main .photo-hero { min-height: 500px; padding-block: 64px; }
  .solutions-main .photo-hero h1 { font-size: 46px; }
  .solutions-why { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
}
@media (max-width: 600px) {
  body[data-page="solutions"] .container { width: calc(100% - 40px); }
  body[data-page="solutions"] .brand img { width: 140px; }
  body[data-page="solutions"] .header-inner { min-height: 0; }
  body[data-page="solutions"] .header-cta { min-height: 40px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .solutions-main .photo-hero { min-height: 0; padding: 32px 0 0; }
  .solutions-main .photo-hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .solutions-main .hero-actions .button { width: 100%; }
  .solutions-main .feature-band { padding-block: 32px; }
  .solutions-catalog { padding-block: 32px; }
  .solutions-cards { grid-template-columns: 1fr; gap: 20px; }
  .solutions-why { padding-block: 36px; }
  .solutions-why .home-method-copy h2 { font-size: 29px; }
}

@media (min-width: 1200px) {
  .solutions-main .photo-hero-image { object-position: 60% 100%; }
}


/* Outils : composition produit, composants partagés inchangés. */
body[data-page="outils"] .container { width: min(1312px, calc(100% - 128px)); }
body[data-page="outils"] .header-inner { min-height: 84px; }
body[data-page="outils"] .main-nav { margin-inline: auto; }
body[data-page="outils"] .brand img { width: 190px; }
.tools-main .photo-hero { min-height: 720px; padding-block: 116px 112px; }
.tools-main .photo-hero h1 { max-width: 650px; font-size: 58px; }
.tools-main .hero-copy { max-width: 520px; }
.tools-main .photo-hero-image { object-position: 62% center; }
.tool-feature { margin: 40px 24px 0; padding-block: 60px; border-radius: 6px; background: #f4f9ff; scroll-margin-top: 24px; }
.tools-main .tool-feature .container { width: min(1312px, calc(100% - 80px)); }
.tool-prototype { display: grid; grid-template-columns: 0.95fr 1fr; gap: 64px; align-items: center; min-height: 500px; }
.tool-prototype-copy h2 { margin-top: 14px; font-size: 48px; line-height: 1.15; letter-spacing: -0.035em; }
.tool-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 5px; background: #e8f3ff; color: #075bbb; font-size: 13px; line-height: 1.4; white-space: nowrap; }
.tool-prototype-copy > .tool-badge { margin-top: 12px; }
.tool-intro { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.tool-benefits { display: grid; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.tool-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; }
.tool-benefits li > span { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #e5f2ff; color: var(--blue); }
.tool-benefits svg { width: 22px; height: 22px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.demo-video-button { font-family: inherit; gap: 12px; }
.demo-video-button > svg { width: 20px; height: 20px; flex-shrink: 0; }
.demo-video-button:disabled { opacity: 0.86; cursor: not-allowed; }
.tool-actions .button-secondary { color: var(--blue); border-color: #8bb2d9; background: #ffffff99; }
.tool-demo { min-width: 0; margin: 0; }
.tool-demo-caption { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--navy); font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 15px; font-style: italic; line-height: 1.4; }
.tool-demo-caption > svg { width: 56px; height: 48px; flex-shrink: 0; }
.tool-demo-caption span { max-width: 245px; text-align: center; }
.tool-video-frame { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid #d9e3ef; border-radius: 8px; box-shadow: 0 8px 24px #081f4710; background: var(--white); }
.tool-video-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.tool-video-play { position: absolute; left: 49%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 15%; min-width: 44px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: #41464bef; cursor: not-allowed; }
.tool-video-play > svg { width: 46%; height: auto; margin-left: 3%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tools-coming { padding-block: 56px 64px; }
.tools-coming h2 { margin-top: 12px; font-size: 42px; line-height: 1.15; letter-spacing: -0.035em; }
.tools-coming > p:not(.home-eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.upcoming-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.upcoming-card { padding: 22px; }
.upcoming-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.upcoming-card-top > svg { width: 40px; height: 40px; color: var(--blue); flex-shrink: 0; }
.upcoming-card .tool-badge { font-size: 12px; }
.upcoming-card h3 { margin: 16px 0 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.025em; }
@media (max-width: 1199px) {
  .tool-prototype { grid-template-columns: 1fr; gap: 32px; }
  .tool-prototype-copy { max-width: 760px; }
  .tool-demo { width: min(100%, 820px); justify-self: center; }
  .tool-video-frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 1000px) {
  body[data-page="outils"] .container { width: calc(100% - 64px); }
  .tools-main .photo-hero { min-height: 500px; padding-block: 64px; }
  .tools-main .photo-hero h1 { font-size: 46px; }
  .tools-main .photo-hero-image { object-position: center; }
  .tool-feature { margin: 24px 16px 0; padding-block: 36px 40px; }
  .tools-main .tool-feature .container { width: calc(100% - 32px); }
  .tool-prototype-copy h2 { font-size: 40px; }
  .upcoming-card { padding: 18px; }
  .upcoming-card-top { flex-wrap: wrap; }
  .upcoming-card h3 { font-size: 20px; }
}
@media (max-width: 600px) {
  body[data-page="outils"] .container { width: calc(100% - 40px); }
  body[data-page="outils"] .brand img { width: 140px; }
  body[data-page="outils"] .header-inner { min-height: 0; }
  body[data-page="outils"] .header-cta { min-height: 40px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .tools-main .photo-hero { min-height: 0; padding: 32px 0 0; }
  .tools-main .photo-hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .tools-main .photo-hero-image { object-position: 68% center; }
  .tools-main .hero-actions .button { width: 100%; }
  .tool-feature { margin: 16px 0 0; padding-block: 32px; border-radius: 0; }
  .tools-main .tool-feature .container { width: calc(100% - 40px); }
  .tool-prototype { min-height: 0; gap: 28px; }
  .tool-prototype-copy h2 { font-size: 32px; }
  .tool-intro { font-size: 17px; }
  .tool-benefits li { font-size: 16px; }
  .tool-actions { flex-direction: column; gap: 12px; margin-top: 24px; }
  .tool-actions .button { width: 100%; }
  .demo-video-button { justify-content: center; }
  .tool-demo-caption { font-size: 14px; }
  .tool-demo-caption > svg { width: 44px; }
  .tools-coming { padding-block: 36px; }
  .tools-coming h2 { font-size: 29px; }
  .tools-coming > p:not(.home-eyebrow) { font-size: 17px; }
  .upcoming-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .upcoming-card { padding: 22px; }
  .upcoming-card-top { flex-wrap: nowrap; }
  .upcoming-card h3 { font-size: 22px; }
}

@media (min-width: 1200px) {
  .tools-main .photo-hero-image { width: 64%; object-position: left center; }
}


/* Contact : seuls les éléments de la nouvelle page sont ciblés. */
body[data-page="contact"] .container { width: min(1312px, calc(100% - 128px)); }
body[data-page="contact"] .header-inner { min-height: 84px; }
body[data-page="contact"] .main-nav { margin-inline: auto; }
body[data-page="contact"] .brand img { width: 190px; }
.contact-main .photo-hero { min-height: 560px; padding-block: 100px 96px; }
.contact-main .photo-hero h1 { font-size: 64px; max-width: 650px; }
.contact-main .photo-hero .hero-copy { max-width: 600px; }
.contact-main .photo-hero-note { width: 252px; bottom: 36px; }
.contact-main .photo-hero-note p { font-size: 16px; }
body[data-page="contact"] .contact-content { width: min(1376px, calc(100% - 64px)); }
.contact-content { display: grid; grid-template-columns: 1.75fr 1fr; gap: 40px; padding-block: 36px 40px; align-items: start; }
.contact-form-panel { padding: 36px 40px 24px; background: #f4f9ff; border-radius: 6px; }
.contact-form-panel h2 { font-size: 34px; line-height: 1.2; }
.contact-form-panel > p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.contact-form { margin-top: 28px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 14px; line-height: 1.4; font-weight: 600; }
.contact-field label span { color: var(--blue); }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #dbe4ee; border-radius: 4px; background: var(--white); color: var(--navy); font: inherit; font-size: 16px; line-height: 1.4; }
.contact-field textarea { min-height: 176px; resize: vertical; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.contact-field [aria-invalid="true"] { border-color: #aa2533; }
.contact-field-error { margin: 7px 0 0; color: #aa2533; font-size: 13px; line-height: 1.5; }
.contact-submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.contact-submit { font-family: inherit; min-width: 260px; gap: 18px; cursor: pointer; }
.contact-submit:focus-visible, .contact-form-status:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.contact-submit:disabled { cursor: wait; opacity: 0.76; }
.contact-submit-row > p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.contact-form-status { min-height: 24px; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.contact-form-status[data-state="error"] { color: #aa2533; }
.contact-form-status[data-state="success"] { color: #1a6547; }
.contact-sidebar { padding: 24px 16px 0 0; }
.contact-sidebar > h2 { font-size: 26px; line-height: 1.25; }
.contact-channels { display: grid; gap: 32px; margin-top: 32px; }
.contact-channel { display: flex; align-items: flex-start; gap: 22px; }
.contact-channel-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: #eff7ff; color: var(--blue); }
.contact-channel-icon svg { width: 28px; height: 28px; }
.contact-channel h3, .contact-first-meeting h3 { margin: 5px 0 0; font-size: 18px; line-height: 1.4; }
.contact-channel p { margin: 5px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.contact-channel a { color: var(--blue); }
.contact-first-meeting { display: flex; align-items: flex-start; gap: 20px; margin-top: 40px; padding: 26px; border-radius: 5px; background: #f1f8ff; }
.contact-first-meeting p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.contact-reasons { padding-block: 24px 56px; }
.contact-reasons > h2 { margin-top: 12px; font-size: 38px; line-height: 1.15; }
.contact-reasons .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.contact-reasons .feature-list h3 { margin: 0; font-size: 22px; line-height: 1.25; }
@media (max-width: 1199px) {
  .contact-content { grid-template-columns: 1.4fr 1fr; gap: 28px; }
  .contact-form-panel { padding-inline: 28px; }
  .contact-submit-row { align-items: flex-start; }
  .contact-first-meeting { padding: 22px; gap: 16px; }
}
@media (max-width: 1000px) {
  body[data-page="contact"] .container, body[data-page="contact"] .contact-content { width: calc(100% - 64px); }
  .contact-main .photo-hero { min-height: 500px; padding-block: 64px; }
  .contact-main .photo-hero h1 { font-size: 52px; }
  .contact-main .photo-hero-note { bottom: auto; width: 270px; }
  .contact-content { grid-template-columns: 1fr; }
  .contact-sidebar { padding: 0; }
  .contact-form-panel h2 { font-size: 30px; }
  .contact-reasons > h2 { font-size: 32px; }
  .contact-reasons .feature-list { gap: 28px; }
}
@media (max-width: 600px) {
  body[data-page="contact"] .container, body[data-page="contact"] .contact-content { width: calc(100% - 40px); }
  body[data-page="contact"] .brand img { width: 140px; }
  body[data-page="contact"] .header-inner { min-height: 0; }
  body[data-page="contact"] .header-cta { min-height: 40px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .contact-main .photo-hero { min-height: 0; padding: 32px 0 0; }
  .contact-main .photo-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .contact-main .photo-hero-note { width: calc(100% - 80px); }
  .contact-content { padding-block: 24px 32px; gap: 28px; }
  .contact-form-panel { padding: 24px 20px 18px; }
  .contact-form-panel h2 { font-size: 27px; }
  .contact-form-panel > p { font-size: 16px; }
  .contact-fields { grid-template-columns: 1fr; gap: 16px; }
  .contact-submit { min-width: 0; width: 100%; }
  .contact-submit-row > p { font-size: 12px; }
  .contact-sidebar > h2 { font-size: 25px; }
  .contact-channels { gap: 24px; }
  .contact-first-meeting { padding: 22px; }
  .contact-reasons { padding-block: 0 36px; }
  .contact-reasons > h2 { font-size: 29px; }
  .contact-reasons .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .contact-reasons .feature-list h3 { font-size: 22px; }
}
