/* CORPS DE LA PAGE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #0A0A0A;
  color: #E6ECEF;
  width: 100%;
}





/* HEADER */
/* ------------------------------------------------------------------ */

.header {
  width: 100%;
  background-color: #0A0A0A;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #CCCCCC;
}

/* topbar */
.header-topbar {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 2px solid #CCCCCC;
}

.topbar-right a {
  margin-left: 15px;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.topbar-right a:hover {
  background-color: #FFFFFF;
  color: #000000;
  padding: 2px 6px;
  border-radius: 4px;
}

/* barre principale */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  width: 100%;
}

/* logo */
.logo img {
  height: 50px;
  width: 50px;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
}

/* navigation (menu) */
.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 45px;
  list-style: none;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;   
  line-height: 1;
  border-radius: 6px;
}

.nav-link:hover {
  background-color: #E6ECEF;
  color: #000000;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.nav-toggle {
  display: none;      
  position: relative; 
  z-index: 1001;      
}






/* CONTENU */
/* ------------------------------------------------------------------ */

.container {
  max-width: 1140px;
  margin: auto;
  padding: 20px 20px 40px;
  width: 100%;
}

/* titre */
.page-title{
  text-align: center;
  font-size: 80px;
  line-height: 1.05;
  margin: 12px auto 16px;
  font-weight: 800;
  color: #E6ECEF;
}

.page-title::after{
  content: '';
  display: block;
  width: min(100%, 1140px);
  height: 2px;
  margin: 12px auto 0;
  background: #BFDFFF;
}

/* bloc du haut de la page */
.alternance-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px;
  background-color: #0A0A0A;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.title {
  font-size: 35px;
  color: #E6ECEF;
  margin-top: 80px;
  margin-bottom: 30px;
}

h3 {
  font-size: 25px;
  color: #E6ECEF;
  margin-bottom: 10px;
  margin-top: 40px;
}

/* texte bloc du haut de la page */
.alternance-text p {
  font-size: 20px;
  line-height: 1.8;
  color: #E6ECEF;
  padding: 26px;
  text-align: justify;
}

/* liste des pays */
.bas-scc ul {
  margin-top: 40px;
  padding-left: 70px;
}

.bas-scc {
  display: flex;
  gap: 500px;
}

/* liste des pays configuration */
.bas-scc li {
  font-size: 20px;
  line-height: 1.8;
}

/* logo bloc du haut */
.alternance-img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  display: block;
  margin: 30px;
}

/* double cartes (SCC France initialement) */
.alternance-bloc {
  display: flex;
  justify-content: space-between;
  background-color: #0A0A0A;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 20px;
  color: #E6ECEF;
  gap: 20px;
}

.scc-france {
  flex-direction: column;
  align-items: flex-start;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 30px;
}

.scc-texte {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  color: #E6ECEF;
  width: 100%;
  margin-bottom: 20px;
}

.scc-texte p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
  font-size: 20px;
  padding: 20px;
}

.scc-texte ul {
  padding-left: 55px;
  font-size: 20px;
}

.scc-texte li {
  margin-bottom: 15px;
}

.scc-toulouse {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  background-color: #2A2A2A;
  margin: 20px;
  padding: 20px;
}

.scc-toulouse h3 {
  margin-top: 0;
  font-size: 25px;
  color: #E6ECEF;
  margin-bottom: 20px;
}

.scc-toulouse-texte {
  flex: 1;
  text-align: justify;
  padding: 26px;
}

.scc-toulouse ul {
  padding-left: 20px;
}

.scc-toulouse li {
  margin: 20px;
}

.scc-images {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.scc-toulouse-img {
  margin-top: 60px;
}

.scc-toulouse-img img {
  width: 225px;
  height: 225px;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  object-fit: cover;
  margin: 25px;
}

.scc-images img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  margin: 40px;
}

.timeline-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 0;
  overflow: hidden;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
}


.timeline-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.timeline-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-card {
  background-color: #2A2A2A;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  padding: 26px;
  max-width: 600px;
  color: #E6ECEF;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  transition: transform 0.3s ease;
}

.timeline-card:hover {
  transform: scale(1.02);
}

.timeline-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 40px;
  border-radius: 12px;
}

.timeline-card p {
  font-size: 20px;
  line-height: 1.8;
}

.timeline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #E6ECEF;
  background-color: #000000;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 2;
}

.timeline-nav.prev { 
  left: 40px; 
}

.timeline-nav.next { 
  right: 40px; 
}


.titre-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.titre-image h2 {
  font-size: 35px;
  color: #E6ECEF;
  margin: 0;
  flex-grow: 1;
}

.ingenieur-layout {
  display: flex;
  justify-content: space-between;  
  align-items: center;             
  gap: 30px;                      
  padding: 26px;                  
}

.gauche {
  order: 1;                        
  display: flex;
  flex-direction: column;          
  align-items: center;             
  gap: 20px;                      
  margin: 0;
}

.gauche h3 {
  font-size: 20px;
  color: #E6ECEF;
  margin-left: 40px;
}

.profil-img {
  width: 155px;
  height: 155px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #BFDFFF;
  margin-left: 40px;
}

/* bloc texte */
.droite {
  order: 2;                       
  max-width: 800px;
  padding: 30px;
}

.droite p {
  font-size: 20px;
  color: #E6ECEF;
  text-align: justify;
  line-height: 1.8;
  margin: 0;
}






/* FOOTER */
/* ------------------------------------------------------- */

.footer {
  background-color: #0e0e0e;
  color: #E6ECEF;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #CCCCCC;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section h4 {
  color: #E6ECEF;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #E6ECEF;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-section a:hover {
  color: #CCCCCC; 
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E6ECEF;
}

.footer-divider {
  width: 80%;
  max-width: 4000px;
  margin-top: 15px;
  border-top: 1px solid #CCCCCC;
  width: 100%;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #CCCCCC;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}




/* RESPONSIVE */
/* ------------------------------------------------------- */

@media (max-width: 768px) {

  .header { 
    z-index: 9990; 
  }

  .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }

  .logo img { 
    width: 40px; 
    height: 40px; 
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 10001;
  }

  .nav-toggle span {
    display: block;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
  }

  .nav-list { 
    display: none; 
  }

  .nav-list.active {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 64px;             
    left: 0; 
    right: 0; 
    bottom: 0;
    padding: 16px;
    background-color: #0A0A0A;
    border-top: 1px solid #CCCCCC;
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list li { 
    margin: 0; 
    text-align: left; 
  }

  .nav-link { 
    display: block; 
    padding: 14px 10px; 
  }

  .page-title{
    font-size: 36px;
    margin: 16px auto;
  }

  .title {
    font-size: 24px;
    margin: 16px auto;
  }


  h3 { 
    font-size: 20px; 
    margin: 16px 0; 
  }


  .alternance-section {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .bas-scc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bas-scc ul { 
    margin: 0; 
    padding-left: 18px; 
  }

  .bas-scc li { 
    margin-bottom: 8px; 
  }

  .alternance-img {
    width: 160px;
    height: 160px;
    margin: 10px auto 0;
    object-fit: cover;
  }

  .scc-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .scc-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
  }

  .scc-toulouse {
    flex-direction: column;
    gap: 12px;
    margin: 12px 0;
    padding: 16px;
  }

  .scc-toulouse-texte { padding: 0; }
  .scc-toulouse ul { padding-left: 18px; }
  .scc-toulouse-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
  }

  .ingenieur-layout {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .gauche { 
    margin: 0; 
  }

  .gauche h3 { 
    margin: 0; 
  }

  .profil-img {
    width: 140px; 
    height: 140px;
    margin: 0;
  }

  .droite { 
    max-width: 100%; 
    padding: 0; 
  }

  .droite p { 
    font-size: 16px; 
    line-height: 1.7; 
  }

  .timeline-carousel-wrapper {
    padding: 16px 0;
  }

  .timeline-slide { 
    padding: 16px; 
  }

  .timeline-card { 
    padding: 16px; 
  }

  .timeline-card img {
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin-bottom: 16px;
  }

  .timeline-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .timeline-nav {
    font-size: 24px;
    padding: 4px 10px;
    top: auto;                
    bottom: 12px;
    transform: none;
  }

  .timeline-nav.prev { 
    left: 12px; 
  }

  .timeline-nav.next { 
    right: 12px; 
  }

  .container { 
    padding: 24px 16px; 
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scroll-top {
    bottom: 18px; 
    right: 18px;
    font-size: 18px; 
    padding: 8px 10px;
  }

}
