/* =========================================================================
   Institut Santé Plus — styles.css
   Palette alignée sur le logo : bleu + vert, accent corail sur les CTA.
   ========================================================================= */

:root {
  --blue:        #1AA0DC;
  --blue-deep:   #0E6FA8;
  --blue-soft:   #cdeaf8;
  --green:       #34B24A;
  --green-deep:  #1E8A54;
  --green-soft:  #c9eecf;
  --accent:      #F2A65A;          /* piloté par les Tweaks */
  --accent-deep: #e08b3a;

  --ink:    #0E3A43;               /* texte titres (teal profond) */
  --body:   #2c4a50;               /* texte courant */
  --muted:  #607a80;
  --paper:  #ffffff;
  --cream:  #f3faf8;               /* fond de page */
  --mint:   #e7f6ef;
  --sky:    #e6f4fc;

  --radius: 20px;
  --r-sm: calc(var(--radius) * 0.55);
  --shadow-sm: 0 4px 18px rgba(14,58,67,.06);
  --shadow:    0 18px 48px -18px rgba(14,58,67,.22);
  --shadow-lg: 0 30px 70px -24px rgba(14,58,67,.3);

  --font-head: "Sora", "Poppins", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.container--narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--cream), #eef7f4 40%, var(--cream)); }

/* --------------------------------------------------------------- REVEAL  */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; border-radius: 100px;
  padding: 14px 26px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px var(--blue); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn--cta { background: var(--accent); color: #4a2c08; box-shadow: 0 12px 24px -10px var(--accent); }
.btn--cta:hover { background: var(--accent-deep); color: #3a2204; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------- NAV   */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav--scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(14,58,67,.07), 0 10px 30px -22px rgba(14,58,67,.5);
}
.nav-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,5vw,40px); display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-badge { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; overflow: hidden; flex: none; }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand-badge--lg { width: 64px; height: 64px; border-radius: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.18; max-width: 200px; }
.brand-text em { font-style: normal; font-size: .76rem; color: var(--green-deep); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; }
.nav-links a { font-weight: 500; font-size: .96rem; padding: 8px 14px; border-radius: 100px; color: var(--body); transition: color .2s, background .2s; position: relative; }
.nav-links a:hover { color: var(--blue-deep); }
.nav-links a.is-active { color: var(--blue-deep); background: var(--sky); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 1.5px solid rgba(14,58,67,.14); border-radius: 100px; padding: 7px 12px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--body); cursor: pointer; transition: border-color .2s, color .2s; }
.lang-btn .material-symbols-rounded { font-size: 17px; }
.lang-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.lang-short { display: none; }
.nav-cta { padding: 11px 20px; font-size: .92rem; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: #fff; border: none; border-radius: 12px; box-shadow: var(--shadow-sm); cursor: pointer; }
.burger span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 3px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 4px; padding: 0 20px;
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  box-shadow: var(--shadow);
}
.mobile-menu.is-open { max-height: 460px; padding: 16px 20px 24px; }
.mobile-menu a { padding: 13px 12px; font-weight: 500; border-radius: 12px; color: var(--ink); }
.mobile-menu a:hover { background: var(--sky); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }
.mobile-lang { display: flex; align-items: center; gap: 8px; width: 100%; text-align: start; padding: 13px 12px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--blue-deep); background: var(--sky); border: none; border-radius: 12px; cursor: pointer; margin-top: 4px; }
.mobile-lang .material-symbols-rounded { font-size: 20px; }

/* --------------------------------------------------- AFFICHE (bannière haut) */
.affiche-band { margin-top: var(--nav-h); width: 100%; line-height: 0; box-shadow: 0 10px 26px -18px rgba(14,58,67,.5); }
.affiche-band img { display: block; width: 100%; height: auto; }

/* ----------------------------------------------------------------- HERO  */
.hero { position: relative; padding: clamp(20px,3vw,38px) 0 clamp(90px,11vw,150px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.blob--green { width: 620px; height: 620px; top: -180px; right: -120px; background: radial-gradient(circle at 30% 30%, var(--green-soft), transparent 68%); }
.blob--blue { width: 560px; height: 560px; bottom: -220px; left: -160px; background: radial-gradient(circle at 60% 40%, var(--blue-soft), transparent 66%); }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(14,58,67,.05) 1.3px, transparent 1.3px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); }

.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,5vw,40px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,68px); align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--green-deep); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 8px 16px; border-radius: 100px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.pill .material-symbols-rounded { font-size: 18px; color: var(--green); }

.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.hero-copy h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero-copy h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .26em; background: var(--green-soft); border-radius: 4px; z-index: -1; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 520px; margin: 22px 0 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-reassure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(14,58,67,.1); }
.reassure-item { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 500; color: var(--body); }
.reassure-item .material-symbols-rounded { font-size: 20px; color: var(--green); }

.hero-visual { position: relative; width: 100%; justify-self: stretch; }
.hero-ph { aspect-ratio: 4/5; width: 100%; box-shadow: var(--shadow-lg); }
.hero-float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow); }
.hero-float strong { font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); display: block; line-height: 1; }
.hero-float em { font-style: normal; font-size: .8rem; color: var(--muted); }
.hf-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hf-ico .material-symbols-rounded { font-size: 24px; }
.hf-ico--green { background: var(--green); }
.hf-ico--blue { background: var(--blue); }
.hero-float--a { left: -26px; top: 16%; animation: floaty 5s ease-in-out infinite; }
.hero-float--b { right: -22px; bottom: 14%; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-float--a, .hero-float--b { animation: none; } }

.hero--centered .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero--centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero-btns, .hero--centered .hero-reassure { justify-content: center; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--cream); -webkit-mask-image: radial-gradient(120% 100% at 50% 100%, transparent 60%, #000 61%); mask-image: radial-gradient(120% 100% at 50% 100%, transparent 60%, #000 61%); display: none; }

/* --------------------------------------------------------- PLACEHOLDERS  */
.ph { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 120px; }
.ph-stripes { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 2px, transparent 2px 16px); }
.ph-ico { font-size: 40px !important; color: rgba(14,58,67,.28); }
.ph-cap { position: absolute; bottom: 12px; left: 12px; font-family: "Courier New", monospace; font-size: .72rem; letter-spacing: .02em; color: rgba(14,58,67,.55); background: rgba(255,255,255,.7); padding: 4px 9px; border-radius: 7px; }

/* ----------------------------------------------------------- STATS BAND  */
.stats-band { background: linear-gradient(120deg, var(--blue-deep), var(--green-deep)); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.4px, transparent 1.4px); background-size: 26px 26px; }
.stats-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,5vw,56px) clamp(20px,5vw,40px); display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; color: #fff; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem,4vw,3rem); display: block; line-height: 1; }
.stat-num i { font-style: normal; color: #ffd9ab; }
.stat-label { font-size: .92rem; opacity: .92; display: block; margin-top: 8px; }

/* ------------------------------------------------------------ SEC HEAD   */
.sec-head { max-width: 640px; margin: 0 auto clamp(40px,5vw,60px); text-align: center; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); background: var(--mint); padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.sec-head--light .kicker { background: rgba(255,255,255,.18); color: #fff; }
.sec-head--light h2, .sec-head--light p { color: #fff; }

/* -------------------------------------------------------------- CARDS    */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }

/* ----------------------------------------------------------- FILIÈRES    */
.filieres-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.filiere { display: flex; flex-direction: column; border-top: 4px solid var(--green); overflow: hidden; }
.filiere.tone-blue { border-top-color: var(--blue); }
.filiere:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.filiere-photo { position: relative; height: 178px; overflow: hidden; }
.filiere-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.filiere:hover .filiere-photo img { transform: scale(1.06); }
.filiere-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.filiere-ico { position: absolute; left: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--green-deep); box-shadow: var(--shadow-sm); z-index: 2; }
.filiere.tone-blue .filiere-ico { color: var(--blue-deep); }
.filiere-ico .material-symbols-rounded { font-size: 28px; }
.filiere-duree { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--cream); padding: 6px 12px; border-radius: 100px; }
.filiere-duree .material-symbols-rounded { font-size: 16px; }
.duree-note { font-style: normal; font-size: .68rem; font-weight: 600; color: var(--accent-deep); background: #fff5ea; padding: 2px 7px; border-radius: 100px; margin-left: 6px; }
.filiere-eff { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--green-deep); background: var(--mint); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.filiere.tone-blue .filiere-eff { color: var(--blue-deep); background: var(--sky); }
.filiere-eff .material-symbols-rounded { font-size: 17px; }
.filiere-eff strong { font-family: var(--font-head); font-weight: 700; }
.filiere h3 { font-size: 1.34rem; margin-bottom: 10px; }
.filiere-desc { color: var(--muted); font-size: .98rem; }
.filiere-deb { margin: 20px 0; padding-top: 18px; border-top: 1px dashed rgba(14,58,67,.14); }
.deb-title { font-family: var(--font-head); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); display: block; margin-bottom: 10px; }
.filiere-deb li { display: flex; align-items: center; gap: 8px; font-size: .94rem; padding: 3px 0; color: var(--body); }
.filiere-deb li .material-symbols-rounded { font-size: 18px; color: var(--green); }
.filiere.tone-blue .filiere-deb li .material-symbols-rounded { color: var(--blue); }
.link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); transition: gap .2s; }
.link-more .material-symbols-rounded { font-size: 19px; }
.link-more:hover { gap: 11px; }

/* ------------------------------------------------------------- ATOUTS    */
.atouts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.atout { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.atout:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.atout-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; margin-bottom: 18px; }
.atout-ico .material-symbols-rounded { font-size: 28px; }
.atout h3 { font-size: 1.16rem; margin-bottom: 8px; }
.atout p { color: var(--muted); font-size: .96rem; }

/* ------------------------------------------------------------- GALERIE   */
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; }
.gal-photo { position: relative; height: 300px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); margin: 0; }
.gal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.gal-photo:hover img { transform: scale(1.05); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 20px 16px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; background: linear-gradient(to top, rgba(14,58,67,.72), rgba(14,58,67,0)); }
@media (max-width: 760px) { .gal-photo { height: 240px; } }

/* ----------------------------------------------------------- TÉMOIGNAGES */
.temoins-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.temoin { padding: 30px; position: relative; }
.temoin:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.temoin-quote { font-size: 48px !important; color: var(--green-soft); position: absolute; top: 16px; right: 22px; }
.temoin.tone-blue .temoin-quote { color: var(--blue-soft); }
.temoin-text { font-size: 1.02rem; color: var(--body); position: relative; z-index: 1; }
.temoin-foot { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(14,58,67,.1); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; flex: none; }
.avatar-green { background: var(--green); }
.avatar-blue { background: var(--blue); }
.temoin-foot strong { display: block; font-family: var(--font-head); color: var(--ink); }
.temoin-foot em { font-style: normal; font-size: .84rem; color: var(--muted); }
.temoin--ph { border: 1.5px dashed rgba(14,58,67,.18); box-shadow: none; }
.temoin--ph .temoin-text { color: var(--muted); font-style: italic; }
.temoin--ph .temoin-foot strong { color: var(--muted); }
.temoin--ph .avatar { background: rgba(14,58,67,.12); color: var(--muted); }
.temoin--ph .avatar .material-symbols-rounded { font-size: 26px; }

/* ------------------------------------------------------------- TIMELINE  */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.timeline-line { position: absolute; top: 36px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 3px; z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-dot { width: 74px; height: 74px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; margin: 0 auto 18px; position: relative; color: var(--blue-deep); }
.step-dot .material-symbols-rounded { font-size: 32px; }
.step-num { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #4a2c08; font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.step h3 { font-size: 1.16rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; max-width: 220px; margin: 0 auto; }

/* ------------------------------------------------------------------ FAQ  */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s; }
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq-chev { transition: transform .35s; color: var(--blue); font-size: 26px !important; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.faq-body p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* --------------------------------------------------------------- CONTACT */
.contact { background: linear-gradient(180deg, var(--cream), #eef7f4); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,60px); align-items: start; }
.contact-info .sec-head { text-align: left; margin: 0 0 30px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.ci-ico .material-symbols-rounded { font-size: 24px; }
.ci-green { background: var(--green); }
.ci-blue { background: var(--blue); }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .92rem; }
.contact-list a { color: var(--body); }
.contact-list a:hover { color: var(--blue-deep); }

.map-embed { height: 260px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px,3vw,38px); }
.contact-form h3, .form-success h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px; border: 1.5px solid rgba(14,58,67,.16);
  border-radius: 12px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); transition: border-color .2s, box-shadow .2s; font-weight: 400;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky); background: #fff; }
.contact-form textarea { resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.form-error { font-size: .9rem; color: #b3261e; text-align: center; margin: 12px 0 0; font-weight: 600; }
.btn[disabled] { opacity: .65; cursor: progress; }
.form-success { text-align: center; padding: 30px 10px; }
.success-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: var(--green); margin-bottom: 18px; }
.success-ico .material-symbols-rounded { font-size: 44px; }
.form-success p { color: var(--muted); margin: 0 0 22px; }

/* ------------------------------------------------------------- FOOTER    */
.footer { background: linear-gradient(150deg, #0c3640, #0d2f3a); color: #cfe3e6; padding-top: clamp(56px,7vw,84px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.12rem; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: .92rem; color: #9fbcc1; margin: 0; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer-col a, .foot-addr { display: flex; align-items: center; gap: 8px; color: #a8c4c9; font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .material-symbols-rounded { font-size: 18px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.soc { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid !important; place-items: center; padding: 0 !important; transition: background .2s, transform .2s; }
.soc:hover { background: var(--blue); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: var(--maxw); margin: 0 auto; padding-left: clamp(20px,5vw,40px); padding-right: clamp(20px,5vw,40px); font-size: .85rem; color: #8eaab0; }
.footer-legal a:hover { color: #fff; }

/* --------------------------------------------------------- RESPONSIVE    */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .hero-float--a { left: 0; }
  .hero-float--b { right: 0; }
  .filieres-grid, .atouts-grid, .temoins-grid { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); gap: 40px 24px; }
  .timeline-line { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lang-btn { padding: 7px 11px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 32px 16px; }
  .filieres-grid, .atouts-grid, .temoins-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-float { display: none; }
  .btn { width: 100%; justify-content: center; }
  .hero-btns { flex-direction: column; }
}

/* ------------------------------------------- FILIÈRES : specs (niveau/accès/durée) */
.filiere-specs { margin: 18px 0 4px; padding-top: 18px; border-top: 1px dashed rgba(14,58,67,.14); display: grid; gap: 13px; }
.filiere-specs > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.filiere-specs dt { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.filiere-specs dt .material-symbols-rounded { font-size: 18px; color: var(--green); }
.filiere.tone-blue .filiere-specs dt .material-symbols-rounded { color: var(--blue); }
.filiere-specs dd { margin: 0; text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; }

/* ------------------------------------------------- DIRECTION / FONDATEUR */
.fondateur { background: linear-gradient(180deg, var(--cream), #eef7f4 45%, var(--cream)); }
.fond-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.fond-visual { position: relative; }
.fond-portrait { position: relative; aspect-ratio: 4/5; width: 100%; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--sky) 0%, var(--mint) 55%, var(--green-soft) 100%); box-shadow: var(--shadow-lg); }
.fond-photo { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 102%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(14,58,67,.18)); }
.fond-mono { position: absolute; top: 16px; left: 16px; width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue-deep); }
.fond-mono .material-symbols-rounded { font-size: 26px; }
.fond-namecard { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(4px); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); }
.fond-namecard strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.fond-namecard em { font-style: normal; font-size: .82rem; color: var(--blue-deep); font-weight: 600; }
.fond-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 0; }
.fond-copy p { color: var(--muted); font-size: 1.04rem; margin: 16px 0 0; line-height: 1.65; }
.fond-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.fond-points li { display: flex; align-items: center; gap: 11px; font-weight: 500; color: var(--ink); }
.fond-points li .material-symbols-rounded { font-size: 22px; color: var(--green); flex: none; }

/* ------------------------------------- RAPPEL ACCRÉDITATION (bas de page, centré) */
.accredit-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: clamp(40px,6vw,68px) 20px 4px; }
.accredit-bottom img { width: 150px; height: 150px; object-fit: contain; background: #fff; border-radius: 20px; padding: 8px; box-shadow: var(--shadow); transition: transform .3s; }
.accredit-bottom img:hover { transform: scale(1.05); }
.accredit-bottom span { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; max-width: 360px; }

@media (max-width: 860px) {
  .fond-grid { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .fond-visual { width: min(100%, 320px); }
}

/* =========================================================== ARABE / RTL */
html[lang="ar"] { --font-head: "Cairo", "Tajawal", sans-serif; --font-body: "Cairo", "Tajawal", "Segoe UI", sans-serif; }
html[lang="ar"] body { font-family: var(--font-body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.32; }
html[lang="ar"] .hero-copy h1 { line-height: 1.28; }
html[lang="ar"] .brand-text strong { max-width: none; }

/* éléments positionnés en absolu : passer à droite en RTL */
[dir="rtl"] .filiere-ico { left: auto; right: 16px; }
[dir="rtl"] .fond-mono { left: auto; right: 16px; }

/* flèches directionnelles inversées en RTL */
[dir="rtl"] .link-more .material-symbols-rounded,
[dir="rtl"] .btn--primary .material-symbols-rounded { transform: scaleX(-1); }

/* numéros / emails restent en LTR au sein du texte arabe */
[dir="rtl"] .contact-list a, [dir="rtl"] .footer-col a, [dir="rtl"] .foot-addr { unicode-bidi: plaintext; }
[dir="rtl"] .footer-col a, [dir="rtl"] .foot-addr { justify-content: flex-start; }
