/*
Theme Name:        La petite boite noire
Theme URI:         https://lapetiteboitenoire.fr
Author:            Maxime Paoli
Author URI:        https://lapetiteboitenoire.fr
Description:       Un thème WordPress minimaliste, sécurisé et responsive, développé à partir de zéro.
Version:           1.0.0
Text Domain:       la-petite-boite-noire
*/

:root {
    /* Largeur maximale du site (ex: 1200px) */
    --container-max-width: 1400px; 
    /* Espacement sur les côtés pour les mobiles */
    --container-padding: 1rem; 

    --creme : #faf9f7;
    --blaune: #e9ba8c;
    --black : #0d0e0e; 
}

html {
    scroll-behavior: smooth;
}

.container {
    /* 1. Sécurité pour le responsive : le container ne dépasse jamais l'écran */
    width: 100%;
    
    /* 2. Fixe la largeur maximale définie dans les variables */
    max-width: var(--container-max-width);
    
    /* 3. Centre le container horizontalement */
    margin-left: auto;
    margin-right: auto;
    
    /* 4. Ajoute un espace à gauche et à droite pour que le contenu 
          ne colle pas aux bords de l'écran sur mobile */
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    
    /* 5. Box-sizing pour s'assurer que le padding ne s'ajoute pas à la largeur */
    box-sizing: border-box;
}

/* Optionnel : Ajustement de l'espacement sur les grands écrans (Tablettes / PC) */
@media (min-width: 48rem) { /* À partir de 768px */
    :root {
        --container-padding: 2rem; /* On donne un peu plus d'air au contenu */
    }
}

body{
    background: #FFF;
}

a{
    text-decoration: none;
}

p{
    font-family:'Montserrat';
    font-weight: 400;
}

/*Header*/
#masthead{
    position: absolute;
    width: 100%;
    top: 0px;
    z-index: 30;
}
.header-container{
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}
.site-branding{
    width: fit-content;
    display: flex;
    gap: 20px;
    flex-direction: row;
}
.site-branding .site-title{
    display: flex;
    align-items: center;
}
.site-branding a{
    display: flex;
}
span.site-name{
    color: var(--creme);
    text-transform: uppercase;
    font-family: 'Montserrat',sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.05rem;
    font-weight: 400;
}
span.site-name .last-word{
    font-weight: 600;
}
span.site-desc{
    text-transform: uppercase;
    color: var(--creme);
    font-weight: 400;
    font-family: 'Montserrat',sans-serif;
    font-size: .8rem;

}
img.logo{
    width: 40px;
    mix-blend-mode: difference;
}
.main_menu_btn{
    color: #FFF;
}
.black_header{
    padding-bottom: 40px;
    background: var(--black);
    position: relative !important;
}



#icon {
  width: 65px;
  cursor: pointer;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  float: right;
  z-index: 99999999;
  position: relative;
  mix-blend-mode: exclusion;
  right:0px;
  top:0px;

}
path.menu-btn-path {
  fill: none;
  -webkit-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -moz-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -o-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -ms-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  stroke-width: 20px;
  stroke-linecap: round;
  stroke: #FFF;
  stroke-dashoffset: 0px;

}
path#top,
path#bottom {
  stroke-dasharray: 240px 950px;
}
path#middle {
  stroke-dasharray: 240px 240px;
}
.cross path#top,
.cross path#bottom {
  stroke-dashoffset: -650px;
  stroke-dashoffset: -650px;
}
.cross path#middle {
  stroke-dashoffset: -115px;
  stroke-dasharray: 1px 220px;
}

.main_menu{
    height: 100vh;
    background: var(--black);
    width: 100%;
    position: fixed;
    pointer-events: none;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 25;
    opacity: 0;
    transition: .5s;
    mix-blend-mode: hard-light;
    backdrop-filter: grayscale(.5) blur(12px);
}
.main_menu.visible{
    opacity: 1;
    pointer-events: all;
    transition: .25s;
}
.no-scroll{
    overflow: hidden;
}
ul#menu-main-menu{
    padding: 0px;
    list-style: none;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
ul#menu-main-menu li{}
ul#menu-main-menu li a{
    color: var(--creme);
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
}

.menu-btn{
    display: none;
}

.menu_desktop{
    display: flex;
    align-items: center;
    justify-content: center;
}
ul#desktop-menu{
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: flex;
    gap: 60px;
    align-items: center;
}
ul#desktop-menu li a{
    color:var(--creme);
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}
ul#desktop-menu li{
    position: relative;
}
ul#desktop-menu li.current-menu-item a:after{
    background: var(--blaune);
    height: 2px;
    width: 100%;
    content:'';
    display: block;
    position: absolute;
    bottom:-10px;

}
/* ==========================================================================
   Grille Responsive des Réalisations
   ========================================================================== */

.realisations_grid {
    display: grid;
    grid-template-columns: 1fr; /* Par défaut sur mobile : 1 colonne */
    gap: 2rem;                 /* Espace entre les éléments de la grille */
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Tablettes (Écrans supérieurs à 768px) */
@media (min-width: 48rem) {
    .realisations_grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
}

/* Ordinateurs (Écrans supérieurs à 1024px) */
@media (min-width: 64rem) {
    .realisations_grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    }
}

/* Style de chaque carte (grid_item) */
.grid_item {
    background-color: transparent;
    border: 0px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Aligne le contenu verticalement */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid_item:hover {
    transform: translateY(-4px); /* Petit effet de survol sympathique */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Image */
.realisation-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover; /* L'image remplit l'espace sans se déformer */
    display: block;
}

/* Zone de texte de la carte */
.realisation-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permet de pousser le bouton vers le bas */
}

.realisation-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.4;
}

.realisation-title a {
    color: #1a202c;
    text-decoration: none;
}

.realisation-title a:hover {
    color: #3182ce; /* Devient bleu au survol */
}

.realisation-excerpt {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Bouton d'action */
.btn-read-more {
    margin-top: auto; /* Aligne automatiquement le bouton tout en bas */
    align-self: flex-start; /* Évite que le bouton prenne 100% de la largeur */
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.btn-read-more:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* Le conteneur ThreeJS doit être fixe et couvrir tout l'écran en arrière-plan */



/* Tes articles ou tes boîtes doivent avoir une taille et être visibles */
.article-3d-view {
    height: auto;
    width:100%; /* Donne-leur une hauteur minimale pour que le cadre existe ! */
    min-height: 400px;
    background: transparent !important; /* Indispensable pour voir le canvas derrière */
}




/*section landing*/
#container-3d{
    min-height: 500px;
}
#container-3d canvas{
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
#container-3d canvas.visible {
    opacity: 1;
}
/* --- LE CONTENEUR GLOBAL --- */
.lpbn-landing-section {
    height: 100vh;
    min-height: 600px;
    background: #0f0f0e;
    display: flex;
    align-items: center;
}

/* On s'assure que le container prend toute la largeur disponible */
.lpbn-landing-section .container {
    width: 100%; /* À ajuster selon la grille de ton thème */
    margin: 0 auto;
}

.landing_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center; /* Aligne verticalement la colonne texte et la colonne visuel */
    gap: 40px; /* Crée de l'espace entre tes deux colonnes principales */
}

.column {
    flex: 1;
    width: 50%;
}

/* --- LE SUR-TITRE --- */
.sub-title-caps {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .7rem;
    color: var(--blaune);
    letter-spacing: 0.15em; /* Ajout du petit espacement premium */
}
.sub-title-caps:after{
    width: 40px;
    height: 2px;
    background: var(--blaune);
    display: block;
    content:'';
    margin-top: 10px;
}

/* --- LE TITRE PRINCIPAL --- */
h1.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem; /* Légèrement réduit pour éviter que ça ne casse trop violemment */
    font-weight: 300;
    margin: 0;
    color: var(--creme);
    line-height: 5.2rem; /* Légèrement augmenté pour laisser respirer les accents */
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 650px; /* Verrouille la largeur pour reproduire le saut de ligne de la maquette */
}

h1.hero-title span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400; /* L'italique ressort mieux avec un poil plus de graisse */
    color: var(--blaune);
    display: block;
}

/* --- LE TEXTE DE DESCRIPTION --- */
.lpbn-landing-section p {
    color: var(--creme);
    line-height: 1.6rem;
    font-size: .95rem;
    max-width: 420px; /* Utilisation exclusive de max-width pour gérer le responsive */
    margin: 0;
    opacity: 0.85; /* Léger fondu pour la hiérarchie visuelle */
}

/* --- ZONE BOUTON / CTA --- */
.hero-cta {
    display: flex;
    flex-direction: row;
    margin-top: 2.5rem;
}

a.btn-arrow {
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--creme);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.btn-arrow:hover {
    opacity: 0.8;
}

/* /!\ CORRECTION DES DIMENSIONS DU CERCLE ET DU SVG */
.arrow_svg {
    width: 45px;  /* Taille globale du cercle */
    height: 45px; /* Égal à la largeur pour un cercle parfait */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--creme);
    border-radius: 50%; /* Utilisation de 50% au lieu de 50px pour un rendu rond parfait */
    transition: transform 0.3s ease;
}

/* Animation subtile au survol du bouton */
a.btn-arrow:hover .arrow_svg {
    transform: translateX(5px);
}

.hero-cta svg {
    width: 18px;  /* Le SVG s'adapte sagement à l'intérieur du cercle de 45px */
    height: 18px;
    fill: var(--creme); /* Utilise ton CSS Variable pour hériter de la bonne couleur */
    stroke: transparent;
}

/*projets section*/

.projets_wrapper{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.lpbn-projets-section{
    padding-top: 60px;
    padding-bottom: 60px;
}
.lpbn-projets-section  .sub-title-caps, .section-contact .sub-title-caps{
    color: var(--black);
}
.projets_header{
    flex: .5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* --- LE CONTENEUR DE LA GRILLE --- */
.projets_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(140px, auto); /* Légèrement augmenté pour donner du souffle */
    gap: 4px; /* /!\ CORRECTION : L'espacement sur ta photo est ultra-fin (environ 4px) */
    flex: 1;
}

/* --- LE STYLE DE CHAQUE BLOC DE PROJET --- */
.projet_item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px; /* Espace interne homogène */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* /!\ CORRECTION : On aligne tout en haut */
    align-items: flex-start;
    min-height: 150px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.mis_en_avant{
    grid-row: span 2;
    grid-column: span 2;
}
.projet_item:hover {
    transform: scale(0.99);
}
/* /!\ NOUVEAU : Un overlay sombre subtil uniquement sur les blocs avec image 
   pour garantir le contraste du texte blanc comme sur ta photo */
.projet_item[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25); /* Ajuste l'opacité selon tes images */
    z-index: 1;
}

/* On force le texte et les logos à passer au-dessus de l'overlay */
.projet_meta, .projet_logo {
    position: relative;
    z-index: 2;
}

/* --- /!\ CORRECTION CRUCIALE : LA TYPOGRAPHIE --- */
.projet_meta h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Moins gras, plus élégant */
    font-size: 0.7rem; /* Très petit comme sur la photo */
    letter-spacing: 0.05em;
    margin: 0 0 3px 0;
    text-transform: uppercase;
}

.projet_meta span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.5; /* Texte plus discret pour la catégorie */
    display: block;
}

/* --- /!\ CORRECTION : CENTRAGE ABSOLU DU LOGO --- */
.projet_logo {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centre horizontalement et verticalement */
    max-width: 60%;
    max-height: 90px;
    object-fit: contain;
    z-index: 2;
}

/* --- COULEURS DES FONDS UNIS ( Fidèles à ton image ) --- */
.bg-beige { 
    background-color: #dedcd8; 
    color: #1a1a1a; 
}
.bg-beige .projet_meta span { color: #1a1a1a; opacity: 0.6; }

.bg-orange { 
    background-color: #d97d3a; 
    color: #ffffff; 
}
.bg-orange .projet_meta span { color: #ffffff; opacity: 0.8; }

.bg-light-grey { 
    background-color: #e3e1dd; 
    color: #402815; 
}
.bg-light-grey .projet_meta span { color: #402815; opacity: 0.6; }

/* Par défaut, le texte est blanc sur les images de fond */
.projet_item[style*="background-image"] {
    color: #ffffff;
}
.projets-intro-text p{
    font-family:'Cormorant Garamond', serif;
    font-size:2rem;
    line-height: 2rem;
    color: var(--black);
    font-weight: 300;
}
/* --- LE LIEN INVISIBLE SUR TOUT LE BLOC --- */
.projet_item_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Passe au-dessus de tout pour le clic */
}

/* --- POSITIONNEMENT ASYMÉTRIQUE (BENTO) --- */

/* Bloc 1 : Ton grand carré 2x2 en haut à gauche */
.item-1 { 
    grid-column: 1 / 3; 
    grid-row: 1 / 3;    
    min-height: 340px; /* Hauteur généreuse pour former un carré avec 2 rangées */
    max-height: 340px;
}

/* Bloc 3 : Le bloc en haut à droite, aligné sur la hauteur du carré */
.item-3 { 
    grid-column: 3 / 4; 
    grid-row: 1 / 3; 
    min-height: 340px; 
    max-height: 340px; 
}

/* Bloc 2 : /!\ CORRECTION : Ton grand rectangle allongé horizontal (type bloc bleu) */
.item-2 { 
    grid-column: 1 / 3; /* Prend 2 colonnes de large */
    min-height: 180px;  /* Hauteur profilée pour l'effet "allongé" */
}

/* Bloc 5 : Le grand bloc orange vertical à droite */
.item-5 { 
    grid-column: 3 / 4; 
    grid-row: 3 / 5; /* Il descend sur les rangées du bas */
    min-height: 300px; 
}

/* Bloc 4 : Se place sous le rectangle allongé, colonne 1 */
.item-4 { 
    grid-column: 1 / 2; 
    min-height: 220px; 
}

/* Bloc 6 : À côté du bloc 4, colonne 2 */
.item-6 { 
    grid-column: 2 / 3; 
    min-height: 220px; 
}

/* Bloc 7 : Devient le rectangle allongé du bas pour fermer la partie gauche */
.item-7 { 
    grid-column: 1 / 3; 
    min-height: 180px; 
}

/* Bloc 8 : Vient se caler tout en bas à droite sous le bloc orange */
.item-8 { 
    grid-column: 3 / 4;
    min-height: 180px;
}
/* RESPONSIVE MOBILE */

@media (max-width: 900px) {
    .projets_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .projet_item {
        grid-column: auto !important;
        grid-row: auto !important;
        min-height: 320px !important;
    }
    .projet_logo {
        position: relative;
        top: 0; left: 0;
        transform: none;
        margin: 40px auto 0 auto;
    }
}

.projets-cta a{
    color: var(--black);
    font-size: .7rem;
    font-weight: 400;
}
.projets-cta .arrow_svg{
    width: 25px;
    height: 25px;
}
.projets-cta .arrow_svg svg{
    fill: var(--black);
    stroke: transparent;
}
/*single projet*/
.projet-hero{
    height: auto;
    display: flex;
    width: 100%;
}
.hero-banner{
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
}
.hero-banner-overlay{
    width: stretch;
    height: stretch;
    position: absolute;
    top: 0px;
    left: 0px;
    background: radial-gradient(circle,rgba(255, 255, 255, 0) 1%, rgba(0, 0, 0, .9));
    opacity: 1;
    z-index: 3;
    pointer-events: none;
}
.hero-banner h1{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 4rem;
    color: var(--creme);
    position: relative;
    z-index: 5;
    margin: 0px;
}
.hero-banner h2{
    color: var(--creme);
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0px;
}
.hero-title-separator{
    width: 40px;
    height: 2px;
    background: var(--blaune);
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    content:'';
}
p.description-courte{
    color: var(--creme);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    max-width: 500px;
    font-size: .9rem;
    line-height: 1.5rem;
}
.hero-banner .projet-cta a{
    padding: 15px 20px;
    background: var(--blaune);
    color: var(--creme);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: .7rem;
    position: relative;
    z-index: 5;
    font-weight: 600;
    display: flex;
    width: fit-content;
    letter-spacing: 0.1rem;
    border-radius: 2.5px;
    align-items: center;
    gap: 10px;
}
.hero-banner .projet-cta a svg{
    width: 15px;
    height: auto;
    fill: var(--creme);
    margin-top: -2px;
    stroke:transparent;
}
.projet-body, .projet-testimony-section{
    padding-top: 80px;
    padding-bottom: 80px;
}
.projet-body-content{
    display: flex;
    flex-direction: row;
    gap: 90px;
}
.projet-infos, .projet-gallery{
    flex:1;
    width: 50%;
}
.projet-infos h2.sub-title{
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    text-transform: none;
    max-width: 400px;
}
.projet-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.projet-content-separator{
    width: 40px;
    opacity: .25;
    background: var(--black);
    height: 2px;
    content:'';
    display: block;
}
.projet-gallery{
    z-index: 8;
}
.gallery-item img{
    width: 100%;
    height: auto;
    display: flex;
    user-select: none;
}
.view-desktop{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.mockup_view_img{
    border-radius: 10px;
    overflow: hidden;
}
.desktop_view_img{
    border-radius: 3px;
    border:1px solid var(--black);
    max-width: 300px;
    height: fit-content;
    display: flex;
    flex-direction: column;
}
.desktop_view_img img{
    width: 100%;
    height: auto;
}
.mobile_view_img{
    border:1px solid var(--black);
    max-width: 150px;
    height: fit-content;
    border-radius: 10px;
    overflow: hidden;
}
.mobile_view_img img{
    width: 100%;
    height: auto;
}
.view-mobile{
    margin-left: -20px;
    margin-top: -60px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: end;
    height: 100px;
}
.view-mobile img{
    max-width: 100px;
    height: auto;
}
.view-mockups{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.projet-content p{
    max-width: 500px;
    margin: 0px;
    font-size: .9rem;
}
.projet-content ul{
    padding: 0px;
}
.projet-content li{
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    list-style: none;
    margin: 0px;
}
.realisation-objectifs h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--black);
    opacity: .5;
    text-transform: uppercase;
}
ul.objectifs-list{
    padding: 0px;
    display: flex;
    gap: 15px;
    flex-direction: column;
}
ul.objectifs-list li{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black);
    font-size: .9rem;
    list-style: none;

}
.projet_hero_wrapper{
    display: flex;
    flex-direction: row;
}
.projet_hero_infos_container, .projet_hero_mockup{
    flex: 1;
    position: relative;
    z-index: 8;
}
.projet_hero_infos_container{
    flex-direction: column;
    display: flex;
    gap: 10px;
}
.projet_hero_mockup{
    position: relative;
}
.projet_hero_mockup img.mockup-hero-img{
    max-width: 500px;
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
}
.projet_hero_mockup img.mockup-hero-img-shadow{
    filter:blur(20px) brightness(0);
    position: absolute;
    z-index: 1;
    max-width: 500px;
    transform: scale(.8) rotate(-3deg);
    top: 30px;
    left: 30px;
}
span.page-subtitle{
    color: var(--blaune);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
}
/* Style par défaut des vignettes */
.mockup_thumb_img {
    cursor: pointer;
    opacity: 0.4; /* Légèrement transparentes par défaut */
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.mockup_thumb_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre proprement les miniatures en carrés */
    display: block;
}

/* Style de la vignette active (sélectionnée) et au survol */
.mockup_thumb_img:hover,
.mySwiperThumbs .swiper-slide-thumb-active {
    opacity: 1; /* Devient opaque */
}
.swiper-button-next:after, .swiper-button-prev:after{
    color: var(--black);
    font-size: 1.25rem !important;
    
}
.swiper-button-next, .swiper-button-prev{
    background: var(--creme);
    padding: 1Opx;
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project_info_item .icon_wrapper{
    width: 20px;
}
.project_info_item .icon_wrapper svg{
    fill: var(--black);
    opacity: .5;
}
.project_info_item{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.project_infos_wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
}
.project_info_content h4{
    margin: 0px;
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    text-transform: uppercase;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: 0.05rem;
}
.project_info_content p{
    margin: 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black);
    font-size: .8rem;
    opacity: .8;
}
.project_info_content p a{
    color: var(--black);
}
.project_info_content{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gallery_apercu_projet{
    padding-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.mySwiper .swiper-wrapper {
    align-items: flex-start; /* Aligne les slides en haut, leur permettant d'avoir des hauteurs différentes */
}

/* 2. Permet au slider de s'adapter correctement */
.mySwiper {
    height: auto !important;
}

/* 3. Assure-toi que le slide prend la hauteur naturelle de l'image */
.mySwiper .swiper-slide.mockup_view_img {
    height: auto !important;
}

/*project navigation*/
.dot_grid{
    width: 35px;
    display: flex;
    opacity: .5;
    cursor: pointer;
    transform: scale(.6);
    transition: .5s;
}
.dot_grid:hover{
    opacity: 1;
    transition: .5s;
    transform: scale(.9);
}
.project-navigation{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.prev_post_wrapper, .next_post_wrapper{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}
.nav-box{
    flex: 1;
}
.nav-next{
    display: flex;
    justify-content: end;
}
.nav_arrow{
    width: 30px;
}
.nav_infos{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nav_infos .nav_title{
    color: var(--blaune);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05rem;
    font-weight: 600;
    font-size: .9rem;
}
.nav_infos .nav-title{
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .8rem;
}
.nav_img{
    width: 60px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}
.nav_img img{
    width: 100%;
    height: auto;
}
.project-navigation-section{
padding-top: 60px;
padding-bottom: 60px}
/*/project navigation*/

/*archive projet*/
.full_porfolio_archive{
    padding-top: 60px;
    padding-bottom: 60px;

}
.full_porfolio_archive .sub-title-caps{
    color: var(--black);
}
/*/archive projet*/

/*projet full portfolio*/
.full_porfolio_navigation{
    padding-bottom: 60px;
    padding-top: 60px;
    position: fixed;
    z-index: 25;
    top: 100%;
    width: 100%;
    background: #FFF;
    overflow-x: scroll;
    height: stretch;
    transition: .5s;
}
.full_porfolio_navigation.active{
    top: 0%;
    transition: .5s;
}
.arrow_close_portfolio_section{
    width: 30px;
    opacity: .5;
    margin: auto;
    transition: .5s;
    display: flex;
    transform: scale(.5);
    cursor: pointer;
}
.arrow_close_portfolio_section:hover{
    transition: .5s;
    opacity: 1;
    transform: scale(.8);
}
.arrow_close_portfolio_section svg{
    stroke: 0px;
    fill: var(--black);
}
.full_portfolio{
    margin-top: 60px;
}
/*/projet full portfolio */
/*/single projet*/



/*/Contact block*/
.contact-form-wrapper{
    display: flex;
    flex-direction: row;
}
.wpcf7{
    flex: 1;
    display: flex;
    align-items: end;
}
.contact_infos{
    display: flex;
    gap: 20px;
    flex-direction: column;
    flex:1;
}
.contact_infos h3.section-title{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 4rem;
    line-height: 4rem;
    margin: 0px;
    color: var(--black);
}
.contact_infos h3.section-title span{
    color: var(--blaune);
    display: inline-block;
    font-style: italic;
}
.contact_infos p{
    max-width: 450px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--black);
    opacity: .8;
    line-height: 1.5rem;
}
.contact_icons_wrapper{
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding-top: 40px;
    max-width: 75%;
}
.arrow_rdv{
    width: 30px;
    opacity: .2;
}
.contact_info_item{
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    padding-bottom: 20px;
}
.contact_icon{
    width: 25px;
    height: auto;
    display: flex;
}
.contact_icon svg{
    width: 100%;
    height: auto;
    opacity: .9;
    fill: var(--black);
}
.contact_info_container{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.contact_info_container h6{
    margin:0px;
    font-family: 'Monsterrat',sans-serif;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-size: .8rem;
}
.contact_info_container span{
    color: var(--black);
    opacity: .5;
    font-family: 'Monsterrat',sans-serif;
    font-size: .9rem;
}
/*CF7*/
.wpcf7-form{
    width: 100%;
}
.wpcf7-form-control-wrap{
    display: block;
    margin-top: 10px;
}
.wpcf7-form-control-wrap:after{
    transition: .25s;
    width: 0%;
    content:'';
    display: block;
    bottom: -2px;
    position: absolute;
    height: 2px;
    background: #000;
}
.wpcf7-form-control-wrap.active:after{
    animation: grow 0.25s ease-in;
    content:'';
    display: block;
    height: 2px;
    position: absolute;
    width: 100%;
    bottom: -2px;


}

@keyframes grow {
    from { width:0% }
    to { width: 100%; }
}
.wpcf7-form input, .wpcf7-form textarea{
    border-left:0px;
    border-right:0px;
    border-top: 0px;
    width: stretch;
    padding: 10px;
    border:none;
    border-radius: 2.5px;
}
.wpcf7-form input,.wpcf7-form textarea {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 5px;
    transition: .5s;
}
.wpcf7-form input:focus, 
.wpcf7-form textarea:focus {
    outline: none; /* Supprime le contour bleu par défaut */
    border:1px solid var(--black);
    transition: .5s;
}
.wpcf7-form input:after, 
.wpcf7-form textarea:after {
    position: absolute;
    bottom:0px;
    content:'';
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    opacity: 1;
}
.wpcf7-form label{
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    text-transform: uppercase;
    color:var(--black);
    letter-spacing: 0.05rem;
    font-weight: 600;
}
.wpcf7-form input[type="submit"]{
    padding: 1rem 2rem;
    color: #FFF;
    background: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 0rem;
    width: fit-content;
    margin-top: 10px;
    cursor: pointer;
}
/*/CF7*/

/*footer*/
#colophon{
    padding-top: 60px;
    background: var(--black);
}
#colophon .site-info p{
    margin: 0px;
    padding-bottom: 20px;
    color: var(--creme);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
}
/*/Footer*/



/*responsive*/
@media screen and (max-width: 800px){
    :root{
        --container-padding: 2rem;
    }
    .landing_wrapper{
        flex-direction: column-reverse;
        padding-bottom: 60px;
        gap: 0px;
    }
    #container-3d{
        max-height: 300px;
        min-height: 300px;
        margin-top: 120px;
    }
    .column{
        width: 100%;
    }
    .lpbn-landing-section{
        height: 100%;
    }
    h1.hero-title{
        font-size: 3rem;
        line-height: 3.2rem;
    }
    h1.hero-title span{
        display: block;
    }
    .lpbn-landing-section p{
        font-size: .85rem;
        line-height: 1.5rem;
    }
    .projets_wrapper, .contact-form-wrapper, .projet_hero_wrapper{
        flex-direction: column;
    }
    .projet-body-content{
        flex-direction: column-reverse;
        gap: 20px;
    }
    .contact-form-wrapper{
        gap: 30px;
    }
    .contact_icons_wrapper{
        width: 100%;
    }
    .projet-infos, .projet-gallery{
        width: 100%;
    }
    .projet_hero_mockup img.mockup-hero-img, .projet_hero_mockup img.mockup-hero-img-shadow{
        max-width:340px;
        float: right;
    }
    .projet_hero_mockup img.mockup-hero-img-shadow{
        right: 0px;
        left: auto;
    }
    .description-courte{
        padding-right: 5rem;
    }
    .projet_hero_infos_container{
        gap: 20px;
    }
    .desktop_view_img{
        max-width: calc(50% - 20px);
    }
    .mobile_view_img{
        max-width: calc(33% - 20px);
    }
    .projet_hero_wrapper{
        gap: 60px;
    }
    ul#desktop-menu{
        display: none;
    }
    .menu-btn{
        display: block;
    }
    .contact_infos h3.section-title{
        font-size:3rem;
        line-height: 3rem;
    }

}