/* ==========================================================================
   Mauvisin 2026 — feuille de style
   Reprend à l'identique les styles des maquettes (canva) : mêmes couleurs,
   tailles, espacements. Chaque bloc de l'éditeur reçoit une classe « mv-… »
   ou « k-… » qui porte le style.
   ========================================================================== */

/* ---------- Base (identique aux pages actuelles) ---------- */
body{margin:0;background:#07090D;color:#F2F4F7;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}
a{color:#5CCBFF}a:hover{color:#A6E3FF}
*{box-sizing:border-box}
img{display:block}
.mv-site{min-height:100%;background:#07090D;overflow:clip;font-weight:500} /* graisse du texte courant identique au site actuel */
.mv-skip{position:absolute;left:-9999px;top:8px;z-index:100;padding:10px 16px;border-radius:999px;background:#F8B030;color:#0B0D10;font-weight:600;text-decoration:none}
.mv-skip:focus{left:12px}

.k-link{color:#C3CAD4;text-decoration:none;font-size:14px;font-weight:500;padding:10px 2px;transition:color .2s}
.k-link:hover{color:#FFFFFF}
.k-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s,border-color .3s}
.k-or{background:#F8B030;color:#0B0D10}
.k-or:hover{color:#0B0D10;background:#FFC14D;transform:translateY(-1px)}
.k-ghost{color:#F2F4F7;border:1px solid rgba(255,255,255,.26);background:rgba(7,9,13,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.k-ghost:hover{color:#FFFFFF;border-color:rgba(255,255,255,.6)}
.k-card{position:relative;display:block;overflow:hidden;border-radius:22px;background:#0E1117;text-decoration:none;color:#F2F4F7}
.k-card img{transition:transform 1.4s cubic-bezier(.2,.8,.2,1)}
.k-card:hover img{transform:scale(1.045)}
.k-foot a{color:#9AA3B2;text-decoration:none;font-size:14px}
.k-foot a:hover{color:#FFFFFF}

@keyframes kIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.k-in{animation:kIn .55s cubic-bezier(.2,.8,.2,1) both}
@keyframes kRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@supports (animation-timeline: view()){
.k-rise{animation:kRise linear both;animation-timeline:view();animation-range:entry 0% entry 100%}}
@media (max-width:1060px){.k-desk{display:none !important}}
@media (min-width:1061px){.k-mob{display:none !important}}
@media (prefers-reduced-motion:reduce){.k-in,.k-push,.k-rise{animation:none !important}.k-card img{transition:none !important}}

/* ---------- En-tête ---------- */
.mv-head{position:sticky;top:0;z-index:50;background:rgba(7,9,13,.66);backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);border-bottom:1px solid rgba(255,255,255,.06)}
body.admin-bar .mv-head{top:32px}
@media (max-width:782px){body.admin-bar .mv-head{top:0}}
.mv-head__in{max-width:1320px;margin:0 auto;padding:0 28px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mv-head__logo{display:flex;align-items:center;text-decoration:none}
.mv-head__logo img{height:44px;width:auto}
.mv-head__nav{display:flex;align-items:center;gap:26px}
.mv-head__nav .k-link[aria-current="page"]{color:#FFFFFF}
.mv-head__right{display:flex;align-items:center;gap:18px}
.mv-head__tel{color:#F2F4F7;text-decoration:none;font-weight:600;font-size:14px}
.mv-head__tel:hover{color:#F2F4F7}
.mv-head__cta.k-btn{min-height:44px;padding:0 20px;font-size:14px}
.mv-head__burger{width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#FFFFFF;display:grid;place-items:center;cursor:pointer;padding:0}
.mv-head__mnav{display:flex;flex-direction:column;padding:4px 28px 22px}
.mv-head__mnav[hidden]{display:none}

/* ---------- Contenu : remise à zéro des marges WordPress ---------- */
:where(.mv-main :is(h1,h2,h3,h4,h5,h6,p,figure,ul,ol):not(.mv-native *)){margin:0}
:where(.mv-main .wp-block-image:not(.mv-native *)){margin:0}
:where(.mv-main .wp-block-image:not(.mv-native *)) img{height:auto}
.mv-main :where(.wp-block-group){margin:0}

/* Pile verticale avec écart (eyebrow + titre, etc.) */
.mv-stack-8{display:flex;flex-direction:column;gap:8px}
.mv-stack-10{display:flex;flex-direction:column;gap:10px}
.mv-stack-12{display:flex;flex-direction:column;gap:12px}
.mv-stack-14{display:flex;flex-direction:column;gap:14px}
.mv-stack-20{display:flex;flex-direction:column;gap:20px}
.mv-mb-18{margin-bottom:18px!important}
.mv-mb-28{margin-bottom:28px!important}

/* Section standard */
.mv-sec{max-width:1320px;margin:0 auto!important;padding:0 28px 100px}
.mv-sec--first{padding-top:20px}
.mv-sec--cta{padding-bottom:110px}

/* Surtitre orange */
/* surtitre seul sur sa ligne (hauteur de ligne du texte courant) */
.mv-eyebrow-wrap>.mv-eyebrow{display:inline}
.mv-eyebrow,.is-style-mv-eyebrow{font-size:13px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#F8B030}

/* Titres */
.mv-display{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:600;font-size:clamp(44px,5.8vw,92px);line-height:.96;letter-spacing:-0.04em;text-wrap:balance}
.mv-h2{font-family:'Space Grotesk',system-ui,sans-serif;font-size:clamp(30px,3.4vw,48px);line-height:1.04;letter-spacing:-0.03em;font-weight:600}
.mv-h2.mv-h2--mb{margin-bottom:30px}
.mv-lead{font-size:clamp(17px,1.4vw,20px);line-height:1.6;color:#B4BCC8;max-width:580px;text-wrap:pretty}

/* ---------- En-tête de page (héros) ---------- */
.mv-hero{position:relative;overflow:hidden;padding:80px 28px 80px}
.mv-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 70% at 85% 20%,rgba(0,180,240,.10),transparent 70%),radial-gradient(40% 50% at 5% 95%,rgba(248,176,48,.09),transparent 70%);pointer-events:none}
.mv-hero__grid{position:relative;max-width:1320px;margin:0 auto!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:48px;align-items:end}
.mv-bigyear{font-family:'Space Grotesk',system-ui,sans-serif;font-size:clamp(120px,17vw,250px);line-height:.8;font-weight:600;letter-spacing:-0.06em;text-align:right;background:linear-gradient(180deg,#FFFFFF 10%,rgba(255,255,255,.06) 95%);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- Frise chronologique ---------- */
.mv-tl{border-bottom:1px solid rgba(255,255,255,.1)}
.mv-tl__row{display:grid;gap:28px;padding:30px 0;border-top:1px solid rgba(255,255,255,.1);grid-template-columns:minmax(120px,300px) minmax(0,1fr)}
@media (max-width:640px){.mv-tl__row{grid-template-columns:minmax(0,1fr);gap:10px}}
.mv-tl__year{font-family:'Space Grotesk',system-ui,sans-serif;font-size:clamp(32px,3.6vw,52px);font-weight:600;letter-spacing:-0.03em;color:#F8B030}
.mv-tl__year--word{font-size:clamp(28px,2.8vw,40px);line-height:1.1;white-space:nowrap;padding-top:6px}
.mv-tl__title{font-size:20px;font-weight:600;font-family:inherit;line-height:normal;letter-spacing:normal}
.mv-tl__text{font-size:16px;line-height:1.65;color:#A9B1BD}

/* ---------- Grilles ---------- */
.mv-grid-300{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px}
.mv-grid-280{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}

/* ---------- Cartes numérotées ---------- */
.mv-card,.is-style-mv-card{position:relative;padding:32px;border-radius:26px;background:#0E1117;border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:14px;min-height:260px}
.mv-card__num{font-family:'Space Grotesk',system-ui,sans-serif;font-size:46px;font-weight:600;color:#00B4F0}
.mv-card__title{font-size:21px;font-weight:600;font-family:inherit;line-height:normal;letter-spacing:normal}
.mv-card__text{font-size:15px;line-height:1.6;color:#9AA3B2}
.mv-main .mv-card__badge{position:absolute;top:28px;right:28px;margin:0}
.mv-main .mv-card__badge img{height:72px;width:auto}

/* ---------- En-tête de section avec bouton ---------- */
.mv-sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px!important}

/* ---------- Photos du showroom ---------- */
.mv-main .mv-shot{margin:0;aspect-ratio:4/3}
.mv-main .mv-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- Trois colonnes séparées par des filets ---------- */
.mv-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));border-top:1px solid rgba(255,255,255,.1)}
.mv-cols>*{padding:28px;display:flex;flex-direction:column;gap:10px;border-left:1px solid rgba(255,255,255,.1)}
.mv-cols>:first-child{padding-left:0;border-left:0}
.mv-col__title{font-size:20px;font-weight:600;font-family:inherit;line-height:normal;letter-spacing:normal}
.mv-col__text{font-size:15px;line-height:1.65;color:#9AA3B2}

/* ---------- Bandeau d'appel (bleu) ---------- */
.mv-cta{border-radius:32px;padding:clamp(30px,5vw,60px);background:linear-gradient(135deg,#0B4AB0 0%,#06286A 100%);display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.mv-cta__txt{display:flex;flex-direction:column;gap:12px;max-width:680px}
.mv-cta__title{font-family:'Space Grotesk',system-ui,sans-serif;font-size:clamp(28px,3.2vw,44px);line-height:1.05;letter-spacing:-0.03em;font-weight:600;color:#FFFFFF;text-wrap:balance}
.mv-cta__text{font-size:17px;line-height:1.6;color:#DCE7FA}

/* ---------- Boutons (bloc Boutons de WordPress) ---------- */
.mv-main .wp-block-buttons,.mv-btns{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.mv-main .wp-block-button{margin:0}
.mv-site .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;font-weight:600;font-size:15px;line-height:normal;text-decoration:none;border:0;cursor:pointer;font-family:inherit;transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s,border-color .3s;background:#F8B030;color:#0B0D10;width:auto}
.mv-site .wp-block-button__link:hover{color:#0B0D10;background:#FFC14D;transform:translateY(-1px)}
.mv-site .is-style-mv-ghost .wp-block-button__link{color:#F2F4F7;border:1px solid rgba(255,255,255,.26);background:rgba(7,9,13,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.mv-site .is-style-mv-ghost .wp-block-button__link:hover{color:#FFFFFF;border-color:rgba(255,255,255,.6);background:rgba(7,9,13,.25);transform:none}

/* ---------- Pied de page ---------- */
.mv-foot{border-top:1px solid rgba(255,255,255,.07);background:#05070A;margin:0}
.mv-foot :where(p,ul,figure){margin:0}
.mv-foot__grid{max-width:1320px;margin:0 auto;padding:56px 28px 36px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:32px}
.mv-foot__col{display:flex;flex-direction:column;gap:10px}
.mv-foot__col--brand{gap:14px}
.mv-foot__logo{align-self:flex-start}
.mv-foot__logo img{height:48px;width:auto}
.mv-foot__text{color:#9AA3B2;font-size:14px;line-height:1.6}
.mv-foot__title{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6F7886}
.mv-foot__links{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px}
.mv-foot__links li{margin:0;font-size:14px;line-height:normal}
.mv-foot__links a{display:block}
.mv-foot__badge{display:inline-flex!important;align-items:center;gap:12px;align-self:flex-start;margin-top:4px!important;padding:10px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:#0B0E14}
.mv-foot__badge figure,.mv-foot__badge .wp-block-image{margin:0}
.mv-foot__badge img{height:24px;width:auto;border-radius:3px}
.mv-foot__badge p{font-size:12px;line-height:1.3;color:#C9CFD8}
.mv-foot__badge p a{font-size:12px;color:#C9CFD8}
.mv-foot__bottom{max-width:1320px;margin:0 auto;padding:18px 28px 30px;border-top:1px solid rgba(255,255,255,.06);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:#6F7886}
.mv-foot__bottom p{font-size:13px;color:#6F7886}

/* ---------- Listes (index, recherche) ---------- */
.mv-list__in{padding-top:20px}
.mv-list__item{padding:24px 26px;border-radius:20px;background:#0E1117;border:1px solid rgba(255,255,255,.08);margin:0 0 14px}
.mv-list__title{font-family:'Space Grotesk',system-ui,sans-serif;font-size:24px;font-weight:600}
.mv-list__title a{color:#FFFFFF;text-decoration:none}
.mv-list__excerpt{color:#A9B1BD;margin-top:8px}
.mv-main .search-form{display:flex;gap:10px;flex-wrap:wrap}
.mv-main .search-field{min-height:50px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:#0A0D12;color:#FFFFFF;padding:0 14px;font:inherit;font-size:15px;min-width:260px}
.mv-main .search-submit{min-height:50px;padding:0 24px;border-radius:999px;border:0;background:#F8B030;color:#0B0D10;font:inherit;font-weight:600;cursor:pointer}

/* ---------- Pages natives : onglets de gamme (remplis par mauvisin.js) ---------- */
.mv-main .mv-tabs>.mv-tabpanel[hidden]{display:none!important}
.mv-main .mv-tablist .k-tab[aria-selected="true"]{background:#F2F4F7;color:#0B0D10;border-color:#F2F4F7}
.mv-main .mv-tablist .k-tab[aria-selected="false"]{background:transparent;color:#C9CFD8;border-color:rgba(255,255,255,.14)}
/* outils interactifs */
.mv-native [hidden]{display:none!important}
.mv-native template{display:none}
.mv-native .mv-slot{min-width:0}
.mv-native .mv-dim{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:transparent;color:#C9CFD8;font:inherit;font-size:13px;text-align:left;cursor:pointer;transition:border-color .2s}
.mv-native .mv-dim:hover{border-color:rgba(248,176,48,.6);color:#FFFFFF}
.mv-native .mv-dims{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
