/* ===================================================================
   A'SSenTion — Design system
   Palette issue du logo : bleu roi #1C44D8 · orange #FFA535 · vert #45AF47
   Titres : Source Serif 4 · Texte : Source Sans 3
   =================================================================== */

:root {
  --blue: #1C44D8;
  --blue-dark: #1336B0;
  --orange: #FFA535;
  --orange-dark: #F0991F;
  --green: #45AF47;

  --ink: #1F2933;
  --ink-deep: #0F2233;
  --muted: #52606D;
  --line: #E4E7EB;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FB;

  /* Accent piloté par page (bleu par défaut, surchargé sur les pages service) */
  --accent: var(--blue);
  --accent-soft: #E7ECFD;

  --maxw: 1120px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(28, 68, 216, .04);
  --shadow-card: 0 24px 48px -28px rgba(28, 68, 216, .35);
  --title-font: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --body-font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--title-font);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink-deep);
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: #D6E0FB; color: var(--ink-deep); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink-deep); }

/* ---------- Skip-link (a11y) ---------- */
.skip-link {
  position: fixed; top: 14px; left: 14px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

/* ---------- Logo / wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 54px; width: auto; display: block; }
.wordmark-light .b { color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3.5px; box-shadow: 0 6px 16px -8px rgba(28, 68, 216, .6); flex: none;
}
.brand-mark span { width: 17px; height: 3px; border-radius: 2px; background: #fff; }
.brand-mark span:nth-child(2) { background: var(--orange); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark { font-family: var(--title-font); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.wordmark .b { color: var(--blue); }
.wordmark .o { color: var(--orange); }
.brand-sub { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.main-nav a { padding: 9px 11px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { color: var(--blue); background: var(--bg-alt); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); background: var(--bg-alt); }
.main-nav .nav-cta a {
  margin-left: 8px; background: var(--blue); color: #fff; padding: 11px 18px;
  border-radius: 11px; box-shadow: 0 10px 22px -12px rgba(28, 68, 216, .7);
}
.main-nav .nav-cta a:hover { background: var(--blue-dark); }

.nav-toggle { display: none; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; flex: none;
}
.nav-burger span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink-deep); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--blue); color: #fff; padding: 15px 26px; border-radius: 12px;
  font-weight: 600; font-size: 16.5px; border: 1.5px solid var(--blue); cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(28, 68, 216, .7); transition: .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; box-shadow: none; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid #cdd9e6; box-shadow: none; }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--blue); color: var(--blue); }
.btn-accent { background: var(--orange); border-color: var(--orange); color: var(--ink-deep); }
.btn-accent:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }
.link-arrow:hover { gap: 10px; text-decoration: none; }

/* ---------- En-têtes de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 13px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }

/* ---------- Hero accueil ---------- */
.hero { background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 78%); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 5vw, 64px); }
.hero-text { flex: 1 1 440px; min-width: 300px; }
.hero-text h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 22px; }
.hero-text .lead { margin: 0 0 32px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 360px; min-width: 280px; position: relative; }
.hero-media img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(28, 68, 216, .35); }
.hero-badge { position: absolute; left: 18px; bottom: -18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 17px; box-shadow: 0 18px 36px -18px rgba(28, 68, 216, .45); display: flex; align-items: center; gap: 11px; }
.hero-badge .ico { width: 34px; height: 34px; border-radius: 9px; background: #E6F4E6; display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.hero-badge b { display: block; font-size: 14px; color: var(--ink-deep); }
.hero-badge small { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, #fff) 0%, #fff 92%);
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px);
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent);
  pointer-events: none; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.breadcrumb a { color: var(--muted); }
.page-hero .kicker {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 16px; max-width: 24ch; }
.page-hero .lead { max-width: 60ch; margin: 0; }
.accent-bar { width: 54px; height: 4px; border-radius: 2px; background: var(--accent); margin: 0 0 22px; }

/* ---------- Bandeau crédibilité (E-E-A-T) ---------- */
.trust { background: var(--ink-deep); }
.trust .cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(20px, 3vw, 40px); padding: clamp(34px, 4vw, 48px) 0; }
.trust .cred > div { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 20px; }
.trust .cred h3 { font-size: 26px; color: #fff; line-height: 1.1; margin: 0; }
.trust .cred p { margin: 8px 0 0; font-size: 14px; color: #AEBFCC; }

/* ---------- Grille de cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 27px 28px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 26px; }
.card h3 { font-size: 21px; margin: 0 0 10px; }
.card p { font-size: 15.5px; color: var(--muted); margin: 0 0 20px; flex: 1; }
.card .link-arrow { margin-top: auto; }

/* Cartes color-codées par service */
.card--blue { border-top-color: var(--blue); }
.card--blue .card-ico { background: #E7ECFD; }
.card--blue .link-arrow { color: var(--blue); }
.card--orange { border-top-color: var(--orange); }
.card--orange .card-ico { background: #FFF1DA; }
.card--orange .link-arrow { color: var(--orange-dark); }
.card--green { border-top-color: var(--green); }
.card--green .card-ico { background: #E6F4E6; }
.card--green .link-arrow { color: var(--green); }

/* ---------- Bloc "approche" (split) ---------- */
.split { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: flex-start; }
.split > .col { flex: 1 1 420px; min-width: 300px; }

/* Piliers Écoute–Analyse–Action */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 8px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillar .step { font-family: var(--title-font); font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.pillar h3 { font-size: 19px; margin: 8px 0 6px; }
.pillar p { margin: 0; font-size: 14.5px; color: var(--muted); }

.def-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); box-shadow: 0 20px 50px -34px rgba(28, 68, 216, .35); }
.def-card .def-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.def-card .def-head .term { font-family: var(--title-font); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); color: var(--ink-deep); letter-spacing: -.02em; }
.def-card .def-head .pos { font-style: italic; font-size: 15px; color: #9AA5B1; }
.def-card hr { border: none; height: 1px; background: var(--line); margin: 18px 0; }
.def-card p { margin: 0 0 14px; font-size: 16.5px; color: var(--ink); }
.def-card p:last-child { margin-bottom: 0; color: var(--muted); }
.def-card .num { color: var(--blue); font-weight: 700; }

/* ---------- FAQ (details/summary, accessible sans JS) ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--title-font); font-weight: 600; font-size: clamp(17px, 2vw, 20px); color: var(--ink-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .answer { padding: 0 24px 24px; font-size: 16px; color: var(--muted); max-width: 64ch; }

/* ---------- Zone d'intervention ---------- */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: #fff; border: 1px solid #D8E2EC; border-radius: 999px; padding: 9px 17px; font-weight: 600; font-size: 14.5px; color: var(--blue); }
.pills li.filled { background: var(--blue); border-color: var(--blue); color: #fff; }
.map-placeholder { aspect-ratio: 4/3; border-radius: 14px; border: 1px solid #D8E2EC; background: repeating-linear-gradient(135deg, #EEF3F8 0 16px, #fff 16px 32px); display: flex; align-items: center; justify-content: center; text-align: center; }
.map-placeholder span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #7A8794; }

/* ---------- Témoignages ---------- */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: var(--title-font); font-size: 44px; line-height: .6; color: #CFE0EE; }
.quote blockquote { margin: 14px 0 22px; font-size: 17px; color: var(--ink); line-height: 1.55; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #EEF3F8 0 8px, #F5F8FB 8px 16px); }
.quote cite { font-style: normal; }
.quote cite b { display: block; font-weight: 600; color: var(--ink-deep); font-size: 15px; }
.quote cite small { display: block; font-size: 13.5px; color: var(--muted); }

/* ---------- Bande CTA sombre ---------- */
.cta-band { background: var(--ink-deep); text-align: center; }
.cta-band .inner { padding: clamp(56px, 7vw, 96px) 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin: 0 0 16px; }
.cta-band p { color: #AEBFCC; font-size: clamp(16px, 1.6vw, 19px); margin: 0 auto 34px; max-width: 48ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); box-shadow: none; }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- Pages intérieures : blocs & cartes ---------- */
.lead-intro { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 62ch; margin: 0 auto clamp(8px, 2vw, 16px); }
.lead-intro.center { text-align: center; }
.group { margin-top: clamp(40px, 5vw, 64px); }
.group:first-child { margin-top: 0; }
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.group-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.group-head .tag { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; height: 100%; }
.tile:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.tile .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.tile h3 { font-size: 18.5px; margin: 0 0 8px; color: var(--ink-deep); }
.tile p { margin: 0; font-size: 15px; color: var(--muted); }
.tile ul { margin: 10px 0 0; padding-left: 1.15em; font-size: 14.5px; color: var(--muted); }
.tile ul li { margin: .3em 0; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.tile .who { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.tile .who b { color: var(--ink-deep); font-weight: 600; }

/* Encart mis en avant (IPRP, sur-mesure…) */
.callout { background: var(--accent-soft); border: 1px solid transparent; border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); }
.callout h2 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Carte certifications (page Nous découvrir) */
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 20px 50px -34px rgba(28,68,216,.35); }
.aside-card h3 { font-size: 16px; margin: 0 0 14px; }
.aside-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aside-card .chip { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-deep); }
.aside-card .cert { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.aside-card .cert .dot { color: var(--green); font-weight: 700; }
.about-photo img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(28,68,216,.4); display: block; }

/* ---------- Illustrations (facilitation visuelle de Sandrine) ----------
   Les dessins de Sandrine sont sur fond blanc et de ratios très variés.
   On les ancre dans un panneau homogène (cadre + ombre + hauteur normalisée)
   pour qu'ils ne « flottent » plus et gardent un poids visuel régulier. */
.illus { display: block; max-width: 100%; height: auto; }
.illus-center { margin-left: auto; margin-right: auto; }

/* Cadre d'illustration réutilisable */
.illus-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 26px 54px -36px rgba(15, 34, 51, .32);
  display: flex; align-items: center; justify-content: center;
}
.illus-frame .illus { width: 100%; max-height: 360px; object-fit: contain; }

.media-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 60px); align-items: center; }
.media-split .txt { flex: 1 1 360px; min-width: 280px; }
/* La colonne image d'un media-split EST le cadre : aucun balisage en plus requis */
.media-split .img {
  flex: 1 1 360px; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 26px 54px -36px rgba(15, 34, 51, .32);
  display: flex; align-items: center; justify-content: center;
}
.media-split .img .illus { width: 100%; max-height: 360px; object-fit: contain; }

/* Bandeau slogan illustré */
.slogan-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slogan-band .container { padding: clamp(40px, 5vw, 64px) 24px; text-align: center; }
.slogan-band img {
  max-width: 660px; width: 100%; height: auto;
  border-radius: 22px; background: #fff; padding: 14px 22px;
  box-shadow: 0 18px 40px -24px rgba(15, 34, 51, .3);
  border: 1px solid var(--line);
}

/* Bandeau "problème" sombre (illustration sur fond noir) */
.problem-band { background: #0b1622; color: #cdd9e6; }
.problem-band .container { padding: clamp(48px, 6vw, 84px) 24px; }
.problem-band h2 { color: #fff; }
.problem-band p { color: #aebfcc; }
/* Sur fond sombre : le panneau blanc fait ressortir le dessin */
.problem-band .img { border-color: transparent; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .55); }

/* Badge IPRP officiel */
.iprp-badge { width: 110px; height: auto; display: block; }
.trust .cred .badge-cell { border-left: none; display: flex; align-items: center; justify-content: center; gap: 14px; }
.trust .cred .badge-cell img { width: 92px; height: auto; }
.footer-badge { margin-top: 18px; }
.footer-badge img { width: 84px; height: auto; background: #fff; border-radius: 50%; padding: 4px; }

/* ---------- Contenu riche (prose) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(23px, 2.8vw, 31px); margin-top: 1.8em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 1.5em; color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 8px 0 8px 20px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink-deep); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Formulaire de contact ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: 0 20px 50px -34px rgba(28, 68, 216, .35); }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-row label { font-weight: 600; font-size: 14.5px; color: var(--ink-deep); }
.form-row .req { color: var(--orange-dark); }
.form-row input, .form-row textarea, .form-row select { font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue); outline: none; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-check input { margin-top: 3px; }
.form-error { color: #B42318; font-size: 13.5px; margin: 4px 0 0; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15px; }
.alert-success { background: #E6F4E6; color: #1E6B2B; border: 1px solid #BFE3C0; }
.alert-error { background: #FDECEA; color: #B42318; border: 1px solid #F5C6C2; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .item { display: flex; gap: 13px; align-items: flex-start; }
.contact-info .item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; flex: none; font-size: 20px; }
.contact-info .item b { display: block; color: var(--ink-deep); }
.contact-info .item a, .contact-info .item span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #CDD9E6; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: clamp(48px, 6vw, 72px) 0 clamp(28px, 3vw, 36px); }
.footer-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand-row .brand-mark { width: 36px; height: 36px; background: #fff; }
.footer-brand-row .brand-mark span { background: var(--blue); }
.footer-brand-row .brand-mark span:nth-child(2) { background: var(--orange); }
.footer-tagline { margin: 0 0 14px; font-size: 14.5px; color: #AEBFCC; max-width: 32ch; }
.footer-note { margin: 0; font-size: 13px; color: #8AA2BD; max-width: 34ch; }
.footer-title { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-family: var(--body-font); }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-list a, .site-footer a { color: #CDD9E6; }
.footer-list a:hover, .site-footer a:hover { color: #fff; }
.footer-list .muted { color: #AEBFCC; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom > .container { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; color: #8AA2BD; }
.footer-bottom a { color: #8AA2BD; }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Signature développeur (footer) ---------- */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.15); }
}
@keyframes flame {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
  25% { transform: scale(1.12) rotate(2deg); opacity: .9; }
  50% { transform: scale(.95) rotate(-2deg); opacity: 1; }
  75% { transform: scale(1.15) rotate(3deg); opacity: .92; }
}

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.call-fab { display: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .nav-burger { display: flex; }
  .main-nav { position: fixed; left: 0; right: 0; top: 74px; width: 100%; max-height: calc(100vh - 74px); overflow-y: auto; z-index: 200; background: #fff; border-top: 1px solid var(--line); padding: 12px 24px 20px; display: none; box-shadow: 0 20px 30px -20px rgba(15,34,51,.25); }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid #F0F2F5; border-radius: 0; }
  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; justify-content: center; }

  .call-fab { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: var(--ink-deep); padding: 16px; border-radius: 14px; font-weight: 700; font-size: 16.5px; box-shadow: 0 16px 32px -10px rgba(255, 165, 53, .5); }
  .call-fab:hover { text-decoration: none; }
  main { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
