/*Header*/
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #f8f8f8;
    }
    nav ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: x-large;
    }
    nav{
        flex-basis: 60%;
    }
    .brand{
        
        display: flex;
        justify-content: center;
        align-items: center;
        flex-basis: 30%;
    }

    .titre{
        color:#ff1b61;
        font-size: xx-large;
        font-weight: bold;
    }
    .nav-link {
        position: relative;
        color: #2d2d74;
        font-weight: bold;
        padding-bottom: 9px;
    }
    .nav-link:hover {
        color: #ff1b61;
    }
    /*Soulignement au survol*/
    .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ff1b61;
    transition: width 0.3s ease;
    }

    .nav-link:hover::after {
    width: 100%;
    }

    .btn-cta {
        background-color: #ff1b61;
        color: white;
        padding: 10px 20px;
        border: 2px solid #ff1b61;
        border-radius: 5px;
        font-size: large;
        cursor: pointer;
        font-weight: bold;
    }

    .btn-cta:hover {
        background-color: #ffffff;
        color: #ff1b61;
        border: 2px solid #ff1b61;
        font-weight: bold;
    }

/*body*/
    body{
        background-color: #f8f8f8;
        font-family: "acumin-pro", sans-serif;
        line-height: 1.2;
    }
    h1{
        display: none;
        font-family: "lust-display", serif;
    }
    h2{
        color: #000000;
        font-size: 70px;
        font-weight: bold;
        padding: 20px 0;
        font-family: "lust-display", serif;
    }
    .title-with-underline {
        position: relative;
        display: block;
        width: max-content;
        margin: 0 auto;
        padding-bottom: 8px;
        text-align: center;
        font-family: "lust-display", serif;
    }
    .title-with-underline::after {
        content: "";
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: -8px;
        height: 5px;
        background-color: #ff1b61;
        border-radius: 3px;
        transform: scaleX(1);
        transform-origin: center;
        transition: none;
    }
    h3{
        color:#ff1b61;
        font-size: 30px;
        font-weight: bold;
        font-family: "lust-display", serif;
    }
    h4{
        color:#000000;
        font-size: 40px;
        font-weight: bold;
        font-family: "lust-display", serif;
    }
    p{
        color: #000000;
        font-size: x-large;
        line-height: 1.5;
        text-align: justify;
        padding: 10px 0;
        font-weight: bold;
    }
    .highlight{
        color: #ff1b61;
    }
    /*Parties*/
        .part{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: row;
            gap: 2rem;
            margin: 20px 0;
            padding: 30px;
        }
        .part-text{
            flex-basis: 35%;
            font-size: large;
            align-items: center;
            justify-content: center;
        }
        .part-image{
            display: flex;
            flex-basis: 50%;
            align-items: center;
            justify-content: center;
        }
        .part-image img{
            height: auto;
            max-width: 100%;
        }

        .part-stats{
            display: flex;
            flex-direction: row;
            gap: 5rem;
            align-items: center;
            justify-content: center;
            margin: 30px 0;
        }
        .stats-item{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .stats-item p{
            text-align: center;
        }
        .personne{
            display: grid;
            grid-template-columns: repeat(3, minmax(220px, 1fr));
            gap: 1.5rem;
            margin: 30px auto;
            width: 100%;
            max-width: 1200px;
        }

        .personne1,
        .personne2,
        .personne3 {
            background-color: #fff;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
        }

        .personne img {
            border-radius: 50%;
            display: block;
            margin: 0 auto 15px;
        }

        .personne p {
            text-align: center;
        }

        @media (max-width: 900px) {
            .personne {
                grid-template-columns: 1fr;
            }
        }

        .colonne {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: row;
            gap: 4rem;
            margin: 30px auto;
            width: 100%;
            max-width: 1200px;
        }
        .colonne img {
            height: auto;
            max-width: 100%;
            border-radius: 30px;
        }

        .card {
            background-color: #fff;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            flex-basis: 40%;
        }
        .card h3{
            padding-bottom: 200px;
        }
        
        .card-plage {
            background-image: url('../img/plage.jpeg');
            background-size: cover;
            background-position: center;
            background-color: #fff;
        }
        
        .card-rocheux {
            background-image: url('../img/roche.jpeg');
            background-size: cover;
            background-position: center;
            background-color: #fff;
        }

        .card-ville {
            background-image: url('../img/ville.jpeg');
            background-size: cover;
            background-position: center;
            background-color: #fff;
        }

        .card-polaire {
            background-image: url('../img/polaire.jpeg');
            background-size: cover;
            background-position: center;
            background-color: #fff;
        }
        
        .card-plage h3, .card-rocheux h3, .card-ville h3, .card-polaire h3 {
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .colonne3{
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-direction: row;
            gap: 1.5rem;
            margin: 30px auto;
            width: 100%;
            max-width: 1200px;
        }
        .colonne2{
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-direction: row;
            gap: 1.5rem;
            margin: 30px auto;
            width: 100%;
            max-width: 1200px;
        }

        .reservation-column {
            flex-basis: 100%;
            max-width: 900px;
            width: 100%;
        }

        .summary-box {
            background-color: #2d2d74;
            border-radius: 20px;
            padding: 20px;
            flex-basis: 40%;
            color: #ffffff;
            margin-left: 20px;
            margin: 30px 0;
        }

        .summary-box h3 {
            color: #ff1b61;
            margin-bottom: 15px;
            text-align: center;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .summary-item .label {
            font-weight: bold;
            color: #f8e9d1;
        }

        .summary-item .value {
            color: #ffffff;
        }

        .summary-submit {
            margin-top: 20px;
            text-align: center;
        }

        .summary-submit .btn-cta {
            background-color: #ff1b61;
            color: white;
            border: 2px solid #ff1b61;
        }

        .summary-submit .btn-cta:hover {
            background-color: #ffffff;
            color: #ff1b61;
        }

        .box-small{
            background-color: #2d2d74;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            flex-basis: 40%;
            min-height: 400px;
        }
        .box-small p{
            color: #ffffff;
        }
        
        .box-large{
            background-color: #f8e9d1;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            flex-basis: 50%;
            min-height: 400px;
        }        
        .title-with-icon {
            display: flex;
            align-items: center;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .title-with-icon img {
            flex-shrink: 0;
        }
        
        .title-with-icon h2 {
            margin: 0;
            text-align: left;
        }
        
        .liste {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .liste img {
            flex-shrink: 0;
        }
        
        .liste p {
            margin: 0;
            text-align: left;
        }

        .participant-selector {
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
        }

        .participant-selector h3 {
            margin: 0 0 10px 0;
            color: #ff1b61;
            font-size: 1.2rem;
            letter-spacing: 1px;
        }

        .participant-options {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .participant-btn {
            border: 2px solid #ff1b61;
            background-color: #fff;
            color: #2d2d74;
            font-weight: bold;
            padding: 10px 18px;
            border-radius: 12px;
            cursor: pointer;
            min-width: 90px;
            transition: all 0.25s ease;
        }

        .participant-btn.selected,
        .participant-btn:hover {
            background-color: #ff1b61;
            color: #fff;
            transform: translateY(-1px);
        }

        .contour-box {
            display: flex;
            flex-direction: column;
            background: #ffffff;
            align-items: center;
            justify-content: center;
            gap: 20px;
            padding: 30px;
            border: 6px solid #f8e9d1;
            border-radius: 25px;
            flex-basis: 50%;
        }

        .contour-box2 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 16px;
            padding: 24px;
            border: 4px solid #ff1b61;
            border-radius: 20px;
            flex-basis: 50%;
            background-color: #ffffff;
            margin: 30px 0;
        }

        .survey-box {
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 0;
            margin: 16px auto 0;
            max-width: 760px;
            width: 100%;
            text-align: center;
            grid-column: 1 / -1;
        }

        .survey-box h3 {
            margin: 0 0 14px;
            text-align: center;
            color: #2d2d74;
            font-size: 1.25rem;
            font-weight: bold;
        }

        .survey-box .question {
            margin-bottom: 12px;
        }

        .survey-box .question p {
            margin: 0 0 8px;
            font-weight: 600;
            color: #2d2d74;
        }

        .survey-box .options {
            display: grid;
            grid-template-columns: repeat(2, minmax(0,1fr));
            gap: 8px;
        }

        .survey-option {
            border: 2px solid #ffedb5;
            border-radius: 10px;
            padding: 8px 10px;
            background-color: #ffedb5;
            color: #2d2d74;
            text-align: center;
            cursor: pointer;
            transition: 0.2s;
            font-weight: bold;
        }

        .survey-option.selected,
        .survey-option:hover {
            background-color: #2d2d74;
            color: #ffd76f;
            border-color: #2d2d74;
            transform: translateY(-1px);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            width: 100%;
        }

        .form-field {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 6px;
        }

        .form-field.full-width {
            grid-column: 1 / -1;
        }

        .form-field label {
            font-weight: bold;
            font-size: 0.9rem;
            color: #2d2d74;
            font-weight: bold;
        }

        .form-field input, .form-field textarea {
            padding: 8px 10px;
            border: 2px solid #ff1b61;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: bold;
        }

        .form-field input:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 27, 97, 0.2);
        }


        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .progress-bar {
            width: 100%;
            height: 20px;
            background-color: #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
        }
        
        .progress-fill {
            height: 100%;
            background-color: #ff1b61;
            border-radius: 10px;
            transition: width 0.3s ease;
        }
        
    /*Box*/
        .box{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            margin: 40px 130px;
            padding: 30px;
            background-color: #2d2d74;
            border-radius: 25px;
        }
    /*Grille*/
        .grille1{
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            grid-template-rows: auto 1fr;
            gap: 1.5rem;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            min-height: 0;
        }
        .box1{
            grid-column: 1;
            grid-row: 1 / span 2;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            padding: 30px;
            background-color: #f8e9d1;
            border-radius: 25px;
            min-height: 0;
            max-height: 100%;
            overflow: hidden;
        }
        .box1 h3, .box2 h3, .box4 h3{
            color:#2d2d74;
        }
        .box3 h3, .box3 p{
            color: #ffffff;
        }
        .grille2{
            grid-column: 2;
            grid-row: 1 / span 2;
            display: grid;
            grid-template-rows: minmax(230px, 1fr) 1fr;
            gap: 1.5rem;
            min-height: 100%;
        }
        .box2{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            padding: 30px;
            background-color: #ffffff;
            border-radius: 25px;
        }
        .grille3{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            min-height: 220px;
        }
        .box3{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            padding: 30px;
            background-color: #ff1b61;
            border-radius: 25px;
        }
        .box4{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            padding: 30px;
            background-color: #00d4ff;
            border-radius: 25px;
        }

        .box1 h3,
        .box2 h3,
        .box3 h3,
        .box4 h3 {
            font-size: 2rem;
            margin-bottom: 0.75rem;
        }

        .box1 p,
        .box2 p,
        .box3 p,
        .box4 p {
            font-size: 1rem;
            line-height: 1.4;
        }

        @media (max-width: 900px) {
            .grille1 {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto auto;
            }
            .box1, .box2, .box3, .box4, .grille2, .grille3 {
                grid-column: 1;
                grid-row: auto;
            }
            .grille3 {
                grid-template-columns: 1fr;
            }
        }
    /*Boutons*/
        .box-btn{
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 3rem;
        }
        .btn{
            background-color: #ff1b61;
            color: white;
            padding: 8px 10px;
            border: 2px solid #ff1b61;
            border-radius: 5px;
            font-size: large;
            cursor: pointer;
            font-weight: bold;
        }
        .btn:hover {
            background-color: #ffffff;
            color: #ff1b61;
            border: 2px solid #ff1b61;
            font-weight: bold;
        }

        .btn-inverse:hover{
            background-color: #ff1b61;
            color: white;
            border: 2px solid #ff1b61;
            font-weight: bold;
        }
        .btn-inverse {
            background-color: #ffffff;
            color: #ff1b61;
            border: 2px solid #ff1b61;
            border-radius: 5px;
            font-size: large;
            cursor: pointer;
            font-weight: bold;
            padding: 8px 10px;
        }

        .btn-cta-fonce {
        background-color: #ffffff;
        color: #2d2d74;
        padding: 10px 20px;
        border: 2px solid #ffffff;
        border-radius: 5px;
        font-size: large;
        cursor: pointer;
        font-weight: bold;
    }

    .btn-cta-fonce:hover {
        background-color: #2d2d74;
        color: #ffffff;
        border: 2px solid #ffffff;
        font-weight: bold;
    }

        .plage{
            background-color: #f8e9d1;
            color: #2d2d74;
            border: 2px solid #f8e9d1;
            border-radius: 25px;
            font-size: 0.85rem;
            cursor: pointer;
            font-weight: bold;
            padding: 10px 20px;
        }

        .rocheux{
            background-color: #ffffff;
            color: #000000;
            border: 2px solid #ffffff;
            border-radius: 25px;
            font-size: 0.85rem;
            cursor: pointer;
            font-weight: bold;
            padding: 10px 20px;
        }

        .ville{
            background-color: #ff1b61;
            color: #ffffff;
            border: 2px solid #ff1b61;
            border-radius: 25px;
            font-size: 0.85rem;
            cursor: pointer;
            font-weight: bold;
            padding: 10px 20px;
        }

        
        .polaire{
            background-color: #00d4ff;
            color: #000000;
            border: 2px solid #00d4ff;
            border-radius: 25px;
            font-size: 0.85rem;
            cursor: pointer;
            font-weight: bold;
            padding: 10px 20px;
        }
    /*Slider*/
        .slider {
        overflow: hidden;
        width: 100%;
        background: #f8f8f8;
        }

        .slide-track {
        display: flex;
        gap: 100px;
        width: calc((250px + 20px) * 20); /* 20 images (10 originales + 10 dupliquées) + 20px gap */
        animation: scroll 40s linear infinite;
        }

        .slide {
        width: 250px;
        height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        }

        .slide img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        opacity: 0.7;
        filter: grayscale(40%);
        transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
        }

        .slide:hover img {
        opacity: 1;
        filter: grayscale(0);
        transform: scale(1.02);
        }

        @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 10));
        }
        }
    /*FAQ*/
        .faq-section {
            max-width: 800px;
            margin: 60px auto;
        }

        .faq-item {
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            background: #f8e9d1;
        }

        .faq-question {
            width: 100%;
            padding: 15px 20px;
            background: #2d2d74;
            color: #f8e9d1;
            font-size: 1.5rem;
            text-align: left;
            border: none;
            cursor: pointer;
            transition: background 0.3s;
            font-weight: bold;
        }

        .faq-question:hover {
            background: #f8e9d1;
            color: #2d2d74;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            background: #fff;
            padding: 0 20px;
            transition: max-height 0.4s ease;
        }

        .faq-answer p {
            padding: 15px 0;
            margin: 0;
        }
/*footer*/
    footer{
        display: flex;
        align-items: center;
        flex-direction: column;
        background-color: #2d2d74;
        padding: 20px 0;
    }
    .social{
        display: flex;
        gap: 3rem;
        margin-bottom: 10px;
    }
    .nav-footer ul{
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 60%;
        font-size: x-large;
    }
    .nav-footer{
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0px;
    }
    .nav-footer a{
        color: #ffffff;
    }
    .nav-footer a:hover{
        color: #f8e9d1;
    }
    footer p{
        font-size: medium;
    }
    .copyright{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        color: #ffffff;
    }

    /*Loader*/
    .loader {
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 22, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    .loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .loader-img {
        width: 340px; 
        animation: pulse 1.6s ease-in-out infinite;
    }

    @keyframes pulse {
        0%   { transform: scale(1); opacity: 1; }
        50%  { transform: scale(1.10); opacity: 0.85; } 
        100% { transform: scale(1); opacity: 1; }
    }