* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark-navy: #00171F;
  --mid-navy: #003459;
  --teal-hero: #007EA7;
  --accent-cyan: #00A8E8;
  --text-dark: #0d1b2a;
  --text-gray: #666;
  --text-light: #888;
  --border: #e5e5e5;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
}


body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

/* ── NAV ── */
.navbar {
  display: flex;
  align-items: center;
  padding: 18px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--mid-navy); /* barre globale */
}
.nav-item {
  flex: 1;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  color: black;
  position: relative;
}
.nav-underline{
  position: absolute;
  bottom: -4px;
  height: 4px;
  background-color: var(--accent-cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Effet de glisse fluide */
  pointer-events: none;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-dark);
  text-decoration: none;
  margin-right: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
nav ul a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
}
nav ul a:hover { text-decoration: underline; }
nav ul a.active { color: var(--accent-cyan); }
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 100;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--accent-cyan);
  transition: 0.3s;
}

/* ── FOOTER ── */
footer {
  background: var(--mid-navy);
  color: var(--white);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 80px;
}
footer .logo { color: var(--white); font-size: 20px; }
footer ul { display: flex; gap: 24px; }
footer ul a { color: var(--white); text-decoration: none; font-size: 14px; }
footer ul a.active { color: var(--accent-cyan); }
footer .copy { margin-left: auto; font-size: 13px; color: #aaa; }

/* ── HERO BANNER ── */
.hero-banner {
  background: linear-gradient(135deg, #0d5c6b 0%, #1a8a8a 30%, #2d9e6b 60%, #5a7a4a 100%);
  padding: 80px 60px;
  text-align: center;
}
.hero-banner h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
}


/* ── HOME PAGE ── */
.home-title {
  color: var(--accent-cyan);
  font-weight : bold;
  text-shadow: 3px 2px var(--mid-navy);

}
.home-hero {
  background: var(--dark-navy);
  padding: 60px 60px 80px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.home-hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}
.btn-outline {
  padding: 12px 28px;
  border: 1.5px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: var(--mid-navy);
}
.btn-solid {
  padding: 12px 28px;
  border: 1.5px solid var(--white);
  background: var(--dark-navy);
  color: var(--white);
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
}
.btn-solid:hover {
  background-color: var(--mid-navy);
}
.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 60px;
}
.feature-card {
  display:flex;
  flex-direction: column;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 20px;
}
.feature-card .img-placeholder {
  height: 160px;
  border-radius: 10px;
  margin-top: 16px;
}


/* ── FORMATIONS PAGE ── */
.formations-content { padding: 50px 60px; }
.formations-content h1 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 4px;
}
.formations-content > p { color: var(--text-gray); margin-bottom: 50px; }
.formation-section { margin-bottom: 60px; }
.formation-section h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 6px;
}
.formation-section > p { color: var(--text-gray); margin-bottom: 24px; font-size: 14px; }
.formation-name {font-weight: bold;}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: var(--white);
  text-decoration: none;
  color : inherit;
  overflow: hidden;
  transition: transform  0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.card-image-container {
  position: relative;
  width: 100%;
  height: 180px;
}
.card-img {
  border-radius:10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 10px;
  text-align: center;
  justify-content: center;
  padding: 10px;

}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  background-color: var(--dark-navy);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: #1a252f;
}
/* ── CAROUSEL FORMATIONS ── */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding: 10px 0;
  /* Masquer la scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-track .testimonial-card {
  min-width: calc(33.333% - 11px);
  flex-shrink: 0;
}

.carousel-btn.prev {
  position: absolute;
  left: -20px;
}

.carousel-btn.next {
  position: absolute;
  right: -20px;
}

@media (max-width: 1000px) {
  .carousel-track .testimonial-card {
    min-width: 100%; /* 1 carte par ligne sur mobile */
  }
  .carousel-btn.prev { left: 0px; }
  .carousel-btn.next { right: 0px; }
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.avatar-orange { border-color: #f5a623; color: #f5a623; }
.avatar-blue   { border-color: #4a90d9; color: #4a90d9; }
.avatar-green  { border-color: #2a9d8f; color: #2a9d8f; }
.testimonial-author .info .name {
  font-size: 13px;
  font-weight: 600;
}
.testimonial-author .info .role {
  font-size: 12px;
  color: var(--text-gray);
}



/* ── TEACHERS PAGE ── */
.teachers-content { padding: 50px 60px; }
.teacher-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
}
.teacher-row .text h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.teacher-row .text p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 28px;
  line-height: 1.6;
}
.btn-black {
  display: inline-block;
  padding: 10px 22px;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.teacher-img {
  border-radius: 16px;
  width: 50%;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #c8f0e8, #00b8c8);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.dots-pattern {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #00b8c8 18px, transparent 18px);
  background-size: 60px 60px;
  background-color: #c8f0e8;
  opacity: 0.85;
}

/* ── TEACHER PROFILE PAGE ── */
.profile-content { padding: 50px 60px; }
.profile-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: start;
}
.profile-hero .text h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
}
.profile-hero .text p { color: var(--text-gray); font-size: 15px; }
.profile-hero .text h2 {
  font-size: 36px;
  font-weight: 900;
  margin-top: 36px;
  margin-bottom: 12px;
}
.butterfly-img {
  width: 50%;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.butterfly-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.butterfly-svg { width: 220px; height: 220px; }
.profile-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.profile-cols h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.profile-cols p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ── PLANNING PAGE ── */
.filters {
  padding: 50px 60px;
}
.filters h3 {
  padding : 10px 0
}
#apply-btn {
  display: inline-block;
  padding: 5px 10px;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.selector {
  display: inline-block;
  padding: 5px 10px;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.planning-content { padding: 40px 60px; }
.planning-content h1 {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}
.calendar-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}
.cal-header {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cal-header .day-label {
  padding: 10px 8px;
  font-weight: 600;
  font-size: 13px;
  border-left: 1px solid var(--border);
  text-align: center;
}
.cal-header .day-label:first-child { border-left: none; }
.cal-grid { display: grid; grid-template-columns: 56px repeat(7, 1fr); }
.time-label {
  padding: 0 6px;
  font-size: 11px;
  color: var(--text-gray);
  height: 60px;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  border-right: 1px solid var(--border);
}
.cal-cell {
  height: 60px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.cal-cell.today { background: #f0f6ff; }
.cal-h-line {
  position: relative;
  bottom: 0;
  height: 3px;
  background-color: red;
}
.day-label.today-header { background: #f0f6ff;}
.event {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
}
.event-blue   { background: #dbeafe; color: #1e40af; border-left: 3px solid #3b82f6; }
.event-purple { background: #ede9fe; color: #5b21b6; border-left: 3px solid #7c3aed; }
.event-green  { background: #dcfce7; color: #166534; border-left: 3px solid #16a34a; }
.event-yellow { background: #fef9c3; color: #854d0e; border-left: 3px solid #ca8a04; }
.event-red    { background: #fee2e2; color: #991b1b; border-left: 3px solid #dc2626; }
.event-pink   { background: #fce7f3; color: #831843; border-left: 3px solid #db2777; }
.event-teal   { background: #ccfbf1; color: #065f46; border-left: 3px solid #0d9488; }

/* ── RECHERCHE PAGE ── */
.recherche-content { padding: 50px 60px; }
#research-list { display: flex; flex-direction: column; gap: 24px; }
.research-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--white);
}
.research-img {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.starburst {
  width: 100%;
  height: 100%;
  background: #c8ddf0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.research-card .info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.research-card .info p { font-size: 14px; color: var(--text-gray); margin-bottom: 8px; }
.research-card .info a {
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
}
.research-card .info a::after { content: ' →'; }

/* ── ARTICLE PAGE ── */
.subject-content { padding: 50px 60px; }
.subject-eyebrow { font-size: 14px; color: var(--text-gray); margin-bottom: 10px; }
.subject-content h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
}
.subject-content .body-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  max-width: 760px;
}
.article-date { font-size: 14px; color: var(--text-gray); text-align: center; margin-bottom: 10px; }
.article-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 6px;
}
.article-author { font-size: 14px; color: var(--text-gray); text-align: center; margin-bottom: 30px; }
.article-hero-img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 40px;
  height: 280px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd6e0, #c8f0d0, #d0d0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.article-body { max-width: 600px; margin: 0 auto; }
.article-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; margin-top: 28px; }
.article-body p { font-size: 14px; color: var(--text-gray); line-height: 1.8; margin-bottom: 16px; }
.article-pullquote {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  margin: 48px 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.pullquote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 48px;
}
.pullquote-author .avatar-circle { width: 44px; height: 44px; }
.pullquote-author .name { font-size: 15px; font-weight: 600; }
.pullquote-author .role { font-size: 13px; color: var(--text-gray); }


/* ── SYLLABUS PAGE ── */

/* ── Hero (same pattern as .home-hero) ── */
.syllabus-hero {
  background: var(--dark-navy);
  padding: 60px 60px 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.back-link {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent-cyan); }

.course-code-badge {
  display: inline-block;
  background: var(--mid-navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}
.syllabus-hero h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  max-width: 700px;
}
.syllabus-hero .hero-summary {
  font-size: 15px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Meta bar (same bg as footer = --mid-navy) ── */
.syllabus-meta-bar {
  background: var(--mid-navy);
  padding: 16px 60px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.meta-value .hl { color: var(--accent-cyan); }

/* ── Main layout ── */
.syllabus-body {
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.syllabus-main { display: flex; flex-direction: column; gap: 48px; }

/* ── Section titles — same weight as .formation-section h2,
   underline bar mirrors .nav-item active indicator ── */
.syl-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--mid-navy);
  position: relative;
}
.syl-section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--accent-cyan);
}

/* ── Topics — styled as .feature-card / .testimonial-card ── */
.topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.topics-list li {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  border-left: 4px solid var(--mid-navy);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


/* ── Outcomes — 2-col grid, card style like .feature-card ── */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.outcome-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--border);
}
.outcome-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mid-navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Eval table — header mirrors .mid-navy like the footer ── */
.eval-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.eval-table thead tr { background: var(--mid-navy); color: var(--white); }
.eval-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.eval-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.eval-table tbody tr:last-child td { border-bottom: none; }
.eval-table tbody tr:nth-child(even) { background: var(--bg-light); }
.eval-weight { font-weight: 700; color: var(--mid-navy); white-space: nowrap; }
.eval-bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  min-width: 80px;
}
.eval-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-hero), var(--accent-cyan));
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ── Sidebar cards — same as .feature-card ── */
.syllabus-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}
.sidebar-card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-hero);
  margin-bottom: 16px;
}
.sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row .s-key { color: var(--text-gray); }
.sidebar-row .s-val { font-weight: 600; color: var(--text-dark); }

/* Prereq pills — same shape as .btn-outline ── */
.prereq-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.prereq-tag {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  background: transparent;
  color: var(--teal-hero);
  border: 1.5px solid var(--teal-hero);
  font-weight: 500;
}

/* Responsible items — same as .testimonial-author ── */
.responsible-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.responsible-item:last-child { border-bottom: none; }
.responsible-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-hero);
  background: var(--mid-navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.responsible-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.responsible-role { font-size: 12px; color: var(--text-gray); }

/* ── Loader ── */
.syllabus-loader {
  padding: 80px 60px;
  text-align: center;
  color: var(--text-gray);
  font-size: 15px;
}

/* ── Responsive — mirrors existing @media (max-width: 1000px) ── */
@media (max-width: 1000px) {
  .syllabus-hero,
  .syllabus-meta-bar,
  .syllabus-body { padding-left: 20px; padding-right: 20px; }
  .syllabus-hero { padding-top: 40px; padding-bottom: 32px; }
  .syllabus-hero h1 { font-size: 26px; }
  .syllabus-body { grid-template-columns: 1fr; }
  .syllabus-meta-bar { gap: 20px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .teacher-img,
  .butterfly-img {width: 80%;}
}

/* ── CONTACT PAGE ── */
.contact-content { padding: 50px 60px; }
.contact-content h1 {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 6px;
}
.contact-content > p { text-align: center; color: var(--text-gray); margin-bottom: 36px; font-size: 14px; }
.contact-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 80px;
}
.contact-info-panel {
  background: var(--dark-navy);
  color: var(--white);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.contact-info-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-info-panel > p { font-size: 13px; color: #9ab; margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
}
.contact-info-item .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.circles-deco {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
}
.contact-form-panel { padding: 28px 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group textarea {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-gray);
  outline: none;
  background: transparent;
  font-family: inherit;
}
.form-group textarea { resize: none; height: 30px; }
.subject-radios { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.subject-radios label { font-size: 12px; display: flex; align-items: center; gap: 5px; }
.subject-radios input[type=radio] { accent-color: var(--dark-navy); }
.form-label-top { font-size: 12px; font-weight: 600; margin-bottom: 8px; display: block; }
.btn-send {
  display: block;
  margin-left: auto;
  padding: 12px 28px;
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
}
.about-section { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-section h2 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.about-eyebrow { font-size: 12px; color: #c56a5c; font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; }
.about-section p { font-size: 14px; color: var(--text-gray); line-height: 1.7; }
.about-imgs { display: flex; flex-direction: column; gap: 12px; position: relative; }
.about-img {
  border-radius: 12px;
  height: 140px;
  background: linear-gradient(135deg, #7fa8c0, #aed3e8);
  overflow: hidden;
}
.about-img.tall { height: 170px; background: linear-gradient(135deg, #4a90a4, #6bb8cc); }
.img-overlap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.badge-places {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--accent-cyan);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

/* ── ABOUT US — Stats bar ── */
.about-section-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-navy);
  border-radius: 16px;
  padding: 32px 40px;
  margin: 48px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ── ABOUT US — Value cards ── */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.value-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
}
.value-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.value-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ── ABOUT US — Quote ── */
.about-quote {
  border-left: 4px solid var(--accent-cyan);
  padding: 20px 28px;
  background: var(--bg-light);
  border-radius: 0 12px 12px 0;
  margin-bottom: 48px;
}
.about-quote-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
}
.about-quote-author {
  font-size: 13px;
  color: var(--text-gray);
}

/* ── ABOUT US — Responsive ── */
@media (max-width: 1000px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  .about-stats {
    justify-content: center;
    gap: 24px;
    padding: 24px 20px;
  }
  .stat-divider {
    display: none;
  }
}

/* Starburst SVG */
.starburst-svg { width: 100%; height: 100%; }


/* ── RESPONSIVE DESIGN ── */

@media (max-width: 1000px) {
  /* 1. Navigation : On empile les liens verticalement */
  .navbar {
    flex-direction: column;
    padding: 10px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  .nav-underline {display:none;}
  .nav-item {
    padding: 5px;
  }

  .nav-item.active::after {
    bottom: 0px;
  }
  .logo {
    margin: 0 auto 10px;
  }
  .hamburger {
    display: flex; /* On l'affiche sur mobile */
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  #nav-list {
    display: none; /* On cache la liste par défaut */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    width: 100%;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 20px 0;
  }

  /* Classe qui sera ajoutée par JS pour ouvrir le menu */
  #nav-list.active {
    display: flex;
  }

  /* On cache le curseur bleu sur mobile car il ne fonctionne pas bien en vertical */
  #nav-cursor {
    display: none;
  }

  /* 2. Grilles de cartes (Home et Formations) : On passe à 1 colonne */
  .home-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  /* 3. Sections Teachers et Profile : On empile le texte et l'image */
  .teacher-row,
  .profile-hero,
  .profile-cols,
  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }

  /* 4. Planning : On permet le défilement horizontal pour ne pas casser la grille */
  .calendar-wrap {
    overflow-x: auto;
  }
  .cal-header, .cal-grid {
    min-width: 600px; /* Force une largeur minimale pour garder le calendrier lisible */
  }

  /* 5. Formulaire de contact : On passe les champs côte à côte en colonne */
  .contact-box {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Ajustements généraux des marges */
  .hero-banner, .home-hero {
    padding: 40px 20px;
  }
  .hero-banner h1 {
    font-size: 32px;
  }
}