:root{
  --cream:#f1efe8;
  --cream2:#e0e5df;

  --terracotta:#2450ff;  /* bleu roi */
  --ochre:#2450ff;       /* jaune fluo */

  --green:#102f29;
  --green2:#4f7c6b;

  --brown:#1f2322;
  --line:#c3cac5;
  --white:#fdfcf9;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--brown);
  background:var(--cream);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

.site-header{
  background:rgba(255,250,241,.96);
  position:sticky;top:0;z-index:20;
  border-bottom:1px solid rgba(61,41,31,.08);
  backdrop-filter:blur(10px);
}
.nav{
  min-height:78px;
  display:flex;align-items:center;justify-content:space-between;gap:30px
}
.logo{
  display:flex;align-items:center;gap:12px;
  text-decoration:none;color:var(--green)
}
.logo-mark{
  width:36px;height:52px;position:relative;
}
.logo-mark:before,.logo-mark:after{
  content:"";position:absolute;background:var(--terracotta);border-radius:50%
}
.logo-mark:before{width:11px;height:11px;left:13px;top:1px}
.logo-mark:after{width:12px;height:40px;left:11px;top:13px;border-radius:70% 30% 70% 30%;transform:rotate(22deg)}
.logo-text{font-weight:800;letter-spacing:.13em;text-transform:uppercase;line-height:1.05}
.logo-text span{display:block;font-family:Georgia,serif;font-size:1.45rem;letter-spacing:.08em}
nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
nav a{text-decoration:none;font-weight:700;font-size:.93rem}
nav a:hover,nav a.active{color:var(--terracotta)}

.hero{
  position:relative;overflow:hidden;
  min-height:720px;
  background:
    linear-gradient(90deg,var(--cream) 0 34%,rgba(255,250,241,.70) 48%,rgba(255,250,241,0) 68%),
    url("assets/cours-foret.jpg") center/cover no-repeat;
}
.hero:after{
  content:"";position:absolute;right:-100px;bottom:-140px;width:520px;height:520px;
  border-radius:50%;background:var(--terracotta);opacity:0;
  clip-path:ellipse(60% 44% at 60% 50%);
}
.hero-copy{
  position:relative;z-index:2;width:min(610px,100%);padding:105px 0 90px;
}
.eyebrow{
  color:var(--terracotta);text-transform:uppercase;font-weight:800;letter-spacing:.14em;font-size:.78rem
}
h1,h2,h3{margin-top:0}
h1{
  font-family:Georgia,serif;color:var(--green);
  font-size:clamp(4rem,8vw,7rem);line-height:.9;letter-spacing:-.045em;margin-bottom:24px
}
h1 em{font-style:normal;color:var(--terracotta)}
h2{
  font-family:Georgia,serif;color:var(--green);
  font-size:clamp(2.2rem,5vw,4rem);line-height:1.02;margin-bottom:22px
}
h3{color:var(--green);font-size:1.25rem}
.hero-sub{
  font-size:1.45rem;color:var(--terracotta);max-width:520px;font-weight:700;line-height:1.25
}
.hero-text{max-width:520px;font-size:1.04rem}
.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--terracotta);color:white;padding:13px 20px;
  border-radius:0px;text-decoration:none;font-weight:800;border:2px solid var(--terracotta)
}
.btn.alt{background:var(--green);border-color:var(--green)}
.btn.outline{background:transparent;color:var(--green);border-color:var(--green)}
.btn:hover{filter:brightness(.97);transform:translateY(-1px)}

.wave{height:55px;background:var(--green);clip-path:polygon(0 35%,17% 8%,36% 52%,55% 22%,73% 56%,100% 20%,100% 100%,0 100%)}

.section{padding:80px 0}
.section.tight{padding:55px 0}
.section.alt{background:var(--cream2)}
.section.dark{background:var(--green);color:white}
.section.dark h2,.section.dark h3{color:white}
.lead{font-size:1.2rem;max-width:820px}
.center{text-align:center}
.center .lead{margin-left:auto;margin-right:auto}

.info-strip{
  margin-top:-62px;position:relative;z-index:4;
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  background:white;border-radius:0px;box-shadow:var(--shadow);overflow:hidden
}
.info-block{padding:27px 30px;display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}
.info-block + .info-block{border-left:1px solid var(--line)}
.round-icon{
  width:54px;height:54px;border-radius:50%;
  display:grid;place-items:center;background:var(--green);color:white;font-size:1.4rem;font-weight:900
}
.round-icon.orange{background:var(--terracotta)}
.info-block strong{display:block;color:var(--green);font-size:1.14rem}
.info-block .accent{color:var(--terracotta);font-weight:700}

.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.card{
  background:white;border:1px solid #eadbc6;border-radius:0px;
  padding:22px;box-shadow:0 8px 25px rgba(61,41,31,.05)
}
.icon{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  background:var(--green);color:white;font-size:1.35rem;margin-bottom:14px
}
.card:nth-child(2n) .icon{background:var(--terracotta)}
.card:nth-child(3n) .icon{background:var(--ochre)}
.card p{margin-bottom:0;font-size:.95rem}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}
.photo-card{
  border-radius:0px;overflow:hidden;box-shadow:var(--shadow);background:white
}
.photo-card img{width:100%;height:100%;object-fit:cover;min-height:430px}
.teacher-img{object-position:center 28%}
.water-img{object-position:center 42%}

.badge{
  display:inline-block;border:1px solid var(--terracotta);color:var(--terracotta);
  border-radius:0px;padding:6px 12px;font-weight:800;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em
}
.checks{list-style:none;padding:0;margin:26px 0}
.checks li{margin:10px 0;padding-left:28px;position:relative}
.checks li:before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:900}

.schedule-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px}
.schedule-card{
  background:white;border-radius:0px;padding:32px;box-shadow:var(--shadow);
  border-top:7px solid var(--terracotta)
}
.schedule-card.stage{border-top-color:var(--ochre)}
.schedule-card .big{font-family:Georgia,serif;color:var(--green);font-size:2.1rem;font-weight:700;line-height:1.1}
.notice{
  margin-top:18px;background:#fff3d5;border:1px solid #e9c475;
  border-radius:0px;padding:15px 17px
}
.date-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.date-pill{border:1px solid var(--line);border-radius:0px;padding:13px 15px;background:#fffdf9}

.quote{
  font-family:Georgia,serif;font-size:clamp(1.8rem,4vw,3rem);line-height:1.18;
  color:var(--green);max-width:900px
}
.cta{
  background:var(--terracotta);color:white;border-radius:0px;padding:38px;
  display:flex;justify-content:space-between;align-items:center;gap:30px
}
.cta h2{color:white;margin:0;font-size:clamp(2rem,4vw,3.2rem)}
.cta p{margin:8px 0 0}
.cta .btn{background:white;color:var(--terracotta);border-color:white;white-space:nowrap}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.contact-box{background:white;border-radius:0px;padding:30px;box-shadow:var(--shadow)}
.contact-box h3{margin-bottom:8px}
.small{font-size:.9rem;opacity:.8}

footer{background:var(--brown);color:white;padding:36px 0}
.footer-grid{display:flex;justify-content:space-between;gap:30px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{text-decoration:none}

@media(max-width:950px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .two-col,.schedule-grid,.contact-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .nav{align-items:flex-start;flex-direction:column;padding:14px 0}
  .site-header{position:static}
  nav{gap:12px}
  .hero{
    min-height:auto;
    background:
      linear-gradient(180deg,var(--cream) 0 50%,rgba(255,250,241,.15) 72%),
      url("assets/cours-foret.jpg") center bottom/cover no-repeat
  }
  .hero-copy{padding:65px 0 330px}
  h1{font-size:clamp(3.4rem,17vw,5.2rem)}
  .info-strip{grid-template-columns:1fr;margin-top:-34px}
  .info-block + .info-block{border-left:0;border-top:1px solid var(--line)}
  .cards{grid-template-columns:1fr}
  .date-list{grid-template-columns:1fr}
  .cta{align-items:flex-start;flex-direction:column}
}


/* Ajout page enseignant + emplacement vidéo */
.video-section{
  max-width:1100px;
  margin:auto;
  padding:60px 24px;
}
.video-placeholder{
  width:100%;
  aspect-ratio:16/9;
  max-height:520px;
  display:grid;
  place-items:center;
  text-align:center;
  background:#ff00a8;
  color:#111;
  border-radius:0px;
  font-size:clamp(1.2rem,3vw,2rem);
  font-weight:900;
  box-shadow:0 14px 35px rgba(70,40,20,.08);
}
.video-placeholder span{
  font-size:.95rem;
  font-weight:700;
}
.video-help{
  margin-top:12px;
  font-size:.88rem;
  opacity:.75;
}
.video-help code{
  background:#fff;
  padding:3px 6px;
  border-radius:0px;
}
.video-section video{
  display:block;
  width:100%;
  max-height:520px;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:0px;
  background:#000;
}


/* ===== AJOUTS VILLECARTIER / ILLUSTRATIONS / PAGE ENSEIGNANT ===== */

.feature-early{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch;
}
.feature-panel{
  background:var(--white);
  border-radius:0px;
  padding:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.feature-panel .feature-image{
  width:100%;
  height:280px;
  overflow:hidden;
  border-radius:0px;
  margin-top:20px;
  background:#e8dfd3;
}
.feature-panel .feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.feature-panel .feature-image.villecartier img{
  object-position:center 45%;
}

.illustration-punct{
  width:100%;
  max-width:320px;
  margin:24px auto 0;
  overflow:hidden;
  border-radius:0px;
  box-shadow:0 10px 28px rgba(61,41,31,.07);
  background:white;
}
.illustration-punct img{
  width:100%;
  height:230px;
  object-fit:cover;
}

/* Teacher page */
.teacher-hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:34px;
  align-items:center;
}
.teacher-main-photo{
  height:480px;
  border-radius:0px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#e9dfd2;
}
.teacher-main-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
}
.teacher-mosaic{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
  margin-top:18px;
}
.teacher-mosaic .shot{
  height:230px;
  overflow:hidden;
  border-radius:0px;
  box-shadow:var(--shadow);
}
.teacher-mosaic .shot img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.teacher-mosaic .shot.stage img{
  object-position:center 20%;
}
.teacher-mosaic .shot.sunset img{
  object-position:center 30%;
}

.teacher-story{
  display:grid;
  gap:18px;
  margin-top:18px;
}
.teacher-chapter{
  background:white;
  border-radius:0px;
  padding:26px 28px;
  box-shadow:0 10px 28px rgba(61,41,31,.06);
}
.teacher-chapter .chapter-kicker{
  color:var(--terracotta);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.76rem;
  font-weight:900;
  margin-bottom:8px;
}
.teacher-chapter h3{
  font-family:Georgia,serif;
  font-size:1.55rem;
  margin-bottom:10px;
}
.teacher-poem{
  font-family:Georgia,serif;
  font-size:clamp(1.5rem,3vw,2.25rem);
  line-height:1.25;
  color:var(--green);
  margin:0;
}
.teacher-quote{
  background:var(--green);
  color:white;
  border-radius:0px;
  padding:30px;
  margin-top:26px;
}
.teacher-quote p{
  margin:0;
  font-family:Georgia,serif;
  font-size:1.35rem;
  line-height:1.35;
}

/* Technique B&W rhythm */
.bw-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:26px;
}
.bw-strip figure{
  margin:0;
  background:white;
  border-radius:0px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.bw-strip img{
  width:100%;
  height:290px;
  object-fit:cover;
  filter:grayscale(100%);
}
.bw-strip figcaption{
  padding:14px 16px;
  font-size:.9rem;
  color:var(--brown);
}

/* Info illustration: one baobab only */
.info-baobab{
  width:min(620px,100%);
  margin:30px auto 0;
  border-radius:0px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:white;
}
.info-baobab img{
  width:100%;
  height:320px;
  object-fit:cover;
}

@media(max-width:900px){
  .feature-early,
  .teacher-hero-grid,
  .bw-strip{
    grid-template-columns:1fr;
  }
  .teacher-main-photo{height:400px}
}
@media(max-width:700px){
  .teacher-mosaic{grid-template-columns:1fr}
  .teacher-mosaic .shot{height:250px}
  .feature-panel .feature-image{height:230px}
  .info-baobab img{height:240px}
}


/* Vidéo de fond de l'accueil — remplace uniquement l'image fixe du hero */
.hero{
  background:var(--cream) !important;
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:-3;
}


/* ===== CORRECTION DÉFINITIVE : VIDÉO EN FOND DU HERO ===== */
.hero{
  position:relative !important;
  overflow:hidden !important;
  min-height:720px !important;
  background:none !important;
  isolation:isolate;
}

/* La vidéo occupe exactement tout le bandeau */
.hero-video{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:0 !important;
  margin:0 !important;
  padding:0 !important;
  z-index:0 !important;
}

/* Fondu clair à gauche pour garder le titre lisible */
.hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(
    90deg,
    rgba(255,250,241,.98) 0%,
    rgba(255,250,241,.93) 31%,
    rgba(255,250,241,.70) 43%,
    rgba(255,250,241,.22) 58%,
    rgba(255,250,241,0) 72%
  ) !important;
}

/* Le contenu reste au-dessus de la vidéo */
.hero > .container,
.hero .hero-copy{
  position:relative !important;
  z-index:3 !important;
}

/* Le rond terracotta décoratif reste visible mais derrière le texte */
.hero::after{
  z-index:2 !important;
}

/* L'ancien bloc vidéo indépendant ne doit jamais apparaître */
.video-section{
  display:none !important;
}

@media(max-width:760px){
  .hero{
    min-height:680px !important;
    background:none !important;
  }

  .hero-video{
    object-position:center center !important;
  }

  .hero::before{
    background:linear-gradient(
      180deg,
      rgba(255,250,241,.97) 0%,
      rgba(255,250,241,.88) 43%,
      rgba(255,250,241,.35) 64%,
      rgba(255,250,241,0) 82%
    ) !important;
  }
}/* Centrer et limiter la largeur de la page enseignant */

.teacher-hero-grid,
.teacher-story,
.teacher-quote {
  width: min(1300px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}.teacher-chapter {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.photo-danse {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 30px auto;
  border-radius: 0;
}.interview {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 30px auto;
  border-radius: 0;
}.info-baobab{
  width:min(620px, 100%);
  height:420px;
  margin:30px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--cream);
}

.info-baobab img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  
}.logo-favicon{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}