﻿:root {
  --palette-dark: #003A5D;
  --palette-blue: #0E5D86;
  --palette-rose: #337DB2;
  --palette-peach: #C8CEDD;
  --palette-light: #F1F6FA;
  --section-white: #FFFFFF;
  --section-soft: #E7F0F6;
  --section-muted: #F7F9FC;
  --border-soft: #D8E4EC;
  --shadow-soft: 0 12px 30px rgba(0, 58, 93, 0.08);
  --page-glass: rgba(247, 249, 252, 0.68);
  --page-glass-strong: rgba(255, 255, 255, 0.72);
}

/* Base */
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--palette-blue) rgba(241, 246, 250, 0.9);
  scrollbar-width: thin;
}

* {
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(241, 246, 250, 0.9);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid rgba(241, 246, 250, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--palette-blue), var(--palette-dark));
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--palette-dark);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background: #061726;
  color: var(--palette-dark);
  font-family: "Titillium Web", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--palette-blue), var(--palette-rose));
  box-shadow: 0 0 12px rgba(14, 93, 134, 0.35);
  pointer-events: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: -18px;
  z-index: -2;
  background: url("site-development-bg.png") center / cover no-repeat;
  filter: blur(1px) brightness(1.18) contrast(1.06);
  transform: scale(1.008);
}

body::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(0, 58, 93, 0.24), rgba(0, 58, 93, 0.18)),
    rgba(241, 246, 250, 0.08);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
select,
input,
textarea {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(51, 125, 178, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(1170px, 100%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 180;
  background: var(--section-white);
  box-shadow: 0 2px 12px rgba(0, 58, 93, 0.08);
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: fit-content;
  height: 44px;
  padding: 2px 0;
  background: var(--section-white);
}

.site-logo-mark img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 102px;
  object-fit: contain;
}

.top-menu {
  position: relative;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  padding: 0 26px;
  border-bottom: 0;
  background: var(--section-white);
  overflow: visible;
}

.top-menu a {
  position: relative;
  height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--palette-dark);
  font-size: 15px;
  white-space: nowrap;
}

.top-menu a:hover,
.main-menu a:hover {
  color: var(--palette-rose);
}

.top-menu a::after {
  display: none;
}

.top-menu a:nth-child(2)::after {
  background: var(--palette-blue);
}

.top-menu a:nth-child(3)::after {
  background: var(--palette-blue);
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.search-form input {
  width: 245px;
  padding: 5px 4px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: var(--palette-blue);
  font-size: 15px;
  outline: none;
}

.search-form > button {
  position: relative;
  width: 31px;
  height: 31px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-form > button::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--palette-blue);
  border-radius: 50%;
}

.search-form > button::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 11px;
  height: 3px;
  border-radius: 3px;
  background: var(--palette-blue);
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: min(430px, 82vw);
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(0, 58, 93, 0.18);
  backdrop-filter: blur(8px);
}

.search-results[hidden] {
  display: none;
}

.search-result-item {
  position: static;
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: var(--palette-dark);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.search-result-item::before,
.search-result-item::after {
  display: none;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover,
.search-result-item:focus {
  background: var(--section-soft);
  outline: none;
}

.search-result-item strong {
  color: var(--palette-dark);
  font-size: 15px;
  line-height: 1.2;
}

.search-result-item span,
.search-empty {
  margin: 0;
  color: var(--palette-blue);
  font-size: 13px;
  line-height: 1.35;
}

.search-highlight {
  animation: searchPulse 1.6s ease;
}

@keyframes searchPulse {
  0%,
  100% {
    background-color: transparent;
  }
  35% {
    background-color: rgba(231, 240, 246, 0.95);
  }
}

.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  height: 48px;
  padding: 0 26px;
  background: var(--palette-dark);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.main-menu a {
  position: relative;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  --menu-line-color: transparent;
  border-top: 3px solid transparent;
  color: var(--palette-light);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  white-space: nowrap;
}

.main-menu > a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--menu-line-color);
}

.main-menu > a:nth-of-type(1) {
  --menu-line-color: #2EA3F2;
  border-top-color: #2EA3F2;
}

.main-menu > a:nth-of-type(2) {
  --menu-line-color: #F1C40F;
  border-top-color: #F1C40F;
}

.main-menu > a:nth-of-type(3) {
  --menu-line-color: #2ECC71;
  border-top-color: #2ECC71;
}

.main-menu > a:nth-of-type(4) {
  --menu-line-color: #E84393;
  border-top-color: #E84393;
}

.main-menu > a:nth-of-type(5) {
  --menu-line-color: #7D5FFF;
  border-top-color: #7D5FFF;
}

.main-menu > a:nth-of-type(6) {
  --menu-line-color: #FF8A00;
  border-top-color: #FF8A00;
}

.main-menu a:hover {
  transform: translateY(-1px);
}

.main-menu a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-top: 5px solid var(--palette-light);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  vertical-align: middle;
}

.main-menu .lang-link,
.language-switch select {
  align-self: center;
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 34px;
  background: var(--palette-blue);
  border: 0;
  border-radius: 6px;
  color: var(--palette-light);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.language-switch {
  margin: 0;
}

.language-switch select {
  min-width: 104px;
  appearance: auto;
}

.language-switch select:hover,
.search-form input:focus {
  box-shadow: 0 0 0 3px rgba(51, 125, 178, 0.14);
}

/* Accueil: logo + slider */
.hero-row {
  display: grid;
  grid-template-columns: 23% 77%;
  width: 100%;
  min-height: 400px;
  background: rgba(231, 240, 246, 0.52);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(4px);
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  padding: 78px 16px 20px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.76) 0 25%, transparent 26%),
    linear-gradient(180deg, rgba(231, 240, 246, 0.62) 0, rgba(255, 255, 255, 0.42) 100%);
  border-right: 1px solid var(--border-soft);
  backdrop-filter: blur(3px);
}

.logo-box {
  width: 230px;
  padding: 18px 14px 20px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  backdrop-filter: blur(5px);
}

.bts-logo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.logo-box strong {
  display: block;
  color: var(--palette-dark);
  font-size: 23px;
  line-height: 1.12;
}

.logo-box span {
  display: block;
  margin-top: 8px;
  color: var(--palette-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.news-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: transparent;
}

.slider-frame {
  position: relative;
  height: 400px;
  padding: 42px 125px 92px 330px;
  overflow: hidden;
  text-align: center;
  background: url("notification-slider-bg.png") center / cover no-repeat;
  backdrop-filter: blur(4px);
}

.slider-frame .slide-bg {
  display: none;
}

.slide-brand {
  position: absolute;
  left: 82px;
  top: 68px;
  z-index: 1;
  width: 200px;
  text-align: center;
  opacity: 0.92;
}

.slide-brand img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
}

.slide-brand strong {
  display: block;
  color: var(--palette-dark);
  font-size: 28px;
  line-height: 1;
}

.slide-brand span {
  display: block;
  margin-top: 4px;
  color: var(--palette-blue);
  font-size: 20px;
  font-weight: 700;
}

.slide-contact {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 68px;
  padding: 10px 44px;
  background: var(--section-white);
  color: var(--palette-dark);
  font-size: 15px;
  font-weight: 700;
}

.slide-contact > span:nth-child(2),
.slide-contact > span:nth-child(4) {
  padding-right: 28px;
  border-right: 1px solid var(--palette-blue);
}

.calendar-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--palette-rose);
}

.calendar-mark::before {
  content: "";
  position: absolute;
  top: 6px;
  right: -2px;
  left: -2px;
  height: 2px;
  background: var(--palette-rose);
}

.social-mark {
  color: var(--palette-rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.mail-mark {
  position: relative;
  width: 30px;
  height: 20px;
  border: 2px solid var(--palette-rose);
}

.mail-mark::before,
.mail-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 17px;
  height: 2px;
  background: var(--palette-rose);
}

.mail-mark::before {
  left: -1px;
  transform: rotate(35deg);
  transform-origin: left center;
}

.mail-mark::after {
  right: -1px;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.slide-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 42px;
  padding: 10px 42px 11px;
  border-radius: 9px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-family: Georgia, "Times New Roman", serif;
  max-width: 100%;
  font-size: clamp(24px, 2.7vw, 33px);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: break-word;
}

.slider-frame h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  color: var(--palette-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.12;
  overflow-wrap: break-word;
}

.slide-action {
  position: relative;
  z-index: 1;
  width: min(440px, 70%);
  margin: 42px auto 0;
  padding: 9px 20px;
  background: var(--palette-rose);
  color: var(--palette-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: break-word;
}

.slider-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 62px;
  padding: 12px 24px;
  background: var(--palette-dark);
  color: var(--palette-light);
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-shadow: none;
  overflow-wrap: break-word;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 64px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow::before {
  content: "";
  position: absolute;
  top: 17px;
  width: 30px;
  height: 30px;
  border-top: 8px solid var(--palette-light);
  border-left: 8px solid var(--palette-light);
  filter: none;
}

.slider-prev {
  left: 25px;
}

.slider-prev::before {
  left: 14px;
  transform: rotate(-45deg);
}

.slider-next {
  right: 25px;
}

.slider-next::before {
  right: 14px;
  transform: rotate(135deg);
}

.dot-top,
.dot-bottom,
.ring,
.shape-left,
.shape-right {
  position: absolute;
  pointer-events: none;
}

.dot-top {
  top: 42px;
  right: 150px;
  width: 130px;
  height: 68px;
  background-image: radial-gradient(var(--palette-rose) 4px, transparent 5px);
  background-size: 24px 24px;
}

.dot-bottom {
  bottom: 96px;
  left: 325px;
  width: 190px;
  height: 58px;
  background-image: radial-gradient(var(--palette-rose) 4px, transparent 5px);
  background-size: 28px 28px;
}

.ring {
  right: 92px;
  bottom: 132px;
  width: 72px;
  height: 72px;
  border: 3px solid var(--palette-rose);
  border-radius: 50%;
}

.shape-left {
  top: -38px;
  left: 365px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--palette-rose);
}

.shape-right {
  right: -26px;
  bottom: -28px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--palette-rose);
}

/* Presentation */
.president-section {
  padding: 28px 0;
  background: rgba(231, 240, 246, 0.54);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(3px);
}

.president-box {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 150px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.president-image {
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  border: 4px solid var(--section-white);
  border-radius: 50%;
  background:
    linear-gradient(rgba(0, 58, 93, 0.04), rgba(0, 58, 93, 0.04)),
    url("gallery-1.jpg") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(0, 58, 93, 0.14);
}

.president-box p {
  margin: 0;
  color: var(--palette-dark);
  font-size: 20px;
  line-height: 1.45;
}

.president-box a,
.more-link {
  color: var(--palette-blue);
}

/* Rubriques */
.home-grid,
.second-grid {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 34px 0;
  z-index: 0;
}

.home-grid::before,
.second-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
}

.home-grid {
  grid-template-columns: 5fr 3fr 4fr;
  margin-top: 0;
}

.home-grid::before {
  background: var(--page-glass);
  backdrop-filter: blur(3px);
}

.second-grid {
  grid-template-columns: 8fr 4fr;
  margin-top: 0;
}

.second-grid::before {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(3px);
}

.panel,
.formation-panel,
.events-panel,
.productions-panel {
  min-height: 300px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.panel h2,
.events-panel h2,
.productions-panel h2,
.gallery-section h2 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  color: var(--palette-dark);
  border-bottom: 3px solid var(--palette-blue);
  font-size: 26px;
  font-weight: 700;
}

.formation-panel {
  padding: 0 18px 18px;
  background: linear-gradient(135deg, rgba(14, 93, 134, 0.92), rgba(0, 58, 93, 0.94));
  border: 0;
}

.formation-panel h2 {
  margin: 0 -18px 16px;
  padding: 13px 18px;
  color: var(--palette-light);
  font-size: 26px;
}

.formation-panel ul,
.productions-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.formation-panel li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.formation-panel a {
  display: block;
  padding: 14px 0;
  color: var(--palette-light);
  font-size: 18px;
}

.formation-panel a::before,
.productions-panel li a::before {
  content: ">";
  display: inline-block;
  margin-right: 10px;
  font-weight: 700;
}

.item-list {
  display: grid;
  gap: 8px;
}

.media-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  min-height: 86px;
  padding: 8px;
  background: rgba(247, 249, 252, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
}

.media-item.compact {
  grid-template-columns: 82px minmax(0, 1fr);
}

.thumb-placeholder,
.video-placeholder,
.event-poster {
  border: 2px dashed var(--palette-blue);
  background:
    repeating-linear-gradient(
      135deg,
      var(--section-white) 0,
      var(--section-white) 8px,
      var(--palette-light) 8px,
      var(--palette-light) 16px
    );
}

.thumb-placeholder {
  height: 70px;
}

.thumb-image {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
  border: 2px solid rgba(14, 93, 134, 0.32);
  border-radius: 4px;
}

.media-item.compact .thumb-image {
  height: 74px;
}

.notice-thumb {
  display: flex;
  height: 78px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(14, 93, 134, 0.32);
  border-top: 4px solid var(--palette-blue);
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(135deg, transparent 0, transparent 8px, rgba(14, 93, 134, 0.08) 8px, rgba(14, 93, 134, 0.08) 16px);
  color: var(--palette-dark);
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 58, 93, 0.08);
}

.notice-thumb span {
  color: var(--palette-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.notice-thumb strong {
  display: block;
  color: #c0392b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
}

.notice-thumb small {
  color: var(--palette-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.notice-thumb.small {
  height: 74px;
}

.media-item h3,
.event-item h3 {
  margin: 0 0 4px;
  color: var(--palette-dark);
  font-size: 17px;
}

.media-item p,
.event-item p {
  margin: 0;
  color: var(--palette-blue);
  font-size: 14px;
  line-height: 1.35;
}

.more-link {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-size: 15px;
}

.events-panel {
  padding-right: 18px;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
}

.event-list {
  display: grid;
  gap: 8px;
}

.event-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  min-height: 78px;
  padding: 8px;
  background: rgba(247, 249, 252, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
}

.event-date {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-size: 13px;
  text-align: center;
}

.event-date strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.event-poster {
  min-height: 250px;
}

.image-poster {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 58, 93, 0.12);
}

.event-poster.image-poster {
  height: 250px;
  min-height: 0;
}

.document-poster {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(14, 93, 134, 0.34);
  border-top: 5px solid var(--palette-blue);
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(135deg, transparent 0, transparent 10px, rgba(14, 93, 134, 0.08) 10px, rgba(14, 93, 134, 0.08) 20px);
  color: var(--palette-dark);
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 58, 93, 0.12);
}

.document-poster span {
  color: var(--palette-blue);
  font-size: 14px;
  font-weight: 700;
}

.document-poster strong {
  color: #c0392b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.15;
}

.document-poster p {
  max-width: 220px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.compact-poster {
  min-height: 160px;
}

.productions-panel {
  padding-left: 18px;
}

.productions-panel h3 {
  margin: 6px 0 10px;
  color: var(--palette-dark);
  font-size: 18px;
}

.video-placeholder {
  width: 76%;
  height: 160px;
  margin-bottom: 16px;
}

.video-placeholder.image-poster {
  width: 76%;
  height: 160px;
}

.productions-panel li {
  border-bottom: 1px solid var(--border-soft);
}

.productions-panel li a {
  display: block;
  padding: 9px 0;
  color: var(--palette-dark);
  font-size: 16px;
}

/* Galerie */
.gallery-section {
  margin-top: 0;
  padding: 34px 0 42px;
  background: rgba(231, 240, 246, 0.54);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(3px);
}

.gallery-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 115px);
  grid-auto-columns: 210px;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 10px;
  scroll-behavior: smooth;
  scrollbar-color: var(--palette-blue) var(--section-white);
  scrollbar-width: thin;
}

.gallery-photo {
  display: block;
  height: 115px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--section-white);
  box-shadow: 0 8px 20px rgba(0, 58, 93, 0.1);
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-photo:hover img {
  transform: scale(1.04);
}

.gallery-extra {
  display: none;
}

.gallery-section.is-expanded .gallery-extra {
  display: block;
}

.gallery-more {
  display: block;
  margin: 8px 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--palette-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.gallery-more::after {
  content: " +";
}

.gallery-section.is-expanded .gallery-more::after {
  content: " -";
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px 76px;
  background: var(--palette-dark);
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  background: var(--palette-light);
  box-shadow: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--palette-light);
  color: var(--palette-dark);
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--palette-light);
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-arrow::before {
  content: "";
  position: absolute;
  top: 17px;
  width: 17px;
  height: 17px;
  border-top: 4px solid var(--palette-blue);
  border-left: 4px solid var(--palette-blue);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-prev::before {
  left: 20px;
  transform: rotate(-45deg);
}

.lightbox-next {
  right: 22px;
}

.lightbox-next::before {
  right: 20px;
  transform: rotate(135deg);
}

.lightbox-counter {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  color: var(--palette-light);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 30px 0 18px;
  background: var(--palette-dark);
  color: var(--palette-light);
  overflow: hidden;
}

.site-footer .container {
  display: block;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border: 2px solid var(--palette-light);
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  color: var(--palette-light);
  font-size: 22px;
  line-height: 1.1;
}

.footer-brand span,
.footer-address span,
.footer-contact span {
  display: block;
  color: var(--palette-light);
  font-size: 15px;
  line-height: 1.55;
}

.footer-address {
  margin: 0;
  font-style: normal;
}

.footer-address strong,
.footer-contact strong {
  color: var(--palette-light);
}

.footer-contact {
  display: grid;
  gap: 8px;
  justify-content: end;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  position: relative;
  margin: 8px 0 -18px;
  padding: 16px 0;
  border-top: 1px solid var(--palette-light);
  color: var(--palette-light);
  font-size: 16px;
  font-weight: 700;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  background: var(--palette-blue);
  transform: translateX(-50%);
}

.footer-bottom > * {
  position: relative;
  z-index: 1;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--palette-light);
  color: var(--palette-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.footer-social a:nth-child(3) {
  font-size: 11px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.detail-page {
  min-height: calc(100vh - 133px);
  background: transparent;
}

.director-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  border-bottom: 1px solid var(--border-soft);
  background:
    linear-gradient(rgba(0, 58, 93, 0.08), rgba(0, 58, 93, 0.08)),
    url("gallery-1.jpg") center 42% / cover no-repeat;
}

.detail-content {
  max-width: 1120px;
  margin: 0 auto 52px;
  padding: 42px 24px 70px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--palette-dark);
  backdrop-filter: blur(5px);
}

.detail-content h1 {
  margin: 0 0 24px;
  color: var(--palette-dark);
  font-size: 36px;
}

.detail-content h2 {
  margin: 34px 0 16px;
  color: var(--palette-dark);
  font-size: 28px;
}

.detail-content p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.72;
}

.pdf-link-box {
  margin-top: 34px;
  padding: 24px;
  border-left: 6px solid var(--palette-blue);
  background: var(--section-soft);
}

.pdf-link-box h2 {
  margin-top: 0;
}

.pdf-link-box a {
  display: inline-block;
  padding: 12px 20px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-size: 18px;
  font-weight: 700;
}

/* Messagerie */
.message-page {
  background: transparent;
}

.message-hero {
  padding: 46px 0;
  background:
    linear-gradient(rgba(0, 58, 93, 0.78), rgba(0, 58, 93, 0.78)),
    url("site-development-bg.png") center / cover no-repeat;
  color: var(--section-white);
}

.message-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  padding: 0 24px;
}

.message-kicker {
  margin: 0 0 10px;
  color: var(--palette-peach);
  font-size: 17px;
  font-weight: 700;
}

.message-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--section-white);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.message-hero p {
  max-width: 820px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.language-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.language-card span {
  color: var(--section-white);
  font-size: 14px;
  font-weight: 700;
}

.language-card select,
.message-form input,
.message-form select,
.message-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--section-white);
  color: var(--palette-dark);
  font: inherit;
}

.language-card select {
  padding: 0 12px;
}

.message-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  padding: 34px 24px 46px;
}

.message-form,
.side-panel {
  background: var(--section-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.message-form {
  padding: 26px;
}

.form-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--palette-blue);
}

.form-section-title h2,
.side-panel h2 {
  margin: 0;
  color: var(--palette-dark);
  font-size: 26px;
}

.form-section-title span {
  color: var(--palette-blue);
  font-size: 14px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.message-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--palette-dark);
  font-size: 15px;
  font-weight: 700;
}

.message-form input,
.message-form select,
.message-form textarea {
  padding: 10px 12px;
}

.message-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.message-actions button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--palette-blue);
  color: var(--section-white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.message-actions .button-secondary {
  background: var(--palette-dark);
}

.message-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--palette-blue);
  font-size: 15px;
  font-weight: 700;
}

.message-status-success,
.message-status-error {
  border-radius: 8px;
  padding: 13px 14px;
}

.message-status-success {
  background: #edf8f2;
  color: #126b3f;
}

.message-status-error {
  background: #fff1f3;
  color: #b42336;
}

.message-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-panel {
  padding: 22px;
}

.side-panel.muted {
  background: var(--section-soft);
}

.side-panel p {
  margin: 12px 0 16px;
  color: var(--palette-dark);
  font-size: 16px;
  line-height: 1.55;
}

.side-panel a {
  color: var(--palette-blue);
  font-size: 18px;
  font-weight: 700;
}

.side-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--palette-dark);
  line-height: 1.5;
}

/* Informations generales */
.general-info-page {
  background: transparent;
}

.info-hero {
  padding: 58px 0;
  background:
    linear-gradient(rgba(0, 58, 93, 0.78), rgba(0, 58, 93, 0.78)),
    url("site-development-bg.png") center / cover no-repeat;
  color: var(--section-white);
}

.info-hero-inner {
  padding: 0 24px;
}

.info-kicker,
.section-heading span {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--palette-peach);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.info-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--section-white);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.06;
}

.info-hero p {
  max-width: 820px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.info-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 24px;
}

.info-intro-card,
.program-card,
.info-panel,
.qualities-card,
.faq-grid article,
.info-card-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.info-intro-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.info-intro-card.highlighted {
  background: linear-gradient(135deg, rgba(14, 93, 134, 0.95), rgba(0, 58, 93, 0.95));
  color: var(--palette-light);
}

.info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.info-intro-card.highlighted .info-badge {
  background: var(--section-white);
  color: var(--palette-dark);
}

.info-intro-card h2,
.info-panel h2,
.qualities-card h2 {
  margin: 0 0 14px;
  color: inherit;
  font-size: 28px;
  line-height: 1.15;
}

.info-intro-card p,
.info-panel p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.65;
}

.info-band {
  padding: 42px 0;
  background: rgba(231, 240, 246, 0.62);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(3px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  border: 1px solid rgba(216, 228, 236, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading span {
  color: var(--palette-blue);
}

.section-heading h2 {
  margin: 0 0 10px;
  color: var(--palette-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.section-heading p {
  margin: 0;
  color: var(--palette-dark);
  font-size: 18px;
  line-height: 1.55;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
}

.info-card-grid article {
  min-height: 190px;
  padding: 20px;
}

.info-card-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-size: 14px;
  font-weight: 800;
}

.info-card-grid h3,
.program-card h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: var(--palette-dark);
  font-size: 20px;
  line-height: 1.2;
}

.info-card-grid p,
.program-card p,
.faq-grid p {
  margin: 0;
  color: var(--palette-blue);
  font-size: 15px;
  line-height: 1.5;
}

.program-section,
.evaluation-section,
.faq-section {
  padding: 42px 24px;
}

.program-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.program-card {
  min-height: 170px;
  padding: 22px;
  border-top: 5px solid var(--palette-blue);
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tech-strip span,
.career-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  background: var(--section-white);
  color: var(--palette-dark);
  font-size: 14px;
  font-weight: 800;
}

.registration-band {
  background: rgba(255, 255, 255, 0.68);
}

.registration-layout,
.outcomes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 0 24px;
}

.registration-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--palette-dark);
  font-size: 17px;
  line-height: 1.5;
}

.info-warning {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 5px solid var(--palette-blue);
  border-radius: 6px;
  background: var(--section-white);
  color: var(--palette-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.registration-visual {
  display: flex;
  justify-content: center;
}

.visual-screen {
  width: min(100%, 330px);
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(14, 93, 134, 0.34);
  border-top: 6px solid var(--palette-blue);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(135deg, transparent 0, transparent 10px, rgba(14, 93, 134, 0.08) 10px, rgba(14, 93, 134, 0.08) 20px);
  box-shadow: var(--shadow-soft);
}

.visual-screen span {
  color: var(--palette-blue);
  font-size: 14px;
  font-weight: 800;
}

.visual-screen strong {
  display: block;
  margin: 12px 0 24px;
  color: var(--palette-dark);
  font-size: 27px;
  line-height: 1.1;
}

.visual-line {
  height: 14px;
  margin: 12px 0;
  border-radius: 3px;
  background: var(--section-soft);
}

.visual-line.short {
  width: 68%;
}

.visual-button {
  display: block;
  width: 132px;
  margin-top: 24px;
  padding: 11px 14px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
  text-align: center;
}

.two-column-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 42px 24px;
}

.info-panel {
  padding: 26px;
}

.evaluation-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--section-white);
  box-shadow: var(--shadow-soft);
}

.evaluation-table > div {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border-bottom: 1px solid var(--border-soft);
}

.evaluation-table > div:last-child {
  border-bottom: 0;
}

.evaluation-table strong,
.evaluation-table span {
  padding: 18px;
  font-size: 16px;
  line-height: 1.45;
}

.evaluation-table strong {
  background: var(--palette-blue);
  color: var(--palette-light);
}

.evaluation-table span {
  color: var(--palette-dark);
}

.outcomes-layout {
  align-items: start;
}

.career-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qualities-card {
  padding: 24px;
}

.qualities-card ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--palette-dark);
  font-size: 16px;
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  padding: 22px;
  min-height: 170px;
}

/* Formation DAI */
.formation-page {
  background: transparent;
}

.formation-hero .info-hero-inner {
  max-width: 1120px;
}

.formation-split,
.years-layout,
.after-layout,
.profile-layout {
  display: grid;
  gap: 18px;
  padding: 34px 24px;
}

.formation-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.formation-skills article {
  min-height: 180px;
}

.years-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.year-card,
.after-card,
.path-card,
.tech-category-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.year-card {
  padding: 26px;
}

.year-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.year-card h2,
.after-card h3,
.path-card h2,
.tech-category-grid h3 {
  margin: 0 0 12px;
  color: var(--palette-dark);
  line-height: 1.15;
}

.year-card h2,
.path-card h2 {
  font-size: 28px;
}

.year-card p,
.after-card p,
.path-card p,
.tech-category-grid p,
.qualities-card p {
  margin: 0 0 16px;
  color: var(--palette-blue);
  font-size: 16px;
  line-height: 1.55;
}

.year-modules,
.path-list {
  display: grid;
  gap: 10px;
}

.year-modules div,
.path-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--section-muted);
}

.year-modules strong,
.path-list strong {
  color: var(--palette-dark);
}

.year-modules span,
.path-list span {
  color: var(--palette-blue);
  line-height: 1.45;
}

.technology-section,
.after-bts-section {
  padding: 42px 24px;
}

.tech-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tech-category-grid article {
  min-height: 210px;
  padding: 22px;
  border-top: 5px solid var(--palette-blue);
}

.tech-category-grid h3 {
  font-size: 20px;
}

.formation-table {
  margin: 0 24px;
}

.after-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-right: 0;
  padding-left: 0;
}

.after-card {
  padding: 26px;
}

.after-card h3 {
  font-size: 27px;
}

.after-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--palette-dark);
  font-size: 16px;
  line-height: 1.5;
}

.profile-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.path-card {
  padding: 24px;
}

.formation-note {
  padding: 28px 24px 42px;
}

.formation-note p {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--palette-blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  color: var(--palette-dark);
  font-size: 17px;
  line-height: 1.55;
}

/* Programme modules et examens */
.modules-page {
  background: transparent;
}

.modules-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 24px;
}

.module-stat-card,
.semester-card,
.exam-block,
.unit-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.module-stat-card {
  padding: 24px;
}

.module-stat-card span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.module-stat-card h2 {
  margin: 0 0 10px;
  color: var(--palette-dark);
  font-size: 24px;
  line-height: 1.15;
}

.module-stat-card p {
  margin: 0;
  color: var(--palette-blue);
  font-size: 16px;
  line-height: 1.5;
}

.semester-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 24px;
}

.semester-card {
  overflow: hidden;
}

.semester-head {
  display: grid;
  gap: 5px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(14, 93, 134, 0.95), rgba(0, 58, 93, 0.96));
  color: var(--palette-light);
}

.semester-head span {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.semester-head strong {
  font-size: 26px;
  line-height: 1.1;
}

.semester-head em {
  font-style: normal;
  font-weight: 700;
}

.module-list {
  display: grid;
  max-height: 560px;
  overflow-y: auto;
  padding: 10px;
}

.module-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.module-list div:last-child {
  border-bottom: 0;
}

.module-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 4px;
  background: var(--section-soft);
  color: var(--palette-dark);
  font-size: 13px;
}

.module-list span {
  color: var(--palette-dark);
  font-size: 14px;
  line-height: 1.35;
}

.module-list strong {
  color: var(--palette-blue);
  font-size: 15px;
  text-align: right;
}

.exams-section {
  padding: 42px 24px;
}

.exam-block {
  margin-bottom: 24px;
  overflow: hidden;
}

.exam-block h3 {
  margin: 0;
  padding: 18px 20px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-size: 24px;
  line-height: 1.2;
}

.responsive-table {
  overflow-x: auto;
}

.responsive-table table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--palette-dark);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background: var(--section-soft);
  color: var(--palette-dark);
  font-weight: 800;
}

.responsive-table tbody tr:nth-child(even) {
  background: rgba(247, 249, 252, 0.9);
}

.responsive-table td:first-child,
.responsive-table td:nth-child(3),
.responsive-table td:nth-child(5),
.responsive-table td:nth-child(7) {
  color: var(--palette-blue);
  font-weight: 800;
}

.exam-note {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--border-soft);
  background: var(--section-muted);
  color: var(--palette-dark);
  font-size: 15px;
  line-height: 1.5;
}

.unit-reading {
  padding: 0 24px;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.unit-grid article {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 18px;
}

.unit-grid strong {
  color: var(--palette-blue);
  font-size: 20px;
}

.unit-grid span {
  color: var(--palette-dark);
  font-size: 15px;
  line-height: 1.45;
}

/* Corps pedagogique */
.staff-page {
  background: transparent;
}

.staff-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 24px;
}

.staff-domain-grid {
  display: grid;
  gap: 22px;
  padding: 0 24px;
}

.staff-domain-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.staff-domain-card > .teacher-card {
  margin: 16px;
}

.staff-domain-head {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(14, 93, 134, 0.95), rgba(0, 58, 93, 0.96));
  color: var(--palette-light);
}

.staff-domain-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--palette-peach);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.staff-domain-head h3 {
  margin: 0;
  color: var(--palette-light);
  font-size: 26px;
  line-height: 1.15;
}

.teacher-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.five-slots {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.three-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-card {
  position: relative;
  min-height: 190px;
  padding: 18px;
  border: 1px dashed rgba(14, 93, 134, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(135deg, transparent 0, transparent 10px, rgba(14, 93, 134, 0.06) 10px, rgba(14, 93, 134, 0.06) 20px);
}

.teacher-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--palette-blue) 0 10px, transparent 11px),
    radial-gradient(circle at 50% 82%, var(--palette-blue) 0 18px, transparent 19px),
    var(--section-soft);
  opacity: 0.95;
}

.teacher-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--palette-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.teacher-card h4 {
  margin: 0 0 8px;
  color: var(--palette-dark);
  font-size: 18px;
  line-height: 1.2;
}

.teacher-card p {
  margin: 0;
  color: var(--palette-blue);
  font-size: 14px;
  line-height: 1.45;
}

.single-teacher {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  min-height: 142px;
}

.single-teacher::before {
  grid-row: 1 / span 3;
  margin: 0;
}

.single-teacher span,
.single-teacher h4,
.single-teacher p {
  grid-column: 2;
}

.language-staff-section {
  padding: 42px 24px;
}

.language-staff-grid {
  display: grid;
  gap: 18px;
}

/* Pages de detail des rubriques */
.detail-rubrique-page {
  background: transparent;
}

.detail-rubrique-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 42px 24px;
  align-items: start;
}

.detail-article,
.detail-side-card {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.detail-article {
  padding: 32px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--section-soft);
  color: var(--palette-dark);
  font-size: 14px;
  font-weight: 800;
}

.detail-article p {
  margin: 0 0 18px;
  color: var(--palette-dark);
  font-size: 19px;
  line-height: 1.7;
}

.detail-attachment {
  margin: 22px 0 18px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.detail-attachment img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f7fbfe;
}

.detail-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--palette-blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.detail-file-link:hover {
  background: var(--palette-dark);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.detail-back-link:hover {
  background: var(--palette-dark);
  color: var(--palette-light);
}

.page-return {
  padding: 28px 24px 42px;
}

.detail-side-card {
  padding: 22px;
  position: sticky;
  top: 22px;
}

.detail-side-card h2 {
  margin: 0 0 14px;
  color: var(--palette-dark);
  font-size: 24px;
}

.detail-side-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--palette-dark);
  line-height: 1.5;
}

/* Pages listes: actualites, notes, evenements */
.rubrique-list-page {
  background: rgba(247, 249, 252, 0.48);
  backdrop-filter: blur(3px);
}

.rubrique-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 58, 93, 0.72), rgba(14, 93, 134, 0.28)),
    url("gallery-12.jpg") center / cover no-repeat;
}

.rubrique-banner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 88px;
  background: linear-gradient(90deg, rgba(0, 58, 93, 0.78), rgba(0, 58, 93, 0.24));
}

.notes-banner {
  background:
    linear-gradient(90deg, rgba(0, 58, 93, 0.74), rgba(241, 196, 15, 0.18)),
    url("gallery-5.jpg") center / cover no-repeat;
}

.evenements-banner {
  background:
    linear-gradient(90deg, rgba(0, 58, 93, 0.74), rgba(46, 163, 242, 0.18)),
    url("gallery-2.jpg") center / cover no-repeat;
}

.rubrique-banner .container {
  position: relative;
  z-index: 1;
  padding: 0 24px 28px;
  color: var(--palette-light);
}

.rubrique-banner span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.rubrique-banner h1 {
  margin: 0;
  color: var(--palette-light);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
}

.rubrique-list-wrap {
  padding: 38px 24px 54px;
}

.rubrique-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.rubrique-list-heading p {
  margin: 0;
  color: var(--palette-dark);
  font-size: 20px;
  font-weight: 700;
}

.rubrique-list-heading a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 5px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.rubrique-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.rubrique-card {
  display: grid;
  grid-template-rows: 220px minmax(190px, auto);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.rubrique-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 93, 134, 0.34);
  box-shadow: 0 20px 42px rgba(0, 58, 93, 0.14);
}

.rubrique-poster {
  position: relative;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 11% 42%, rgba(255, 255, 255, 0.96) 0 9%, transparent 9.5%),
    radial-gradient(circle at 88% 0, rgba(0, 58, 93, 0.28) 0 9%, transparent 9.5%),
    radial-gradient(circle at 98% 72%, transparent 0 8%, rgba(14, 93, 134, 0.7) 8.5% 9.5%, transparent 10%),
    linear-gradient(115deg, rgba(255, 245, 236, 0.96) 0 38%, rgba(255, 255, 255, 0.94) 38% 70%, rgba(231, 240, 246, 0.94) 70%);
}

.rubrique-poster::before,
.rubrique-poster::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rubrique-poster::before {
  top: 20px;
  right: 62px;
  width: 108px;
  height: 46px;
  background-image: radial-gradient(currentColor 2px, transparent 2.5px);
  background-size: 14px 14px;
  color: rgba(14, 93, 134, 0.48);
}

.rubrique-poster::after {
  right: -20px;
  bottom: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: currentColor;
  color: rgba(14, 93, 134, 0.86);
}

.rubrique-poster-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--palette-dark);
  font-size: 12px;
  font-weight: 800;
}

.rubrique-poster-main {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 32px;
  text-align: center;
}

.rubrique-poster-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 3px solid rgba(0, 58, 93, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--palette-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
}

.rubrique-poster-logo {
  line-height: 1;
}

.rubrique-poster-main strong {
  min-width: 160px;
  padding: 8px 18px;
  border-radius: 4px;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.rubrique-poster-main small {
  color: var(--palette-dark);
  font-size: 17px;
  font-weight: 800;
}

.rubrique-card-body {
  padding: 24px 24px 28px;
}

.rubrique-card-body span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--palette-blue);
  font-size: 13px;
  font-weight: 800;
}

.rubrique-card-body h2 {
  margin: 0 0 12px;
  color: var(--palette-blue);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.rubrique-card-body p {
  margin: 0;
  color: var(--palette-dark);
  font-size: 17px;
  line-height: 1.5;
}

.rubrique-card.theme-green .rubrique-poster-main strong {
  background: #08705f;
}

.rubrique-card.theme-gold .rubrique-poster-main strong {
  background: #bc7134;
}

.rubrique-card.theme-navy .rubrique-poster-main strong {
  background: var(--palette-dark);
}

/* Vie etudiant */
.student-life-page {
  background: transparent;
}

.student-hero {
  padding: 54px 0;
  background:
    linear-gradient(rgba(0, 58, 93, 0.76), rgba(0, 58, 93, 0.78)),
    url("gallery-1.jpg") center / cover no-repeat;
  color: var(--section-white);
}

.student-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: 0 24px;
}

.student-kicker,
.student-section-title span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--palette-peach);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.student-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--section-white);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06;
}

.student-hero p {
  max-width: 800px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.student-hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.student-hero-panel span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--section-white);
  color: var(--palette-dark);
  font-weight: 800;
}

.student-hero-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--section-white);
  font-size: 28px;
  line-height: 1.15;
}

.student-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 34px 24px;
}

.student-dashboard article,
.student-card-large,
.resource-grid a,
.timeline-list article {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.student-dashboard article {
  min-height: 190px;
  padding: 22px;
}

.student-dashboard span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--palette-blue);
  color: var(--palette-light);
  font-weight: 800;
}

.student-dashboard h2,
.student-card-large h2,
.student-section-title h2 {
  margin: 0 0 10px;
  color: var(--palette-dark);
  line-height: 1.15;
}

.student-dashboard h2 {
  font-size: 23px;
}

.student-dashboard p,
.resource-grid span,
.timeline-list p,
.student-card-large p,
.student-card-large li {
  color: var(--palette-blue);
  line-height: 1.5;
}

.student-band {
  padding: 42px 0;
  background: rgba(231, 240, 246, 0.62);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(3px);
}

.student-section-title {
  max-width: 780px;
  margin-bottom: 22px;
  padding: 0 24px;
}

.student-section-title span {
  color: var(--palette-blue);
}

.student-section-title h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px;
}

.timeline-list article {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border-top: 5px solid var(--palette-blue);
}

.timeline-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--palette-dark);
  font-size: 20px;
}

.student-resources {
  padding: 42px 24px;
  border-top: 1px solid rgba(216, 228, 236, 0.82);
  border-bottom: 1px solid rgba(216, 228, 236, 0.82);
  background: rgba(241, 246, 250, 0.84);
  backdrop-filter: blur(8px);
}

.student-resources .student-section-title {
  padding: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-grid a {
  min-height: 160px;
  padding: 22px;
}

.resource-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 93, 134, 0.34);
  box-shadow: 0 18px 38px rgba(0, 58, 93, 0.13);
}

.resource-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--palette-dark);
  font-size: 20px;
  line-height: 1.2;
}

.student-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 0 24px;
}

.student-card-large {
  padding: 26px;
}

.student-card-large.accent {
  background: linear-gradient(135deg, rgba(14, 93, 134, 0.95), rgba(0, 58, 93, 0.96));
}

.student-card-large.accent h2,
.student-card-large.accent p {
  color: var(--palette-light);
}

.student-card-large ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.panel,
.formation-panel,
.events-panel,
.productions-panel,
.info-intro-card,
.program-card,
.info-panel,
.qualities-card,
.faq-grid article,
.info-card-grid article,
.year-card,
.after-card,
.path-card,
.tech-category-grid article,
.module-stat-card,
.semester-card,
.exam-block,
.unit-grid article,
.staff-domain-card,
.teacher-card,
.detail-article,
.detail-side-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.panel:hover,
.formation-panel:hover,
.events-panel:hover,
.productions-panel:hover,
.info-intro-card:hover,
.program-card:hover,
.info-panel:hover,
.qualities-card:hover,
.faq-grid article:hover,
.info-card-grid article:hover,
.year-card:hover,
.after-card:hover,
.path-card:hover,
.tech-category-grid article:hover,
.module-stat-card:hover,
.semester-card:hover,
.exam-block:hover,
.unit-grid article:hover,
.staff-domain-card:hover,
.teacher-card:hover,
.detail-article:hover,
.detail-side-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 93, 134, 0.34);
  box-shadow: 0 18px 38px rgba(0, 58, 93, 0.13);
}

.scroll-top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--palette-blue);
  color: var(--palette-light);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 58, 93, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover {
  background: var(--palette-dark);
  transform: translateY(-2px);
}

body.is-rtl .scroll-top-button {
  right: auto;
  left: 22px;
}

html[dir="rtl"],
body.is-rtl {
  direction: rtl;
}

body.is-rtl {
  text-align: right;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
}

body.is-rtl .top-menu,
body.is-rtl .main-menu {
  direction: rtl;
}

body.is-rtl .search-form {
  margin-right: auto;
  margin-left: 0;
}

body.is-rtl .search-form input,
body.is-rtl .message-form input,
body.is-rtl .message-form select,
body.is-rtl .message-form textarea,
body.is-rtl .language-card select,
body.is-rtl .language-switch select {
  text-align: right;
}

body.is-rtl .search-form > button::before {
  right: 6px;
  left: auto;
}

body.is-rtl .search-form > button::after {
  right: 20px;
  left: auto;
  transform: rotate(-45deg);
  transform-origin: right center;
}

body.is-rtl .search-results {
  right: auto;
  left: 0;
}

body.is-rtl .search-result-item {
  text-align: right;
}

body.is-rtl .main-menu a::after {
  margin-right: 8px;
  margin-left: 0;
}

body.is-rtl .logo-panel {
  border-right: 0;
  border-left: 1px solid var(--border-soft);
}

body.is-rtl .slider-frame {
  padding: 42px 330px 92px 125px;
}

body.is-rtl .slide-brand {
  right: 82px;
  left: auto;
}

body.is-rtl .slide-contact > span:nth-child(2),
body.is-rtl .slide-contact > span:nth-child(4) {
  padding-right: 0;
  padding-left: 28px;
  border-right: 0;
  border-left: 1px solid var(--palette-blue);
}

body.is-rtl .dot-top {
  right: auto;
  left: 150px;
}

body.is-rtl .dot-bottom {
  right: 325px;
  left: auto;
}

body.is-rtl .ring {
  right: auto;
  left: 92px;
}

body.is-rtl .shape-left {
  right: 365px;
  left: auto;
}

body.is-rtl .shape-right {
  right: auto;
  left: -26px;
}

body.is-rtl .formation-panel a::before,
body.is-rtl .productions-panel li a::before {
  margin-right: 0;
  margin-left: 10px;
  transform: scaleX(-1);
}

body.is-rtl .more-link,
body.is-rtl .gallery-more,
body.is-rtl .footer-contact {
  text-align: right;
}

body.is-rtl .footer-contact {
  justify-content: start;
}

body.is-rtl .footer-bottom {
  flex-direction: row-reverse;
}

body.is-rtl .footer-social {
  flex-direction: row-reverse;
}

body.is-rtl .pdf-link-box {
  border-right: 6px solid var(--palette-blue);
  border-left: 0;
}

body.is-rtl .side-panel ul {
  padding-right: 20px;
  padding-left: 0;
}

body.is-rtl .message-actions,
body.is-rtl .cookie-actions {
  flex-direction: row-reverse;
}

body.is-rtl .section-heading.align-left {
  text-align: right;
}

body.is-rtl .registration-steps,
body.is-rtl .qualities-card ul {
  padding-right: 20px;
  padding-left: 0;
}

body.is-rtl .info-warning {
  border-right: 5px solid var(--palette-blue);
  border-left: 0;
}

body.is-rtl .after-card ul {
  padding-right: 20px;
  padding-left: 0;
}

body.is-rtl .formation-note p {
  border-right: 5px solid var(--palette-blue);
  border-left: 0;
}

body.is-rtl .module-list strong,
body.is-rtl .responsive-table th,
body.is-rtl .responsive-table td {
  text-align: right;
}

/* Banniere cookies */
.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 16px 22px;
  background: var(--palette-light);
  border-top: 1px solid var(--palette-peach);
  box-shadow: 0 -8px 26px rgba(0, 58, 93, 0.14);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1170px, 100%);
  margin: 0 auto;
}

.cookie-content h2 {
  margin: 0 0 6px;
  color: var(--palette-dark);
  font-size: 19px;
}

.cookie-content p {
  max-width: 760px;
  margin: 0;
  color: var(--palette-blue);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-actions button {
  min-width: 94px;
  padding: 9px 15px;
  border: 0;
  border-radius: 4px;
  background: var(--palette-blue);
  color: var(--palette-light);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.cookie-actions button:last-child {
  background: var(--palette-dark);
}

@media (max-width: 980px) {
  .top-menu,
  .main-menu {
    flex-wrap: nowrap;
    height: auto;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .top-menu {
    overflow: visible;
  }

  .site-logo-mark {
    height: 42px;
    padding: 2px 0;
  }

  .site-logo-mark img {
    height: 36px;
    max-width: 96px;
  }

  .main-menu {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .top-menu a {
    height: auto;
  }

  .top-menu a::after {
    display: none;
  }

  .search-form {
    width: 100%;
    margin-left: 0;
  }

  .search-form input {
    width: 100%;
  }

  .hero-row,
  .home-grid,
  .second-grid {
    grid-template-columns: 1fr;
  }

  .logo-panel,
  .news-slider,
  .slider-frame {
    height: auto;
    min-height: 360px;
  }

  .slider-frame {
    padding: 34px 60px 92px 150px;
  }

  .slider-frame h1 {
    font-size: 30px;
  }

  .slide-label,
  .slide-action {
    font-size: 28px;
  }

  .slider-caption {
    font-size: 22px;
  }

  .slide-brand {
    left: 24px;
    top: 36px;
    width: 120px;
  }

  .slide-brand img {
    width: 82px;
    height: 82px;
  }

  .slide-brand strong,
  .slide-brand span,
  .slide-contact {
    display: none;
  }

  .slide-action {
    width: min(360px, 70%);
  }

  .president-box {
    padding: 20px 16px;
  }

  .home-grid,
  .second-grid {
    padding: 34px 16px;
  }

  .gallery-section .container {
    padding: 0 16px;
  }

  .gallery-scroll {
    grid-auto-columns: 170px;
    grid-template-rows: repeat(2, 120px);
  }

  .gallery-photo {
    height: 120px;
  }

  .gallery-lightbox {
    padding: 30px 58px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .footer-contact {
    justify-content: start;
    text-align: left;
  }

  .footer-bottom {
    padding-right: 16px;
    padding-left: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .message-hero-inner,
  .message-workspace {
    grid-template-columns: 1fr;
  }

  .message-workspace {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cookie-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .info-overview,
  .two-column-info,
  .registration-layout,
  .outcomes-layout,
  .formation-split,
  .years-layout,
  .after-layout,
  .profile-layout,
  .modules-summary,
  .semester-grid,
  .staff-intro,
  .five-slots,
  .three-slots,
  .rubrique-card-grid,
  .student-hero-inner,
  .student-dashboard,
  .timeline-list,
  .resource-grid,
  .student-two-columns {
    grid-template-columns: 1fr;
  }

  .info-card-grid,
  .program-layout,
  .faq-grid,
  .tech-category-grid,
  .unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .top-menu,
  .main-menu {
    gap: 14px;
    padding: 10px 14px;
  }

  .top-menu a,
  .main-menu a {
    font-size: 15px;
  }

  .search-form {
    flex: 0 0 260px;
    width: auto;
  }

  .hero-row {
    min-height: auto;
  }

  .logo-panel {
    min-height: 310px;
    padding: 38px 16px 26px;
  }

  .logo-box {
    width: min(230px, 86vw);
  }

  .bts-logo {
    width: 128px;
    height: 128px;
  }

  .news-slider,
  .slider-frame {
    min-height: 390px;
  }

  .slider-frame {
    padding: 30px 48px 88px;
  }

  .slide-brand {
    top: 22px;
    left: 18px;
    width: 92px;
    opacity: 0.2;
    z-index: 0;
  }

  .slide-brand img {
    width: 88px;
    height: 88px;
  }

  .slider-frame h1 {
    font-size: clamp(25px, 6vw, 32px);
  }

  .slide-label,
  .slide-action {
    font-size: clamp(22px, 5.3vw, 28px);
  }

  .slide-action {
    width: min(360px, 86%);
    margin-top: 36px;
  }

  .slider-arrow {
    width: 38px;
    height: 52px;
  }

  .slider-arrow::before {
    width: 22px;
    height: 22px;
    border-top-width: 6px;
    border-left-width: 6px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .president-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .president-image {
    width: 150px;
    max-width: none;
    height: 150px;
  }

  .president-box p {
    font-size: 17px;
  }

  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-poster {
    min-height: 180px;
  }

  .video-placeholder {
    width: 100%;
  }

  .gallery-scroll {
    grid-auto-columns: 155px;
    grid-template-rows: repeat(2, 108px);
  }

  .gallery-photo {
    height: 108px;
  }

  .detail-content {
    padding: 30px 18px 50px;
  }

  .detail-content h1 {
    font-size: 30px;
  }

  .detail-content h2 {
    font-size: 24px;
  }

  .detail-content p {
    font-size: 18px;
  }

  .director-hero {
    min-height: 280px;
    font-size: 24px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-bottom {
    font-size: 14px;
  }

  .message-hero {
    padding: 34px 0;
  }

  .message-hero-inner {
    padding: 0 16px;
  }

  .message-hero p {
    font-size: 17px;
  }

  .message-form {
    padding: 20px;
  }

  .form-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    padding: 14px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }

  .info-hero {
    padding: 40px 0;
  }

  .info-hero-inner,
  .info-overview,
  .program-section,
  .evaluation-section,
  .faq-section,
  .two-column-info,
  .registration-layout,
  .outcomes-layout,
  .formation-split,
  .years-layout,
  .technology-section,
  .after-bts-section,
  .profile-layout,
  .formation-note,
  .modules-summary,
  .exams-section,
  .unit-reading,
  .staff-intro,
  .language-staff-section,
  .detail-rubrique-layout,
  .student-hero-inner,
  .student-dashboard,
  .student-resources {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading,
  .info-card-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .info-card-grid,
  .program-layout,
  .faq-grid,
  .tech-category-grid,
  .unit-grid {
    grid-template-columns: 1fr;
  }

  .info-intro-card,
  .info-panel,
  .qualities-card {
    padding: 22px;
  }

  .evaluation-table > div {
    grid-template-columns: 1fr;
  }

  .formation-table {
    margin-right: 16px;
    margin-left: 16px;
  }

  .year-modules div,
  .path-list div {
    grid-template-columns: 1fr;
  }

  .semester-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .staff-domain-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .single-teacher {
    grid-template-columns: 1fr;
  }

  .single-teacher::before,
  .single-teacher span,
  .single-teacher h4,
  .single-teacher p {
    grid-column: 1;
  }

  .single-teacher::before {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .detail-rubrique-layout {
    grid-template-columns: 1fr;
  }

  .rubrique-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-side-card {
    position: static;
  }

  .timeline-list,
  .student-two-columns,
  .student-section-title {
    padding-right: 16px;
    padding-left: 16px;
  }

  .module-list div {
    grid-template-columns: 46px minmax(0, 1fr) 38px;
  }
}

@media (max-width: 520px) {
  .container {
    width: 100%;
  }

  .main-menu .lang-link,
  .language-switch select {
    height: 38px;
  }

  .search-form {
    flex-basis: 220px;
  }

  .site-logo-mark {
    height: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .site-logo-mark img {
    height: 34px;
    max-width: 90px;
  }

  .logo-panel {
    min-height: 285px;
  }

  .news-slider,
  .slider-frame {
    min-height: 410px;
  }

  .slider-frame {
    padding: 28px 36px 92px;
  }

  .slide-label {
    margin-bottom: 34px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .slide-action {
    width: 88%;
    margin-top: 34px;
  }

  .slider-caption {
    padding: 12px 14px;
    font-size: 18px;
  }

  .home-grid,
  .second-grid,
  .gallery-section .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .media-item,
  .media-item.compact {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .event-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .gallery-scroll {
    grid-auto-columns: 138px;
    grid-template-rows: repeat(2, 100px);
  }

  .gallery-photo {
    height: 100px;
  }

  .gallery-lightbox {
    padding: 28px 44px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-brand img {
    width: 72px;
    height: 72px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .detail-article {
    padding: 22px;
  }

  .detail-article p {
    font-size: 17px;
  }

  .student-hero {
    padding: 38px 0;
  }

  .student-hero p {
    font-size: 17px;
  }

  .student-dashboard article,
  .timeline-list article,
  .resource-grid a {
    min-height: auto;
  }

  .scroll-top-button {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  body.is-rtl .scroll-top-button {
    right: auto;
    left: 14px;
  }

  .info-hero p,
  .info-intro-card p,
  .info-panel p {
    font-size: 16px;
  }

  .info-card-grid article,
  .program-card,
  .faq-grid article,
  .tech-category-grid article,
  .unit-grid article {
    min-height: auto;
  }
}

body.is-rtl .top-menu,
body.is-rtl .main-menu {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  body.is-rtl .slide-brand {
    right: 24px;
    left: auto;
  }

  body.is-rtl .slider-frame {
    padding: 34px 150px 92px 60px;
  }
}

@media (max-width: 760px) {
  body.is-rtl .slide-brand {
    right: 18px;
    left: auto;
  }

  body.is-rtl .slider-frame {
    padding: 30px 48px 88px;
  }
}

@media (max-width: 520px) {
  body.is-rtl .slider-frame {
    padding: 28px 36px 92px;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100%, 960px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .top-menu,
  .main-menu {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-row,
  .home-grid,
  .second-grid,
  .message-hero-inner,
  .message-workspace,
  .info-overview,
  .two-column-info,
  .registration-layout,
  .outcomes-layout,
  .formation-split,
  .years-layout,
  .after-layout,
  .profile-layout,
  .modules-summary,
  .semester-grid,
  .staff-intro,
  .five-slots,
  .three-slots,
  .rubrique-card-grid,
  .student-hero-inner,
  .student-dashboard,
  .timeline-list,
  .resource-grid,
  .student-two-columns,
  .detail-rubrique-layout {
    grid-template-columns: 1fr;
  }

  .info-card-grid,
  .program-layout,
  .faq-grid,
  .tech-category-grid,
  .unit-grid,
  .staff-domain-grid,
  .language-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .responsive-table,
  .formation-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .responsive-table table {
    min-width: 760px;
  }

  .president-box,
  .footer-main,
  .cookie-content {
    align-items: flex-start;
  }

  img,
  table,
  iframe,
  video {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .top-menu {
    display: grid;
    grid-template-columns: auto repeat(3, max-content);
    gap: 10px 14px;
    padding: 10px 14px;
    overflow-x: hidden;
  }

  .top-menu .search-form {
    grid-column: 1 / -1;
    width: 100%;
    flex-basis: auto;
  }

  .main-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 14px;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .main-menu a,
  .top-menu a {
    font-size: 14px;
  }

  .hero-row {
    min-height: auto;
  }

  .logo-panel,
  .news-slider,
  .slider-frame {
    min-height: 320px;
  }

  .slider-frame {
    padding: 28px 42px 84px;
  }

  .slider-caption {
    min-height: 54px;
    font-size: 18px;
  }

  .slide-label,
  .slide-action,
  .slider-frame h1 {
    max-width: 100%;
  }

  .president-box,
  .footer-main,
  .footer-bottom,
  .cookie-content,
  .form-section-title {
    flex-direction: column;
  }

  .media-item,
  .media-item.compact,
  .event-item,
  .module-list div,
  .single-teacher {
    grid-template-columns: 1fr;
  }

  .thumb-image,
  .notice-thumb,
  .notice-thumb.small,
  .event-poster,
  .document-poster {
    width: 100%;
  }

  .info-card-grid,
  .program-layout,
  .faq-grid,
  .tech-category-grid,
  .unit-grid,
  .staff-domain-grid,
  .language-staff-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .message-form,
  .info-intro-card,
  .info-panel,
  .qualities-card,
  .program-card,
  .semester-card,
  .staff-domain-card,
  .teacher-card,
  .detail-article,
  .detail-side-card,
  .student-card-large,
  .student-dashboard article,
  .resource-grid a,
  .timeline-list article {
    padding: 18px;
  }

  .evaluation-table > div,
  .year-modules div,
  .path-list div {
    grid-template-columns: 1fr;
  }

  .gallery-scroll {
    max-width: 100%;
    overflow-x: auto;
  }

  .cookie-actions,
  .message-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-actions button,
  .message-actions button {
    flex: 1 1 140px;
  }
}

@media (max-width: 480px) {
  .container,
  .home-grid,
  .second-grid,
  .message-workspace,
  .info-hero-inner,
  .info-overview,
  .program-section,
  .evaluation-section,
  .faq-section,
  .two-column-info,
  .registration-layout,
  .outcomes-layout,
  .formation-split,
  .years-layout,
  .technology-section,
  .after-bts-section,
  .profile-layout,
  .formation-note,
  .modules-summary,
  .exams-section,
  .unit-reading,
  .staff-intro,
  .language-staff-section,
  .detail-rubrique-layout,
  .student-hero-inner,
  .student-dashboard,
  .student-resources,
  .timeline-list,
  .student-two-columns,
  .student-section-title {
    padding-right: 12px;
    padding-left: 12px;
  }

  .top-menu {
    grid-template-columns: 1fr;
  }

  .top-menu a,
  .site-logo-mark,
  .language-switch,
  .language-switch select {
    width: 100%;
  }

  .main-menu {
    gap: 10px;
    padding: 9px 12px;
  }

  .logo-panel,
  .news-slider,
  .slider-frame {
    min-height: 300px;
  }

  .slider-frame {
    padding: 24px 34px 84px;
  }

  .slider-arrow {
    width: 32px;
  }

  .slider-prev {
    left: 4px;
  }

  .slider-next {
    right: 4px;
  }

  .slide-label {
    margin-bottom: 26px;
    padding: 9px 16px;
  }

  .slide-action {
    width: 100%;
    margin-top: 28px;
  }

  .president-image {
    width: 128px;
    height: 128px;
  }

  .panel,
  .formation-panel,
  .events-panel,
  .productions-panel,
  .message-form,
  .info-intro-card,
  .info-panel,
  .qualities-card,
  .program-card,
  .semester-card,
  .staff-domain-card,
  .teacher-card,
  .detail-article,
  .detail-side-card,
  .student-card-large,
  .student-dashboard article,
  .resource-grid a,
  .timeline-list article {
    padding: 16px;
  }

  .formation-panel h2 {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .media-item,
  .event-item {
    min-height: auto;
  }

  .responsive-table table {
    min-width: 640px;
  }

  .gallery-lightbox {
    padding: 24px 38px;
  }
}

@media (max-width: 1024px) {
  body.is-rtl .container {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  body.is-rtl .top-menu,
  body.is-rtl .main-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  body.is-rtl .container {
    padding-right: 12px;
    padding-left: 12px;
  }
}






