/* Polices hébergées sur le site (plus de requête vers Google Fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* ============================================================
   Start-ID - Feuille de style principale (v4, refonte 2026)
   Palette : Encre #0A1F3C, Émeraude #007A50, Corail #FF4D3A,
   Lin #F6F3EC. Titres Plus Jakarta Sans, texte Inter.
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A1F3C;
  --ink-2: #13305A;
  --ink-3: #071629;
  --emerald: #007A50;
  --emerald-dark: #005C3C;
  --emerald-light: #E3F3EC;
  --mint: #3DDC97;
  --coral: #FF4D3A;
  --coral-hover: #FF6A59;
  --linen: #F6F3EC;
  --white: #FFFFFF;
  --border: #E4E8EF;
  --text: #0A1F3C;
  --text-2: #4A5872;
  --text-on-dark: #C9D4E6;
  --text-on-dark-2: #D5DEEC;
  --shadow: 0 1px 2px rgba(10,31,60,.05), 0 8px 24px rgba(10,31,60,.06);
  --shadow-hover: 0 2px 4px rgba(10,31,60,.06), 0 18px 40px rgba(10,31,60,.12);
  --shadow-strong: 0 24px 56px rgba(10,31,60,.28);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 24px;
  --r-xl: 32px;
  --font-title: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font: 400 16px/1.6 var(--font-text);
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color .2s; }
a:hover { color: var(--emerald-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h3 { font-weight: 700; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }

.sid-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sid-container-sm { max-width: 760px; }
.sid-container-md { max-width: 960px; }
.sid-container-narrow { max-width: 820px; }
@media (max-width: 640px) { .sid-container { padding: 0 16px; } }

/* ============================================================
   En-tête
   ============================================================ */
.sid-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .2s;
}
.sid-header.sid-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.sid-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.sid-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.sid-logo img { height: 46px; width: auto; background: var(--white); border-radius: 12px; padding: 3px 4px; }
.sid-logo-text { font-family: var(--font-title); font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.sid-logo-start { color: var(--white); }
.sid-logo-id { color: var(--mint); }

.sid-nav { display: flex; align-items: center; gap: 4px; }
.sid-nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 12px; border-radius: 10px;
  color: var(--text-on-dark-2); font-size: 15px; font-weight: 500;
  transition: background .2s, color .2s;
}
.sid-nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.sid-nav-link.sid-active { color: var(--white); background: rgba(255,255,255,.1); }
.sid-lang-switch { font-weight: 700; font-size: 14px; border: 1px solid rgba(255,255,255,.25); margin-left: 6px; min-height: 40px; }
.sid-nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; margin-left: 10px;
  padding: 0 20px; border-radius: var(--r-sm);
  background: var(--coral); color: var(--ink) !important; font-weight: 700; font-size: 15px;
  transition: background .2s, transform .12s;
}
.sid-nav-cta:hover { background: var(--coral-hover); color: var(--ink); }
.sid-nav-cta:active { transform: translateY(1px); }

.sid-menu-toggle { position: absolute; opacity: 0; pointer-events: none; display: none; }
.sid-burger { display: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border-radius: 10px; }
.sid-burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sid-menu-toggle:focus-visible + .sid-burger { outline: 3px solid var(--mint); }

.sid-dropdown { position: relative; }
.sid-dropdown-trigger::after {
  content: ''; width: 7px; height: 7px; margin-left: 8px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.sid-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: var(--white); border-radius: 16px; padding: 8px;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.sid-dropdown-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.sid-dropdown-menu a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; }
.sid-dropdown-menu a:hover { background: var(--linen); color: var(--ink); }
.sid-dropdown:hover .sid-dropdown-menu,
.sid-dropdown:focus-within .sid-dropdown-menu { display: block; }

@media (max-width: 1080px) {
  .sid-burger { display: flex; }
  .sid-menu-toggle { display: block; width: 44px; height: 44px; }
  .sid-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); padding: 12px 16px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 40px rgba(0,0,0,.3);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .sid-menu-toggle:checked ~ .sid-nav { display: flex; }
  .sid-menu-toggle:checked + .sid-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sid-menu-toggle:checked + .sid-burger span:nth-child(2) { opacity: 0; }
  .sid-menu-toggle:checked + .sid-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sid-nav-link { min-height: 48px; font-size: 16px; }
  .sid-dropdown-menu { position: static; display: none; box-shadow: none; background: var(--ink-2); margin: 4px 0; min-width: 0; }
  .sid-dropdown-menu a { color: var(--text-on-dark-2); }
  .sid-dropdown-menu a:hover { background: rgba(255,255,255,.07); color: var(--white); }
  .sid-dropdown:hover .sid-dropdown-menu { display: none; }
  .sid-dropdown.sid-open .sid-dropdown-menu, .sid-dropdown:focus-within .sid-dropdown-menu { display: block; }
  .sid-lang-switch { margin: 6px 0 0; justify-content: center; }
  .sid-nav-cta { margin: 8px 0 0; justify-content: center; min-height: 52px; }
}

/* --- Fil d'Ariane (bandeau encre, continuité avec le hero) --- */
.sid-breadcrumb { background: var(--ink); padding: 14px 0 0; font-size: 13px; }
.sid-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0; }
.sid-breadcrumb li { display: inline-flex; align-items: center; color: var(--text-on-dark); }
.sid-breadcrumb li::after { content: '/'; margin: 0 10px; color: rgba(255,255,255,.35); }
.sid-breadcrumb li:last-child::after { content: ''; margin: 0; }
.sid-breadcrumb a { color: var(--text-on-dark-2); font-weight: 500; }
.sid-breadcrumb a:hover { color: var(--white); }
.sid-breadcrumb li:last-child span { color: var(--text-on-dark); }

/* ============================================================
   Boutons et badges
   ============================================================ */
.sid-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 14px;
  background: var(--coral); color: var(--ink); border: 0;
  font: 700 16px/1.2 var(--font-text); cursor: pointer; text-align: center;
  transition: background .2s, transform .12s, box-shadow .2s;
}
.sid-btn:hover { background: var(--coral-hover); color: var(--ink); }
.sid-btn:active { transform: translateY(1px); }
.sid-btn:disabled { opacity: .6; cursor: wait; }
.sid-btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.sid-btn-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.sid-btn-arrow:hover::after { transform: translateX(4px); }
.sid-btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sid-btn-outline:hover { background: var(--ink); color: var(--white); }
.sid-btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); font-weight: 600; }
.sid-btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.sid-btn-navy, .sid-btn-dark { background: var(--ink); color: var(--white); }
.sid-btn-navy:hover, .sid-btn-dark:hover { background: var(--ink-2); color: var(--white); }
.sid-btn-red { background: var(--coral); color: var(--ink); }
.sid-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.sid-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.sid-text-center .sid-cta-group, .sid-cta-group.sid-center { justify-content: center; }

/* Sur fond sombre, le bouton contour devient clair */
.sid-hero .sid-btn-outline, .sid-cta-section .sid-btn-outline, .sid-band .sid-btn-outline {
  color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.sid-hero .sid-btn-outline:hover, .sid-cta-section .sid-btn-outline:hover { background: rgba(255,255,255,.1); }

.sid-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--emerald-light); color: var(--emerald-dark);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.sid-section-alt .sid-eyebrow { background: var(--white); }
.sid-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; background: var(--linen); color: var(--ink);
}
.sid-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--emerald-light); color: var(--emerald-dark);
}
.sid-badge-contract { background: var(--ink); color: var(--white); }
.sid-badge-type { background: var(--linen); color: var(--ink); }
.sid-job-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sid-badge-internal { background: var(--ink); color: var(--white); }
.sid-badge-client { background: var(--emerald-light); color: var(--emerald-dark); }
.sid-badge-cdi { background: var(--linen); color: var(--ink); }

/* ============================================================
   Hero (pages internes)
   ============================================================ */
.sid-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: 72px 0 88px;
}
.sid-hero::before {
  content: ''; position: absolute; right: -160px; top: -200px;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--emerald); opacity: .22; pointer-events: none;
}
.sid-hero::after {
  content: ''; position: absolute; left: -140px; bottom: -260px;
  width: 440px; height: 440px; border-radius: 50%;
  border: 60px solid var(--ink-2); pointer-events: none;
}
.sid-hero .sid-container { position: relative; z-index: 2; }
.sid-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); letter-spacing: -.03em; margin-bottom: 18px; max-width: 860px; }
.sid-hero p { font-size: clamp(17px, 2vw, 19px); color: var(--text-on-dark); max-width: 700px; line-height: 1.6; }
.sid-hero .sid-text-center h1, .sid-hero .sid-text-center p { margin-left: auto; margin-right: auto; }
.sid-hero .sid-subtitle { color: var(--text-on-dark); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sid-hero .sid-cta-group { margin-top: 30px; }
.sid-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; color: var(--text-on-dark-2);
}
.sid-hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.sid-hero.sid-hero-contact::before { background: var(--coral); opacity: .16; }

/* ============================================================
   Sections
   ============================================================ */
.sid-section { padding: 96px 0; }
.sid-section-alt { background: var(--linen); }
.sid-section-dark { background: var(--ink); color: var(--white); }
.sid-section-header { text-align: center; max-width: 740px; margin: 0 auto 52px; }
.sid-section-header .sid-eyebrow { margin-bottom: 18px; }
.sid-section h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.025em; margin-bottom: 14px; }
.sid-section .sid-subtitle { font-size: 18px; color: var(--text-2); max-width: 680px; line-height: 1.6; }
.sid-section-header .sid-subtitle, .sid-text-center .sid-subtitle { margin: 0 auto; }
.sid-section.sid-text-center p, .sid-text-center > p { margin-left: auto; margin-right: auto; }
.sid-section-alt .sid-text-center .sid-btn { margin-top: 24px; }
@media (max-width: 640px) { .sid-section { padding: 64px 0; } .sid-section-header { margin-bottom: 36px; } }

/* --- Contenu de service --- */
.sid-service-content { max-width: 900px; }
.sid-service-content > h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; }
.sid-service-content > h2:first-child { margin-top: 0; }
.sid-service-content > p { font-size: 17px; line-height: 1.75; color: var(--text-2); margin-bottom: 16px; }
.sid-service-content ul:not(.sid-list), .sid-service-content ol:not(.sid-list) { margin: 14px 0 22px 22px; }
.sid-service-content li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; color: var(--text-2); }
.sid-legal > p, .sid-legal li { font-size: 16px; }
.sid-legal h2 { font-size: 24px; }

.sid-list { list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.sid-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; color: var(--text-2); margin: 0; }
ul.sid-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--emerald-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
ol.sid-list { counter-reset: sidol; }
ol.sid-list li { counter-increment: sidol; }
ol.sid-list li::before {
  content: counter(sidol); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px;
  background: var(--ink); color: var(--white); font: 800 13px/24px var(--font-title); text-align: center;
}
.sid-card .sid-list li { font-size: 15px; }

/* --- Grilles et cartes --- */
.sid-grid { display: grid; gap: 22px; }
.sid-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sid-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .sid-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sid-grid-3, .sid-grid-2 { grid-template-columns: minmax(0, 1fr); } }

.sid-card {
  position: relative; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sid-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sid-card h3 { font-size: 20px; margin-bottom: 10px; }
.sid-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.sid-card-link { display: block; color: inherit; }
.sid-card-link:hover { color: inherit; }
.sid-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: var(--emerald-light);
}
.sid-card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sid-card-highlight { border-top: 4px solid var(--emerald); }
.sid-grid-3 > .sid-card-highlight:nth-child(2) { background: var(--ink); border-color: var(--coral); border-top-color: var(--coral); box-shadow: var(--shadow-strong); }
.sid-grid-3 > .sid-card-highlight:nth-child(2) h3 { color: var(--white); }
.sid-grid-3 > .sid-card-highlight:nth-child(2) p,
.sid-grid-3 > .sid-card-highlight:nth-child(2) li { color: var(--text-on-dark); }
.sid-grid-3 > .sid-card-highlight:nth-child(2) ul.sid-list li::before { background-color: rgba(255,255,255,.12); }
.sid-service-num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); font: 800 16px var(--font-title); margin-bottom: 14px;
}

/* --- Tableaux --- */
.sid-table-wrapper { position: relative; overflow-x: auto; margin: 20px 0 8px; border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--shadow); }
.sid-table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--white); }
.sid-table th { background: var(--ink); color: var(--white); text-align: left; font: 700 14px var(--font-title); padding: 16px 18px; }
.sid-table td { padding: 15px 18px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.sid-table td:first-child { font-weight: 700; color: var(--ink); }
.sid-table tbody tr:nth-child(even) td { background: #FAFBFC; }

/* ============================================================
   Formulaires
   ============================================================ */
.sid-form { margin-top: 24px; }
.sid-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .sid-form-row { grid-template-columns: 1fr; } }
.sid-form-group { margin-bottom: 18px; }
.sid-form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.sid-form-group input, .sid-form-group textarea, .sid-form-group select {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: 400 16px/1.4 var(--font-text); color: var(--ink);
  background: var(--white); border: 1.5px solid #D3DAE5; border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.sid-form-group textarea { resize: vertical; min-height: 140px; }
.sid-form-group input:focus, .sid-form-group textarea:focus, .sid-form-group select:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(0,122,80,.15);
}
.sid-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sid-required { color: #C62828; }
.sid-quote-section { background: var(--linen); }
.sid-quote-section .sid-container > h2 { text-align: center; }
.sid-quote-section .sid-form {
  background: var(--white); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
@media (max-width: 640px) { .sid-quote-section .sid-form { padding: 22px; } }
.sid-quote-section .sid-muted { text-align: center; }
.sid-form-result { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; }
.sid-form-success { background: var(--emerald-light); color: var(--emerald-dark); border: 1px solid #BFE3CF; }
.sid-form-error { background: #FDECEA; color: #B3261E; border: 1px solid #F5C6C2; }
.sid-msg { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 15px; }
.sid-msg-ok { background: var(--emerald-light); color: var(--emerald-dark); }
.sid-msg-err { background: #FDECEA; color: #B3261E; }
.sid-muted { color: var(--text-2); font-size: 14px; margin-bottom: 12px; }

/* --- Contact --- */
.sid-contact-info { margin-top: 16px; background: var(--linen); border-radius: var(--r-lg); padding: 8px 28px; }
.sid-contact-item { padding: 20px 0; border-bottom: 1px solid #E5DFD2; }
.sid-contact-item:last-child { border-bottom: 0; }
.sid-contact-item h3 { font-size: 13px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 6px; font-weight: 700; }
.sid-contact-item p { font-size: 17px; line-height: 1.6; }
.sid-contact-item a { color: var(--emerald-dark); font-weight: 700; }

/* ============================================================
   Avantages, chiffres, CTA (conservés pour compatibilité)
   ============================================================ */
.sid-advantages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .sid-advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sid-advantages { grid-template-columns: minmax(0, 1fr); } }
.sid-advantage { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.sid-advantage-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; background: var(--emerald-light); margin-bottom: 16px; }
.sid-advantage-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sid-advantage h3 { font-size: 19px; margin-bottom: 8px; }
.sid-advantage p { font-size: 15px; color: var(--text-2); }

.sid-cta-section { padding: 0 0 96px; }
.sid-cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: 72px 48px;
}
.sid-cta-box::before { content: ''; position: absolute; left: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--emerald); opacity: .3; }
.sid-cta-box::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 44px solid var(--ink-2); }
.sid-cta-box > * { position: relative; z-index: 1; }
.sid-cta-box h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.sid-cta-box p { font-size: 19px; color: var(--text-on-dark); max-width: 620px; margin: 0 auto 34px; }
.sid-cta-box .sid-cta-group { justify-content: center; }
@media (max-width: 640px) { .sid-cta-box { padding: 48px 22px; border-radius: var(--r-lg); } }

.sid-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .sid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sid-stats { grid-template-columns: minmax(0, 1fr); } }
.sid-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 28px; }
.sid-stat-num { font: 800 clamp(38px, 4.5vw, 48px)/1 var(--font-title); color: var(--white); margin-bottom: 10px; letter-spacing: -.02em; }
.sid-stat-label { font-size: 15px; color: var(--emerald-light); }

/* ============================================================
   Page d'accueil
   ============================================================ */
.sid-home-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 88px 0 104px; }
.sid-home-hero::before { content: ''; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: var(--emerald); opacity: .22; }
.sid-home-hero::after { content: ''; position: absolute; left: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid var(--ink-2); }
.sid-home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.sid-home-hero h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 22px; }
.sid-home-hero h1 em { font-style: normal; color: var(--mint); }
.sid-home-lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-on-dark); max-width: 560px; margin-bottom: 34px; }
.sid-home-hero .sid-cta-group { margin-bottom: 34px; }
.sid-trust { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.sid-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: var(--ink-2); font-size: 14px; font-weight: 600; color: var(--white); }
.sid-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.sid-dossier { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.sid-dossier-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 12px; }
.sid-dossier-label { font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; }
.sid-dossier-title { font: 800 24px/1.2 var(--font-title); margin-bottom: 4px; }
.sid-dossier-sub { color: var(--text-2); font-size: 14px; margin-bottom: 22px; }
.sid-progress { height: 8px; border-radius: 99px; background: #EEF1F6; margin-bottom: 22px; overflow: hidden; }
.sid-progress span { display: block; width: 62%; height: 8px; border-radius: 99px; background: var(--emerald); transform-origin: left; }
.sid-anim .sid-progress span { animation: sidgrow 1.2s var(--ease) .3s both; }
@keyframes sidgrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sid-dossier-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sid-dossier-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.sid-dot { display: inline-flex; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; box-sizing: border-box; }
.sid-dot-done { background: var(--emerald); }
.sid-dot-done svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sid-dot-now { border: 2px solid var(--coral); }
.sid-dot-now::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.sid-dot-next { border: 2px solid #D3DAE5; }
.sid-dossier-steps .sid-todo { color: var(--text-2); font-weight: 500; }
.sid-dossier-note { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--linen); font-size: 14px; }

.sid-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.sid-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sid-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sid-step-num { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--white); align-items: center; justify-content: center; font: 800 20px var(--font-title); }
.sid-step h3 { font-size: 20px; margin: 20px 0 8px; }
.sid-step p { color: var(--text-2); font-size: 15px; }
.sid-step-dark { background: var(--ink); border-color: var(--ink); box-shadow: 0 12px 32px rgba(10,31,60,.22); }
.sid-step-dark h3 { color: var(--white); }
.sid-step-dark p { color: var(--text-on-dark); }
.sid-step-dark .sid-step-num { background: var(--coral); color: var(--ink); }
.sid-step-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.sid-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 20px; }
.sid-bento-item {
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sid-bento-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--ink); }
.sid-bento-item h3 { font-size: 20px; margin-top: 4px; }
.sid-bento-item p { color: var(--text-2); font-size: 15px; }
.sid-bento-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--emerald-light); align-items: center; justify-content: center; }
.sid-bento-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sid-bento-big { grid-column: span 2; grid-row: span 2; justify-content: space-between; background: var(--ink); color: var(--white); padding: 36px; }
.sid-bento-big:hover { color: var(--white); }
.sid-bento-big::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--emerald); opacity: .35; }
.sid-bento-big > * { position: relative; z-index: 1; }
.sid-bento-big h3 { color: var(--white); font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 20px 0 12px; }
.sid-bento-big p { color: var(--text-on-dark); font-size: 17px; max-width: 420px; }
.sid-bento-tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 800; }
.sid-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sid-chips span { padding: 8px 14px; border-radius: 10px; background: var(--ink-2); font-size: 14px; font-weight: 600; }
.sid-bento-green { background: var(--emerald); color: var(--white); }
.sid-bento-green:hover { color: var(--white); }
.sid-bento-green h3 { color: var(--white); }
.sid-bento-green p { color: var(--emerald-light); }
.sid-bento-green .sid-bento-icon { background: rgba(255,255,255,.16); }
.sid-bento-green .sid-bento-icon svg { stroke: var(--white); }
.sid-bento-wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; }
.sid-bento-wide > div { max-width: 380px; }
.sid-bento-more { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; }
.sid-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.sid-head-row h2 { margin: 18px 0 0; }
.sid-head-row a { font-weight: 700; color: var(--emerald-dark); padding: 10px 0; }

.sid-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sid-plan { display: flex; flex-direction: column; position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 32px; transition: box-shadow .2s; }
.sid-plan:hover { box-shadow: var(--shadow-hover); }
.sid-plan h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.sid-plan-desc { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.sid-plan-price { font: 800 34px/1.1 var(--font-title); margin-bottom: 6px; }
.sid-plan-note { color: var(--text-2); font-size: 14px; margin-bottom: 26px; }
.sid-plan .sid-list { margin: 0 0 30px; gap: 12px; }
.sid-plan .sid-btn { margin-top: auto; width: 100%; }
.sid-plan-featured { background: var(--ink); border: 2px solid var(--coral); box-shadow: var(--shadow-strong); transform: translateY(-12px); }
.sid-plan-featured h3, .sid-plan-featured .sid-plan-price { color: var(--white); }
.sid-plan-featured .sid-plan-desc, .sid-plan-featured .sid-plan-note, .sid-plan-featured .sid-list li { color: var(--text-on-dark); }
.sid-plan-featured ul.sid-list li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.sid-plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 16px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 13px; font-weight: 800; }
.sid-plan-link { text-align: center; margin-top: 32px; }
.sid-plan-link a { font-weight: 700; }

.sid-band { position: relative; overflow: hidden; background: var(--emerald); color: var(--white); padding: 96px 0; }
.sid-band::before { content: ''; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid rgba(255,255,255,.08); }
.sid-band .sid-container { position: relative; }
.sid-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; max-width: 760px; }
.sid-band-lead { font-size: 18px; color: var(--emerald-light); max-width: 760px; margin-bottom: 52px; }

.sid-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.sid-faq-grid h2 { font-size: clamp(30px, 4vw, 40px); margin: 18px 0 14px; }
.sid-faq-grid .sid-faq-aside p { font-size: 17px; color: var(--text-2); margin-bottom: 24px; }

@media (max-width: 960px) {
  .sid-home-hero-grid, .sid-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sid-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sid-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sid-pricing { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .sid-plan-featured { transform: none; }
}
@media (max-width: 560px) {
  .sid-home-hero { padding: 56px 0 72px; }
  .sid-steps, .sid-bento { grid-template-columns: minmax(0, 1fr); }
  .sid-bento-big, .sid-bento-wide { grid-column: span 1; grid-row: span 1; }
  .sid-bento-big { padding: 28px; }
  .sid-dossier { padding: 22px; }
}

/* --- Bloc « Déjà installé » (accueil) --- */
.sid-section-tight { padding: 0; margin-top: 96px; }
.sid-installed { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: 52px 48px; }
.sid-installed::after { content: ''; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--emerald); opacity: .3; }
.sid-installed > * { position: relative; z-index: 1; }
.sid-installed-text { flex: 1 1 520px; }
.sid-installed h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 36px); margin: 16px 0 12px; }
.sid-installed p { color: var(--text-on-dark); font-size: 17px; max-width: 640px; }
.sid-installed .sid-chips { margin-top: 22px; }
@media (max-width: 640px) { .sid-installed { padding: 36px 22px; border-radius: var(--r-lg); } .sid-section-tight { margin-top: 64px; } }

/* --- Tableau comparatif des formules --- */
.sid-compare .sid-table { min-width: 560px; }
.sid-compare tbody th { position: sticky; left: 0; z-index: 1; }
.sid-compare thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--ink); }
@media (max-width: 640px) { .sid-compare tbody th { min-width: 170px; font-size: 14px; } .sid-compare .sid-table { min-width: 520px; } }
.sid-compare thead th { text-align: center; vertical-align: bottom; }
.sid-compare thead th:first-child { text-align: left; }
.sid-compare thead th small { display: block; font: 500 12px/1.3 var(--font-text); color: var(--text-on-dark); margin-top: 4px; }
.sid-compare thead th:nth-child(3) { background: var(--emerald); }
.sid-compare thead th:nth-child(3) small { color: #FFFFFF; }
.sid-compare tbody th { text-align: left; font: 500 15px/1.45 var(--font-text); color: var(--ink); padding: 14px 18px; border-top: 1px solid var(--border); background: var(--white); }
.sid-compare tbody tr:nth-child(even) th { background: #FAFBFC; }
.sid-compare td { text-align: center; width: 18%; }
.sid-compare .sid-table td.sid-cell-yes { color: var(--emerald); font-size: 20px; font-weight: 800; }
.sid-compare .sid-table td.sid-cell-no { color: #8A96A8; font-size: 18px; font-weight: 400; }

/* --- FAQ (accordéon) --- */
.sid-faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.sid-faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--white); transition: box-shadow .2s, border-color .2s; }
.sid-faq-item[open] { box-shadow: var(--shadow); border-color: #D3DAE5; }
.sid-faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 700 17px/1.4 var(--font-text); color: var(--ink); border-radius: 16px; min-height: 44px;
}
.sid-faq-item summary::-webkit-details-marker { display: none; }
.sid-faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 24px; font-weight: 500; color: var(--emerald); transition: transform .2s; line-height: 1; }
.sid-faq-item[open] summary::after { content: '−'; }
.sid-faq-item .sid-faq-answer { padding: 0 24px 22px; }
.sid-faq-answer p { color: var(--text-2); font-size: 16px; line-height: 1.7; }

/* --- Emplois et articles --- */
.sid-job-card { display: flex; flex-direction: column; gap: 10px; }
.sid-job-card h3 { font-size: 20px; margin: 4px 0 0; }
.sid-job-card .sid-btn { align-self: flex-start; margin-top: 8px; }
.sid-job-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sid-job-meta { font-size: 14px; color: var(--text-2); }
.sid-job-single-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sid-job-single-meta div { padding: 10px 16px; border-radius: var(--r-sm); background: var(--linen); font-weight: 600; font-size: 15px; }

.sid-article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sid-article-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--linen); }
.sid-article-img img, .sid-article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.sid-article-card:hover .sid-article-img img { transform: scale(1.04); }
.sid-article-body { padding: 24px 26px 28px; }
.sid-article-body time, .sid-article-date { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }
.sid-article-body h3 { font-size: 19px; margin-bottom: 10px; }
.sid-article-body h3 a { color: var(--ink); }
.sid-article-body h3 a:hover { color: var(--emerald-dark); }
.sid-article-body h3 a::after { content: ''; position: absolute; inset: 0; }
.sid-article-body p { font-size: 15px; color: var(--text-2); }

.sid-article-hero-img { width: 100%; border-radius: var(--r-lg); margin-bottom: 36px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.sid-article-content { font-size: 17px; line-height: 1.8; color: #24324A; }
.sid-article-content > * + * { margin-top: 18px; }
.sid-article-content h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 40px; }
.sid-article-content h3 { font-size: 22px; margin-top: 32px; }
.sid-article-content ul, .sid-article-content ol { padding-left: 24px; }
.sid-article-content li + li { margin-top: 8px; }
.sid-article-content a { color: var(--emerald-dark); text-decoration: underline; text-underline-offset: 3px; }
.sid-article-content img { border-radius: var(--r); margin: 28px auto; }
.sid-article-content blockquote { border-left: 4px solid var(--emerald); background: var(--linen); padding: 18px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.sid-article-content strong { color: var(--ink); }

.sid-empty { text-align: center; padding: 56px 24px; background: var(--linen); border-radius: var(--r-lg); }
.sid-empty p { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto; }
.sid-empty .sid-btn { margin-top: 24px; }
.sid-cta-center { text-align: center; margin-top: 40px; }
.sid-error-action { margin-top: 28px; }

/* ============================================================
   Pied de page
   ============================================================ */
.sid-footer { background: var(--ink-3); color: #B8C4D8; padding: 72px 0 32px; font-size: 15px; }
.sid-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .sid-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sid-footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.sid-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sid-footer-brand img { height: 46px; width: auto; background: var(--white); border-radius: 12px; padding: 3px 4px; }
.sid-footer-brand .sid-logo-text { font-size: 21px; }
.sid-footer-col p { line-height: 1.7; margin-bottom: 10px; }
.sid-footer-title { font: 700 13px var(--font-text); text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 16px; }
.sid-footer-col ul { list-style: none; }
.sid-footer-col ul li { margin-bottom: 10px; }
.sid-footer-col a { color: var(--text-on-dark-2); }
.sid-footer-col a:hover { color: var(--white); }
.sid-footer-col .sid-btn { margin-top: 12px; color: var(--ink); }
.sid-footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ============================================================
   Utilitaires et animations
   ============================================================ */
.sid-text-center { text-align: center; }
.sid-mt-20 { margin-top: 20px; }
.sid-mt-40 { margin-top: 40px; }
.sid-mb-20 { margin-bottom: 20px; }
.sid-mb-40 { margin-bottom: 40px; }
.sid-page-content { padding: 56px 0; }
.sid-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sid-burger .sid-visually-hidden { background: none; }
/* Liens dans le texte : soulignés pour être repérables sans la couleur */
main p a:not([class]), main li a:not([class]), main td a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }

.sid-anim .sid-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sid-anim .sid-reveal.sid-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .sid-anim .sid-reveal { opacity: 1; transform: none; }
}

@media print {
  .sid-header, .sid-footer, .sid-breadcrumb, .sid-quote-section, .sid-cta-section { display: none !important; }
  .sid-hero, .sid-home-hero { background: none; color: #000; padding: 20px 0; }
  .sid-hero h1, .sid-hero p { color: #000; }
}
