:root {
  --navy: #0a1a2b;
  --ink: #152637;
  --gold: #98631b;
  --paper: #fbfaf7;
  --muted: #52606b;
  --line: #deded8;
  --container: 1280px;
  --header-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #98631b; outline-offset: 5px; }
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; }
h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.8px; margin-bottom: 18px; }
.section-space { padding-block: 64px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.btn, .text-link { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; font-weight: 650; }
.btn { padding: 12px 22px; border-radius: 32px; line-height: 1.5; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #213b50; }
.text-link { text-decoration: underline; text-decoration-color: #b0b6b8; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--gold); }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 2000; padding: 12px 18px; background: var(--navy); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
/* Identité et navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 1; min-height: 48px; }
.monogram { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #bf934f; border-radius: 50%; font: italic 29px Georgia, serif; color: var(--gold); }
.brand-copy { display: flex; flex-direction: column; gap: 5px; line-height: 1.2; }
.brand-copy strong { font-size: 16px; text-transform: uppercase; letter-spacing: 1.2px; }
.brand-copy > span { font-size: 14px; color: var(--gold); letter-spacing: .15px; max-width: 240px; line-height: 1.35; }
.brand-tagline { display: inline-block; white-space: nowrap; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav > a { min-height: 48px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 650; }
.nav > a:not(.btn) { border-bottom: 2px solid transparent; padding: 8px 0; }
.nav > a[aria-current]:not(.btn), .nav > a:not(.btn):hover { border-bottom-color: var(--gold); }
.menu-toggle { border: 1px solid var(--line); background: white; min-height: 44px; padding: 8px 12px; border-radius: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.menu-lines { display: grid; gap: 5px; width: 18px; }
.menu-lines > span { display: block; width: 18px; height: 2px; background: var(--navy); transition: transform .15s; }
.menu-toggle[aria-expanded="true"] .menu-lines > span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* Accueil : espacement relatif au conteneur, jamais au viewport extérieur */
.hero { background: linear-gradient(90deg, var(--paper) 50%, #edf2ef 50%); }
.hero-shell { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 417px); justify-content: center; align-items: center; column-gap: 48px; row-gap: 0; padding-block: 40px; }
.hero-copy { grid-column: 1; grid-row: 1; min-width: 0; padding-block: 8px; }
.hero h1 { font-size: calc(clamp(56px, 5.6vw, 80px) - 24pt); line-height: .98; white-space: nowrap; letter-spacing: calc(-3.8px + 2pt); margin-bottom: 4px; font-weight: 750; }
.signature-title { font: italic clamp(27px, 2.5vw, 36px)/1.25 Georgia, "Times New Roman", serif; color: var(--gold); margin: 10px 0 25px; }
.hero-lead { font-size: 21px; font-weight: 600; line-height: 1.45; margin-bottom: 14px; max-width: 520px; }
.hero-intro { max-width: 510px; color: var(--muted); margin-bottom: 24px; }
.hero-actions { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-image { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 100%; max-width: 417px; aspect-ratio: 103 / 100; justify-self: center; border-radius: 12px 12px 12px 100px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::before, .hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-image::before { z-index: 1; background: linear-gradient(145deg, rgba(91, 124, 111, 0.14), rgba(247, 245, 240, 0.18)); }
.hero-image::after { z-index: 2; background: linear-gradient(140deg, rgba(35, 84, 71, 0.24), transparent 45%), radial-gradient(circle at 78% 24%, rgba(196, 147, 77, 0.34), transparent 34%); }
/* Orientation compacte, cinq choix sans défilement latéral */
.needs { background: #e9e1d2; padding-block: 36px; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading h2::after { content: ""; width: 40px; height: 2px; background: var(--gold); display: block; margin: 18px auto; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.section-heading .eyebrow { color: var(--gold); margin-bottom: 14px; }
.section-heading.compact { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.section-heading.compact h2 { font-size: 25px; margin: 0; }
.section-heading.compact h2::after { display: none; }
.section-heading.compact p { font-size: 14px; }
.needs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.need { display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 12px 16px; border: 1px solid #b6a991; background: #fffdf8; color: var(--navy); border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; transition: border-color .15s, background .15s; }
.need:hover { border-color: var(--gold); background: var(--paper); }
.need > .icon { margin-left: auto; width: 18px; height: 18px; flex-basis: 18px; }
.need-icon { display: grid; place-items: center; color: var(--navy); background: #e9e1d2; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
/* Cartes de même largeur et de même hiérarchie dans les trois familles */
.activity-family + .activity-family { margin-top: 48px; }
.family-heading { display: flex; gap: 16px; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.family-number { color: var(--gold); font: italic 24px Georgia, serif; padding-top: 2px; }
.family-heading h3 { font-size: 24px; margin: 0 0 8px; }
.family-heading p { color: var(--muted); margin: 0; }
.activities-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.activity-card { --accent: #425d64; width: calc((100% - 24px) / 2); background: white; border: 1px solid #e3e1da; border-top: 3px solid var(--accent); border-radius: 14px; box-shadow: 0 6px 22px #0a1a2b05; display: flex; flex-direction: column; min-width: 0; }
.card-ines-media { --accent: #8b287f; }
.card-im-intelligence { --accent: #135db0; }
.card-ibegis, .card-ipc { --accent: #215b85; }
.card-club-senior { --accent: #223c4b; }
.card-transition-positive { --accent: #4d6b60; }
.logo-zone { padding: 20px 24px 12px; display: flex; align-items: center; justify-content: flex-start; border-bottom: 1px solid #f0eee8; border-radius: 12px 12px 0 0; }
.logo-frame { width: 170px; max-width: 100%; height: 59px; display: flex; align-items: center; justify-content: flex-start; }
.logo-zone img { object-fit: contain; object-position: left center; width: 100%; max-height: 59px; }
.card-ines-media .logo-zone img { max-width: 160px; }
.card-im-intelligence .logo-zone img { max-width: 170px; }
.card-ibegis .logo-zone img { max-width: 160px; }
.card-ipc .logo-zone img { max-width: 125px; }
.card-club-senior .logo-zone img { max-width: 155px; }
.card-transition-positive .logo-zone img { max-width: 145px; }
.card-content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.activity-kicker { color: var(--accent); font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.activity-card h4 { font-size: 24px; letter-spacing: -.4px; margin-bottom: 10px; overflow-wrap: anywhere; }
.audience { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.utility { font-weight: 650; font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.description { color: var(--muted); margin-bottom: 24px; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; min-height: 48px; padding: 12px 16px; border-radius: 8px; background: var(--navy); color: white; margin-top: auto; font-size: 15px; font-weight: 650; line-height: 1.5; }
.card-action:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Parcours textuel, sans répétition du portrait */
.journey { padding-top: 64px; }
.journey-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding: 48px; background: #edf2ef; border-radius: 16px; }
.journey-heading h2 { font-size: clamp(28px, 3vw, 38px); }
.journey-signature { display: block; color: var(--gold); font: italic 56px Georgia, serif; margin-top: 28px; }
.journey-copy p { margin-bottom: 18px; }
.journey-copy .text-link { justify-content: flex-start; }
/* Le contact est une destination à part entière */
.contact { background: var(--navy); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #dfbb7e; }
.contact p:not(.eyebrow) { color: #d2dbe1; max-width: 580px; }
.contact-inner > div > p:last-child { margin-bottom: 0; }
.contact-details { border-left: 1px solid #425361; padding-left: 40px; min-width: 0; }
.contact-location { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.contact :focus-visible { outline-color: #dfbb7e; }
/* Pied de page */
.footer { background: white; padding: 32px 0 24px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-main p { margin: 0; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.footer nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.to-top { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #bf934f; border-radius: 50%; background: var(--paper); color: var(--navy); box-shadow: 0 4px 12px #0a1a2b18; }
/* Contrastes des sections et coordonnées confirmées */
.activities { background: var(--navy); }
.activities .section-heading h2, .activities .family-heading h3 { color: #fff; }
.activities .section-heading p, .activities .family-heading p { color: #d2dbe1; }
.activities .section-heading .eyebrow, .activities .family-number { color: #dfbb7e; }
.activities .section-heading h2::after { background: #dfbb7e; }
.activities .family-heading { border-top-color: #425361; }
.activities .activity-family:focus-visible { outline-color: #dfbb7e; }
.contact-address { font-style: normal; display: grid; gap: 8px; color: #d2dbe1; }
.contact-address + .contact-address { margin-top: 20px; }
.contact-address strong { color: #dfbb7e; }
.contact-address a { width: fit-content; padding-block: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 8px; }
.contact-actions a { display: inline-flex; align-items: flex-start; min-height: 44px; width: auto; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.contact-actions a:hover { color: #fff; }
.contact-actions a:focus-visible { outline: 2px solid #dfbb7e; outline-offset: 3px; }
.contact-separator { color: #aebcc6; }

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .hero-shell { column-gap: 24px; }
  .needs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .need { grid-column: span 2; }
  .need:nth-last-child(-n+2) { grid-column: span 3; }
  .hero h1 { font-size: calc(64px - 24pt); }
  .activities-grid { gap: 20px; }
  .activity-card { width: calc((100% - 20px) / 2); }
  .journey-card { gap: 32px; padding: 36px; }
  .contact-inner { gap: 40px; }
}
@media (max-width: 800px) {
  :root { --header-height: 80px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0 12px; padding-block: 12px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; }
  .site-header.menu-enhanced .nav { position: absolute; left: 0; top: 100%; width: 100%; background: white; padding: 16px 20px 24px; flex-direction: column; align-items: stretch; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #0a1a2b10; }
  .site-header.menu-enhanced .nav > a { justify-content: center; }
  .hero-shell { padding-block: 32px; }
  .hero h1 { font-size: calc(56px - 24pt); }
  .hero-lead { font-size: 19px; }
  .needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need, .need:nth-last-child(-n+2) { grid-column: auto; }
  .need:last-child { grid-column: 1 / -1; }
  .need { padding: 12px; }
  .journey-card { grid-template-columns: 1fr; gap: 20px; }
  .journey-signature { display: none; }
  .journey-heading h2 { margin-bottom: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-details { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid #425361; }
  .footer-main { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .section-space { padding-block: 40px; }
  .brand { gap: 9px; }
  .brand-copy strong { font-size: 14px; letter-spacing: .6px; }
  .brand-copy > span { font-size: 14px; letter-spacing: 0; max-width: 180px; }
  .monogram { flex-shrink: 0; width: 40px; height: 40px; font-size: 25px; }
  .menu-toggle { padding-inline: 9px; flex-shrink: 0; }
  .header-inner > .brand { max-width: calc(100% - 92px); }
  .hero { background: var(--paper); }
  .hero-shell { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 24px; }
  .hero-copy, .hero-image, .hero-actions { grid-column: auto; grid-row: auto; }
  .hero-copy { padding: 0; }
  .hero-copy .hero-intro { margin-bottom: 0; }
  .hero h1 { font-size: calc(56px - 16pt); letter-spacing: calc(-2.5px + 2pt); }
  .signature-title { font-size: 29px; margin-bottom: 20px; }
  .hero-lead { font-size: 20px; }
  .hero-intro { margin-bottom: 20px; }
  .hero-actions { display: none; }
  .hero-image { max-width: 417px; border-radius: 10px 10px 10px 64px; }
  .needs { padding-block: 28px; }
  .needs-grid { gap: 8px; }
  .need { font-size: 14px; gap: 8px; min-height: 76px; }
  .need-icon { width: 26px; height: 30px; background: transparent; }
  .need-icon .icon { width: 21px; height: 21px; }
  .need > .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading.compact h2 { font-size: 23px; }
  .family-heading { gap: 12px; }
  .family-heading h3 { font-size: 22px; }
  .family-heading p { font-size: 15px; }
  .activity-family + .activity-family { margin-top: 36px; }
  .activity-card { width: 100%; }
  .logo-zone { padding: 18px 22px 10px; }
  .card-content { padding: 22px; }
  .journey { padding-top: 40px; }
  .journey-card { padding: 28px 24px; }
  .contact h2 { font-size: 29px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer .brand-copy > span { max-width: none; white-space: nowrap; font-size: clamp(12px, 3.75vw, 14px); }
  .footer-bottom { flex-wrap: wrap; padding-right: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Page 404 : le footer suit le contenu et reste en bas sur les écrans hauts. */
body.page-not-found { min-height: 100vh; display: flex; flex-direction: column; }
.error-main { flex: 1; width: 100%; display: grid; place-items: center; padding-block: 64px; text-align: center; }
.error-content { display: grid; justify-items: center; gap: 12px; padding-inline: 20px; }
.error-content h1 { margin: 0; font-size: clamp(24px, 3.6vw, 36px); }
@media (max-width: 800px) {
  .error-main { padding-block: 48px; }
}
