@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ALRO Solar — feuille de style (les @font-face sont ajoutées devant par build.py) */
:root {
  --orange: #E06034;
  --orange-ink: #B4461F;      /* orange assombri : lisible en petit texte sur fond blanc (contraste > 4.5) */
  --orange-soft: #FCEDE7;
  --ink: #161514;
  --ink-2: #3a3634;
  --muted: #625d59;
  --line: #e7e2de;
  --bg: #ffffff;
  --bg-alt: #f7f4f1;
  --dark: #1c1a19;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,21,20,.06), 0 8px 24px rgba(22,21,20,.06);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--orange-ink); margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 46em; }

/* Boutons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--orange); color: #fff; font-weight: 600;
  text-decoration: none; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--orange); line-height: 1.2; cursor: pointer; font: inherit; font-weight: 600; transition: background .15s, color .15s; }
.btn:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--orange-soft); border-color: var(--orange-soft); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand img { width: 200px; height: auto; }
.menu { display: flex; align-items: center; gap: 20px; }
.menu ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.menu ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu ul a:hover, .menu ul a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--ink); }
.lang { display: flex; gap: 2px; font-size: .85rem; }
.lang a { color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 6px; font-weight: 600; }
.lang a.on { color: var(--ink); background: var(--bg-alt); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-btn > span:first-child { top: 21px; }
.menu-btn > span:first-child::before { left: 0; top: -7px; }
.menu-btn > span:first-child::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] > span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] > span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] > span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) {
  .js .menu-btn { display: block; }
  .js .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 14px; box-shadow: var(--shadow); }
  .js .menu.open { display: flex; }
  .menu ul { flex-direction: column; gap: 4px; }
  .menu ul a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .header-row { flex-wrap: wrap; }
  html:not(.js) .menu { width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
}

/* Fil d'Ariane */
.crumbs:has(+ .page-hero) { background: var(--bg-alt); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; padding-bottom: 0; margin: 0 auto; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); color: #b9b2ad; }
.crumbs a { color: var(--muted); }

/* Héros d'accueil */
.hero { position: relative; color: #fff; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,17,.15) 0%, rgba(20,18,17,.55) 45%, rgba(20,18,17,.88) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { color: #fff; max-width: 17em; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .eyebrow { color: #ffb596; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.points { background: var(--ink); color: #fff; }
.points ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.points li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--orange); }
.points strong { font-size: 1rem; }
.points span { font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.5; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.more { margin-top: 28px; }
.more a:not(.btn) { font-weight: 600; text-decoration: none; }
.page-hero { background: var(--bg-alt); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20em; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { display: block; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--orange); margin-bottom: 18px; }
.svc:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-2); }
.svc p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Cartes projets */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(22,21,20,.06), 0 16px 34px rgba(22,21,20,.1); }
.card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 18px 20px 20px; }
.card h3 { margin: .25em 0 .3em; font-size: 1.12rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-ink); margin: 0; }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
.card[hidden] { display: none; }
.noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-alt), var(--line)); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filters button { font: inherit; font-size: .9rem; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: .45em 1em; border-radius: 999px; cursor: pointer; }
.filters button:hover { border-color: var(--orange); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.stat { color: var(--muted); margin-bottom: 18px; }
.stat strong { color: var(--ink); }
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.refs li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; line-height: 1.4; }
.refs li[hidden] { display: none; }
.ref-img { flex: 0 0 96px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--line); }
.ref-img img { width: 100%; height: 100%; object-fit: cover; }

/* Secteurs */
.sectors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors a { display: inline-flex; align-items: center; gap: 10px; padding: .6em 1.1em; border-radius: 999px; background: var(--bg-alt); color: var(--ink); text-decoration: none; font-weight: 500; border: 1px solid var(--line); }
.sectors a:hover { border-color: var(--orange); }
.sectors span { font-size: .78rem; background: #fff; border-radius: 999px; padding: 1px 8px; color: var(--muted); }

/* Étapes */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; font-size: 1.5rem; color: var(--orange); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); padding: 16px 36px 16px 0; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* Bandeau d'appel */
.cta-band { background: var(--orange); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.95); max-width: 40em; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Texte courant */
.prose { padding: 8px 0 24px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.feature { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; font-size: .97rem; }
.datos { list-style: none; padding: 0 !important; background: var(--bg-alt); border-radius: var(--radius); padding: 18px 22px !important; }

/* Page projet */
.project-head { padding-top: 26px; padding-bottom: 18px; }
.project-head h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); max-width: 24em; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery .g { display: block; border-radius: 10px; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery .g:hover img { transform: scale(1.03); }
.gallery .g-main { grid-column: 1 / -1; aspect-ratio: 16 / 8; border-radius: var(--radius); }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 36px; padding-bottom: 56px; }
.project-body .prose { font-size: 1.05rem; padding-top: 0; }
.facts { margin: 0 0 22px; background: var(--bg-alt); border-radius: var(--radius); padding: 8px 22px; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,10,10,.92); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; margin: 6vh auto 0; border-radius: 8px; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.form label { display: block; font-weight: 500; font-size: .95rem; color: var(--ink); margin-bottom: 16px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; padding: .7em .85em; border: 1px solid #cfc8c3; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(224,96,52,.25); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--orange); }
.form-error { background: #fdecea; color: #8a1c12; padding: 12px 16px; border-radius: 10px; }
.hp { position: absolute; left: -5000px; }
.contact-info { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; align-self: start; }
.contact-info h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .4em; }
.contact-info p { margin-bottom: 1.4em; }

/* Pied de page */
.site-footer { background: var(--dark); color: rgba(255,255,255,.78); font-size: .95rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb596; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer .muted { color: rgba(255,255,255,.6); margin-top: 14px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal p { margin: 0; }
.legal a { color: rgba(255,255,255,.78); }
.kit { background: #fff; color: var(--muted); font-size: .78rem; padding: 14px 0; }
.kit .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.kit-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.kit-logos img { height: 28px; width: auto; }
.kit p { margin: 0; }

/* Bandeau de consentement (seulement si Google Analytics est activé) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink-2); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 18px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent div { display: flex; gap: 8px; }

/* Pages régions et secteurs */
.split-top { align-items: start; }
.h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.split-top .h3 + .tags, .split-top .h3 + .sectors { margin-bottom: 26px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .25em .8em; font-size: .9rem; }
.refs-title { margin: 34px 0 14px; }
.suc, .alm-box { margin-top: 22px; }
.alm-box { background: var(--orange-soft); }
.zone-links { margin: -10px 0 22px; color: var(--muted); font-size: .92rem; }
.footer-links { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 6px; font-size: .86rem; }
.footer-links p { margin: 0 0 8px; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links strong { color: #fff; }

/* Bandeau de la version de test */
.test-banner { background: #1c1a19; color: #ffd166; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }
.test-banner a { color: #fff; }

/* Stockage */
.alm-band { background: var(--ink); color: rgba(255,255,255,.85); padding: 44px 0; }
.alm-band h2 { color: #fff; margin-bottom: .3em; }
.alm-band p { margin: 0; max-width: 46em; }
.alm-band .eyebrow { color: #ffb596; margin-bottom: .5em; }
.alm-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.alm-hero { background: linear-gradient(135deg, var(--bg-alt) 0%, var(--orange-soft) 100%); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.diagram { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.diagram svg { width: 100%; height: auto; display: block; font-family: var(--font); font-size: 14px; }
.diagram figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; text-align: center; }
.dg-box { fill: var(--bg-alt); stroke: var(--line); stroke-width: 1.5; }
.diagram text { fill: var(--ink); font-weight: 500; }
.dg-power path, .dg-power-l { stroke: #8f8782; stroke-width: 3; fill: none; }
.dg-data path, .dg-data-l { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 5; fill: none; }
.dg-node { fill: #8f8782; }
.dg-ems { fill: var(--orange); }
.diagram .dg-ems-t { fill: #fff; font-size: 22px; font-weight: 700; }
.diagram .dg-ems-s { fill: #fff; font-size: 12px; font-weight: 500; }
.dg-legend text { font-size: 13px; fill: var(--muted); font-weight: 400; }

.stats { display: flex; align-items: stretch; gap: 18px; flex-wrap: wrap; margin: 6px 0 14px; }
.stat-card { flex: 1 1 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.stat-card strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.05; color: var(--ink); letter-spacing: -.02em; }
.stat-card span { display: block; margin-top: 6px; color: var(--muted); font-weight: 500; }
.stat-card.on { background: var(--orange); border-color: var(--orange); }
.stat-card.on strong, .stat-card.on span { color: #fff; }
.stat-arrow { align-self: center; font-size: 2rem; color: var(--orange); }
.hitos { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hitos li { padding-left: 14px; border-left: 3px solid var(--orange); }
.hitos strong { color: var(--ink); margin-right: 6px; }
@media (max-width: 640px) { .stat-arrow { transform: rotate(90deg); width: 100%; text-align: center; } }

/* Adaptations écrans moyens et petits */
@media (max-width: 1100px) {
  .points ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .svc-grid, .cards, .steps, .refs, .grid-3, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .project-body, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 165px; }
  .svc-grid, .cards, .steps, .refs, .grid-2, .grid-3, .steps-4, .points ul, .footer-grid { grid-template-columns: 1fr; }
  .gallery-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-main { aspect-ratio: 4 / 3; }
  .form .row2 { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-inner { padding-top: 90px; padding-bottom: 40px; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
