/* =========================================================
   ISND Maternel — Design system
   Même architecture que le site du secondaire (header compact,
   bandeau de titre, sous-onglets, cartes), avec la charte du
   projet Canva maternel : violet, lilas et bleu.
   ========================================================= */

:root{
  /* Couleurs de marque (projet Canva) */
  --violet: #422e53;        /* header, footer, titres */
  --violet-2: #563d6c;      /* dégradés */
  --violet-dark: #2f2040;
  --lilas: #d4accf;         /* bandeaux de section, accents doux */
  --lilas-pale: #ebdbe8;    /* fonds de blocs */
  --lilas-ghost: #f4ecf3;
  --bleu: #4895ef;          /* accent : onglet actif, boutons, liens */
  --bleu-dark: #2f78d4;
  --bg: #f6f4f9;            /* fond de page */
  --white: #ffffff;
  --text: #24202b;
  --text-soft: #5f566b;
  --border: #e7dfec;
  --error: #b02e5e;
  --shadow: 0 4px 18px rgba(66, 46, 83, .08);
  --shadow-hover: 0 10px 26px rgba(66, 46, 83, .14);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --header-h: 60px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; height: 100%; }
body{
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body > main{ flex: 1 0 auto; }
body > .site-footer{ flex-shrink: 0; }
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--bleu-dark); }
a:hover{ color: var(--violet); }
p{ margin: 0 0 .85em; }
ul, ol{ margin: 0 0 .85em; padding-left: 1.25em; }
li + li{ margin-top: .3em; }
h1, h2, h3, h4{ font-family: var(--font-head); color: var(--violet); margin: 0 0 .5em; line-height: 1.25; }
h3{ font-size: 1.05rem; }
strong{ font-weight: 700; }
[id]{ scroll-margin-top: calc(var(--header-h) + 70px); }
.sr-only{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link{ position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus{ left: 0; }

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--pad{ padding-top: 36px; padding-bottom: 48px; }
.container--narrow{ max-width: 980px; }
.stack > * + *{ margin-top: 28px; }
.muted{ color: var(--text-soft); }
.center{ text-align: center; }

/* ---------- Header / Nav (compact, une ligne) ---------- */
.site-header{
  background: var(--violet);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand{ display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img{ height: 36px; width: auto; flex-shrink: 0; }
.brand span{
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand:hover span{ color: var(--white); }
.main-nav{ display: flex; gap: 2px; justify-content: flex-end; }
.main-nav a{
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  color: rgba(255,255,255,.8); text-decoration: none;
  padding: 8px 11px; border-radius: 8px; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover{ background: rgba(255,255,255,.1); color: var(--white); }
.main-nav a.is-active{ background: var(--bleu); color: var(--white); }
.nav-toggle{
  display: none; background: transparent; border: 0; color: var(--white);
  padding: 6px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg{ width: 26px; height: 26px; }

/* ---------- Bandeau de titre de page ---------- */
.page-title-band{
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-2) 100%);
  border-bottom: 3px solid var(--lilas);
}
.page-title-band .container{ padding-top: 18px; padding-bottom: 18px; }
.page-title-band h1{ color: var(--white); font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 0; }
.page-title-band p{ color: rgba(255,255,255,.7); font-size: .9rem; margin: 4px 0 0; }
.page-title-band .crumb a{ color: rgba(255,255,255,.75); text-decoration: none; }
.page-title-band .crumb a:hover{ color: var(--white); text-decoration: underline; }

/* ---------- Sous-onglets (pages d'une même rubrique) ---------- */
.subnav{
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: var(--header-h); z-index: 90;
}
.subnav::after{
  content: ''; position: absolute; top: 0; right: 0; bottom: 1px; width: 32px;
  background: linear-gradient(to right, transparent, var(--white)); pointer-events: none;
}
.subnav .container{ display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar{ display: none; }
.subnav a{
  display: inline-block; padding: 14px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  color: var(--text-soft); text-decoration: none;
  border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.subnav a:hover{ color: var(--violet); }
.subnav a.is-active{ color: var(--bleu-dark); border-bottom-color: var(--bleu); }

/* ---------- Titres de bloc ---------- */
.section-bar{
  background: var(--lilas); border-radius: var(--radius);
  padding: 14px 24px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.section-bar h2{ margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); letter-spacing: .01em; }
.section-bar a{ font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--violet); text-decoration: none; }
.section-bar a:hover{ text-decoration: underline; }
.section-bar--center{ justify-content: center; text-align: center; }
.block-title{ font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.block-title::before{ content: ''; width: 6px; height: 1.1em; border-radius: 3px; background: var(--bleu); flex-shrink: 0; }

/* ---------- Cartes ---------- */
.card{ background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 28px; }
.card > :last-child{ margin-bottom: 0; }
.card--soft{ background: var(--lilas-ghost); box-shadow: none; border: 1px solid var(--border); }
.grid-2{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 > .card, .grid-3 > .card{ height: 100%; }
.grid-2 > *, .grid-3 > *{ min-width: 0; }

.icon-head{ display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.icon-head h3{ margin: 0; }
.ico-circle{
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--lilas-pale); color: var(--violet);
  display: grid; place-items: center;
}
.ico-circle svg{ width: 24px; height: 24px; }

.info-box{
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-left: 5px solid var(--bleu);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px;
}
.info-box--warn{ border-left-color: var(--lilas); background: var(--lilas-ghost); box-shadow: none; }
.info-box > svg{ flex-shrink: 0; width: 28px; height: 28px; color: var(--violet); margin-top: 2px; }
.info-box > div > :last-child{ margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--white); background: var(--bleu);
  border: 0; border-radius: 999px; padding: 13px 26px;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover{ background: var(--bleu-dark); color: var(--white); transform: translateY(-1px); }
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }
.btn--violet{ background: var(--violet); }
.btn--violet:hover{ background: var(--violet-dark); }
.btn--outline{ background: transparent; color: var(--violet); box-shadow: inset 0 0 0 2px var(--lilas); }
.btn--outline:hover{ background: var(--lilas-pale); color: var(--violet); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Cartes de liens (pages d'aperçu) ---------- */
.link-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.link-cards a{
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.link-cards a:hover{ border-color: var(--bleu); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.link-cards .ico{ width: 42px; height: 42px; color: var(--bleu); }
.link-cards h3{ margin: 0; font-size: 1rem; }
.link-cards p{ margin: 0; font-size: .88rem; color: var(--text-soft); }

/* Lien mis en avant (entrée principale) */
.featured-link{
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(120deg, var(--bleu) 0%, var(--bleu-dark) 100%);
  color: var(--white); text-decoration: none;
  border-radius: var(--radius-lg); padding: 22px 26px;
  box-shadow: 0 8px 22px rgba(72,149,239,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.featured-link:hover{ color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(72,149,239,.36); }
.featured-link .ico{ flex-shrink: 0; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.2); }
.featured-link__text{ flex: 1 1 auto; }
.featured-link h3{ margin: 0 0 2px; color: var(--white); font-size: 1.08rem; }
.featured-link p{ margin: 0; font-size: .9rem; color: rgba(255,255,255,.88); }
.featured-link .arrow{ flex-shrink: 0; width: 22px; height: 22px; transition: transform .15s ease; }
.featured-link:hover .arrow{ transform: translateX(4px); }

/* ---------- Accueil ---------- */
.home-hero{ padding-top: 28px; }
.home-hero__img{
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 1672 / 941; max-height: 520px; width: 100%; background: var(--lilas-pale);
}
.home-hero__img img{ width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.home-welcome{ text-align: center; max-width: 920px; margin: 30px auto 0; }
.home-welcome h1{ font-size: clamp(1.45rem, 3.2vw, 2.1rem); margin-bottom: 8px; }
.home-welcome p{ color: var(--text-soft); font-size: 1.08rem; margin: 0; }


.home-section{ margin-top: 46px; }


/* ---------- Actualités ---------- */
.actus-cards{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.actu-card{
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
}
.actu-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--text); }
.actu-card__img{ aspect-ratio: 16/9; background: var(--lilas-pale); overflow: hidden; }
.actu-card__img img{ width: 100%; height: 100%; object-fit: cover; }
.actu-card__img--empty{ display: grid; place-items: center; color: var(--lilas); }
.actu-card__img--empty img{ width: 64px; height: auto; object-fit: contain; opacity: .55; }
.actu-card__body{ padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.actu-card__date{ font-size: .82rem; color: var(--text-soft); }
.actu-card h3{ margin: 0; font-size: 1.02rem; }
.actu-card p{ margin: 0; font-size: .92rem; color: var(--text-soft); }
.actu-card__more{ margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--bleu-dark); }

.actus-panel{ background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 6px 34px; }
.actu-item{ padding: 30px 0; border-bottom: 1px solid var(--border); }
.actu-item:last-child{ border-bottom: 0; }
.actu-item__tag{
  display: inline-block; background: var(--lilas-pale); color: var(--violet);
  font-family: var(--font-head); font-weight: 600; font-size: .75rem;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.actu-item h2{ font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-bottom: 4px; }
.actu-item__meta{ color: var(--text-soft); font-size: .88rem; margin-bottom: 16px; }
.actu-item__content{ max-width: 860px; }
.actu-item__content img{ border-radius: var(--radius); margin: 12px 0; }
.actu-item__content figure{ margin: 12px 0; }
.actu-item__content > :last-child{ margin-bottom: 0; }
.actus-state{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 200px; text-align: center; color: var(--text-soft); padding: 40px 24px;
  grid-column: 1 / -1;
}
.actus-state svg{ width: 40px; height: 40px; color: var(--lilas); }
.actus-state p{ margin: 0; max-width: 440px; }
.actus-state.is-error{ color: var(--error); }
.actus-more{ text-align: center; padding: 6px 0 28px; }
.actus-layout{ display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.actus-aside{ position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.actus-aside img{ border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Contenu WordPress (le CSS de WordPress n'est pas chargé ici) */
.actu-item__content .wp-block-columns{ display: flex; gap: 24px; align-items: flex-start; margin: 12px 0; }
.actu-item__content .wp-block-column{ flex: 1 1 0; min-width: 0; }
.actu-item__content .wp-block-column.is-vertically-aligned-center{ align-self: center; }
.actu-item__content .aligncenter, .actu-item__content .has-text-align-center{ margin-left: auto; margin-right: auto; text-align: center; }
.actu-item__content .alignleft{ float: left; margin: 0 20px 12px 0; }
.actu-item__content .alignright{ float: right; margin: 0 0 12px 20px; }
.actu-item__content::after{ content: ""; display: block; clear: both; }
.actu-item__content figcaption{ font-size: .85rem; color: var(--text-soft); text-align: center; }
.actu-item__content .wp-block-button__link{ display: inline-block; background: var(--bleu); color: var(--white); padding: 10px 20px; border-radius: 999px; text-decoration: none; font-family: var(--font-head); font-weight: 700; }
.actu-item__content iframe, .actu-item__content video{ max-width: 100%; }

/* ---------- Notre école ---------- */
.media-card{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.media-card img{ border-radius: var(--radius); }
.photo-row{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-row img{ border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.check-list{ list-style: none; padding: 0; }
.check-list li{ position: relative; padding-left: 30px; }
.check-list li + li{ margin-top: .6em; }
.check-list li::before{
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lilas-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23422e53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

.table-wrap{ overflow-x: auto; }
table.table{ width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td{ padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th{ font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); background: var(--lilas-ghost); }
.table td:first-child{ font-family: var(--font-head); font-weight: 600; color: var(--violet); white-space: nowrap; width: 38%; }
.table tr:last-child td{ border-bottom: 0; }
.schedule-head{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.schedule-head svg{ width: 24px; height: 24px; color: var(--bleu); }
.schedule-head h3{ margin: 0; }

.map-card{ display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.map-card .map{ min-height: 380px; background: var(--lilas-pale); }
.map-card iframe{ width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-card .map-info{ padding: 28px 30px; }
.map-info h3{ font-size: .98rem; margin: 0 0 .35em; }
.map-info ul{ margin-bottom: 1.1em; }

/* ---------- Nos valeurs ---------- */
.values-layout{ display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.values-toc{ position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px; }
.values-toc p{ font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); margin: 4px 10px 8px; }
.values-toc a{ display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; color: var(--text); text-decoration: none; line-height: 1.35; }
.values-toc a:hover{ background: var(--lilas-ghost); color: var(--violet); }
.values-toc a.is-active{ background: var(--lilas-pale); color: var(--violet); font-weight: 700; }
.value{ scroll-margin-top: calc(var(--header-h) + 20px); }
.value .icon-head h2{ margin: 0; font-size: 1.2rem; }

/* ---------- Équipe ---------- */

/* ---------- Partenaires ---------- */
.partner-grid{ display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.partner-grid > *{ width: 280px; max-width: 100%; }
.partner-card{
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.partner-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--text); }
.partner-card img{ aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.partner-card div{ padding: 16px 18px 18px; }
.partner-card strong{ display: block; font-family: var(--font-head); color: var(--violet); }
.partner-card span{ font-size: .88rem; color: var(--text-soft); }
.partner-card.is-soon{ opacity: .6; }
.partner-banner{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.partner-banner img{ width: 100%; max-height: 280px; object-fit: cover; }
.contact-list{ list-style: none; padding: 0; }
.contact-list li{ display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg{ flex-shrink: 0; width: 18px; height: 18px; color: var(--bleu); margin-top: 4px; }

/* ---------- Contact ---------- */
.person-card{ display: flex; gap: 18px; align-items: flex-start; }
.avatar{
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  background: var(--violet); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.avatar--lilas{ background: var(--lilas); color: var(--violet); }
.person-card h3{ margin: 0; }
.person-card .role{ color: var(--bleu-dark); font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }

/* ---------- Immersion ---------- */
.ordered-list{ counter-reset: n; list-style: none; padding: 0; }
.ordered-list li{ counter-increment: n; position: relative; padding-left: 46px; }
.ordered-list li + li{ margin-top: 14px; }
.ordered-list li::before{
  content: counter(n) "°"; position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--lilas-pale); color: var(--violet);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
}
.steps{ list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li{ counter-increment: s; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 46px 18px 18px; position: relative; font-size: .94rem; }
.steps li + li{ margin-top: 0; }
.steps li::before{
  content: counter(s); position: absolute; top: 14px; left: 18px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--bleu); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
}

/* ---------- Composants v3 ---------- */

/* Numéros de téléphone dans le texte : lisibles, jamais coupés */
a[href^="tel:"]{ white-space: nowrap; }
p a[href^="tel:"], li a[href^="tel:"]{ color: var(--violet); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lilas); }
p a[href^="tel:"]:hover, li a[href^="tel:"]:hover{ border-bottom-color: var(--bleu); }

.lede{ font-size: 1.05rem; color: var(--text-soft); max-width: 820px; margin: 0 0 24px; }
.lede strong{ color: var(--violet); }

.btn--white{ background: var(--white); color: var(--violet); }
.btn--white:hover{ background: var(--lilas-ghost); color: var(--violet); }
.btn--ghost{ background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn--ghost:hover{ background: rgba(255,255,255,.12); color: var(--white); }

/* Notre école : vidéo compacte + liste des pages, sur un seul écran */
.ecole-intro{ display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; width: 100%; max-width: min(1240px, calc((100vh - 300px) * 2.9)); min-width: min(100%, 760px); margin: 0 auto; }
.container--tight{ padding-top: 22px; padding-bottom: 18px; }
.video-launch{
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--violet-dark);
}
.video-launch img{ width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.video-launch:hover img{ transform: scale(1.03); opacity: .92; }
.video-launch__play{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--bleu);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease;
}
.video-launch__play svg{ width: 44px; height: 44px; }
.video-launch:hover .video-launch__play{ transform: translate(-50%, -50%) scale(1.08); }
.video-launch__label{
  position: absolute; left: 16px; bottom: 16px; background: var(--violet); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px;
}
.video-dialog{ border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; overflow: visible; }
.video-dialog::backdrop{ background: rgba(30, 20, 40, .82); }
.video-dialog video{ width: 100%; display: block; border-radius: var(--radius); background: #000; max-height: 86vh; }
.video-dialog__close{
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--violet); display: grid; place-items: center;
}
.video-dialog__close svg{ width: 20px; height: 20px; }
.link-list{ display: flex; flex-direction: column; gap: 12px; }
.link-list a{
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.link-list a:hover{ border-color: var(--bleu); transform: translateX(3px); color: var(--text); }
.link-list a > strong{ flex: 1; min-width: 0; }
.link-list strong{ display: block; font-family: var(--font-head); color: var(--violet); font-size: 1rem; }

.link-list .ico-circle{ width: 40px; height: 40px; }
.link-list .ico-circle svg{ width: 20px; height: 20px; }
.link-list .chev{ width: 18px; height: 18px; color: var(--bleu); flex-shrink: 0; }
@media (max-height: 760px){
  .link-list{ gap: 8px; }
  .link-list a{ padding: 9px 16px; }
}

/* Encadré partenaire (ex. BACO dans l'horaire) */
.partner-strip{
  display: flex; align-items: center; gap: 22px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 16px 24px 16px 16px; text-decoration: none; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
}
.partner-strip:hover{ transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); }
.partner-strip img{ width: 110px; height: 78px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.partner-strip__text{ flex: 1; }
.partner-strip__text strong{ display: block; font-family: var(--font-head); color: var(--violet); margin-bottom: 2px; }
.partner-strip__text span{ font-size: .92rem; color: var(--text-soft); }
.partner-strip__cta{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--bleu-dark); white-space: nowrap; }
.partner-strip__cta svg{ width: 16px; height: 16px; }
.baco-logo{ padding: 14px; display: grid; place-items: center; }
.baco-logo img{ max-height: 150px; width: auto; }

/* Notre équipe : présentation "annuaire" */
.team-block{ background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 64px); }
.team-block__head{ padding: 22px 28px; border-bottom: 1px solid var(--border); background: linear-gradient(120deg, var(--lilas-ghost), var(--white)); }
.team-block__head h2{ margin: 0 0 2px; font-size: 1.2rem; }
.team-block__head p{ margin: 0; color: var(--text-soft); font-size: .93rem; }
.team-row{ display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 28px; }
.team-row + .team-row{ border-top: 1px solid var(--border); }
.team-row__label strong{ display: block; font-family: var(--font-head); color: var(--violet); font-size: .95rem; }
.team-row__label span{ font-size: .84rem; color: var(--text-soft); }
.team-row__people{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.person{ display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 999px; padding: 5px 16px 5px 5px; }
.person + .person{ margin-top: 0; }
.person img{ width: 44px; height: 44px; border-radius: 50%; }
.person > span:last-child{ font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--text); white-space: nowrap; }

/* Inscriptions : appel au formulaire */
.cta-panel{
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0;
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-2) 100%); color: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.cta-panel__main{ padding: 30px 32px; }
.cta-panel h2{ color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.cta-panel__main p{ color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 20px; }
.cta-panel__aside{ background: rgba(255,255,255,.08); padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.8); }
.cta-panel__label{ font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lilas); }
.tel-big{ display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.tel-big:hover{ color: var(--lilas); }
.tel-big svg{ width: 24px; height: 24px; }
.cta-panel__legal{ grid-column: 1 / -1; margin: 0; padding: 14px 32px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: rgba(255,255,255,.72); }
.cta-panel__legal a{ color: var(--white); }

/* Procédure : date limite */
.deadline{ display: flex; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px 26px 20px 20px; }
.deadline__date{
  flex-shrink: 0; width: 150px; text-align: center; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--bleu); background: var(--white);
}
.deadline__date span{ display: block; background: var(--bleu); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 6px 4px; }
.deadline__date strong{ display: block; font-family: var(--font-head); color: var(--violet); font-size: 1.3rem; padding: 14px 4px; }
.deadline__label{ font-family: var(--font-head); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bleu-dark); }
.deadline h3{ margin: 2px 0 6px; font-size: 1.1rem; }
.deadline p{ margin: 0; color: var(--text-soft); }

/* Contact */
.contact-hero{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-2) 100%); color: var(--white);
  border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow);
}
.contact-hero__label{ font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lilas); }
.contact-hero__tel{ display: block; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; margin: 2px 0 6px; }
.contact-hero__tel:hover{ color: var(--lilas); }
.contact-hero p{ margin: 0; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.contact-hero p svg{ width: 18px; height: 18px; }
.contact-hero__actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.who-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.who-card{ display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.who-card h3{ font-size: .98rem; margin-bottom: 4px; }
.who-card p{ font-size: .9rem; color: var(--text-soft); margin-bottom: 8px; }
.who-card__link{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--bleu-dark); text-decoration: none; word-break: break-word; }
.who-card__link:hover{ color: var(--violet); }
.who-card__link svg{ width: 16px; height: 16px; flex-shrink: 0; }
.person-card p{ font-size: .93rem; color: var(--text-soft); }
.person-card > div, .who-card > div{ display: flex; flex-direction: column; height: 100%; flex: 1; }
.person-card > div > .who-card__link, .who-card > div > .who-card__link{ margin-top: auto; padding-top: 6px; }
.who-grid > .who-card{ height: 100%; }

/* ---------- Pages "plein écran" (accueil, actualités) ----------
   Sur un écran d'ordinateur, la page tient dans la fenêtre : c'est la photo
   (accueil) ou la liste des actualités qui absorbe l'espace disponible. */
@media (min-width: 1000px) and (min-height: 600px){
  body.page-fit{ height: 100vh; }
  body.page-fit > main{ flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  body.page-home .home-hero{ flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding-top: 22px; padding-bottom: 24px; }
  body.page-home .home-hero__img{ flex: 1 1 0; min-height: 160px; max-height: none; width: auto; max-width: 100%; align-self: center; aspect-ratio: 1672 / 941; }
  body.page-home .home-welcome{ flex-shrink: 0; margin-top: 20px; }
  body.page-home .home-welcome .btn-row{ margin-top: 18px; }

  .fit-area{ flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 24px; }
  body.page-actus .actus-layout{ flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); }
  body.page-actus .actus-main{ min-height: 0; max-height: 100%; display: flex; flex-direction: column; }
  body.page-actus .actus-panel{ min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--lilas) transparent; }
  body.page-actus .actus-aside{ position: static; max-height: 100%; min-height: 0; }
  body.page-actus .actus-aside img{ flex: 1 1 auto; min-height: 0; object-fit: cover; }
}
.actus-aside .btn{ width: 100%; }

/* ---------- Pages au contenu centré dans l'écran ---------- */
body.page-center > main{ display: flex; flex-direction: column; }
.center-area{ flex: 1 0 auto; display: flex; align-items: center; justify-content: center; }
.center-area > *{ width: 100%; }

/* ---------- Documents : consulter / télécharger ---------- */
.doc-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc-grid--single{ grid-template-columns: 1fr; }
.doc-card{
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 20px 22px; box-shadow: var(--shadow);
}
.doc-card__ico{ position: relative; width: 48px; height: 56px; color: var(--violet); margin-bottom: 4px; }
.doc-card__ico svg{ width: 48px; height: 56px; stroke-width: 1.3; }
.doc-card__ico em{
  position: absolute; left: -8px; bottom: 6px; background: var(--error); color: var(--white);
  font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 4px;
}
.doc-card strong{ font-family: var(--font-head); color: var(--violet); font-size: 1.02rem; line-height: 1.3; }
.doc-card__sub{ font-size: .86rem; color: var(--text-soft); margin-top: -4px; }
.doc-card__actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.doc-btn{
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 15px;
  font-family: var(--font-head); font-weight: 600; font-size: .83rem; text-decoration: none;
  background: var(--lilas-ghost); color: var(--violet); transition: background .15s ease, color .15s ease;
}
.doc-btn:hover{ background: var(--lilas-pale); color: var(--violet); }
.doc-btn--main{ background: var(--bleu); color: var(--white); }
.doc-btn--main:hover{ background: var(--bleu-dark); color: var(--white); }
.doc-btn svg{ width: 16px; height: 16px; }

.pdf-dialog{ border: 0; padding: 0; width: min(1100px, 94vw); height: 92vh; max-width: none; max-height: none; border-radius: var(--radius-lg); overflow: hidden; }
.pdf-dialog[open]{ display: flex; flex-direction: column; }
.pdf-dialog::backdrop{ background: rgba(30, 20, 40, .82); }
.pdf-dialog__bar{ display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; background: var(--violet); color: var(--white); }
.pdf-dialog__title{ flex: 1; font-family: var(--font-head); font-size: .95rem; }
.pdf-dialog__close{ width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.14); color: var(--white); display: grid; place-items: center; }
.pdf-dialog__close:hover{ background: rgba(255,255,255,.25); }
.pdf-dialog__close svg{ width: 18px; height: 18px; }
.pdf-dialog iframe{ flex: 1; width: 100%; border: 0; background: #525659; }

/* ---------- Image agrandissable ---------- */
.grid-2 > .figure-card{ align-self: start; }
.figure-card{ position: relative; display: block; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px; cursor: zoom-in; }
.figure-card img{ width: 100%; border-radius: var(--radius); }
.figure-card__zoom{
  position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--violet); color: var(--white); border-radius: 999px; padding: 6px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; transition: background .15s ease;
}
.figure-card:hover .figure-card__zoom{ background: var(--bleu); }
.figure-card__zoom svg{ width: 16px; height: 16px; }
.image-dialog{ border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.image-dialog::backdrop{ background: rgba(30, 20, 40, .85); }
.image-dialog .video-dialog__close{ top: 10px; right: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.image-dialog img{ max-width: 94vw; max-height: 88vh; border-radius: var(--radius); display: block; background: var(--white); }

/* ---------- Repères (Immersion) ---------- */
.highlights{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.highlight{ background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; border-top: 4px solid var(--bleu); }
.highlight .ico-circle{ width: 52px; height: 52px; margin-bottom: 6px; }
.highlight strong{ font-family: var(--font-head); color: var(--violet); font-size: 1.12rem; }
.highlight span:last-child{ font-size: .92rem; color: var(--text-soft); }

/* ---------- Accueil : trois boutons de même importance ---------- */
.choice-btn{
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--violet); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.choice-btn__ico{
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--bleu); color: var(--white); display: grid; place-items: center;
  transition: background .15s ease;
}
.choice-btn__ico svg{ width: 20px; height: 20px; }
.choice-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--bleu); color: var(--violet); }
.choice-btn:hover .choice-btn__ico{ background: var(--violet); }

/* ---------- PSE : agenda des séances de vaccination ---------- */
.agenda{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 26px; }
.agenda__head{ display: flex; gap: 14px; align-items: center; }
.agenda__head h3{ margin: 0 0 2px; font-size: 1.08rem; }
.agenda__head p{ margin: 0; display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--text-soft); }
.agenda__head p svg{ width: 16px; height: 16px; color: var(--bleu); flex-shrink: 0; }
.agenda__slots{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agenda__slots li{ margin: 0; background: var(--lilas-ghost); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--bleu); }
.agenda__day{ font-family: var(--font-head); font-weight: 700; color: var(--violet); }
.agenda__when{ font-size: .84rem; color: var(--text-soft); }
.agenda__time{ font-family: var(--font-head); font-weight: 700; color: var(--bleu-dark); font-size: 1.05rem; margin-top: 4px; }

/* ---------- BACO : deux documents côte à côte ---------- */
.doc-grid--pair{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-grid--pair .doc-card{ padding: 18px 14px 16px; gap: 6px; }
.doc-grid--pair .doc-card__ico{ transform: scale(.8); margin-bottom: 0; }
.doc-grid--pair .doc-card strong{ font-size: .95rem; }
.doc-grid--pair .doc-card__sub{ font-size: .8rem; }
.baco-logo img{ max-height: 190px; }

/* ---------- Équipe : initiales colorées par fonction ---------- */
.ini{
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.ini--administrative{ background: var(--violet); color: var(--white); }
.ini--educative{ background: var(--bleu); color: var(--white); }
.ini--maintenance{ background: var(--lilas); color: var(--violet); }
.ini--repas{ background: #a8d5a2; color: #1f4a1a; }
.ini--parascolaire{ background: #f39a1f; color: #4a2a05; }
.team-subhead{
  padding: 12px 28px 8px; background: var(--lilas-ghost);
  border-top: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft);
}
.team-subhead + .team-row{ border-top: 0; }
.class-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 14px 28px 18px; }
.class-card{ border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--white); }
.class-card__head{ display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.class-card__head strong{ font-family: var(--font-head); color: var(--violet); font-size: 1rem; }
.class-card__sub{ font-family: var(--font-head); font-weight: 600; font-size: .72rem; color: var(--bleu-dark); background: var(--lilas-ghost); border-radius: 999px; padding: 2px 9px; }
.class-card__people{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.class-card__people .person{ background: transparent; padding: 0; margin: 0; }
.class-card__people .ini{ width: 36px; height: 36px; font-size: .8rem; }
.person__name small{ display: block; font-family: var(--font-body); font-weight: 400; font-size: .76rem; color: var(--text-soft); line-height: 1.2; }
.team-block__more{ margin: 0; padding: 14px 28px 18px; border-top: 1px solid var(--border); }
.team-block__more a{ font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-decoration: none; }

/* ---------- Notre histoire : la fondatrice ---------- */
.eyebrow{ display: block; font-family: var(--font-head); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bleu-dark); margin-bottom: 4px; }
.founder{ display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.founder__portrait{ margin: 0; text-align: center; }
.founder__portrait img{ width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 6px var(--lilas-ghost); }
.founder__portrait figcaption{ margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--violet); }
.founder__portrait figcaption span{ font-family: var(--font-body); font-weight: 400; color: var(--text-soft); font-size: .84rem; }
.founder h2, .media-card__title{ margin-bottom: 2px; font-size: 1.45rem; }
.media-card__title{ margin-bottom: 14px; }
.founder__role{ color: var(--text-soft); font-style: italic; margin-bottom: 16px; }
.timeline{ list-style: none; margin: 20px 0 0; padding: 0; border-left: 3px solid var(--lilas); }
.timeline li{ position: relative; padding: 0 0 14px 22px; margin: 0; }
.timeline li:last-child{ padding-bottom: 0; }
.timeline li::before{ content: ''; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 0 3px var(--white); }
.timeline strong{ display: block; font-family: var(--font-head); color: var(--violet); font-size: 1.05rem; }
.timeline span{ color: var(--text-soft); font-size: .95rem; }

/* ---------- Nous rejoindre : mobilité douce ---------- */
.mobility{ display: flex; gap: 18px; align-items: flex-start; }
.mobility h3{ margin-top: 8px; }
.role-dot{ display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: 2px; }

/* ---------- Crédit du pied de page (logo CynSide) ---------- */
.credit-logo{ position: relative; background: none; border: 0; padding: 0; cursor: default; display: block; }
.credit-logo img{ display: block; }
.credit-pop{ display: none; }

/* ---------- Documents : vignette illustrée par thème ---------- */
.doc-thumb{ width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 6px; }
.doc-thumb svg{ width: 38px; height: 38px; }
.doc-thumb--roi{ background: #ebdbe8; color: #422e53; }
.doc-thumb--etab{ background: #e3eefc; color: #2f78d4; }
.doc-thumb--peda{ background: #fdf0dc; color: #9a5b0a; }
.doc-thumb--educ{ background: #fbe7ee; color: #a23a62; }
.doc-thumb--etud{ background: #e3f3e6; color: #2f6b3a; }
.doc-thumb--rgpd{ background: #e8e6f8; color: #4b3fa0; }

/* ---------- Affichage selon la taille d'écran ---------- */
.show-sm{ display: none; }

/* ---------- Footer (barre compacte) ---------- */
.site-footer{ background: var(--violet); color: rgba(255,255,255,.8); }
.site-footer .container{ display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-brand{ display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand img{ height: 34px; width: auto; }
.footer-links{ display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a{ color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-decoration: none; }
.footer-links a:hover{ color: var(--lilas); }
.footer-address{ font-size: .82rem; line-height: 1.5; }
.footer-address strong{ color: var(--white); font-family: var(--font-head); font-weight: 600; }
.footer-credit{ display: flex; align-items: center; gap: 14px; font-size: .78rem; line-height: 1.45; text-align: right; }
.footer-credit img{ height: 40px; width: auto; }
.footer-brand img{ height: 40px; }

/* ---------- Retour en haut ---------- */
.back-to-top{
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bleu); color: var(--white); box-shadow: var(--shadow-hover);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover{ background: var(--bleu-dark); }
.back-to-top svg{ width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px){
  .main-nav a{ font-size: .78rem; padding: 7px 8px; }
}
@media (max-width: 1000px){
  .nav-toggle{ display: block; }
  .site-header .container{ position: relative; }
  .main-nav{
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--violet); flex-direction: column; gap: 4px;
    padding: 10px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.2);
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ font-size: .95rem; padding: 11px 14px; }
  .values-layout{ grid-template-columns: 1fr; }
  .values-toc{ display: none; }
  .actus-layout{ grid-template-columns: 1fr; }
  .actus-aside{ position: static; display: none; }
}
@media (max-width: 900px){
  .actus-cards, .doc-grid, .who-grid, .highlights{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3{ grid-template-columns: 1fr; }
  .ecole-intro{ grid-template-columns: 1fr; }
  .team-row{ grid-template-columns: 1fr; gap: 12px; }
  .cta-panel{ grid-template-columns: 1fr; }
  .media-card, .map-card{ grid-template-columns: 1fr; }
  .map-card .map, .map-card iframe{ min-height: 280px; }
  .steps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  body{ font-size: 1rem; }
  .container{ padding: 0 16px; }
  .container--pad{ padding-top: 24px; padding-bottom: 36px; }
  .grid-2, .grid-3, .photo-row, .actus-cards, .doc-grid, .who-grid, .highlights{ grid-template-columns: 1fr; }

  .card{ padding: 22px 20px; }
  .actus-panel{ padding: 4px 20px; }
  .actu-item__content .wp-block-columns{ flex-direction: column; }
  .actu-item__content .alignleft, .actu-item__content .alignright{ float: none; margin: 12px auto; }
  .home-hero{ padding-top: 16px; }
  .home-hero__img{ border-radius: var(--radius); }
  .featured-link .arrow{ display: none; }
  .back-to-top{ right: 14px; bottom: 14px; }
  .hide-sm{ display: none; }
  .show-sm{ display: inline; }
  .site-footer .container{ flex-wrap: nowrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .footer-brand{ gap: 10px; flex-wrap: nowrap; }
  .footer-brand img, .footer-credit img{ height: 32px; }
  .footer-address strong{ font-size: .88rem; }
  .footer-credit{ gap: 8px; font-size: .74rem; white-space: nowrap; }
  .credit-logo{ cursor: pointer; border-radius: 50%; }
  .credit-logo:focus-visible{ outline: 2px solid var(--lilas); outline-offset: 3px; }
  .credit-pop{
    position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 60;
    background: var(--white); color: var(--text); border-radius: var(--radius);
    box-shadow: var(--shadow-hover); padding: 10px 14px; text-align: right;
    font-size: .8rem; line-height: 1.45; white-space: nowrap;
  }
  .credit-pop strong{ color: var(--violet); font-family: var(--font-head); }
  .credit-pop::after{ content: ''; position: absolute; right: 12px; top: 100%; border: 7px solid transparent; border-top-color: var(--white); }
  .credit-logo.is-open .credit-pop{ display: block; }
  .agenda{ grid-template-columns: 1fr; padding: 20px; }
  .founder{ grid-template-columns: 1fr; gap: 20px; }
  .founder__portrait{ max-width: 200px; margin: 0 auto; }
  .team-subhead{ padding-left: 20px; padding-right: 20px; }
  /* Notre équipe sur smartphone : plus compact */
  .team-block__head{ padding: 16px 18px; }
  .team-block__head h2{ font-size: 1.12rem; }
  .team-block__head p{ font-size: .86rem; }
  .team-row{ padding: 12px 18px; gap: 8px; }
  .team-row__label strong{ font-size: .9rem; }
  .team-row__people{ gap: 6px; }
  .person{ padding: 3px 12px 3px 3px; gap: 8px; }
  .ini{ width: 32px; height: 32px; font-size: .74rem; }
  .person > span:last-child{ font-size: .8rem; }
  .team-subhead{ padding: 10px 18px 6px; font-size: .7rem; }
  .class-grid{ padding: 10px 12px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .class-card{ padding: 10px; }
  .class-card__head{ flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
  .class-card__head strong{ font-size: .92rem; }
  .class-card__sub{ font-size: .64rem; padding: 1px 7px; }
  .class-card__people{ gap: 6px; }
  .class-card__people .person{ align-items: flex-start; gap: 7px; }
  .class-card__people .ini{ width: 26px; height: 26px; font-size: .64rem; }
  .class-card__people .person > span:last-child{ white-space: normal; font-size: .78rem; line-height: 1.25; padding-top: 4px; min-width: 0; }
  .person__name small{ font-size: .68rem; }
  .team-block__more{ padding: 12px 18px 14px; }
  .team-block__more{ padding-left: 20px; padding-right: 20px; }
  .mobility{ flex-direction: column; gap: 10px; }
  .baco-layout{ display: flex; flex-direction: column; gap: 16px; }
  .baco-side{ display: contents; }
  .baco-layout > *, .baco-side > *{ margin-top: 0; }
  .baco-logo{ order: -1; padding: 12px; }
  .baco-logo img{ max-height: 110px; }
  .highlights{ gap: 8px; }
  .highlight{
    display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 0;
    align-items: center; text-align: left; padding: 12px 16px;
    border-top: 0; border-left: 4px solid var(--bleu); border-radius: var(--radius);
  }
  .highlight .ico-circle{ grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .highlight .ico-circle svg{ width: 20px; height: 20px; }
  .highlight strong{ font-size: 1rem; line-height: 1.3; }
  .highlight span:last-child{ font-size: .86rem; line-height: 1.4; }
  .btn-row .choice-btn{ width: 100%; max-width: 340px; }
  .table td:first-child{ white-space: normal; }
  .partner-strip{ flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .deadline{ flex-direction: column; align-items: flex-start; }
  .contact-hero, .cta-panel__main, .cta-panel__aside{ padding: 24px 20px; }
  .cta-panel__legal{ padding: 14px 20px; }
  .team-block__head, .team-row{ padding-left: 20px; padding-right: 20px; }
  .doc-grid--single .doc-card{ flex-wrap: wrap; }
}
@media (max-width: 480px){
  .brand span{ font-size: .88rem; }
  .info-box{ flex-direction: column; gap: 10px; }
  .person-card{ flex-direction: column; }
  .steps{ grid-template-columns: 1fr; }
  .agenda__slots{ grid-template-columns: 1fr; }
  .contact-hero__actions, .contact-hero__actions .btn{ width: 100%; }
}

/* Très petits écrans : le nom complet de l'en-tête reste lisible */
@media (max-width: 360px){
  .brand{ gap: 8px; }
  .brand img{ height: 30px; }
  .brand span{ font-size: .8rem; }
}
