/* =========================================================
   NewITFR — feuille de style
   Couleurs reprises du logo, des cartes de visite et des visuels.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}

:root {
  /* Bleu nuit (fond des cartes, visuels) */
  --navy-950: #07131f;
  --navy-900: #0b1b2e;
  --navy-800: #10253d;
  --navy-700: #163354;
  /* Bleus / cyan du logo */
  --blue-700: #06629d;
  --blue-600: #0877bd;
  --blue-500: #0a8fd6;
  --cyan-400: #19b8ee;
  --cyan-300: #5fd3f8;
  /* Fonds clairs */
  --ice-100: #e6f0f8;
  --ice-50: #f3f8fc;
  --white: #ffffff;
  /* Texte */
  --ink: #0f2238;
  --muted: #4d6177;
  --line: #d6e2ee;

  --grad-brand: linear-gradient(135deg, var(--cyan-300) 0%, var(--cyan-400) 40%, var(--blue-500) 100%);
  --grad-btn: linear-gradient(135deg, #0a86cf 0%, var(--blue-600) 55%, var(--blue-700) 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 46, .06), 0 2px 8px rgba(11, 27, 46, .05);
  --shadow: 0 10px 30px -12px rgba(11, 27, 46, .18), 0 2px 6px rgba(11, 27, 46, .05);
  --shadow-lg: 0 30px 60px -20px rgba(7, 19, 31, .45);
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .icon[class] { transform: translateX(2px); }
.btn-primary { background: var(--grad-btn); color: var(--white); box-shadow: 0 8px 20px -8px rgba(8, 119, 189, .65); }
.btn-primary:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(8, 119, 189, .75); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn-sm { padding: .55rem 1.05rem; font-size: .925rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 46, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(7, 19, 31, .96); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand-emblem { width: 44px; height: auto; filter: drop-shadow(0 4px 10px rgba(25, 184, 238, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: #f4f7fa; }
.brand-accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { margin-top: .35rem; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a9bccf; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; }
.main-nav ul a {
  display: block; padding: .5rem .8rem; border-radius: 999px; white-space: nowrap;
  color: #d5e1ec; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-phone .icon { color: var(--cyan-400); }
.header-phone:hover { color: var(--cyan-300); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(10, 143, 214, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(25, 184, 238, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, #0c2138 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 11vw, 9rem);
}
/* éclats géométriques inspirés de la carte de visite */
.hero-shape { position: absolute; pointer-events: none; }
.hero-shape--tr {
  top: -40px; right: -60px; width: 340px; height: 300px;
  background: linear-gradient(150deg, rgba(95, 211, 248, .85), rgba(10, 143, 214, .35));
  clip-path: polygon(35% 0, 100% 0, 100% 100%);
  opacity: .55;
}
.hero-shape--tr::after { content: ""; }
.hero-shape--bl {
  left: -80px; bottom: -40px; width: 380px; height: 260px;
  background: linear-gradient(20deg, rgba(10, 143, 214, .7), rgba(25, 184, 238, .2));
  clip-path: polygon(0 20%, 75% 100%, 0 100%);
  opacity: .45;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
  background: rgba(25, 184, 238, .1); border: 1px solid rgba(95, 211, 248, .3);
  color: #cdeefc; font-size: .85rem; font-weight: 700;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(25, 184, 238, .25); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); margin-bottom: 1.1rem; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #c3d3e2; max-width: 36em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-size: .93rem; color: #b6c8d9; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .icon { color: var(--cyan-400); stroke-width: 3; width: 1em; height: 1em; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(95, 211, 248, .35);
  box-shadow: 0 0 0 8px rgba(25, 184, 238, .06), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(25, 184, 238, .35);
  transform: rotate(.6deg);
}
.hero-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.25rem; bottom: -1.75rem;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.1rem .8rem .85rem; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg);
}
.hero-badge img { width: 38px; }
.hero-badge strong { display: block; font-size: .98rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); }

/* ---------- Piliers ---------- */
.pillars-wrap { position: relative; z-index: 2; margin-top: -4.5rem; }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.pillar { display: flex; gap: 1rem; padding: 1.8rem 1.7rem; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar h2 { font-size: 1.12rem; margin-bottom: .3rem; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pillar-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e3f5fd, #d3ebf9); color: var(--blue-600);
}
.pillar-icon .icon { width: 26px; height: 26px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section--ice { background: var(--ice-50); }
#services { padding-top: clamp(5.5rem, 9vw, 8rem); margin-top: -3rem; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: .9rem; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.eyebrow--light { color: var(--cyan-300); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd6ea; }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice-100); }
.service-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad-brand); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.3rem 1.4rem; }
.service-tag { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .45rem; }
.service-body h3 { font-size: 1.18rem; margin-bottom: .55rem; letter-spacing: -0.01em; }
.service-body > p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.checklist { list-style: none; display: grid; gap: .45rem; margin-bottom: 1.2rem; font-size: .9rem; font-weight: 600; }
.checklist li { position: relative; padding-left: 1.6rem; line-height: 1.4; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: #dff3fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230877bd' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.service-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-weight: 800; font-size: .95rem; text-decoration: none; color: var(--blue-600);
}
.service-link .icon { transition: transform .2s ease; }
.service-link:hover .icon { transform: translateX(4px); }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.reason h3 { font-size: 1.08rem; margin: .8rem 0 .35rem; letter-spacing: -0.01em; }
.reason p { color: var(--muted); font-size: .96rem; margin: 0; }
.reason-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-900); color: var(--cyan-400);
  box-shadow: 0 8px 18px -10px rgba(11, 27, 46, .8);
}
.reason-icon .icon { width: 22px; height: 22px; }

.quote-card {
  position: relative; margin: 0; padding: 2.2rem 2rem 2rem;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote-card::before {
  content: ""; position: absolute; top: -30px; right: -30px; width: 200px; height: 180px;
  background: var(--grad-brand); opacity: .5; clip-path: polygon(40% 0, 100% 0, 100% 100%);
}
.quote-avatar {
  position: relative; width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--cyan-400); box-shadow: 0 0 0 6px rgba(25, 184, 238, .15); margin-bottom: 1.4rem;
}
.quote-card blockquote { position: relative; margin: 0 0 1.4rem; }
.quote-card blockquote p { font-size: 1.2rem; line-height: 1.55; font-weight: 600; color: #e8f1f8; margin: 0; }
.quote-card figcaption strong { display: block; font-size: 1.05rem; }
.quote-card figcaption span { color: var(--cyan-300); font-size: .92rem; font-weight: 600; }

/* ---------- Méthode (section sombre) ---------- */
.section--dark { color: var(--white); background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); overflow: hidden; }
.section--dark .section-lead { color: #b6c8d9; }
.dark-shape {
  position: absolute; right: -120px; bottom: -60px; width: 460px; height: 320px; pointer-events: none;
  background: linear-gradient(20deg, rgba(10, 143, 214, .55), rgba(95, 211, 248, .1));
  clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .5;
}
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(95, 211, 248, .5), transparent);
}
.step {
  position: relative; padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius); backdrop-filter: blur(4px);
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
  background: var(--grad-btn); color: var(--white); font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 0 6px rgba(25, 184, 238, .12);
}
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { color: #b6c8d9; font-size: .95rem; margin: 0; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1020px; margin: 0 auto; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 4px solid var(--cyan-400); }
.team-body { padding: 1.3rem 1.4rem 1.5rem; }
.team-body h3 { font-size: 1.2rem; margin-bottom: .15rem; }
.team-role { color: var(--blue-600); font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.team-body p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: #b4d3ea; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--ice-100); color: var(--blue-600);
  transition: transform .25s ease, background-color .2s ease;
}
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--navy-900); color: var(--cyan-400); }
.faq-item p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; color: var(--white); text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 31, .9), rgba(11, 27, 46, .86)),
    url("../img/bureau-newitfr.jpg") center / cover no-repeat;
}
.cta-inner { max-width: 760px; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.cta-band p { color: #c3d3e2; font-size: 1.15rem; margin-bottom: 2rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.5rem; align-items: stretch; }
.contact-info {
  position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg); color: var(--white);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(10, 143, 214, .35), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-info > p { color: #c3d3e2; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.8rem; position: relative; z-index: 1; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(25, 184, 238, .14); color: var(--cyan-400); border: 1px solid rgba(95, 211, 248, .3);
}
.contact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa7bd; font-weight: 700; }
.contact-list a, .contact-list span:not(.contact-label):not(.contact-icon) { color: var(--white); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--cyan-300); }
.contact-emblem { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: .08; pointer-events: none; }

.contact-form {
  padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .92rem; }
.req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--ice-50);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--ice-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230877bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4cde2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background-color: var(--white); box-shadow: 0 0 0 4px rgba(10, 143, 214, .15);
}
.field.has-error input, .field.has-error textarea { border-color: #d64545; background-color: #fff7f7; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .4rem 0 1.4rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--blue-600); flex: none; }
.consent.has-error { color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 700; min-height: 1.2em; }
.form-status.is-success { color: #12805c; }
.form-status.is-error { color: #b42318; }
.form-note { margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #a9bccf; padding-top: clamp(3.5rem, 6vw, 4.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1.2rem; max-width: 32ch; }
.footer-title { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #c9d7e4; text-decoration: none; }
.site-footer a:hover { color: var(--cyan-300); }
.footer-contact li { display: flex; align-items: center; gap: .6rem; }
.footer-contact .icon { color: var(--cyan-400); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Pages simples (mentions légales, 404) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(700px 400px at 85% 0%, rgba(10, 143, 214, .3), transparent 60%), linear-gradient(180deg, var(--navy-900), #0c2138);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero p { color: #c3d3e2; margin: .6rem 0 0; }
.legal { max-width: 820px; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.legal h2 { font-size: 1.45rem; margin-top: 2.4rem; padding-top: .4rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: #2b3f55; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1em; }
.legal li { margin-bottom: .35rem; }
.todo { background: #fff3c4; color: #7a5200; padding: .05em .35em; border-radius: 4px; font-weight: 700; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: .5rem; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header-phone span { display: none; }
  .main-nav ul a { padding: .5rem .6rem; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 1rem 1.25rem 1.5rem; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .15rem; }
  .main-nav ul a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav-mobile-extra { display: grid; gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-actions .btn-sm { display: none; }
  .header-inner { gap: .75rem; }
  .brand { gap: .55rem; min-width: 0; }
  .brand-name { font-size: 1.35rem; }
  .brand-tag { font-size: .5rem; letter-spacing: .08em; }
  .brand-emblem { width: 36px; }
  .pill { font-size: .8rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-badge { left: .75rem; bottom: -1.5rem; }
  .services-grid, .reasons, .steps, .team-grid, .form-row { grid-template-columns: 1fr; }
  .team-grid { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-shape--tr { width: 200px; height: 180px; }
}

@media (max-width: 360px) {
  .brand-tag { display: none; }
}

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