/*
Theme Name: Data SL Consulting
Theme URI: https://data-slconsulting.com/
Author: Data SL Consulting
Description: Theme sur mesure Data SL Consulting - design valide en maquette (juillet 2026). Rouge #E2272C / indigo, Sora + Inter Tight + JetBrains Mono.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: datasl
*/
/* ============================================================
   Data SL Consulting — Design System
   D'après le handoff design hi-fi (V1). Palette rationalisée :
   Rouge marque/CTA #E2272C · dégradés indigo pour surfaces sombres ·
   neutres travaillés. Typo Sora + Inter Tight + JetBrains Mono.
   ============================================================ */

/* Polices chargées via <link> dans le <head> (meilleur LCP que @import). */

:root {
  --red: #E2272C;
  --red-dark: #C41E23;
  --red-tint: #FDECEC;
  --ink: #14131A;
  --ink-2: #1C1B22;
  --muted: #54545F;
  --muted-2: #6A6A74; /* assombri pour contraste AA sur fond clair */
  --bg: #F5F5F8;
  --surface: #FFFFFF;
  --surface-2: #FBFBFD;
  --border: #ECECF0;
  --border-2: #E4E4EA;
  --green: #2FB463;
  --green-tint: #EAF7EF;
  --viz-violet: #8B7FE0;
  --viz-bar: #DAD8EA;

  --grad-hero: radial-gradient(140% 120% at 72% 8%, #4a3f9e 0%, #332b78 40%, #1c1749 72%, #120f2e 100%);
  --grad-stats: radial-gradient(130% 150% at 20% 10%, #332b78 0%, #1f1a52 50%, #14112f 100%);
  --grad-cta: radial-gradient(140% 130% at 78% 12%, #4a3f9e 0%, #2c2570 42%, #181343 100%);
  --avatar: radial-gradient(120% 120% at 30% 20%, #4a3f9e, #1c1749);

  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --container-narrow: 860px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 40px 80px -20px rgba(10,8,30,.55);
  --shadow-soft: 0 20px 44px -24px rgba(23,19,64,.35);
  --space: clamp(2.5rem, 6vw, 5.5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
ul, ol { padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 44px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space); }

/* Eyebrow / mono labels */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-block; }
.eyebrow.on-dark { color: #FFB3B5; }
.mono { font-family: var(--font-mono); }

h2.section-title { font-size: clamp(27px, 4vw, 42px); line-height: 1.08; margin-top: 14px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 16px; padding: 16px 26px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, transform .12s, box-shadow .2s, border-color .2s, color .2s; line-height: 1; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-cta { background: var(--red); color: #fff; }
.btn-cta:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #D2D2DA; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 12px 20px; font-size: 14px; border-radius: 9px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: 78px; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.header-left { display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 48px; width: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.dropdown { display: block; }
.main-nav > ul > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: #2C2B33; background: none; border: none; cursor: pointer; padding: 6px 0; }
.nav-link:hover { color: var(--red); }
.nav-link .caret { font-size: 10px; color: #9A9AA4; transition: transform .2s ease; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); color: var(--red); }
/* Menu déroulant : collé au trigger (pas de zone morte), large et aéré */
.dropdown { position: absolute; top: 100%; left: 0; min-width: 320px; max-width: 380px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 12px 10px 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 120; }
.nav-item:hover .dropdown, .dropdown:hover, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li + li { margin-top: 1px; }
.dropdown a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.25; transition: background .14s; }
.dropdown a:hover { background: var(--bg); color: var(--red); }
.dropdown a small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted-2); font-size: 12.5px; line-height: 1.35; margin-top: 3px; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--red); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Surfaces sombres (héros / stats / cta) ---------- */
.surface-indigo { position: relative; overflow: hidden; color: #fff; }
.surface-indigo.hero { background: var(--grad-hero); }
.surface-indigo.stats { background: var(--grad-stats); }
.surface-indigo.cta { background: var(--grad-cta); }
.surface-indigo .inner { position: relative; z-index: 1; }
/* Cercles décoratifs (motif de marque) */
.decor { position: absolute; border-radius: 50%; pointer-events: none; }
.decor.fill { background: var(--red); }
.decor.ring-red { border: 1.5px solid rgba(226,39,44,.5); }
.decor.ring-white { border: 1.5px solid rgba(255,255,255,.14); }

/* ---------- Héros ---------- */
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 82px 90px; max-width: 1280px; margin: 0 auto; padding-inline: 44px; }
.hero .inner.single { display: block; }
.hero .inner.single .hero-sub { max-width: 640px; }
.hero .breadcrumb { color: rgba(255,255,255,.55); padding-block: 0 26px; }
.hero .breadcrumb a { color: rgba(255,255,255,.65); }
.pill-eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #FFB3B5; border: 1px solid rgba(255,179,181,.4); padding: 7px 14px; border-radius: 20px; margin-bottom: 26px; }
.hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 22px; color: #fff; }
.hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8); margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 38px; }
.trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.72); }
.trust-logos { display: flex; gap: 22px; opacity: .85; }
.trust-logos span { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; }

/* Carte dashboard flottante */
.dash-wrap { position: relative; justify-self: end; width: 462px; max-width: 100%; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.dash { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); color: var(--ink); }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-head .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.dash-head .ttl { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-top: 2px; }
.chip-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--green); background: var(--green-tint); padding: 5px 10px; border-radius: 20px; }
.chip-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 14px; }
.kpi .k { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.kpi .v { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-top: 6px; }
.kpi .d { font-family: var(--font-mono); font-size: 11px; color: var(--green); margin-top: 2px; }
.chart { background: var(--bg); border-radius: 12px; padding: 16px 14px 12px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.chart-head .k { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.chart-head .y { font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--red); }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; }
.bars i { flex: 1; background: var(--viz-bar); border-radius: 5px 5px 0 0; display: block; }
.bars i.v2 { background: var(--viz-violet); }
.bars i.v3 { background: var(--red); }
.bar-labels { display: flex; gap: 9px; margin-top: 8px; }
.bar-labels span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); }
.dash-foot { text-align: right; font-family: var(--font-mono); font-size: 10px; color: #7A7A85; margin-top: 12px; }
.dash-badge { position: absolute; bottom: -18px; left: 16px; background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.dash-badge .n { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.dash-badge .l { font-size: 12px; color: rgba(255,255,255,.7); }

/* ---------- Cartes / grilles ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .15s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
/* Icônes de cartes — pastille teintée + SVG trait */
.card-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex: none; }
.card-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ico-row .card-ico, .ico-row .res-tag { margin-bottom: 0; }

.pain-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; }
.pain-x { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.pain-card p { font-size: 17px; line-height: 1.5; color: #33323B; }

.service-card { position: relative; display: flex; flex-direction: column; min-height: 230px; }
.service-card.featured { border: 1.5px solid var(--red); }
.service-num { font-family: var(--font-mono); font-size: 13px; color: #C7C7D0; margin-bottom: 16px; }
.service-card.featured .service-num { color: var(--red); }
.service-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.service-card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 10px; }
.service-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.badge-pop { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 4px 9px; border-radius: 20px; }

/* Stats band */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 34px; }
.stat { border-left: 2px solid rgba(226,39,44,.9); padding-left: 22px; }
.stat .v { font-family: var(--font-head); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.stat .l { font-size: 16px; color: rgba(255,255,255,.72); margin-top: 10px; line-height: 1.4; }

/* Onglets métiers */
.tabs-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--border-2); margin-bottom: 34px; }
.tab-btn { padding: 16px 24px; font-family: var(--font-head); font-weight: 600; font-size: 17px; background: none; border: none; border-bottom: 3px solid transparent; color: var(--muted-2); cursor: pointer; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab-btn[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tab-panel[hidden] { display: none; }
.tab-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.tab-inner h3 { font-size: 28px; letter-spacing: -.01em; margin-bottom: 14px; }
.tab-inner > div > p { font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks div { display: flex; gap: 12px; align-items: center; font-size: 16px; color: #33323B; }
.checks .arrow { color: var(--red); font-weight: 700; }
.result-tile { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.result-tile .v { font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--red); letter-spacing: -.02em; }
.result-tile.qual .v { font-size: 30px; line-height: 1.1; }
.result-tile .l { font-size: 16px; color: var(--muted); margin-top: 12px; }

/* Ressources */
.res-card { display: flex; flex-direction: column; min-height: 210px; background: var(--surface-2); }
.res-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: var(--red-tint); padding: 5px 11px; border-radius: 20px; margin-bottom: 20px; }
.res-card h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.res-card p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-bottom: 18px; }
.res-card .go { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--red); }

/* Témoignages */
.quote-card { padding: 34px 36px; display: flex; flex-direction: column; }
.quote-mark { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--red); line-height: .6; margin-bottom: 6px; }
.quote-card p { font-family: var(--font-head); font-weight: 500; font-size: 21px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink-2); margin-bottom: 24px; }
.quote-author { margin-top: auto; text-align: left; }
.quote-author .n { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.quote-author .r { font-size: 13px; color: var(--muted-2); }

/* FAQ */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border-2); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; background: none; border: none; text-align: left; }
.faq-q span:first-child { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: var(--ink-2); }
.faq-icon { flex: none; font-family: var(--font-head); font-weight: 400; font-size: 26px; color: var(--red); transition: transform .25s ease; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .25s ease; }
.faq-q[aria-expanded="true"] + .faq-a { max-height: 420px; opacity: 1; }
.faq-a p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }

/* CTA final */
.final-cta { text-align: center; }
.final-cta .inner { padding-block: 92px; max-width: 1000px; margin: 0 auto; padding-inline: 44px; }
.final-cta h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px; color: #fff; }
.final-cta p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 34px; }
.final-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.final-actions .phone { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; padding: 16px 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; }
.site-footer .inner { padding: 70px 44px 30px; max-width: var(--container); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 280px; margin-bottom: 20px; }
.footer-brand .fphone { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #fff; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 15px; color: rgba(255,255,255,.72); padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.6); flex-wrap: wrap; gap: 12px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: rgba(255,255,255,.94); border-top: 1px solid var(--border); padding: 12px 16px; gap: 10px; align-items: center; backdrop-filter: blur(8px); }
.mobile-cta .phone { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }

/* ---------- Prose (articles / pages texte) ---------- */
.prose { font-size: 18px; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 2.5rem; font-size: 30px; }
.prose h3 { margin-top: 1.75rem; font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose strong { color: var(--ink); }
.callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.callout.accent { background: var(--red-tint); border-color: #F6D5D5; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); padding-block: 18px; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb span { margin-inline: .4rem; }
.badge { display: inline-block; font-family: var(--font-mono); background: var(--red-tint); color: var(--red); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li { position: relative; padding-left: 3.5rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.feature-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.feature-list li { padding-left: 1.8rem; position: relative; }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 526px; margin-inline: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-soft); padding: 1.25rem 1.5rem; z-index: 200; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h4 { font-family: var(--font-head); margin-bottom: .4rem; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 300; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
  .dash-wrap { justify-self: start; animation: none; }
  .tab-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .container { padding-inline: 22px; }
  .hero .inner { padding-inline: 22px; }
  .final-cta .inner, .site-footer .inner { padding-inline: 22px; }
  .grid-4, .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { position: fixed; inset: 78px 0 0 0; background: #fff; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 1rem 22px; border-top: 1px solid var(--border); }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.05rem; }
  .dropdown { display: none; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 .5rem 1rem; min-width: 0; max-width: none; }
  .header-right .btn-cta { display: none; }
  .burger { display: flex; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  h2.section-title { font-size: 27px; }
  .hero h1 { font-size: 34px; }
  .stat .v { font-size: 38px; }
  .tabs-bar .tab-btn { flex: 1; padding: 12px 6px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

/* ===== Bande logos clients ===== */
.clients-band{background:#fff;border-block:1px solid var(--border);padding:34px 0}
.clients-label{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);text-align:center;margin:0 0 22px}
.clients-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:30px 48px}
.clients-strip img{height:42px;width:auto;max-width:170px;object-fit:contain}
.clients-strip img[alt="TotalEnergies"]{height:64px}
@media (max-width:640px){.clients-strip img[alt="TotalEnergies"]{height:46px}}
@media (max-width:640px){.clients-strip{gap:22px 30px}.clients-strip img{height:30px;max-width:120px}}


/* ===== Placeholders maquette (faits a valider par Richard) ===== */
mark.todo{background:#FFF3CD;color:#7a5d00;padding:2px 8px;border-radius:6px;font-size:.88em;font-style:normal;font-weight:500}

/* ===== Formulaire contact ===== */
.contact-form .form-field{margin-bottom:16px}
.contact-form label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.contact-form input,.contact-form textarea{width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:10px;font:inherit;font-size:15px;background:var(--bg)}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--red);outline-offset:1px;border-color:var(--red)}
.contact-form .form-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:13.5px;color:var(--muted)}
.contact-form .form-check input{width:auto;margin-top:3px}
