/* ==========================================================================
   IT-tude — feuille de style
   ========================================================================== */

/* ---------- Polices (auto-hébergées, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  --brand-950: #06142f;
  --brand-900: #0a1f4d;
  --brand-800: #0d3283;
  --brand-700: #1546a8;   /* bleu du logo */
  --brand-600: #0a7cc4;
  --brand-500: #19a0e0;
  --tint-200: #cfe3f6;
  --tint-100: #e6f1fb;
  --tint-50:  #f4f8fd;
  --sea-100:  #e3f6fd;
  --sea-600:  #0a7cc4;
  --cream:    #f6f7fb;
  --sand:     #eceef6;
  --ink:      #141c2e;
  --ink-soft: #46516a;
  --ink-mute: #6b7489;
  --line:     #e1e7f0;
  --white:    #ffffff;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 77, .06), 0 2px 8px rgba(10, 31, 77, .05);
  --shadow:    0 2px 4px rgba(10, 31, 77, .05), 0 12px 32px rgba(10, 31, 77, .09);
  --shadow-lg: 0 4px 10px rgba(10, 31, 77, .06), 0 24px 60px rgba(10, 31, 77, .14);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Poppins", "Inter", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-700); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-900);
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--brand-900); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-700); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-soft); line-height: 1.7; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em;
  border-radius: 999px;
  font: 600 .98rem/1 var(--font-sans);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 18px rgba(21, 70, 168, .28); }
.btn-primary:hover { background: var(--brand-800); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-800); border-color: var(--tint-200); }
.btn-ghost:hover { background: var(--tint-50); color: var(--brand-900); border-color: var(--brand-500); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--tint-100); color: var(--brand-900); transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(10, 31, 77, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 62px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .55em 1em; border-radius: 999px;
  font-weight: 500; font-size: .97rem; color: var(--ink-soft); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover { color: var(--brand-800); background: var(--tint-50); }
.nav-list a[aria-current="page"] { color: var(--brand-800); background: var(--tint-100); }
.nav-list .nav-cta a { background: var(--brand-700); color: #fff; margin-left: 8px; padding-inline: 1.25em; }
.nav-list .nav-cta a:hover { background: var(--brand-800); color: #fff; }
.nav-list .nav-cta a[aria-current="page"] { background: var(--brand-800); color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--brand-800); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 860px) {
  .header-inner { height: 68px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(10, 31, 77, .08);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: .85em 1em; border-radius: 12px; font-size: 1.02rem; }
  .nav-list .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-mint { background: var(--tint-50); }
.bg-cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Vague (rappel du logo) */
.wave { display: block; width: 100%; height: auto; color: var(--tint-50); }
.wave-cream { color: var(--cream); }
.wave-green { color: var(--brand-800); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, var(--tint-100) 0%, rgba(230, 241, 251, 0) 60%),
    radial-gradient(700px 420px at -10% 110%, var(--sea-100) 0%, rgba(227, 246, 253, 0) 60%),
    linear-gradient(180deg, #fff 0%, var(--tint-50) 100%);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--brand-700); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.3;
  background: var(--tint-100);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow);
  max-width: 280px;
}
.hero-badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-100); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.hero-badge .ico svg { width: 24px; height: 24px; }
.hero-badge strong { display: block; font-size: .95rem; line-height: 1.3; }
.hero-badge span { display: block; font-size: .82rem; color: var(--ink-mute); line-height: 1.35; }
.hero-badge.top { left: auto; right: -18px; top: 26px; bottom: auto; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2rem; font-size: .92rem; color: var(--ink-mute); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--brand-600); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-badge { left: 12px; bottom: -18px; }
  .hero-badge.top { right: 12px; top: -18px; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% 0%, var(--tint-100) 0%, rgba(230, 241, 251, 0) 65%),
    linear-gradient(180deg, #fff 0%, var(--tint-50) 100%);
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px);
}
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin-inline: .5em; opacity: .6; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-200); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .98rem; }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--tint-100); color: var(--brand-700);
  margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card .ico.sea { background: var(--sea-100); color: var(--sea-600); }
.card .ico.sand { background: var(--sand); color: #3b4a7a; }

.feature-strip { margin-top: calc(-1 * clamp(40px, 5vw, 64px)); position: relative; z-index: 2; }
.feature-strip .card { padding: 24px; }
.feature-strip h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; color: var(--brand-900); }
.feature-strip p { font-size: .93rem; }

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.split-media {
  position: relative;
  background: linear-gradient(160deg, var(--tint-50), var(--sea-100));
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid; place-items: center;
}
.split-media img { border-radius: 14px; max-height: 440px; width: auto; mix-blend-mode: multiply; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--tint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231546a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Pour qui (pastilles) ---------- */
.audience .card { text-align: left; }
.audience .tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sea-600); background: var(--sea-100); border-radius: 999px; padding: .3em .8em; margin-bottom: 14px; }

/* ---------- Étapes (aperçu) ---------- */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 30px; }
.step-card .num {
  font-family: var(--font-serif); font-weight: 600; font-size: 3rem; line-height: 1;
  color: var(--tint-200); position: absolute; right: 24px; top: 18px;
}
.step-card h3 { margin-top: 6px; }

/* ---------- Bandeau tarif ---------- */
.price-band {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
}
.price-band .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.price-amount { font-family: var(--font-serif); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem); font-weight: 600; color: var(--brand-800); line-height: 1; }
.price-unit { color: var(--ink-mute); font-size: .98rem; }
@media (max-width: 760px) { .price-band { grid-template-columns: 1fr; } .price-band .price { justify-content: flex-start; } }

/* ---------- Bandeau contact (CTA) ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-700) 55%, var(--brand-600));
  color: #e6effb;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -60px; bottom: -70px; width: 320px; height: 320px;
  background: url("../img/logo-white.png") left center / auto 60% no-repeat;
  opacity: .06; pointer-events: none;
}
.cta h2 { color: #fff; }
.cta p { color: #cfe0f5; margin-bottom: 0; }
.cta .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-phones { display: grid; gap: 10px; justify-items: end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row, .cta-phones { justify-content: flex-start; justify-items: start; } }

/* ---------- Prose (pages de contenu) ---------- */
.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1.05em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--brand-800); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand-600); }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--tint-50); border: 1px solid var(--tint-200);
  border-radius: var(--radius); padding: 22px 24px; margin: 1.6em 0;
}
.callout .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--brand-700); display: grid; place-items: center; }
.callout .ico svg { width: 22px; height: 22px; }
.callout p { margin: 0; color: var(--ink-soft); }
.callout strong { display: block; margin-bottom: 2px; }
.callout.sea { background: var(--sea-100); border-color: #c6e6f6; }
.callout.sea .ico { color: var(--sea-600); }

/* ---------- Circuit PMI ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; }
.flow-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center;
}
.flow-node .ico { width: 58px; height: 58px; border-radius: 18px; background: var(--tint-100); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 14px; }
.flow-node .ico svg { width: 30px; height: 30px; }
.flow-node.is-us { background: var(--brand-700); border-color: var(--brand-700); color: #e6effb; box-shadow: var(--shadow); }
.flow-node.is-us h3 { color: #fff; }
.flow-node.is-us .ico { background: rgba(255, 255, 255, .14); color: #fff; }
.flow-node.is-us p { color: #cfe0f5; }
.flow-node h3 { font-size: 1.15rem; margin-bottom: .3em; }
.flow-node p { font-size: .9rem; color: var(--ink-mute); margin: 0; line-height: 1.5; }
.flow-link { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 10px; min-width: 150px; max-width: 190px; }
.flow-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; line-height: 1.35; color: var(--ink-soft); }
.flow-arrow svg { width: 100%; height: 14px; color: var(--brand-500); }
.flow-arrow.back { color: var(--ink-mute); }
.flow-arrow.back svg { color: var(--sea-600); transform: scaleX(-1); }
.flow-extra { margin-top: 16px; display: flex; justify-content: center; }
.flow-extra span { font-size: .85rem; color: var(--ink-mute); background: var(--cream); border: 1px dashed #cdd5e6; border-radius: 999px; padding: .4em 1em; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-link { flex-direction: row; max-width: none; min-width: 0; padding: 14px 0; justify-content: center; gap: 28px; }
  .flow-arrow { flex: 1; max-width: 200px; }
  .flow-arrow svg { width: 14px; height: 40px; transform: rotate(90deg); }
  .flow-arrow.back svg { transform: rotate(-90deg); }
}

/* ---------- Timeline des étapes ---------- */
.timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 44px); }
.tl-item { display: grid; grid-template-columns: 72px 1fr; gap: clamp(16px, 3vw, 32px); position: relative; }
.tl-item::before { content: ""; position: absolute; left: 35px; top: 72px; bottom: calc(-1 * clamp(28px, 4vw, 44px)); width: 2px; background: linear-gradient(var(--tint-200), var(--tint-100)); }
.tl-item:last-child::before { display: none; }
.tl-num {
  width: 72px; height: 72px; border-radius: 22px;
  background: var(--brand-700); color: #fff;
  display: grid; place-items: center;
  font: 600 1.7rem/1 var(--font-serif);
  box-shadow: 0 10px 24px rgba(21, 70, 168, .25);
  position: relative; z-index: 1;
}
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-sm); }
.tl-body h3 { margin-top: 0; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-bottom: .2em; }
.tl-body .tl-sub { color: var(--brand-700); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.2rem; }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 1fr; }
  .tl-item::before { display: none; }
  .tl-num { width: 56px; height: 56px; border-radius: 16px; font-size: 1.35rem; }
}

.figure-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 1.6em 0 .6em; }
.figure { margin: 0; background: var(--tint-50); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.figure .fig-img { flex: 1; display: grid; place-items: center; min-height: 180px; }
.figure img { max-height: 260px; width: auto; border-radius: 8px; mix-blend-mode: multiply; }
.figure.photo { padding: 0; overflow: hidden; background: none; }
.figure.photo img { max-height: none; width: 100%; height: 100%; object-fit: cover; border-radius: 0; mix-blend-mode: normal; }
.figure figcaption { font-size: .84rem; color: var(--ink-mute); margin-top: 12px; line-height: 1.45; }
.figure.photo figcaption { padding: 12px 16px 14px; background: var(--tint-50); margin: 0; }
.figure a.zoom { display: block; position: relative; }
.figure a.zoom::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 10px;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231546a8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow-sm);
}

/* ---------- Vidéo (chargée au clic) ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  box-shadow: var(--shadow-lg);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-btn {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: url("../img/sts-plateau.webp") center / cover no-repeat;
  color: #fff; font: inherit;
}
.video-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 47, .25), rgba(6, 20, 47, .78)); }
.video-btn .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--brand-700); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); transition: transform .2s; }
.video-btn:hover .play { transform: translate(-50%, -60%) scale(1.06); }
.video-btn .play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-btn .label { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; padding: 0 20px; }
.video-btn .label strong { display: block; color: #fff; font-size: 1.1rem; }
.video-btn .label small { color: #cfe0f5; font-size: .82rem; }

/* ---------- Tarifs ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand-700); box-shadow: var(--shadow); }
.price-card .pill { position: absolute; top: -13px; left: 28px; background: var(--brand-700); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .35em .9em; border-radius: 999px; }
.price-card .amount { font-family: var(--font-serif); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); font-weight: 600; color: var(--brand-800); line-height: 1; margin: 10px 0 6px; }
.price-card .per { color: var(--ink-mute); font-size: .95rem; }
.price-card .check-list { margin-top: 1.4rem; font-size: .96rem; }
.note { font-size: .88rem; color: var(--ink-mute); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 44px); box-shadow: var(--shadow); }
.person { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--tint-100); color: var(--brand-700); display: grid; place-items: center; font: 600 1.3rem/1 var(--font-serif); flex: none; }
.person strong { display: block; font-size: 1.12rem; }
.person span { color: var(--ink-mute); font-size: .93rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--tint-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list .k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2px; }
.contact-list .v { color: var(--ink); line-height: 1.55; }
.contact-list a { color: var(--brand-800); font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.tel-big { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--tint-50), var(--sea-100)); border: 1px solid var(--line); padding: clamp(26px, 3.6vw, 40px); }
.map-card .pin { width: 56px; height: 56px; border-radius: 18px; background: #fff; color: var(--brand-700); display: grid; place-items: center; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.map-card .pin svg { width: 28px; height: 28px; }
.map-card address { font-style: normal; color: var(--ink-soft); margin-bottom: 1.4rem; line-height: 1.7; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--brand-900); color: #c3d2ea; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 76px) 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 340px; color: #aebfdc; }
.site-footer h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.site-footer a { color: #d6e2f4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #93a7c9; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .code { font-family: var(--font-serif); font-size: clamp(5rem, 4rem + 6vw, 9rem); color: var(--tint-200); line-height: 1; font-weight: 600; }

/* ---------- Apparition douce ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Impression ---------- */
@media print {
  .site-header, .nav-toggle, .video, .cta .btn-row { display: none !important; }
  body { font-size: 12pt; }
  .card, .tl-body { box-shadow: none; }
}
.figure.photo a.zoom { flex: 1; }
@media (max-width: 900px) {
  .feature-strip { margin-top: 48px; }
  .hero-badge { bottom: -20px; }
}

/* ==========================================================================
   Spécifique IT-tude
   ========================================================================== */
.hero-dark {
  position: relative; overflow: hidden; color: #cfdcf2;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(25, 160, 224, .28), rgba(25, 160, 224, 0) 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(21, 70, 168, .55), rgba(21, 70, 168, 0) 65%),
    linear-gradient(160deg, #081a42 0%, #0a1f4d 45%, #0d2c6e 100%);
  padding-block: clamp(64px, 9vw, 128px) clamp(80px, 10vw, 140px);
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-dark .swoosh { position: absolute; right: -8%; top: 4%; width: min(820px, 80vw); opacity: .5; pointer-events: none; }
.hero-dark .wrap { position: relative; }
.hero-dark .eyebrow { color: #7cc8f0; }
.hero-dark h1 { color: #fff; max-width: 860px; }
.hero-dark h1 em { font-style: normal; background: linear-gradient(90deg, #4fc0f5, #9bdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .lead { color: #c3d2ea; max-width: 640px; margin-bottom: 2.2rem; }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.hero-dark .btn-primary { background: #19a0e0; box-shadow: 0 8px 24px rgba(25,160,224,.35); }
.hero-dark .btn-primary:hover { background: #0a7cc4; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.6rem; }
.hero-pills span { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1em; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #dbe6f7; }
.hero-pills svg { width: 16px; height: 16px; color: #7cc8f0; }

.phases { margin-top: calc(-1 * clamp(48px, 6vw, 72px)); position: relative; z-index: 2; }
.phase-card { display: flex; gap: 18px; align-items: flex-start; }
.phase-card .ico { margin: 0; flex: none; }
.phase-card h3 { font-size: 1.1rem; margin-bottom: .25em; }
.phase-card .k { display:block; font-size:.75rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color: var(--brand-600); margin-bottom: 4px; }

.expertise .card h3 { font-size: 1.15rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { font-size: .78rem; font-weight: 500; color: var(--brand-800); background: var(--tint-100); border-radius: 999px; padding: .25em .75em; }

.service-block { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block .side { display: flex; gap: 16px; align-items: flex-start; }
.service-block .side .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--tint-100); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.service-block .side .ico svg { width: 28px; height: 28px; }
.service-block .side .n { font: 500 .85rem/1 var(--font-serif); color: var(--brand-500); letter-spacing: .08em; display: block; margin-bottom: 8px; }
.service-block h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.service-block .body p:first-child { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.service-block .body p { color: var(--ink-soft); }
@media (max-width: 760px) { .service-block { grid-template-columns: 1fr; } }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-card h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card h2 svg { width: 18px; height: 18px; color: var(--brand-600); }
.info-card address, .info-card p { font-style: normal; color: var(--ink); margin: 0; line-height: 1.7; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-left: 10px; background: #fff; }
.lang-switch a, .lang-switch span { font: 600 .8rem/1 var(--font-sans); padding: .55em .8em; border-radius: 999px; text-decoration: none; color: var(--ink-mute); letter-spacing: .04em; }
.lang-switch span { background: var(--brand-800); color: #fff; }
.lang-switch a:hover { color: var(--brand-800); background: var(--tint-50); }
@media (max-width: 860px) { .lang-switch { margin: 12px 0 0; align-self: flex-start; } }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; display: flex; gap: 12px; align-items: baseline; }
.legal h2 .num { font: 500 .9rem/1 var(--font-serif); color: #fff; background: var(--brand-700); border-radius: 8px; padding: .35em .55em; flex: none; }
.legal ul { padding-left: 1.2em; }
.legal .updated { margin-top: 2.6em; font-size: .9rem; color: var(--ink-mute); font-style: italic; }
.toc { background: var(--tint-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; font-size: .95rem; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.lang-gate { min-height: 100vh; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, #081a42, #0d2c6e); color: #cfdcf2; padding: 24px; }
.lang-gate img { height: 90px; width: auto; margin: 0 auto 28px; }
.lang-gate .btn-row { justify-content: center; }
