@font-face {
  font-family: 'Mont';
  src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

*{
    margin: 0;
}




:root {
  --main-bg: #6b0d2d;
  --main-bg2: #540922;
  --text-color: #f0eaea;
  --hover-color: #ffffff;
  --background-color : #f3e5e5;
}


body{
  background-color: var(--background-color);
  
  
}

.centvh{
    height: auto;
}

header {
  background-color: var(--main-bg);
  align-self: flex-start    ;
}

.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 15px 40px;
  height: 60px;
}

.menu,
.right-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  gap: 80px; 
  margin-left: 50px;
}

.right-menu a {
  margin-left: 50px; 
}

.navbar a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 22px);
  font-family: 'Mont';
  transition: color 0.3s ease;
  
}

.navbar a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

.hero {
    background-color: var(--background-color);
    text-align: center;
    padding-top: 30px;
    padding-bottom: 0; 
    font-family: 'Mont';
}

.hero h1 {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 800;
    color: var(--main-bg);
    margin-bottom: 30px;
    font-family: 'Mont';
}

.team-photo img {
    width: 55%;
    max-width: 1000px;
    min-width: 300px;
    height: auto;
    margin-bottom: 0px; 
    z-index: -1000;
}

.baseline {
     background-color: var(--main-bg);
    color: var(--text-color);
    font-size: clamp(16px, 3vw, 40px);
    font-weight: 500;
    padding: 25px 0;
    z-index: 10;
    
}


.footer {
    background: linear-gradient(
        to bottom,
        var(--main-bg2) 0%,      
        var(--main-bg) 50%,      
        var(--main-bg2) 74%     
    );

    color: var(--text-color);
    font-family: 'Mont';
    padding-top: 60px;
    position: relative;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px 40px;
    gap: 40px;
}


.footer h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
}


.footer a {
    color: var(--hover-color);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: var(--main-bg2); 
    font-size: 14px;
    font-weight: 500;
}


.team-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("images/equipe.jpg");
    background-size: cover;
    background-position: top center; 
    background-repeat: no-repeat;
}


.team-hero h1 {
    position: absolute;
    top: 30px; 
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Mont';
    font-size: clamp(28px, 4vw, 70px);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    white-space: nowrap;
}


.team-description {
    background-color:  var(--main-bg);
    color: var(--text-color);
    padding: 50px 20px;
    text-align: center;
    font-family: 'Mont';
}

.team-description p {
    max-width: 1000px;
    margin: auto;
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.5;
}

.team-grid {
    display: grid;
    gap: 40px;
    padding: 60px 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1400px;
    margin: auto;
    
}


.team-grid .member {
    text-align: center;
    font-family: 'Mont';
   
}


.team-grid .member img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    
}


.team-grid .member h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 5px 0 8px;
    color: var(--main-bg);
}


.team-grid .member p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--main-bg);
}


.programme-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url("images/hero.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.programme-hero h1 {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Mont';
    font-size: clamp(12px, 6vw, 70px);
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    white-space: nowrap;

}


.programme-container {
    padding: 60px 20px;
    background-color: var(--background-color);
    font-family: 'Mont';
}

.programme-subtitle {
    color: var(--main-bg);
    font-size: clamp(15px, 2vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.link-contact {
    text-decoration: underline;
    color: inherit; 
}


.accordion {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-header {
    width: 100%;
    background: var(--main-bg);
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Mont';
}

.accordion-header:hover {
    background: var(--main-bg2);
}

.arrow {
    font-size: 24px;
    transition: transform 0.3s;
}

.accordion-item.active .arrow {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #ffcfcf;
    border-radius: 0 0 12px 12px;
    padding: 0 20px;
    transition: max-height 0.35s ease;
}

.accordion-content p {
    padding: 20px 0;
    font-size: clamp(14px, 1.8vw, 20px);
    color: #000000;
    line-height: 1.6;
    text-align: justify;
    font-weight: 500;

}


.contact-page {
    position: relative;
    padding: 30px 20px 180px;
    display: flex;
    flex-direction: column;    
    align-items: center;       
    background-color: var(--background-color);
    font-family: 'Mont', sans-serif;
}


.contact-page h1 {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 800;
    color: var(--main-bg);
    margin-bottom: 60px;
    font-family: 'Mont';
}



.contact-form {
    width: 100%;
    max-width: 520px;
    background: var(--background-color);
    padding: 40px 35px;
    border-radius: 12px;

    border: 3px solid var(--main-bg);
    font-family: 'Mont', sans-serif; 

    color: #2c2c2c;
    box-shadow: 0px 8px 22px rgba(0,0,0,0.08);
}


.contact-form h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    color: var(--main-bg);
    font-family: 'Mont', sans-serif;
}


.contact-form label {
    font-weight: 600;
    margin-top: 14px;
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: #333;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;

    border: 1.8px solid var(--main-bg);
    font-size: 16px;
    font-family: 'Mont', sans-serif;

    background: #e5cccc;
    color: #292929;
    margin-bottom: 15px;

    box-sizing: border-box;
    transition: border-color .25s, box-shadow .25s;
}


.contact-form select {
    appearance: none;        
    -moz-appearance: none;
    -webkit-appearance: none;
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 12px;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23660020' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--main-bg);
    outline: none;
    box-shadow: 0 0 0 3px rgba(128,0,32,0.18);
}

.contact-form textarea {
    resize: none;
}


.contact-form button {
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--main-bg);
    color: var(--text-color);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Mont', sans-serif;

    cursor: pointer;
    transition: 0.25s ease;
}

.contact-form button:hover {
    background: var(--main-bg2);
    transform: translateY(-2px);
}


.benoit-bottom {
    position: absolute;
    right: 40px;
    bottom: -15px;
    width: 400px;
    height: auto;
    pointer-events: none;
}


.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 900px) {

   .menu,
    .right-menu {
        display: none;          
        flex-direction: column;
        position: absolute;    
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--main-bg);
        padding: 20px 0;
        text-align: center;
        gap: 20px;
        z-index: 9999;
        margin: 0;
    }

   
    .menu.active,
    .right-menu.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

   
    .right-menu {
        top: 60px;   
    }

    

   
    .navbar a {
        font-size: 20px;
        padding: 10px 0;
        margin: 0;
    }

   
    .menu,
    .right-menu a {
        margin-left: 0 !important;
    }

   
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 10000;
    }

    .burger span {
        width: 28px;
        height: 3px;
        background: white;
        transition: 0.3s;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

  .footer {
        padding-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px 30px;
        gap: 25px;
    }

  
    .footer h3 {
        font-size: 18px !important;
    }

    .footer p,
    .footer a {
        font-size: 15px !important;
    }

    .footer-bottom {
        font-size: 12px !important;
        padding: 15px 0;
    }
    .team-hero {
    height: 40vh;                  
       
    background-position: top center;
    background-repeat: no-repeat;
    }
    .programme-hero{
    height: 20vh;                 
    background-position: top center;
    background-repeat: no-repeat;
    }

     .contact-form {
    max-width: 90%;     
    padding: 25px 20px;  
    border-width: 2px;
  }

  .contact-form h2 {
    font-size: 24px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px;
    font-size: 15px;
  }

    
}


    



@media (max-width: 500px) {

    .footer h3 {
        font-size: 16px !important;
    }

    .footer p,
    .footer a {
        font-size: 14px !important;
    }

    .footer-bottom {
        font-size: 11px !important;
    }
}

@media (max-width: 1300px) {
    .benoit-bottom {
        display: none;
    }
}





















