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

body {
  font-family: 'Sansation', 'Helvetica', sans-serif;
  color: #333;
}

/* ============================================
   HEADER - PIXEL PERFECT FIGMA DESIGN
   ============================================ */

/* Variables */
:root {
  --header-primary-blue: #006DB7;
  --header-accent-cyan: #34BCED;
  --header-text-dark: #525252;
  --header-text-black: #292929;
  --header-accent-red: #C21D47;
  --header-white: #FFFFFF;
  --header-topbar-height: 45px;
  --header-nav-height: 68px;
  --header-padding-x: 50px;
  --header-logo-width: 170px;
  --urgence-nober-height: 36px;  
}

/* Site Header Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-white);
}

.admin-bar .site-header {
  top: 32px;
}

/* ============================================
   TOP BAR
   ============================================ */
.header-topbar {
  background: #006DB7;
  height: var(--header-topbar-height);
  display: flex;
  align-items: center;
}

.topbar-container {
  width: 100%;
  padding: 0 50px;
  padding-left: calc(var(--header-padding-x) + var(--header-logo-width) + 20px);
  /* Évite le logo */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--header-white);
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 14px;
}

.topbar-center {
  flex: 1;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-item strong {
  font-weight: 700;
}

.contact-separator {
  color: var(--header-white);
}

.topbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

/* Search Box */
.topbar-right .search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-right .search-input {
  width: 320px;
  height: 32px;
  padding: 8px 36px 8px 12px;
  border: none;
  border-radius: 4px;
  background: var(--header-white);
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 13px;
  color: var(--header-text-dark);
}

.topbar-right .search-input::placeholder {
  color: #999;
}

.topbar-right .search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--header-text-dark);
  font-size: 14px;
}

/* Language Switcher - Override in topbar */
.topbar-right .language-switcher {
  position: relative;
}

.topbar-right .language-current {
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-right .language-current:hover {
  background: rgba(255, 255, 255, 0.25);
}

.topbar-right .language-current .flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.topbar-right .language-current .lang-name {
  color: var(--header-white);
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.header-separator {
  width: 1px;
  height: 24px;
  background: #FFFFFF99;
  margin-left: 16px;
}

.topbar-right .language-current .lang-arrow {
  color: var(--header-white);
  font-size: 10px;
  transition: transform 0.2s ease;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.header-nav {
  background: var(--header-white);
  height: var(--header-nav-height);
  border-bottom: 1px solid #F1F1F1;
  position: relative;
}

.header-nav .nav-container {
  width: 100%;
  height: 100%;
  padding: 0 var(--header-padding-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo */
.nav-logo {
  position: absolute;
  left: var(--header-padding-x);
  top: calc(-1 * var(--header-topbar-height));
  width: 170px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.nav-logo .logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.nav-logo .logo-img {
  height: auto;
  object-fit: contain;
}

/* Menu Wrapper */
.nav-menu-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  /*margin-left: calc(var(--header-logo-width) + 40px);*/
  /* Espace pour le logo */
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--header-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu>li>a:hover {
  color: var(--header-accent-cyan);
}

/* Active Menu Item */
.nav-menu>li>a.active {
  color: var(--header-text-black);
  font-weight: 500;
}

/* Active indicator - cyan underline */
.nav-menu>li>a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: var(--header-accent-cyan);
  border-radius: 2px;
}

/* News notification badge (point rouge pour nouvelles actualités) */
.nav-menu>li>a.has-news::before {
  content: '';
  position: absolute;
  right: 2px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--header-accent-red);
  border-radius: 50%;
}

/* Dropdown Arrow - handled by FontAwesome icons in PHP */
.menu-chevron {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.dropdown:hover>a .menu-chevron {
  transform: rotate(180deg);
}

/* Remove the cyan underline from dropdown items to avoid conflict */
.nav-menu>li.dropdown>a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: var(--header-accent-cyan);
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--header-white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1000;
}

.dropdown:hover>.dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 14px;
  color: var(--header-text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: #F5F5F5;
  color: var(--header-accent-cyan);
}

/* Nested Submenu */
.submenu {
  position: relative;
}

.submenu-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;
  background: var(--header-white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  margin-left: 4px;
}

.submenu:hover>.submenu-content {
  display: block;
}

/* Connection Button */
.nav-actions {
  display: flex;
  align-items: center;
}

.btn-connexion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  background: #006DB7;
  color: var(--header-white);
  font-family: 'Sansation', 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-connexion:hover {
  background: #005a9a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 109, 183, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  :root {
    --header-padding-x: 60px;
  }

  .nav-menu-wrapper {
    padding-left: 160px;
  }

  .nav-menu>li>a {
    padding: 22px 12px;
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  :root {
    --header-padding-x: 30px;
  }

  .topbar-center {
    font-size: 12px;
  }

  .topbar-right .search-input {
    width: 120px;
  }

  .nav-menu-wrapper {
    padding-left: 140px;
  }

  .nav-menu>li>a {
    padding: 22px 8px;
    font-size: 12px;
  }

  .btn-connexion {
    padding: 12px 20px;
    font-size: 13px;
  }
}

@media (max-width: 992px) {

  /* ===== TOP BAR MOBILE ===== */
  .admin-bar .site-header {
    top: 0;
  }

  .header-topbar {
    height: 45px;
    padding: 0;
  }

  .topbar-container {
    padding: 0 20px;
    padding-left: 20px;
    /* Reset pour mobile */
  }

  .topbar-left {
    display: none;
    /* Cache les numéros sur mobile */
  }

  .topbar-center {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  .mobile-datetime {
    display: block;
    color: var(--header-white);
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 400;
  }

  .topbar-right .search-box {
    display: none;
    /* Cache la recherche desktop */
  }

  .topbar-right .language-current .lang-name {
    display: inline;
    /* Affiche le nom de la langue */
  }

  /* ===== NAVIGATION MOBILE ===== */
  .header-nav {
    height: 60px;
  }

  .header-nav .nav-container {
    padding: 0 25px;
    height: 100%;
  }

  .nav-logo {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: 100%;
  }

  .nav-logo .logo-img {
    height: 50px;
    width: auto;
  }

  .nav-menu-wrapper {
    display: none;
    /* Cache le menu desktop */
  }

  .nav-actions {
    display: none;
    /* Cache le bouton connexion desktop */
  }

  /* ===== MOBILE ACTIONS ===== */
  .nav-mobile-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .mobile-search-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--header-text-dark);
    cursor: pointer;
    padding: 8px;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--header-text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hamburger animation when open */
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* ===== MOBILE MENU OVERLAY ===== */
  .mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-white);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu-overlay.active {
    transform: translateX(0);
  }

  /* Mobile Menu Header */
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #006DB7;
    min-height: 60px;
  }

  .mobile-menu-logo img {
    height: 40px;
    width: auto;
  }

  .mobile-menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Menu Content */
  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
  }

  .mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-menu>li {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav-menu>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 16px;
    color: var(--header-text-black);
    text-decoration: none;
  }

  .mobile-nav-menu>li>a i {
    color: #999;
    font-size: 12px;
  }

  /* News badge for Actualités */
  .mobile-nav-menu>li.has-news>a::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--header-accent-red);
    border-radius: 50%;
    margin-left: 8px;
  }

  /* Mobile Submenus */
  .mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .mobile-submenu.active {
    transform: translateX(0);
  }

  .submenu-back {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 14px;
    color: #006DB7;
    cursor: pointer;
    text-align: left;
  }

  .submenu-back i {
    font-size: 12px;
  }

  .mobile-submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-submenu ul li {
    border-bottom: 1px solid #eee;
  }

  .mobile-submenu ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 15px;
    color: var(--header-text-black);
    text-decoration: none;
  }

  .mobile-submenu ul li a i {
    color: #999;
    font-size: 12px;
  }

  /* Mobile Menu Footer */
  .mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #eee;
  }

  .mobile-menu-footer .btn-connexion.mobile-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    margin-bottom: 20px;
  }

  .mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .mobile-social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text-dark);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-social-icons a:hover {
    color: #006DB7;
  }

  /* ===== MOBILE SEARCH OVERLAY ===== */
  .mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-white);
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .mobile-search-overlay.active {
    display: block;
  }

  .mobile-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-search-input {
    flex: 1;
    height: 44px;
    padding: 0 15px;
    border: 2px solid #006DB7;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Sansation', 'Helvetica', sans-serif;
  }

  .mobile-search-submit,
  .mobile-search-close {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
  }

  .mobile-search-submit {
    background: #006DB7;
    color: white;
  }

  .mobile-search-close {
    background: #f5f5f5;
    color: #333;
  }
}

/* Desktop: cacher les éléments mobiles */
@media (min-width: 969px) {
  .mobile-datetime {
    display: none;
  }

  .nav-mobile-actions {
    display: none;
  }

  .mobile-menu-overlay {
    display: none !important;
  }

  .mobile-search-overlay {
    display: none !important;
  }
}


/* Hero Section avec carrousel d'images */

.hero {
  height: calc(100vh - var(--header-nav-height) - var(--header-topbar-height)  - var(--urgence-nober-height));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom,
      rgba(93, 78, 55, 0) 60%,
      rgba(93, 78, 55, 0.3) 100%),
    url("/wp-content/themes/asaige-theme/assets/images/hero1.png") center/cover;
  background-size: cover;
  background-position: center;
}

/* Overlay sombre */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  z-index: 1;
}

/* IMAGE 2 - pseudo-élément after */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(93, 78, 55, 0) 60%,
      rgba(93, 78, 55, 0.3) 100%),
    url("/wp-content/themes/asaige-theme/assets/images/hero2.png") center/cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade2 20s infinite;
  z-index: 0;
}

/* IMAGE 3 */
.hero .bg-3 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(93, 78, 55, 0) 60%,
      rgba(93, 78, 55, 0.3) 100%),
    url("/wp-content/themes/asaige-theme/assets/images/hero3.png") center/cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade3 20s infinite;
  z-index: 0;
}

/* IMAGE 4 */
.hero .bg-4 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(93, 78, 55, 0) 60%,
      rgba(93, 78, 55, 0.3) 100%),
    url("/wp-content/themes/asaige-theme/assets/images/hero4.svg") center/cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade4 20s infinite;
  z-index: 0;
}

/* Animations pour chaque image (durée totale 20s, chaque image visible 5s) */
@keyframes fade2 {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade3 {
  0% {
    opacity: 0;
  }

  45% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade4 {
  0% {
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 65%;
  top: -5%;
  padding: 0 20px;
  position: relative;
}

.hero-content h1 {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 18px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding-bottom: 20px;
  color: var(--white);
}

.helo-bouton a {
  gap: 40px;
  margin: 5px;

}

.helo-bouton-aero {
  background: #F4CA3C;
  color: var(--subtitle-color);
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
  white-space: nowrap;
}

.helo-bouton-port {
  background: rgb(196, 189, 189);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: not-allowed;
  white-space: nowrap;
  font-size: 14px;
  transition: background 0.3s;
}

.urgence-nober {
  background: #006DB7;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  padding: 5px 0;
}

.urgence-place {
  display: flex;
  width: max-content;
  animation: scroll-text 15s linear infinite;
}

.urgence-div {
  display: flex;
  gap: 20px;
  padding: 0 50px;
}

.urgence-div p {
  margin: 0;
  font-size: 14px;
  color: var(--white);
}


@keyframes scroll-text {


  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.about-section,
.regl-section {
  margin: var(--section-margin);
  /* padding: 0 20px; */
}


.about-container {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  flex-wrap: wrap;
  align-items: center;
  border-color: red;
}

.about-content,
.regl-content,
.regl-content2 {
  /* padding-right: 20px; */
  flex: 1;
}

.regl-content p {
  text-align: justify;
}


.about-section .section-tag p {
  color: var(--subtitle-color);
  margin-top: 10px;
}

.textbox {
  margin-bottom: 0px;
}

.regl-content {
  height: 350px;
  width: 350px;
}


.regl-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  border-color: red;
}


.regl-content2 {
  height: 350px;
  width: 350px;
}

.regl-content2 img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  float: right;
}

/* .section-tag is now in index.css */

.about-content h2,
.regl-content h2 {
  font-size: 42px;
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-content p,
.regl-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin-bottom: 30px;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f4c430;
  color: #1a1a1a;
  padding: 14px 30px;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.learn-more-btn:hover {
  background: #e0b020;
  transform: translateX(5px);
}

.learn-more-btn::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s;
}

.learn-more-btn:hover::after {
  transform: translateX(5px);
}


/*section actualité*/

.actual-section {
  margin: var(--section-margin);
  /* padding: 0 20px; */
}

/* .section-header and .section-tag are now in index.css */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.news-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}


.view-more-container {
  text-align: center;
  margin-top: 50px;
}

.view-more-link {
  color: #0066cc;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 5px;
  transition: color 0.3s;
}

.view-more-link:hover {
  color: #004d99;
  border-bottom-color: #004d99;
}


/*section mission*/

.missions-section {
  background-color: #f5f5f5;
}

.missions-section-container {
  padding: 50px 0px;
  margin: 0 var(--section-margin);
}

.missions-container {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  align-items: center;
  margin-top: 10px;
}

.missions-slider {
  height: 380px;
  /*position: relative;*/
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.missions-list {
  display: flex;
  flex-direction: column;
  gap: 35px;

}

.mission-item {
  display: flex;
  gap: 10px;
  /*align-items: flex-start;*/
  position: relative;
}

.mission-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #e8f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon svg {
  width: 32px;
  height: 32px;
  stroke: #0066cc;
  stroke-width: 2;
  fill: none;
}

.mission-content {
  flex: 1;
  padding-top: px;
}

.mission-content h3 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 15px;
}

.mission-content p {
  text-align: justify;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}


.mission-item::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 60px;
  width: 2px;
  height: calc(100%);
  background: #292929;
}

.mission-item:last-child::after {
  display: none;
}


.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  width: 40px !important;
  height: 40px !important;
  background: #0066cc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-top-btn:hover {
  background: #004d99;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}


/*titre d'accès*/

.access-section {
  background-color: #006db7;
  background-image: url('../images/grille.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px;
  color: #fff;
}

/* Ornament 57 */
.acces-header {
  text-align: center;
  margin-top: -10px;

}

.acces-header h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin: 20px;
  color: var(--white);

}

.access-container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
  gap: 35px;
  align-items: center;
}

/* IMAGE */
.access-image {
  height: 450px;
  width: 450px;
}

.access-image img {
  max-width: 100%;
  height: auto;
}

/* CONTENU */
.access-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: white;
  margin-bottom: 10px;
}

.acces-header .section-tag {
  color: var(--white);
}



.section-tag p {
  font-size: 14px;
  color: var(--white);
}

.access-content {
  height: 450px;
  width: 550px;
}

.access-content h2 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 30px;
}

/* TABS */
.access-tabs {
  margin: 20px;
  /* margin-bottom: 20px; */
  gap: 10pxs;
}

.port-tab {
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  color: white;
  cursor: pointer;
}


.aeroport-tab {
  color: var(--white);
}

.aeroport-tab:hover {
  border: 1 solid var(--white);
  border-radius: 5px;
  padding: 10px 6px;
}

/* LINK */
.access-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cce9ff;
  font-size: 14px;
  margin-bottom: 5px;
  text-decoration: none;
}

/* BLOCKS */
.access-block {
  border-bottom: 1px solid #f5c400;
  padding: 18px 0;
}

.access-link {
  position: relative;
  text-decoration: none;
}

.access-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  /* ← longueur ici */
  height: 1.5px;
  background: rgba(255, 255, 255, 0.3);
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: 1.3;
}

.block-header h3 {
  font-size: 18px;
  color: var(--white);
}

.arrow {
  font-size: 12px;
}

/* OPEN BLOCK */
.access-block .block-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.access-block.open .block-content {
  max-height: 500px;
  /* Large enough to fit content */
}

.access-block .block-content p {
  font-size: 14px;
  color: #e3f2ff;
  margin: 15px 0;
  max-width: 90%;
}

.access-block .arrow svg {
  transition: transform 0.3s ease;
}

.access-block.open .arrow svg {
  transform: rotate(180deg);
}

.block-actions {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #f5c400;
  color: var(--subtitle-color);
  border: none;
  padding: 3px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  transition: all 0.3s;
}

.btn-secondary {
  background: #ffffff;
  color: var(--subtitle-color);
  border: none;
  padding: 5px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  transition: all 0.3s;
}

svg.lucide {
  display: inline-block !important;
  vertical-align: middle;
}


.helo-bouton {
  padding-bottom: 20px;
  display: flex;
  justify-content: center
}


/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .action-box {
    display: block;
  }

  .about-section,
  .regl-section {
    margin: 0 calc(var(--section-margin) * 0.5);
  }

  .textbox {
    margin-bottom: 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    font-size: 18px;
    font-weight: 400;
  }

  .helo-bouton-port {
    justify-content: center;
    display: flex;
    width: 270px;
  }

  .helo-bouton-aero {
    justify-content: center;
    display: flex;
  }

  .hero-content h1 {
    font-size: 16Spx;
  }

  .nav-container {
    padding: 15px 20px;
  }

  .learn-more-btn {
    justify-content: center;
    width: 100%;
  }



  @media (max-width: 768px) {

    /* .action-box {
      justify-content: center;
      align-items: center;
      display: flex;
      flex-direction: row;
    } */

    .missions-container {
      grid-template-columns: 1fr;
      gap: 50px;
    }

    .section-header h2 {
      font-size: 36px;
    }

    .slider-image {
      height: 400px;
    }

    .scroll-top-btn {
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
    }
  }

  @media (max-width: 768px) {

    .contact-info span {
      font-size: 10px;
    }

    .missions-section {
      padding: 0px;
      background-color: #fff;
    }

    .missions-section-container {
      padding: 0;
      margin: 0 calc(var(--section-margin) * 0.5);
    }

    .section-header h2 {
      font-size: 28px;
      line-height: 1.3;
    }

    .missions-container {
      grid-template-columns: 1fr;
      gap: 30px;
      margin: 0;
    }


    /* LISTE DES MISSIONS */
    .missions-list {
      margin: 0;
      gap: 25px;
    }

    .mission-item {
      gap: 12px;
    }

    .mission-icon {
      width: 44px;
      height: 44px;
    }

    .mission-icon svg {
      width: 22px;
      height: 22px;
    }

    .mission-content h3 {
      font-size: 16px;
      margin-bottom: 6px;
    }

    .mission-content p {
      font-size: 14px;
      line-height: 1.6;
    }

    /* Ligne verticale */
    .mission-divider {
      height: 40px;
      margin-left: 22px;
      margin-bottom: 10px;
    }

    /* SLIDER IMAGE */
    .missions-slider {
      border-radius: 5px;
      order: 2;
      box-shadow: 0 0px 0px rgba(0, 0, 0, 0.15);
    }

  }

  /*accès*/
  @media (max-width: 768px) {

    .regl-container {
      flex-direction: column-reverse;
      gap: 40px;
    }

    .regl-content,
    .regl-content2 {
      width: 100%;
      height: auto;
      padding-right: 0;
      text-align: center;
    }

    .regl-content h2 {
      font-size: 28px;
    }

    .regl-content p {
      text-align: justify;
    }

    .regl-content2 img {
      /* max-width: 300px; */
      margin: 0 auto;
      display: block;
    }

    .learn-more-btn {
      font-size: 16px;
      padding: 5px 50px;
      margin: auto;
    }

    /* SECTION */
    .access-section {
      padding: 40px calc(var(--section-margin) * 0.5);
    }

    /* HEADER */
    .acces-header h2 {
      text-align: center;
      font-size: 40px;
      font-weight: 700;
      line-height: 1.3;
      margin: 10px;
      color: var(--white);
    }

    .lang-name {
      display: none !important;
    }

    .topbar-right {
      gap: 0px !important;
    }

    /* CONTAINER */
    .access-container {
      flex-direction: column;
      gap: 30px;
      align-items: stretch;
    }

    /* IMAGE */
    .access-image {
      width: 100%;
      height: auto;
    }

    .access-image img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    /* CONTENT */
    .access-content {
      width: 100%;
      height: auto;
    }

    .access-content h2 {
      font-size: 22px;
      margin-bottom: 20px;
    }

    /* TABS */
    .access-tabs {
      margin: 15px 0;
    }



    .tab {
      font-size: 14px;
      padding: 6px 14px;
    }

    /* BLOCKS */
    .access-block {
      padding: 14px 0;
    }

    .block-header h3 {
      font-size: 16px;
    }

    .access-block.open p {
      font-size: 14px;
      margin: 10px 0;
      max-width: 100%;
    }

    /* BUTTONS */
    .block-actions {
      flex-direction: column;
      gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
      width: 100%;
      text-align: center;
      padding: 12px;
      font-size: 14px;
    }

    .actual-section {
      margin: calc(var(--section-margin) * 0.5);
      /* padding: 0 10px; */
    }


    .about-container {
      flex-direction: column-reverse;
      gap: 15px;
      /* margin: 10px; */

    }

    .hero-content h1 {}

  }

}

@media (min-width: 1024px) {
  .about-section {
    margin: var(--section-margin);
    /* padding: 0 20px; */
  }

  .action-box {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .about-content {
    /* display: flex; */
    justify-content: end;
    /* padding-right: 20px; */
    flex: 1;
    /* border: 2px solid #F4CA3C; */
  }
}