body{font-family:'Comic Sans MS','Chalkboard SE','Marker Felt',sans-serif;line-height:1.8;margin:0;padding:0;background-color:#fff9e6;color:#5d4037;scroll-behavior:smooth}
nav{background-color:#ffb74d;padding:0;position:sticky;top:0;z-index:1000;box-shadow:0 5px 10px rgba(0,0,0,.15);width:100%}
.nav-container{max-width:1200px;margin:0 auto;display:flex;justify-content:center;align-items:center}
nav ul{list-style:none;padding:0;margin:0;display:flex}
.menu-item{position:relative}
nav a,.dropbtn{display:block;color:#4e342e;text-decoration:none;font-weight:700;padding:18px 20px;transition:background-color .3s ease;cursor:pointer;font-size:1.1em}
nav a:hover,.menu-item:hover>.dropbtn{background-color:#ffe0b2;color:#bf360c}
.dropdown-content{display:none;position:absolute;background-color:#fff;min-width:250px;box-shadow:0 8px 16px rgba(0,0,0,.2);z-index:1;border-radius:0 0 10px 10px}
.dropdown-content a{color:#5d4037;padding:12px 16px;text-decoration:none;display:block;text-align:left;border-bottom:1px solid #eee}
.dropdown-content a:last-child{border-bottom:none}
.menu-item:hover .dropdown-content{display:block}
#menu-toggle{display:none;background:none;border:none;color:#4e342e;font-size:2em;padding:10px;cursor:pointer}
header{background:linear-gradient(135deg,#ffcc80 0%,#ffab40 100%);color:#fff;padding:4rem 1rem;text-align:center;border-bottom:#e65100 6px solid}
header h1{margin:0;font-size:3.2em;text-shadow:2px 2px 5px rgba(0,0,0,.25)}
header .subtitle{font-size:1.6em;margin-top:1rem;color:#fff9e6}
.container{width:90%;max-width:1200px;margin:40px auto;padding:35px;background-color:#fff;box-shadow:0 0 25px rgba(0,0,0,.07);border-radius:20px}
section{margin-bottom:45px;padding:40px;background-color:#fffdf7;border-left:10px solid #ffcc80;border-radius:15px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
h2{color:#d84315;border-bottom:4px dotted #ffab40;padding-bottom:20px;text-align:center;font-size:2.6em}
h3{color:#bf360c;margin-top:0}
.image-container{text-align:center;margin:35px 0}
.image-container img{max-width:85%;border-radius:20px;box-shadow:0 10px 25px rgba(0,0,0,.15);border:5px solid #fff}
.badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:18px}
.badge{background:#ffe0b2;border:2px dashed #ffab40;color:#4e342e;padding:10px 14px;border-radius:999px;font-weight:700}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.card{background:#fff;border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.08);border:3px solid #fff3e0;padding:18px}
.card a{display:inline-block;margin-top:10px;background:#ffb74d;padding:10px 12px;border-radius:12px;color:#4e342e}
.card a:hover{background:#ffe0b2;color:#bf360c}
.notice{background:#fff3e0;border-left:10px solid #ffab40;border-radius:14px;padding:16px}
footer{text-align:center;padding:40px;background-color:#4e342e;color:#fff;margin-top:50px}
input[type=password],input[type=text]{width:100%;max-width:420px;padding:14px 16px;border-radius:14px;border:2px solid #ffe0b2;font-size:1.05em}
button.btn{background:#ffb74d;border:0;padding:14px 16px;border-radius:14px;font-weight:700;cursor:pointer;color:#4e342e}
button.btn:hover{background:#ffe0b2;color:#bf360c}
@media (max-width:992px){#menu-toggle{display:block}.nav-container{justify-content:flex-end}#main-menu{display:none;flex-direction:column;position:absolute;top:100%;left:0;width:100%;background-color:#ffb74d}#main-menu.is-open{display:flex}.dropdown-content{position:static;display:block;background-color:#ffe0b2;box-shadow:none}nav ul li{width:100%}header h1{font-size:2.2em}h2{font-size:2em}.cards{grid-template-columns:1fr}}
/* --- Layout "Plan de l'école" (tes plan-section + bouton) --- */
.plan-section{
  margin-bottom:45px;
  padding:40px;
  background-color:#fffdf7;
  border-radius:15px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  border-left:10px solid; /* couleur définie inline */
}

.plan-section h2{
  color:#d84315;
  border-bottom:4px dotted #ffab40;
  padding-bottom:20px;
  margin-top:0;
  margin-bottom:35px;
  font-size:2.2em;
  font-weight:bold;
  text-align:center;
}

.plan-section h2 .fas{
  margin-right:18px;
  color:#ff9800;
}

.learn-more-button{
  background-color:#ff7043;
  color:#fff;
  padding:15px 25px;
  border-radius:10px;
  text-decoration:none;
  font-weight:bold;
  font-size:1.1em;
  transition:background-color .3s ease, transform .2s ease;
  display:inline-flex;
  align-items:center;
  box-shadow:0 4px 6px rgba(0,0,0,.1);
}

.learn-more-button:hover{
  background-color:#f4511e;
  transform:translateY(-3px);
}

.learn-more-button .fas{ margin-right:10px; }

@media (max-width:768px){
  .plan-section{ padding:25px; }
  .plan-section h2{ font-size:2em; }
}

/* ===== Page Équipe (sous-menu + cartes) ===== */
.intro-text{
  font-size: 1.25em;
  color: #6d4c41;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.8;
}

/* Sous-menu interne */
.subnav{
  background: #fff3e0;
  border: 3px dashed #ffab40;
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 24px;
}

.subnav-toggle{
  display: none;
  width: 100%;
  border: 0;
  background: #ffb74d;
  color: #4e342e;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.subnav-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.subnav-links a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid #ffe0b2;
  color: #5d4037;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.subnav-links a:hover,
.subnav-links a.active-link{
  background: #ffe0b2;
  color: #bf360c;
}

/* Sections équipe */
.team-section{
  margin-bottom: 45px;
  padding: 35px;
  background-color: #fffefa;
  border-left: 10px solid #ffca28;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.year-subtitle,
.specialty-subtitle{
  color: #8d6e63;
  text-align: center;
  font-size: 1.9em;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 900;
  border-top: 2px dashed #ffd54f;
  padding-top: 20px;
}

.staff-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.staff-card{
  background-color: #fffde7;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.staff-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.staff-card img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 4px solid #ffd54f;
}

.staff-card h4{
  color: #8d6e63;
  font-size: 1.4em;
  margin: 0 0 5px;
}

.staff-card .role{
  color: #a1887f;
  font-size: 1.1em;
  font-style: italic;
  margin: 0 0 10px;
}

.staff-card .description{
  font-size: 0.95em;
  color: #795548;
  line-height: 1.5;
}

/* Responsive : sous-menu interne en “hamburger” */
@media (max-width: 768px){
  .subnav-toggle{ display: block; }
  .subnav-links{ display: none; flex-direction: column; align-items: stretch; }
  .subnav-links.is-open{ display: flex; }
  .subnav-links a{ border-radius: 14px; justify-content: flex-start; }
  .staff-grid{ grid-template-columns: 1fr; }
}

.home-two-images{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:space-around;
  align-items:flex-start;
}

.home-img-caption{
  font-weight:900;
  margin-top:10px;
  color:#d84315;
  text-align:center;
}

.home-img-caption-green{
  color:#388e3c;
}


/* ===== Thème bleu “natation” ===== */
.header-bluewater{
  background: linear-gradient(135deg, #4dd0e1 0%, #80deea 100%);
  border-bottom: #00796b 6px solid;
}

.footer-bluewater{
  background-color:#004d40;
}

.theme-bluewater{
  background-color:#e0f7fa;
  border-left:10px solid #4dd0e1;
}

.subnav-bluewater{
  background:#e0f7fa;
  border: 3px dashed #0097a7;
}

.subnav-bluewater .subnav-toggle{
  background:#0097a7;
  color:#fff;
}

.subnav-bluewater .subnav-links a{
  border-color:#b2ebf2;
}

.subnav-bluewater .subnav-links a:hover,
.subnav-bluewater .subnav-links a.active-link{
  background:#b2ebf2;
  color:#004d40;
}

/* Listes “fun” (icône crayon comme ta page) */
.fun-list-bluewater{
  list-style:none;
  padding-left:0;
  margin: 0;
}

.fun-list-bluewater li{
  margin-bottom: 15px;
  padding: 12px 18px 12px 40px;
  position: relative;
  background-color:#b2ebf2;
  border-radius: 8px;
  color:#004d40;
  font-size:1.05em;
}

.fun-list-bluewater li::before{
  content: "\f044";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position:absolute;
  left:15px;
  top:50%;
  transform: translateY(-50%);
  color:#0097a7;
  font-size:1.2em;
}

/* Bloc “horaires” */
.schedule-placeholder{
  background-color:#fffde7;
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
  border: 3px dashed #fbc02d;
  text-align: center;
}

.schedule-placeholder h3{
  color:#f57f17;
  margin-top:0;
  font-size: 1.8em;
}

.schedule-placeholder p{
  font-size: 1.1em;
  color:#795548;
}

/* Variantes de highlight (réutilisées sur plusieurs pages) */
.highlight-orange{ background:#fff8e1; border-color:#ffb74d; }
.highlight-orange h3{ color:#e65100; }

.highlight-blue{ background:#e3f2fd; border-color:#64b5f6; }
.highlight-blue h3{ color:#1565c0; }

.highlight-teal{ background:#e0f2f1; border-color:#4db6ac; }
.highlight-teal h3{ color:#00695c; }

/* ===== Thème vert (Classes de dépaysement) ===== */
.header-green{
  background: linear-gradient(135deg, #66bb6a 0%, #a5d6a7 100%);
  border-bottom: #388e3c 6px solid;
}

.footer-green{
  background-color:#1b5e20;
}

.theme-green{
  background-color:#f1f8e9;
  border-left:10px solid #81c784;
}

.subnav-green{
  background:#e8f5e9;
  border: 3px dashed #66bb6a;
}

.subnav-green .subnav-toggle{
  background:#4caf50;
  color:#fff;
}

.subnav-green .subnav-links a{
  border-color:#c8e6c9;
}

.subnav-green .subnav-links a:hover,
.subnav-green .subnav-links a.active-link{
  background:#c8e6c9;
  color:#1b5e20;
}

/* Listes “fun” */
.fun-list{
  list-style:none;
  padding-left:0;
  margin: 0;
}

.fun-list li{
  margin-bottom: 15px;
  padding: 12px 18px 12px 40px;
  position: relative;
  background-color:#e8f5e9;
  border-radius: 8px;
  color:#2e7d32;
  font-size:1.05em;
}

.fun-list li::before{
  content: "\f550";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position:absolute;
  left:15px;
  top:50%;
  transform: translateY(-50%);
  color:#4caf50;
  font-size:1.2em;
}

/* Highlight boxes */
.highlight-box{
  padding: 30px;
  border-radius: 12px;
  margin: 26px 0;
  border: 2px dashed;
  text-align: center;
  background: #f7fff7;
}

.highlight-green{
  background-color:#c8e6c9;
  border-color:#66bb6a;
}

.highlight-blue{
  background-color:#e1f5fe;
  border-color:#4fc3f7;
}

.highlight-blue h3{ color:#0277bd; }

.highlight-yellow{
  background-color:#fffde7;
  border-color:#fff59d;
}

.highlight-yellow h3{ color:#f57f17; }

.bottom-media{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.media-card{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.media-card h2{
  margin: 0 0 10px 0;
  font-size: 1.1rem;
}

.media-card img,
.media-card video{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display:block;
}

/* Responsive */
@media (max-width: 800px){
  .bottom-media{ grid-template-columns: 1fr; }
}
