/*
Theme Name: COREAL CONCEPTION
Theme URI: https://www.coreal.sn
Author: Safaya Digital - Ndeye Fatou FALL
Description: ThÃ¨me WordPress professionnel pour COREAL CONCEPTION. Compatible Elementor â€” images, textes, rÃ©alisations, clients tous modifiables visuellement.
Version: 3.0.0
Requires at least: 6.0
License: GNU General Public License v2 or later
Text Domain: coreal
Tags: business, elementor, custom-colors, custom-logo, full-width-template
*/

:root {
    --orange:#E67714; --red:#E31E24; --dark:#1a1a1a;
    --gray:#666; --light:#f5f5f5; --white:#fff;
    --gradient:#E67714;
    --header-h:90px; --ticker-h:44px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Poppins',sans-serif;color:var(--dark);background:var(--white);overflow-x:hidden;}

/* HEADER â€” dÃ©file avec la page (non fixe) */
#site-header{position:relative;height:var(--header-h);background:#fff;box-shadow:0 2px 20px rgba(0,0,0,.08);z-index:1000;transition:all .3s;}
#site-header.scrolled{box-shadow:0 2px 30px rgba(0,0,0,.13);}
.header-inner{max-width:1400px;margin:0 auto;padding:0 2rem;height:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem;overflow:visible;}
.site-logo a{display:flex;align-items:center;gap:1rem;text-decoration:none;}
.site-logo img,.custom-logo{height:58px!important;max-height:58px!important;width:auto!important;max-width:200px!important;object-fit:contain;display:block;}
.site-tagline{font-size:.83rem;color:var(--gray);font-style:italic;}
.main-nav{display:flex;gap:2.5rem;align-items:center;}
.main-nav a{text-decoration:none;color:var(--dark);font-weight:500;font-size:.92rem;position:relative;transition:color .3s;}
.main-nav a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--gradient);transition:width .3s;}
.main-nav a:hover{color:var(--red);}
.main-nav a:hover::after{width:100%;}
.nav-cta{background:var(--gradient)!important;color:#fff!important;padding:.75rem 1.8rem!important;border-radius:50px!important;font-weight:600!important;box-shadow:0 4px 15px rgba(230,119,20,.35)!important;transition:all .3s!important;}
.nav-cta::after{display:none!important;}
.nav-cta:hover{transform:translateY(-2px)!important;}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;}
.hamburger span{display:block;width:24px;height:2px;background:var(--dark);border-radius:2px;}
.mobile-nav{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:1rem 2rem;z-index:999;box-shadow:0 10px 30px rgba(0,0,0,.1);}
.mobile-nav.open{display:flex;}
.mobile-nav a{padding:.8rem 0;border-bottom:1px solid #eee;color:var(--dark);text-decoration:none;font-weight:500;}
.mnav-item{display:flex;flex-direction:column;}
.mnav-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;}
.mnav-row a{flex:1;border-bottom:none;}
.mnav-toggle{background:none;border:none;padding:.8rem .4rem;margin-left:.5rem;cursor:pointer;color:var(--dark);flex-shrink:0;}
.mnav-toggle svg{display:block;transition:transform .3s;}
.mnav-toggle.open svg{transform:rotate(180deg);}
.mnav-sub{display:none;flex-direction:column;max-height:0;overflow:hidden;padding-left:1rem;background:#fafafa;border-radius:8px;}
.mnav-sub.open{display:flex;max-height:none;margin:.3rem 0;}
.mnav-sub a{padding:.65rem 0;border-bottom:1px solid #eee;font-size:.9rem;font-weight:500;color:var(--gray);}
.mnav-sub a:last-child{border-bottom:none;}

/* TICKER */
.coreal-ticker{position:relative;height:var(--ticker-h);background:var(--orange);overflow:hidden;display:flex;align-items:center;z-index:999;}
.ticker-track{display:flex;white-space:nowrap;animation:tickerScroll 32s linear infinite;}
.coreal-ticker:hover .ticker-track{animation-play-state:paused;}
.ticker-item{display:inline-flex;align-items:center;gap:16px;padding:0 38px;font-size:.72rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#fff;}
.ticker-item::before{content:'\2726';font-size:.5rem;opacity:.7;}
@keyframes tickerScroll{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}

/* MAIN */
.site-main{padding-top:0;}

/* Pages de service â€” le hero commence juste sous le ticker */
.site-main > .off-hero,
.site-main > .srv-hero,
.site-main > .es-hero,
.site-main > section:first-child[class*="hero"]{
    margin-top:0;
}
/* S'assurer que les sections heros plein ecran commencent apres le ticker */
.off-hero,.srv-hero,.es-hero{
    padding-top:0;
    min-height:calc(100vh - var(--header-h) - var(--ticker-h)) !important;
}

/* HERO */
.hero-section{background:linear-gradient(135deg,#fff 0%,#fff5ee 100%);padding:5rem 2rem;position:relative;overflow:hidden;min-height:calc(100vh - var(--header-h) - var(--ticker-h));display:flex;align-items:center;}
.hero-section::before{content:'';position:absolute;top:-50%;right:-20%;width:800px;height:800px;background:radial-gradient(circle,rgba(230,119,20,.1),transparent);border-radius:50%;animation:floatBg 20s ease-in-out infinite;}
@keyframes floatBg{0%,100%{transform:translate(0,0);}50%{transform:translate(-50px,50px);}}
.hero-inner{max-width:1400px;margin:0 auto;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative;z-index:1;}
.hero-title{font-family:'Outfit',sans-serif;font-size:clamp(2.2rem,4vw,3.5rem);font-weight:800;line-height:1.1;margin-bottom:1.5rem;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.hero-desc{font-size:1.1rem;color:var(--gray);margin-bottom:2rem;line-height:1.8;}
.hero-btns{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:2rem;}
.btn-primary{background:var(--gradient);color:#fff;padding:1rem 2.5rem;border-radius:50px;font-weight:600;text-decoration:none;transition:all .3s;box-shadow:0 4px 20px rgba(230,119,20,.3);display:inline-block;}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 6px 30px rgba(230,119,20,.4);}
.btn-secondary{background:#fff;color:var(--dark);border:2px solid var(--orange);padding:1rem 2.5rem;border-radius:50px;font-weight:600;text-decoration:none;transition:all .3s;display:inline-block;}
.btn-secondary:hover{background:var(--orange);color:#fff;transform:translateY(-3px);}
.hero-features{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.hero-feature{display:flex;align-items:center;gap:.8rem;padding:1rem;background:#fff;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.05);}
.hero-feature-icon{
    width:48px;height:48px;flex-shrink:0;
    background:rgba(230,119,20,.12);
    border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    border:1.5px solid rgba(230,119,20,.2);
}
.hero-feature h4{font-size:.9rem;font-weight:600;margin-bottom:.2rem;}
.hero-feature p{font-size:.8rem;color:var(--gray);margin:0;}
.hero-image-wrap{position:relative;display:flex;flex-direction:column;padding-bottom:70px;}
.hero-image-wrap img{width:100%;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.15);}
/* Zone photo hero remplaÃ§able facilement */
.hero-img-placeholder{width:100%;height:400px;background:rgba(230,119,20,.15);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--gray);border:2px dashed var(--orange);}
.contact-quick{
    position: absolute;
    bottom: -0.5rem;
    right: 1rem;
    background: rgba(255,255,255,.97);
    padding: .85rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    width: auto;
    max-width: 380px;
    z-index: 10;
    text-align: left;
    backdrop-filter: blur(8px);
}
.contact-quick h4{
    font-size:.82rem;color:var(--gray);
    margin-bottom:.6rem;font-weight:600;
}
.contact-quick a{
    display:block;color:var(--red);
    font-weight:700;text-decoration:none;
    margin-bottom:.35rem;font-size:.95rem;
}
.contact-quick a:hover{color:var(--orange);}

/* SECTIONS */
.section-wrap{padding:6rem 2rem;}
.bg-white{background:#fff;}
.bg-light{background:var(--light);}
.bg-cream{background:linear-gradient(135deg,#fff5ee 0%,#fff 100%);}
.section-header{text-align:center;margin-bottom:4rem;}
#chiffres .section-header{margin-bottom:2rem;}
#chiffres.section-wrap{padding-top:clamp(1.5rem,3vw,3rem)!important;padding-bottom:clamp(2rem,4vw,3.5rem)!important;}
.section-tag{display:inline-block;background:var(--gradient);color:#fff;padding:.45rem 1.3rem;border-radius:50px;font-size:.82rem;font-weight:600;margin-bottom:1rem;letter-spacing:1px;}
.section-header h2{font-family:'Outfit',sans-serif;font-size:clamp(1.8rem,3vw,3rem);font-weight:700;margin-bottom:.8rem;}
.section-header p{font-size:1.1rem;color:var(--gray);max-width:700px;margin:0 auto;}

/* SERVICES */
/* â”€â”€ SERVICES â€” avec vraie photo â”€â”€ */
.services-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}

.service-card{
    background:#fff; border-radius:20px;
    box-shadow:0 8px 30px rgba(0,0,0,.07);
    transition:all .4s; position:relative;
    overflow:hidden;
    display:flex; flex-direction:column;
}
.service-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:4px;background:var(--gradient);transform:scaleX(0);transition:transform .4s;z-index:2;}
.service-card:hover{transform:translateY(-10px);box-shadow:0 20px 60px rgba(0,0,0,.12);}
.service-card:hover::before{transform:scaleX(1);}

/* Zone photo en haut de la carte */
.service-card-img{
    width:100%; height:180px;
    overflow:hidden; position:relative;
    background:rgba(230,119,20,.08);
    flex-shrink:0;
}
.service-card-img img{
    width:100%; height:100%; object-fit:cover;
    transition:transform .5s;
    display:block;
}
.service-card:hover .service-card-img img{transform:scale(1.07);}
/* Placeholder quand pas de photo */
.service-card-img-placeholder{
    width:100%; height:100%;
    display:flex; align-items:center; justify-content:center;
    background:rgba(230,119,20,.1);
}
.service-card-img-placeholder .service-icon{
    width:70px; height:70px;
    background:rgba(230,119,20,.15);
    border-radius:15px; display:flex; align-items:center;
    justify-content:center; font-size:2rem; margin:0;
    transition:all .3s;
}
.service-card:hover .service-card-img-placeholder .service-icon{
    transform:scale(1.1); background:var(--gradient);
}

/* Corps texte */
.service-card-body{padding:1.8rem; flex:1; display:flex; flex-direction:column;}
.service-number{
    position:absolute; top:1rem; right:1rem;
    width:40px; height:40px; background:var(--gradient);
    border-radius:50%; display:flex; align-items:center;
    justify-content:center; font-size:1.1rem; font-weight:800;
    color:#fff; z-index:3; box-shadow:0 3px 10px rgba(227,30,36,.3);
}
.service-card h3{font-family:'Outfit',sans-serif;font-size:1.3rem;font-weight:700;margin-bottom:.8rem;}
.service-card-body>p{color:var(--gray);line-height:1.8;margin-bottom:1.2rem;flex:1;}
.service-link{color:var(--red);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem;transition:gap .3s;margin-top:auto;}
.service-link:hover{gap:1rem;}
/* Bouton admin */
.service-edit-btn{
    position:absolute;bottom:.6rem;right:.6rem;
    background:rgba(255,255,255,.9);color:var(--dark);
    border:none;padding:.3rem .7rem;border-radius:12px;
    font-size:.72rem;font-weight:600;cursor:pointer;
    text-decoration:none;display:none;
    box-shadow:0 2px 8px rgba(0,0,0,.15);transition:all .2s;z-index:4;
}
.logged-in .service-card:hover .service-edit-btn{display:inline-flex;align-items:center;gap:.3rem;}
.service-edit-btn:hover{background:var(--gradient);color:#fff;}
@media(max-width:768px){.services-grid{grid-template-columns:1fr;}.service-card-img{height:200px;}}

/* PORTFOLIO */
/* â”€â”€ RÃ‰ALISATIONS â€” grille avec gestion admin â”€â”€ */
.portfolio-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.portfolio-item{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.1);transition:all .4s;height:360px;}
.portfolio-item:hover{transform:translateY(-10px);box-shadow:0 20px 60px rgba(0,0,0,.15);}
.portfolio-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.portfolio-item:hover img{transform:scale(1.05);}
.portfolio-img-placeholder{width:100%;height:100%;background:rgba(230,119,20,.15);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--gray);}
.portfolio-img-placeholder span{font-size:2.5rem;}
.portfolio-img-placeholder p{font-size:.85rem;text-align:center;padding:0 1rem;}
.portfolio-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.9),transparent);padding:2rem;transform:translateY(10px);opacity:0;transition:all .4s;}
.portfolio-item:hover .portfolio-overlay{transform:translateY(0);opacity:1;}
.portfolio-overlay h3{color:#fff;font-size:1.3rem;font-weight:700;margin-bottom:.4rem;}
.portfolio-overlay p{color:rgba(255,255,255,.85);font-size:.9rem;}
/* Bouton supprimer sur chaque item (admin) */
.portfolio-delete-btn{position:absolute;top:.7rem;right:.7rem;width:30px;height:30px;border-radius:50%;background:var(--red);color:#fff;border:none;font-size:.85rem;font-weight:700;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(227,30,36,.5);transition:all .2s;z-index:5;}
.logged-in .portfolio-item:hover .portfolio-delete-btn{display:flex;}
.portfolio-delete-btn:hover{transform:scale(1.2);}
@media(max-width:768px){.portfolio-grid{grid-template-columns:1fr;}}

/* â”€â”€ HERO SLIDER (image cÃ´tÃ© droit) â”€â”€ */
.hero-image-wrap{position:relative;display:flex;flex-direction:column;padding-bottom:3.5rem;}
.hero-slider{position:relative;width:100%;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.15);}
.hero-slides-track{display:flex;transition:transform .8s cubic-bezier(.4,0,.2,1);}
.hero-slide-item{min-width:100%;position:relative;}
.hero-slide-item img{width:100%;height:560px;object-fit:contain;object-position:center;background:#f9f5ef;display:block;border-radius:0;}
.hero-slider-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.9);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 12px rgba(0,0,0,.2);transition:all .3s;font-size:1rem;opacity:0;}
.hero-slider:hover .hero-slider-btn{opacity:1;}
.hero-slider-btn:hover{background:#fff;transform:translateY(-50%) scale(1.1);}
.hero-slider-prev{left:.7rem;}
.hero-slider-next{right:.7rem;}
.hero-slider-dots{position:absolute;bottom:.8rem;left:50%;transform:translateX(-50%);display:flex;gap:.5rem;}
.hero-slider-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:all .3s;border:1.5px solid rgba(255,255,255,.8);}
.hero-slider-dot.active{background:#fff;transform:scale(1.25);}
/* Bouton ajouter/gÃ©rer hero slider (admin) */
.hero-slider-admin{position:absolute;bottom:-.5rem;left:0;right:0;display:none;justify-content:center;gap:.6rem;padding:.6rem;}
.logged-in .hero-slider-admin{display:flex;}
.hs-admin-btn{padding:.4rem .9rem;border-radius:20px;font-size:.75rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem;transition:all .2s;border:none;}
.hs-add-btn{background:var(--gradient);color:#fff;}
.hs-manage-btn{background:rgba(255,255,255,.9);color:var(--dark);}
.hs-add-btn:hover,.hs-manage-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.2);}
/* â”€â”€ CLIENTS â€” couleurs originales + zoom â”€â”€ */
.clients-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.5rem;}
.client-logo{height:120px;display:flex;align-items:center;justify-content:center;padding:1.2rem;background:#fff;border-radius:15px;box-shadow:0 4px 15px rgba(0,0,0,.06);transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;border:2px solid transparent;}
.client-logo::before{content:'';position:absolute;inset:0;background:rgba(230,119,20,.06);opacity:0;transition:opacity .3s;}
.client-logo:hover{transform:translateY(-6px) scale(1.04);box-shadow:0 14px 35px rgba(230,119,20,.2);border-color:rgba(230,119,20,.3);}
.client-logo:hover::before{opacity:1;}
.client-logo img{max-width:100%;max-height:80px;object-fit:contain;filter:none;transition:transform .35s cubic-bezier(.4,0,.2,1);}
.client-logo:hover img{transform:scale(1.12);}
.client-logo .client-delete{position:absolute;top:.4rem;right:.4rem;width:22px;height:22px;border-radius:50%;background:var(--red);color:#fff;border:none;font-size:.75rem;cursor:pointer;display:none;align-items:center;justify-content:center;font-weight:700;transition:all .2s;box-shadow:0 2px 8px rgba(227,30,36,.4);}
.logged-in .client-logo:hover .client-delete{display:flex;}
.client-delete:hover{transform:scale(1.2);}
/* VALEURS */
.values-inner{max-width:1400px;margin:3rem auto 0;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;}
.values-list{list-style:none;}
.values-list li{padding:1.3rem 1.5rem;margin-bottom:1rem;background:#fff;border-radius:15px;box-shadow:0 4px 15px rgba(0,0,0,.05);display:flex;align-items:center;gap:1rem;transition:all .3s;}
.values-list li:hover{transform:translateX(8px);}
.values-list li::before{content:'\2713';width:38px;height:38px;flex-shrink:0;background:var(--gradient);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;}
.why-list{list-style:none;}
.why-list li{padding:1.1rem 1.5rem;margin-bottom:1rem;background:#fff;border-radius:12px;border-left:4px solid var(--orange);box-shadow:0 4px 15px rgba(0,0,0,.05);color:var(--gray);line-height:1.6;transition:all .3s;}
.why-list li:hover{transform:translateX(8px);border-left-color:var(--red);}

/* CTA */
.cta-section{padding:6rem 2rem;background:var(--gradient);position:relative;overflow:hidden;text-align:center;}
.cta-section::before{display:none;}
.cta-inner{max-width:900px;margin:0 auto;position:relative;z-index:1;}
.cta-inner h2{font-family:'Outfit',sans-serif;font-size:clamp(1.8rem,3vw,3rem);font-weight:800;color:#fff;margin-bottom:1rem;}
.cta-inner p{font-size:1.2rem;color:rgba(255,255,255,.9);margin-bottom:2rem;}
.cta-btns{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;}
.btn-white{background:#fff;color:var(--red);padding:1rem 2.5rem;border-radius:50px;font-weight:700;text-decoration:none;transition:all .3s;display:inline-block;}
.btn-white:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.2);}
.btn-outline-w{background:transparent;color:#fff;border:2px solid #fff;padding:1rem 2.5rem;border-radius:50px;font-weight:700;text-decoration:none;transition:all .3s;display:inline-block;}
.btn-outline-w:hover{background:#fff;color:var(--red);transform:translateY(-3px);}

/* CONTACT */
.contact-grid{max-width:1400px;margin:3rem auto 0;display:grid;grid-template-columns:1fr 1fr;gap:4rem;}
.contact-items{display:flex;flex-direction:column;gap:1.5rem;}
.contact-item{display:flex;align-items:flex-start;gap:1.2rem;padding:1.3rem;background:var(--light);border-radius:15px;transition:all .3s;}
.contact-item:hover{background:rgba(230,119,20,.1);transform:translateX(8px);}
.contact-icon{width:46px;height:46px;background:var(--gradient);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0;}
.contact-item h4{font-size:1rem;font-weight:700;margin-bottom:.3rem;}
.contact-item p,.contact-item a{color:var(--gray);text-decoration:none;font-size:.9rem;}
.contact-item a:hover{color:var(--red);}
.contact-form-wrap{background:var(--light);padding:2.5rem;border-radius:20px;}
.contact-form-wrap h3{font-family:'Outfit',sans-serif;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;}
.form-row{margin-bottom:1.2rem;}
.form-row label{display:block;margin-bottom:.4rem;font-weight:600;font-size:.88rem;}
.form-row input,.form-row textarea,.form-row select{width:100%;padding:.9rem 1rem;border:2px solid #ddd;border-radius:10px;font-family:'Poppins',sans-serif;font-size:.92rem;transition:border-color .3s;background:#fff;}
.form-row input:focus,.form-row textarea:focus{outline:none;border-color:var(--orange);}
.form-row textarea{resize:vertical;min-height:130px;}
.form-submit{width:100%;padding:1rem;background:var(--gradient);color:#fff;border:none;border-radius:10px;font-weight:700;font-size:1rem;cursor:pointer;transition:all .3s;}
.form-submit:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(230,119,20,.35);}

/* â•â•â• FOOTER â€” styles globaux appliquÃ©s sur TOUTES les pages â•â•â• */
.site-footer,.site-footer *{box-sizing:border-box;}
.site-footer{
    background:#E67714 !important;
    color:#fff !important; padding:0; position:relative; overflow:hidden;
}
.site-footer::after{content:'';position:absolute;top:-100px;right:-100px;width:350px;height:350px;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);border-radius:50%;pointer-events:none;}
.footer-inner{padding:4rem 2rem 2rem;position:relative;z-index:1;}
.footer-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem;}
.footer-logo-img {
    height: 60px; width: auto;
    display: block; margin-bottom: 1rem;
    background: #fff;
    padding: .5rem .9rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    object-fit: contain;
}
.footer-about h3{font-family:'Outfit',sans-serif;font-size:1.4rem;font-weight:800;color:#fff;margin-bottom:.8rem;text-shadow:0 2px 6px rgba(0,0,0,.3);}
.footer-about p{color:rgba(255,255,255,.95);line-height:1.8;font-size:.9rem;text-shadow:0 1px 2px rgba(0,0,0,.15);}
.footer-col h4{font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#fff;margin-bottom:1.2rem;padding-bottom:.6rem;border-bottom:1.5px solid rgba(255,255,255,.3);}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:.65rem;}
.footer-col ul li a{color:rgba(255,255,255,.92);text-decoration:none;font-size:.88rem;display:flex;align-items:center;gap:.5rem;transition:all .2s;text-shadow:0 1px 2px rgba(0,0,0,.1);}
.footer-col ul li a::before{content:'\203A';color:rgba(255,255,255,.7);font-size:1.1rem;line-height:1;transition:transform .2s;}
.footer-col ul li a:hover{color:#fff;padding-left:4px;}
.footer-col ul li a:hover::before{transform:translateX(3px);color:#fff;}
.footer-contact-item{display:flex;align-items:flex-start;gap:.8rem;margin-bottom:.9rem;}
.footer-contact-item .fc-icon{width:38px;height:38px;flex-shrink:0;background:rgba(255,255,255,.2);border:1.5px solid rgba(255,255,255,.5);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .25s;}
.footer-contact-item:hover .fc-icon{background:rgba(255,255,255,.35);transform:scale(1.05);}
.footer-contact-item p,.footer-contact-item a{color:rgba(255,255,255,.95);text-decoration:none;font-size:.87rem;line-height:1.5;text-shadow:0 1px 2px rgba(0,0,0,.1);}
.footer-contact-item a:hover{color:#fff;text-decoration:underline;}
.footer-bottom{max-width:1400px;margin:0 auto;padding:1.4rem 0;border-top:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;color:rgba(255,255,255,.9);font-size:.8rem;}
.footer-bottom-brand{color:rgba(255,255,255,.85);font-size:.8rem;display:flex;align-items:center;gap:.4rem;}
.footer-bottom-brand strong{color:#fff;font-weight:700;text-decoration:underline;}
@media(max-width:768px){.footer-bottom{flex-direction:column;text-align:center;}}
/* Sur mobile, la bulle WhatsApp (fixe en bas a droite) peut recouvrir la
   derniere ligne du footer (copyright) quand on arrive tout en bas de la
   page. On ajoute de la place pour que le texte reste lisible. */
@media(max-width:768px){.footer-bottom{padding-bottom:4.5rem;}}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAROUSEL 3D RÃ‰ALISATIONS â€” Style Gravupub
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.portfolio-3d-section{padding:6rem 0;background:linear-gradient(135deg,#fff5ee 0%,#fff 100%);overflow:hidden;position:relative;}
.portfolio-3d-header{text-align:center;margin-bottom:3rem;padding:0 2rem;}
.portfolio-3d-wrap{position:relative;width:100%;height:620px;display:flex;align-items:center;justify-content:center;overflow:visible;}
.portfolio-3d-stage{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
.p3d-card{
    position:absolute;
    width:260px; height:380px;
    border-radius:16px; overflow:hidden;
    cursor:pointer;
    transition:all 0.55s cubic-bezier(0.4,0,0.2,1);
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
    transform-origin:bottom center;
    user-select:none;
}
.p3d-card img{
    width:100%; height:100%;
    object-fit:cover; object-position:center;
    display:block; pointer-events:none;
    transition:transform .4s;
}
.p3d-card.is-center img{transform:scale(1.03);}
.p3d-placeholder{width:100%;height:100%;background:rgba(230,119,20,.15);display:flex;align-items:center;justify-content:center;font-size:3rem;}
.p3d-label{
    position:absolute; bottom:0; left:0; right:0;
    background:linear-gradient(to top, rgba(20,0,0,0.85) 0%, rgba(243,100,30,0.75) 100%);
    color:#fff; padding:1.2rem .8rem .8rem;
    font-size:.88rem; font-weight:700; text-align:center; line-height:1.3;
    text-shadow:0 1px 4px rgba(0,0,0,.4);
}
.p3d-card.is-center{
    width:320px; height:460px;
    z-index:10;
    box-shadow:0 35px 90px rgba(0,0,0,0.4);
    cursor:default;
}
.p3d-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    z-index:20; width:48px; height:48px; border-radius:50%;
    background:#fff; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 4px 20px rgba(0,0,0,0.2);
    font-size:1.2rem; color:var(--dark); transition:all .25s;
}
.p3d-nav:hover{background:var(--gradient);color:#fff;transform:translateY(-50%) scale(1.1);}
.p3d-prev{left:20px;} .p3d-next{right:20px;}
.p3d-dots{display:flex;justify-content:center;gap:.6rem;margin-top:1.5rem;}
.p3d-dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--orange);background:transparent;cursor:pointer;transition:all .3s;}
.p3d-dot.active{background:var(--orange);transform:scale(1.3);}
.p3d-admin-btns{display:none;justify-content:center;gap:1rem;margin-top:2rem;padding:0 2rem;flex-wrap:wrap;}
.logged-in .p3d-admin-btns{display:flex;}
@media(max-width:768px){
    .portfolio-3d-wrap{height:420px;}
    .p3d-card{width:160px;height:240px;}
    .p3d-card.is-center{width:210px;height:300px;}
    .p3d-prev{left:2px;} .p3d-next{right:2px;}
    .p3d-label{font-size:.7rem;padding:.5rem;}
}

/* â•â• EN CHIFFRES â€” Compteurs animÃ©s avec anneaux SVG â•â• */
.stats-grid{
    max-width:1100px; margin:0 auto;
    display:grid; grid-template-columns:repeat(4,1fr);
    gap:2rem; text-align:center;
}
.stat-item{ display:flex; flex-direction:column; align-items:center; gap:1.2rem; }
.stat-ring{
    position:relative;
    display:inline-flex; align-items:center; justify-content:center;
}
.stat-ring svg{ transform:rotate(-90deg); }
.stat-bg{
    fill:none;
    stroke:rgba(230,119,20,.15);
    stroke-width:8;
}
.stat-fill{
    fill:none;
    stroke:var(--orange);
    stroke-width:8;
    stroke-linecap:round;
    transition:stroke-dashoffset 2s cubic-bezier(.4,0,.2,1);
}
.stat-center{
    position:absolute;
    display:flex; align-items:baseline; justify-content:center;
    gap:2px;
}
.stat-num{
    font-family:'Outfit',sans-serif;
    font-size:2rem; font-weight:800;
    background:var(--gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    line-height:1;
}
.stat-suffix{
    font-family:'Outfit',sans-serif;
    font-size:1.3rem; font-weight:700;
    background:var(--gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.stat-label{
    font-size:.78rem; font-weight:800;
    letter-spacing:.18em; text-transform:uppercase;
    color:var(--dark); margin:0;
}
@media(max-width:768px){
    .stats-grid{grid-template-columns:repeat(2,1fr);gap:2.5rem 1rem;}
    .stat-ring svg{width:130px;height:130px;}
    .stat-num{font-size:1.6rem;}
}
@media(max-width:480px){
    .stats-grid{grid-template-columns:repeat(2,1fr);}
}

/* CTA beige sur toutes les pages intÃ©rieures */
.page-cta-wrap {
    background: #FDF6EE;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(230,119,20,.15);
    margin-bottom: 0;
}
.page-cta-inner {
    max-width: 750px; margin: 0 auto; text-align: center;
    background: var(--gradient);
    border-radius: 24px; padding: 4rem 3rem;
    position: relative; overflow: hidden;
}
.page-cta-inner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 25% 50%, rgba(255,255,255,.15), transparent 60%);
}
.page-cta-inner h2 {
    font-family: 'Outfit',sans-serif; font-size: 2.2rem; font-weight: 800;
    color: #fff; margin-bottom: .8rem; position: relative; z-index: 1;
}
.page-cta-inner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; position: relative; z-index: 1; font-size: 1rem; }
.page-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.whatsapp-btn{position:fixed;bottom:2rem;right:2rem;width:56px;height:56px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;box-shadow:0 5px 25px rgba(37,211,102,.4);z-index:998;text-decoration:none;transition:all .3s;}
.whatsapp-btn:hover{transform:scale(1.1);}

/* â•â• MENU DÃ‰ROULANT SERVICES â€” Liste simple â•â• */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .4rem; cursor: pointer; }
.nav-dropdown > a::after { content: none !important; }
.nav-arrow { font-size: .6rem; transition: transform .3s; display: inline-block; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%; transform: translateX(-50%);
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: .5rem;
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    border: 1px solid rgba(230,119,20,.12);
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute; top: -5px; left: 50%;
    width: 10px; height: 10px;
    background: #fff;
    border-top: 1px solid rgba(230,119,20,.12);
    border-left: 1px solid rgba(230,119,20,.12);
    transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-srv-item {
    display: flex; align-items: center; gap: .7rem;
    padding: .6rem .9rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-size: .85rem; font-weight: 500;
    transition: all .2s;
}
.nav-srv-item:hover {
    background: linear-gradient(135deg, rgba(230,119,20,.08), rgba(227,30,36,.05));
    color: var(--red);
    padding-left: 1.1rem;
}
.nav-srv-item:hover::after { display: none !important; }
.nav-srv-icon{width:44px;height:44px;background:rgba(230,119,20,.1);border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--orange);transition:background .2s;}
.nav-srv-icon img{width:32px;height:32px;object-fit:contain;}
.nav-srv-item:hover .nav-srv-icon{background:rgba(230,119,20,.2);}
/* SÃ©parateur + lien tous services */
.nav-srv-divider { height: 1px; background: #f0f0f0; margin: .4rem .5rem; }
.nav-srv-all {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .6rem; border-radius: 8px;
    background: var(--gradient); color: #fff !important;
    text-decoration: none; font-size: .8rem; font-weight: 700;
    transition: all .2s; margin-top: .2rem;
}
.nav-srv-all:hover { opacity: .9; color: #fff !important; padding-left: .6rem !important; background: var(--gradient) !important; }
.nav-srv-all::after { display: none !important; }
/* Toutes les sections sombres â€” charte COREAL uniquement */
.cta-section,.val-manifeste,.port-testi,.srv-process,.about-numbers{
    background: #E67714 !important;
}
html{height:100%;}
body{min-height:100%;display:flex;flex-direction:column;}
.site-main{flex:1;}
.site-footer{margin-top:auto;}
.fade-in{opacity:0;transform:translateY(25px);transition:all .6s ease;}
.fade-in.active{opacity:1;transform:translateY(0);}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE FLUID â€” COREAL CONCEPTION
   Couvre : mobile 320px â†’ ultrawide 2560px+
   Principe : fluid grids + clamp() + no dead zones
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Conteneur fluide â”€â”€ */
.hero-inner,
.section-wrap > *,
.footer-grid,
.services-grid,
.portfolio-grid,
.stats-grid,
.values-inner,
.contact-grid,
.clients-section-inner,
.off-grille-inner,
.off-blocs,
.off-process-inner,
.off-autres-inner,
.pcest-in,
.pchi-in,
.pvsv-in,
.pfin-in,
.pproc-in,
.pit-in,
.psrv-in,
.plo-in,
.pcta-wrap,
.pcta-cnt {
    max-width: min(1400px, 96vw);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 3rem);
    padding-right: clamp(1rem, 3vw, 3rem);
}

/* Sections elles-memes : padding vertical fluide */
.section-wrap,
.pit, .pfin, .psrv, .pcest, .pchi, .pvsv, .pcta, .pproc,
.off-grille, .off-process, .off-cta-wrap, .off-autres,
.portfolio-3d-section, .cta-section {
    padding-top: clamp(3rem, 6vw, 8rem);
    padding-bottom: clamp(3rem, 6vw, 8rem);
    padding-left: 0;
    padding-right: 0;
}

/* â”€â”€ Typographies fluides â”€â”€ */
.hero-title       { font-size: clamp(1.8rem, 4.5vw, 4rem) !important; }
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; }
.off-hero h1, .ph-brand { font-size: clamp(2.5rem, 8vw, 7rem) !important; }
.pchi-left h2     { font-size: clamp(1.8rem, 3vw, 3rem) !important; }
.pcta-wrap h2     { font-size: clamp(1.8rem, 3.5vw, 3.6rem) !important; }
.pit-h2           { font-size: clamp(1.6rem, 2.8vw, 3rem) !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•
   GRILLES FLUIDES â€” s'adaptent automatiquement
   Ã  toutes les tailles d'Ã©cran
â•â•â•â•â•â•â•â•â•â•â•â• */

/* Services accueil : 1 â†’ 2 â†’ 3 colonnes */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)) !important;
    gap: clamp(1rem, 2vw, 2rem) !important;
}

/* Stats : toujours 2 colonnes min, 4 max */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)) !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
}

/* Footer : 1 â†’ 2 â†’ 4 colonnes */
.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
    gap: clamp(1.5rem, 3vw, 3rem) !important;
}

/* Clients dÃ©filement â€” logos fluides */
.clients-track .client-logo {
    min-width: clamp(110px, 12vw, 160px) !important;
    height: clamp(80px, 8vw, 120px) !important;
}
.clients-track .client-logo img {
    max-width: clamp(70px, 8vw, 115px) !important;
    max-height: clamp(45px, 5vw, 72px) !important;
}

/* Hero grille : 1 col mobile, 2 col desktop */
.hero-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(1.5rem, 4vw, 4rem) !important;
}
@media (min-width: 900px) {
    .hero-inner { grid-template-columns: 1fr 1fr !important; }
}

/* Valeurs & contact : 1 â†’ 2 colonnes */
.values-inner, .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(1.5rem, 3vw, 4rem) !important;
}
@media (min-width: 800px) {
    .values-inner { grid-template-columns: 1fr 1fr !important; }
    .contact-grid { grid-template-columns: 1fr 1fr !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   HERO IMAGE â€” slider fluide
â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-slide-item img {
    width: 100% !important;
    height: clamp(220px, 38vw, 600px) !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 16px !important;
}
.contact-quick {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.1) !important;
    border-radius: 14px !important;
}
@media (min-width: 900px) {
    .contact-quick {
        position: absolute !important;
        bottom: -.5rem !important;
        right: 1rem !important;
        width: auto !important;
        max-width: 380px !important;
        margin-top: 0 !important;
    }
    .hero-image-wrap { padding-bottom: 3.5rem !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   CAROUSEL 3D â€” fluide et proportionnel
â•â•â•â•â•â•â•â•â•â•â•â• */
.portfolio-3d-wrap {
    height: clamp(280px, 45vw, 680px) !important;
    perspective: 1200px !important;
}
.p3d-card {
    width:  clamp(90px, 15vw, 240px) !important;
    height: clamp(135px, 22vw, 360px) !important;
}
.p3d-card.is-center {
    width:  clamp(140px, 22vw, 340px) !important;
    height: clamp(210px, 33vw, 500px) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE SERVICES â€” grilles intÃ©rieures
â•â•â•â•â•â•â•â•â•â•â•â• */
/* Section expÃ©rience / chiffres */
.pchi-in {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 4vw, 6rem) !important;
}
@media (min-width: 900px) {
    .pchi-in { grid-template-columns: 1fr 1fr !important; }
}
.pchi-right {
    height: clamp(300px, 40vw, 520px) !important;
}

/* Section image + texte */
.pit-in {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(1.5rem, 3vw, 6rem) !important;
}
@media (min-width: 900px) {
    .pit-in { grid-template-columns: 1fr 1fr !important; }
    .pit-in.reverse { direction: rtl !important; }
    .pit-in.reverse > * { direction: ltr !important; }
}

/* Section venez nous voir */
.pvsv-in {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 4vw, 6rem) !important;
}
@media (min-width: 900px) {
    .pvsv-in { grid-template-columns: 1.2fr .8fr !important; }
}

/* Section finitions */
.pfin-in {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 4vw, 6rem) !important;
}
@media (min-width: 900px) {
    .pfin-in { grid-template-columns: 1fr 1fr !important; }
}

/* COREAL C'EST */
.pcest-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}

/* Processus */
.pproc-steps {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)) !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
}
.pproc-steps::after { display: none; }
@media (min-width: 900px) {
    .pproc-steps { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1100px) {
    .pproc-steps { grid-template-columns: repeat(6, 1fr) !important; }
    .pproc-steps::after { display: block; }
}

/* Grille services */
.psrv-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}
.psrv-wrap:first-child { grid-column: 1 !important; }
@media (min-width: 700px) {
    .psrv-wrap:first-child { grid-column: 1 / span 2 !important; }
}
@media (min-width: 1100px) {
    .psrv-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   PAGES IMPRESSION OFFSET / NUMERIQUE
â•â•â•â•â•â•â•â•â•â•â•â• */
.off-bloc {
    display: grid !important;
    grid-template-columns: 1fr !important;
    direction: ltr !important;
}
@media (min-width: 900px) {
    .off-bloc { grid-template-columns: 1fr 1fr !important; }
    .off-bloc.pair { direction: rtl !important; }
    .off-bloc.pair > * { direction: ltr !important; }
}
.off-bloc-img img,
.off-bloc-img-ph { min-height: clamp(200px, 30vw, 540px) !important; }
.off-bloc-body {
    padding: clamp(1.5rem, 4vw, 5rem) clamp(1.2rem, 5vw, 6rem) !important;
}
.off-bloc-body h3 { font-size: clamp(1.3rem, 2.5vw, 2rem) !important; }

.off-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)) !important;
    gap: clamp(.8rem, 2vw, 1.5rem) !important;
}
.off-steps {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}
.off-steps::before { display: none !important; }
@media (min-width: 900px) {
    .off-steps { grid-template-columns: repeat(4, 1fr) !important; }
    .off-steps::before { display: block !important; }
}
.off-autres-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: clamp(.6rem, 1.5vw, 1rem) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   BREAKPOINTS HEADER & NAVIGATION
â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 900px) {
    .main-nav { display: none !important; }
    .hamburger { display: flex !important; }
    .site-tagline { display: none; }
    .nav-dropdown-menu { display: none !important; }
    .ticker-item { font-size: .62rem; letter-spacing: .08em; padding: 0 14px; }
}
@media (min-width: 901px) {
    .hamburger { display: none !important; }
    .main-nav { display: flex !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   BOUTONS â€” toujours lisibles
â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 600px) {
    .hero-btns, .cta-btns, .off-cta-btns, .conf-hero-btns, .srv-cta-box .cta-btns, .pcta-btns, .pcta-cnt .pcta-btns {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .6rem !important;
    }
    .btn-primary, .btn-secondary, .btn-white, .btn-outline-w,
    .off-cta-btns a, .conf-hero-btns a, .srv-cta-box .cta-btns a {
        width: 100% !important;
        text-align: center !important;
        padding: .85rem 1rem !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   HERO SECTIONS PAGES INTERIEURES
â•â•â•â•â•â•â•â•â•â•â•â• */
.off-hero, .ph {
    min-height: clamp(50vh, 65vw, 90vh) !important;
}
.off-hero-content {
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 3rem) !important;
}
.off-hero-desc { font-size: clamp(.82rem, 1.5vw, 1.05rem) !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•
   ULTRA-LARGE (1600px+) â€” plus de dead zones
â•â•â•â•â•â•â•â•â•â•â•â• */
@media (min-width: 1600px) {
    .hero-inner,
    .footer-grid,
    .section-wrap > *,
    .off-grille-inner,
    .off-process-inner,
    .off-autres-inner,
    .pcest-in, .pchi-in, .pvsv-in, .pfin-in, .pproc-in,
    .pit-in, .psrv-in, .plo-in, .pcta-wrap {
        max-width: min(1600px, 94vw) !important;
    }
    .hero-title { font-size: clamp(3rem, 3.5vw, 5rem) !important; }
    .section-header h2 { font-size: clamp(2rem, 2.8vw, 3.8rem) !important; }
    .service-card-img { height: 320px !important; }
    .services-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .portfolio-3d-wrap { height: clamp(500px, 40vw, 800px) !important; }
    .p3d-card { width: clamp(200px, 12vw, 300px) !important; height: clamp(300px, 18vw, 450px) !important; }
    .p3d-card.is-center { width: clamp(280px, 18vw, 420px) !important; height: clamp(420px, 27vw, 620px) !important; }
    .clients-track .client-logo { min-width: 180px !important; height: 130px !important; }
    .stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
    .stat-ring svg { width: 180px !important; height: 180px !important; }
    .stat-num { font-size: 2.4rem !important; }
}

@media (min-width: 2000px) {
    .hero-inner,
    .footer-grid,
    .section-wrap > *,
    .pcest-in, .pchi-in, .pvsv-in, .pfin-in, .pproc-in,
    .pit-in, .psrv-in, .plo-in, .pcta-wrap {
        max-width: min(1900px, 92vw) !important;
    }
    .hero-title { font-size: clamp(3.5rem, 3vw, 6rem) !important; }
    .section-header h2 { font-size: clamp(2.5rem, 2.5vw, 4.5rem) !important; }
    .services-grid { grid-template-columns: repeat(4, 1fr) !important; }
    .service-card-img { height: 360px !important; }
    .stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•
   CORRECTIONS FINALES â€” Ã©lÃ©ments isolÃ©s
â•â•â•â•â•â•â•â•â•â•â•â• */
/* Pas de dÃ©passement horizontal */
*, *::before, *::after { box-sizing: border-box; }
body, html { overflow-x: hidden; }

/* Images toujours dans leur conteneur */
img { max-width: 100%; height: auto; display: block; }

/* Textes longs ne cassent pas le layout */
p, h1, h2, h3, h4, span, a, li, blockquote, td, th {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Section CTA finale page services â€” pleine largeur */
.pcta-wrap {
    border-radius: clamp(12px, 2vw, 28px) !important;
    min-height: clamp(300px, 35vw, 520px) !important;
}
.pcta-cnt {
    padding: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 5vw, 5rem) !important;
}

/* Section finitions : galerie photos */
.pfin-imgs {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 45%), 1fr)) !important;
    gap: clamp(.8rem, 1.5vw, 1.2rem) !important;
}

/* Grille photos rÃ©alisations */
.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)) !important;
    gap: clamp(1rem, 2vw, 2rem) !important;
}

/* Bandeau offset */
.off-banner {
    height: clamp(200px, 25vw, 480px) !important;
}
.off-banner h2 { font-size: clamp(1.4rem, 3.5vw, 4rem) !important; }
.off-banner p  { font-size: clamp(.82rem, 1.3vw, 1.1rem) !important; }

/* CTA box pages intÃ©rieures */
.off-cta-box, .page-cta-inner, .srv-cta-box {
    padding: clamp(2rem, 4vw, 4.5rem) clamp(1.2rem, 5vw, 4rem) !important;
    border-radius: clamp(14px, 2vw, 24px) !important;
}
.off-cta-box h2, .page-cta-inner h2, .srv-cta-box h2 {
    font-size: clamp(1.4rem, 2.8vw, 2.4rem) !important;
}

/* Chiffres hÃ©ro */
.pchi-n { font-size: clamp(2rem, 4vw, 3.5rem) !important; }
.pchi-nums { gap: clamp(1.5rem, 4vw, 3.5rem) !important; }

@media(max-width:1024px){
    /* Layout gÃ©nÃ©ral */
    .hero-inner,.values-inner,.contact-grid{grid-template-columns:1fr;}
    .services-grid,.portfolio-grid{grid-template-columns:1fr 1fr;}
    .stats-grid{grid-template-columns:repeat(2,1fr);}
    /* Contact rapide */
    .contact-quick{bottom:2rem;}
    /* Footer */
    .footer-inner{padding:3rem 1.5rem 1.5rem;}
    /* Pages intÃ©rieures */
    .srv-ind-hero-inner,.about-story-inner,.val-why-inner,.srv-intro-inner{grid-template-columns:1fr;gap:2rem;}
    .srv-ind-img-wrap{display:none;}
    .val-hero-inner{grid-template-columns:1fr;}
    .numbers-grid{grid-template-columns:repeat(2,1fr);}
    .about-srv-row{grid-template-columns:repeat(3,1fr);}
    .srv-avantages{grid-template-columns:1fr 1fr;}
    .testimonials{grid-template-columns:1fr 1fr;}
    .srv-produits-grid{grid-template-columns:1fr 1fr;}
    .val-cards-grid{grid-template-columns:1fr 1fr;}
    .real-grid{grid-template-columns:repeat(2,1fr);}
    .real-item:first-child{grid-column:span 2;grid-row:span 1;}
    .srv-autres-grid{grid-template-columns:repeat(3,1fr);}
    /* Process */
    .process-steps{grid-template-columns:1fr 1fr;}
    .process-steps::before{display:none;}
}

@media(max-width:768px){
    /* â”€ HEADER â”€ */
    .main-nav{display:none;}
    .hamburger{display:flex;}
    .header-inner{padding:0 1rem;}
    .site-logo img,.custom-logo{height:44px!important;}
    .site-tagline{display:none;}
    /* Menu dÃ©roulant mobile â€” dans le menu mobile Ã  la place */
    .nav-dropdown-menu{display:none!important;}

    /* â”€ HERO â”€ */
    .hero-section{padding:2.5rem 1rem;min-height:auto;}
    .hero-inner{gap:2rem;}
    .hero-title{font-size:clamp(1.8rem,8vw,2.6rem);}
    .hero-desc{font-size:.92rem;}
    .hero-btns{gap:.7rem;}
    .btn-primary,.btn-secondary{padding:.75rem 1.4rem;font-size:.88rem;}
    .hero-features{grid-template-columns:1fr;gap:.6rem;}
    .hero-slide-item img{height:240px;}
    .contact-quick{width:190px;padding:1rem 1.3rem;}
    .contact-quick a{font-size:.88rem;}

    /* â”€ SECTIONS â”€ */
    .section-wrap{padding:3.5rem 1rem;}
    .section-header{margin-bottom:2rem;}
    .section-header h2{font-size:1.6rem;}
    .section-header p{font-size:.95rem;}
    .section-tag{font-size:.72rem;}

    /* â”€ SERVICES â”€ */
    .services-grid{grid-template-columns:1fr;}
    .service-card-img{height:180px;}

    /* â”€ CAROUSEL 3D â”€ */
    .portfolio-3d-wrap{height:360px;}
    .portfolio-3d-section{padding:3rem 0;}
    .p3d-card{width:130px!important;height:195px!important;}
    .p3d-card.is-center{width:175px!important;height:260px!important;}
    .p3d-prev{left:4px;}
    .p3d-next{right:4px;}
    .p3d-label{font-size:.68rem!important;padding:.5rem!important;}

    /* â”€ STATS â”€ */
    .stats-grid{grid-template-columns:repeat(2,1fr);gap:2rem 1rem;}
    .stat-ring svg{width:130px;height:130px;}
    .stat-num{font-size:1.6rem;}
    .stat-suffix{font-size:1.1rem;}
    .stat-label{font-size:.68rem;letter-spacing:.1em;}

    /* â”€ CLIENTS â”€ */
    .clients-track{animation-duration:20s;}
    .clients-section-inner::before,.clients-section-inner::after{width:50px;}

    /* â”€ VALEURS â”€ */
    .values-inner{gap:2rem;}

    /* â”€ CTA â”€ */
    .cta-section{padding:3.5rem 1rem;}
    .cta-inner h2{font-size:1.6rem;}
    .cta-inner p{font-size:.95rem;}
    .cta-btns{flex-direction:column;align-items:center;gap:.8rem;}
    .btn-white,.btn-outline-w{width:100%;text-align:center;padding:.9rem 1.5rem;}

    /* â”€ CONTACT â”€ */
    .contact-grid{grid-template-columns:1fr;gap:2rem;}
    .contact-form-wrap{padding:1.5rem;}

    /* â”€ FOOTER â”€ */
    .footer-inner{padding:2.5rem 1.2rem 1.5rem;}
    .footer-bottom{flex-direction:column;text-align:center;gap:.6rem;}
    .footer-logo-img{height:48px;}
    .footer-about h3{font-size:1.2rem;}

    /* â”€ PAGES INTÃ‰RIEURES â”€ */
    /* Services */
    .srv-hero{padding:4rem 1rem 2.5rem;}
    .srv-hero h1{font-size:2rem;}
    .srv-grid{grid-template-columns:1fr;}
    .srv-cta-inner{padding:2rem 1.2rem;}
    .srv-cta-inner h2{font-size:1.5rem;}
    .process-steps{grid-template-columns:1fr 1fr;gap:1.5rem;}
    /* RÃ©alisations */
    .real-hero{padding:4rem 1rem 2.5rem;}
    .real-hero h1{font-size:2.2rem;}
    .real-hero-stats{gap:1.2rem;}
    .real-stat strong{font-size:1.5rem;}
    .real-grid{grid-template-columns:1fr;}
    .real-item:first-child{grid-column:span 1;}
    .real-filters{gap:.5rem;}
    .rf-btn{padding:.4rem .9rem;font-size:.78rem;}
    .testimonials{grid-template-columns:1fr;}
    /* Valeurs */
    .val-hero{padding:3.5rem 1rem 2.5rem;}
    .val-hero h1{font-size:2rem;}
    .val-cards-grid{grid-template-columns:1fr;}
    .val-manifeste blockquote{font-size:1.3rem;}
    /* A propos */
    .about-hero{padding:4rem 1rem;min-height:auto;}
    .about-hero h1{font-size:2.2rem;}
    .numbers-grid{grid-template-columns:repeat(2,1fr);}
    .number-big{font-size:2.5rem;}
    .about-srv-row{grid-template-columns:repeat(2,1fr);}
    /* Service individuel */
    .srv-ind-hero{padding:4rem 1rem 2.5rem;}
    .srv-ind-hero h1{font-size:2rem;}
    .srv-produits-grid{grid-template-columns:1fr;}
    .srv-avantages{grid-template-columns:1fr;}
    .srv-autres-grid{grid-template-columns:repeat(2,1fr);}
    .srv-devis-card{padding:2rem 1.2rem;}
    .srv-devis-card h2{font-size:1.5rem;}
    /* Contact page */
    .contact-page-hero{padding:3.5rem 1rem 2.5rem;}
    .contact-page-hero h1{font-size:2.2rem;}
    .coreal-map-wrap iframe{height:300px;}
    /* Page service individuel */
    .breadcrumb{padding:.8rem 1rem;font-size:.75rem;}
}

@media(max-width:480px){
    /* â”€ trÃ¨s petit â”€ */
    .hero-title{font-size:1.6rem;}
    .hero-btns{flex-direction:column;}
    .btn-primary,.btn-secondary{width:100%;text-align:center;}
    .hero-features{grid-template-columns:1fr;}
    /* Carousel 3D */
    .portfolio-3d-wrap{height:300px;}
    .p3d-card{width:105px!important;height:158px!important;}
    .p3d-card.is-center{width:140px!important;height:210px!important;}
    /* Stats */
    .stats-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem;}
    .stat-ring svg{width:110px;height:110px;}
    .stat-num{font-size:1.4rem;}
    /* Pages */
    .srv-grid{grid-template-columns:1fr;}
    .srv-autres-grid{grid-template-columns:repeat(2,1fr);}
    .about-srv-row{grid-template-columns:repeat(2,1fr);}
    .numbers-grid{grid-template-columns:repeat(2,1fr);}
    .process-steps{grid-template-columns:1fr;}
    .val-cards-grid{grid-template-columns:1fr;}
    /* CTA btns */
    .srv-devis-btns{flex-direction:column;}
    .srv-devis-btns a{width:100%;text-align:center;}
}

/* â•â• OVERRIDE CLIENTS : DEFILEMENT INFINI â•â•
   Remplace la grille statique par un carousel
   qui deile en continu comme un fil */
.clients-section-inner {
    position: relative;
    overflow: hidden;
    padding: .5rem 0;
}
.clients-section-inner::before,
.clients-section-inner::after {
    content: ''; position: absolute;
    top: 0; bottom: 0; width: 100px;
    z-index: 2; pointer-events: none;
}
.clients-section-inner::before {
    left: 0;
    background: linear-gradient(to right, var(--light), transparent);
}
.clients-section-inner::after {
    right: 0;
    background: linear-gradient(to left, var(--light), transparent);
}
.clients-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: clientsScroll 28s linear infinite;
    align-items: center;
}
.clients-section-inner:hover .clients-track {
    animation-play-state: paused;
}
@keyframes clientsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Perspective 3D pour le carousel */
.portfolio-3d-wrap { perspective: 1000px !important; }
.portfolio-3d-stage { transform-style: preserve-3d !important; }
/* Cartes agrandies + image couvre bien */
.p3d-card{width:240px!important;height:360px!important;border-radius:16px!important;}
.p3d-card img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;}
.p3d-card.is-center{width:290px!important;height:425px!important;}
.p3d-label{font-size:.85rem!important;padding:1rem .8rem .85rem!important;}

/* Chaque logo dans le fil */
.clients-track .client-logo {
    height: 110px;
    min-width: 155px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    transition: all .3s;
    position: relative;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.clients-track .client-logo:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 12px 30px rgba(230,119,20,.2);
    border-color: rgba(230,119,20,.35);
}
.clients-track .client-logo img {
    max-width: 110px;
    max-height: 68px;
    object-fit: contain;
    filter: none;
    transition: transform .3s;
    display: block;
}
.clients-track .client-logo:hover img {
    transform: scale(1.1);
}

/* Carousel 3D â€” carte centrale toujours au premier plan */
.portfolio-3d-wrap { height: 650px !important; }
.portfolio-3d-stage { isolation: isolate; }
.p3d-card { width: 220px !important; height: 330px !important; }
.p3d-card.is-center {
    width: 380px !important;
    height: 560px !important;
    z-index: 100 !important;
    box-shadow: 0 50px 120px rgba(0,0,0,.5) !important;
    position: absolute !important;
}
/* Toutes les cartes NON centrales : en arriere-plan */
.p3d-card:not(.is-center) {
    z-index: 1 !important;
}
/* â”€â”€ SERVICES ACCUEIL â€” style carte photo + texte bas â”€â”€ */
.service-card {
    background: #efe8dd !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.07) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all .35s !important;
}
.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.13) !important;
}
.service-card::before { display: none !important; }
/* Photo â€” grande, occupe le max */
.service-card-img {
    height: 260px !important;
    background: #e0e0e0 !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
}
.service-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: static !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    transition: transform .5s !important;
}
.service-card:hover .service-card-img img {
    transform: scale(1.07) !important;
}
/* Placeholder icone */
.service-card-img-placeholder {
    background: #e4e4e4 !important;
    height: 100% !important;
}
.service-card-img-placeholder .service-icon {
    background: rgba(230,119,20,.15) !important;
}
/* Corps texte â€” fond gris clair, texte descendu en bas */
.service-card-body {
    background: #fff !important;
    padding: 1.4rem 1.5rem 1.6rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}
.service-card-body a {
    text-decoration: none !important;
    color: inherit !important;
}
.service-card-body a:hover h3 {
    color: var(--orange) !important;
}
.service-card h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: .5rem !important;
    color: var(--dark) !important;
}
.service-card-body > p {
    color: var(--gray) !important;
    font-size: .88rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}
/* Numero badge â€” cache */
.service-number { display: none !important; }
/* Cacher boutons */
.services-grid .service-link,
.services-grid .service-card-link { display: none !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   QUALITE IMAGE â€” toutes les images du site
   doivent etre nettes, sans deformation
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* NOTE : une version precedente de ce bloc forcait
   "image-rendering:crisp-edges" + "transform:translateZ(0)" sur
   TOUTES les images du site. crisp-edges est fait pour les
   pixel-art/icones — applique a des photos, ca desactive le
   lissage et peut au contraire les rendre plus dures/pixelisees,
   de façon differente selon le navigateur et la carte graphique
   (rendu qui varie d'une machine a l'autre = correspond exactement
   au probleme signale). On revient au rendu par defaut du
   navigateur (lissage bicubique), le bon choix pour des photos.
   Le forçage GPU sur chaque image est aussi retire (garde
   seulement sur les elements reellement animes) car il peut
   ralentir/degrader le rendu sur une carte graphique faible. */
img {
    image-rendering: auto;
}

/* Cartes services accueil — animation au survol, GPU utile ici */
.service-card-img img {
    will-change: transform;
}

/* Carousel 3D realisations */
.p3d-card img {
    will-change: transform;
}

/* Hero slider */
.hero-slide-item img {
    will-change: transform;
}

/* Pages mockup Persotic */
.offset-mockup-img,
.srv-mockup-img,
.port-card-img,
.conf-card-img img {
    will-change: transform;
}

/* Diaporama hero pages services */
.srv-hero-slide,
.offset-slide {
    will-change: opacity;
}

/* === VIDEO FOND HERO â€” tous formats adaptÃ©s === */
.srv-hero-video, .conf-hero-video, .port-hero-media, .offset-hero-video {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.srv-hero-video video,
.conf-hero-video video,
.port-hero-media video,
.offset-hero-video video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
    opacity: .3;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE COMPLET â€” TOUTES LES PAGES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media(max-width:768px){
    /* HEADER */
    .main-nav{display:none;} .hamburger{display:flex;}
    .header-inner{padding:0 1rem;}
    .site-logo img,.custom-logo{height:44px!important;}
    .site-tagline{display:none;}
    .nav-dropdown-menu{display:none!important;}
    .ticker-item{font-size:.62rem;letter-spacing:.1em;padding:0 16px;}

    /* HERO ACCUEIL */
    .hero-section{padding:2rem 1rem;min-height:auto;}
    .hero-inner{grid-template-columns:1fr!important;gap:2rem;}
    .hero-title{font-size:clamp(1.6rem,7vw,2.2rem);}
    .hero-desc{font-size:.88rem;margin-bottom:1.2rem;}
    .hero-btns{flex-direction:column;gap:.6rem;}
    .btn-primary,.btn-secondary{width:100%;text-align:center;padding:.8rem 1.2rem;font-size:.88rem;}
    .hero-features{grid-template-columns:1fr;gap:.6rem;}
    .hero-feature{padding:.75rem;}
    .hero-image-wrap{padding-bottom:0;}
    .hero-slide-item img{height:220px;}
    .contact-quick{position:static!important;width:100%!important;max-width:100%!important;margin-top:.8rem;box-shadow:0 4px 15px rgba(0,0,0,.1);border-radius:12px;}

    /* SECTIONS */
    .section-wrap{padding:3rem 1rem;}
    .section-header{margin-bottom:1.8rem;}
    .section-header h2{font-size:1.45rem;}
    .section-header p{font-size:.88rem;}
    .section-tag{font-size:.68rem;}

    /* SERVICES */
    .services-grid{grid-template-columns:1fr!important;gap:1rem;}
    .service-card-img{height:190px!important;}

    /* CAROUSEL 3D */
    .portfolio-3d-section{padding:2.5rem 0;}
    .portfolio-3d-wrap{height:300px!important;}
    .p3d-card{width:100px!important;height:150px!important;}
    .p3d-card.is-center{width:155px!important;height:230px!important;}
    .p3d-prev{left:2px!important;} .p3d-next{right:2px!important;}
    .p3d-label{font-size:.62rem!important;padding:.35rem!important;}

    /* STATS */
    .stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:1.8rem .8rem;}
    .stat-ring svg{width:115px;height:115px;}
    .stat-num{font-size:1.4rem;} .stat-suffix{font-size:.95rem;}
    .stat-label{font-size:.62rem;letter-spacing:.07em;}

    /* CLIENTS */
    .clients-track{gap:.8rem;}
    .clients-track .client-logo{min-width:110px;height:80px;padding:.8rem;}
    .clients-track .client-logo img{max-width:75px;max-height:50px;}
    .clients-section-inner::before,.clients-section-inner::after{width:30px;}

    /* VALEURS */
    .values-inner{grid-template-columns:1fr!important;gap:1.5rem;}
    .values-list li,.why-list li{padding:.9rem 1rem;}

    /* CTA */
    .cta-section{padding:3rem 1rem;}
    .cta-inner h2{font-size:1.4rem;} .cta-inner p{font-size:.88rem;}
    .cta-btns{flex-direction:column;align-items:stretch;gap:.6rem;}
    .btn-white,.btn-outline-w{width:100%;text-align:center;padding:.8rem 1.2rem;}

    /* CONTACT */
    .contact-grid{grid-template-columns:1fr!important;gap:1.5rem;}
    .contact-form-wrap{padding:1.5rem 1rem;}

    /* FOOTER */
    .footer-inner{padding:2rem 1rem 1.2rem;}
    .footer-bottom{flex-direction:column;text-align:center;gap:.5rem;font-size:.72rem;}
    .footer-logo-img{height:42px;}
    .footer-about h3{font-size:1.1rem;}
    .footer-col h4{font-size:.7rem;margin-bottom:.8rem;}
    .footer-col ul li a{font-size:.82rem;}
    .footer-contact-item p,.footer-contact-item a{font-size:.82rem;}

    .hero-slider-btn{opacity:0;pointer-events:none;}
    .hero-slider:hover .hero-slider-btn{opacity:1;pointer-events:auto;}
    /* Footer mobile â€” Services et Entreprise cote a cote */
    .footer-grid{grid-template-columns:1fr 1fr!important;gap:1.2rem;}
    .footer-grid .footer-about{grid-column:1/-1;}
    .footer-grid .footer-col:last-child{grid-column:1/-1;}

    /* PAGE IMPRESSION OFFSET */
    .off-hero{min-height:0!important;height:auto!important;}
    .off-hero-card{min-height:260px;}
    .off-hero h1{font-size:clamp(1.8rem,9vw,2.8rem);}
    .off-hero-content{padding:2rem 1rem 3rem;}
    .off-hero-desc{font-size:.85rem;max-width:100%;}
    .off-prev{left:.5rem;} .off-next{right:.5rem;}
    /* Intro offset â€” 1 colonne */
    section.off-intro>div[style]{display:flex!important;flex-direction:column!important;gap:1.5rem!important;}
    /* Blocs alternÃ©s */
    .off-bloc{grid-template-columns:1fr!important;direction:ltr!important;}
    .off-bloc.pair{direction:ltr!important;}
    .off-bloc-img img,.off-bloc-img-ph{min-height:200px;}
    .off-bloc-body{padding:2rem 1rem;}
    .off-bloc-body h3{font-size:1.25rem;}
    .off-bloc-num{font-size:3rem;}
    /* Grille produits */
    .off-grille{padding:2.5rem 1rem;}
    .off-grid{grid-template-columns:1fr 1fr!important;gap:.8rem;}
    /* Bandeau */
    .off-banner{height:220px;}
    .off-banner h2{font-size:1.4rem;}
    .off-banner p{font-size:.82rem;}
    .off-banner-content{padding:0 1rem;}
    /* Processus */
    .off-process{padding:2.5rem 1rem;}
    .off-steps{grid-template-columns:1fr 1fr!important;gap:1rem;}
    .off-steps::before{display:none;}
    .off-step h4{font-size:.82rem;}
    /* CTA */
    .off-cta-wrap{padding:2.5rem 1rem;}
    .off-cta-box{padding:2rem 1rem;border-radius:14px;}
    .off-cta-box h2{font-size:1.35rem;}
    .off-cta-btns{flex-direction:column;gap:.6rem;}
    .off-cta-btns a{width:100%;text-align:center;}
    /* Autres services */
    .off-autres{padding:2.5rem 1rem;}
    .off-autres-grid{gap:.6rem!important;}
    .off-autre{padding:.8rem .5rem;width:calc(33.333% - .6rem)!important;}
    .off-autre h4{font-size:.7rem;}
    .off-autre small{font-size:.65rem;}

    /* PAGES SERVICES INDIVIDUELLES */
    .srv-ind-hero-inner{grid-template-columns:1fr!important;}
    .srv-ind-img-wrap{display:none!important;}
    .srv-produits-grid{grid-template-columns:1fr 1fr!important;}
    .srv-avantages{grid-template-columns:1fr!important;}
    .srv-autres-grid{grid-template-columns:repeat(2,1fr)!important;}
    .process-steps{grid-template-columns:1fr 1fr!important;}
    .process-steps::before{display:none;}
    .srv-devis-btns{flex-direction:column;}
    .srv-devis-btns a{width:100%;text-align:center;}

    /* PAGES STANDARD */
    .val-cards-grid{grid-template-columns:1fr!important;}
    .numbers-grid{grid-template-columns:repeat(2,1fr)!important;}
    .about-srv-row{grid-template-columns:repeat(2,1fr)!important;}
    .real-grid{grid-template-columns:1fr!important;}
    .real-item:first-child{grid-column:span 1!important;}
    .testimonials{grid-template-columns:1fr!important;}
    .coreal-map-wrap iframe{height:250px;}
}

@media(max-width:480px){
    .hero-title{font-size:1.5rem;}
    .off-grid{grid-template-columns:1fr!important;}
    .off-autre{width:calc(50% - .5rem)!important;}
    .off-steps{grid-template-columns:1fr!important;}
    .stats-grid{grid-template-columns:repeat(2,1fr)!important;}
    .numbers-grid{grid-template-columns:repeat(2,1fr)!important;}
    .process-steps{grid-template-columns:1fr!important;}
    .portfolio-3d-wrap{height:260px!important;}
    .p3d-card{width:85px!important;height:130px!important;}
    .p3d-card.is-center{width:130px!important;height:195px!important;}
}

/* â•â• RESPONSIVE PAGES INTERIEURES â•â• */
@media(max-width:768px){
    /* Confection */
    .conf-hero{padding:3rem 1rem 2rem;min-height:auto;}
    .conf-hero h1{font-size:clamp(1.8rem,8vw,2.5rem);}
    .conf-hero-inner{grid-template-columns:1fr!important;}
    .conf-hero-img{display:none!important;}
    .conf-hero-btns{flex-direction:column;gap:.6rem;}
    .conf-hero-btns a{width:100%;text-align:center;}
    .conf-intro-inner{grid-template-columns:1fr!important;}
    .conf-machines{grid-template-columns:1fr 1fr!important;}
    .conf-grid{grid-template-columns:1fr 1fr!important;}
    .conf-perso-grid{grid-template-columns:1fr!important;}
    .conf-steps{grid-template-columns:1fr 1fr!important;}
    .conf-steps::before{display:none;}
    .conf-autres-grid{grid-template-columns:repeat(3,1fr)!important;}
    .conf-cta-inner{padding:2rem 1rem;}
    .conf-cta-inner h2{font-size:1.4rem;}
    .conf-cta-btns{flex-direction:column;gap:.6rem;}
    .conf-cta-btns a{width:100%;text-align:center;}

    /* Service individuel */
    .srv-ind-hero{padding:3rem 1rem 2rem;min-height:auto;}
    .srv-ind-hero h1{font-size:clamp(1.8rem,7vw,2.4rem);}
    .srv-ind-hero-inner{grid-template-columns:1fr!important;}
    .srv-hero-slider{display:none!important;}
    .srv-orange-band-inner{gap:1rem;flex-wrap:wrap;}
    .srv-orange-band-item{font-size:.78rem;}
    .srv-intro-inner{grid-template-columns:1fr!important;gap:2rem;}
    .srv-avantages-grid{grid-template-columns:1fr 1fr!important;}
    .srv-mockup-grid{grid-template-columns:1fr 1fr!important;}
    .autres-srv-grid{grid-template-columns:repeat(2,1fr)!important;}
    .srv-cta-box{padding:2rem 1rem;}
    .srv-cta-box h2{font-size:1.4rem;}
    .srv-cta-box .cta-btns{flex-direction:column;gap:.6rem;}
    .srv-cta-box .cta-btns a{width:100%;text-align:center;}

    /* Valeurs, Apropos, Realisations, Contact */
    .val-hero,.about-hero,.real-hero,.contact-page-hero{padding:3.5rem 1rem 2.5rem!important;min-height:auto!important;}
    .val-cards-grid{grid-template-columns:1fr!important;}
    .val-why-inner{grid-template-columns:1fr!important;}
    .numbers-grid{grid-template-columns:repeat(2,1fr)!important;}
    .about-story-inner{grid-template-columns:1fr!important;}
    .about-srv-row{grid-template-columns:repeat(2,1fr)!important;}
    .real-grid{grid-template-columns:1fr!important;}
    .real-filters{gap:.4rem;flex-wrap:wrap;}
    .testimonials{grid-template-columns:1fr!important;}
}

.p3d-nav{opacity:0;transition:opacity .3s;}
.portfolio-3d-wrap:hover .p3d-nav{opacity:1;}
.p3d-eye{
    position:absolute;top:50%;left:50%;
    transform:translate(-50%,-50%) scale(0);
    width:56px;height:56px;
    background:rgba(255,255,255,.95);
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    transition:transform .3s ease,opacity .3s;
    opacity:0;
    z-index:10;
    box-shadow:0 4px 20px rgba(0,0,0,.25);
    pointer-events:none;
}
.p3d-card:hover .p3d-eye{
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
}