/*
Theme Name: Minimind Child
Template: minimind
*/
/* 🔥 RESET WORDPRESS CONTAINER */

/*
Theme Name: Minimind Child
Template: minimind
*/

/* 🔥 RESET UNIQUEMENT POUR LA HOME */
body.home {
    overflow: hidden;
    /* Supprime limites WP */
    --wp--style--global--content-size: 100%;
    --wp--style--global--wide-size: 100%;
}body.home * {
    box-sizing: border-box;
}
/* 🔥 FULL WIDTH FIX */
body.home .wp-site-blocks,
body.home .wp-block-group,
body.home .wp-block-query,
body.home main {
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    margin-top:-80px;
}

/* Supprime contraintes FSE */
body.home .is-layout-constrained {
    max-width: 100% !important;
}

/* Supprime padding WP */
body.home .has-global-padding {
    padding: 0 !important;
    margin-bottom:0px !important;
}

/* 🔥 LAYOUT FULL SCREEN */
body.home html,
body.home body {
    height: 100%;
}

body.home .container-fluid {
    height: 100vh;
}

body.home .row {
    height: 100%;
}

/* Colonnes */
body.home .left-side-menu,
body.home .video-cover {
    min-height: 100vh;
    overflow: hidden;
}
body.home .left-side-menu{
    background-color: #cb99ff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
body.home h1.myH1{
    font-size: clamp(28px, 8vw, 120px);
    letter-spacing: clamp(2px, 0.5vw, 10px);
    text-transform: uppercase;
    line-height: 0.9;
    font-weight:700;
}
body.home .info{
    margin-top: auto;
    margin-bottom: 20px;
    text-align:left;
    width: 100%;
    max-width:300px;
    padding-bottom:10%;
    font-weight:500;
}
body.home .info a {
    display: block;       /* 🔥 chaque lien sur sa ligne */
    text-align: center;   /* centré comme myDate */
    font-size: clamp(18px, 4vw, 28px);
    margin: 8px 0;        /* espace vertical propre */
    text-decoration: none;
    color: black;
    transition: 0.3s ease;
}

body.home .info a:hover {
    letter-spacing: 2px;
    color: white;
}
body.home .myBtn{
   font-size: 30px;
   color: black !important;
   text-decoration: none;
}

body.home .myDate{
  font-size: clamp(16px,2vw, 24px);
  font-weight:700;
}

/* Fix alignement */
body.home .row {
    display: flex;
    align-items:stretch;
}
body.home .col-md-4,
body.home .col-md-8 {
    display: flex;
    flex-direction: column;
}

body.home .vertical-text{
    padding-top:10%;
    text-align: center;
    margin: 0 auto;
}
body.home .video-cover {
    display: flex;
    position: relative;
    height: 100%;
}
body.home .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
/* Desktop par défaut */
.mobile-video {
    display: none;
}

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

    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    } 
    body.home .vertical-text{

        padding-top:90% !important;
    }
    body.home .info{
        padding-bottom:90% !important;
    }
}
@media (max-width: 768px) {
    body.home .row {
        flex-direction: row !important; /* 🔥 empêche stack */
    }

    body.home .left-side-menu {
        width: 40%;
    }

    body.home .video-cover {
        width: 60%;
    }

    body.home .info{
        padding-bottom:20%
    }
    body.home .vertical-text{

        padding-top:20%;
    }
}

