/* ===========================================================
   ESRS - Stylesheet partagé pour toutes les pages
   =========================================================== */

:root{
  --navy: #0e2a47;
  --navy-deep: #081c30;
  --navy-mid: #1a4170;
  --navy-soft: #355c84;
  --ink: #14202d;
  --ink-soft: #4a5b6e;
  --line: #d9dee5;
  --line-soft: #e9ecf1;
  --cream: #f7f5f0;
  --cream-deep: #efece4;
  --paper: #ffffff;
  --accent-teal: #2c9d96;
  --accent-amber: #e29133;
  --accent-azure: #2f7fc6;
  --accent-rose: #c84561;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== HEADER / NAV ===== */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topbar.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand{
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-logo{
  height: 38px;
  width: auto;
}
.brand-text{
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong{
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-text span{
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
@media (min-width: 760px){ .brand-text{ display: flex; } }

.nav{
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav a{
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav a:hover{ color: var(--navy); background: var(--cream); }
.nav a.active{
  color: var(--navy);
  background: var(--cream);
}
.cta-nav{
  padding: 0.55rem 1.1rem;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .2s ease;
}
.cta-nav:hover{ background: var(--navy-mid) !important; transform: translateY(-1px); }
@media (min-width: 1080px){ .nav{ display: flex; } }

.menu-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--navy);
}
@media (min-width: 1080px){ .menu-btn{ display: none; } }
.menu-btn svg{ width: 20px; height: 20px; }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  padding: 1.25rem var(--pad) 2rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu-top{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.mobile-menu nav{
  display: flex; flex-direction: column; padding-top: 1rem;
}
.mobile-menu nav a{
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 500;
}
.mobile-menu nav a.active{ color: var(--accent-teal); }

/* ===== BUTTONS ===== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary{
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(14, 42, 71, 0.5);
}
.btn-primary:hover{ background: var(--navy-mid); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover{ background: var(--cream); border-color: var(--navy-soft); }
.btn-light{
  background: #fff;
  color: var(--navy);
}
.btn-light:hover{ background: var(--cream); transform: translateY(-2px); }
.btn svg{ width: 16px; height: 16px; }

/* ===== EYEBROW ===== */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 1.5rem;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--navy-mid);
}
.eyebrow-light{ color: var(--accent-teal); }
.eyebrow-light::before{ background: var(--accent-teal); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero{
  padding: calc(4rem + 70px) var(--pad) clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(44, 157, 150, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(47, 127, 198, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero-inner{
  max-width: var(--max);
  margin: 0 auto;
}
.crumbs{
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.crumbs a{ color: var(--ink-soft); transition: color .2s; }
.crumbs a:hover{ color: var(--navy); }
.crumbs span.sep{ opacity: 0.4; }
.crumbs span.current{ color: var(--navy); font-weight: 500; }
.page-hero h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.page-hero h1 em{
  font-style: italic;
  font-weight: 300;
  color: var(--navy-mid);
}
.page-hero p.lead{
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.65;
}

/* ===== HOMEPAGE HERO ===== */
.hero{
  position: relative;
  padding: calc(5rem + 70px) var(--pad) clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(44, 157, 150, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(47, 127, 198, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px){
  .hero-inner{ grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}
.hero h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 1.5rem;
}
.hero h1 em{
  font-style: italic;
  font-weight: 300;
  color: var(--navy-mid);
}
.hero-lead{
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 36em;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.stat-num{
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-lbl{
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.hero-visual{
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.hero-visual::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(44, 157, 150, 0.2), transparent 50%);
}
.hero-visual-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-logo-block{
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  max-width: 90%;
}
.hero-logo-block img{
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.hero-visual-caption{
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-visual-caption span:first-child::before{
  content: "● ";
  color: var(--accent-teal);
}

/* ===== SECTION BASE ===== */
section{
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  position: relative;
}
.section-inner{
  max-width: var(--max);
  margin: 0 auto;
}
.section-head{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
@media (min-width: 800px){
  .section-head{ grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.section-head h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.section-head h2 em{
  font-style: italic;
  color: var(--navy-mid);
  font-weight: 300;
}
.section-head p{
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Subdued / cream background section */
.bg-cream{ background: var(--cream); }
.bg-dark{ background: var(--navy-deep); color: #e8edf4; }
.bg-dark .section-head h2{ color: #fff; }
.bg-dark .section-head h2 em{ color: rgba(255,255,255,0.6); }
.bg-dark .section-head p{ color: rgba(255,255,255,0.7); }

/* ===== ABOUT GRID ===== */
.about-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px){
  .about-grid{ grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
}
.about-text p{
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.about-text p:first-child{
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 400;
}
.about-text p:first-child::first-letter{
  font-family: var(--serif);
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  padding: 0.15em 0.1em 0 0;
  color: var(--navy);
  font-weight: 500;
}

.founder-card{
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bg-cream .founder-card{ background: var(--paper); }
.founder-photo-wrap{
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #d8dde3 0%, #b4bcc6 100%);
  overflow: hidden;
}
.founder-photo-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.founder-info{ padding: 1.75rem 1.75rem 2rem; }
.founder-info h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.founder-info .role{
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}
.founder-info p{
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.founder-meta{
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.founder-meta div b{
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.founder-meta div span{
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* Founder card — variante horizontale (photo | infos) */
.founder-card.is-row{
  display: flex;
  align-items: stretch;
}
.founder-card.is-row .founder-photo-wrap{
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.founder-card.is-row .founder-info{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}
@media (max-width: 760px){
  .founder-card.is-row{ flex-direction: column; }
  .founder-card.is-row .founder-photo-wrap{
    width: 100%;
    aspect-ratio: 1 / 1;
  }
}

/* ===== ACTIVITIES (cards 3) ===== */
.activities{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px){ .activities{ grid-template-columns: repeat(3, 1fr); } }

.activity{
  background: var(--paper);
  border-radius: 4px;
  padding: 2.25rem 1.75rem 2rem;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
  border-top: 3px solid var(--navy);
  display: flex;
  flex-direction: column;
}
.bg-cream .activity{ background: var(--paper); }
.activity:nth-child(1){ border-top-color: var(--accent-rose); }
.activity:nth-child(2){ border-top-color: var(--accent-amber); }
.activity:nth-child(3){ border-top-color: var(--accent-azure); }
.activity:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(14, 42, 71, 0.18); }
.activity-num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.activity h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.activity p{
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}
.activity ul{
  list-style: none;
  margin-top: 1rem;
}
.activity ul li{
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.activity ul li::before{
  content: "→";
  color: var(--navy-soft);
  flex-shrink: 0;
  font-weight: 700;
}
.activity-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap .2s ease, color .2s ease;
}
.activity-link:hover{ gap: 0.7rem; color: var(--navy-mid); }
.activity-link svg{ width: 14px; height: 14px; }

/* ===== PILLARS (4 axes) ===== */
.pillars{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px){ .pillars{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .pillars{ grid-template-columns: repeat(4, 1fr); } }

.pillar{
  position: relative;
  padding: 2.25rem 1.5rem 2rem;
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
  transition: transform .35s ease;
}
.bg-cream .pillar{ background: var(--paper); }
.pillar::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c);
}
.pillar:hover{ transform: translateY(-3px); }
.pillar-num{
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--c);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.pillar h4{
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.pillar ul{ list-style: none; }
.pillar ul li{
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-top: 1px dashed rgba(0,0,0,0.08);
  line-height: 1.5;
}
.pillar ul li:first-child{ border-top: none; padding-top: 0; }

/* Pillar detail (large card) */
.pillar-detail{
  background: var(--paper);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-left: 4px solid var(--c);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.bg-cream .pillar-detail{ background: var(--paper); }
@media (min-width: 800px){
  .pillar-detail{ grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
}
.pillar-detail-head .num{
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--c);
  line-height: 1;
  letter-spacing: -0.04em;
}
.pillar-detail-head .label{
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}
.pillar-detail-head h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--navy-deep);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.pillar-detail-body ul{
  list-style: none;
  display: grid;
  gap: 0;
}
.pillar-detail-body ul li{
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.55;
}
.pillar-detail-body ul li:first-child{ border-top: none; padding-top: 0; }
.pillar-detail-body ul li::before{
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--c);
  margin-top: 0.55rem;
}

/* ===== AXES DIAGRAM (accompagnement) ===== */
.axes-diagram{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 360px;
  margin: 0 auto;
}
@media (min-width: 620px){
  .axes-diagram{
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    max-width: 720px;
  }
}
@media (min-width: 1000px){
  .axes-diagram{
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: none;
  }
}

.axe-col{
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.axe-circle{
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px -6px rgba(14,42,71,0.22);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0 auto -42px;
}
.axe-circle::before{
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 7px solid var(--arc, var(--c));
  border-bottom-color: transparent;
}
.axe-circle span{
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 600;
  color: var(--c);
  line-height: 1;
}
.axe-title{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px -10px rgba(14,42,71,0.18);
  padding: 3.4rem 1rem 1.5rem;
  min-height: 158px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--c);
}
.axe-tab{
  width: 64px; height: 18px;
  background: var(--arc, var(--c));
  border-radius: 9px;
  margin: 0.7rem auto;
}
.axe-body{
  background: var(--cb);
  border-radius: 18px;
  padding: 1.7rem 1.3rem;
  color: #fff;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.axe-body p{
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0;
}
.axe-body .sep{
  display: block;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  margin: 0.6rem 0;
  font-size: 0.9rem;
  line-height: 1;
}

/* ===== TRAINING ===== */
.training-categories{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 800px){
  .training-categories{ grid-template-columns: repeat(2, 1fr); }
}
.tcat{
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,0.025);
  transition: background .25s ease, border-color .25s ease;
}
.tcat:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}
.tcat h4{
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  letter-spacing: -0.01em;
}
.tcat ul{ list-style: none; display: grid; gap: 0.45rem; }
.tcat ul li{
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.tcat ul li::before{
  content: "";
  flex-shrink: 0;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent-teal);
  margin-top: 0.55rem;
}

.training-details{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 700px){
  .training-details{ grid-template-columns: repeat(3, 1fr); }
}
.td{ display: flex; gap: 1rem; }
.td-num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-teal);
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.td-text strong{
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.td-text span{
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ===== DIGITAL ===== */
.digital-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px){ .digital-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .digital-grid{ grid-template-columns: repeat(4, 1fr); } }

.dig-card{
  background: var(--cream);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease;
}
.bg-cream .dig-card{ background: var(--paper); }
.dig-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(14, 42, 71, 0.18);
}
.dig-icon{
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px -4px rgba(14, 42, 71, 0.15);
}
.bg-cream .dig-icon{ background: var(--cream); }
.dig-icon svg{ width: 22px; height: 22px; color: var(--navy); }
.dig-card h4{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.dig-card p{
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Digital large cards */
.dig-large{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px){ .dig-large{ grid-template-columns: repeat(2, 1fr); } }
.dig-l-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s ease, transform .25s ease;
}
.dig-l-card:hover{ border-color: var(--navy-soft); transform: translateY(-3px); }
.dig-l-card .dig-icon{ box-shadow: none; background: var(--cream); }
.dig-l-card h4{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dig-l-card p{
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ===== SINGLE-FEATURE PAGE LAYOUTS ===== */
.feature-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px){
  .feature-grid{ grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
}
.feature-body p{
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1rem;
}
.feature-body p.lead-p{
  font-size: 1.15rem;
  color: var(--ink);
}
.feature-body h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}
.feature-body ul{
  list-style: none;
  margin: 1rem 0;
}
.feature-body ul li{
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink);
  font-size: 0.97rem;
}
.feature-body ul li:first-child{ border-top: none; }
.feature-body ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 8px;
  height: 1px;
  background: var(--navy);
}

.feature-side{
  background: var(--cream);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  position: sticky;
  top: 90px;
}
.bg-cream .feature-side{ background: var(--paper); }
.feature-side h4{
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-mid);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.feature-side ul{ list-style: none; display: grid; gap: 0.4rem; }
.feature-side ul a{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.9rem;
  transition: background .2s ease, color .2s ease;
}
.feature-side ul a:hover{ background: var(--paper); color: var(--navy); }
.bg-cream .feature-side ul a:hover{ background: var(--cream); }
.feature-side ul a.current{
  background: var(--navy);
  color: #fff;
}
.feature-side ul a::before{
  content: "—";
  color: var(--navy-soft);
  flex-shrink: 0;
}
.feature-side ul a.current::before{ color: var(--accent-teal); }

/* ===== CONTACT ===== */
.contact-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px){
  .contact-wrap{ grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.contact-info h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}
.contact-info h2 em{
  font-style: italic;
  color: var(--navy-mid);
  font-weight: 300;
}
.contact-info > p{
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 32em;
  line-height: 1.7;
}
.contact-rows{ display: grid; gap: 1.25rem; }
.crow{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.crow:first-child{ border-top: none; padding-top: 0; }
.crow-icon{
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.bg-cream .crow-icon{ background: var(--cream); }
.crow-icon svg{ width: 16px; height: 16px; color: var(--navy); }
.crow-text strong{
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.crow-text a, .crow-text span{
  color: var(--navy-deep);
  font-weight: 500;
  font-size: 1rem;
  transition: color .2s ease;
}
.crow-text a:hover{ color: var(--accent-teal); }

.contact-form{
  background: var(--paper);
  padding: 2rem 1.75rem 2.25rem;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.bg-cream .contact-form{ background: var(--paper); }
.contact-form h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.contact-form .sub{
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.field{ margin-bottom: 1rem; }
.field label{
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.field input, .field textarea, .field select{
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.08);
}
.field textarea{ min-height: 110px; resize: vertical; }
.contact-form .btn{
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ===== CTA BAND ===== */
.cta-band{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(44, 157, 150, 0.15), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(47, 127, 198, 0.12), transparent 50%);
}
.cta-band-inner{
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 800px){
  .cta-band-inner{ grid-template-columns: 1.5fr auto; text-align: left; gap: 3rem; }
}
.cta-band h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-band h2 em{ font-style: italic; color: rgba(255,255,255,0.65); font-weight: 300; }
.cta-band p{
  color: rgba(255,255,255,0.7);
  font-size: 0.98rem;
  max-width: 50ch;
}
.cta-band-actions{ display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* ===== FOOTER ===== */
footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem var(--pad) 2rem;
}
.foot-inner{ max-width: var(--max); margin: 0 auto; }
.foot-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
@media (min-width: 700px){
  .foot-top{ grid-template-columns: 1.5fr 1fr 1fr; }
}
.foot-brand{ max-width: 320px; }
.foot-brand img{
  background: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 3px;
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}
.foot-brand p{ font-size: 0.88rem; line-height: 1.6; }
.foot-col h5{
  font-size: 0.74rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.foot-col ul{ list-style: none; }
.foot-col li{ margin-bottom: 0.5rem; }
.foot-col a{
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color .2s ease;
}
.foot-col a:hover{ color: var(--accent-teal); }
.foot-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.foot-bottom a{
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  transition: color .2s ease;
}
.foot-bottom a:hover{ color: var(--accent-teal); }

/* ===== ANIMATIONS ===== */
.fade-up{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.in{ opacity: 1; transform: translateY(0); }
.fade-up.delay-1{ transition-delay: .08s; }
.fade-up.delay-2{ transition-delay: .16s; }
.fade-up.delay-3{ transition-delay: .24s; }
.fade-up.delay-4{ transition-delay: .32s; }

::selection{ background: var(--navy); color: #fff; }

/* WhatsApp — bouton flottant (bas gauche) */
.wa-float{
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(37, 211, 102, 0.6);
  z-index: 45;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse{
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 26px -6px rgba(37, 211, 102, 0.7);
}
.wa-float svg{
  width: 30px;
  height: 30px;
  color: #fff;
}
@media (max-width: 600px){
  .wa-float{ bottom: 1rem; left: 1rem; width: 48px; height: 48px; }
  .wa-float svg{ width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce){
  .wa-float::before{ animation: none; }
}

/* Back to top */
.totop{
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(14, 42, 71, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 40;
}
.totop.visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.totop:hover{ background: var(--navy-mid); }
.totop svg{ width: 18px; height: 18px; }

/* ===========================================================
   OPTIMISATIONS MOBILE
   =========================================================== */
@media (max-width: 600px){

  /* Espacement vertical des sections, un peu plus compact */
  section{ padding-top: 3.4rem; padding-bottom: 3.4rem; }

  /* Eyebrow plus discret sur petit écran */
  .eyebrow{
    font-size: 0.67rem;
    letter-spacing: 0.11em;
    margin-bottom: 1.1rem;
  }
  .eyebrow::before{ width: 20px; }

  /* Boutons plus compacts + pleine largeur dans le hero */
  .btn{ padding: 0.85rem 1.3rem; font-size: 0.9rem; }

  /* ----- HERO (accueil) ----- */
  .hero{ padding-top: calc(3.25rem + 70px); }
  .hero-inner{ gap: 2.25rem; }
  .hero h1{ font-size: 2.05rem; }
  .hero-lead{ font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-actions{ gap: 0.6rem; margin-bottom: 2rem; }
  .hero-actions .btn{ width: 100%; justify-content: center; }

  /* Statistiques du hero : moins serrées */
  .hero-stats{ gap: 0.7rem; padding-top: 1.5rem; }
  .stat-num{ font-size: 1.5rem; }
  .stat-lbl{ font-size: 0.69rem; line-height: 1.3; }

  /* Visuel sombre du hero : plus court, moins de vide */
  .hero-visual{
    aspect-ratio: auto;
    min-height: 290px;
    max-height: none;
    padding: 2.5rem 1.5rem;
  }
  .hero-logo-block{ padding: 1.5rem 1.25rem; }
  .hero-visual-caption{
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    left: 1.25rem; right: 1.25rem;
    bottom: 1.1rem;
  }

  /* ----- PAGE HERO (pages internes) ----- */
  .page-hero{ padding-top: calc(2.75rem + 70px); }
  .page-hero h1{ font-size: 1.9rem; }

  /* En-têtes de section */
  .section-head{ margin-bottom: 2.5rem; gap: 1.25rem; }

  /* Bandeau CTA : boutons empilés pleine largeur */
  .cta-band-actions{ width: 100%; flex-direction: column; }
  .cta-band-actions .btn{ width: 100%; justify-content: center; }

  /* Lettrine "à propos" un peu plus mesurée */
  .about-text p:first-child{ font-size: 1.06rem; }
  .about-text p:first-child::first-letter{ font-size: 3em; }

  /* Carte latérale (activités) : non collante sur mobile */
  .feature-side{ position: static; }

  /* Bouton retour-haut légèrement plus discret */
  .totop{ bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
}

