:root {
    --white: #fcfcfc;
    --beige: #f2e5d9;
    --black: #0e0e0e;
    --light-red: #f7053e;
    --red: #d50032;
    --hook-title-font-size: 36px;
    --content-font-size : 18px;
    --maintitle-font-size : 30px;
    --subtitle-font-size : 18px;
    --nav-maintitle-font-size : 14px;
    --nav-maintitle-letter-spacing: 0px;
    --nav-subtitle-font-size : 10px;
    --bottom-distance : 0px;
  }

/* lexend-deca-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/lexend-deca-v24-latin/lexend-deca-v24-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-deca-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lexend-deca-v24-latin/lexend-deca-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-deca-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/lexend-deca-v24-latin/lexend-deca-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/urbanist-v17-latin/urbanist-v17-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

  a[x-apple-data-detectors], a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}

html, body, h1,h2,h3,h4,p {
    margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    z-index: 1002;
    width: 100%;
    height: 70px;
    background-color: var(--white);
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.459);
}

.menu-active{
    background-color: rgba(245, 245, 245, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.459);
}

.menu-active > span{
    display: none;
}

.hamburger {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0%, -50%);
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--light-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;

    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    display: none;
    z-index: 1005;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-container {
    padding: 10px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    padding: 12px;
    background-position: 0 calc(100% - var(--bottom-distance));
    background-size: 100% var(--border-width);
}

.mobile-nav-link.active {
    /* background-color: rgba(255, 115, 115, 0.055); */
}

/* Overlay for when mobile menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animation for hamburger to X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-link{
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95px;

    background-image: linear-gradient(var(--light-red), var(--light-red));
    background-repeat: no-repeat;
    transition: background-size 0.3s;
    background-position: 0 calc(100% - var(--bottom-distance));
    background-size: 0% var(--border-width);
}

.nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link:hover {
    /*background-color: rgba(238, 238, 238, 0.476);*/
    transition: 0.3s;
    background-size: 100% var(--border-width)
}

.nav-link:hover .nav-item-main-title {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.nav-link:hover .nav-item-sub-title {
    font-family: "Urbanist", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: var(--red);
}

.nav-item-main-title
{
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: var(--nav-maintitle-font-size);
    letter-spacing: var(--nav-maintitle-letter-spacing);
    color: var(--black);
    text-align: center;
}

.nav-item-sub-title
{
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: var(--nav-subtitle-font-size);
    color: var(--black);
    text-align: center;
    padding: 0;
    margin: 0;
    height: 20px;
}

.nav-link {
    text-decoration: none;
}

/*
Active Link Class
*/

.active {
    background-size: 100% var(--border-width);
    transition: 0.3s;
}

.active .nav-item-sub-title {
    font-family: "Urbanist", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.nav-item-sub-title {
    color: var(--black);
}

.active > .nav-item > .nav-item-sub-title{
    color: var(--light-red);
    font-weight: 500;
}

.active > .nav-item > .nav-item-main-title{
    font-weight: 500;
}

/*
GENERAL OVERALL
*/

.article {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-top {
    display: flex;
    height: auto;
    width: 100%;
}

.article-headers-dark{
    flex-shrink: 20;
    display: flex;
    flex-direction: column;
    gap : 15px;
    padding: 25px;
    border-radius: 5px;
}

.scene {
    width: 100%;
}

.etiquette{
    display: flex;
    /* background-image: url("img/white-paper-texture.jpg"); */
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 35px;
}

.etiquette-info-left{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.etiquette-info-left > img {
    height: 20px;
    width: 20px;
}

/*
ACCUEIL 
*/
.landingpage-bg {
    height: 10%;
    width: 100%;
}

.landing-footer > p{
    color: var(--white);
}


/*
COURS
*/


.cours-wrapper-left > article {
    width: 100%;
}

/*
PARTENAIRES
*/
.article-headers-partenaires{
    display: flex;
    flex-direction: column;
    gap : 30px;
    background-color: var(--white);
    /* background-image:  url("img/white-paper-texture.jpg"); */
    padding: 35px;
    border-radius: 5px;
}

.partenaires-banner{
    width: 100%;
    height: 150px;
}

.partenaires-banner-superprof{
    width: 100%;
    height: 100px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.igikai{

    background-image: url("img/logo_square_white.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.arcade{
    background-image: url("img/projet-logos-LET.jpg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.superprof{

    background-image: url("img/images.png");
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
}

/*
PARCOURS
*/

.parcours-picture {
    width: 100%;
    height: auto;
}

.hook-maintitle {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: var(--hook-title-font-size);
}

.article-maintitle {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: var(--maintitle-font-size);
}

.article-maintitle-secondary {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: var(--maintitle-font-size);
    color: var(--black);
}

.article-subtitle {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: var(--subtitle-font-size);
    color: var(--black);
}

.accueil-maintitle{
    color: var(--black);
}

.accueil-subtitle{
    color: var(--black);
}

.cours-maintitle{
    text-align: center;
}

.cours-subtitle{
    color: var(--black);
    text-align: center;
}

.tarifs-maintitle{
    color: var(--white);
    text-align: center;
}

.tarifs-subtitle{
    color: var(--white);
    text-align: center;
}

.contact-maintitle{
    color: var(--white);
    text-align: left;
    margin-bottom: 15px;
}

.partenaires-maintitle{
    text-align: center;
    color: var(--black);
}

.parcours-maintitle{
    color: var(--black);
}

.bold{
    font-weight: 600;
}

.lesson-points{
padding-top: 15px;
display:flex;               /* outer grid */
flex-direction:column;      /* 5 rows */
gap:1rem;                   /* space between rows */
max-width:700px;            /* optional: limit total width */
margin:0 auto;              /* center on page */
font-family:system-ui, sans-serif;
}

.point-row{
display:flex;               /* 2 columns */
align-items:flex-start;     /* icons and text align at the top */
}

.icon{

margin-inline-end:12px;     /* gap between icon & text */
}

.icon img{
width:28px;                 /* icon fills its cell */
height:auto;
}

.text{
flex:1;                     /* text column grows to fill */
line-height:1.4;
}


/* Add responsive breakpoints */
@media screen and (max-width: 767px) {

    :root {
        --hook-title-font-size: 28px;
        --maintitle-font-size: 24px;
        --subtitle-font-size: 16px;
        --content-font-size: 16px;
        --border-width : 2px;
    }

    .article-headers{
        display: flex;
        flex-direction: column;
        gap : 15px;
        padding: 35px;
        border-radius: 5px;
        }

    .article-content {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        text-decoration: none;
    }

    .hook-title-mobile{
        position: relative;
        display: flex;
        gap: 10px;
        flex-direction:column;

        background: linear-gradient(to bottom, 
        rgba(251,241,226, 1) 0%,
        rgba(251,241,226, 1) 70%,
        rgba(251,241,226, 0) 100%
        );

        padding-left: 35px;
        padding-right: 35px;
        padding-bottom: 20px;
        padding-top: 50px;    
    }

    .hook-title-desktop{
        display: none;
    }

    .essai-gratuit-button{
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .article {
        margin: auto;
        width: 100%;
    }

    .title-button{
        border: 2px solid var(--red);
        border-radius: 25px;
        padding: 10px;
        color: var(--white);
        background-color: var(--red);
        cursor: pointer;
        width: 220px;
        text-align: center;
        margin-top: 25px;
    }

    .title-infobulle{
        color: var(--white);
        background-color: var(--red);
        width: 250px;
        text-align: left;   
    }

    .added-title{
        color: var(--white);
        left: 0%;
        position: relative;
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .article-top {
        flex-direction: column;
        height: auto;
    }

    .collab{
        flex-grow: 1;
    }

    .hook-article {
        margin-bottom: 10px;
    }

    .hook-item1{
        display: none;
    }

    .hook-item2{
        order: 1;
        align-items: flex-start;
        padding-top: 15px;
    }

    .hook-mobile{
        border-radius: 15px;
        box-shadow: 0 8px 2px -2px rgba(128, 128, 128, 0.059);
    }

    .article-picture {
        width: 200px;
        border-radius: 150px;
        height: auto;
    }

    .etiquette-info{
        width:100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .hook-content-desktop {
        display: none;
    }

    .article-tags {
        flex-wrap: wrap;
    }

    .cours-wrapper-left{
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .cours-item2{
        order: 1;
    }

    #accueil {
        background-image: url("img/jap3-7954960.webp");;
        background-position: top;
        height: auto;   
        padding-top: 70px;
    }

    .etiquette-info-mobile-addition{
        display: flex;
        gap: 15px;
        width: 100%;
        justify-content: left;
    }

    .button-contact {
        text-decoration: none;
        background-color: var(--white);
        margin: auto;
    }
    .button{
        padding: 15px;
        width: 199px;
        background-color: var(--red);
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-size: var(--subtitle-font-size);
        color: var(--white);
        border-radius: 30px;
        border: 3px solid var(--beige);
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .landing-footer{
        height: 50px;
    }

    .landing-footer > p{
        display: none;
    }

    .cours-container{
        width: 100%;
        display: flex;
        gap: 0px;
        flex-direction: column;
        background-color: var(--white);
      }

      .article-cours{
        color: var(--black);
        background-image: none;
        border: none;
        border-radius: 5px;
        width: 100%;
      }

      .tarifs-container{
        width: 80%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 50px;
      }

      .article-tarifs{
        margin: 0px;
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
        width: 100%;
      }

      .bullets{
        text-align: left;
      }

      .avis-container{
        width: 80%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding-top: 40px;
      }

        .article-avis{
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
        width: 100%;
        
      }

      #current-section-id{
        font-family: "Lexend Deca", sans-serif;
        font-optical-sizing: auto;
        font-weight: 200;
        font-size: 16px;
        font-style: normal;
        color: var(--black);
        position: absolute;
        top: 50%;
        left: calc(30px + 40px);
        transform: translate(0%, -50%);
      }

      #current-section-icon{
        width: 25px;
        position: absolute;
        top: 50%;
        left: 35px;
        transform: translate(0%, -50%);
      }

      .current-section-selector{
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 200;
        font-style: normal;
        font-size:18px;
        position: absolute;
        top: 50%;
        left: 4%;
        transform: translate(-4%, -50%);
      }

      .parcours-article {
        width: 100%;
    }

    .contact-article {
        padding-top: 50px;
        margin-bottom: 50px;
        width: 80%;
    }

    .article-contact{
        margin: 0px;
        color: var(--white);
        text-decoration: none;

        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: var(--content-font-size);
    }

    .me-contacter{
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 2;
    }

    .prendre-rdv{
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 1;
    }


    .form-container {
        width: 80%;
        margin: 0 auto;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #ff6565;
        padding: 5px;
        border-radius: 4px;
        background-color: #f5f5f500;
        color: var(--white);
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
    }

    .form-group {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        gap: 10px;
    }

    .form-group label {

    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--white);
        transition: 0.3s;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    /* Button styling */
    .form-actions {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
    }

    button {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        padding: 10px 20px;
        background-color: var(--red);
        color: var(--white);
        cursor: pointer;
        transition: background-color 0.2s;
        border: 1.5px solid var(--white);

        border-radius: 45px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    button:hover {
        background-color: var(--white);
        color: var(--red);
        border: 1.5px solid var(--white);
    }

    .partenaires-article {
        width: 100%;
    }

    .etiquette-parcours{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        border-radius: 5px;
        width: 100%;
    }

    .etiquette-info-addition{
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .article-headers-dark-row {
        display: flex;
        flex-direction: column;
        gap: 50px;

    }

    #cours {
        background-color: var(--white);
        padding-top: 15px;
        padding-bottom: 15px;
        scroll-margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #tarifs {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }

    #parcours {
        padding-bottom: 15px;
        scroll-margin-top: 50px;
        background-color: var(--white);
    }

    #partenaires {
        background-color: var(--white);
        padding-top: 15px;
        padding-bottom: 15px;
        scroll-margin-top: 50px;
    }

    #avis {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }

    #contact {
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    :root {
        --maintitle-font-size: 24px;
        --subtitle-font-size: 16px;
        --content-font-size: 16px;
        --border-width : 2px;
    }

    .article-headers{
        display: flex;
        flex-direction: column;
        gap : 15px;
        padding: 35px;
        border-radius: 5px;
    }

    .article-content {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        text-decoration: none;
    }

    .hook-title-mobile{
        position: relative;
        display: flex;
        gap: 10px;
        flex-direction:column;

        background: linear-gradient(to bottom, 
        rgba(251,241,226, 1) 0%,
        rgba(251,241,226, 1) 70%,
        rgba(251,241,226, 0) 100%
        );

    padding-left: calc(40% / 2);
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 40px;    
    }

    .hook-title-mobile > h1 {
        width: 70%;
    }


    .hook-title-desktop{
        display: none;
    }
    .essai-gratuit-button{
        display: none;
    }
    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .article {
        margin: auto;
        width: 70%;
    }

    .title-button{
        border: 2px solid var(--red);
        border-radius: 25px;
        padding: 10px;
        color: var(--white);
        background-color: var(--red);
        cursor: pointer;
        width: 220px;
        text-align: center;
        margin-top: 25px;
    }

    .title-infobulle{
        color: var(--white);
        background-color: var(--red);
        width: 250px;
        text-align: left;
    }

    .added-title{
        color: var(--white);
        left: 0%;
        position: relative;
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .article-top {
        flex-direction: column;
        height: auto;
    }

    .collab{
        flex-grow: 1;
    }

    .hook-article {
        margin-bottom: 10px;
        width: 100%;
    }

    .hook-item1{
        display: none;
    }

    .hook-item2{
        order: 1;
        align-items: flex-start;
        width: calc(70% - 70px);
        margin: auto;
    }

    .hook-mobile{
        border-radius: 15px;
        box-shadow: 0 8px 2px -2px rgba(128, 128, 128, 0.059);
    }

    .article-picture {
        width: 200px;
        border-radius: 150px;
        height: auto;
    }

    .etiquette-info{
        width:100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .hook-content-desktop {
        display: none;
    }

    .article-tags {
        flex-wrap: wrap;
    }

    .cours-wrapper-left{
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .cours-item2{
        order: 1;
    }

    #accueil {
        background-image: url("img/jap3-7954960.webp");;
        background-position: top;
        height: auto;   
        padding-top: 70px;
    }

    .etiquette-info-mobile-addition{
        display: flex;
        gap: 15px;
        width: 100%;
        justify-content: left;
    }

    .button-contact {
        text-decoration: none;
        background-color: var(--white);
        margin: auto;
    }
    .button{
        padding: 15px;
        width: 199px;
        background-color: var(--red);
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-size: var(--subtitle-font-size);
        color: var(--white);
        border-radius: 30px;
        border: 3px solid var(--beige);
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .landing-footer{
        height: 50px;
    }

    .landing-footer > p{
        display: none;
    }

    .cours-container{
        width: 70%;
        display: flex;
        gap: 0px;
        flex-direction: column;
        background-color: var(--white);
      }

      .article-cours{
        color: var(--black);
        background-image: none;
        border: none;
        border-radius: 5px;
        width: 100%;
      }

      .tarifs-container{
        width: 70%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 50px;
      }

      .article-tarifs{
        margin: auto;
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
        width: calc(100% - 70px);
      }

      .bullets{
        text-align: left;
      }

      .avis-container{
        width: 70%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding-top: 40px;
      }

        .article-avis{
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
        width: calc(100% - 70px);
      }

      #current-section-id{
        font-family: "Lexend Deca", sans-serif;
        font-optical-sizing: auto;
        font-weight: 200;
        font-size: 16px;
        font-style: normal;
        color: var(--black);
        position: absolute;
        top: 50%;
        left: calc(30px + 40px);
        transform: translate(0%, -50%);
      }

      #current-section-icon{
        width: 25px;
        position: absolute;
        top: 50%;
        left: 35px;
        transform: translate(0%, -50%);
      }

      .current-section-selector{
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 200;
        font-style: normal;
        font-size:18px;
        position: absolute;
        top: 50%;
        left: 4%;
        transform: translate(-4%, -50%);
      }

      .parcours-article {
        width: 70%;
    }

    .contact-article {
        padding-top: 50px;
        margin-bottom: 50px;
    }

    .article-contact{
        margin: 0px;
        color: var(--white);
        text-decoration: none;

        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: var(--content-font-size);
    }

    .me-contacter{
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 2;
    }

    .prendre-rdv{
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 1;
    }

    .form-container {
        width: 70%;
        margin: 0 auto;
    }

    .form-container > h2 {
        padding-left: 35px;
        padding-right: 35px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #ff6565;
        padding: 5px;
        border-radius: 4px;
        background-color: #f5f5f500;
        color: var(--white);
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
    }

    .form-group {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        gap: 10px;
        
        padding-left: 35px;
        padding-right: 35px;
    }

    .form-group label {

    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--white);
        transition: 0.3s;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    /* Button styling */
    .form-actions {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
        padding-left: 35px;
        padding-right: 35px;
    }

    button {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        padding: 10px 20px;
        background-color: var(--red);
        color: var(--white);
        cursor: pointer;
        transition: background-color 0.2s;
        border: 1.5px solid var(--white);

        border-radius: 45px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    button:hover {
        background-color: var(--white);
        color: var(--red);
        border: 1.5px solid var(--white);
    }

    .partenaires-article {
        width: 70%;
    }

    .etiquette-parcours{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        border-radius: 5px;
        width: 100%;
    }

    .etiquette-info-addition{
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .article-headers-dark-row {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding-left: 35px;
        padding-right: 35px;
    }

    #cours {
        background-color: var(--white);
        padding-top: 15px;
        padding-bottom: 15px;
        scroll-margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #tarifs {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }

    #parcours {
        padding-bottom: 15px;
        scroll-margin-top: 50px;
        background-color: var(--white);
    }

    .parcours-picture {
        height: auto;
        width: calc(100% - 70px);
    }

    #partenaires {
        background-color: var(--white);
        padding-top: 15px;
        padding-bottom: 15px;
        scroll-margin-top: 50px;
    }

    #avis {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }

    #contact {
        padding-bottom: 50px;
        scroll-margin-top: 50px;
        background-color: var(--red);
    }
    
}

@media screen and (min-width: 1025px) {

    :root{
        --border-width : 4px;
    }

    .article-headers{
        display: flex;
        flex-direction: column;
        gap : 15px;
        background-color: var(--white);
        padding: 35px;
        border-radius: 5px;
    }

    .hook-title-mobile{
        display: none;
    }

    .hook-title-desktop{
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .essai-gratuit-button{
        margin-bottom: 20px;
    }

    .article-content {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        letter-spacing: 0.5px;
        text-decoration: none;
    }

    .added-title{
        color: var(--white);
        left: 0%;
        position: relative;
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .desktop-nav {
        position: fixed;
        width: 100vw;
        height: 80px;
        z-index: 1000;

        box-shadow: 0 8px 2px -2px rgba(128, 128, 128, 0.059);
        background-color: var(--white);

        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 5px;
    }

    #accueil {
        position: relative;
        height: 100vh;
        min-height: 870px;
        background-image: url("img/jap3-7954960.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hook-article{
        width: 50%;
        margin-top : 50px;
        margin-bottom: 50px;
        min-width: 750px;
    }

    .hook-content-mobile {
        display: none;
    }

    .title-button{
        border: 2px solid var(--red);
        border-radius: 25px;
        padding: 10px;
        color: var(--white);
        background-color: var(--red);
        cursor: pointer;
        margin-bottom: 15px;
        width: 250px;
        text-align: center;
    }

    .title-infobulle{
        color: var(--white);
        background-color: var(--red);
        width: 250px;
        text-align: left;
    }
    
    .hook-mobile{
        display: none;
    }

    .etiquette-info{
        width:100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: left;
        align-items: flex-start;
    }

    .etiquette-info-mobile-addition{
        display: flex;
        gap: 15px;
        width: 100%;
        justify-content: left;
    }

    .etiquette-info-addition{
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .article-picture {
        border-radius: 150px;
        width: 230px;
        height: 230px;
    }

    .cours-wrapper-left{
        width: 400px;
        display: flex;
        flex-direction: column;
    }

    .button-contact {
        text-decoration: none;
        margin: auto;
        background-color: var(--white);
    }

    .button{
        padding: 15px;
        width: 199px;
        background-color: var(--white);
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-size: var(--subtitle-font-size);
        color: var(--red);
        border-radius: 30px;
        border: 3px solid var(--beige);
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .button:hover{
        color: var(--white);
        background-color: var(--red);
        border: 2px solid var(--red);
        transition: 0.2s;
    }

    .landing-footer{
        width: 100%;
        background-color: var(--red);
        height: 5%;
        position: absolute;
        background-size: cover;
        top:95%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cours-container{
        width: 60%;
        min-width: 1020px;
        display: flex;
        gap: 25px;
        justify-content: center;
        background-color: var(--white);
    }

    .article-cours{
        margin: 0;
        color: var(--black);
        background-image: none;
        border: none;
        border-radius: 5px;
        width: calc(50% - 50px);
    }

    .tarifs-container{
        width: 50%;
        margin: auto;
        display: flex;
        gap: 50px;
    }

    .article-tarifs{
        min-width: 420px;
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
        width: calc(50% - 50px);
      }

    .avis-container {
        display: grid;
        gap: clamp(10px, 2vw, 40px);
        grid-template-columns: repeat(4, 340px);
        justify-content: center;
        padding: 20px;
        padding-top: 40px;
    }

    /* Force 2x2 layout below 1400px */
    @media (max-width: 1470px) {
        .avis-container {
            grid-template-columns: repeat(2, 340px);
    }
    }

    /* Optional: single column for mobile */
    @media (max-width: 720px) {
        .avis-container {
            grid-template-columns: 1fr;
    }
    }

    .article-avis {
        margin: 0px;
        width: 340px;
        height: 300px;
        color: var(--white);
        border-radius: 15px;
        border: var(--white) solid 2px;
    }

    .parcours-article {
        margin-bottom: 50px;
        width: 50%;
        min-width: 980px;
    }

    .contact-article {
        padding-top: 50px;
        margin-bottom: 50px;
        width: 50%;
        min-width: 720px;
    }

    .article-contact{
        margin: 0px;
        color: var(--white);
        text-decoration: none;

        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: var(--content-font-size);

    }

    .form-container {
        padding-top: 30px;
        width: 50%;
        margin: 0 auto;
        min-width: 720px;

    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #ff6565;
        padding: 5px;
        border-radius: 4px;
        background-color: #f5f5f500;
        color: var(--white);
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
    }

    /* Form group with flexbox */
    .form-group {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        gap: 10px;
    }

    .form-group label {
    }


    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--white);
        transition: 0.3s;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    /* Button styling */
    .form-actions {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
    }

    button {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: var(--content-font-size);
        padding: 10px 20px;
        background-color: var(--red);
        color: var(--white);
        cursor: pointer;
        transition: background-color 0.2s;
        border: 1.5px solid var(--white);

        border-radius: 45px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    button:hover {
        background-color: var(--white);
        color: var(--red);
        border: 1.5px solid var(--white);
    }

    .article-headers-dark-row{
        display: flex;
        flex-direction: row;
        gap : 120px;
    }

    .partenaires-article {
        margin-bottom: 50px;
        width: 50%;
        min-width: 720px;
    }

    .etiquette-parcours{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
        border-radius: 5px;
        min-width: 400px;
        justify-content: center;
    }

    #cours {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--white);

    }

    #tarifs {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        background-color: var(--red);
    }

    #parcours {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        background-color: var(--white);
    }

    #partenaires {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        background-color: var(--white);
    }

    #avis {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        background-color: var(--red);
    }

    #contact {
        padding-bottom: 50px;
        scroll-margin-top: 80px;
        background-color: var(--red);

    }

}
