/* =================================================================
   ALTIS ENGINEERING INTERNATIONAL — Design System
   Institutionnel · minimaliste · haut de gamme
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Couleurs */
  --navy:        #0F172A;
  --navy-800:    #1E293B;
  --navy-700:    #334155;
  --navy-600:    #475569;
  --slate:       #64748B;
  --slate-300:   #CBD5E1;
  --line:        #E2E8F0;
  --bg-soft:     #F8FAFC;
  --bg-soft-2:   #F1F5F9;
  --white:       #FFFFFF;
  --bronze:      #B45309;
  --bronze-600:  #9A4708;
  --bronze-300:  #FCD9A8;
  --tech-blue:   #2563EB;

  /* Texte */
  --ink:         #0F172A;
  --ink-soft:    #334155;
  --ink-muted:   #64748B;
  --on-dark:     #E2E8F0;
  --on-dark-mut: #94A3B8;

  /* Typo */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 10px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow:    0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(15,23,42,.28);

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--tech-blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.01em; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }

/* ---------- Utilitaires layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-dark); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-mx { max-width: 62ch; margin-inline: auto; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze);
}
.section--navy .eyebrow { color: var(--bronze-300); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--bronze); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--bronze-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-size: 1.06rem; line-height: 1.05; }
.brand__name span { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  padding: .55rem .85rem; border-radius: 8px; transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--navy); background: var(--bg-soft-2); }
.nav__links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; color: var(--navy); }

@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: .25rem;
    position: absolute; left: 0; right: 0; top: 74px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow);
  }
  .nav__links.is-open a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--bg-soft-2); }
  .nav__links.is-open .btn { display: inline-flex; margin-top: .75rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(37,99,235,.20), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(180,83,9,.18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 70% 0%, #000 35%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 11vw, 8.5rem); max-width: 880px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--bronze-300); }
.hero__sub { color: var(--on-dark); font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin-top: 1.5rem; max-width: 62ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(148,163,184,.2); }
.hero__trust div { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--on-dark-mut); }
.hero__trust svg { width: 20px; height: 20px; color: var(--bronze-300); flex: none; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: var(--bronze-300);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .98rem; }
.card--num { position: relative; }
.card__num { font-size: .85rem; font-weight: 700; color: var(--bronze); letter-spacing: .08em; }

/* ---------- Service alterné ---------- */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--rev .feature__media { order: -1; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 1.75rem; }
  .feature--rev .feature__media { order: 0; }
}
.feature__index { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--bronze); text-transform: uppercase; }
.feature h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: .65rem 0 .9rem; }
.feature__media {
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--navy), var(--navy-700) 70%, var(--navy-600));
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.feature__media::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(148,163,184,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,.12) 1px, transparent 1px);
  background-size: 38px 38px;
}
.feature__media svg { width: 84px; height: 84px; color: var(--bronze-300); opacity: .85; position: relative; z-index: 1; }

/* ---------- Liste à puces stylée ---------- */
.checklist { display: grid; gap: .7rem; margin-top: 1.25rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); font-size: .98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--bronze); flex: none; margin-top: 2px; }

/* ---------- Cas-type (expertise) ---------- */
.disclaimer {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #FFFBEB; border: 1px solid var(--bronze-300); border-left: 4px solid var(--bronze);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; color: #7C2D12; font-size: .95rem;
}
.disclaimer svg { width: 22px; height: 22px; color: var(--bronze); flex: none; margin-top: 1px; }
.disclaimer strong { color: #7C2D12; }

.casetype { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.casetype + .casetype { margin-top: 2rem; }
.casetype__head { background: var(--navy); color: #fff; padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.casetype__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: .7rem; }
.casetype__head h3 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.casetype__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1rem; color: var(--on-dark-mut); font-size: .9rem; }
.casetype__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.casetype__meta svg { width: 16px; height: 16px; color: var(--bronze-300); }
.casetype__body { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .casetype__body { grid-template-columns: 1fr; } }
.casetype__col { padding: clamp(1.35rem, 3vw, 2rem); }
.casetype__col + .casetype__col { border-left: 1px solid var(--line); }
@media (max-width: 820px) { .casetype__col + .casetype__col { border-left: 0; border-top: 1px solid var(--line); } }
.casetype__col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: .85rem; }
.casetype__col p, .casetype__col li { font-size: .96rem; color: var(--ink-soft); }
.casetype__col ul { display: grid; gap: .55rem; }
.casetype__col li { display: flex; gap: .55rem; }
.casetype__col li::before { content: "›"; color: var(--bronze); font-weight: 700; }

/* ---------- Stats / piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 1.5rem; border: 1px solid rgba(148,163,184,.22); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.pillar svg { width: 28px; height: 28px; color: var(--bronze-300); margin-bottom: .9rem; }
.pillar h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.pillar p { color: var(--on-dark-mut); font-size: .92rem; }

/* ---------- CTA bandeau ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 1rem auto 0; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- À propos / ADN ---------- */
.adn { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 720px){ .adn { grid-template-columns: 1fr; } }
.adn__item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.adn__item svg { width: 24px; height: 24px; color: var(--bronze); flex: none; margin-top: 2px; }
.adn__item h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.adn__item p { font-size: .93rem; }

/* ---------- Profil expert ---------- */
.expert { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem,4vw,2.5rem); align-items: start; }
@media (max-width: 680px){ .expert { grid-template-columns: 1fr; } }
.expert__avatar {
  aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(155deg, var(--navy), var(--navy-700));
  display: flex; align-items: center; justify-content: center; color: var(--bronze-300); box-shadow: var(--shadow);
}
.expert__avatar svg { width: 72px; height: 72px; }
.placeholder { color: var(--bronze-600); background: #FFFBEB; border: 1px dashed var(--bronze); border-radius: 5px; padding: 0 .35em; font-weight: 600; font-size: .9em; }
.photo-note { font-size: .85rem; color: var(--ink-muted); margin-top: .75rem; }

/* ---------- Diplômes & certifications ---------- */
.cred { display: flex; gap: 1rem; align-items: flex-start; }
.cred__icon { flex: none; width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: var(--bronze-300); }
.cred__icon svg { width: 24px; height: 24px; }
.cred h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.cred p { font-size: .94rem; }
.cred__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: .3rem; }

/* ---------- Frise parcours ---------- */
.timeline { margin-top: 1rem; }
.timeline__item { position: relative; padding-left: 2.1rem; }
.timeline__item + .timeline__item { margin-top: 1.85rem; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--bronze); border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--line); }
.timeline__item::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: -1.85rem; width: 2px; background: var(--line); }
.timeline__item:last-child::after { display: none; }
.timeline__period { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze); }
.timeline__role { font-weight: 700; color: var(--ink); margin: .25rem 0 .45rem; font-size: 1.08rem; }
.timeline__desc { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Référence (projet) : réutilise .casetype, + ligne résultat ---------- */
.casetype__result { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 1.1rem clamp(1.35rem, 3vw, 2rem); display: flex; gap: .7rem; align-items: flex-start; }
.casetype__result svg { width: 20px; height: 20px; color: var(--bronze); flex: none; margin-top: 2px; }
.casetype__result p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
.casetype__result strong { color: var(--ink); }
.casetype__body--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .casetype__body--2 { grid-template-columns: 1fr; } }

/* ---------- Référence : emplacements images ---------- */
.ref-media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border-top: 1px solid var(--line); }
@media (max-width: 560px) { .ref-media { grid-template-columns: 1fr; } }
.ref-media__cell { background: var(--bg-soft); aspect-ratio: 16 / 10; overflow: hidden; }
.ref-media__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-media__ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--ink-muted); background-image: linear-gradient(135deg, var(--bg-soft), var(--bg-soft-2)); text-align: center; padding: 1rem; }
.ref-media__ph svg { width: 30px; height: 30px; color: var(--slate-300); }
.ref-media__ph span { font-size: .8rem; letter-spacing: .02em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.urgence {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.1rem);
  position: relative; overflow: hidden;
}
.urgence::before { content:""; position:absolute; inset:0; background: radial-gradient(90% 70% at 100% 0, rgba(180,83,9,.25), transparent 60%); }
.urgence > * { position: relative; z-index: 1; }
.urgence h3 { color: #fff; display: flex; align-items: center; gap: .6rem; }
.urgence h3 svg { width: 24px; height: 24px; color: var(--bronze-300); }
.urgence p { color: var(--on-dark); font-size: .96rem; }
.urgence__contact { margin-top: 1.5rem; display: grid; gap: 1rem; }
.urgence__row { display: flex; gap: .8rem; align-items: center; }
.urgence__row svg { width: 22px; height: 22px; color: var(--bronze-300); flex: none; }
.urgence__row a { color: #fff; font-weight: 600; font-size: 1.05rem; }
.urgence__row small { display: block; color: var(--on-dark-mut); font-weight: 400; font-size: .82rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.1rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--tech-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field--file input { padding: .6rem; background: var(--bg-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--ink-muted); margin-top: .5rem; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.is-err { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-mut); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(148,163,184,.18); }
@media (max-width: 760px){ .footer-top { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: var(--on-dark-mut); font-size: .92rem; margin-top: 1rem; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--on-dark-mut); font-size: .94rem; padding: .3rem 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-neutral {
  margin-top: 2rem; padding: 1rem 1.25rem; background: rgba(148,163,184,.08);
  border-radius: var(--radius-sm); font-size: .86rem; color: var(--on-dark-mut); font-style: italic;
  display: flex; gap: .7rem; align-items: flex-start;
}
.footer-neutral svg { width: 18px; height: 18px; color: var(--bronze-300); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: .85rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Badge adhésion / fédération ---------- */
.footer-membre { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(148,163,184,.18); }
.footer-membre__link { display: inline-flex; align-items: center; gap: 1.1rem; }
.footer-membre__tile { flex: none; background: #fff; border-radius: 12px; padding: 7px; display: inline-flex; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.footer-membre__link:hover .footer-membre__tile { transform: translateY(-2px); }
.footer-membre__tile img { width: 58px; height: 58px; display: block; }
.footer-membre__txt { color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.25; max-width: 24ch; }
.footer-membre__label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mut); font-weight: 600; margin-bottom: 2px; }

/* ---------- Page header (sous-pages) ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content:""; position:absolute; inset:0; opacity:.4;
  background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0, #000 30%, transparent 75%); mask-image: radial-gradient(120% 100% at 80% 0, #000 30%, transparent 75%);
}
.page-hero__inner { position: relative; z-index:1; padding-block: clamp(3rem, 7vw, 5rem); max-width: 760px; }
.page-hero h1 { color:#fff; }
.page-hero p { color: var(--on-dark); margin-top: 1rem; font-size: clamp(1rem,1.5vw,1.2rem); }
.breadcrumb { font-size: .85rem; color: var(--on-dark-mut); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ---------- Prose (légal) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: .75rem 0; display: grid; gap: .4rem; }
.prose a { color: var(--tech-blue); text-decoration: underline; }

/* ---------- Animations d'apparition (CSS pur, sans dépendance JS) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Le contenu est TOUJOURS visible par défaut ; l'animation n'est qu'un bonus. */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fadeUp .6s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn:hover, .card:hover { transform: none; }
}
