/* ==========================================================================
   SOGECOPRES — trois designs sur le même contenu
   html[data-design="editorial" | "industriel" | "horizon"]
   Le design actif est choisi dans l'espace gestionnaire (theme-default.js,
   window.SGP_DESIGN) ; ?design=… dans l'URL sert à la prévisualisation.
   ========================================================================== */

/* éléments propres à un design : masqués par défaut */
.ds-ticker,.ds-rail,.ds-statement,.hero__tile{ display:none; }

/* les polices de chaque design ne remplacent pas celles de l'arabe / du chinois */
html[lang="ar"][data-design]{ --font:'Noto Sans Arabic','Manrope',system-ui,sans-serif; --font-brand:'Noto Sans Arabic','Sora',sans-serif; --font-mono:'Noto Sans Arabic',monospace; }
html[lang="zh"][data-design]{ --font:'Noto Sans SC','Manrope',system-ui,sans-serif; --font-brand:'Noto Sans SC','Sora',sans-serif; --font-mono:'Noto Sans SC',monospace; }

/* ==========================================================================
   A · ÉDITORIAL — rapport annuel : empattements, papier, filets, chapitres
   ========================================================================== */
html[data-design="editorial"]{
  --font-brand:'Fraunces',Georgia,'Times New Roman',serif;
  --white:#FBF8F3; --sand-soft:#F4EEE5; --paper-2:#F1EADF;
  --line:#E3DCD0; --line-2:#CFC6B8;
  --r-sm:2px; --r-md:2px; --r-lg:2px;
  --shadow:none; --shadow-lg:0 30px 60px -30px rgba(28,36,48,.35);
}
html[data-design="editorial"][data-theme="dark"]{
  --white:#13171D; --sand-soft:#171C23; --paper-2:#1B2129; --line:#2A313B; --line-2:#3A4350;
}
[data-design="editorial"] h1,[data-design="editorial"] h2,[data-design="editorial"] h3{ font-weight:400; letter-spacing:-.015em; }
[data-design="editorial"] h2{ font-size:clamp(34px,4.3vw,62px); font-weight:300; line-height:1.06; }
[data-design="editorial"] .eyebrow{ font-weight:700; letter-spacing:.24em; font-size:11px; }
[data-design="editorial"] .eyebrow::before{ width:22px; height:1px; background:currentColor; }

/* en-tête : logo centré, navigation sur un second rang */
[data-design="editorial"] .site-header{ background:color-mix(in srgb,var(--white) 94%,transparent); border-bottom:1px solid var(--line); }
[data-design="editorial"] .site-header::after{ display:none; }
[data-design="editorial"] .header__row{ display:grid; grid-template-columns:1fr auto 1fr; grid-template-areas:". brand tools" "nav nav nav"; row-gap:10px; padding-block:14px 0; }
[data-design="editorial"] .brand{ grid-area:brand; flex-direction:column; gap:7px; }
[data-design="editorial"] .brand__text{ align-items:center; }
[data-design="editorial"] .brand__name{ font-family:var(--font); font-size:14px; font-weight:700; letter-spacing:.36em; }
[data-design="editorial"] .brand__tag{ display:none; }
[data-design="editorial"] .header__tools{ grid-area:tools; justify-self:end; }
[data-design="editorial"] .nav{ grid-area:nav; justify-content:center; gap:30px; border-top:1px solid var(--line); padding-block:11px; }
[data-design="editorial"] .nav > a{ font-size:13.5px; font-weight:500; color:var(--ink-soft); }
[data-design="editorial"] .nav > a.btn{ height:auto; padding:0 0 2px; border:0; border-bottom:1px solid var(--brand); border-radius:0; background:none; color:var(--brand); }
[data-design="editorial"] .lang__btn,[data-design="editorial"] .theme-btn,[data-design="editorial"] .admin-link,[data-design="editorial"] .burger{ background:transparent; }
[data-design="editorial"] .site-header.is-compact .brand__mark{ transform:scale(.8); }

/* hero : texte à gauche, photo encadrée à droite */
[data-design="editorial"] .hero{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); grid-template-rows:1fr auto; align-items:stretch; min-height:min(84vh,820px); max-width:1320px; margin:0 auto; background:transparent; overflow:visible; }
[data-design="editorial"] .hero__inner{ display:contents; }
[data-design="editorial"] .hero__copy{ grid-column:1; grid-row:1; justify-content:center; max-width:none; padding:72px 56px 36px 40px; border-inline-end:1px solid var(--line); }
[data-design="editorial"] .hero__bg{ position:relative; grid-column:2; grid-row:1 / 3; margin:36px 40px; overflow:hidden; }
[data-design="editorial"] .hero__veil{ display:none; }
[data-design="editorial"] .hero h1{ color:var(--ink); font-weight:300; font-size:clamp(42px,5.4vw,88px); line-height:1.02; }
[data-design="editorial"] .hero .lead{ color:var(--body); font-size:18px; }
[data-design="editorial"] .hero .eyebrow--gold{ color:var(--brand); }
[data-design="editorial"] .hero .btn--gold{ background:var(--ink); color:var(--white); }
[data-design="editorial"] .hero .btn--gold:hover{ background:var(--brand); color:#fff; box-shadow:none; }
[data-design="editorial"] .hero .btn--outline-light{ height:auto; padding:0 0 3px; border:0; border-bottom:1px solid var(--ink); border-radius:0; background:none; backdrop-filter:none; color:var(--ink); }
[data-design="editorial"] .hero__stats{ grid-column:1; grid-row:2; margin:0 56px 44px 40px; padding-top:24px; background:none; border:0; border-top:1px solid var(--line); border-radius:0; backdrop-filter:none; gap:0; }
[data-design="editorial"] .hero__stats li{ background:none; padding:0 12px 0 0; }
[data-design="editorial"] .hero__stats b{ color:var(--ink); font-weight:300; font-size:42px; }
[data-design="editorial"] .hero__stats li > span:last-child{ color:var(--muted); text-transform:none; letter-spacing:0; font-size:12.5px; }

[data-design="editorial"] .motto{ background:transparent; color:var(--ink); border-block:1px solid var(--line); font-weight:600; }

/* sections : filets, têtes numérotées façon chapitres */
[data-design="editorial"] main{ counter-reset:chap; }
[data-design="editorial"] .section{ padding-block:120px; border-bottom:1px solid var(--line); }
[data-design="editorial"] .section--sand{ background:var(--white); border-top:0; }
[data-design="editorial"] .section__head{ counter-increment:chap; display:grid; grid-template-columns:150px minmax(0,1fr); column-gap:40px; row-gap:14px; max-width:none; margin-bottom:64px; }
[data-design="editorial"] .section__head::before{ content:counter(chap,decimal-leading-zero); grid-row:1 / 4; font-family:var(--font-brand); font-weight:300; font-size:20px; color:var(--muted); padding-top:2px; }
[data-design="editorial"] .section__head > *{ grid-column:2; max-width:860px; }
[data-design="editorial"] .section__sub{ font-size:17px; }

[data-design="editorial"] .about__photo{ box-shadow:none; }
[data-design="editorial"] .about__copy > p:first-of-type::first-letter{ float:inline-start; font-family:var(--font-brand); font-size:78px; line-height:.8; margin:6px 12px 0 0; color:var(--brand); }
[data-design="editorial"] .value-card{ background:transparent; border:0; border-top:1px solid var(--ink); padding:16px 0 0; }
[data-design="editorial"] .value-card:hover{ transform:none; box-shadow:none; }
[data-design="editorial"] .value-card h3{ font-size:20px; }
[data-design="editorial"] .vmh__card{ background:transparent; border:0; border-top:1px solid var(--ink); padding:22px 0 0; }
[data-design="editorial"] .vmh__card::before{ display:none; }
[data-design="editorial"] .vmh__card p{ font-family:var(--font-brand); font-size:19px; font-weight:300; line-height:1.5; color:var(--ink-soft); }

/* services : liste typographique, la photo apparaît au survol */
[data-design="editorial"] .acts{ display:block; border-top:1px solid var(--ink); }
[data-design="editorial"] .act,[data-design="editorial"] .act--wide{ position:relative; display:grid; grid-template-columns:110px minmax(0,1fr) minmax(0,1.05fr); grid-template-rows:none; gap:32px; align-items:center; padding:34px 0; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; overflow:visible; transition:padding .45s var(--ease); }
[data-design="editorial"] .act:hover{ transform:none; box-shadow:none; padding-inline-start:18px; }
[data-design="editorial"] .act__body{ display:contents; }
[data-design="editorial"] .act__num{ grid-column:1; grid-row:1; font-family:var(--font-brand); font-weight:300; font-size:18px; letter-spacing:0; color:var(--muted); }
[data-design="editorial"] .act h3{ grid-column:2; grid-row:1; font-size:clamp(26px,2.6vw,38px); font-weight:400; }
[data-design="editorial"] .act p{ grid-column:3; grid-row:1; color:var(--muted); font-size:15px; }
[data-design="editorial"] .act__list{ display:none; }
[data-design="editorial"] .act__media,[data-design="editorial"] .act--wide .act__media{ position:absolute; inset-inline-end:38%; top:50%; z-index:3; width:250px; min-height:0; aspect-ratio:3/2; transform:translateY(-50%) rotate(-3deg) scale(.88); opacity:0; pointer-events:none; box-shadow:var(--shadow-lg); transition:opacity .4s var(--ease), transform .5s var(--ease); }
[data-design="editorial"] .act:hover .act__media{ opacity:1; transform:translateY(-50%) rotate(-3deg); }

[data-design="editorial"] .whyus{ border-radius:0; }
[data-design="editorial"] .depense{ border-radius:0; background:var(--paper-2); border:0; border-top:2px solid var(--gold); }
[data-design="editorial"] .steps__n{ border-radius:50%; background:transparent; font-weight:400; }
[data-design="editorial"] .project{ border-radius:0; }
[data-design="editorial"] .project h3{ font-size:19px; }

[data-design="editorial"] .gal-tab{ background:transparent; border-radius:0; border:0; border-bottom:1px solid transparent; padding:0 4px; height:34px; }
[data-design="editorial"] .gal-tab.is-active{ background:transparent; color:var(--ink); border-bottom-color:var(--ink); }
[data-design="editorial"] .gal-item{ border:0; }
[data-design="editorial"] .gal-item:hover{ transform:none; box-shadow:none; }

[data-design="editorial"] .partner,[data-design="editorial"] .sup,[data-design="editorial"] .quote,[data-design="editorial"] .country,[data-design="editorial"] .person,[data-design="editorial"] .org__card,[data-design="editorial"] .post{ background:transparent; box-shadow:none; }
[data-design="editorial"] .partner:hover,[data-design="editorial"] .sup:hover,[data-design="editorial"] .country:hover,[data-design="editorial"] .person:hover,[data-design="editorial"] .org__card:hover,[data-design="editorial"] .post:hover{ transform:none; box-shadow:none; border-color:var(--ink); }
[data-design="editorial"] .partner__name{ font-size:22px; }
[data-design="editorial"] .partner__mark--img{ background:#fff; }
[data-design="editorial"] .quote{ border:0; border-top:1px solid var(--ink); padding:22px 0 0; }
[data-design="editorial"] .quote::before{ display:none; }
[data-design="editorial"] .quote p{ font-family:var(--font-brand); font-size:19px; font-weight:300; line-height:1.5; }
[data-design="editorial"] .country::before{ display:none; }
[data-design="editorial"] .person__avatar,[data-design="editorial"] .org__pic{ border-radius:0; border:0; box-shadow:none; }
[data-design="editorial"] .person__avatar{ width:100%; height:auto; aspect-ratio:4/5; }
[data-design="editorial"] .person__avatar img,[data-design="editorial"] .org__pic img{ filter:grayscale(1); transition:filter .5s var(--ease); }
[data-design="editorial"] .person:hover img,[data-design="editorial"] .org__card:hover img{ filter:none; }
[data-design="editorial"] .person{ align-items:flex-start; text-align:start; padding:0 0 18px; border:0; }
[data-design="editorial"] .person__name{ font-size:22px; }

/* marketplace : une cote, ligne par ligne */
[data-design="editorial"] .mkt-grid{ display:block; border-top:1px solid var(--ink); }
[data-design="editorial"] .mkt{ display:grid; grid-template-columns:108px minmax(0,1fr); gap:24px; align-items:center; padding:18px 0; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; }
[data-design="editorial"] .mkt:hover{ transform:none; box-shadow:none; }
[data-design="editorial"] .mkt__photo{ aspect-ratio:3/2; }
[data-design="editorial"] .mkt__body{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto; grid-template-areas:"name price cta" "meta origin cta"; gap:6px 24px; align-items:center; padding:0; }
[data-design="editorial"] .mkt__name{ grid-area:name; font-family:var(--font-brand); font-weight:400; font-size:26px; }
[data-design="editorial"] .mkt__mode{ grid-area:meta; justify-self:start; border-radius:99px; }
[data-design="editorial"] .mkt__origin{ grid-area:origin; }
[data-design="editorial"] .mkt__price{ grid-area:price; font-family:var(--font-brand); font-weight:500; font-size:19px; }
[data-design="editorial"] .mkt__desc{ display:none; }
[data-design="editorial"] .mkt__order{ grid-area:cta; align-self:center; margin:0; border-radius:99px; border-color:var(--ink); color:var(--ink); padding:10px 18px; }
[data-design="editorial"] .mkt__order:hover{ background:var(--ink); color:var(--white); }
[data-design="editorial"] .form{ box-shadow:none; border:1px solid var(--line); background:transparent; }
[data-design="editorial"] .mkt-quote__title{ font-family:var(--font-brand); font-weight:400; font-size:28px; }

[data-design="editorial"] .site-footer{ border-top:0; }

/* ==========================================================================
   B · INDUSTRIEL — sombre, technique, tuiles, cours en direct
   ========================================================================== */
html[data-design="industriel"]{
  --font:'Space Grotesk','Manrope',system-ui,sans-serif;
  --font-brand:'Space Grotesk','Sora',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,Consolas,monospace;
  --white:#EDEFF2; --surface:#FFFFFF; --surface-2:#F6F7F9; --sand-soft:#E5E8EC;
  --line:#D9DDE3; --line-2:#C5CBD3;
  --r-sm:10px; --r-md:18px; --r-lg:20px;
  --shadow:0 18px 40px -24px rgba(18,23,31,.35);
}
html[data-design="industriel"][data-theme="dark"]{
  --white:#12171F; --surface:#1A212C; --surface-2:#212A37; --sand-soft:#151B24;
  --line:#28313E; --line-2:#36404E; --shadow:0 20px 50px -24px rgba(0,0,0,.6);
}
[data-design="industriel"] h1,[data-design="industriel"] h2{ font-weight:600; letter-spacing:-.035em; }
[data-design="industriel"] h2{ font-size:clamp(32px,4vw,56px); line-height:1.02; }
[data-design="industriel"] .eyebrow{ font-family:var(--font-mono); font-weight:500; font-size:12px; letter-spacing:.08em; }
[data-design="industriel"] .eyebrow::before{ content:'//'; width:auto; height:auto; background:none; color:var(--gold-700); font-weight:500; }
[data-design="industriel"][data-theme="dark"] .eyebrow{ color:var(--gold); }
[data-design="industriel"] .btn{ border-radius:12px; }

/* bandeau des cours (construit par designs.js) */
[data-design="industriel"] .ds-ticker{ display:block; overflow:hidden; white-space:nowrap; background:var(--brand); color:#fff; font-family:var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; }
.ds-ticker__track{ display:inline-flex; gap:44px; padding:9px 0; animation:dsTick 45s linear infinite; }
.ds-ticker__track span b{ color:var(--gold); margin-inline-start:8px; font-weight:500; }
.ds-ticker:hover .ds-ticker__track{ animation-play-state:paused; }
[dir="rtl"] .ds-ticker__track{ animation-name:dsTickRtl; }
@keyframes dsTick{ to{ transform:translateX(-50%); } }
@keyframes dsTickRtl{ to{ transform:translateX(50%); } }

[data-design="industriel"] .site-header{ background:color-mix(in srgb,var(--white) 88%,transparent); backdrop-filter:blur(14px); }
[data-design="industriel"] .site-header::after{ display:none; }
[data-design="industriel"] .brand__name{ letter-spacing:.12em; font-weight:700; }
[data-design="industriel"] .brand__tag{ font-family:var(--font-mono); font-weight:500; letter-spacing:.08em; }
[data-design="industriel"] .nav{ gap:4px; }
[data-design="industriel"] .nav > a:not(.btn){ padding:8px 12px; border-radius:9px; color:var(--muted); }
[data-design="industriel"] .nav > a:not(.btn):hover{ background:var(--surface-2); color:var(--ink); }
[data-design="industriel"] .nav > a.btn{ background:var(--gold); color:#12171F; margin-inline-start:8px; }
[data-design="industriel"] .lang__btn,[data-design="industriel"] .theme-btn,[data-design="industriel"] .admin-link,[data-design="industriel"] .burger,[data-design="industriel"] .lang__menu{ background:var(--surface); border-radius:10px; }

/* hero en tuiles */
[data-design="industriel"] .hero{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-rows:minmax(112px,auto); gap:14px; max-width:1400px; margin:0 auto; padding:22px 28px 10px; min-height:0; align-items:stretch; background:transparent; overflow:visible; }
[data-design="industriel"] .hero__inner{ display:contents; }
[data-design="industriel"] .hero__bg{ position:relative; grid-column:1 / 9; grid-row:1 / 6; border-radius:22px; overflow:hidden; min-height:560px; }
[data-design="industriel"] .hero__veil{ background:linear-gradient(180deg,rgba(18,23,31,.05) 25%,rgba(18,23,31,.93)); }
[data-design="industriel"] .hero__copy{ grid-column:1 / 9; grid-row:1 / 6; z-index:1; align-self:end; max-width:none; padding:40px 44px; }
[data-design="industriel"] .hero h1{ font-size:clamp(38px,4.6vw,72px); line-height:1; }
[data-design="industriel"] .hero .eyebrow{ align-self:flex-start; padding:7px 12px; border-radius:99px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); font-size:10.5px; max-width:100%; white-space:normal; }
[data-design="industriel"] .hero .eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background:#5BD68A; box-shadow:0 0 0 4px rgba(91,214,138,.2); }
[data-design="industriel"] .hero__stats{ display:contents; }
[data-design="industriel"] .hero__stats li{ grid-column:span 2; grid-row:span 2; justify-content:space-between; gap:10px; padding:22px; border-radius:18px; background:var(--surface); border:1px solid var(--line); }
[data-design="industriel"] .hero__stats b{ font-size:50px; font-weight:600; color:var(--ink); letter-spacing:-.04em; order:2; }
[data-design="industriel"] .hero__stats li > span:last-child{ font-family:var(--font-mono); font-weight:400; font-size:11px; color:var(--muted); letter-spacing:.05em; }
[data-design="industriel"] .hero__stats li:nth-child(2){ background:var(--gold); border-color:var(--gold); }
[data-design="industriel"] .hero__stats li:nth-child(2) b,[data-design="industriel"] .hero__stats li:nth-child(2) span:last-child{ color:#12171F; }
[data-design="industriel"] .hero__tile{ display:flex; flex-direction:column; justify-content:space-between; gap:14px; grid-column:9 / 13; grid-row:5; padding:22px 24px; border-radius:18px; background:var(--brand); color:#fff; transition:background .25s var(--ease); }
[data-design="industriel"] .hero__tile:hover{ background:var(--brand-800); color:#fff; }
.hero__tile .eyebrow{ color:rgba(255,255,255,.75)!important; }
.hero__tile .eyebrow::before{ color:var(--gold)!important; }
.hero__tile b{ font-family:var(--font-brand); font-size:22px; font-weight:600; line-height:1.15; }
.hero__tile i{ align-self:flex-end; width:42px; height:42px; border-radius:50%; background:#fff; color:var(--brand); display:grid; place-items:center; font-style:normal; font-size:18px; }

[data-design="industriel"] .motto{ background:var(--surface-2); color:var(--muted); font-family:var(--font-mono); font-weight:500; letter-spacing:.1em; border-block:1px solid var(--line); }

[data-design="industriel"] .section{ padding-block:96px; }
[data-design="industriel"] .section--sand{ background:var(--sand-soft); border-block:0; }
[data-design="industriel"] .section__head{ max-width:860px; }
[data-design="industriel"] .value-card,[data-design="industriel"] .act,[data-design="industriel"] .partner,[data-design="industriel"] .person,[data-design="industriel"] .country,[data-design="industriel"] .sup,
[data-design="industriel"] .org__card,[data-design="industriel"] .form,[data-design="industriel"] .gal-tab,[data-design="industriel"] .mkt,[data-design="industriel"] .post,[data-design="industriel"] .quote,[data-design="industriel"] .vmh__card{ background:var(--surface); }
[data-design="industriel"] .gal-tab.is-active{ background:var(--gold); border-color:var(--gold); color:#12171F; }
[data-design="industriel"] .vmh__card::before{ width:3px; background:var(--gold); }
[data-design="industriel"] .depense{ background:var(--surface); border-color:var(--line); }
[data-design="industriel"] .steps__n{ font-family:var(--font-mono); font-weight:500; border-radius:10px; }

/* services : deux grandes tuiles puis trois */
[data-design="industriel"] .acts{ grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
[data-design="industriel"] .act,[data-design="industriel"] .act--wide{ grid-column:span 2; grid-template-columns:none; grid-template-rows:auto 1fr; }
[data-design="industriel"] .act--wide,[data-design="industriel"] .act:nth-child(2){ grid-column:span 3; }
[data-design="industriel"] .act--wide .act__media{ aspect-ratio:16/9; min-height:0; }
[data-design="industriel"] .act:not(.act--wide):not(:nth-child(2)) .act__media{ aspect-ratio:16/11; }
[data-design="industriel"] .act__num{ font-family:var(--font-mono); font-weight:500; }
[data-design="industriel"] .act__list li{ font-family:var(--font-mono); font-weight:400; font-size:12px; }
[data-design="industriel"] .act__list li::before{ background:var(--gold); }
[data-design="industriel"] .act:hover{ border-color:rgba(217,164,65,.55); }

[data-design="industriel"] .figure__n,[data-design="industriel"] .partner__kind,[data-design="industriel"] .country__role,[data-design="industriel"] .person__role,[data-design="industriel"] .org__role,[data-design="industriel"] .project__tag{ font-family:var(--font-mono); font-weight:500; }

/* marketplace : tableau de bord + cotation toujours visible */
[data-design="industriel"] #marketplace > .wrap{ display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:16px 20px; align-items:start; max-width:1400px; }
[data-design="industriel"] #marketplace .section__head{ grid-column:1 / -1; }
[data-design="industriel"] .mkt-grid{ grid-column:1; display:flex; flex-direction:column; gap:0; padding:4px 22px; border-radius:18px; background:var(--surface); border:1px solid var(--line); }
[data-design="industriel"] .mkt{ display:grid; grid-template-columns:52px minmax(0,1fr); gap:16px; align-items:center; padding:14px 0; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; }
[data-design="industriel"] .mkt:last-child{ border-bottom:0; }
[data-design="industriel"] .mkt:hover{ transform:none; box-shadow:none; }
[data-design="industriel"] .mkt__photo{ width:52px; height:52px; aspect-ratio:1; border-radius:11px; overflow:hidden; }
[data-design="industriel"] .mkt__body{ display:grid; grid-template-columns:minmax(0,1fr) auto auto; grid-template-areas:"name price cta" "meta meta cta"; gap:3px 18px; align-items:center; padding:0; }
[data-design="industriel"] .mkt__name{ grid-area:name; font-size:16px; font-weight:600; }
[data-design="industriel"] .mkt__mode{ grid-area:meta; justify-self:start; font-family:var(--font-mono); font-weight:400; }
[data-design="industriel"] .mkt__origin,[data-design="industriel"] .mkt__desc{ display:none; }
[data-design="industriel"] .mkt__price{ grid-area:price; font-family:var(--font-mono); font-weight:500; font-size:13.5px; justify-content:flex-end; text-align:end; }
[data-design="industriel"] .mkt__price em{ display:none; }
[data-design="industriel"] .mkt__order{ grid-area:cta; margin:0; padding:8px 14px; border-radius:10px; font-size:12px; }
[data-design="industriel"] .mkt-quote{ grid-column:2; grid-row:2 / span 2; position:sticky; top:96px; margin:0; max-width:none; background:var(--surface-2); border:1px solid var(--line); box-shadow:none; }
[data-design="industriel"] .mkt-quote .mkt-quote__row{ grid-template-columns:1fr; }
[data-design="industriel"] .mkt-quote__title{ font-family:var(--font-mono); font-size:13px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-700); }
[data-design="industriel"][data-theme="dark"] .mkt-quote__title{ color:var(--gold); }
[data-design="industriel"] .mkt-note{ grid-column:1; margin:0; text-align:start; max-width:none; }
[data-design="industriel"] .form input,[data-design="industriel"] .form select,[data-design="industriel"] .form textarea{ background:var(--white); border-radius:12px; }

[data-design="industriel"] .gal-grid{ grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
[data-design="industriel"] .gal-item{ border-radius:16px; }

[data-design="industriel"] .site-footer{ position:relative; overflow:hidden; border-top:1px solid var(--line); background:var(--white); }
[data-design="industriel"] .site-footer::after{ content:'SOGECOPRES'; display:block; max-width:1400px; margin:0 auto; padding:0 28px; font-family:var(--font-brand); font-weight:700; font-size:clamp(56px,13vw,200px); line-height:.82; letter-spacing:-.05em; color:var(--surface-2); white-space:nowrap; overflow:hidden; }
[data-design="industriel"] .footer__row span{ color:var(--muted); }
[data-design="industriel"] .footer__motto{ color:var(--muted)!important; font-family:var(--font-mono); font-weight:500; }

/* ==========================================================================
   C · HORIZON — récit plein écran, menu flottant, défilement horizontal
   ========================================================================== */
html[data-design="horizon"]{
  --white:#F5EFE6; --surface:#FFFFFF; --clay:#E9DDCC; --sand-soft:#EFE6D9;
  --line:#E2D7C7; --line-2:#D2C5B2;
  --r-sm:12px; --r-md:24px; --r-lg:28px;
}
html[data-design="horizon"][data-theme="dark"]{
  --white:#11151B; --surface:#1A2028; --clay:#1A1F27; --sand-soft:#151A21; --line:#29303A; --line-2:#38414D;
}
[data-design="horizon"] h1,[data-design="horizon"] h2{ font-weight:300; letter-spacing:-.035em; }
[data-design="horizon"] h2{ font-size:clamp(34px,4.4vw,64px); line-height:1.05; }
[data-design="horizon"] .section__head{ align-items:center; text-align:center; margin-inline:auto; max-width:820px; margin-bottom:56px; }
[data-design="horizon"] .eyebrow::before{ width:18px; height:2px; }

/* menu flottant en pastille */
[data-design="horizon"] .site-header{ position:fixed; top:16px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); border:1px solid color-mix(in srgb,var(--ink) 9%,transparent); border-radius:999px; background:color-mix(in srgb,var(--white) 80%,transparent); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); box-shadow:0 14px 40px -18px rgba(28,36,48,.4); }
[data-design="horizon"] .site-header::after{ display:none; }
[data-design="horizon"] .header__row{ width:auto; max-width:none; gap:14px; padding:6px 7px 6px 10px; }
[data-design="horizon"] .site-header.is-compact .header__row{ padding-block:6px; }
[data-design="horizon"] .brand__mark{ width:34px; height:34px; }
[data-design="horizon"] .brand__name{ font-size:15px; letter-spacing:.14em; }
[data-design="horizon"] .brand__tag{ display:none; }
[data-design="horizon"] .nav{ gap:2px; }
[data-design="horizon"] .nav > a:not(.btn){ padding:9px 13px; border-radius:99px; font-size:13.5px; font-weight:500; }
[data-design="horizon"] .nav > a:not(.btn):hover{ background:var(--surface); }
[data-design="horizon"] .lang__btn,[data-design="horizon"] .theme-btn,[data-design="horizon"] .admin-link,[data-design="horizon"] .burger{ border-color:transparent; background:transparent; }
[data-design="horizon"] .lang__menu{ background:var(--surface); }
@media (max-width:1240px){ [data-design="horizon"] .nav{ top:calc(100% + 10px); border-radius:22px; border:1px solid var(--line); background:var(--surface); min-width:260px; } }

/* hero plein écran centré */
[data-design="horizon"] .hero{ min-height:100svh; align-items:center; justify-content:center; text-align:center; }
[data-design="horizon"] .hero__veil{ background:radial-gradient(ellipse at 50% 45%,rgba(20,26,34,.2),rgba(20,26,34,.72)); }
[data-design="horizon"] .hero__inner{ align-items:center; padding-block:150px 56px; }
[data-design="horizon"] .hero__copy{ align-items:center; max-width:1080px; }
[data-design="horizon"] .hero h1{ font-weight:300; font-size:clamp(42px,7vw,112px); line-height:.98; }
[data-design="horizon"] .hero .lead{ margin-inline:auto; max-width:640px; }
[data-design="horizon"] .hero__cta{ justify-content:center; }
[data-design="horizon"] .hero__stats{ width:100%; max-width:920px; margin-inline:auto; background:none; border:0; border-top:1px solid rgba(255,255,255,.25); border-radius:0; backdrop-filter:none; padding-top:22px; }
[data-design="horizon"] .hero__stats li{ background:none; align-items:center; padding:6px 10px; }
[data-design="horizon"] .hero__stats b{ color:#fff; font-weight:300; font-size:40px; }

[data-design="horizon"] .motto{ background:var(--brand); color:#F4EDE3; }

/* phrase-manifeste illustrée */
[data-design="horizon"] .ds-statement{ display:block; padding:150px 0 130px; text-align:center; }
.ds-statement__txt{ max-width:1100px; margin:0 auto; font-family:var(--font-brand); font-weight:300; font-size:clamp(30px,4.4vw,66px); line-height:1.16; letter-spacing:-.025em; color:var(--ink); text-wrap:balance; }
.ds-statement__txt b{ font-weight:600; color:var(--brand); }
.ds-statement__txt img{ display:inline-block; width:1.9em; height:.9em; object-fit:cover; border-radius:99px; vertical-align:-.08em; margin-inline:.12em; }
.ds-statement .figures{ justify-content:center; gap:80px; margin-top:80px; }
.ds-statement .figure{ max-width:180px; align-items:center; }
.ds-statement .figure__n{ color:var(--ink); font-weight:300; font-size:64px; }
.ds-statement .figure__l{ color:var(--muted); }

/* services : panneaux photo à défilement horizontal */
[data-design="horizon"] #activites{ background:#1C2430; border:0; overflow:hidden; }
[data-design="horizon"][data-theme="dark"] #activites{ background:#0B0F14; }
[data-design="horizon"] #activites h2{ color:#fff; }
[data-design="horizon"] #activites .section__sub{ color:rgba(255,255,255,.7); }
[data-design="horizon"] #activites .eyebrow{ color:var(--gold); }
[data-design="horizon"] .acts{ display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:18px; scrollbar-width:thin; scrollbar-color:var(--brand) transparent; }
[data-design="horizon"] .acts.ds-hscroll{ overflow:visible; scroll-snap-type:none; padding-bottom:0; }
[data-design="horizon"] .act,[data-design="horizon"] .act--wide{ position:relative; flex:0 0 min(460px,82vw); display:block; height:min(600px,72vh); min-height:440px; scroll-snap-align:start; border:0; border-radius:28px; background:#0B0F14; overflow:hidden; }
[data-design="horizon"] .act:hover{ transform:none; box-shadow:none; }
[data-design="horizon"] .act__media,[data-design="horizon"] .act--wide .act__media{ position:absolute; inset:0; aspect-ratio:auto; min-height:0; }
[data-design="horizon"] .act::after{ content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,transparent 35%,rgba(12,15,20,.92)); pointer-events:none; }
[data-design="horizon"] .act__body{ position:absolute; inset-inline:0; bottom:0; z-index:2; padding:32px; gap:8px; }
[data-design="horizon"] .act__num{ color:var(--gold); }
[data-design="horizon"] .act h3{ color:#fff; font-size:30px; font-weight:600; }
[data-design="horizon"] .act p{ color:rgba(255,255,255,.8); font-size:14.5px; }
[data-design="horizon"] .act__list{ display:none; }

[data-design="horizon"] .section--sand{ background:var(--sand-soft); border-block:0; }
[data-design="horizon"] .value-card,[data-design="horizon"] .partner,[data-design="horizon"] .person,[data-design="horizon"] .country,[data-design="horizon"] .sup,[data-design="horizon"] .org__card,[data-design="horizon"] .form,[data-design="horizon"] .gal-tab,[data-design="horizon"] .mkt,[data-design="horizon"] .post,[data-design="horizon"] .quote{ background:var(--surface); border-color:transparent; }
[data-design="horizon"] .vmh__card{ background:var(--surface); border:0; }
[data-design="horizon"] .gal-tab.is-active{ background:var(--brand); border-color:var(--brand); }
[data-design="horizon"] .mkt{ padding:12px; }
[data-design="horizon"] .mkt__photo{ border-radius:16px; overflow:hidden; }
[data-design="horizon"] .mkt__body{ padding:16px 8px 8px; }
[data-design="horizon"] .mkt:hover,[data-design="horizon"] .partner:hover,[data-design="horizon"] .person:hover{ transform:translateY(-6px); box-shadow:0 30px 60px -30px rgba(28,36,48,.4); }

/* engagement : photo + texte en deux moitiés */
[data-design="horizon"] #hse{ padding:0; }
[data-design="horizon"] #hse .env__grid{ max-width:none; padding:0; gap:0; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; align-items:stretch; min-height:88vh; }
[data-design="horizon"] #hse .env__grid::before{ content:''; grid-column:1; grid-row:1 / 3; min-height:420px; background:url(../media/photos/chateau-eau-communaute.jpg) center/cover no-repeat; }
[data-design="horizon"] #hse .env__grid > div{ grid-column:2; grid-row:1; align-self:end; padding:100px 72px 28px; }
[data-design="horizon"] #hse .env-list{ grid-column:2; grid-row:2; align-self:start; padding:0 72px 100px; }
[data-design="horizon"] #hse h2{ font-size:clamp(32px,3.4vw,52px); }

/* repère de chapitres (construit par designs.js) */
[data-design="horizon"] .ds-rail{ display:flex; position:fixed; inset-inline-end:22px; top:50%; transform:translateY(-50%); z-index:50; flex-direction:column; gap:12px; }
.ds-rail a{ display:flex; align-items:center; justify-content:flex-end; gap:9px; font-family:var(--font-brand); font-size:10.5px; font-weight:600; letter-spacing:.12em; color:color-mix(in srgb,var(--ink) 40%,transparent); }
.ds-rail a i{ width:16px; height:2px; border-radius:2px; background:currentColor; transition:width .3s var(--ease); }
.ds-rail a span{ opacity:0; transition:opacity .3s var(--ease); }
.ds-rail a:hover span,.ds-rail a.is-on span{ opacity:1; }
.ds-rail a.is-on{ color:var(--brand); }
.ds-rail a.is-on i{ width:34px; }
.ds-rail.is-dark a{ color:rgba(255,255,255,.5); }
.ds-rail.is-dark a.is-on{ color:var(--gold); }

/* ==========================================================================
   RESPONSIVE des trois designs
   ========================================================================== */
@media (max-width:1100px){
  [data-design="industriel"] #marketplace > .wrap{ grid-template-columns:minmax(0,1fr); }
  [data-design="industriel"] .mkt-quote{ grid-column:1; grid-row:auto; position:static; }
  [data-design="industriel"] .mkt-quote .mkt-quote__row{ grid-template-columns:1fr 1fr; }
  [data-design="industriel"] .mkt-note{ grid-column:1; }
  [data-design="horizon"] .ds-rail{ display:none; }
}
@media (max-width:920px){
  [data-design="editorial"] .hero{ grid-template-columns:minmax(0,1fr); grid-template-rows:auto; min-height:0; }
  [data-design="editorial"] .hero__copy{ grid-column:1; grid-row:1; padding:44px var(--pad) 24px; border:0; }
  [data-design="editorial"] .hero__bg{ grid-column:1; grid-row:2; margin:0 var(--pad); aspect-ratio:4/3; }
  [data-design="editorial"] .hero__stats{ grid-column:1; grid-row:3; margin:26px var(--pad) 40px; grid-template-columns:repeat(2,1fr); row-gap:18px; }
  [data-design="editorial"] .section{ padding-block:76px; }
  [data-design="editorial"] .section__head{ grid-template-columns:minmax(0,1fr); }
  [data-design="editorial"] .section__head::before{ grid-row:auto; font-size:16px; }
  [data-design="editorial"] .section__head > *{ grid-column:1; }
  [data-design="editorial"] .act,[data-design="editorial"] .act--wide{ grid-template-columns:44px minmax(0,1fr); gap:6px 14px; padding:24px 0; }
  [data-design="editorial"] .act p{ grid-column:2; grid-row:2; }
  [data-design="editorial"] .act__media{ display:none; }
  [data-design="editorial"] .mkt{ grid-template-columns:72px minmax(0,1fr); gap:14px; }
  [data-design="editorial"] .mkt__body{ grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name name" "price price" "meta cta"; }
  [data-design="editorial"] .mkt__origin{ display:none; }
  [data-design="editorial"] .mkt__name{ font-size:21px; }

  [data-design="industriel"] .hero{ grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:auto; padding:16px var(--pad) 8px; }
  [data-design="industriel"] .hero__bg,[data-design="industriel"] .hero__copy{ grid-column:1 / -1; grid-row:1; }
  [data-design="industriel"] .hero__bg{ min-height:540px; }
  [data-design="industriel"] .hero__copy{ padding:28px 22px; }
  [data-design="industriel"] .hero__stats li{ grid-column:span 1; grid-row:auto; min-height:130px; }
  [data-design="industriel"] .hero__stats b{ font-size:40px; }
  [data-design="industriel"] .hero__tile{ grid-column:1 / -1; grid-row:auto; }
  [data-design="industriel"] .acts{ grid-template-columns:minmax(0,1fr); }
  [data-design="industriel"] .act,[data-design="industriel"] .act--wide,[data-design="industriel"] .act:nth-child(2){ grid-column:auto; }

  [data-design="horizon"] .ds-statement{ padding:90px 0 80px; }
  [data-design="horizon"] .ds-statement .figures{ gap:36px; margin-top:50px; }
  [data-design="horizon"] .ds-statement .figure__n{ font-size:46px; }
  [data-design="horizon"] #hse .env__grid{ grid-template-columns:minmax(0,1fr); min-height:0; }
  [data-design="horizon"] #hse .env__grid::before{ grid-column:1; grid-row:1; min-height:320px; }
  [data-design="horizon"] #hse .env__grid > div{ grid-column:1; grid-row:2; padding:56px var(--pad) 20px; }
  [data-design="horizon"] #hse .env-list{ grid-column:1; grid-row:3; padding:0 var(--pad) 64px; }
}
@media (max-width:640px){
  [data-design="industriel"] .mkt-quote .mkt-quote__row{ grid-template-columns:1fr; }
  [data-design="industriel"] .mkt__body{ grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name cta" "price cta" "meta cta"; }
  [data-design="industriel"] .mkt__price{ justify-content:flex-start; text-align:start; }
  [data-design="horizon"] .site-header{ top:10px; max-width:calc(100% - 20px); }
  [data-design="horizon"] .header__row{ gap:8px; }
  [data-design="horizon"] .act,[data-design="horizon"] .act--wide{ height:480px; min-height:0; }
}
@media (max-width:560px){
  [data-design="editorial"] .header__row{ grid-template-columns:auto 1fr; grid-template-areas:"brand tools" "nav nav"; padding-block:10px 0; row-gap:0; }
  [data-design="editorial"] .brand{ flex-direction:row; gap:10px; }
  [data-design="editorial"] .brand__name{ font-size:13px; letter-spacing:.24em; }
  [data-design="editorial"] .nav{ border-top:0; }
}
@media print{ .ds-ticker,.ds-rail{ display:none!important; } }
[data-design="horizon"] #activites .section__head{ margin-bottom:36px; }
[data-design="horizon"] .acts.ds-hscroll .act{ height:min(540px,58vh); min-height:360px; }

/* --- département solaire dans les trois designs --- */
html[data-design="editorial"]{ --surface:#FFFDF9; }
html[data-design="editorial"][data-theme="dark"]{ --surface:#181D24; }
[data-design="editorial"] .sol-step,[data-design="editorial"] .sol-type{ background:transparent; border:0; border-top:1px solid var(--ink); border-radius:0; box-shadow:none; }
[data-design="editorial"] .sol-step:hover,[data-design="editorial"] .sol-type:hover{ transform:none; box-shadow:none; }
[data-design="editorial"] .sol-step__body{ padding:22px 0 0; }
[data-design="editorial"] .sol-type{ padding:22px 0 0; }
[data-design="editorial"] .sol-teaser{ background:var(--white); }
[data-design="editorial"] .sol-teaser__badge{ font-weight:400; }
[data-design="editorial"] .sol-split__media figure,[data-design="editorial"] .sol-teaser__img{ box-shadow:none; }
[data-design="editorial"] .act--solar .act__media::after{ display:none; }
[data-design="editorial"] .act__more{ grid-column:3; grid-row:2; margin-top:0; }
[data-design="editorial"] .act__new{ margin:6px 0 0; }

[data-design="industriel"] .sol-teaser{ background:var(--white); }
[data-design="industriel"] .sol-step__n,[data-design="industriel"] .sol-type__size,[data-design="industriel"] .act__new,[data-design="industriel"] .sol-chips li{ font-family:var(--font-mono); font-weight:500; }
[data-design="industriel"] .act--wide:last-child{ grid-column:1 / -1; grid-template-columns:1.1fr 1fr; grid-template-rows:none; }
[data-design="industriel"] .act--wide:last-child .act__media{ aspect-ratio:auto; min-height:280px; }

[data-design="horizon"] .sol-teaser{ background:var(--white); }
[data-design="horizon"] .sol-step,[data-design="horizon"] .sol-type{ border-color:transparent; }
[data-design="horizon"] .act__more{ color:var(--gold); }
[data-design="horizon"] .act--solar .act__media::after{ z-index:3; }
[data-design="horizon"] .sol-epc__head{ align-items:center; text-align:center; margin-inline:auto; }
@media (max-width:920px){
  [data-design="industriel"] .act--wide:last-child{ grid-template-columns:none; grid-template-rows:auto 1fr; }
  [data-design="editorial"] .act__more{ grid-column:2; grid-row:3; }
}
/* menu flottant Horizon : Accueil-À propos, Services, Solaire, Marketplace, Devis */
@media (min-width:1241px){
  [data-design="horizon"] .nav > a:nth-child(n){ display:inline-flex; }
  [data-design="horizon"] .nav > a:nth-child(4),[data-design="horizon"] .nav > a:nth-child(5),[data-design="horizon"] .nav > a:nth-child(6),[data-design="horizon"] .nav > a:nth-child(8),[data-design="horizon"] .nav > a:nth-child(9){ display:none; }
}
[data-design] .hero--solar .hero__stats b{ font-size:clamp(22px,2.3vw,34px); white-space:nowrap; }
[data-design="industriel"] .nav > a:not(.btn){ padding:8px 8px; }
@media (max-width:1560px){ [data-design="industriel"] .nav > a:not(.btn){ padding:7px 6px; } [data-design="editorial"] .nav{ gap:22px; } }
@media (max-width:1360px){ [data-design="industriel"] .nav > a:not(.btn){ padding:6px 4px; font-size:12px; } [data-design="industriel"] .nav > a.btn{ margin-inline-start:4px; } }
.sol-teaser h2{ font-size:clamp(28px,3.2vw,46px); }
