/*
Theme Name: astra child
Theme URI: ltdentaldesign.fr
Description: Thème enfant de astra
Author: Ton lena
Author URI: ltdentaldesign.fr
Template: astra
Version: 1.0.0
*/

.lt-home{
font-family:'Montserrat', sans-serif;
color:#0f1720;
overflow-x:hidden;

width: 100%;
max-width: 1500px;

margin-left: auto;
margin-right: auto;

padding-left: 40px;
padding-right: 40px;

box-sizing: border-box;
}

/* ===================================================== */
/* ===== SYSTEME SPACING GLOBAL ========================= */
/* ===================================================== */

:root{
    --space-section: 140px;
}

/* ESPACE ENTRE LES SECTIONS */
.lt-home section{
    margin-top: var(--space-section);
}

/* PAS D'ESPACE SUR LA HERO */
.lt-home > section.hero{
    margin-top: 0;
}

/* ===== GLOBAL ===== */

/* ===== BOUTONS ===== */

.btn-main{
    background:linear-gradient(135deg,#009999,#00b3b3);

    color:white !important;

    padding:16px 32px;
    border-radius:40px;

    font-size:15px;
    font-weight:600;

    text-decoration:none;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 15px 40px rgba(0,153,153,0.25);

    transition:all .25s ease;
}

.btn-main *{
    color:white !important;
}

/* HOVER */
.btn-main:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 50px rgba(0,153,153,0.35);
}

/* ===== TAG SECTIONS (GLOBAL) ===== */

.section-tag{
display:inline-block;
padding:6px 14px;
border-radius:40px;
background:#00999915;
color:#009999;
font-size:12px;
letter-spacing:2px;
text-transform:uppercase;
margin-bottom:20px;
}

html {
    scroll-behavior: smooth;
}

/* SECTION 1 : HERO */

.hero{
text-align:left;
position:relative;

min-height: 100vh;


display:flex;
align-items:center;

padding:60px 0 140px 0;

z-index: 5;
}


.hero-glow{
background:none;
filter:none;
}

.hero-grid{
position:relative;
z-index:2;
display:grid;
grid-template-columns:1.1fr 0.9fr;
align-items:center;
gap:80px;
}

.hero-box{
max-width: 1800px;
margin-left: 0;
margin-right: auto;
padding: 0 40px;
transform:translate(-40px, -40px); /* deplacement du bloc sous-traitance... transform:translate(horizontalpx, verticalpx) */
}

.hero-tag{
display:inline-block;
padding:7px 16px;
border-radius:40px;
background:#00999912;
color:#009999;
font-size:11px;
letter-spacing:1.8px;
text-transform:uppercase;
margin-bottom:40px;
font-weight:600;
}

.hero h1{
font-size:52px;
line-height:1.25;
font-weight:400;
letter-spacing:-0.3px;
margin-bottom:30px;
max-width:640px;
}

.hero h1 span{
display:block;
color:#009999;
font-weight:400;
margin-top:6px;
}

.hero p{
font-size:18px;
line-height:1.6;
max-width:520px;
opacity:.75;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:16px;
}


/* ===== SECTION 4 : CAROUSEL ===== */

.design-section{
padding:120px 0 0px 0;
}

/* TEXTE DROITE */

.design-text{
position:relative;

transform: translateX(800px) translateY(-150px);  /* X : gauche/droite Y : monte/descend */
width:620px;              /* plus serré / plus large */

text-align:left;        /* soit : left, center, right */

z-index:1;
}

.design-text h2{
font-size:42px;
margin-bottom:20px;
}

.design-text p{
font-size:18px;
opacity:.8;
line-height:1.6;
max-width:900px;
margin-bottom:0px;
}

.design-label{
font-size:13px;
color:#6b7280;
letter-spacing:1px;
text-transform:uppercase;
margin-bottom:10px;
}

.design-title-small{
font-size:18px;
color:#6b7280;
margin-left:8px;
font-weight:400;
}

.carousel-wrapper{
position:relative;
width:100%;
max-width:900px; /* + large */
overflow:visible;
z-index:1;

/* décale vers la droite */
margin-left:80px;
margin-top:140px;
}

.carousel{
display:flex;
gap:80px;
transition:transform .5s ease;
width:max-content;
will-change: transform;
}

.design-card{
width:260px;
height:260px;
border:1px solid rgba(0,0,0,0.04);
border-radius:20px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
transition:all .4s ease;
opacity:.5;
transform:scale(.8);
box-shadow:none;
}

.design-card.active{
width:420px;
height:420px;
opacity:1;
transform:scale(1);
box-shadow:none;
}

.design-card model-viewer{
width:100%;
height:100%;
object-fit:contain;
background:linear-gradient(145deg,#f7f7f7,#efefef);
}

.design-card.active model-viewer{
background:linear-gradient(145deg,#ffffff,#f4f4f4);
}

.carousel-btn{
position:absolute;
top:210px;
transform:translateY(-50%);
background:white;
border:1px solid #e6ecef;
width:48px;
height:48px;
border-radius:50%;
cursor:pointer;
font-size:22px;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
z-index:10;
}

.carousel-btn.left{
left:-70px;
}

.carousel-btn.right{
right:210px;
}

/*filigrane pour les modeles du carousel */

.watermark{
    position:absolute;
    top:50%;
    left:50%;

    transform:translate(-50%, -50%);

    width:100%; /* taille du logo */

    opacity:0.13; /* ultra léger */

    pointer-events:none; 
    
    z-index:2;
}

/* ===================================================== */
/* ===== SECTION 6 : ECHANGE ============================ */
/* ===================================================== */


.contact-section{
    background:transparent;
    padding:150px 0 300px 0; 
    margin-bottom:260px;
}

/* ===== WRAPPER ===== */

.contact-wrapper{
    position:relative;
    max-width:900px;
    margin: 0 auto;
    min-height:520px;
    padding-top:120px;
}

/* ===== TAG ===== */

.contact-tag{
    position:absolute;
    top:0;
    left:0;
    z-index:3;
}

/* ===== TITRE ===== */

.contact-title{
    position:absolute;
    top:40px;
    left:0;

    font-size:28px;
    margin:0;

    z-index:3;
}

/* ===== BASE CARDS ===== */

.contact-card{
    position:absolute;
    width:900px;  /* largeur */
    height:700px; /* hauteur */

    border-radius:20px;
    padding:50px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    transition:all .4s cubic-bezier(0.2, 0.6, 0.2, 1);
    cursor:pointer;
}


/* ===== CARD ARRIÈRE ===== */

.contact-card-back{
    position:absolute;
    background:white;
    border:1px solid #e6ecef;

    transform:translate(80px, 80px);
    z-index:1;

    opacity:0.95;

    box-shadow:0 10px 25px rgba(0,0,0,0.04);
}

/* ===== CARD AVANT ===== */

.contact-card-front,
.contact-card-back{
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border:1px solid rgba(255,255,255,0.3);

    border-radius:24px;

    box-shadow:0 40px 100px rgba(0,0,0,0.15);
}

.contact-card-front{
    z-index:2;
}

.contact-card-back{
    transform:translate(80px, 80px);
    z-index:1;
    opacity:0.9;
}


/* ===================================================== */
/* ===== CONTENU CARD ARRIÈRE =========================== */
/* ===================================================== */

/* ===== FAQ CARD ===== */

.faq-title{
    position:absolute;
    top:50px;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    width:100%;
    z-index:2;
}

.faq-content{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;

    padding-top:20px;
    padding-right:10px;
    position:relative;

    overflow-y:auto;
}

/* TITRE */

.faq-title{
    font-size:22px;
    margin-bottom:25px;
    font-weight:500;
}

/* ITEM */

.faq-item{
    margin-bottom:22px;
}

/* QUESTION */

.faq-item h4{
    font-size:15px;
    font-weight:600;
    margin-bottom:6px;
}

/* RÉPONSE */

.faq-item p{
    font-size:14px;
    opacity:.8;
    line-height:1.5;
}

/* ===== QUESTION (CLIC) ===== */

.faq-question{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}

/* FLÈCHE */

.faq-arrow{
    font-size:18px;
    color:#009999;
    transition:transform .3s ease;
}

/* CTA FAQ (bas droite card arrière) */

.faq-cta{
    position:absolute;
    bottom:25px;
    right:30px;

    font-size:13px;
    color:#009999;
    font-weight:500;

    cursor:pointer;

    opacity:0.8;
    transition:all .2s ease;

        background:rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    padding:6px 10px;
    border-radius:8px;
}

/* RÉPONSE (CACHÉE PAR DÉFAUT) */

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
}

/* ESPACE TEXTE */

.faq-answer p{
    margin-top:10px;
}

/* ACTIVE */

.faq-item.active .faq-answer{
    max-height:300px;
}

.faq-item.active .faq-arrow{
    transform:rotate(45deg);
}

/* ===================================================== */
/* ===== FORMULAIRE ===================================== */
/* ===================================================== */

.contact-form{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* TITRE FORM */

.form-title{
    font-size:22px;
    margin-bottom:25px;
    font-weight:500;
}

/* STRUCTURE FORM */

.contact-form form{
    width:100%;
    display:flex;
    flex-direction:column;
}

/* INPUTS */

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px;

    border-radius:10px;
    border:1px solid #e6ecef;

    margin-bottom:22px;
    font-family:inherit;
    font-size:14px;

    transition:all .2s ease;
}

/* FOCUS */

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#009999;
    box-shadow:0 0 0 2px #00999920;
}

/* TEXTAREA */

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

/* BOUTON */

.contact-form button{
    background:#009999;
    color:white;

    border:none;
    padding:14px 26px;
    border-radius:30px;

    cursor:pointer;
    font-weight:600;

    margin-top:10px;

    transition:all .2s ease;

    width:fit-content;
    align-self:flex-start;
}

.contact-form button:hover{
    background:#008080;
}

/* MESSAGE BAS */

.form-note{
    font-size:14px;
    opacity:.7;
    margin-top:15px;
    line-height:1.5;
}

.contact-hint{
    font-size:13px;
    color:#009999;
    margin-bottom:15px;
    cursor:pointer;
    opacity:0.8;
    transition:all .2s ease;
}

.contact-hint:hover{
    opacity:1;
    transform:translateX(3px);
}

/* état par défaut (form devant) */
.contact-wrapper.active .contact-card-front{
    transform:translate(-20px, -20px);
}

.contact-wrapper.active .contact-card-back{
    transform:translate(100px, 100px);
    opacity:1;
}

/* INSTAGRAM */

.instagram-section{
padding:80px 0;
text-align:center;
opacity:.7;
}

.instagram-section a{
text-decoration:none;
color:#009999;
font-weight:600;
}
.remote-section{
padding:140px 0;
text-align:center;
}

.remote-box{
max-width:1000px;
margin:auto;
padding:0 40px;
}

.remote-box h2{
font-size:40px;
margin-bottom:20px;
}

.remote-box p{
font-size:18px;
opacity:.8;
max-width:700px;
margin:auto;
margin-bottom:40px;
}

.globe-viewer{
width:340px;
height:340px;
margin:auto;
border-radius:50%;
overflow:hidden;
border:1px solid #e6ecef;
}

/*SECTION 4 : WORKFLOW FLUX*/

.workflow-section{
padding:120px 0;
background:transparent;
}

.workflow-container{
margin:auto;
max-width: 1800px;
margin-left: auto;
margin-right: auto;
padding:0 60px;
text-align:center;
}

.workflow-container h2{
font-size:40px;
margin-bottom:120px;
}

.workflow-steps{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
position:relative;
}

/* FLÈCHE ENTRE CHAQUE STEP */
.workflow-step::after{
content:"→";
position:absolute;
top:40px;
right:-30px;

font-size:28px;
color:#009999;

opacity:0;
transition:opacity .3s ease;
}

.workflow-step.arrow::after{
opacity:0.6;
}

.workflow-step.active::after{
opacity:0.6;
}

.workflow-step:nth-of-type(1).active::after{
transition-delay:0.4s;
}

.workflow-step:nth-of-type(2).active::after{
transition-delay:0.8s;
}

.workflow-step:nth-of-type(3).active::after{
transition-delay:1.2s;
}

.workflow-step:nth-of-type(4).active::after{
transition-delay:1.6s;
}

.workflow-step:last-child::after{
content:none;
}

.workflow-step{
position:relative;
z-index:2;
}

.workflow-icon{
width:80px;
height:80px;
margin:auto;
margin-bottom:20px;
background:white;
border:1px solid #e6ecef;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
}

.workflow-icon{
position:relative;
}

.workflow-icon::before{
content:"";
position:absolute;
inset:-12px;
border-radius:50%;

background:radial-gradient(circle, #00999940, transparent 70%);

opacity:0;
transform:scale(0.8);

transition:all .4s ease;

z-index:-1;
}

.workflow-icon img{
width:36px;
}

.workflow-step h3{
font-size:18px;
margin-bottom:10px;
}

.workflow-step p{
font-size:15px;
opacity:.8;
}

.workflow-step.show .workflow-icon{
border-color:#009999;
box-shadow:0 0 0 4px #00999915;
}

/* ===== SECTION 5 : DECOUVERTE ====== */

.cta-section{
    margin-top: 0px !important;
    padding:140px 0;
    background:transparent;
}

/* CONTAINER FULL WIDTH */
.cta-container{
    max-width:100%;
    margin:auto;
    padding:0px;
}

/* TAG CENTRÉ UNIQUEMENT */
.cta-container .section-tag{
    display:block;
    width:fit-content;
    margin:0 auto 20px auto;
}

/* ===== GRID 2 COLONNES ÉGALES ===== */

.cta-layout{
    display:grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap:100px;
    align-items:stretch;

    max-width:1300px;
    margin:50px auto 0 auto;

    justify-content:center;
}

/* ===== CARDS ===== */

.cta-card{
    width:100%;
    background:transparent;  
    border:none;        
    border-radius:0;        
    padding:50px;
    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* ===== CARD GAUCHE ===== */

.cta-left{
    display:flex;
}

.cta-card-left{
    align-items:center;      /* centre horizontal */
    justify-content:center;  /* centre vertical */
}

/* ===== CARD DROITE ===== */

.cta-right{
    display:flex;
}

.cta-card-right{
    position: relative;

    color:#0f1720;

    background: transparent;
    border-radius:30px;
    padding:50px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    overflow:visible; /* IMPORTANT */
    margin-left:100px;
}

.cta-card-right::marker{
    display:none;
}
.cta-card-right .box{
    position: relative;
    width:100%;
    height:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    transition:0.5s;

    transform:translateY(0);
}


.cta-card-right .box::before{
    content:"";
    position:absolute;

    top:0;
    left:20%;

    width:60%;
    height:100%;

    background: linear-gradient(135deg,#009999,#00b3b3);

    border-radius:20px;
    transform:skewX(15deg);

    transition:0.5s;
}

.cta-card-right .box::after{
    content:"";
    position:absolute;

    top:0;
    left:20%;

    width:60%;
    height:100%;

    background: linear-gradient(135deg,#009999,#00b3b3);

    border-radius:20px;
    transform:skewX(15deg);

    filter:blur(40px);
    opacity:0.5;

    transition:0.5s;
}

.cta-card-right .box:hover::before,
.cta-card-right .box:hover::after{
    transform:skewX(0deg) scaleX(1.2);
}

.cta-card-right .content{
    position:relative;

    width:100%;
    max-width:none;

    padding:40px;

    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,0.4);

    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,0.1);

    z-index:2;
}

/* TITRE + TEXTE */
.cta-card-right h2{
    font-size:32px;
    line-height:1.3;
    font-weight:500;
    letter-spacing:-0.2px;

    text-align:center;
    width:100%;

    margin-bottom:16px;
}

.cta-card-right p{
    font-size:15.5px;
    line-height:1.7;

    opacity:.72;

    max-width:520px;
    margin:0 auto;
}

/*SVG dent section decouverte sous le bouton*/

/* WRAPPER BOUTON + SVG */
.cta-btn-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

/* SVG positionné sans impacter le layout */
.laser-svg {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translate(-50%, -450px) scale(3.3); /*  ajustement hauteur - taille... */
    transform-origin: top center;

    width: 400px;

    pointer-events: none;
    z-index: 1;

    opacity: 0.85;
}

/* SVG responsive */
.laser-svg svg {
    width: 100%;
    height: auto;
}

/* STYLE LASER */
.laser-svg path {
    stroke: #009999;
    stroke-width: 1.4;

    fill: #009999;
    fill-opacity: 0;

    stroke-linecap: round;
    stroke-linejoin: round;

    filter: drop-shadow(0 0 4px rgba(0,153,153,0.25));

    will-change: stroke-dashoffset, fill-opacity;
}

.cta-card-left .btn-main {
    background: linear-gradient(
        135deg,
        rgba(0,153,153,0.75),
        rgba(0,179,179,0.75)
    );
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 3;
}

.nc-schema-msg {
    font-size: 12px;
    color: #009999;
    font-style: italic;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(0,153,153,0.06);
    border-left: 3px solid #009999;
    border-radius: 0 6px 6px 0;
}

/* POPUP */

.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background: rgba(15, 23, 32, 0.65);
backdrop-filter: blur(6px);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.popup-content{
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border:1px solid rgba(255,255,255,0.3);

    padding:40px;
    border-radius:24px;

    width:95%;
    max-width:1100px; /* plus large */

    max-height:90vh; /* limite la hauteur */
    overflow-y:auto; /* scroll si trop long */

    box-shadow:0 40px 100px rgba(0,0,0,0.15);

    position:relative;
    animation:fadeIn .4s ease;
}

.popup-content::-webkit-scrollbar{
    width:6px;
}

.popup-content::-webkit-scrollbar-thumb{
    background:rgba(0,153,153,0.4);
    border-radius:10px;
}

.popup-close{
    position:absolute;
    top:20px;
    right:25px;

    font-size:22px;
    color:#0f1720;

    cursor:pointer;

    background:none;
    border:none;
    padding:0;

    opacity:0.6;
}

.popup-close:hover{
    opacity:1;
}

.popup-overlay.active{
display:flex;
}

.popup-content input,
.popup-content textarea{

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);

    border:1px solid rgba(0,0,0,0.05);

    padding:16px 18px;
    border-radius:12px;

    margin-bottom:15px;

    font-size:14px;

    transition:all .25s ease;
}

.popup-content input::placeholder,
.popup-content textarea::placeholder{
    color:#6b7280;
    opacity:0.7;
}

.popup-content input:focus,
.popup-content textarea:focus{
    outline:none;
    border-color:#009999;
    background: rgba(255,255,255,0.9);

    box-shadow:0 0 0 3px rgba(0,153,153,0.15);
}

.popup-content .form-title{
    font-size:26px;
    margin-bottom:15px;
    font-weight:500;
}

.popup-content .form-note{
    font-size:13px;
    opacity:0.6;
    text-align:center;
}

.popup-content .form-file-info{
    font-size:12px;
    opacity:0.5;
}

input[type="file"]{
    display:none;
}

.form-intro{
    font-size:14px;
    line-height:1.6;

    color:#0f1720;
    opacity:0.65;

    margin-bottom:20px;
    text-align:center;

    max-width:520px;
    margin-left:auto;
    margin-right:auto;
}

/*menu selecteur du choix de design*/

.popup-content select{
    width:100%;

    padding:0 16px;
    height:48px; /* hauteur fixe propre */

    border-radius:12px;
    border:1px solid rgba(0,0,0,0.05);

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);

    font-size:14px;
    font-family:inherit;

    color:#6b7280;

    margin-bottom:20px;

    transition:all .25s ease;

    appearance:auto;

    line-height:1.4; /* corrige le centrage */
    display:block;
}

.popup-content select:valid{
    color:#0f1720; /* couleur normale après choix */
}

.popup-content select:focus{
    outline:none;
    border-color:#009999;

    background: rgba(255,255,255,0.9);

    box-shadow:0 0 0 3px rgba(0,153,153,0.15);
}

.form-hint{
    font-size:12px;
    color:#6b7280;
    opacity:0.6;

    margin-top:-10px;
    margin-bottom:20px;

    line-height:1.4;
}

.file-upload-label{
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;

    padding:12px 18px; 
    border-radius:14px;

    border:1px dashed #00999960;

    background: rgba(0,153,153,0.05);

    cursor:pointer;

    font-size:14px;
    color:#009999;

    transition:all .25s ease;
}

.file-upload-label:hover{
    background: rgba(0,153,153,0.1);
    border-color:#009999;
}

.file-item{
    display:flex;
    align-items:center;
    justify-content:space-between;

    font-size:13px;

    background:rgba(0,0,0,0.04);
    padding:10px 14px;
    border-radius:10px;

    width:100%;

    transition:.2s;
}

.file-item span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:80%;
}

.file-item:hover{
    background:rgba(0,0,0,0.06);
}

/* bouton section decouverte */

.popup-content button{

    margin-top:30px;

    background:linear-gradient(135deg,#009999,#00b3b3);

    padding:16px 32px;
    border-radius:40px;

    font-size:15px;
    font-weight:600;

    box-shadow:0 15px 40px rgba(0,153,153,0.25);

    transition:all .25s ease;
}

.popup-content form{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.popup-content button:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 50px rgba(0,153,153,0.35);
}

/*SECTION 3 : COLLABORATION */

.workflow-step{
opacity:0;
transform:translateY(40px);
transition:all .6s ease;
}

.benefits-section{
padding:180px 0 120px 0;
margin-bottom:40px;
background: transparent;
}

.benefits-container{
max-width:1800px;
margin:auto;
padding:0 60px;

display:grid;
grid-template-columns: 0.9fr 1.1fr;
gap:80px;
align-items:start;
text-align:left;
}

.benefits-text{
    transform: translateY(-40px);
    max-width: 520px;
}

.highlight{
color:#009999;
}

.benefits-container h2{
font-size:40px;
margin-bottom:20px;
}

.benefits-grid{
display:grid;
grid-template-columns:repeat(2,1.2fr);
gap:30px;
}

.benefit-card{
background:white;
border:1px solid #e6ecef;
border-radius:18px;
padding:40px;
text-align:left;
transition:.3s;
}

.benefit-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,0.06);
}

.benefit-card h3{
font-size:20px;
margin-bottom:10px;
}

.benefit-card p{
opacity:.8;
line-height:1.6;
}

.hero-points{
margin-bottom:26px;
font-size:14px;
opacity:.75;
}

.hero-points div{
margin-bottom:6px;
}

.software-section{
padding:120px 0;
background:transparent;
text-align:center;
}

.software-container{
margin:auto;
max-width: 1800px;
margin-left: auto;
margin-right: auto;
padding:0 40px;
}

.software-container h2{
font-size:40px;
margin-bottom:20px;
}

.software-container p{
opacity:.8;
max-width:700px;
margin:auto;
margin-bottom:50px;
}

.software-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:30px;
align-items:center;
}

.software-item{
background:white;
border:1px solid #e6ecef;
padding:20px;
border-radius:14px;
font-weight:600;
letter-spacing:1px;
transition:.3s;
}

.software-item:hover{
transform:translateY(-4px);
box-shadow:0 15px 30px rgba(0,0,0,0.05);
}

.design-header{
margin:auto;
padding:0 60px;
margin-bottom:60px;
}

.design-header h2{
font-size:40px;
}

.vision-section{
padding:120px 0;
background:white;
}

.vision-container{
max-width:1800px;
margin:120px auto;
padding:0 40px;
text-align:center;
}

.vision-container h2{
font-size:40px;
margin-bottom:40px;
}

.vision-container p{
font-size:18px;
opacity:.8;
line-height:1.7;
margin-bottom:20px;
}

/* enlève l’espace inutile sur le dernier */
.vision-container p:last-child{
margin-bottom:0;
}

.section-divider{
width:100%;
height:1px;
background:linear-gradient(90deg,transparent,#00999930,transparent);
margin:80px 0;
}

.map-line{
position:absolute;
height:1px;
background:#009999;
opacity:.4;
animation:linePulse 3s infinite;
}

@keyframes linePulse{
0%{opacity:.1}
50%{opacity:.5}
100%{opacity:.1}
}
.platform-section{
padding:100px 0;
}

.platform-grid{
margin:auto;
max-width: 1800px;
margin-left: auto;
margin-right: auto;
padding:0 60px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.platform-card{
background:white;
border:1px solid #e6ecef;
border-radius:18px;
padding:40px;
transition:.3s;
}

.platform-card:hover{
transform:translateY(-6px);
box-shadow:0 25px 50px rgba(0,0,0,0.08);
}

.platform-card h3{
font-size:22px;
margin-bottom:12px;
}

.platform-card p{
opacity:.8;
line-height:1.6;
}

.network-benefits{
margin:auto;
padding:90px 60px;
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
align-items:center;
}

/* ===== LT DENTAL DESIGN STYLE ===== */

.lt-brand{
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* SVG globe */
.collab-globe{
    display:block;
    margin:20px auto 0 auto;

    width: 700px;

    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    transition: opacity 0.4s ease;
}

/* BASE pour toutes les cards */
.benefit-card{
    position: relative;
    overflow: hidden;
    /*test*/
    transition: all 0.5s ease;
}

/*test*/ 
/* état actif (comme hover) */
.benefit-card.active{
    transform: translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.06);
}

/* effet sur le fond SVG */
.benefit-card.active::before{
    opacity:0.15;
}

/* pseudo élément pour le fond */
.benefit-card::before{
    content:"";
    position:absolute;
    inset:0;

    background-repeat:no-repeat;
    background-position:center;
    background-size: 70%;

    opacity:0.10; /* très subtil */

    z-index:0;
}

/* contenu au-dessus */
.benefit-card *{
    position:relative;
    z-index:1;
}

/* ===== IMAGES PAR CARD ===== */

/* 1 - Gain de temps */
.benefit-card:nth-child(1)::before{
    background-image:url('/wp-content/themes/astra-child/assets/gaindetemps-section-collaboration.svg');
}

/* 2 - Expertise */
.benefit-card:nth-child(2)::before{
    background-image:url('/wp-content/themes/astra-child/assets/expertise-section-collaboration.svg');
}

/* 3 - Communication */
.benefit-card:nth-child(3)::before{
    background-image:url('/wp-content/themes/astra-child/assets/communication-section-collaboration.svg');
}

/* 4 - Fluidité */
.benefit-card:nth-child(4)::before{
    background-image:url('/wp-content/themes/astra-child/assets/fluidite-section-collaboration.svg');
}


/* viewer HERO sans fond ni cadre */

.hero-viewer{
background:transparent;
border:none;
box-shadow:none;
padding:0;
}

.hero-viewer model-viewer{
background:transparent;
}

#tech-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
}

body {
background: transparent;
}

.site,
.ast-container,
.ast-main-header-bar {
background: transparent !important;
}

/* FORCE FULL WIDTH PARTOUT */

html, body {
width: 100%;
overflow-x: hidden;
}

/* Astra full width propre */
.ast-container {
max-width: 100% !important;
}

/* enlever espace sur le premier bloc */
.lt-home > section.hero {
    margin-top: 0;
}

/* ===== FOOTER ===== */

.custom-footer {
    position: relative;
    padding: 12px 40px 8px;
    background: linear-gradient(90deg, #009999, #a8dede);
    overflow: hidden;
}

/* STRUCTURE */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.footer-left {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-center {
    text-align: center;
    font-size: 16px;
    color: #5f6f6f;
    opacity: 0.9;
}

.footer-right {
    width: 60px;
    height: 60px;
}

/* TEXTE */
.footer-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #5f6f6f;
    transform: translateY(17px);
}

.footer-copy {
    color: #5f6f6f;
}

.footer-brand {
    color: #009999;
}

/* ICONES */
.social-icons a {
    font-size: 25px;
    margin-right: 15px;
    color: #5f6f6f;
    position: relative;
    top: 40px;
}

/* BAS */
.footer-bottom {
    margin-top: 5px;
    text-align: center;
    font-size: 14px;
    color: #000000;
}

/*Mentions légales • Politique de confidentialité • CGV • Cookies */
.footer-bottom a {
    color: #2e2e2e;
}

/*survol Mentions légales • Politique de confidentialité • CGV • Cookies */
.footer-bottom a:hover {
    color: #5f6f6f;
}

/*signature Conception et développement — LT Dental Design */
.footer-signature {
    font-family: 'Benedict';
    font-size: 24px;
    color: #2e2e2e;
}
@font-face {
    font-family: 'Benedict';
    src: url('assets/fonts/benedict-regular.otf') format('opentype');
}

/*espace autour du separateur mentions, politique et signature*/
.separator {
    margin: 0 20px;
}

/* ===== DESIGN ===== */

/* cercle gauche */
.custom-footer::before {
    content: "";
    position: absolute;
    left: -100px;
    top: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
    border-radius: 50%;
}

/* logo droite */
.footer-right::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -110px;
    width: 370px;
    height: 370px;
    background: url('assets/logo-footer.png') no-repeat center;
    background-size: contain;
    opacity: 0.35;
}

.custom-footer {
    display: block;
    width: 100%;
    clear: both;
}

.lt-home .site,
.lt-home #page {
    display: block !important;
}

/* ===== PAGE LÉGALE ===== */

.legal-page {
    width: 100%;
    max-width: 1800px;
    margin: 140px auto 100px;
    padding: 0 40px;
}

/* TITRE PRINCIPAL */
.legal-page h1 {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 40px;

    background: #00999915;
    color: #009999;

    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;

    font-weight: 500;

    margin-bottom: 5px;
}

/* SECTIONS */
.legal-page h2 {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 15px;
    color: #009999;
    font-weight: 500;

    border-top: 1px solid #e6ecef;
    padding-top: 25px;

    scroll-margin-top: 120px;
}

/*  INLINE TITRES */
.legal-page strong {
    display: inline !important;
    font-weight: 400;
    color: #0f1720;
}

/*  INLINE TEXTE */
.legal-page p {
    display: inline;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
}

/*  enlever tout espace parasite */
.legal-page br {
    display: none;
}

/* LIENS */
.legal-page a {
    color: #009999;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {

    .legal-page {
        padding: 0 24px;
        margin: 100px auto 80px;
    }

    .legal-page h1 {
        font-size: 32px;
    }

    .legal-page h2 {
        font-size: 20px;
    }

    .legal-page p {
        font-size: 14px;
    }
}

/* ===== HEADER ===== */

.custom-header {
    position: relative;
    width: 100%;
    background: transparent !important;
}

/* CONTAINER */
.header-container {
    position: relative;
    max-width: 1800px;
    margin: auto;
    /*padding: 30px 40px;*/
    padding: 0px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent !important;
}

/* LOGO */
.header-logo img {
    height: 160px;

    position: relative;
    z-index: 3;

    /*filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));*/
    filter: 
        contrast(1.15)
        saturate(0.95)
        brightness(0.95)
        drop-shadow(0 6px 14px rgba(0,0,0,0.45));
}

.header-logo {
    position: relative;
    left: 70px;
    top: 8px;
    z-index: 3;

    transform: translate(-20px, 0px);
}

.header-logo::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 260px;
    height: 200px;

    background: radial-gradient(
    circle,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.9) 30%,
    rgba(255,255,255,0.6) 55%,
    transparent 85%
);

    border-radius: 50%;

    filter: blur(25px);

    z-index: -1;
}

/* MENU FIXE */
.header-menu {
    position: fixed;
    top: 20px;
    right: 180px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 0 30px;
    height: 56px;

    border-radius: 40px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);

    z-index: 2;

    transform: translateY(40px);
}

.header-menu a {
    height: 32px;
    padding: 0 24px;
    border-radius: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0f1720;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Exo 2', sans-serif;
    text-decoration: none;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-menu a:hover {
    background: rgba(0, 153, 153, 0.12);
    color: #009999;
    transform: scale(1);
}

.header-menu a::before {
    display: none;
}


/* SVG menu EN FOND INDÉPENDANT */
.custom-header::before {
    content: "";
    position: fixed;

    top: -200px;
    left: 50%;

    width: 100vw;
    height: 500px;

    transition: top 0.6s cubic-bezier(0.22, 1, 0.36, 1);
   /* transform: translateX(-50%) translateY(var(--svg-offset, 0px)); */
   transform: translateX(-50%) scale(1) translateY(var(--svg-offset, 0px));

    background: url('/wp-content/themes/astra-child/assets/fond-menu.svg') no-repeat top center;
    background-size: cover;

    opacity: 0.5;

    z-index: 0;
    pointer-events: none;

    will-change: transform;
}

.custom-header.scrolled::before {
    top: -260px; /* plus haut quand tu scroll */
}

.lt-home section{
position: relative;
z-index: 2;
}


/* ICONE */
.account-icon i {
    font-size: 22px;
}

/* CONTENEUR */
.account-icon {
    position: relative;
    display: inline-block;
}

/* TEXTE */
.account-icon::after {
    content: "Espace client";
    position: absolute;

    bottom: -40px; /* distance sous l’icône */
    left: 50%;
    transform: translateX(-50%);

    font-size: 11px;
    color: #009999;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);

    padding: 4px 8px;
    border-radius: 6px;

    white-space: nowrap;

    opacity: 0;
    transition: opacity 0.2s ease;

    pointer-events: none;
}

/* HOVER */
.account-icon:hover::after {
    opacity: 1;
}

/* FIX ASTRA HEADER BACKGROUND */
.ast-primary-header-bar,
.main-header-bar,
.ast-header-break-point {
    background: transparent !important;
    box-shadow: none !important;
}

.lt-home,
.site {
    position: relative;
    z-index: 1;
}

/*message ok du formulaire contact */

.form-success {
    margin-top:16px;
    padding:10px 14px;
    margin: 40px auto 0 auto;
    max-width: 1100px;
    border:1px solid #00b89425;

    border-radius:8px;
    font-size:13px;
    color:#00997a;
    background:rgba(0, 184, 148, 0.03);
    text-align:center;
    transition: opacity 0.4s ease;
}
.form-file-info {
    font-size:12px;
    margin-top:6px;
    text-align:center;

    color:#e74c3c; 
    font-weight:500;
    letter-spacing:0.2px;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*en cas de fichier trop volumineux message*/
.file-error {
    color:#e74c3c;
    font-size:12px;
    margin-top:6px;
    text-align:center;
    opacity:0;
    transition:opacity 0.3s ease;
}

.file-list {
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:6px;
    align-items:flex-start;
    width:100%;

    max-height:160px;
    overflow-y:auto;

    padding-right:6px;
}

/* SCROLLBAR STYLE */
.file-list::-webkit-scrollbar{
    width:6px;
}

.file-list::-webkit-scrollbar-track{
    background:transparent;
}

.file-list::-webkit-scrollbar-thumb{
    background:rgba(0,153,153,0.4);
    border-radius:10px;
}

.file-list::-webkit-scrollbar-thumb:hover{
    background:#009999;
}

.file-remove {
    cursor:pointer;
    color:#999;
    font-size:14px;
    transition:0.2s;
}

.file-remove:hover {
    color:#e74c3c;
}

/* ===== Section 2 : APPROCHE  ===== */

.approach-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width:100%;
  max-width:1500px;
  margin:60px auto;

  border-radius: 24px;
  transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.approach-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  gap: 24px;
  padding: 50px;

  border-radius: 24px;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,0.4);

  color: #0f1720;

  z-index: 1;
  transition: all 0.8s ease;
}

/* BACKGROUND ANIM */
.approach-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  background: linear-gradient(
  135deg,
  rgba(0, 120, 120, 0.65),
  rgba(0, 153, 153, 0.6),
  rgba(0, 190, 190, 0.55)
);

  border-radius: inherit;
  height: 100%;
  width: 100%;

  opacity: 0;
  transform: skew(-24deg);
  clip-path: circle(0% at 50% 50%);

  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.approach-card::after {
  content: "";
  position: absolute;
  inset: -10px;

  background: linear-gradient(
    135deg,
    #009999,
    #00b3b3
  );

  filter: blur(25px); /* moins flou = moins étalé */
  opacity: 0; /* invisible au repos */

  z-index: 0;
  transition: opacity 0.4s ease;
}

.approach-card:hover::after {
  opacity: 0.25; /* TRÈS discret */
}

/* TITRE */
.approach-content .heading {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
}

/* TEXTE */
.approach-content .para {
  opacity: 0.8;
  font-size: 16px;
  line-height:1.7;
}

.approach-content .para-sm {
  font-size: 14px;
}

/* HOVER */
.approach-card:hover::before {
  opacity: 1;
  transform: skew(0deg);
  clip-path: circle(140% at 0 0);
}

.approach-card:hover .approach-content {
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* même effet que hover MAIS au scroll */
.approach-card.animate::before {
  opacity: 1;
  transform: skew(0deg);
  clip-path: circle(140% at 0 0);
}

.approach-card.animate .approach-content {
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.08);
}



/* PAGE DE CONNEXION */

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  background: radial-gradient(circle at 30% 30%, #00999910, transparent 60%);
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
}

.login-container {
  background-color: #ecfafa;
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
}

.login-container h2 {
  text-align: center;
  color: #009999;
  font-size: 30px;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 15px 44px 15px 16px;
  font-size: 16px;

  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;

  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;

  transition: all 0.3s ease;
}

.form-group input:hover {
  border-color: #bbb;
  background-color: #f0f0f0;
}

.eye-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;

  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.error-message {
  color: red;
  font-size: 13px;
  margin-top: 6px;
}

.checkbox-remember {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
}

.checkbox-remember input {
  margin-right: 8px;
}

.forgot-link {
  text-align: right;
  margin-bottom: 28px;
}

.forgot-link a {
  color: #009999;
  text-decoration: none;
  font-size: 14px;
}

.forgot-link a:hover {
  text-decoration: underline;
}

.login-container button {
  background-color: #009999;
  color: white;
  border: none;

  width: 100%;
  padding: 15px;

  font-size: 17px;
  border-radius: 10px;

  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container button:hover {
  background-color: #007f7f;
}

.register-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.register-link a {
  color: #009999;
  text-decoration: none;
  font-weight: 500;
}

.register-link a:hover {
  text-decoration: underline;
}

/* PAGE D'INSCRIPTION */
.auth-card {
  background-color: #ecfafa;
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.auth-card h2 {
  text-align: center;
  color: #009999;
  font-size: 30px;
  margin-bottom: 40px;
}

.auth-card input {
  width: 100%;
  padding: 15px 44px 15px 16px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.auth-card input:hover {
  border-color: #bbb;
  background-color: #f0f0f0;
}

input:hover {
  border-color: #bbb;
  background-color: #f0f0f0;
}

.auth-card button {
  background-color: #009999;
  color: white;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 17px;
  border-radius: 10px;
}

button:hover {
  background-color: #007f7f;
}

.mc-toggle-btn:hover,
.mc-voir-plus-btn:hover {
    background-color: transparent !important;
}

.register-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.register-link a {
  color: #009999;
  text-decoration: none;
  font-weight: 500;
}

.register-link a:hover {
  text-decoration: underline;
}

.form__message {
  background: #fff0f0;
  color: #b30000;
  border: 1px solid #f5c2c2;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  list-style: none;
}

.form__message ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.form__message li {
  margin-bottom: 6px;
}

/* enlever le header a la page d'inscription */

.page-template-page-register header,
.page-template-page-register .ast-header-break-point {
    display: none !important;
}

.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  background: radial-gradient(circle at 30% 30%, #00999910, transparent 60%);
  padding: 20px;
}

.field {
  margin-bottom: 24px;
  position: relative;
}

.field input {
  width: 100%;
  padding: 15px 44px 15px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  font-size: 16px;
  outline: none;
}

.register-section {
    margin-bottom: 40px;
}

.register-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #009999;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6ecef;
}

.register-footer {
    text-align: center;
    margin-top: 10px;
}

.auth-link {
    margin-top: 16px;
    font-size: 14px;
}

.auth-link a {
    color: #009999;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ===================================================== */
/* ===== ESPACE CLIENT ================================== */
/* ===================================================== */

.client-connecte-section {
    padding: 100px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.client-connecte-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.welcome-client {
    font-size: 2.4rem;
    font-weight: 500;
    color: #009999;
    margin-bottom: 110px;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeSoft 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.3s;
    text-align: left;
    font-family: 'Exo 2', sans-serif;
}

.client-connecte-titre {
    font-size: 2rem;
    margin-bottom: 85px;
    font-weight: 400;
}

.client-connecte-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 120px;
    padding-top: 40px;
}

.client-connecte-card {
    flex: 1 1 220px;
    max-width: 280px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
    opacity: 0;
    animation: fadeCardSoft 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-connecte-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 153, 153, 0.08);
}

.client-connecte-card img {
    width: 50px;
    height: auto;
    margin-bottom: 15px;
}

.client-connecte-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
}
.client-connecte-card-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1.5px;
    background: #009999;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.client-connecte-card:hover .client-connecte-card-title::after {
    width: 100%;
}

.client-connecte-card:nth-child(1) { animation-delay: 0.3s; }
.client-connecte-card:nth-child(2) { animation-delay: 0.45s; }
.client-connecte-card:nth-child(3) { animation-delay: 0.6s; }
.client-connecte-card:nth-child(4) { animation-delay: 0.75s; }
.client-connecte-card:nth-child(5) { animation-delay: 0.9s; }

@keyframes fadeSoft {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeCardSoft {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* INFO CLIENT */

.info-client-wrapper {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-client-deco {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.info-client-deco:hover {
    transform: scale(1.05);
}

.info-client-deco img {
    width: 24px;
    height: 24px;
}

.info-client-deco span {
    text-decoration: underline;
    color: #000;
    font-weight: 500;
}

.info-client-mail {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

.info-client-urgence {
    color: #c00;
    font-weight: 500;
    font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 990px) {
    .client-connecte-card {
        flex: 0 0 calc((100% - 40px) / 2);
        max-width: calc((100% - 40px) / 2);
    }
}

@media (max-width: 600px) {
    .client-connecte-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .welcome-client {
        font-size: 1.8rem;
    }
    .info-client-wrapper {
        padding: 20px;
    }
}

/* CACHER LE MENU SUR LES PAGES ESPACE CLIENT */
.page-template-page-preferences .header-menu,
.page-template-page-modifier-mes-informations .header-menu,
.page-template-page-contact-client .header-menu,
.page-template-page-espace-client .header-menu,
.page-template-page-informations .header-menu,
.page-template-page-nouvelle-commande .header-menu,
.page-template-page-mes-commandes .header-menu,
.page-template-page-factures .header-menu,
.page-template-page-contact .header-menu,
.page-template-page-support .header-menu {
    display: none !important;
}

/* SVG MENU VISIBLE MAIS DISCRET */
.page-template-page-preferences .custom-header::before,
.page-template-page-modifier-mes-informations .custom-header::before,
.page-template-page-contact-client .custom-header::before,
.page-template-page-espace-client .custom-header::before,
.page-template-page-informations .custom-header::before,
.page-template-page-nouvelle-commande .custom-header::before,
.page-template-page-mes-commandes .custom-header::before,
.page-template-page-factures .custom-header::before,
.page-template-page-contact .custom-header::before,
.page-template-page-support .custom-header::before {
    opacity: 0.4;
    top: -220px;
}

/* ===== MENU ESPACE CLIENT ===== */

.client-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    height: 46px;
    align-items: center;
    border-radius: 40px;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);

    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;

    padding: 0 8px;
    gap: 4px;
}

.client-nav-link {
    height: 32px;
    padding: 0 18px;
    border-radius: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0f1720;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;
    white-space: nowrap;
}

.client-nav-link:hover {
    background: rgba(0, 153, 153, 0.12);
    color: #009999;
}

/* ===================================================== */
/* ===== PAGE SUPPORT =================================== */
/* ===================================================== */

.support-section {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.support-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.support-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    background: #00999915;
    color: #009999;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.support-title {
    font-size: 36px;
    font-weight: 400;
    color: #0f1720;
    margin-bottom: 16px;
}

.support-subtitle {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 60px;
    line-height: 1.6;
}

.support-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.support-card {
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px 50px;
    text-decoration: none;
    color: #0f1720;
    transition: all 0.3s ease;
    flex: 1 1 200px;
    max-width: 280px;
    text-align: center;
}

.support-card-icon {
    font-size: 28px;
    color: #009999;
    margin-bottom: 14px;
    display: block;
}

.support-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    margin-bottom: 8px;
}

.support-card-value {
    font-size: 15px;
    font-weight: 500;
    color: #0f1720;
}

.support-info-bloc {
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-info-bloc p {
    font-size: 15px;
    opacity: 0.6;
    font-style: italic;
    margin: 0;
}

.support-reassurance {
    font-size: 14px;
    color: #009999;
    font-weight: 500;
    opacity: 0.85;
}

/* ===================================================== */
/* ===== PAGE CONTACT CLIENT ============================ */
/* ===================================================== */

.contact-client-section {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.contact-client-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.contact-client-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
    margin-top: 50px;
    text-align: left;
}

.contact-client-infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: stretch;
}

.contact-client-form {
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.contact-client-form .field {
    margin-bottom: 20px;
}

.contact-client-form input,
.contact-client-form textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
    outline: none;
}

.contact-client-form input:focus,
.contact-client-form textarea:focus {
    border-color: #009999;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,153,153,0.1);
}

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

.contact-client-form button {
    background: linear-gradient(135deg, #009999, #00b3b3);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 15px 40px rgba(0,153,153,0.25);
    width: fit-content;
}

.contact-client-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,153,153,0.35);
    background: linear-gradient(135deg, #009999, #00b3b3);
}

.contact-client-infos .support-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    max-width: 100%;
    flex: 1;
    text-align: left;
}

.contact-client-infos .support-card-icon {
    font-size: 22px;
    color: #009999;
    background: #00999912;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-client-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===================================================== */
/* ===== PAGE FACTURES ================================== */
/* ===================================================== */

.factures-section-page {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.factures-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.factures-wrapper {
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px 50px;
    margin-top: 50px;
    text-align: left;

    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: facturesFade 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes facturesFade {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.factures-annee-titre {
    font-size: 20px;
    font-weight: 500;
    color: #0f1720;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6ecef;
}

.facture-ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
    opacity: 0;
    animation: ligneFade 0.5s ease forwards;
}

.facture-ligne:last-child {
    border-bottom: none;
}

@keyframes ligneFade {
    to { opacity: 1; transform: translateY(0); }
}

.facture-mois-annee {
    display: flex;
    align-items: center;
    gap: 8px;
}

.facture-mois {
    font-weight: 600;
    font-size: 15px;
    color: #0f1720;
}

.facture-annee {
    font-size: 14px;
    color: #6b7280;
}

.facture-lien {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #009999;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid rgba(0,153,153,0.3);
    transition: all 0.2s ease;
}

.facture-lien:hover {
    background: #00999910;
    border-color: #009999;
}

.factures-empty {
    font-size: 15px;
    opacity: 0.5;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* ===================================================== */
/* ===== PAGE INFORMATIONS ============================== */
/* ===================================================== */

.informations-section {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.informations-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.info-client-container {
    background: white;
    border-radius: 18px;
    padding: 40px 50px;
    margin-top: 50px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);

    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: facturesFade 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}

.info-section-title {
    font-size: 20px;
    font-weight: 500;
    color: #009999;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    background: #ffffff;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9a9a9a;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.6;
}

.info-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-modifier-info {
    display: inline-block;
    padding: 10px 20px;
    background: #f2f2f2;
    color: #444;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-modifier-info:hover {
    background: #e9e9e9;
    border-color: #d5d5d5;
}

.info-client-box {
    background: #f8fdfd;
    border: 2px solid #009999;
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.info-client-box h3 {
    color: #009999;
    margin-bottom: 15px;
    font-weight: 500;
}

.info-client-box ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.info-client-box li {
    margin-bottom: 8px;
    font-size: 14px;
}

.info-client-box p {
    font-size: 14px;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================== */
/* ===== PAGE PRÉFÉRENCES =============================== */
/* ===================================================== */

.preferences-section {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}

.preferences-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.preferences-form {
    background: #ffffff;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px 50px;
    margin-top: 40px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

.back-link {
    display: block;
    text-align: left;
    margin-bottom: 20px;
    font-size: 13px;
    color: #009999;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-3px);
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    text-align: left;
}

.dashboard-card {
    background: #fafafa;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.25s ease;
}

.dashboard-card.active {
    box-shadow: 0 14px 35px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.card-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #009999;
    transition: background 0.2s ease;
}

.card-header:hover {
    background: rgba(0,153,153,0.04);
}

.toggle-icon {
    font-size: 18px;
    font-weight: 400;
    color: #009999;
}

.card-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.card-content.open {
    overflow-y: auto;
    max-height: 400px !important;
}

.card-content p {
    margin-top: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    color: #1e1e1e;
}

.dashboard-card label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.dashboard-card input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.8px solid #cfd8dc;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dashboard-card input[type="checkbox"]:hover {
    border-color: #009999;
}

.dashboard-card input[type="checkbox"]:checked {
    background-color: #009999;
    border-color: #009999;
}

.dashboard-card input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.preferences-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-primary {
    padding: 14px 30px;
    background: linear-gradient(135deg, #009999, #00b3b3);
    color: #ffffff;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,153,153,0.25);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,153,153,0.35);
}

.btn-reset-link {
    background: none;
    border: none;
    color: #c96a6a;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-reset-link:hover {
    color: #b85454;
}

.toast-success {
    position: fixed;
    top: 120px;
    right: 30px;
    background: #e6f6f4;
    color: #009999;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #bde5e1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* RECAP PRÉFÉRENCES */

.preferences-wrapper {
    margin-top: 35px;
}

.preferences-main-title {
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 35px;
    color: #009999;
}

.preferences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pref-mini-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.pref-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.pref-block-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009999;
    margin-bottom: 16px;
    font-weight: 600;
}

.pref-line {
    margin-bottom: 12px;
}

.pref-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pref-value {
    font-size: 13px;
    color: #222;
}

@media (max-width: 768px) {
    .dashboard-grid,
    .preferences-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================== */
/* ===== PAGE MODIFIER MES INFORMATIONS ================ */
/* ===================================================== */

.modifier-infos-section {
    padding: 120px 0 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.modifier-infos-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.modifier-infos-section {
    position: relative;
    z-index: 2;
}

.modifier-infos-form {
    background: #ffffff;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px 50px;
    margin-top: 40px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.modifier-infos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.modifier-infos-full {
    grid-column: 1 / -1;
}

.modifier-infos-form .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9a9a9a;
    margin-bottom: 8px;
    font-weight: 500;
}

.modifier-infos-form .field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
    outline: none;
}

.modifier-infos-form .field input:focus {
    border-color: #009999;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,153,153,0.1);
}

.modifier-infos-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modifier-infos-grid {
        grid-template-columns: 1fr;
    }

    .modifier-infos-full {
        grid-column: 1;
    }
}

/*test*/
.hero {
    overflow: visible;
}

.hero-svg-overlay {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    width: 400px;
    height: 600px;
}

/* ===================================================== */
/* ===== PAGE NOUVELLE COMMANDE ======================== */
/* ===================================================== */

.nouvelle-commande-page {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

.nc-section {
    padding: 100px 0 80px 0;
    position: relative;
    z-index: 2;
}

.nc-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== LAYOUT ===== */

.nc-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.nc-form-col {
    flex: 1.3;
    min-width: 320px;
    opacity: 0;
    transform: translateX(-30px);
    animation: ncFormFade .8s ease forwards;
    animation-delay: .2s;
    display: flex;
    flex-direction: column;
}


.nc-white-card {
    background: #ffffff;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    flex: 1;
}

#nc-form-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nc-schema-col {
    flex: 1;
    max-width: none;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateX(30px);
    animation: ncSchemaFade .8s ease forwards;
    animation-delay: .3s;
    position: sticky;
    top: 100px;
    min-height: 950px;
}

@keyframes ncFormFade {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes ncSchemaFade {
    to { opacity: 1; transform: translateX(0); }
}

/* ===== HEADER ===== */

.nc-header {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.nc-title {
    font-size: 28px;
    color: #009999;
    font-weight: 400;
    text-align: center;
}

.nc-date {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #999;
}

/* ===== CHAMPS ===== */

.nc-field {
    margin-bottom: 24px;
}

.nc-field label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: #0f1720;
}

.nc-field input[type="text"],
.nc-field input[type="email"],
.nc-field select,
.nc-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: #f9f9f9;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
}

.nc-field input:focus,
.nc-field select:focus,
.nc-field textarea:focus {
    border-color: #009999;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,153,153,0.1);
}

.nc-field select {
    font-size: 13px;
    padding: 12px 14px;
    height: 46px;
    line-height: normal;
    overflow: visible;
}

.nc-field textarea {
    min-height: 80px;
    resize: vertical;
}

/* ===== OPTIONS GLOBALES ===== */

.nc-options-globales {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #444;
}

.nc-checkbox-label input[type="checkbox"] {
    accent-color: #009999;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ===== UPLOAD FICHIERS ===== */

.nc-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #009999;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #009999;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nc-file-btn:hover {
    background: #f0fafa;
}

.nc-file-hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.nc-file-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nc-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.nc-file-item .nc-file-status {
    font-size: 12px;
    color: #999;
    min-width: 80px;
    text-align: right;
}

.nc-file-remove {
    cursor: pointer;
    color: #ccc;
    font-size: 16px;
    margin-left: 10px;
    transition: color 0.2s;
}

.nc-file-remove:hover {
    color: #e74c3c;
}

.nc-file-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    display: none;
}

/* ===== BLOC TRAVAIL ===== */

.nc-work-block {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.2s ease;
}

.nc-work-block.active-work {
    border-color: rgba(0,153,153,0.3);
    background: #f8fdfd;
}

.nc-work-delete {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
    color: #ccc;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.2s;
}

.nc-work-delete:hover {
    color: #e74c3c;
}

.nc-work-title {
    font-size: 13px;
    font-weight: 600;
    color: #009999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* ===== OPTIONS BOUTONS ===== */

.nc-option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.nc-option-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Montserrat', sans-serif;
}

.nc-option-btn:has(input:checked) {
    background: rgba(0,153,153,0.12);
    border-color: #009999;
    color: #009999;
}

.nc-option-btn input {
    display: none;
}

/* ===== BOUTONS ===== */

.nc-add-work-btn {
    background: transparent;
    color: #009999;
    border: 1px dashed #009999;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.nc-add-work-btn:hover {
    background: rgba(0,153,153,0.06);
}

.nc-reset-work-btn {
    background: #fff;
    color: #999;
    border: 1px solid #e0e0e0;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.nc-reset-work-btn:hover {
    background: #fdf0f0;
    color: #c0392b;
    border-color: #f0c0c0;
}

.nc-submit-btn {
    background: linear-gradient(135deg, #009999, #00b3b3);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    width: fit-content;
    display: block;
    margin: 20px auto 0 auto;
    box-shadow: 0 15px 40px rgba(0,153,153,0.25);
    transition: all 0.25s ease;
}

.nc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,153,153,0.35);
}

.nc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== CAS URGENT ===== */

.nc-urgent-container {
    margin-bottom: 20px;
}

.nc-urgent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nc-urgent-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #444;
}

.nc-urgent-option.active {
    color: #c62828;
    font-weight: 500;
}

.nc-toggle-link {
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.nc-toggle-link:hover {
    text-decoration: underline;
}

.nc-urgent-message {
    background: rgba(198,40,40,0.06);
    border-left: 3px solid #c62828;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #c62828;
    line-height: 1.5;
    margin-top: 10px;
}

/* ===== VALIDATION DESIGN ===== */

.nc-validation-container {
    margin-bottom: 16px;
}

.nc-validation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nc-validation-message {
    background: rgba(230,126,34,0.06);
    border-left: 3px solid #e67e22;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #e67e22;
    line-height: 1.5;
    margin-top: 10px;
    display: none;
}

/* ===== SCHÉMA ===== */

.nc-schema-title {
    font-size: 18px;
    color: #009999;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.dental-svg {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.dental-tooth {
    cursor: pointer;
    transition: fill 0.15s ease;
}

.dental-tooth:hover {
    fill: rgba(0,153,153,0.15);
}

.tooth-ring {
    fill: none;
    stroke-width: 6;
    pointer-events: none;
}

.tooth-ring.chassis-ring {
    stroke-width: 3;
    stroke-dasharray: 8 4;
}

.dental-arcade {
    cursor: pointer;
}

.arcade-ring {
    fill: none;
    pointer-events: none;
}

.nc-valider-selection-btn {
    display: inline-block;
    width: auto;
    margin-top: 10px;
    padding: 8px 14px;
    background: rgba(106, 191, 148, 0.95);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nc-valider-selection-btn:hover {
    background: rgba(68, 168, 126, 0.98);
}

.nc-valider-selection-btn.modifier-mode {
    background: rgba(200, 200, 200, 0.6);
    color: #888;
    border: none;
    backdrop-filter: blur(4px);
}

.nc-valider-selection-btn.modifier-mode:hover {
    background: rgba(180, 180, 180, 0.7);
}


#schema-focus-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 8px;
}

#schema-focus-close:hover {
    color: #333;
}

#schema-focus-msg {
    background: rgba(0,0,0,0.04);
    border-left: 3px solid #ccc;
    color: #888;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
    font-style: italic;
    transition: opacity 0.4s ease;
}

#schema-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 18px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 200;
    white-space: nowrap;
}

#tooth-hover-num {
    position: absolute;
    top: 23px;
    right: 30px;
    font-size: 17px;
    font-weight: 500;
    color: #999;
    opacity: 0;
    transition: opacity 0.15s ease;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
}

.arcade-label {
    font-size: 80px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    fill: #ddd;
    cursor: pointer;
    transition: fill 0.2s ease;
}

.arcade-label:hover {
    fill: #bbb;
}

/* ===== INDICATEURS ===== */

.nc-indicator {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.nc-urgent-indicator {
    color: #c62828;
    background: rgba(198,40,40,0.08);
    top: 14px;
    right: 20px;
}

.nc-validation-indicator {
    color: #e67e22;
    background: rgba(230,126,34,0.10);
    top: 36px;
    right: 20px;
}

#schema-left-info {
    position: absolute;
    top: 33px;
    left: 30px;
    max-width: 38%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#client-display {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    word-break: break-word;
}

#patient-display {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    word-break: break-word;
}

/* ===== LÉGENDE ===== */

#dental-legend {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.8;
}

#summary-toggle {
    margin-top: 14px;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    user-select: none;
}

#dental-summary {
    margin-top: 8px;
    font-size: 13px;
}

/* ===== RESUME ===== */

.mc-resume-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mc-resume-card-header {
    padding: 8px 14px;
    background: #f8fdfd;
}

.mc-resume-design-name {
    font-size: 13px;
    font-weight: 600;
}

.mc-resume-card-body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mc-resume-extra {
    font-size: 12px;
    color: #555;
}

.mc-resume-extra strong {
    font-weight: 500;
    color: #333;
}

.mc-resume-validation {
    color: #e67e22;
    font-weight: 500;
}

/* ===== MODE PLACEMENT CROCHET ===== */

#placement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: none;
    z-index: 50;
}

.nc-schema-col {
    z-index: 100;
    overflow-y: auto;
}

#crochet-mode-ui {
    position: relative;
    z-index: 110;
}

.nc-crochet-ui-inner {
    margin-top: 10px;
    padding: 12px;
    background: #f5f7f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.nc-crochet-ui-inner select {
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

#crochet-count {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.nc-crochet-btns {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.nc-crochet-btns button {
    background: #d0d0d0;
    color: black;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.15s;
}

#valider-crochets {
    background: #009999 !important;
    color: white !important;
}

#annuler-crochets:hover { background: #f2caca !important; }
#valider-crochets:hover { background: #007777 !important; }

body.mode-placement {
    cursor: crosshair;
}

body.mode-placement .nc-container {
    pointer-events: none;
}

body.mode-placement .nc-schema-col,
body.mode-placement .nc-schema-col *,
body.mode-placement #crochet-mode-ui {
    pointer-events: auto;
}

.nc-mode-placement-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px auto;
    background: rgba(0,153,153,0.08);
    color: #009999;
    border: 1px solid rgba(0,153,153,0.25);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.nc-mode-placement-btn:hover {
    background: rgba(0,153,153,0.14);
    border-color: rgba(0,153,153,0.45);
}

.crochets-disabled label {
    opacity: 0.4;
    pointer-events: none;
}

.crochets-message {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-bottom: 6px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
    .nc-layout {
        flex-direction: column;
    }
    .nc-schema-col {
        position: relative;
        top: auto;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .nc-container {
        padding: 0 20px;
    }
    .nc-title {
        font-size: 22px;
    }
}

/* ===================================================== */
/* ===== PAGE MES COMMANDES ============================ */
/* ===================================================== */

.mes-commandes-page {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

.mc-section {
    padding: 120px 0 80px 0;
    position: relative;
    z-index: 2;
}

.mc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER */
.mc-header {
    text-align: center;
    margin-bottom: 50px;
}

.mc-title {
    font-size: 36px;
    font-weight: 400;
    color: #0f1720;
    margin-bottom: 12px;
}

.mc-subtitle {
    font-size: 16px;
    opacity: 0.6;
    line-height: 1.6;
}

/* SUCCESS MESSAGE */
.mc-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 24px;
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* VIDE */
.mc-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
}

.mc-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mc-empty p {
    font-size: 16px;
    opacity: 0.6;
    margin-bottom: 24px;
}

/* WRAPPER */
.mc-wrapper {
    background: white;
    border: 1px solid #e6ecef;
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: mcFade 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes mcFade {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* CARTE */
.mc-card {
    border-bottom: 1px solid #f3f4f6;
    opacity: 0;
    animation: mcCardFade 0.5s ease forwards;
}

.mc-card:last-child {
    border-bottom: none;
}

@keyframes mcCardFade {
    to { opacity: 1; transform: translateY(0); }
}

/* EN-TÊTE CARTE */
.mc-card-header {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 30px;
}

/* COLONNE GAUCHE */
.mc-patient {
    font-size: 16px;
    font-weight: 600;
    color: #0f1720;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mc-order-num {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.mc-urgent-badge {
    font-size: 11px;
    font-weight: 600;
    color: #c62828;
    background: rgba(198,40,40,0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.mc-date {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* COLONNE MILIEU */
.mc-product {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
    line-height: 1.4;
}

.mc-product:last-child {
    margin-bottom: 0;
}

.mc-variation {
    font-size: 13px;
    color: #666;
}

.mc-dents {
    font-size: 13px;
    color: #009999;
}

/* COLONNE DROITE */
.mc-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.mc-statut {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.mc-date-short {
    font-size: 12px;
    color: #999;
}

.mc-toggle-btn {
    background: none;
    border: none;
    color: #009999;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: opacity 0.2s;
}

.mc-toggle-btn:hover {
    background: none !important;
    color: #009999;
}

/* DÉTAIL DÉPLIABLE */
.mc-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 0px solid #f3f4f6;
}

.mc-detail.open {
    max-height: 2000px;
    border-top: 1px solid #f3f4f6;
}

.mc-detail-content {
    padding: 25px 30px;
    background: #fafafa;
}

/* GRID DÉTAIL */
.mc-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mc-detail-block {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.mc-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 6px;
}

.mc-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #0f1720;
}

/* SECTION DÉTAIL */
.mc-detail-section {
    margin-bottom: 20px;
}

.mc-detail-section:last-child {
    margin-bottom: 0;
}

.mc-detail-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009999;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6ecef;
}

/* TRAVAUX */
.mc-travail-block {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.mc-travail-block:last-child {
    margin-bottom: 0;
}

.mc-travail-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f1720;
    margin-bottom: 6px;
}

.mc-travail-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.5;
}

.mc-validation-tag {
    color: #009999;
    font-weight: 500;
}

/* FICHIERS */
.mc-fichiers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-fichier-lien {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #009999;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid rgba(0,153,153,0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
    background: white;
}

.mc-fichier-lien:hover {
    background: #f0fafa;
    border-color: #009999;
}

/* DESIGN DISPO */
.mc-design-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #009999, #00b3b3);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,153,153,0.25);
    transition: all 0.25s ease;
}

.mc-design-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,153,153,0.35);
}

/* RÉSUMÉ */
.mc-resume {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    white-space: pre-wrap;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 16px;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .mc-card-header {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 20px;
    }
    .mc-card-right {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .mc-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mc-inner {
        padding: 0 20px;
    }
    .mc-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BARRE DE RECHERCHE MES COMMANDES ===== */

.mc-search-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.mc-search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mc-search-field.large  { flex: 2; min-width: 200px; }
.mc-search-field.medium { flex: 1; min-width: 150px; }
.mc-search-field.small  { flex: 1; min-width: 130px; }

.mc-search-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #009999;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.mc-search-input,
.mc-search-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #f0f0f0;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    background: #f8f8f8;
    color: #555;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    appearance: auto;
    -webkit-appearance: auto;
}

.mc-search-input::placeholder {
    color: #bbb;
}

.mc-search-input:focus,
.mc-search-select:focus {
    border-color: #009999;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,153,153,0.08);
}

.mc-search-select {
    cursor: pointer;
    color: #555;
}

.mc-search-select option {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 8px;
    color: #333;
    background: #ffffff;
}

.mc-search-select option:checked {
    background: #e0f7f7;
    color: #009999;
    font-weight: 600;
}

.mc-search-select option:hover {
    background: #f0fafa;
}

.mc-search-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.mc-search-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, #009999, #00b3b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,153,153,0.2);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.mc-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,153,153,0.3);
}

.mc-reset-btn {
    padding: 10px 16px;
    background: #fff;
    color: #999;
    border: 1.5px solid #f0f0f0;
    border-radius: 8px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mc-reset-btn:hover {
    border-color: #ddd;
    color: #555;
    background: #f8f8f8;
}

/* ===== DÉTAIL COMMANDE — NOUVEAUX STYLES ===== */

.mc-dl-sobre {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #009999;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid rgba(0,153,153,0.3);
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.mc-dl-sobre:hover {
    background: #f0fafa;
    border-color: #009999;
}

.mc-fichier-sobre {
    display: inline-block;
    color: #999;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.mc-badge-urgent {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #c62828;
    background: rgba(198,40,40,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-badge-validation {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #009999;
    background: rgba(0,153,153,0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.mc-voir-plus-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    padding: 10px 0 0 0;
    text-decoration: underline;
    display: block;
    transition: color 0.2s;
}

.mc-voir-plus-btn:hover {
    background: none !important;
    color: #999;
}

.mc-resume-extended {
    display: none;
    margin-top: 16px;
}

.mc-resume-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.mc-resume-options strong {
    color: #0f1720;
    font-weight: 600;
}

/* ===== ANIMATION HERO SVG — USINAGE CNC ===== */

.hero-svg-overlay {
    position: absolute;
    top: 44%;
    right: -3%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    width: 700px;
    height: 420px;
}

.hero-svg-overlay .svg {
    opacity: 1 !important;
    transition: filter 0.5s ease;
}

.hero-svg-overlay .svg.svg-revealed {
    filter: drop-shadow(0 0 18px rgba(0,153,153,0.35));
}

/* ===== ANIMATION CNC ===== */

.cnc-outer {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.cnc-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(0,153,153,0.25);
  pointer-events: none;
  z-index: 20;
}

/* ===== BADGE FICHIER DÉFINITIF DISPONIBLE ===== */

.mc-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mc-badge-fichier-dispo {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== LIEN FICHIER DÉFINITIF (VERT, SOBRE) ===== */

.mc-fichier-definitif-lien {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #16a34a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.mc-fichier-definitif-lien:hover {
    color: #16a34a;
    text-decoration: underline;
}

.mc-detail-section-title-vert {
    color: #16a34a;
}

/* ===================================================== */
/* ===== FICHIER À VALIDER =============================== */
/* ===================================================== */

.mc-detail-section-title-orange {
    color: #e67e22;
}

.mc-fichier-validation-lien {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #e67e22;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;

    padding: 8px 14px;
    border: 1px solid rgba(230,126,34,0.3);
    border-radius: 8px;
    background: #fff;

    cursor: pointer;
    font-family: 'Montserrat', sans-serif;

    transition: all 0.2s ease;
}

.mc-fichier-validation-lien:hover {
    color: #e67e22;
    background: #fdf8f2;
    border-color: #e67e22;
}

.mc-fichier-validation-note {
    font-size: 12px;
    color: #e67e22;
    margin-top: 4px;
}

.mc-fichier-validation-contact {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-bottom: 14px;
}

.mc-fichier-validation-contact strong {
    color: #888;
    font-weight: 500;
}

/* ===================================================== */
/* ===== INFO CONSERVATION DES FICHIERS ================= */
/* ===================================================== */

.retention-info {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 40px;
    line-height: 1.5;
}

/* ===================================================== */
/* ===== TOAST — INCITATION PRÉFÉRENCES NON ENREGISTRÉES */
/* ===================================================== */

.pref-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 380px;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 24px 20px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 18px 40px rgba(0,80,80,0.1);
    text-align: left;
    animation: pref-toast-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pref-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pref-toast-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #c2cccc;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s ease;
    z-index: 2;
}

.pref-toast-close:hover {
    background: #f1f5f5;
    color: #667;
}

.pref-toast-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.pref-toast-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pref-toast-icon-ring {
    position: absolute;
    inset: 0;
    border: 1.4px dashed rgba(0,153,153,0.45);
    border-radius: 12px;
    animation: pref-ring-spin 12s linear infinite;
}

@keyframes pref-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.pref-toast-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: linear-gradient(135deg, #009999, #00b3b3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,153,153,0.3);
}

.pref-toast-icon svg {
    width: 15px;
    height: 15px;
}

.pref-toast-eyebrow-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #007575;
}

.pref-toast-title {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f1720;
    line-height: 1.3;
    margin-bottom: 8px;
    text-align: left;
}

.pref-toast-text {
    font-size: 12.5px;
    color: #667070;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.pref-toast-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0f4f4;
}

.pref-toast-dismiss {
    font-size: 11.5px;
    color: #b6c0c0;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.pref-toast-dismiss:hover {
    color: #889393;
}

.pref-toast-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #009999;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 30px;
    transition: background 0.2s ease;
}

.pref-toast-btn:hover {
    background: #007575;
}

.pref-toast-btn svg {
    width: 13px;
    height: 13px;
    stroke: #ffffff;
}