/* ══════════════════════════════════════════════
   Carnotz Digital — feuille de style principale
   ══════════════════════════════════════════════ */

/* ── Police (auto-hébergée, aucune requête vers Google) ── */
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/jakarta-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/jakarta-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens ── */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F6F8FB;
  --bg-3:      #EDF1F7;
  --ink:       #0B1220;
  --ink-2:     #354052;
  --muted:     #687387;
  --line:      #E3E8EF;
  --line-2:    #CFD7E3;
  --blue:      #1D4ED8;
  --blue-ink:  #1739A8;
  --blue-soft: #EBF1FF;
  --green:     #0F7B55;
  --green-soft:#E6F5EE;
  --red:       #DA291C;
  --navy:      #0A1328;
  --navy-2:    #121D38;

  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06);
  --shadow:    0 1px 2px rgba(11,18,32,.05), 0 10px 30px -12px rgba(11,18,32,.16);
  --shadow-lg: 0 2px 6px rgba(11,18,32,.05), 0 30px 70px -24px rgba(11,18,32,.30);

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

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 750; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* ── Typo ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.h-xl { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h-lg { font-size: clamp(30px, 3.6vw, 44px); font-weight: 780; letter-spacing: -.03em; line-height: 1.1; }
.h-md { font-size: 20px; font-weight: 720; letter-spacing: -.015em; line-height: 1.3; }
.h-xl em, .h-lg em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); line-height: 1.65; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head .h-lg { margin: 14px 0 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  font: 650 16px/1 var(--font); letter-spacing: -.005em;
  border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(29,78,216,.3), 0 8px 20px -8px rgba(29,78,216,.55); }
.btn-primary:hover { background: var(--blue-ink); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-ink); }
.btn-light:hover { background: var(--blue-soft); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ══════════ HEADER ══════════ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; color: var(--blue); }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand-name small { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--blue); margin-left: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 15.5px; font-weight: 550; color: var(--ink-2); padding: 8px 13px; border-radius: 8px; transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links .btn { margin-left: 10px; min-height: 42px; padding: 0 18px; font-size: 15px; color: #fff; }
.nav-links .btn:hover { color: #fff; background: var(--blue-ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ══════════ HERO ══════════ */
.hero { position: relative; isolation: isolate; padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 20%, transparent 75%);
  opacity: .75;
}
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -160px; top: -240px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37,99,235,.14), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pill-flag { width: 22px; height: 22px; border-radius: 6px; background: var(--red); display: grid; place-items: center; flex: none; }
.pill-flag svg { width: 12px; height: 12px; }
.hero .h-xl { margin: 24px 0 22px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.hero-proof svg { width: 20px; height: 20px; color: var(--green); flex: none; }

/* Illustration : suivi de projet */
.hero-visual { position: relative; padding: 30px 0 44px; }
.tracker { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.tracker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.tracker-title { display: flex; align-items: center; gap: 12px; }
.tracker-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.tracker-ic svg { width: 20px; height: 20px; }
.tracker-title b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.tracker-title span { font-size: 12.5px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.green { color: var(--green); background: var(--green-soft); }
.badge.blue { color: var(--blue); background: var(--blue-soft); }
.tracker-body { padding: 20px 22px 22px; }
.progress-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.progress { height: 8px; border-radius: 99px; background: var(--bg-3); overflow: hidden; margin-bottom: 18px; }
.progress i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #4F83FF); }
.tl li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.tl li:last-child { border-bottom: 0; padding-bottom: 0; }
.tl-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--muted); }
.tl-dot svg { width: 14px; height: 14px; }
.tl li.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl li.now .tl-dot { border-color: var(--blue); background: var(--blue-soft); }
.tl li.now .tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.tl b { font-weight: 650; }
.tl li:not(.done):not(.now) b { color: var(--muted); font-weight: 550; }
.tl small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tl li.now small { color: var(--blue); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 16px 11px 11px; box-shadow: var(--shadow-lg);
  font-size: 13.5px; line-height: 1.35;
}
.float-card b { display: block; font-weight: 700; }
.float-card span { color: var(--muted); font-size: 12.5px; }
.float-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-ic svg { width: 18px; height: 18px; }
.float-card.f1 { left: -28px; bottom: 0; }
.float-card.f1 .float-ic { background: var(--green-soft); color: var(--green); }
.float-card.f2 { right: -18px; top: 0; }
.float-card.f2 .float-ic { background: var(--blue-soft); color: var(--blue); }

/* ══════════ PILIERS ══════════ */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 30px 24px; display: flex; gap: 16px; align-items: flex-start; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-ic { width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--blue); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.pillar-ic svg { width: 21px; height: 21px; }
.pillar h3 { font-size: 16.5px; font-weight: 750; margin-bottom: 4px; letter-spacing: -.01em; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ══════════ PROBLÈMES → SOLUTIONS ══════════ */
.ps-list { display: grid; gap: 14px; }
.ps {
  display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.ps:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.ps-side { padding: 22px 26px; display: flex; gap: 14px; align-items: center; }
.ps-prob { background: var(--bg-2); color: var(--ink-2); }
.ps-prob .ps-ic { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.ps-sol .ps-ic { background: var(--blue-soft); color: var(--blue); }
.ps-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ps-ic svg { width: 19px; height: 19px; }
.ps-side small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ps-sol small { color: var(--blue); }
.ps-side p { font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; }
.ps-prob p { font-weight: 500; }
.ps-arrow { display: grid; place-items: center; background: linear-gradient(90deg, var(--bg-2) 50%, #fff 50%); }
.ps-arrow span { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(29,78,216,.6); }
.ps-arrow svg { width: 16px; height: 16px; }

/* ══════════ SERVICES ══════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 6px 16px -6px rgba(29,78,216,.6); flex: none; }
.svc-ic svg { width: 24px; height: 24px; }
.svc .h-md { margin-bottom: 8px; }
.svc-text > p, .svc > p { color: var(--ink-2); font-size: 15.5px; }
.svc > p { flex: 1; }
.svc-ex { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.svc-ex li { display: flex; gap: 10px; align-items: flex-start; }
.svc-ex svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.svc-row .svc { flex-direction: row; gap: 20px; align-items: flex-start; }
.svc-row .svc-ic { margin-bottom: 0; background: var(--blue-soft); color: var(--blue); box-shadow: none; }

/* ══════════ MÉTHODE ══════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.step-n { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.step h3 { font-size: 18px; font-weight: 750; margin-bottom: 8px; letter-spacing: -.015em; }
.step p { font-size: 15px; color: var(--ink-2); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 40px; right: -13px; width: 8px; height: 8px; z-index: 1;
  border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg);
}

/* ══════════ SUIVI & CONFIANCE ══════════ */
.trust { background: var(--navy); color: #E7ECF5; position: relative; overflow: hidden; isolation: isolate; }
.trust::before { content: ''; position: absolute; z-index: -1; width: 800px; height: 800px; left: -300px; bottom: -480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37,99,235,.35), transparent); pointer-events: none; }
.trust .eyebrow { color: #7FA6FF; }
.trust .h-lg { color: #fff; }
.trust .h-lg em { color: #7FA6FF; }
.trust .lead { color: rgba(231,236,245,.72); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.trust-left .h-lg { margin: 14px 0 18px; }
.care { margin-top: 30px; display: grid; gap: 14px; }
.care li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: rgba(231,236,245,.8); }
.care svg { width: 22px; height: 22px; color: #4ADE80; flex: none; margin-top: 1px; }
.care b { color: #fff; font-weight: 650; }
.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tcard { padding: 24px 22px; border-radius: var(--r-lg); background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.tcard svg { width: 26px; height: 26px; color: #7FA6FF; margin-bottom: 14px; }
.tcard h3 { font-size: 17px; font-weight: 720; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.tcard p { font-size: 14.5px; color: rgba(231,236,245,.66); line-height: 1.55; }
.tcard.wide { grid-column: span 2; display: flex; gap: 18px; align-items: center; background: linear-gradient(120deg, #1D4ED8, #2F66F0); border: 0; }
.tcard.wide svg { margin: 0; color: #fff; width: 34px; height: 34px; flex: none; }
.tcard.wide p { color: rgba(255,255,255,.86); }

/* ══════════ FAQ ══════════ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 104px; margin-bottom: 0; }
.faq-grid .lead a { color: var(--blue); }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 650; font-size: 16.5px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/13px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-a p + p { margin-top: 10px; }

/* ══════════ CONTACT ══════════ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .h-lg { margin: 14px 0 18px; }
.next { margin-top: 30px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.next h3 { font-size: 15px; font-weight: 750; margin-bottom: 14px; }
.next ol { display: grid; gap: 12px; counter-reset: n; }
.next li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); counter-increment: n; }
.next li::before { content: counter(n); width: 24px; height: 24px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; flex: none; }
.contact-cards { display: grid; gap: 10px; margin-top: 14px; }
.ccard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
a.ccard:hover { border-color: var(--blue); }
.ccard-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.ccard-ic svg { width: 19px; height: 19px; }
.ccard small { display: block; font-size: 12.5px; color: var(--muted); }
.ccard strong { font-weight: 650; font-size: 15.5px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; font-weight: 780; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field legend { font-size: 14px; font-weight: 650; color: var(--ink); }
.field label span, .field legend span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 450 16px/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687387' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3B2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B5C0D0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.12); }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 550; color: var(--ink-2); transition: all .15s; }
.chips label:hover span { border-color: #B5C0D0; }
.chips input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ts-box { min-height: 65px; margin: 4px 0 16px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot .btn { min-width: 220px; }
.form-legal { font-size: 13px; color: var(--muted); max-width: 300px; line-height: 1.5; }
.form-legal a { color: var(--ink-2); }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.form-msg.ok { display: block; background: var(--green-soft); color: #0B5C40; }
.form-msg.err { display: block; background: #FDECEC; color: #9B1C1C; }

/* ══════════ CTA ══════════ */
.cta-band { padding: 0 0 clamp(72px, 9vw, 112px); }
.cta-box {
  border-radius: 22px; padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(120deg, #1739A8, #1D4ED8 55%, #3B74F5); color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
          mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-box .h-lg { color: #fff; max-width: 640px; font-size: clamp(26px, 3vw, 36px); }
.cta-box p { color: rgba(255,255,255,.84); margin-top: 10px; font-size: 17px; }

/* ══════════ FOOTER ══════════ */
.site-footer { background: var(--navy); color: rgba(231,236,245,.68); padding: 60px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-name small { color: #7FA4FF; }
.footer-about { margin-top: 16px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(231,236,245,.45); margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 26px; font-size: 13.5px; color: rgba(231,236,245,.5); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; }

/* ══════════ COOKIES ══════════ */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  width: min(390px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 18px 18px 16px;
  transform: translateY(20px); opacity: 0; visibility: hidden;
  transition: transform .3s, opacity .3s, visibility 0s .3s;
}
.cookie.show { transform: none; opacity: 1; visibility: visible; transition: transform .3s, opacity .3s; }
.cookie-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; font-size: 15.5px; }
.cookie-head svg { width: 20px; height: 20px; color: var(--blue); }
.cookie p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cookie-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.cookie-actions .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.cookie-actions a { font-size: 14px; color: var(--ink-2); }

/* ══════════ PAGES LÉGALES ══════════ */
.legal-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.legal-hero .h-lg { margin-top: 14px; }
.legal-hero p { margin-top: 12px; color: var(--muted); }
.legal { padding: clamp(40px, 6vw, 64px) 0 clamp(72px, 9vw, 104px); }
.legal-body, .legal-hero .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal-body h2 { font-size: 23px; font-weight: 760; margin: 44px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0; display: grid; gap: 8px; }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.legal-body a { color: var(--blue); }
.legal-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 16px 0; }
.legal-card address { font-style: normal; line-height: 1.75; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.legal-table-wrap { overflow-x: auto; }

/* ══════════ Animations ══════════ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes grow { from { width: 0; } }
.float-card.f1 { animation: float 6s ease-in-out infinite; }
.float-card.f2 { animation: float 7s ease-in-out infinite .8s; }
.reveal.in .progress i { animation: grow 1.4s cubic-bezier(.2,.7,.2,1) .3s both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ══════════ Responsive ══════════ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .svc:last-child { grid-column: span 2; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:first-child { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.f1 { left: -8px; }
  .float-card.f2 { right: -4px; }
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px var(--gutter) 22px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .22s, opacity .22s, visibility 0s .22s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; transition: transform .22s, opacity .22s; }
  .nav-links a { padding: 12px; font-size: 17px; }
  .nav-links .btn { margin: 8px 0 0; min-height: 50px; }
  .burger { display: block; }
  .hero-grid, .trust-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .faq-grid .section-head { position: static; }
  .ps { grid-template-columns: 1fr; }
  .ps-arrow { height: 0; position: relative; background: none; z-index: 1; }
  .ps-arrow span { position: absolute; transform: rotate(90deg); }
  .ps-sol { padding-top: 28px; }
  .svc-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 18px 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .svc:last-child { grid-column: auto; }
  .svc-row .svc { flex-direction: column; }
  .svc-row .svc-ic { margin-bottom: 4px; }
  .steps { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .tcard.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .ps-side { padding: 18px; }
  .float-card { font-size: 12.5px; padding: 9px 12px 9px 9px; }
  .float-card.f2 { display: none; }
  .tracker-head, .tracker-body { padding: 16px; }
  .tracker-head .badge { display: none; }
  .tl small { display: none; }
  .form-foot .btn { width: 100%; }
  .form-legal { max-width: none; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
