/* Ntech-solution — thème « Tech premium, proche de vous ».
   Pour ajuster les couleurs, modifiez seulement les variables ci-dessous.
   Chaque département a sa propre couleur, réglée dans l'administration (variable --dep). */
@font-face { font-family: "Manrope"; src: url("../polices/manrope-latin-wght-normal.938c6e8019b6.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../polices/manrope-latin-ext-wght-normal.6d36d5bdedfa.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }

:root {
  --nuit: #101B35;
  --nuit-2: #18274d;
  --bleu: #2864F0;
  --bleu-fonce: #1b4dc7;
  --orange: #F47A38;
  --orange-fonce: #e0661f;
  --ivoire: #F7F5F0;
  --encre: #101B35;
  --encre-douce: #4d5870;
  --fond: #ffffff;
  --trait: #e4e0d6;
  --succes: #12805c;
  --dep: var(--bleu);
  --rayon: 16px;
  --ombre: 0 12px 32px rgba(16, 27, 53, .09);
  --police: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police); color: var(--encre); background: var(--fond); line-height: 1.6; font-size: 1.02rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.022em; color: var(--nuit); }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.icone { flex: none; }

.conteneur { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.conteneur-etroit { max-width: 820px; }
.centre { text-align: center; }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem 1rem; z-index: 100; }

/* ---------- En-tête bleu nuit */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(16, 27, 53, .97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.marque { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: .15rem; color: #fff; font-weight: 800; font-size: 1.3rem; }
.marque:hover { text-decoration: none; }
.marque img { height: 42px; width: auto; }
.marque-signe { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bleu); color: #fff; margin-right: .25rem; font-weight: 800; }
.marque-nom b { color: var(--orange); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 1rem; }
.menu > a { white-space: nowrap; color: #d5dcec; font-weight: 600; font-size: .92rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.menu > a:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(255, 255, 255, .4); }
.menu > a[aria-current] { color: #fff; border-bottom-color: var(--dep); }
.menu-outils { display: flex; align-items: center; gap: .8rem; flex: none; }
.menu-outils .bouton { white-space: nowrap; }
/* Sélecteur de langue : liste déroulante qui montre le drapeau de la langue en cours */
.langues { position: relative; }
.langues summary { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .55rem; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: .8rem; cursor: pointer; list-style: none; user-select: none; }
.langues summary::-webkit-details-marker { display: none; }
.langues summary:hover, .langues[open] summary { background: rgba(255, 255, 255, .12); }
.langues-fleche { transition: transform .15s; }
.langues[open] .langues-fleche { transform: rotate(180deg); }
.langues ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1px solid var(--trait); border-radius: 12px; box-shadow: 0 16px 36px rgba(16, 27, 53, .22); }
.langues li a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 8px; color: var(--encre); font-weight: 600; font-size: .92rem; }
.langues li a:hover { background: var(--ivoire); text-decoration: none; }
.langues li a[aria-current] { background: color-mix(in srgb, var(--bleu) 10%, #fff); color: var(--bleu); }
.langues li .drapeau { box-shadow: 0 0 0 1px rgba(16, 27, 53, .15); }
.drapeau { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }
.panier-lien { position: relative; color: #fff; display: inline-flex; }
.pastille { position: absolute; top: -8px; right: -10px; background: var(--orange); color: var(--nuit); font-size: .7rem; font-weight: 800; border-radius: 99px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.menu-bouton { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-bouton span, .menu-bouton span::before, .menu-bouton span::after { display: block; width: 20px; height: 2px; background: #fff; margin: auto; position: relative; content: ""; }
.menu-bouton span::before { position: absolute; top: -6px; }
.menu-bouton span::after { position: absolute; top: 6px; }

/* ---------- Boutons : le bleu pour agir, l'orange réservé aux appels à l'action majeurs */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--bleu); color: #fff; font-weight: 700; font-family: inherit; font-size: 1rem; padding: .82rem 1.45rem; border-radius: 12px; border: 2px solid var(--bleu); cursor: pointer; transition: background .15s, transform .15s, border-color .15s; }
.bouton:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); text-decoration: none; transform: translateY(-1px); }
.bouton-cta { background: var(--orange); border-color: var(--orange); color: var(--nuit); }
.bouton-cta:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); color: var(--nuit); }
.bouton-petit { padding: .45rem .95rem; font-size: .9rem; border-radius: 10px; }
.bouton-large { width: 100%; margin-bottom: .7rem; }
.bouton-contour { background: transparent; color: var(--bleu); }
.bouton-contour:hover { background: var(--bleu); color: #fff; }
.bouton-contour-clair { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.bouton-contour-clair:hover { background: #fff; color: var(--nuit); border-color: #fff; }
.lien-bouton { background: none; border: 0; color: var(--bleu); font: inherit; font-weight: 600; cursor: pointer; padding: .2rem .3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Sections */
.section { padding: clamp(3rem, 6.5vw, 5.2rem) 0; }
.section-serree { padding-top: clamp(1.5rem, 4vw, 3rem); }
.section-teinte { background: var(--ivoire); }
.surtitre { color: var(--dep); font-weight: 800; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .7rem; }
.intro, .chapo { color: var(--encre-douce); font-size: 1.14rem; max-width: 62ch; }
.intro { margin-bottom: 2.2rem; }
.titre-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.titre-ligne a { font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }
.vide { background: var(--ivoire); border: 1px dashed #cfc9ba; border-radius: var(--rayon); padding: 2rem; color: var(--encre-douce); }
.alerte { background: #e8f7f0; border: 1px solid #b7e3cf; color: #0c5a40; padding: .9rem 1.1rem; border-radius: 10px; margin: 1rem 0 0; font-weight: 600; }
.fil { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--encre-douce); padding: 1rem 0 .2rem; }
.fil a { color: var(--encre-douce); }

/* ---------- Hero bleu nuit */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3.2rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(720px 420px at 85% 0%, rgba(40, 100, 240, .55), transparent 65%),
    radial-gradient(520px 360px at 8% 115%, rgba(244, 122, 56, .28), transparent 62%),
    linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%); }
.hero > .conteneur { position: relative; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .surtitre { color: #9db9ff; }
.hero .chapo { color: #cdd6ea; }
.hero-page { padding: clamp(2.2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(640px 380px at 88% 0%, color-mix(in srgb, var(--dep) 60%, transparent), transparent 65%),
    linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.hero-page .surtitre { color: color-mix(in srgb, var(--dep) 55%, #fff); }
.hero-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .15); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.tuiles-dep { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.tuiles-dep a { display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-left: 4px solid var(--dep); border-radius: var(--rayon); padding: 1.05rem 1.2rem; color: #fff; backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.tuiles-dep a:hover { transform: translateX(5px); background: rgba(255, 255, 255, .13); text-decoration: none; }
.tuiles-dep span:nth-child(2) { flex: 1; display: grid; }
.tuiles-dep small { color: #b6c2dc; }
.tuiles-dep .carte-icone { background: color-mix(in srgb, var(--dep) 30%, transparent); color: #fff; margin: 0; }
/* Carrousel de l'accueil, à la place des trois départements : fondu + glissement
   (vers la droite, puis vers le haut). Toutes les vues occupent exactement le même emplacement. */
.hero-droite { min-width: 0; }
.carrousel { display: grid; overflow: hidden; border-radius: 18px; }
.diapo { grid-area: 1 / 1; position: relative; display: block; min-width: 0; color: #fff; opacity: 0; visibility: hidden; transition: opacity .9s ease, transform .9s cubic-bezier(.22, .61, .36, 1), visibility 0s .9s; }
.diapo.active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.22, .61, .36, 1); }
.diapo:hover { text-decoration: none; }
.diapo-tuiles { align-self: center; }
.diapo-tuiles .tuiles-dep a:hover { transform: none; }
.diapo-photo { overflow: hidden; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); background: var(--nuit-2); min-height: 300px; }
.diapo-photo > img, .diapo-photo > .illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.diapo-photo > img { object-fit: cover; }
.diapo-photo .illustration { aspect-ratio: auto; border-radius: 0; }
.diapo-legende { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .1rem; padding: 2.6rem 1.3rem 1.1rem; background: linear-gradient(transparent, rgba(16, 27, 53, .94)); border-left: 4px solid var(--dep); }
.diapo-legende small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--dep) 45%, #fff); }
.diapo-legende strong { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.diapo-legende span { color: #cdd6ea; font-size: .92rem; }
.carrousel-points { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.carrousel-points button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .3s, background .3s; }
.carrousel-points button[aria-selected="true"] { width: 26px; background: var(--orange); }
.tuiles-bande { background: var(--nuit); padding: 0 0 2.2rem; }
.tuiles-bande .tuiles-dep { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.onglets { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.onglets a { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: .5rem 1.1rem; font-weight: 700; color: #fff; }
.onglets a:hover { background: #fff; color: var(--nuit); text-decoration: none; }

/* ---------- Cartes */
.grille { display: grid; gap: 1.3rem; }
.grille-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grille-produits { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; color: var(--encre); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.carte:hover, .carte-produit:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--dep) 45%, var(--trait)); text-decoration: none; }
.carte p { color: var(--encre-douce); font-size: .97rem; }
.carte h3 a { color: inherit; }
.carte-icone { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: color-mix(in srgb, var(--dep) 12%, #fff); color: var(--dep); margin-bottom: 1rem; flex: none; }
.carte-icone-grand { width: 62px; height: 62px; border-radius: 16px; }
.carte-service { border-top: 3px solid var(--dep); }
.carte-lien { margin-top: auto; color: var(--dep); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.visuel { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin: -1.5rem -1.5rem 1.1rem; border-radius: var(--rayon) var(--rayon) 0 0; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .28), transparent 45%),
    linear-gradient(135deg, var(--dep), color-mix(in srgb, var(--dep) 45%, var(--nuit))); }
.visuel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 26px 26px; }
.visuel img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.visuel .icone { position: relative; z-index: 1; }
.etiquette { font-size: .76rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--dep) !important; margin-bottom: .4rem; }
.carte-pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .8rem; }
.prix { font-size: 1.14rem; font-weight: 800; color: var(--nuit); white-space: nowrap; }
.prix-devis { color: var(--encre-douce); font-weight: 600; }
.prix-grand { font-size: 1.9rem; margin-bottom: .6rem; }
.badge { display: inline-block; background: #fff1e7; color: #9a4410; font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 99px; }

/* Carte produit : horizontale dès qu'elle a de la place, pour ne pas laisser de vide */
.carte-produit { container-type: inline-size; padding: 0; overflow: hidden; }
.carte-produit-int { display: flex; flex-direction: column; height: 100%; }
.carte-produit .visuel { margin: 0; border-radius: 0; }
.carte-produit-texte { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
@container (min-width: 500px) {
  .carte-produit-int { flex-direction: row; }
  .carte-produit .visuel { width: 40%; aspect-ratio: auto; min-height: 220px; flex: none; }
}
.vitrine-produits { display: grid; grid-template-columns: minmax(240px, .8fr) 2.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.vitrine-produits .intro { margin-bottom: 1.2rem; }
.vitrine-produits .actions { margin-top: 1rem; flex-direction: column; align-items: flex-start; gap: .5rem; }

.bloc-departement { display: grid; grid-template-columns: minmax(260px, 38%) 1fr; background: #fff; border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; margin-bottom: 1.6rem; box-shadow: var(--ombre); }
.bloc-departement:nth-of-type(even) { grid-template-columns: 1fr minmax(260px, 38%); }
.bloc-departement:nth-of-type(even) .bloc-departement-visuel { order: 2; }
.bloc-departement-visuel { display: block; min-height: 260px; }
.bloc-departement-visuel .illustration { height: 100%; border-radius: 0; }
.bloc-departement-texte { padding: clamp(1.3rem, 3vw, 2.2rem); }
.bloc-departement header { display: flex; gap: 1.2rem; align-items: flex-start; }
.bloc-departement .carte-icone { margin-bottom: 0; background: var(--dep); color: #fff; }
.bloc-departement h3 { font-size: 1.45rem; }
.bloc-departement h3 a { color: var(--nuit); }
.bloc-departement header p { color: var(--encre-douce); margin: 0; max-width: 75ch; }

/* ---------- Illustrations animées (SVG intégré, aucune image à télécharger) */
.illustration { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .25), transparent 45%),
    linear-gradient(140deg, var(--dep), color-mix(in srgb, var(--dep) 35%, var(--nuit))); }
.illustration::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px; }
.illustration svg { position: relative; width: 100%; height: 100%; max-height: 340px; }
.illustration img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.bloc-departement-visuel .illustration { aspect-ratio: auto; }
.hero-page .illustration { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .16); }
.ill-carte { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
.ill-ecran { fill: color-mix(in srgb, var(--dep) 30%, var(--nuit)); stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; }
.ill-plein { fill: rgba(255, 255, 255, .82); }
.ill-accent { fill: var(--orange); }
.ill-trait { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; stroke-linecap: round; }
.ill-dents { fill: none; stroke: rgba(255, 255, 255, .8); }
.ill-flux { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 9; animation: ill-flux 1.1s linear infinite; animation-delay: var(--d, 0s); }
.ill-courbe { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill-coche { fill: none; stroke: var(--nuit); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.ill-ecrire, .ill-pousser, .ill-pulser, .ill-pulser-doux { transform-box: fill-box; }
.ill-ecrire { transform-origin: left center; animation: ill-ecrire 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ill-pousser { transform-origin: center bottom; animation: ill-pousser 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ill-pulser { transform-origin: center; animation: ill-pulser 1.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ill-pulser-doux { transform-origin: center; animation: ill-pulser 3.2s ease-in-out infinite; }
.ill-clignote { animation: ill-clignote 1s steps(2) infinite; }
.ill-flotter { animation: ill-flotter 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ill-tourner { transform-origin: var(--o); animation: ill-tourner 14s linear infinite; }
.ill-inverse { animation-direction: reverse; animation-duration: 8s; }
.ill-tracer { stroke-dasharray: 100; animation: ill-tracer 5s ease-in-out infinite; }
@keyframes ill-ecrire { 0%, 4% { transform: scaleX(0); } 26%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes ill-pousser { 0%, 6% { transform: scaleY(.08); } 34%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }
@keyframes ill-pulser { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .75; } }
@keyframes ill-clignote { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ill-flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes ill-tourner { to { transform: rotate(360deg); } }
@keyframes ill-flux { to { stroke-dashoffset: -14; } }
@keyframes ill-tracer { 0%, 8% { stroke-dashoffset: 100; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.liste-services { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem; }
.liste-services a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 11px; background: color-mix(in srgb, var(--dep) 7%, #fff); color: var(--encre); font-weight: 600; }
.liste-services a:hover { background: color-mix(in srgb, var(--dep) 16%, #fff); text-decoration: none; }
.liste-services .icone { color: var(--dep); }
.liens-departement { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0; font-weight: 700; border-top: 1px solid var(--trait); padding-top: 1.1rem; }
.liens-departement a { color: var(--dep); }

.deux-publics { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.deux-publics article { background: #fff; border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--trait); }
.deux-publics article:first-child { background: var(--nuit); border-color: var(--nuit); color: #dbe2f1; }
.deux-publics article:first-child h2 { color: #fff; }
.deux-publics article:first-child .surtitre { color: #9db9ff; }
.deux-publics article:first-child .coches .icone { color: var(--orange); }
.coches { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.coches li { display: flex; gap: .6rem; align-items: flex-start; }
.coches .icone { color: var(--succes); margin-top: .25rem; }
.coches-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 2rem; }

.etapes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; counter-reset: etape; }
.etapes li { counter-increment: etape; background: #fff; border-radius: var(--rayon); padding: 1.5rem; border: 1px solid var(--trait); }
.etapes li::before { content: "0" counter(etape); display: block; font-weight: 800; font-size: 1.7rem; color: var(--bleu); margin-bottom: .5rem; }
.etapes p { color: var(--encre-douce); margin: 0; }

/* ---------- Carte de visite, promoteur, équipe */
.carte-visite-zone { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.carte-visite { background: linear-gradient(135deg, var(--nuit), var(--nuit-2)); color: #fff; border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.7rem); display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; min-height: 250px; box-shadow: 0 24px 50px rgba(16, 27, 53, .3); position: relative; overflow: hidden; font-size: .88rem; }
.carte-visite::after { content: ""; position: absolute; right: -55px; top: -55px; width: clamp(120px, 34%, 180px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.carte-visite > * { position: relative; z-index: 1; max-width: 78%; }
.carte-visite > ul, .carte-visite > .carte-visite-bas { max-width: 100%; }
.carte-visite-haut { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; }
.carte-visite-haut img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 3px; }
.carte-visite-haut span:last-child, .carte-visite-nom { display: grid; }
.carte-visite small { color: #b9c8e0; font-size: .78rem; font-weight: 500; }
.carte-visite-nom { margin: 0; font-weight: 700; font-size: 1.02rem; }
.carte-visite ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.carte-visite li { display: flex; align-items: center; gap: .5rem; }
.carte-visite .icone { color: var(--orange); }
.carte-visite-bas { margin: 0; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #b9c8e0; }
.carte-visite-images { display: grid; gap: 1rem; }
.carte-visite-images img { border-radius: 14px; box-shadow: var(--ombre); width: 100%; }
.promoteur { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.promoteur-photo, .portrait { display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--bleu), var(--nuit)); color: #fff; font-weight: 800; }
.promoteur-photo { aspect-ratio: 1; border-radius: 24px; font-size: 5rem; }
.portrait { width: 84px; height: 84px; border-radius: 50%; font-size: 2rem; margin-bottom: 1rem; }
.portrait-grand { width: 140px; height: 140px; font-size: 3.2rem; margin-inline: auto; }
.promoteur-photo img, .portrait img { width: 100%; height: 100%; object-fit: cover; }
.carte-membre .coches { font-size: .92rem; margin-bottom: 1rem; }
.parcours { list-style: none; padding: 0 0 0 1.4rem; margin: 1rem 0 2rem; border-left: 2px solid var(--trait); display: grid; gap: 1.4rem; }
.parcours li { position: relative; }
.parcours li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bleu); }
.parcours p { margin: 0; color: var(--encre-douce); }
.puces { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- Pages de détail */
.page-deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.encart { background: var(--ivoire); border: 1px solid var(--trait); border-radius: 18px; padding: 1.6rem; position: sticky; top: 92px; }
.encart h2 { font-size: 1.15rem; margin-top: .4rem; }
.encart-paiement { position: static; margin: 1.5rem 0; }
.encart-paiement li { margin-bottom: .5rem; }
.liste-liens { padding-left: 1.1rem; margin: 0; }
.liste-liens li { margin-bottom: .35rem; }
.texte { max-width: 72ch; }
.texte h2 { margin-top: 1.8em; font-size: 1.45rem; }
.texte ul { padding-left: 1.2rem; }
.texte li { margin-bottom: .4rem; }
.texte li::marker { color: var(--dep); }
.image-page { border-radius: var(--rayon); margin: 1.5rem 0; }
.meta, .note { color: var(--encre-douce); font-size: .92rem; }
.fiche { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1.2rem; }
.fiche dt { font-weight: 700; }
.fiche dd { margin: 0; }
.pagination { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; font-weight: 700; }

/* ---------- Formulaires */
.formulaire { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.champ label { display: block; font-weight: 700; margin-bottom: .35rem; }
.champ input[type=text], .champ input[type=email], .champ input[type=number], .champ select, .champ textarea, .achat input, .quantite input { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #d8d3c6; border-radius: 11px; background: #fff; color: var(--encre); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px rgba(40, 100, 240, .16); }
.champ-piege { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.champ-erreur input, .champ-erreur textarea, .champ-erreur select { border-color: #c62828; }
.erreur, .errorlist { color: #c62828; font-size: .9rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.champ div[id] { display: grid; gap: .5rem; }
.champ div[id] label { font-weight: 500; display: flex; gap: .6rem; align-items: center; border: 1.5px solid #d8d3c6; border-radius: 11px; padding: .7rem .9rem; margin: 0; cursor: pointer; }
.formulaire .bouton { justify-self: start; }
.achat { display: grid; gap: .5rem; margin: 1rem 0 0; }
.achat label { font-weight: 700; }
.quantite { display: flex; gap: .4rem; align-items: center; }
.quantite input { width: 80px; padding: .45rem .6rem; }

/* ---------- Panier */
.tableau-defilant { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; margin-top: 1.5rem; min-width: 560px; }
.tableau th, .tableau td { text-align: left; padding: .9rem .7rem; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.tableau tfoot th { font-size: 1.15rem; border-bottom: 0; }
.recap { list-style: none; padding: 0; margin: 1rem 0; }
.recap li, .recap-total { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--trait); }
.recap-total { font-size: 1.2rem; border-bottom: 0; }

/* ---------- Appel à l'action et pied de page */
.appel { background: radial-gradient(600px 300px at 90% 0%, rgba(40, 100, 240, .5), transparent 65%), linear-gradient(120deg, var(--nuit), var(--nuit-2)); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.appel-ligne { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.appel h2 { margin-bottom: .3em; color: #fff; }
.appel p { margin: 0; color: #c9d6ea; max-width: 55ch; }
.appel-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.pied { background: #0a1226; color: #b8c4d6; padding-top: 3.5rem; font-size: .95rem; }
.pied a { color: #dbe4f2; }
.pied h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: #fff; margin-bottom: 1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr; gap: 2.5rem; }
.pied-marque { color: #fff; font-weight: 800; font-size: 1.3rem; }
.pied-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.pied-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.pied-contact .icone { margin-top: .2rem; color: var(--orange); }
.reseaux { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding: 1.3rem 0; font-size: .86rem; }

/* ---------- Mobile */
@media (max-width: 1240px) {
  .menu-bouton { display: block; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--nuit); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--ombre); }
  .menu.ouvert { display: flex; }
  .menu > a { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu-outils { padding-top: 1rem; justify-content: space-between; align-items: flex-start; }
  .langues ul { position: static; margin-top: .5rem; box-shadow: none; }
}
@media (max-width: 960px) {
  .hero-grille, .page-deux-colonnes, .carte-visite-zone, .vitrine-produits, .promoteur { grid-template-columns: 1fr; }
  .bloc-departement, .bloc-departement:nth-of-type(even) { grid-template-columns: 1fr; }
  .bloc-departement:nth-of-type(even) .bloc-departement-visuel { order: 0; }
  .bloc-departement-visuel { min-height: 0; }
  .bloc-departement-visuel .illustration { aspect-ratio: 16 / 9; }
  .promoteur-photo { max-width: 180px; }
  .encart { position: static; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pied-grille { grid-template-columns: 1fr; }
  .bloc-departement header { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Chinois : réglages typographiques adaptés aux caractères */
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(zh-Hans) .surtitre, :lang(zh-Hans) .etiquette { letter-spacing: .04em; font-size: .85rem !important; }
