/* =========================================================
   Sonny Beau — Peintre en bâtiment · Chauvigny (86)
   Thème clair · encre marine #0B1220 · bleu #1560CF · turquoise #15D3A1
   (couleurs reprises du logo SB : dégradé bleu → turquoise)
   Police : Outfit · Mobile-first
   ========================================================= */

:root {
  /* Fonds */
  --paper:      #ffffff;
  --paper-2:    #f4f7fb;   /* blanc bleuté */
  --paper-3:    #e8eef7;
  --ink:        #0b1220;   /* marine profond */
  --ink-2:      #131d31;
  --ink-3:      #1f2c47;

  /* Texte */
  --text:       #1b2434;
  --muted:      #566379;
  --muted-2:    #8590a3;
  --white:      #ffffff;

  /* Accent — bleu du logo */
  --accent:      #1560cf;
  --accent-soft: #3b8ff0;
  --accent-deep: #0e47a4;
  --accent-tint: rgba(21, 96, 207, 0.10);
  --accent-glow: rgba(21, 96, 207, 0.30);

  /* Accent secondaire — turquoise du logo */
  --teal:        #15d3a1;
  --teal-soft:   #4ee7bf;
  --teal-tint:   rgba(21, 211, 161, 0.12);

  /* Lignes */
  --line:      rgba(16, 20, 24, 0.10);
  --line-soft: rgba(16, 20, 24, 0.06);
  --line-dark: rgba(255, 255, 255, 0.10);

  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 10px rgba(16, 20, 24, 0.05);
  --shadow: 0 18px 44px -22px rgba(16, 20, 24, 0.38);
  --shadow-lg: 0 34px 70px -34px rgba(16, 20, 24, 0.55);
  --shadow-accent: 0 16px 40px -16px var(--accent-glow);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Accents typographiques ---------- */
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 62ch; }

/* Trait de pinceau sous un mot — se "peint" de gauche à droite au chargement */
.brush {
  background-image: linear-gradient(to top, rgba(21, 96, 207, 0.20) 0.30em, transparent 0.30em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.05em;
}
.js-motion .brush {
  background-size: 0% 100%;
  transition: background-size 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
}
.js-motion .brush.painted { background-size: 100% 100%; }

/* ---------- Barre de disponibilité (au-dessus du header) ---------- */
.topbar {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink-2) 55%, #16305c 100%);
  padding: 9px 0;
}
.topbar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 12px),
    radial-gradient(70% 200% at 88% 50%, rgba(21, 211, 161, 0.18) 0%, transparent 70%);
}
.topbar-inner { position: relative; display: flex; justify-content: center; }
.topbar-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 10px; padding: 7px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(21, 211, 161, 0.6);
}
.js-motion .topbar-dot { animation: pulseDot 2.1s ease-out infinite; }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(21, 211, 161, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(21, 211, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 211, 161, 0); }
}
.topbar-sep { color: rgba(255, 255, 255, 0.35); }
.topbar-tel {
  color: var(--teal-soft); font-weight: 800; letter-spacing: 0.1em;
  white-space: nowrap; transition: color var(--transition);
}
.topbar-tel:hover { color: #fff; }

@media (max-width: 560px) {
  .topbar-pill { font-size: 0.66rem; letter-spacing: 0.1em; padding: 7px 14px; gap: 7px; }
  .topbar-sep:last-of-type { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.b-name { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; }
.b-sub {
  font-size: 0.69rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted-2);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 8px; transition: all var(--transition);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .btn-nav {
  margin-left: 8px; background: var(--ink); color: #fff; padding: 11px 20px;
  border-radius: 999px; font-weight: 700;
}
.site-nav .btn-nav:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 0.98rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.btn-outline.on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-outline.on-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-lg { padding: 17px 34px; font-size: 1.03rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(62px, 9vw, 108px) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, 0.66); }
.section-dark .eyebrow { color: var(--accent-soft); }
.section-dark .eyebrow::before { background: var(--accent-soft); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--paper) 0%, var(--paper-2) 62%, var(--paper-3) 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 92px);
}
.hero::before {
  content: ""; position: absolute; top: -18%; right: -12%;
  width: 58vw; height: 58vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 42%, transparent 100%);
}
.hero-inner { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }

.hero-points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 11px;
  font-weight: 600; color: var(--ink); font-size: 0.98rem; margin: 0;
}
.hero-points svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Carte visuelle du hero (placeholder tant que les photos ne sont pas fournies) */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
  box-shadow: var(--shadow-lg); padding: 34px 30px 62px; color: #fff;
  min-height: 330px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 9px),
    radial-gradient(circle at 78% 12%, rgba(21,211,161,0.24) 0%, transparent 58%);
  pointer-events: none;
}
.hero-card > * { position: relative; }
.hero-card .hc-top { display: flex; align-items: center; gap: 10px; }
.hero-card .hc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hero-card .hc-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero-card .hc-big {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; line-height: 1.15; margin: 22px 0 10px;
}
.hero-card .hc-desc { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; margin: 0; }
.hero-card .hc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-card .hc-tag {
  font-size: 0.76rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}
.hero-badge-float {
  position: absolute; left: -18px; bottom: -34px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero-badge-float b { display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.hero-badge-float span { font-size: 0.79rem; color: var(--muted); }
.hero-badge-float .hbf-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0;
}

/* ---------- Bandeau de réassurance ---------- */
.trust-strip { background: var(--ink); color: #fff; padding: 22px 0; }
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 34px; text-align: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.trust-item svg { color: var(--accent-soft); flex-shrink: 0; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Cartes services ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: all var(--transition); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-glow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; background: var(--accent-tint);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.section-tint .card { background: #fff; }

.card-list { list-style: none; padding: 0; margin: 14px 0 0; }
.card-list li {
  position: relative; padding-left: 22px; font-size: 0.93rem; color: var(--muted);
  margin-bottom: 7px;
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--accent); opacity: 0.75;
}

/* ---------- Étapes / process ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px 26px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -16px; left: 26px;
  font-size: 1.05rem; font-weight: 800; color: #fff; background: var(--accent);
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-accent);
}
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-3); aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(16, 20, 24, 0.88) 0%, transparent 100%);
  color: #fff; font-size: 0.9rem; font-weight: 600;
}
.gallery-item figcaption b { display: block; font-size: 0.95rem; font-weight: 700; }
.gallery-item figcaption span {
  display: block; margin-top: 3px; font-size: 0.79rem; font-weight: 500;
  line-height: 1.35; opacity: 0.84;
}
.gallery-item.tall { aspect-ratio: 3 / 4; }

/* ---------- Pendant / Après ---------- */
.ba-block { margin-top: clamp(38px, 5vw, 58px); }
.ba-head { max-width: 640px; margin: 0 auto clamp(22px, 3vw, 30px); text-align: center; }
.ba-head h3 { margin-bottom: 8px; }
.ba-head p { color: var(--muted); font-size: 0.95rem; }
.gallery.gallery-2 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); }
}
.ba-tag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  padding: 6px 13px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
}
.ba-tag.is-during { background: rgba(11, 18, 32, 0.78); color: rgba(255, 255, 255, 0.92); }
.ba-tag.is-after { background: var(--accent); color: #fff; }

/* ---------- Zone d'intervention ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px; font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.zone-chip svg { color: var(--accent); flex-shrink: 0; }
.section-dark .zone-chip {
  background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: rgba(255, 255, 255, 0.85);
}

/* ---------- Split (texte + visuel) ---------- */
.split { display: grid; gap: 40px; align-items: center; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; border-radius: var(--radius-xl); padding: clamp(38px, 6vw, 62px) clamp(26px, 5vw, 58px);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 180%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.68); max-width: 58ch; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font); font-size: 1.03rem; font-weight: 700; color: var(--ink);
  padding: 22px 0; line-height: 1.35;
}
.faq-q .faq-ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--accent-tint); }
.faq-a { display: none; padding: 0 48px 24px 0; color: var(--muted); font-size: 0.97rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Formulaire ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); transition: all var(--transition); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: 0.8rem; color: var(--muted-2); }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.form-success {
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--accent-tint); border: 1px solid var(--accent-glow);
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Blocs contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px; transition: all var(--transition);
}
.contact-card:hover { border-color: var(--accent-glow); box-shadow: var(--shadow); }
.contact-card .cc-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint);
  color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card > span:last-child { display: block; min-width: 0; }
.contact-card .cc-label {
  display: block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 3px;
}
.contact-card .cc-value { display: block; font-size: 1.02rem; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-card .cc-note { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }
a.contact-card { color: inherit; }
a.contact-card:hover { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 62px 0 26px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 42px; }
.site-footer h4 {
  color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 700;
}
.site-footer a { color: rgba(255, 255, 255, 0.6); }
.site-footer a:hover { color: var(--accent-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; font-size: 0.94rem; }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand p { font-size: 0.94rem; margin-bottom: 14px; max-width: 34ch; }
.footer-nap { font-style: normal; font-size: 0.94rem; line-height: 1.9; }
.footer-nap strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.38);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); }

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.call-fab {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.02rem;
  padding: 15px 22px; border-radius: 999px; text-align: center;
  align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 32px -8px rgba(21, 96, 207, 0.5);
}
.call-fab:hover { color: #fff; background: var(--accent-deep); }

/* ---------- Pages légales / contenu ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 0.98rem; }
.prose strong { color: var(--ink); }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: clamp(80px, 14vw, 150px) 0; }
.page-404 .code {
  font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 900; line-height: 1;
  color: var(--accent); letter-spacing: -0.04em; margin-bottom: 10px;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 22px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform var(--transition);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 13px 12px; font-size: 1rem; }
  .site-nav .btn-nav { margin: 10px 0 0; text-align: center; }
  .call-fab { display: flex; }
  body { padding-bottom: 82px; }
  .hero-badge-float { position: static; margin: 18px auto 0; max-width: none; }
}

@media (min-width: 620px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   MOTION — animations activées uniquement si JS est présent
   (classe .js-motion posée par main.js) et si l'utilisateur
   n'a pas demandé de réduire les animations.
   ========================================================= */

/* --- Barre de progression de lecture --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}

/* --- Titres : apparition mot à mot --- */
.js-motion .h-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(1.4deg);
  animation: wordIn 0.68s cubic-bezier(0.22, 0.72, 0.24, 1) forwards;
  animation-delay: calc(var(--i) * 0.048s + 0.06s);
}
@keyframes wordIn {
  to { opacity: 1; transform: none; }
}

/* --- Reveal en cascade dans une grille --- */
.reveal { transition-property: opacity, transform; }

/* --- Spotlight qui suit le curseur sur les cartes --- */
.card, .step, .contact-card, .gallery-item { position: relative; }
.card::before, .step::before, .contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), var(--accent-tint), transparent 62%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.card:hover::before, .step:hover::before, .contact-card:hover::before { opacity: 1; }
.card > *, .step > *, .contact-card > * { position: relative; z-index: 1; }
.section-dark .card::before {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 143, 240, 0.18), transparent 62%);
}
.step { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-glow); }

/* --- Bandeau de réassurance en défilement continu --- */
.trust-strip { overflow: hidden; }
.trust-strip.is-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.trust-strip.is-marquee .trust-inner {
  display: flex; flex-wrap: nowrap; width: max-content; gap: 0;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.trust-strip.is-marquee:hover .trust-inner { animation-play-state: paused; }
.trust-strip.is-marquee .marquee-group {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 40px; padding-right: 40px; flex-shrink: 0;
}
.trust-strip.is-marquee .trust-item { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Carte du hero : flottement + inclinaison au curseur --- */
.js-motion .hero-visual { perspective: 1100px; }
.js-motion .hero-card {
  transition: transform 0.5s cubic-bezier(0.22, 0.72, 0.24, 1);
  transform-style: preserve-3d;
}
.js-motion .hero-visual.tilting .hero-card { transition: transform 0.12s linear; }
.js-motion .hero-badge-float {
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* --- Boutons : reflet au survol --- */
.btn-primary, .btn-dark { position: relative; overflow: hidden; }
.btn-primary > *, .btn-dark > * { position: relative; z-index: 1; }
.btn-primary::after, .btn-dark::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -140%; width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: skewX(-18deg); pointer-events: none;
}
.js-motion .btn-primary:hover::after, .js-motion .btn-dark:hover::after {
  animation: shine 0.9s cubic-bezier(0.3, 0, 0.2, 1);
}
@keyframes shine { to { left: 160%; } }

/* --- Liens de navigation : soulignement animé --- */
.site-nav a:not(.btn-nav) { position: relative; }
.site-nav a:not(.btn-nav)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.32s cubic-bezier(0.22, 0.72, 0.24, 1);
}
.site-nav a:not(.btn-nav):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* --- Galerie : légère élévation --- */
.gallery-item {
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* --- Icônes de carte : réaction au survol --- */
.card-icon { transition: transform var(--transition), background var(--transition); }
.card:hover .card-icon { transform: translateY(-2px) rotate(-6deg) scale(1.06); }

/* --- Chips de zone : apparition en cascade --- */
.js-motion .zones .zone-chip {
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.zones .zone-chip:hover { transform: translateY(-3px); border-color: var(--accent); }

/* --- Respect strict de prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .js-motion .h-words .w { opacity: 1; transform: none; animation: none; }
  .js-motion .brush, .brush { background-size: 100% 100% !important; transition: none; }
  .trust-strip.is-marquee .trust-inner { animation: none; }
  .js-motion .hero-badge-float { animation: none; }
  .scroll-progress { display: none; }
  .js-motion .btn-primary:hover::after, .js-motion .btn-dark:hover::after { animation: none; }
}
