@import url("./contact.css");
@import url("./historiques.css");

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family-base);
}

:root {
  --font-family-base: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background-color: #fff;
  color: #1f2933;
  font-family: var(--font-family-base);
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul {
  padding-left: 0;
}

.bigTittle {
  padding: 0.5em 0;
  color: #fc2d5b !important;
}

.main-container {
  width: 100%;
  max-width: 1300px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 5%;
  background-image: url("/img/background.jpeg");
  background-size: cover;
  background-position: center;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1.5em;
}

.block-content {
  flex: 1;
}

header {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.75rem 0;
  border-bottom: 1px solid silver;
  overflow: hidden;
}

.text-lois {
  padding: 5px;
}

.table {
  width: min(100%, 640px);
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-collapse: separate;
  border-radius: 4px;
  overflow: hidden;
}

.table tbody {
  display: flex;
  flex-direction: column;
}

.table tbody tr {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 1.5em 5px;
}

.table tbody tr:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.nav-and-header {
  position: relative;
  z-index: 2000;
}

.icon_home {
  width: 20px;
  height: 20px;
}

.nav-and-header nav {
  border-bottom: 1px solid silver;
}

.nav-and-header nav ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem clamp(0.75rem, 2vw, 2rem);
  padding: 1em 0;
}

.nav-and-header nav li {
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: clamp(15px, 1.45vw, 18px);
  white-space: nowrap;
}

.nav-and-header nav a {
  text-decoration: none;
  color: #111;
}

.link-menu {
  font-weight: 700;
}

.dropdown-menu {
  position: relative;
}

.dropdown-menu:hover {
  background-color: #f1284e;
}

.dropdown-menu:hover > .link-menu {
  color: #fff;
}

.dropdown-menu > a,
.dropdown-menu > span {
  display: flex;
  align-items: center;
  padding: 0.5em;
}

.dropdown-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  width: max-content;
  max-width: min(90vw, 320px);
  padding: 0.5em;
  background-color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  font-size: 13px;
  z-index: 2100;
}

.dropdown-submenu li {
  display: flex;
  flex-direction: column;
}

.dropdown-submenu a {
  padding: 0.6em 0.5em;
}

.dropdown-submenu a:hover {
  background-color: rgba(209, 206, 206, 0.7);
}

.dropdown-submenu a:not(:last-child) {
  border-bottom: 1px dashed grey;
}

.dropdown-menu:hover > .dropdown-submenu {
  display: block;
  color: #1f1e1e;
}

.home-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding: 2em 0 0;
}

.acces-direct-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.acces-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1em;
}

.acces-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.acces-item h1 {
  font-size: 1rem;
}

.acces-item h1 a {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  text-decoration: none;
}

.acces-item h1 img {
  width: 100%;
  aspect-ratio: 240 / 170;
  object-fit: cover;
}

.acces-item h1 b {
  color: red;
  font-size: 14px;
  font-weight: 700;
  animation: clignoter 2s infinite;
}

.details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  color: grey;
  font-size: 0.9rem;
}

.details a {
  color: grey;
  text-decoration: none;
}

.a-l-a-une-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: 2em;
  width: 100%;
}

.posts {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.carousel-imgs_acces-directs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 241px;
  gap: 2.5em;
  align-items: start;
}

.carousel-imgs {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
}

.carousel article,
.carousel article img {
  width: 100%;
}

.carousel article img {
  aspect-ratio: 500 / 286;
  object-fit: cover;
}

.carousel-controle {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.carousel:hover .carousel-controle {
  opacity: 1;
}

.next,
.prev {
  width: 35px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230, 61, 92, 0.6);
  cursor: pointer;
}

.next {
  border-radius: 35px 0 0 35px;
}

.prev {
  border-radius: 0 35px 35px 0;
}

.next::before {
  content: ">";
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.prev::before {
  content: "<";
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.acces-directs-items {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.acces-directs-items > a img {
  width: 100%;
  aspect-ratio: 241 / 131;
  object-fit: cover;
  border-radius: 12px;
}

.acces-direct-links {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.acces-direct-links a {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  border: 1px solid silver;
  text-decoration: none;
}
.dropdown-submenu {
  display: none;
}
.acces-direct-links h5 {
  width: max-content;
  max-width: 100%;
  padding: 0.5em;
  border-radius: 5px;
  color: #fff;
  text-transform: capitalize;
}

.these-post h5 {
  background-color: #49afcd;
}

.article-post h5 {
  background-color: #55efc4;
}

.acces-direct-links span {
  color: #808080;
  font-size: 10px;
}

@keyframes clignoter {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.ala_une-header nav {
  border-bottom: 1px solid silver;
}

.ala_une-header nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
}

.ala_une-header nav li {
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: 18px;
}

.ala_une-header nav a {
  color: #111;
  text-decoration: none;
}

.ala-une-bar-container ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  overflow-x: auto;
}

.ala-une-bar-container li {
  list-style: none;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.ala-une-bar-container span {
  width: max-content;
  display: flex;
  align-items: center;
  padding: 0.5em 1em 0.5em 0;
  color: #808080;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.ala-une-bar-container span:hover,
.ala-une-bar-container li.active span {
  border-bottom-color: #f1284e;
}

.ala-une-bar-container li.active span {
  color: #111;
  font-size: 20px;
  font-weight: 700;
}

.ala-une-link-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em 0;
}

.link-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 1em;
  border-bottom: 1px dashed #808080;
}

.link-item .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-actualiser {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.guide-actualiser .title {
  color: #0984e3;
  font-size: 14px;
  font-weight: 700;
}

.guide-actualiser-header {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.guide-actualiser-img img {
  width: 100%;
}

.static-container {
  width: 100%;
  display: flex;
  gap: 2em;
}

.chiffer-container,
.mission-container {
  flex: 1;
  min-width: 0;
}

.chiffer-container {
  min-height: 15em;
  border-right: 1px solid #808080;
}

.chiffre-datas {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.5em 0 0;
  font-weight: 900;
}

.chiffre-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.chiffre-item .data {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1284e;
  border-radius: 50%;
}

.chiffre-item .data span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mission-container {
  min-height: 15em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.date-container {
  width: fit-content;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 2em;
  padding: 0.5em;
  background-color: #a7a5a5;
  border-radius: 10px;
}

.date-container span {
  color: rgba(0, 0, 0, 0.88);
}

.enterprise-logo {
  flex: 0 0 auto;
}

.enterprise-logo img {
  width: clamp(88px, 15vw, 192px);
  height: clamp(88px, 15vw, 192px);
  object-fit: contain;
}

.separator-container {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.separator-one,
.separator-two {
  width: 100%;
  max-width: 100%;
  height: 1em;
}

.separator-one {
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}

.separator-two {
  border-top: 2px solid silver;
}

.presentation-space article,
.admin-space {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

article .text {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 18px;
  line-height: 1.8;
}

article .text p {
  text-align: justify;
}

.dropcap {
  float: left;
  margin-right: 12px;
  color: #0d6efd;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.filieres {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.filieres li {
  list-style: none;
  padding: 1em;
  background: #eef2f7;
  border-left: 4px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.filieres li:hover {
  background: #e0e7ff;
  border-right: 4px solid #0d6efd;
  border-left-color: #0d6efd;
  transform: translateX(1px);
}

.debouche-container {
  margin-top: 20px;
  padding: 15px 18px;
  background: #f8f9fa;
  border-left: 5px solid #0d6efd;
  border-radius: 6px;
}

.debouche-container h4 {
  color: #0d6efd;
}

.debouche-container ul {
  padding: 0 1em;
}

.debouche-container li {
  margin-bottom: 6px;
  color: #333;
  line-height: 1.5;
}

.site-footer {
  margin-top: 2.5em;
  padding: 2.5em 1.5em 1em;
  background: #15171c;
  color: #edf2f7;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 2em;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 0.35em;
  background-color: #fff;
  border-radius: 6px;
}

.footer-brand h3,
.footer-section h4 {
  margin-bottom: 0.6em;
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  list-style: none;
}

.footer-section li,
.footer-section a {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fc2d5b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aeb9c7;
  font-size: 13px;
}

.hamburger,
.menu-toggle {
  display: none;
}

.hamburger {
  flex-direction: column;
  gap: 5px;
  width: max-content;
  margin-left: auto;
  padding: 10px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 4px;
  background: #111;
}

.discourt-container {
  position: relative;
  overflow: hidden;
  padding: 5px 15px;
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.discourt-container .text p {
  padding: 5px;
  color: #2b2b2b;
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: justify;
}

.discourt-container .text p .dropcap {
  float: left;
  margin-top: 5px;
  padding-right: 10px;
  color: #0d6efd;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 2px 4px rgba(30, 58, 138, 0.15);
}

.director-objectif {
  display: grid;
  gap: 10px;
  padding-left: 10px;
}

.director-objectif li {
  position: relative;
  list-style: none;
  padding: 12px 15px 12px 40px;
  background: #f4f7ff;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 500;
}

.director-objectif li::before {
  content: "✓";
  position: absolute;
  top: 25%;
  left: 14px;
  display: flex;
  align-items: center;
  color: #3b82f6;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .main-container {
    padding: 0 2%;
  }

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

  .a-l-a-une-container {
    grid-template-columns: 1fr;
  }

  .post-events {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-and-header {
    border-bottom: 1px solid silver;
  }

  .hamburger {
    display: flex;
  }

  .nav-and-header nav {
    display: none;
    border-top: 1px solid silver;
    border-bottom: 0;
  }

  .nav-and-header nav.active {
    display: block;
  }

  .nav-and-header nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5em 0;
  }

  .nav-and-header nav li {
    width: 100%;
    font-size: 16px;
    white-space: normal;
    border-bottom: 1px solid #ececec;
  }

  .nav-and-header nav li:last-child {
    border-bottom: 0;
  }

  .dropdown-menu:hover {
    background-color: transparent;
  }

  .dropdown-menu:hover > .link-menu {
    color: #111;
  }

  .dropdown-menu > a,
  .dropdown-menu > span {
    justify-content: space-between;
    width: 100%;
    padding: 0.9em 0.75em;
  }

  .dropdown-menu.active > .link-menu {
    background-color: #f1284e;
    color: #fff;
  }

  .dropdown-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 0.35em 0 0.35em 1em;
    background-color: #f8f9fa;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
  }

  .dropdown-menu:hover > .dropdown-submenu {
    display: none;
  }

  .dropdown-menu.active > .dropdown-submenu {
    display: block;
  }

  .dropdown-submenu li {
    border-bottom: 0;
  }

  .dropdown-submenu a {
    padding: 0.75em;
  }
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5em;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }

  .footer-brand p {
    max-width: none;
  }

  .carousel-imgs_acces-directs {
    grid-template-columns: 1fr;
  }

  .carousel {
    max-width: none;
  }

  .acces-directs-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .acces-direct-links {
    grid-column: span 2;
  }

  .filieres {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 0;
    background-image: none;
  }

  header {
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
  }

  .enterprise-logo img {
    width: 82px;
    height: 82px;
  }

  .separator-container {
    gap: 0.45rem;
  }

  .main-content {
    padding: 0 1em;
  }

  .home-container {
    padding-top: 1em;
  }

  .acces-cards {
    grid-template-columns: 1fr;
  }

  .acces-item h1 img {
    max-height: 280px;
  }

  .static-container {
    flex-direction: column;
    gap: 1.5em;
  }

  .chiffer-container {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #808080;
    padding-bottom: 1em;
  }

  article {
    margin: 20px 0;
    padding: 20px;
  }

  article .text {
    font-size: 16px;
  }

  .dropcap {
    font-size: 45px;
  }

  .discourt-container {
    padding: 25px 20px;
  }

  .discourt-container .text p {
    font-size: 1rem;
  }

  .discourt-container .text p .dropcap {
    font-size: 3rem;
  }

  .director-objectif li {
    padding: 10px 12px 10px 38px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 1.75em 1em 1em;
  }

  .main-content {
    padding: 0 0.75em;
  }

  .acces-item h1 img {
    max-height: 230px;
  }

  .acces-directs-items {
    grid-template-columns: 1fr;
  }

  .acces-direct-links {
    grid-column: auto;
  }

  .ala-une-bar-container li.active span {
    font-size: 18px;
  }

  .table,
  .table tbody,
  .table tbody tr {
    display: block;
    width: 100%;
  }

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

  .separator-one {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.25em;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4em;
  }
}

.dropdown-menu > .dropdown-submenu {
  display: none;
}
.systeme-educatif-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0 2rem;
}

.edu-hero {
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(120deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
  border: 1px solid #dbe3ea;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.edu-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edu-lead {
  max-width: 72ch;
  color: #374151;
  line-height: 1.7;
}

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

.edu-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.edu-card h3 {
  color: #111827;
}

.edu-card p {
  color: #4b5563;
  line-height: 1.6;
}

.edu-list {
  padding-left: 1rem;
}

.edu-list li {
  margin-bottom: 0.4rem;
  color: #1f2937;
}

.edu-highlight {
  padding: 1.25rem;
  border-left: 5px solid #64748b;
  border-radius: 0 12px 12px 0;
  background-color: #f8fafc;
}

.edu-highlight h3 {
  margin-bottom: 0.5rem;
  color: #111827;
}

.edu-highlight p {
  color: #4b5563;
  line-height: 1.7;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.edu-tags span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .edu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .edu-hero,
  .edu-card,
  .edu-highlight {
    padding: 1rem;
  }

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

/* Home page refresh */
.home-container {
  gap: 2rem;
  padding: 1.25rem 0 2.5rem;
}

.home-container h1,
.home-container h2,
.home-container h3 {
  color: #182433;
  line-height: 1.1;
}

.home-hero {
  position: relative;
  min-height: clamp(360px, 48vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 8px;
  background-color: #182433;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 22, 35, 0.88),
    rgba(12, 22, 35, 0.45) 52%,
    rgba(12, 22, 35, 0.12)
  );
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #fff;
}

.home-hero__content h1 {
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: 0;
}

.home-hero__content p {
  max-width: 58ch;
  color: #eef4f8;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.home-kicker,
.section-heading span {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background-color: #d7193f;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.home-button:hover {
  transform: translateY(-2px);
  background-color: #b91434;
}

.home-button--secondary {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.home-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.acces-direct-container,
.about-school-section,
.guide-actualiser,
.static-container {
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.acces-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.acces-item {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.acces-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.acces-item .link-menu {
  display: block;
  text-decoration: none;
}

.acces-item h1 {
  font-size: 1rem;
}

.acces-item h1 img,
.acces-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.acces-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem;
}

.acces-item b {
  color: #182433;
  font-size: 1rem;
  animation: none;
}

.details {
  color: #68768a;
  font-size: 0.88rem;
}

.a-l-a-une-container {
  display: block;
}

.posts {
  gap: 1.5rem;
}

.carousel-imgs_acces-directs {
  display: block;
}

.carousel-imgs {
  gap: 1rem;
}

.carousel {
  max-width: none;
  overflow: hidden;
  border-radius: 8px;
  background-color: #eef2f7;
}

.carousel article img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.next,
.prev {
  background-color: rgba(24, 36, 51, 0.72);
}

.about-school-section,
.about-school-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-school-description {
  color: #3f4d5f;
  line-height: 1.8;
  text-align: justify;
}

.guide-actualiser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #eef6f8);
}

.guide-actualiser .title {
  max-width: 58ch;
  color: #3f4d5f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.guide-actualiser-img {
  overflow: hidden;
  border-radius: 8px;
}

.guide-actualiser-img img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.guide-actualiser-img:hover img {
  transform: scale(1.03);
}

.static-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  background-color: #182433;
  color: #e8eef4;
}

.static-container h3,
.static-container h4 {
  color: #fff;
}

.chiffer-container {
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.chiffre-datas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.chiffre-item {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
}

.chiffre-item .data {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  background-color: #d7193f;
}

.chiffre-item .data span {
  font-size: 0.86rem;
}

.chiffre-item .title,
.mission-description {
  color: #d9e4ec;
  line-height: 1.7;
}

.mission-container {
  min-height: 0;
}

.date-container {
  align-self: flex-start;
  background-color: #f4c542;
  color: #182433;
  border-radius: 8px;
}

.date-container h4 {
  color: #182433;
}

@media (max-width: 900px) {
  .home-hero__media::after {
    background: linear-gradient(
      0deg,
      rgba(12, 22, 35, 0.88),
      rgba(12, 22, 35, 0.18)
    );
  }

  .guide-actualiser,
  .static-container {
    grid-template-columns: 1fr;
  }

  .chiffer-container {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .home-container {
    padding-top: 1rem;
  }

  .home-hero {
    min-height: 430px;
    padding: 1rem;
  }

  .home-hero__actions,
  .home-button {
    width: 100%;
  }

  .carousel article img,
  .guide-actualiser-img img {
    aspect-ratio: 4 / 3;
  }

  .chiffre-datas {
    grid-template-columns: 1fr;
  }
}

/* Section Formations ECICA */
.formation-ecica {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.formation-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.formation-ecica .section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.formation-ecica .section-heading span {
  color: #d7193f;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.formation-ecica .section-heading h2 {
  color: #182433;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  margin: 0;
}

.formation-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.formation-page-indicator {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  min-width: 44px;
  text-align: center;
  user-select: none;
}

.formation-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #182433;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.formation-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.formation-nav-btn:not(:disabled):hover {
  background-color: #d7193f;
  color: #ffffff;
  border-color: #d7193f;
  box-shadow: 0 4px 12px rgba(215, 25, 63, 0.25);
  transform: translateY(-1px);
}

.formation-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e2e8f0;
  color: #94a3b8;
  background-color: #f8fafc;
}

.formation-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.formation-cards {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: 100%;
}

.formation-card {
  flex: 0 0 calc((100% - (3 * 1.25rem)) / 4);
  max-width: calc((100% - (3 * 1.25rem)) / 4);
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.formation-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.formation-card__images {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e2e8f0;
}

.formation-card__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.formation-card:hover .formation-card__images img {
  transform: scale(1.04);
}

.formation-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.65rem;
  background: rgba(24, 36, 51, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
}

.formation-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
  gap: 0.85rem;
}

.formation-card__title {
  color: #182433;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8rem;
}

.formation-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.formation-card__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.formation-card__icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: #d7193f;
  margin-top: 2px;
}

.formation-card__meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.formation-card__meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8291a4;
  letter-spacing: 0.04em;
}

.formation-card__meta-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  word-break: break-word;
}

.formation-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.65rem 0.95rem;
  background-color: #ffffff;
  color: #182433;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.formation-card__cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.formation-card__cta:hover {
  background-color: #d7193f;
  color: #ffffff;
  border-color: #d7193f;
  box-shadow: 0 4px 12px rgba(215, 25, 63, 0.2);
}

.formation-card__cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .formation-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 600px) {
  .formation-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .formation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .formation-pagination {
    align-self: flex-end;
  }
}


