/*
Theme Name: Vormaine
Template: hello-elementor
Version: 1.0
*/

.tab-menu-ete,
.tab-menu-hiver {
    width: 20% !important;
    padding: 20px !important;
}

.tab-menu-ete.active,
.tab-menu-hiver.active {
    width: 80% !important;
}

.tab-menu-ete .ete-sideway,
.tab-menu-hiver .hiver-sideway {
    writing-mode: sideways-lr;
    position: absolute;
    left: 20px;
    top: 5%;
    line-height: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.tab-menu-ete::before{
    content: "" !important;
    position: absolute !important;
    background: url('./images/logo-animation-home.png');
    top: 50% !important;
    left: -37px !important;
    width: 80px !important;
    height: 80px !important;
    z-index: 10 !important;
    transform: translateY(-50%);
    pointer-events: none;
    background-size: contain;
    filter: brightness(0);
}


.tab-menu-ete:not(.active)::after,
.tab-menu-hiver:not(.active)::after {

    opacity: 1;

}

.tab-menu-ete::after,
.tab-menu-hiver::after {
    transition: opacity 0.5s ease-in-out;
        content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.tab-menu-ete.active::after,
.tab-menu-hiver.active::after {
    opacity: 0;
}


.tab-menu-ete.active .ete-sideway,
.tab-menu-hiver.active .hiver-sideway {
    opacity: 0;
}

.tab-menu-ete .ete-sideway,
.tab-menu-hiver .hiver-sideway {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.tab-menu-ete.active .conteneur-content,
.tab-menu-hiver.active .conteneur-content {
    visibility: visible;
    opacity: 1;

}

.tab-menu-ete .conteneur-content,
.tab-menu-hiver .conteneur-content {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.tab-menu-ete .conteneur-content .title,
.tab-menu-hiver .conteneur-content .title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tab-menu-ete .conteneur-content .button,
.tab-menu-hiver .conteneur-content .button {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tab-menu-ete .conteneur-content .button a,
.tab-menu-hiver .conteneur-content .button a {
    padding: 10px 40px;
    display: block;
}

/* Responsive - Tablettes et Mobiles */
@media (max-width: 1024px) {
    .tab-menu-ete,
    .tab-menu-hiver {
        width: 100% !important;
        height: 50vh !important;
        padding: 15px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .tab-menu-ete::before{
        content: "" !important;
        position: absolute !important;
        top: -46px !important;
        left: 50% !important;
        z-index: 10 !important;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .tab-menu-ete.active,
    .tab-menu-hiver.active {
        width: 100% !important;
    }

    .tab-menu-ete .ete-sideway,
    .tab-menu-hiver .hiver-sideway {
        writing-mode: horizontal-tb;
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 1.2rem;
        margin-bottom: 10px;
        transform: translate(-50%, -50%);
    }

    .tab-menu-ete::before {
        display: none;
    }

    .tab-menu-ete .conteneur-content,
    .tab-menu-hiver .conteneur-content {
        display: none;
        padding-top: 15px;
        position: relative;
        text-align: center;
        align-content: center;
    }

    .tab-menu-ete.active .conteneur-content,
    .tab-menu-hiver.active .conteneur-content {
        display: flex;
    }

    .tab-menu-ete .conteneur-content .button,
    .tab-menu-hiver .conteneur-content .button {
        display: block;
    }
}

/* Responsive - Téléphones */
@media (max-width: 767px) {
    .tab-menu-ete,
    .tab-menu-hiver {
        width: 100% !important;
        height: 50vh !important;
        padding: 12px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .tab-menu-ete .ete-sideway,
    .tab-menu-hiver .hiver-sideway {
        writing-mode: horizontal-tb;
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 1rem;
        margin-bottom: 8px;
        transform: translate(-50%, -50%);
    }

    .tab-menu-ete::before {
        display: none;
    }

    .tab-menu-ete .conteneur-content,
    .tab-menu-hiver .conteneur-content {
        display: none;
        padding-top: 10px;
        text-align: center;
        align-content: center;
    }

    .tab-menu-ete.active .conteneur-content,
    .tab-menu-hiver.active .conteneur-content {
        display: flex;
    }

    .tab-menu-ete .conteneur-content .button,
    .tab-menu-hiver .conteneur-content .button {
        display: block;
    }

    .tab-menu-ete .conteneur-content .button a,
    .tab-menu-hiver .conteneur-content .button a {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* video taille hauteur homepage */

@media screen and (max-width: 767px) {
    .menu-footer-sub li::after{
        display: none;
    }
}

.partenaires-slider::after{
    background: linear-gradient(to left, white 0%, transparent);
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    z-index: 10;
}

.partenaires-slider::before{
    background: linear-gradient(to right, white 0%, transparent);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    z-index: 10;
}

/*.partenaires-slider img{
    width: 100px;
}*/

@media (max-width: 1279px) {
    .desktop-only {
        display: none !important; 
    }
}



@media (min-width: 1280px) {
    .mobile-only {
        display: none !important;
    }
}

/* ==========================================================
   TABLEAU DES TARIFS - RESPONSIVE MOBILE
   ========================================================== */

.table-price table{
    border: 0 !important;
}

.tarifs-mobile-scroll {
    width: 100%;
}

.table-price{
    overflow-x: auto;
}

.table-price .desc{
    font-size: 16px !important;
    font-weight: 400 !important;
}

.table-price th{
    width: 20%;
    font-size: 30px !important;
}

.table-price thead tr{
    border-bottom: 0;
}

.table-price tr{
    border-bottom: 1px solid #00000040;
}

.table-price th,
.table-price td {
    border-width: 0 !important;
    text-align: center;
}

.table-price td {
    font-size: 30px !important;
    font-weight: bold !important;
}

.table-price table {
    height: 100%;
    width: 100%;
    border-spacing: 1px;
    text-align: center;
}

table tbody tr:hover > td, table tbody tr:hover > th{
    background-color: transparent !important;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th{
    background-color: transparent !important;
}

.table-price .title{
    font-weight: 500 !important;
}

/* Mobile uniquement */
@media (max-width: 1279px) {

    /* Zone qui permet le défilement horizontal */
    .tarifs-mobile-scroll {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        display: block !important;
    }

    /*
     * On force le tableau à rester suffisamment large.
     * Il sera donc scrollable horizontalement au lieu
     * de réduire toutes les colonnes.
     */
    .tarifs-mobile-scroll > .e-con,
    .tarifs-mobile-scroll > .e-flexbox,
    .tarifs-mobile-scroll .e-con,
    .tarifs-mobile-scroll .e-flexbox {
        max-width: 150px !important;
        flex-shrink: 0 !important;
    }

    /* Les colonnes ne doivent pas se compresser */
    .tarifs-mobile-scroll .e-con {
        flex-shrink: 0 !important;
    }

    /* Texte plus lisible sur téléphone */
    .tarifs-mobile-scroll .e-paragraph-base {
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    /* Évite que les cellules deviennent trop petites */
    .tarifs-mobile-scroll .elementor-widget {
        flex-shrink: 0 !important;
    }

   .tarifs-mobile-scroll .e-con-inner > .elementor-element.e-div-block-base,
   .tarifs-mobile-scroll .e-div-block-base{
        align-items: unset !important;
   }

      .tarifs-mobile-scroll > div > div > div > div{
        border-bottom: 1px solid rgba(0, 0, 0, 0.25) !important;
        border-bottom-width: 1px !important;
        padding: 10px !important;
   }

   .table-price th{
    width: 200px !important;
   }

   .table-price table{
    width: max-content;
   }

   
   .table-price th{
      font-size: 24px !important;
   }

   .table-price td{
      font-size: 22px !important;
   }


}

#video-header{
    width: 100%;
    object-fit: cover !important;
}


/* ========== Contact Form — Design Station de Ski ========== */

.contact-form {
    --ice: #e8f4fb;
    --glacier: #1b6ca8;
    --deep: #0d3b5e;
    --accent: #ff7a1a;
    border: none;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.elementor-popup-modal{
    background: transparent !important;
    backdrop-filter: blur(200px);
}

.contact-form form{
    background-color: transparent;
}

.contact-form *,
.contact-form *::before,
.contact-form *::after {
    box-sizing: border-box;
}

.contact-form label {
    display: block;
    margin: 0 0 20px 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form label span{
    margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 0;
    border: 1px solid #c8dde9;
    border-radius: 8px;
    color: var(--deep);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="date"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--glacier);
    box-shadow: 0 0 0 3px rgba(27, 108, 168, 0.15);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* Erreurs CF7 */
.contact-form .wpcf7-not-valid {
    border-color: #d64545 !important;
}

.contact-form .wpcf7-not-valid-tip {
    display: block;
    margin: -12px 0 14px 4px;
    font-size: 0.8rem;
    color: #d64545;
}

/* Bouton d'envoi */
.contact-form input[type="submit"],
.contact-form .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--glacier), var(--deep));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.contact-form input[type="submit"]:hover,
.contact-form .wpcf7-submit:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 26, 0.35);
}

.contact-form input[type="submit"]:active,
.contact-form .wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Messages de confirmation / erreur globaux */
.contact-form .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem;
}

.contact-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--glacier);
    background: var(--ice);
    color: var(--deep);
}

.wpcf7-spinner{
    display: none !important;
}

.wpml-ls ul{
    display: flex !important;
    flex-direction: row !important;
}

.wpml-ls ul li a span{
    font-size: 12px;
    color: white;
}

.wpml-ls ul li a:hover{
    color: var(--primary);
}

.wpml-ls ul li{
   border-right: 1px solid #ccc;

}

.wpml-ls ul li a{
    margin: 0;
    padding: 0 10px;
}

.wpml-ls ul li:last-child{
    border: none;
}



