/* ======================================================
   Julie Gerecht — Style global
   v8 — harmonisation + ajustement Approche & Philo
   ====================================================== */

/* ------------------ Variables & base ------------------ */
:root{
  --blue-deep:#0a2740; --blue-ocean:#154a6b; --blue-swell:#1e658d;
  --blue-calm:#2c7aa0; --blue-foam:#e8f1f7;
  --ink:#2b3340; --body:#5e6977; --head:#4b5563; --white:#fff;

  --radius:16px; --shadow:0 10px 24px rgba(0,0,0,.10);

  --space-xs:24px; --space-sm:40px; --space-md:64px;
  --space-lg:96px; --space-xl:128px;

  --nav-h:72px;
  --approche-lift:24px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Lato",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:1rem; line-height:1.78; color:var(--body); background:var(--white);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; display:block; }
a{ text-decoration:none; color:var(--blue-calm); transition:color .2s, opacity .2s; }
a:hover{ color:var(--blue-swell); }
::selection{ background:rgba(10,39,64,.85); color:#fff; }

/* Typo */
h1,h2,h3,h4,h5,h6{ font-family:"Lato",sans-serif; color:var(--head); font-weight:300; margin:0 0 20px; }
h1{ font-size:clamp(32px,4vw,48px); line-height:1.25; }
h2{ font-size:clamp(28px,3.2vw,42px); line-height:1.25; }
h3{ font-size:clamp(20px,2vw,26px); line-height:1.3; }
p{ margin:0 0 1.05rem; }
p:last-child{ margin-bottom:0; }
.soft{ line-height:1.9; }

/* HERO */
.navbar.fixed-top + header.hero{ margin-top:0 !important; }
.hero--bg{
  position:relative; display:flex; align-items:center;
  min-height:calc(100vh - var(--nav-h));
  overflow:hidden; color:#fff; padding-top:var(--nav-h);
}
.hero-bg-wrapper{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-bg-img{
  width:100%; height:100%; object-fit:cover; object-position:center 40%;
  filter:brightness(0.72) saturate(0.9);
}
.hero-overlay{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(10,39,64,.86), rgba(10,39,64,.74)); }
.hero--bg .container{ position:relative; z-index:2; padding:4.5rem 0; }

/* Carte "À propos" */
.hero--bg .hero-card{
  display:grid;
  grid-template-columns:clamp(72px,8vw,92px) 1fr;
  align-items:start;
  padding:12px 14px;
  column-gap:12px;
  max-width:640px; width:clamp(320px,42vw,640px);
  background:rgba(255,255,255,.95); color:var(--ink);
  border:1px solid rgba(14,26,43,.08);
  border-radius:18px; box-shadow:0 8px 22px rgba(0,0,0,.12);
  text-align:left;
}
.hero--bg .hero-card img{
  width:clamp(72px,8vw,92px); height:clamp(72px,8vw,92px);
  aspect-ratio:1/1; object-fit:cover; border-radius:50%;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  grid-column:1; grid-row:1 / span 3;
}
.hero--bg .hero-card__body{ grid-column:2; min-width:0; }
.hero--bg .hero-card .small-title{
  color:var(--blue-ocean); font-weight:700; text-transform:uppercase;
  letter-spacing:.04em; font-size:.88rem; margin:0 0 .25rem 0;
}
.hero--bg .hero-card h3{ margin:.1rem 0 .35rem 0; color:var(--ink); }
.hero--bg .hero-card p{ margin:0 0 .9rem; line-height:1.9; }
@media (max-width:991.98px){
  .hero--bg .hero-card{
    grid-template-columns:clamp(64px,12vw,74px) 1fr;
    width:calc(100% - 2rem); margin:0 auto;
  }
}

/* Sections */
.section{ padding:var(--space-xl) 0; background:var(--white); }
.section--spacious{ padding:calc(var(--space-xl) + 24px) 0; }
section[id]{ scroll-margin-top:84px; }
.section h2{ position:relative; display:inline-block; padding-bottom:.5rem; margin-bottom:.75rem; }
.section h2::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:0; width:140px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--blue-swell),var(--blue-ocean));
}
.section .container-fluid{ max-width:1320px; margin:0 auto; }
@media (min-width:1400px){ .section .container-fluid{ max-width:1380px; } }
@media (min-width:1600px){ .section .container-fluid{ max-width:1480px; } }

/* Cartes (bulles) */
.minicard{
  background:#fff; border:1px solid rgba(14,26,43,.08);
  border-radius:20px; padding:1.8rem 2rem; box-shadow:var(--shadow);
  max-width:84ch;
}
.minicard h3, .minicard strong{ margin-bottom:.5rem; color:var(--ink); }
.minicard p{ margin:0 0 .95rem; }
.minicard p:last-child{ margin-bottom:0; }

/* Variante “loose” */
.minicard--loose{ line-height:1.95; letter-spacing:.005em; }

/* Espacement vertical entre cartes */
.row > [class*="col-"] > .minicard{ margin-bottom:1rem; }
@media (min-width:992px){ .row > [class*="col-"] > .minicard{ margin-bottom:1.25rem; } }

/* Approche — bande + bulles */
#approche.band-plain{
  background:var(--white);
  padding-top:calc(var(--space-lg) + 60px);
  padding-bottom:var(--space-lg);
}
#approche .band-inner{ padding-bottom:calc(var(--space-md) + 10px); }
#approche h2{ color:var(--blue-ocean); margin-bottom:.75rem; }
#approche .progression{ margin-top:.5rem; opacity:.95; }

.section[aria-labelledby="approche-title"]{
  background:var(--white);
  margin-top:-48px;
  padding:calc(var(--space-md) + 10px) 0 calc(var(--space-lg) + 16px);
  position:relative;
  overflow:visible;
}
.section[aria-labelledby="approche-title"] .row{
  position:relative;
  top:calc(var(--approche-lift) * -1);
  row-gap:clamp(24px,2.5vw,32px);
  z-index:2;
}
.section[aria-labelledby="approche-title"]::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0; height:150px;
  background:linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 30%, rgba(21,74,107,0.10) 60%, rgba(21,74,107,0.25) 100%);
  z-index:1; pointer-events:none;
}

/* Section image */
.section.has-bg{ position:relative; padding-top:calc(var(--space-xl) + 20px); padding-bottom:calc(var(--space-xl) + 30px); }
.section.has-bg > .bg-cover{ position:absolute; inset:0; background-size:cover; background-position:center 45%; }
.section.has-bg > .overlay-blue.overlay-blue--soft{ position:absolute; inset:0; background:rgba(10,39,64,.50); }
.section.has-bg .container-fluid{ position:relative; z-index:2; }
#mission h2{ color:#fff; text-shadow:0 2px 4px rgba(0,0,0,.25); margin-bottom:1rem; }
#mission h2::after{ background:#fff; opacity:.9; }
#mission .row.text-center p{ color:#fff; opacity:.96; text-shadow:0 1px 2px rgba(0,0,0,.25); max-width:72ch; margin:0 auto; }

/* Références */
.ref-list{ list-style:none; padding:0; margin:0; display:grid; gap:18px; }
.ref-card{
  display:grid; grid-template-columns:72px 1fr; align-items:start; gap:16px;
  background:#fff; border:1px solid rgba(14,26,43,.08);
  border-radius:18px; padding:1.2rem 1.4rem; box-shadow:var(--shadow);
}
.ref-logo-wrap{
  width:72px; height:72px; border-radius:14px; background:var(--blue-foam);
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(14,26,43,.08); overflow:hidden;
}
.ref-logo{ max-width:60px; max-height:60px; }
.ref-content{ min-width:0; }
.ref-title{ font-size:1.05rem; line-height:1.35; margin:0 0 .35rem 0; color:var(--ink); }

/* Footer */
#footer a{ opacity:.9; }
#footer a:hover{ opacity:1; text-decoration:underline; }
#footer .text-muted{ opacity:.8; }

/* Animations légères */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .5s, transform .5s; }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ transition:none; transform:none!important; } }

/* ===== Références – Liens ===== */
.ref-content a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease-in-out;
}
.ref-content a:hover {
  color: var(--accent, #275ef5);
  border-bottom-color: var(--accent, #ffffff);
  text-decoration: none;
  opacity: 0.9;
}

/* ===== Footer ===== */
#footer {
  background: var(--footer-bg, #0f0f10);
  color: var(--footer-fg, rgba(255,255,255,0.85));
}
#footer .border-top {
  border-color: color-mix(in srgb, currentColor 18%, transparent);
}
#footer p, #footer a { color: inherit; text-decoration: none; }
#footer a {
  border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  transition: opacity .2s ease, border-color .2s ease;
}
#footer a:hover {
  opacity: .9;
  border-bottom-color: currentColor;
}

/* ===== Approche — version corrigée ===== */
#approche.band-plain{
  padding-top: var(--space-md);
  padding-bottom: var(--space-sm);
}
.section.section--approche-list{
  padding: var(--space-lg) 0;
  background: var(--white);
}
.section[aria-labelledby="approche-title"]{ margin-top: 0; padding: var(--space-lg) 0; }
.section[aria-labelledby="approche-title"] .row{ top: 0; }
.section[aria-labelledby="approche-title"]::after{ display: none; }

.approche-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 992px){ .approche-list{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 1400px){ .approche-list{ grid-template-columns: 1fr 1fr 1fr; } }

.approche-item{
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(14,26,43,.08);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.approche-title{
  margin: 0 0 .25rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}
.approche-item .soft{ margin: 0; line-height: 1.85; }
.approche-item .soft + .soft{ margin-top: .25rem; }

/* ===== Ajustement final Approche & Philosophie ===== */
.section[aria-labelledby="approche-title"] {
  margin-top: 0;
  padding-top: calc(var(--space-md) - 20px);
  padding-bottom: calc(var(--space-md) + 10px);
}
.section[aria-labelledby="approche-title"] .row {
  top: -10px;
}

/* === Grille sur 3 colonnes === */
.approche-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;                /* par défaut : 1 colonne mobile */
}
@media (min-width: 768px) {
  .approche-list { grid-template-columns: 1fr 1fr; }   /* tablette : 2 colonnes */
}
@media (min-width: 1200px) {
  .approche-list { grid-template-columns: 1fr 1fr 1fr; } /* desktop : 3 colonnes */
}

/* === Style des cartes === */
.approche-item {
  background: #fff;
  border: 1px solid rgba(14,26,43,.08);
  border-radius: 22px;
  padding: 1.8rem 2.2rem;
  min-height: 240px;
  box-shadow: 0 8px 24px rgba(0, 10, 40, 0.06);
  display: grid;
  gap: .6rem;
  align-content: start;
}
.approche-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .4rem;
  color: var(--ink);
}
.approche-item .soft {
  font-size: 1rem;
  line-height: 1.9;
}

/* =======================================================
   APPROCHE & PHILOSOPHIE — version FULL-BLEED (plein écran)
   ======================================================= */

/* Conteneur étendu : supprime la limite Bootstrap et les marges latérales */
.section[aria-labelledby="approche-title"] .container-fluid {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* La rangée et la colonne centrale occupent toute la largeur */
.section[aria-labelledby="approche-title"] .row {
  margin-left: 0;
  margin-right: 0;
  justify-content: center;
}

.section[aria-labelledby="approche-title"] .row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

/* La grille des cartes : 3 colonnes plein écran */
.approche-list {
  list-style: none;
  margin: 0;
  padding: 0 4vw; /* petit padding latéral de respiration */
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 28px;
}

@media (min-width: 768px) {
  .approche-list {
    grid-template-columns: 1fr 1fr; /* tablette */
  }
}

@media (min-width: 1200px) {
  .approche-list {
    grid-template-columns: 1fr 1fr 1fr; /* desktop : 3 cartes en ligne */
  }
}

/* Cartes plus larges et visuelles */
.approche-item {
  background: #fff;
  border: 1px solid rgba(14,26,43,.08);
  border-radius: 24px;
  padding: 2rem 2.4rem;
  min-height: 260px;
  box-shadow: 0 8px 28px rgba(0, 10, 40, 0.06);
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.approche-title {
  font-size: 1.22rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.approche-item .soft {
  font-size: 1.02rem;
  line-height: 1.9;
}

/* Réduit encore le blanc vertical autour de la section */
.section[aria-labelledby="approche-title"] {
  margin-top: 0;
  padding-top: calc(var(--space-md) - 20px);
  padding-bottom: calc(var(--space-md) + 10px);
}
.section[aria-labelledby="approche-title"] .row {
  top: -8px;
}

/* =======================================================
   CE QUE JE PROPOSE — cartes horizontales (style Références)
   ======================================================= */

#propose {
  background: var(--white);
  padding-top: calc(var(--space-md) - 10px);
  padding-bottom: calc(var(--space-md) - 10px);
}

/* supprime l'espacement vertical trop large entre colonnes */
#propose .row {
  row-gap: 18px;
}

/* transforme les minicards en cartes horizontales */
#propose .minicard {
  display: grid;
  grid-template-columns: 72px 1fr;      /* bloc visuel + texte */
  align-items: start;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(14,26,43,.08);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  width: 100%;
  height: 100%;
}

/* petit effet au survol */
#propose .minicard:hover {
  transform: translateY(-3px);
  border-color: rgba(14,26,43,.15);
  box-shadow: 0 10px 28px rgba(0, 10, 40, 0.08);
}

/* ajoute un bloc d’icône à gauche de chaque carte (comme Références) */
#propose .minicard::before {
  content: "💡";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--blue-foam);
  font-size: 1.6rem;
  color: var(--blue-ocean);
}

/* zone texte à droite */
#propose .minicard h3 {
  margin: 0 0 .35rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}
#propose .minicard p {
  margin: 0;
  line-height: 1.9;
  font-size: 1rem;
}

/* responsive : icône et proportions réduites sur mobile */
@media (max-width: 767.98px) {
  #propose .minicard {
    grid-template-columns: 56px 1fr;
    padding: 1rem 1.2rem;
  }
  #propose .minicard::before {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

/* =======================================================
   CE QUE JE PROPOSE — cartes horizontales pleine largeur
   ======================================================= */

.section--propose-lines {
  position: relative;
  padding-top: calc(var(--space-md) - 10px);
  padding-bottom: calc(var(--space-md) - 10px);
}

/* conteneur full bleed */
.section--propose-lines .propose-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 4vw; /* léger espace latéral */
}

/* liste verticale */
.propose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* carte rectangulaire */
.propose-item {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  padding: 2rem 3rem;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.06);
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto; /* centrées visuellement */
}
.propose-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.1);
}

.propose-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.propose-item .soft {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 0.6rem;
}

/* sur très grands écrans, élargit un peu les cartes */
@media (min-width: 1600px) {
  .propose-item { max-width: 1550px; }
}

/* Sous-titre blanc dans la section "Ce que je propose" */
.section--propose-lines .text-center p.soft {
  color: #fff !important;
}

/* =======================================================
   Approche & Philo — steps (Écoute → Analyse → Pédagogie)
   ======================================================= */

.band-caption{
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.band-caption .step{
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: uppercase;
}

.band-caption .arrow{
  margin: 0 .45rem;
  opacity: .75;
}


/* Références — tous les logos sur fond blanc */
#references .ref-logo-wrap {
  background: #ffffff !important;
}