/* ==========================================================================
   INACORE — Feuille de styles principale
   Palette dérivée du logo : navy #1B2A6B → bleu #1668B8 → cyan #3FC8F5
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #080E26;
  --navy-900: #0E1738;
  --navy-800: #142153;
  --navy-700: #1B2A6B;
  --navy-600: #26398C;
  --blue-600: #1256A8;
  --blue-500: #1668B8;
  --blue-400: #1E86D0;
  --cyan-400: #3FC8F5;
  --cyan-300: #77DAFA;

  --grad-brand: linear-gradient(135deg, #1B2A6B 0%, #1668B8 52%, #3FC8F5 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(27,42,107,.10), rgba(63,200,245,.10));
  --grad-text: linear-gradient(100deg, #1668B8 0%, #3FC8F5 100%);

  /* Neutrals */
  --ink: #101828;
  --ink-soft: #475467;
  --ink-mute: #667085;
  --line: #E4E8F0;
  --line-soft: #EFF2F7;
  --surface: #FFFFFF;
  --surface-alt: #F6F8FC;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 8px 24px -8px rgba(16, 24, 40, .12);
  --shadow-lg: 0 24px 56px -20px rgba(20, 33, 83, .28);
  --shadow-glow: 0 20px 50px -18px rgba(22, 104, 184, .55);

  --wrap: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); }
p { text-wrap: pretty; }

::selection { background: var(--cyan-400); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 2.4rem + 6vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.72); }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy-700); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .04em; font-size: 1.55rem; }
.logo__word {
  font-weight: 800;
  letter-spacing: .012em;
  color: var(--navy-700);
  line-height: 1;
  font-size: 1em;
}
.logo__mark { width: 1.24em; height: 1.24em; flex: none; margin: 0 .01em; }
.logo--light .logo__word { color: #fff; }

/* Le cœur des nœuds reprend la couleur du fond situé derrière le logo. */
.logo__mark { color: #0E1738; }
.header.is-stuck .logo__mark,
.header--solid .logo__mark { color: #FFFFFF; }
.footer .logo__mark { color: var(--navy-950); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .3s var(--ease);
}
.header.is-stuck::after { opacity: 1; }
.header .wrap { display: flex; align-items: center; gap: 1.25rem; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--cyan-400);
}

.header.is-stuck .nav__link { color: var(--ink-soft); }
.header.is-stuck .nav__link:hover { color: var(--navy-700); background: var(--surface-alt); }
.header.is-stuck .nav__link.is-active { color: var(--navy-700); }
.header.is-stuck .logo__word { color: var(--navy-700); }
.header.is-stuck .lang { color: var(--ink-soft); border-color: var(--line); }
.header.is-stuck .burger span { background: var(--navy-700); }

/* page à en-tête clair (non hero sombre) */
.header--solid::after { opacity: 1; }
.header--solid .nav__link { color: var(--ink-soft); }
.header--solid .nav__link.is-active { color: var(--navy-700); }
.header--solid .logo__word { color: var(--navy-700); }
.header--solid .lang { color: var(--ink-soft); border-color: var(--line); }
.header--solid .burger span { background: var(--navy-700); }

.lang {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-left: .5rem; padding: .38rem .55rem;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  background: transparent; color: rgba(255,255,255,.85);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: .2s;
}
.lang:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.lang__sep { opacity: .35; }
.lang__opt { opacity: .5; }
.lang__opt.is-on { opacity: 1; color: var(--cyan-400); }
.header.is-stuck .lang__opt.is-on,
.header--solid .lang__opt.is-on { color: var(--blue-500); }

.burger {
  display: none; margin-left: .35rem;
  width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; border-radius: var(--r-sm);
}
.burger span {
  display: block; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 26px 60px -18px rgba(22,104,184,.72); }

.btn--ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.26); }
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }

.btn--outline { background: #fff; color: var(--navy-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--blue-400); color: var(--blue-500); }

.btn--sm { padding: .62rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .85rem .38rem .55rem;
  border-radius: 999px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(22,104,184,.18);
  color: var(--blue-500);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand);
}
.section--dark .eyebrow {
  background: rgba(63,200,245,.1);
  border-color: rgba(63,200,245,.28);
  color: var(--cyan-300);
}

.head { max-width: 720px; margin-bottom: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); }
.head--center { margin-inline: auto; text-align: center; }
.head .eyebrow { margin-bottom: 1.1rem; }
.head p { margin-top: 1rem; font-size: 1.06rem; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--dark .grad-text {
  background: linear-gradient(100deg, #3FC8F5 0%, #A8E7FD 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 2rem + 7vw, 7rem)) 0 clamp(4rem, 2rem + 7vw, 7rem);
  background: radial-gradient(120% 120% at 82% 8%, #1B3A87 0%, #111C46 42%, #0B1230 100%);
  color: rgba(255,255,255,.76);
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 620px; height: 620px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(63,200,245,.32), transparent 62%);
  filter: blur(30px); pointer-events: none;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero__lead { margin-top: 1.35rem; font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); max-width: 56ch; }
.hero .btn-row { margin-top: 2.1rem; }

.hero__meta {
  margin-top: 2.6rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem;
}
.hero__meta dt { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero__meta dd { margin: .25rem 0 0; font-size: .84rem; color: rgba(255,255,255,.6); }

/* Hero visual card */
.hero__panel {
  position: relative;
  border-radius: var(--r-xl);
  padding: 1.6rem;
  background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.75);
}
.hero__panel-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 1.1rem;
}
.hero__panel-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.18);
}
.pill-list { display: grid; gap: .6rem; }
.pill {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .95rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.pill:hover { background: rgba(255,255,255,.12); border-color: rgba(63,200,245,.45); transform: translateX(4px); }
.pill__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(63,200,245,.14); color: var(--cyan-400);
}
.pill__ico svg { width: 19px; height: 19px; }
.pill b { display: block; color: #fff; font-size: .93rem; font-weight: 700; }
.pill span { font-size: .8rem; color: rgba(255,255,255,.58); }

/* ---------- Trust strip ---------- */
.strip { padding: 2.4rem 0; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.strip__label {
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 1.4rem;
}
.strip__items {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .7rem 1rem;
}
.strip__items li {
  padding: .5rem 1.05rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 700; color: var(--navy-700);
  background: var(--surface-alt);
  transition: .25s var(--ease);
}
.strip__items li:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  padding: 1.9rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }

.card__ico {
  width: 54px; height: 54px; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(22,104,184,.7);
}
.card__ico svg { width: 26px; height: 26px; }

.card__list { margin-top: 1.1rem; display: grid; gap: .5rem; }
.card__list li {
  position: relative; padding-left: 1.5rem;
  font-size: .9rem; color: var(--ink-soft);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand); opacity: .85;
}

.card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.3rem; font-size: .9rem; font-weight: 700; color: var(--blue-500);
}
.card__more svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* Feature (icône + texte, sans boîte) */
.feature { display: flex; gap: 1.1rem; }
.feature__ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center; border-radius: 13px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(22,104,184,.18);
  color: var(--blue-500);
}
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.feature p { font-size: .93rem; }
.section--dark .feature__ico {
  background: rgba(63,200,245,.1); border-color: rgba(63,200,245,.26); color: var(--cyan-400);
}
.section--dark .feature p { color: rgba(255,255,255,.65); }

/* ---------- Split (texte + visuel) ---------- */
.split {
  display: grid; gap: clamp(2.2rem, 1rem + 4vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.split__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 120% at 20% 10%, #1B3A87, #0E1738);
  min-height: 340px; padding: 2rem;
  display: grid; align-content: center; gap: .8rem;
  box-shadow: var(--shadow-lg);
}
.split__media::after {
  content: ""; position: absolute; right: -90px; bottom: -110px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,200,245,.35), transparent 65%);
  filter: blur(20px);
}
.stat-line {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; gap: .8rem;
  padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.stat-line:last-child { border-bottom: 0; }
.stat-line b { font-size: 1.9rem; font-weight: 800; color: #fff; min-width: 3.6em; }
.stat-line span { color: rgba(255,255,255,.68); font-size: .92rem; }

.check-list { display: grid; gap: .85rem; margin-top: 1.6rem; }
.check-list li { position: relative; padding-left: 2rem; font-size: .97rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat,
          linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat,
        linear-gradient(#000, #000);
  mask-composite: exclude;
}

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-size: 1.05rem; font-weight: 800; color: #fff;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--grad-brand);
  box-shadow: 0 12px 26px -12px rgba(22,104,184,.7);
}
.step::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -1.4rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.6rem, 1.5rem + 4vw, 4.5rem) clamp(1.6rem, 1rem + 3vw, 4rem);
  background: radial-gradient(120% 160% at 12% 0%, #22409B 0%, #131E4C 55%, #0C1333 100%);
  color: rgba(255,255,255,.75);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(63,200,245,.3), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(38,57,140,.5), transparent 48%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { margin: 1rem auto 0; max-width: 58ch; }
.cta .btn-row { margin-top: 2rem; justify-content: center; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.acc__btn:hover { color: var(--blue-500); }
.acc__btn svg { width: 20px; height: 20px; flex: none; color: var(--blue-500); transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding-bottom: 1.3rem; font-size: .96rem; max-width: 78ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(1.6rem, 1rem + 2.5vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: start;
}
.form-card {
  padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label .req { color: #E0364F; }
.field input, .field select, .field textarea {
  padding: .82rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-alt);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; background: #fff;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(30,134,208,.14);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field--row .field { margin-bottom: 0; }
.hp { position: absolute !important; left: -9999px; }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .85rem; margin: .4rem 0 1.3rem; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: .15rem; accent-color: var(--blue-500); }

.form-note { margin-top: .9rem; font-size: .82rem; color: var(--ink-mute); text-align: center; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: #E9F9EF; color: #14663A; border: 1px solid #B6E7C9; }
.form-status.is-err { display: block; background: #FDECEE; color: #9B1C2E; border: 1px solid #F5C2C9; }

.info-card {
  padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  border-radius: var(--r-lg);
  background: radial-gradient(130% 130% at 15% 0%, #1D3479 0%, #0E1738 62%);
  color: rgba(255,255,255,.72);
  box-shadow: var(--shadow-lg);
}
.info-card h3 { color: #fff; margin-bottom: 1.4rem; }
.info-list { display: grid; gap: 1.25rem; }
.info-list li { display: flex; gap: .95rem; }
.info-list .ico {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: rgba(63,200,245,.13); color: var(--cyan-400);
}
.info-list .ico svg { width: 20px; height: 20px; }
.info-list b { display: block; color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: .18rem; }
.info-list a, .info-list span { font-size: .96rem; color: rgba(255,255,255,.78); }
.info-list a:hover { color: var(--cyan-400); }

.map-frame {
  margin-top: 1.6rem; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); line-height: 0;
}
.map-frame iframe { width: 100%; height: 330px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: clamp(3rem,2rem+3vw,4.5rem) 0 0; }
.footer__grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  padding-bottom: 3rem;
}
.footer__about p { font-size: .93rem; margin-top: 1.1rem; max-width: 38ch; }
.footer h4 {
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer__links { display: grid; gap: .65rem; }
.footer__links a { font-size: .93rem; transition: color .2s, padding .2s; }
.footer__links a:hover { color: var(--cyan-400); padding-left: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer__bottom a:hover { color: var(--cyan-400); }
.socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75);
  transition: .25s var(--ease);
}
.socials a:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem)) 0 clamp(2.8rem, 2rem + 3vw, 4.5rem);
  background: radial-gradient(120% 130% at 78% 0%, #1B3A87 0%, #111C46 45%, #0B1230 100%);
  color: rgba(255,255,255,.72);
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,200,245,.26), transparent 62%);
  filter: blur(24px); pointer-events: none;
}
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 1.1rem; max-width: 62ch; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .86rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.5); }
.crumbs a:hover { color: var(--cyan-400); }

/* ---------- Service detail blocks ---------- */
.svc {
  display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3.4rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  padding: clamp(2.4rem, 1.6rem + 3vw, 4rem) 0;
  border-top: 1px solid var(--line);
}
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc__side { position: sticky; top: calc(var(--header-h) + 2rem); }
.svc__side .card__ico { margin-bottom: 1.3rem; }
.svc__side p { margin-top: .9rem; font-size: .97rem; }
.svc__items { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.svc-item {
  padding: 1.3rem 1.35rem;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: .3s var(--ease);
}
.svc-item:hover { background: #fff; border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-item h3 { font-size: .99rem; margin-bottom: .35rem; }
.svc-item p { font-size: .88rem; }

/* ---------- Values / sectors ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink);
  transition: .25s var(--ease);
}
.tags li:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }
.section--alt .tags li { background: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__side { position: static; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem 1.25rem 1.6rem;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: .3s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { color: var(--ink) !important; padding: .8rem 1rem; border-radius: var(--r-sm); }
  .nav__link.is-active { color: var(--blue-500) !important; background: var(--surface-alt); }
  .nav__link.is-active::after { display: none; }
  .nav .btn { margin-top: .6rem; }
  .lang { margin: .6rem 0 0; align-self: flex-start; color: var(--ink-soft) !important; border-color: var(--line) !important; }
  .lang__opt.is-on { color: var(--blue-500) !important; }
  .hero__meta { grid-template-columns: 1fr; gap: 1rem; }
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .field--row .field { margin-bottom: 1.05rem; }
  .btn-row .btn { width: 100%; }
  .footer__bottom { justify-content: flex-start; }
}

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

@media print {
  .header, .footer, .hero__canvas, .btn, .map-frame { display: none !important; }
  body { color: #000; }
}
