/* ============================================================
   BRICE-TECH — style.css (thème clair, rassurant)
   Palette : blanc / encre #1F2933 / bleu marine #16324F
             bleu action #2563EB / vert validation #15803D
   Typo : Bricolage Grotesque (titres) / Inter (corps)
   ============================================================ */

:root {
  /* Atelier · Papier & Encre */
  --bg: #F5EFE3;          /* papier crème */
  --bg-soft: #EFE7D6;     /* papier plus profond (sections) */
  --bg-blue: #E9DFCB;     /* sable chaud (bandeaux) */
  --border: #DDD1BB;      /* filet doux (séparateurs internes) */
  --ink: #211C16;         /* encre chaude */
  --ink-2: #5E5547;       /* encre atténuée */
  --navy: #283A30;        /* vert sapin profond (titres) */
  --blue: #C2542F;        /* terracotta (action, liens) */
  --blue-soft: #F0DDCF;   /* terracotta clair */
  --green: #2E4A3C;       /* vert sapin (validation) */
  --green-soft: #DCE6DD;
  --amber: #9A6314;       /* ocre */
  --amber-soft: #F3E6CC;
  --ink-line: #211C16;    /* bordure franche des cartes/boutons */
  --radius: 8px;
  --shadow: 4px 4px 0 #211C16;            /* ombre dure façon tampon */
  --shadow-soft: 3px 3px 0 rgba(33, 28, 22, 0.16);
  --maxw: 1080px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "Space Mono", ui-monospace, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: 1.2rem; font-weight: 600; }

section { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }
.section-intro { color: var(--ink-2); max-width: 44em; margin-bottom: 36px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); text-decoration: none; }

.lang-switch {
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  color: var(--ink-2);
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--navy);
  font-size: 1.2rem;
  padding: 4px 11px;
  cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25); }
.btn-primary:hover { background: #1D4ED8; }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: #0F2436; }

.btn-sm { padding: 9px 18px; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero { padding: 58px 0 48px; background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero p.lead { color: var(--ink-2); font-size: 1.15rem; margin: 18px 0 30px; max-width: 32em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note .sep { color: var(--border); }

/* Carte promesse (panneau hero) */
.promise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.promise-card h3 { margin-bottom: 16px; font-size: 1.05rem; }
.promise-card ul { list-style: none; }
.promise-card li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}
.promise-card li:last-child { border-bottom: none; }
.promise-card .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Parcours / badges ---------- */
.path-strip {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.path-item {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.path-item .k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.path-item .v { color: var(--ink-2); font-size: 0.95rem; }
.path-item .v strong { color: var(--ink); }

/* ---------- Cartes piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: #C7D6EA; }
.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--blue);
}
.card .icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.96rem; flex: 1; }
.card .card-cta { margin-top: 18px; font-weight: 600; font-size: 0.95rem; }
.card .card-cta::after { content: " →"; }

/* ---------- Liste de prestations ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0; }
.service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.service-item .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}
.service-item .txt strong { display: block; color: var(--ink); font-weight: 600; }
.service-item .txt span { color: var(--ink-2); font-size: 0.92rem; }

/* Offre d'appel */
.offer {
  display: flex;
  gap: 26px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
}
.offer .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 22px;
  line-height: 1;
}
.offer .price small { font-size: 0.95rem; display: block; font-weight: 600; color: var(--ink-2); }
.offer h3 { color: #fff; margin-bottom: 6px; }
.offer p { color: #C9D6E4; font-size: 0.95rem; max-width: 34em; }
.offer .grow { flex: 1; min-width: 260px; }

/* ---------- Encart humain ---------- */
.note-box {
  background: var(--bg-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  color: var(--ink-2);
  margin: 28px 0;
  font-size: 0.98rem;
}
.note-box strong { color: var(--navy); }

/* ---------- Page SOS ---------- */
.calm-banner {
  background: var(--green-soft);
  border-bottom: 1px solid #BBE7C9;
}
.calm-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.calm-banner .label { font-size: 0.92rem; color: var(--green); font-weight: 600; }

.sos-hint { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 18px; }

.sos-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  scroll-margin-top: 130px;
  overflow: hidden;
}
.sos-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.15s ease;
}
.sos-head:hover { background: var(--bg-soft, #f7f9fc); }
.sos-card.open .sos-head { color: var(--blue); }
.sos-chevron {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  position: relative;
}
.sos-chevron::before, .sos-chevron::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sos-chevron::before { width: 14px; height: 2.5px; }
.sos-chevron::after  { width: 2.5px; height: 14px; }
.sos-card.open .sos-chevron::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.sos-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
html:not(.js) .sos-body { max-height: none; }
.sos-body-inner { padding: 0 28px 28px; }
.sos-body-inner .why { color: var(--ink-2); margin: 0 0 18px; }

.do-list { counter-reset: step; list-style: none; margin: 14px 0; }
.do-list li { counter-increment: step; position: relative; padding: 11px 0 11px 50px; color: var(--ink-2); }
.do-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 9px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
}
.do-list strong { color: var(--ink); }

.dont-list { list-style: none; margin: 14px 0; }
.dont-list li { position: relative; padding: 9px 0 9px 34px; color: var(--ink-2); }
.dont-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}

.sublabel { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin: 20px 0 4px; }
.sublabel.do { color: var(--green); }
.sublabel.dont { color: var(--amber); }

/* ---------- Habitudes (remplace les stats choc) ---------- */
.habits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.habit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: left;
}
.habit .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.habit h3 { font-size: 1.05rem; margin-bottom: 8px; }
.habit p { color: var(--ink-2); font-size: 0.93rem; }

/* ---------- Tableau outils ---------- */
.tools-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tools-table th, .tools-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.tools-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); background: var(--bg-soft); }
.tools-table td { color: var(--ink-2); }
.tools-table td:first-child { color: var(--ink); font-weight: 600; }
.tools-table tr:last-child td { border-bottom: none; }
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--green-soft);
  color: var(--green);
  white-space: nowrap;
}

/* ---------- Page contact ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.widget-slot {
  background: var(--bg-blue);
  border: 2px dashed #B7CCE6;
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 40px 24px;
  margin: 26px 0;
  color: var(--ink-2);
}

.urgent-box {
  background: var(--amber-soft);
  border: 1px solid #F2D38B;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 32px;
}
.urgent-box h3 { color: var(--amber); margin-bottom: 6px; }
.urgent-box p { color: var(--ink-2); margin-bottom: 16px; }

.contact-info { list-style: none; margin: 22px 0; }
.contact-info li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.contact-info li:last-child { border-bottom: none; }
.contact-info .k { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); min-width: 130px; padding-top: 3px; }
.contact-info .v strong { color: var(--ink); }

/* ---------- Bandeau final ---------- */
.band { background: var(--bg-blue); text-align: center; }
.band p { color: var(--ink-2); margin: 10px auto 26px; max-width: 36em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 34px 0; font-size: 0.9rem; color: var(--ink-2); background: var(--bg-soft); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--blue); }
.footer-mission { font-size: 0.85rem; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillars, .services-grid, .habits, .contact-cols { grid-template-columns: 1fr; }

  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }

  section { padding: 42px 0; }
  .sos-card { padding: 24px 20px; }
  .offer { padding: 24px; }
  body { font-size: 17px; }
}

/* ---------- Page tarifs ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--blue); position: relative; }
.price-card.featured::before {
  content: "Le plus complet";
  position: absolute;
  top: -13px; left: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 14px 0 4px;
}
.price-card .amount small { font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }
.price-card p.desc { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 16px; }
.price-card ul { list-style: none; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); font-size: 0.93rem; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }

.price-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.96rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.price-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); background: var(--bg-soft); }
.price-table td { color: var(--ink-2); }
.price-table td:first-child { color: var(--ink); font-weight: 600; }
.price-table td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
.price-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .price-cards { grid-template-columns: 1fr; }
  .price-table td:last-child { text-align: left; }
}

/* ---------- Animation d'accueil ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero h1, .hero p.lead, .hero-ctas, .hero-note { animation: fadeUp 0.6s ease both; }
.hero p.lead { animation-delay: 0.12s; }
.hero-ctas { animation-delay: 0.24s; }
.hero-note { animation-delay: 0.36s; }

/* Bouclier qui se dessine */
.shield-anim { display: flex; justify-content: center; margin-bottom: 16px; }
.shield-anim svg { width: 88px; height: 88px; overflow: visible; }
.shield-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s ease forwards 0.35s;
}
.check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.5s ease forwards 1.35s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse-ring {
  opacity: 0;
  transform-origin: center;
  animation: ringOut 1.4s ease-out 1.8s;
}
@keyframes ringOut {
  0% { opacity: 0.45; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.45); }
}

/* Garanties qui apparaissent une à une, après le bouclier */
.promise-card h3 { animation: fadeUp 0.5s ease both 0.5s; }
.promise-card li { opacity: 0; animation: fadeUp 0.45s ease forwards; }
.promise-card li:nth-child(1) { animation-delay: 1.55s; }
.promise-card li:nth-child(2) { animation-delay: 1.75s; }
.promise-card li:nth-child(3) { animation-delay: 1.95s; }
.promise-card li:nth-child(4) { animation-delay: 2.15s; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.lead, .hero-ctas, .hero-note, .promise-card h3, .promise-card li { animation: none; opacity: 1; transform: none; }
  .shield-path, .check-path { animation: none; stroke-dashoffset: 0; }
  .pulse-ring { animation: none; opacity: 0; }
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form .row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.contact-form .opt {
  font-weight: 400;
  color: var(--ink-2);
  font-size: 0.84rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}
.contact-form select {
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352606D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa5b1;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #C7D6EA;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
  padding: 13px 30px;
  font-size: 1rem;
}
.contact-form .hint {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin: 2px 0 0;
  line-height: 1.5;
}

/* ---------- Effets "wow" sobres ---------- */

/* Halo décoratif derrière le hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.08) 0%, rgba(21, 128, 61, 0) 65%);
  pointer-events: none;
}
.hero .container { position: relative; }

/* Ombre du header quand on quitte le haut de page */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(22, 50, 79, 0.09); }

/* Reflet discret sur le bouton principal */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover::after { left: 125%; }

/* Icônes des cartes qui réagissent au survol */
.card .icon { transition: transform 0.2s ease, background 0.2s ease; }
.card:hover .icon { transform: scale(1.08) rotate(-3deg); background: var(--blue); color: #fff; }

/* Soulignement animé sous les h2 de section */
section > .container > h2 { position: relative; padding-bottom: 12px; }
section > .container > h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

/* Lignes du tableau des tarifs au survol */
.price-table tbody tr { transition: background 0.15s ease; }
.price-table tbody tr:hover td { background: var(--bg-blue); }

/* Accordéon SOS : confort visuel */
.sos-card { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.sos-card:hover { border-color: #C7D6EA; }
.sos-card.open { border-color: var(--blue); box-shadow: 0 6px 28px rgba(37, 99, 235, 0.12); }
.sos-num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border-radius: 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.sos-card.open .sos-num { background: var(--blue); color: #fff; }
.sos-head { gap: 14px; justify-content: flex-start; }
.sos-head .sos-title { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { display: none; }
  .card:hover .icon { transform: none; }
  .sos-body { transition: none; }
}

/* ---------- Passe graphique : accordéons & dépliables ---------- */

/* Contenu de l'accordéon qui glisse en s'ouvrant */
.sos-body-inner {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}
.sos-card.open .sos-body-inner { opacity: 1; transform: none; }

/* Étapes qui apparaissent en cascade à l'ouverture */
.sos-card.open .do-list li { animation: stepIn 0.4s ease both; }
.sos-card.open .do-list li:nth-child(1) { animation-delay: 0.12s; }
.sos-card.open .do-list li:nth-child(2) { animation-delay: 0.2s; }
.sos-card.open .do-list li:nth-child(3) { animation-delay: 0.28s; }
.sos-card.open .do-list li:nth-child(4) { animation-delay: 0.36s; }
.sos-card.open .do-list li:nth-child(5) { animation-delay: 0.44s; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Titre de l'accordéon : petit glissement au survol */
.sos-head .sos-title { transition: transform 0.18s ease; }
.sos-head:hover .sos-title { transform: translateX(3px); }

/* Bloc dépliable <details> */
details.more {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.more summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  transition: transform 0.25s ease;
}
details.more[open] summary::after { transform: rotate(45deg); }
details.more summary:hover { background: var(--bg-soft); color: var(--blue); }
details.more > *:not(summary) { margin: 0 26px 24px; }
details.more .tools-table { box-shadow: none; border: 1px solid var(--border); }
details.more[open] > *:not(summary) { animation: stepIn 0.35s ease both; }

@media (prefers-reduced-motion: reduce) {
  .sos-body-inner, .sos-head .sos-title { transition: none; opacity: 1; transform: none; }
  .sos-card.open .do-list li, details.more[open] > *:not(summary) { animation: none; }
}

/* ---------- Section liens utiles ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  color: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.link-card:hover { text-decoration: none; transform: translateY(-3px); border-color: #C7D6EA; box-shadow: 0 10px 28px rgba(22, 50, 79, 0.1); }
.link-card .lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.link-card h3 { font-size: 1.08rem; color: var(--navy); }
.link-card .arrow { color: var(--blue); font-weight: 700; transition: transform 0.16s ease; }
.link-card:hover .arrow { transform: translate(3px, -3px); }
.link-card p { color: var(--ink-2); font-size: 0.93rem; margin: 0; }
.link-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 9px;
  margin-top: 12px;
}
@media (max-width: 900px) { .links-grid { grid-template-columns: 1fr; } }

/* ---------- Motifs animés par page (line-art sobre) ---------- */
.hero { position: relative; }
.hero .container { position: relative; z-index: 2; }
.hero-motif {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 230px;
  height: 230px;
  z-index: 1;
  pointer-events: none;
}
.hero-motif svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 980px) { .hero-motif { display: none; } }

/* — Motif "menace neutralisée" (page En cas de problème) — */
.hero-motif--threat .shield {
  stroke: var(--navy); stroke-width: 2.5; fill: rgba(37, 99, 235, 0.03);
  stroke-dasharray: 470; stroke-dashoffset: 470;
  animation: bt-draw 1.8s ease forwards;
}
.hero-motif--threat .scan { animation: bt-scan 3s ease-in-out infinite 1.6s; }
.hero-motif--threat .scanLine { stroke: var(--blue); stroke-width: 2; }
.hero-motif--threat .ring {
  fill: none; stroke-width: 1.5; transform-origin: 100px 100px; opacity: 0;
}
.hero-motif--threat .r1 { stroke: var(--blue); animation: bt-ring 3.4s ease-out infinite 1.8s; }
.hero-motif--threat .r2 { stroke: var(--green); animation: bt-ring 3.4s ease-out infinite 3.5s; }
.hero-motif--threat .check {
  stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; fill: none;
  stroke-dasharray: 90; stroke-dashoffset: 90;
  animation: bt-draw 0.7s ease forwards 2s;
}
@keyframes bt-scan {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(104px); opacity: 1; }
}
@keyframes bt-ring {
  0% { opacity: 0.55; transform: scale(0.45); }
  80% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.18); }
}

/* — Motif "vie privée protégée" (page Vie privée) — */
.hero-motif--privacy .pring {
  fill: none; stroke-width: 1.5; transform-origin: 100px 104px; opacity: 0;
}
.hero-motif--privacy .p1 { stroke: var(--blue);  animation: bt-radar 3.6s ease-out infinite; }
.hero-motif--privacy .p2 { stroke: var(--green); animation: bt-radar 3.6s ease-out infinite 1.2s; }
.hero-motif--privacy .p3 { stroke: var(--blue);  animation: bt-radar 3.6s ease-out infinite 2.4s; }
.hero-motif--privacy .lockbody {
  fill: rgba(37, 99, 235, 0.04); stroke: var(--navy); stroke-width: 2.5;
  stroke-dasharray: 210; stroke-dashoffset: 210; animation: bt-draw 1.4s ease forwards 0.2s;
}
.hero-motif--privacy .shackle {
  fill: none; stroke: var(--navy); stroke-width: 2.5;
  stroke-dasharray: 120; stroke-dashoffset: 120; animation: bt-draw 1.2s ease forwards;
}
.hero-motif--privacy .keyhole { fill: var(--blue); opacity: 0; animation: bt-fade 0.5s ease forwards 1.5s; }
.hero-motif--privacy .keyslot { stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: bt-fade 0.5s ease forwards 1.6s; }
@keyframes bt-radar {
  0% { opacity: 0.6; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(2.6); }
}
@keyframes bt-draw { to { stroke-dashoffset: 0; } }
@keyframes bt-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-motif .shield, .hero-motif .check, .hero-motif .lockbody,
  .hero-motif .shackle { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-motif .scan, .hero-motif .ring, .hero-motif .pring { animation: none !important; }
  .hero-motif .keyhole, .hero-motif .keyslot { opacity: 1 !important; animation: none !important; }
  .hero-motif .ring, .hero-motif .pring { display: none; }
}

/* — Motif "démo contactless" (page Formations) — */
.hero-motif--demo .card-body {
  fill: rgba(37, 99, 235, 0.04); stroke: var(--navy); stroke-width: 2.5;
  stroke-dasharray: 256; stroke-dashoffset: 256; animation: bt-draw 1.3s ease forwards;
}
.hero-motif--demo .card-chip { fill: none; stroke: var(--blue); stroke-width: 2; opacity: 0; animation: bt-fade 0.5s ease forwards 1s; }
.hero-motif--demo .card-line { stroke: var(--border); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: bt-fade 0.5s ease forwards 1.1s; }
.hero-motif--demo .wave { fill: none; stroke-width: 2.5; stroke-linecap: round; opacity: 0; transform-origin: 122px 100px; }
.hero-motif--demo .w1 { stroke: var(--blue);  animation: bt-wave 2.4s ease-out infinite 0s; }
.hero-motif--demo .w2 { stroke: var(--blue);  animation: bt-wave 2.4s ease-out infinite 0.4s; }
.hero-motif--demo .w3 { stroke: var(--green); animation: bt-wave 2.4s ease-out infinite 0.8s; }
@keyframes bt-wave {
  0% { opacity: 0; transform: translateX(-6px) scale(0.9); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(10px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motif--demo .card-body, .hero-motif--demo .card-chip, .hero-motif--demo .card-line { stroke-dashoffset: 0 !important; opacity: 1 !important; animation: none !important; }
  .hero-motif--demo .wave { animation: none !important; display: none; }
}

/* ---------- Signature manuscrite (touche personnelle) ---------- */
.bio-sign {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.01em;
}
.bio-sign .sign-swoosh { width: 132px; height: 22px; margin-top: 2px; overflow: visible; }
.bio-sign .sign-swoosh path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
}
.js .reveal.bio-sign.visible .sign-swoosh path { animation: bt-draw 1.1s ease forwards 0.25s; }
/* sans JS / reduced-motion : trait déjà visible */
.bio-sign .sign-swoosh path { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .bio-sign .sign-swoosh path { stroke-dashoffset: 0; }
}
html:not(.js) .bio-sign .sign-swoosh path { stroke-dashoffset: 0; }

/* ============================================================
   ATELIER · Papier & Encre — couche DA artisanale
   ============================================================ */

/* Corps : serif chaud, papier */
body { font-size: 17px; line-height: 1.72; letter-spacing: 0.002em; }

/* Grain papier discret sur tout l'écran */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Titres : un poil plus serrés, encre sapin */
h1, h2, h3 { letter-spacing: -0.015em; }

/* Labels techniques en mono */
.eyebrow, .path-item .k, .sublabel, .tag, .price-card .amount small,
.k, .calm-banner .label, .footer-mission, .hero-note, .price-table th {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  border: 1.5px solid var(--ink-line);
  background: var(--blue-soft);
  color: var(--ink);
  border-radius: 4px;
  font-size: 0.72rem;
  padding: 4px 11px;
  box-shadow: 2px 2px 0 var(--ink-line);
}

/* Liens : terracotta, soulignement franc */
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* Navigation : labels mono */
.nav-links a { font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 0.01em; }
.logo { font-size: 1.25rem; }

/* En-tête : papier mat, filet d'encre franc (pas de flou lisse) */
.site-header {
  background: rgba(245, 239, 227, 0.95);
  backdrop-filter: none;
  border-bottom: 2px solid var(--ink-line);
}
.site-header.scrolled { box-shadow: 0 4px 0 -1px rgba(33, 28, 22, 0.12); }

/* Hero : dégradé papier chaud (fini le bleu froid) */
.hero { background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%); }

/* Cartes & blocs : bord d'encre 2px + ombre dure façon tampon */
.card, .promise-card, .path-item, .price-card, .contact-form,
.note-box, .link-card, .offer, .service-item, .sos-card, .habit {
  border: 2px solid var(--ink-line);
  border-radius: var(--radius);
  background: #FBF7EE;
  box-shadow: var(--shadow);
}
.service-item, .habit { box-shadow: var(--shadow-soft); }
.note-box { background: var(--amber-soft); }

/* Survols : effet "appui" (l'ombre se réduit, l'objet descend) */
.card, .link-card, .price-card, .path-item { transition: transform 0.12s ease, box-shadow 0.12s ease; }
.card:hover, .link-card:hover, .price-card:hover, .path-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink-line);
  border-color: var(--ink-line);
}

/* Boutons : pleins, bord franc, ombre dure, pas de gloss */
.btn {
  border: 2px solid var(--ink-line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink-line); }
.btn-primary { background: var(--blue); color: #FBF7EE; box-shadow: var(--shadow); }
.btn-primary:hover { background: #A8431F; }
.btn-primary::after { display: none !important; }   /* tue le reflet lisse */
.btn-ghost { background: #FBF7EE; color: var(--ink); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--ink); border-color: var(--ink-line); }
.btn-call { background: var(--navy); color: #FBF7EE; }

/* Icônes piliers : carré franc */
.card .icon { background: var(--blue-soft); border: 1.5px solid var(--ink-line); color: var(--blue); border-radius: 6px; }
.card:hover .icon { background: var(--blue); color: #FBF7EE; }

/* Pastilles de validation */
.promise-card .check, .service-item .check {
  background: var(--green-soft); color: var(--green);
  border: 1.5px solid var(--green); border-radius: 5px;
}

/* Soulignement des h2 : trait franc terracotta→sapin */
section > .container > h2::after { height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 0; }

/* Prix : chiffre en mono, présence */
.price-card .amount { font-family: var(--font-mono); font-weight: 700; }

/* Bandeau calme (page SOS) : encre franche */
.calm-banner { border-top: 2px solid var(--ink-line); border-bottom: 2px solid var(--ink-line); }

/* Tableau tarifs : lignes franches */
.price-table { border: 2px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.price-table th { background: var(--bg-blue); }

/* Bandeau final .band : liseré d'encre */
.band { border-top: 2px solid var(--ink-line); border-bottom: 2px solid var(--ink-line); }

/* Signature : à l'encre terracotta (cohérent) */
.bio-sign { font-size: 2.05rem; }

/* ============================================================
   ATELIER+ — détails "atelier d'ingénieur" (reste informatique)
   ============================================================ */

/* Papier millimétré derrière le hero (graph paper / blueprint) */
.hero {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(33, 28, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 22, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(233, 223, 203, 0.65) 0%, rgba(245, 239, 227, 0) 62%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
}

/* Timbres (eyebrow) légèrement de travers, se redressent au survol */
.eyebrow {
  transform: rotate(-1.4deg);
  transform-origin: left center;
  transition: transform 0.18s ease;
}
.eyebrow:hover { transform: rotate(0deg); }

/* Piliers numérotés 01–04 en mono (carnet d'ingénieur) */
.pillars { counter-reset: pil; }
.pillars .card { position: relative; }
.pillars .card::before {
  counter-increment: pil;
  content: counter(pil, decimal-leading-zero);
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
  opacity: 0.55;
  letter-spacing: 0.04em;
}
/* Cadre pointillé interne façon schéma technique */
.pillars .card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(33, 28, 22, 0.22);
  border-radius: 4px;
  pointer-events: none;
}

/* Filet "couture" pointillé sous les en-têtes de section */
.section-intro { position: relative; }

/* Marques de repère (crop marks) aux coins des cartes phares */
.promise-card, .price-card.featured { position: relative; }
.promise-card::before, .price-card.featured::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px dashed rgba(33, 28, 22, 0.18);
  border-radius: 4px;
}

/* Liste de services à la carte : puce mono "›" */
.services-grid .service-item { position: relative; }

/* Séparateur d'atelier réutilisable : trait pointillé + glyphe */
.workshop-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
  color: var(--ink-2);
}
.workshop-rule::before, .workshop-rule::after {
  content: "";
  flex: 1;
  border-top: 1.5px dashed rgba(33, 28, 22, 0.3);
}
.workshop-rule span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Numéros des cartes SOS / habitudes en mono déjà présents : accent encre */
.sos-num, .habit .n { font-family: var(--font-mono); }

/* ============================================================
   ATELIER · finitions (version aboutie)
   ============================================================ */

/* Sélecteur de langue : petite étiquette mono à bord d'encre */
.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  border: 1.5px solid var(--ink-line);
  border-radius: 5px;
  color: var(--ink);
  background: #FBF7EE;
  box-shadow: 2px 2px 0 var(--ink-line);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.lang-switch:hover { color: var(--blue); border-color: var(--ink-line); transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink-line); }

/* Burger : bouton franc */
.burger { border: 2px solid var(--ink-line); border-radius: 6px; background: #FBF7EE; box-shadow: 2px 2px 0 var(--ink-line); color: var(--ink); }

/* Menu mobile déroulé : panneau papier, bord d'encre */
@media (max-width: 900px) {
  .nav-links { background: var(--bg); border-bottom: 2px solid var(--ink-line); box-shadow: var(--shadow); }
  .nav-links li + li { border-top: 1px dashed var(--border); }
}

/* Pied de page : atelier */
.site-footer { border-top: 2px solid var(--ink-line); background: var(--bg-soft); }
.footer-links a { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-2); }
.footer-links a:hover { color: var(--blue); }
.footer-mission { color: var(--ink); }

/* Séparation hero-note plus chaude */
.hero-note .sep { color: var(--ink-2); opacity: 0.5; }

/* Tableau tarifs lisible sur mobile */
@media (max-width: 600px) {
  .price-table { font-size: 0.84rem; }
  .price-table th, .price-table td { padding: 9px 8px; }
}

/* Séparateur d'atelier : centrage propre */
.workshop-rule .glyph { color: var(--blue); }

/* Papier millimétré continu sur toute la page (fini la coupure sous le hero) */
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(33, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 22, 0.035) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  background-attachment: fixed;
}
/* Le hero garde sa grille + lavé chaud, alignés sur la même trame */
.hero {
  background-color: transparent;
  background-image:
    linear-gradient(rgba(33, 28, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 22, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(233, 223, 203, 0.7) 0%, rgba(245, 239, 227, 0) 70%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
  background-attachment: fixed, fixed, scroll;
}
/* Sections opaques pour ne pas laisser passer la grille là où on veut du plein */
.section-soft, .band { position: relative; }

/* ============================================================
   Animation héros : ordinateur portable qui se sécurise
   ============================================================ */
.device-anim { width: 100%; max-width: 248px; margin: 2px auto 20px; }
.device-anim svg { width: 100%; height: auto; overflow: visible; }

.dv-frame { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dv-lid { fill: #FBF7EE; }
.dv-base { fill: #F1EADB; }
.dv-lid, .dv-base { stroke-dasharray: 480; stroke-dashoffset: 480; animation: bt-draw 1.4s ease forwards; }
.dv-deck { stroke: var(--ink-2); stroke-width: 2.5; opacity: 0; animation: dv-fade 0.4s ease forwards 1.2s; }

/* écran qui "s'allume" */
.dv-screen { fill: #E6EDE6; opacity: 0; animation: dv-fade 0.6s ease forwards 0.7s; }

/* lignes de code */
.dv-code { stroke: var(--ink-2); stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.dv-code.c1 { animation: dv-fade 0.3s ease forwards 1.1s; }
.dv-code.c2 { animation: dv-fade 0.3s ease forwards 1.25s; }

/* ligne de scan qui balaie l'écran */
.dv-scan { stroke: var(--blue); stroke-width: 2; opacity: 0; animation: dv-scan 2.8s ease-in-out infinite 1.5s; }

/* bouclier + check qui se dessinent */
.dv-shield { fill: rgba(194, 84, 47, 0.07); stroke: var(--blue); stroke-width: 3; stroke-dasharray: 175; stroke-dashoffset: 175; animation: bt-draw 1s ease forwards 1.4s; }
.dv-check { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 52; stroke-dashoffset: 52; animation: bt-draw 0.6s ease forwards 2.1s; }

/* badge "sécurisé" qui pop en haut à droite */
.dv-badge { transform-origin: 168px 26px; transform: scale(0); animation: dv-pop 0.5s cubic-bezier(.34,1.56,.64,1) forwards 2.5s; }
.dv-badge-bg { fill: var(--green-soft); stroke: var(--green); stroke-width: 2; }
.dv-badge-check { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dv-badge-ring { fill: none; stroke: var(--green); stroke-width: 1.5; transform-origin: 168px 26px; opacity: 0; animation: dv-ring 2.6s ease-out infinite 3s; }

@keyframes dv-fade { to { opacity: 1; } }
@keyframes dv-scan {
  0%, 100% { transform: translateY(0); opacity: 0.15; }
  50% { transform: translateY(70px); opacity: 0.85; }
}
@keyframes dv-pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes dv-ring { 0% { opacity: 0.6; transform: scale(0.55); } 100% { opacity: 0; transform: scale(1.5); } }

@media (prefers-reduced-motion: reduce) {
  .dv-lid, .dv-base, .dv-shield, .dv-check { stroke-dashoffset: 0 !important; animation: none !important; }
  .dv-deck, .dv-screen, .dv-code { opacity: 1 !important; animation: none !important; }
  .dv-scan, .dv-badge-ring { display: none; }
  .dv-badge { transform: scale(1) !important; animation: none !important; }
}

/* ============================================================
   Correctifs post-déploiement
   ============================================================ */

/* Bloc "offre 39€" : garder un bloc sapin foncé, texte lisible
   (la couche Atelier l'avait passé en crème -> titre blanc illisible) */
.offer { background: var(--navy); border: 2px solid var(--ink-line); box-shadow: var(--shadow); }
.offer h3 { color: #FBF7EE; }
.offer p { color: rgba(251, 247, 238, 0.84); }
.offer .price { background: #FBF7EE; border: 2px solid var(--ink-line); border-radius: 8px; }
.offer .price, .offer .price small { color: var(--ink); }

/* Panneau "coordonnées" révélé au clic, avec animation */
.call-reveal { position: relative; }
.contact-pop { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.contact-pop[hidden] { display: none; }
.cp-item {
  flex: 1; min-width: 230px;
  background: #FBF7EE;
  border: 2px solid var(--ink-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transform: translateY(10px) scale(0.97);
  animation: cp-in 0.45s cubic-bezier(.34,1.56,.64,1) forwards;
}
.contact-pop .cp-item:nth-child(2) { animation-delay: 0.09s; }
.cp-item:hover { text-decoration: none; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink-line); }
.cp-k { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.cp-v { font-family: var(--font-mono); font-weight: 700; font-size: 1.18rem; color: var(--blue); }
.cp-hint { font-size: 0.8rem; color: var(--ink-2); }
@keyframes cp-in { to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .cp-item { animation: none; opacity: 1; transform: none; } }

/* Lien de langue inline dans le hero (cliquable direct, mobile inclus) */
.hero-note .lang-inline { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hero-note .lang-inline:hover { color: #A8431F; }

/* ============================================================
   Carreaux partout : surfaces translucides -> la grille (fixe)
   traverse les encarts et les bandes. Une seule feuille continue.
   ============================================================ */
body {
  background-image:
    linear-gradient(rgba(33, 28, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 22, 0.05) 1px, transparent 1px);
}
.hero {
  background-image:
    linear-gradient(rgba(33, 28, 22, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 22, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(233, 223, 203, 0.55) 0%, rgba(245, 239, 227, 0) 70%);
}

/* Bandes : tint translucide -> grille visible à travers */
.section-soft { background: rgba(233, 223, 203, 0.42); }
.band { background: rgba(225, 213, 188, 0.52); }

/* Encarts : papier translucide, grille alignée qui traverse */
.card, .promise-card, .price-card, .path-item, .contact-form,
.link-card, .service-item, .sos-card, .habit, .price-table, .cp-item {
  background-color: rgba(251, 247, 238, 0.80);
}
.note-box { background-color: rgba(243, 230, 204, 0.74); }

/* On garde opaques : bloc offre (sombre) + menu mobile (lisibilité) */
.offer { background: var(--navy); }
@media (max-width: 900px) { .nav-links { background: var(--bg); } }

/* ============================================================
   Photo "Qui suis-je" : cadre atelier (épinglée, artisanal-pro)
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 46px; align-items: center; }
.about-text .section-intro { margin-bottom: 18px; }

.photo-frame {
  position: relative;
  background: #FBF7EE;
  border: 2px solid var(--ink-line);
  border-radius: 6px;
  padding: 12px 12px 0;
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 330px;
  margin: 4px auto 0;
}
.photo-frame:hover { transform: rotate(0deg); box-shadow: 7px 7px 0 var(--ink-line); }
.photo-frame img { display: block; width: 100%; height: auto; border: 1.5px solid var(--ink-line); border-radius: 3px; }
.photo-frame figcaption {
  font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-2); text-align: center; padding: 11px 4px 13px;
}
.photo-frame figcaption b { color: var(--blue); }
/* washi tape terracotta translucide en haut */
.photo-frame::before {
  content: ""; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 98px; height: 26px;
  background: rgba(194, 84, 47, 0.42);
  border: 1px solid rgba(33, 28, 22, 0.22);
  box-shadow: 1px 1px 0 rgba(33, 28, 22, 0.12);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .photo-frame { transform: rotate(-1.5deg); max-width: 300px; }
}

/* ============================================================
   PASSE "VITRINE" — signature terminal, marquee, progression
   (tout est préfixé .bt- pour ne rien casser d'existant)
   ============================================================ */

/* ---- Barre de progression de lecture (sous le header) ---- */
.bt-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ---- Console d'atelier (signature du hero) ---- */
.bt-term {
  margin-top: 26px;
  max-width: 34em;
  border: 2px solid var(--ink-line);
  border-radius: 8px;
  background: #1E1A14;                 /* encre profonde : l'écran de l'atelier */
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--font-mono);
}
.bt-term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #2A241C;
  border-bottom: 1px solid #3A3227;
}
.bt-term-bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #4B4234;
}
.bt-term-bar span:nth-child(1) { background: #C2542F; }
.bt-term-bar span:nth-child(2) { background: #9A6314; }
.bt-term-bar span:nth-child(3) { background: #2E4A3C; }
.bt-term-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8C8270;
}
.bt-term-body {
  margin: 0;
  padding: 16px 18px 18px;
  font-size: 0.86rem;
  line-height: 1.75;
  color: #EDE4D3;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 8.4em;
}
.bt-term-body .p  { color: #C2542F; }                    /* prompt / commande */
.bt-term-body .ok { color: #7FB894; font-weight: 700; }  /* [✓] validé */
.bt-term-body .muted { color: #A79B85; }
.bt-caret {
  display: inline-block;
  width: 9px; height: 1.05em;
  vertical-align: -0.18em;
  margin-left: 2px;
  background: #EDE4D3;
  animation: bt-blink 1s steps(1) infinite;
}
@keyframes bt-blink { 50% { opacity: 0; } }

/* ---- Bandeau "ce que je maîtrise" (défilement continu) ---- */
.bt-strip {
  border-top: 2px solid var(--ink-line);
  border-bottom: 2px solid var(--ink-line);
  background: var(--bg-soft);
  padding: 16px 0;
  overflow: hidden;
}
.bt-strip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
  margin-bottom: 12px;
}
.bt-marquee {
  display: flex;
  width: max-content;
  gap: 0;
  animation: bt-scroll 42s linear infinite;
}
.bt-strip:hover .bt-marquee { animation-play-state: paused; }
.bt-marquee .row { display: flex; gap: 0; }
.bt-chip {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink);
  padding: 0 22px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bt-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--blue);
  transform: rotate(45deg);
  flex: none;
}
@keyframes bt-scroll { to { transform: translateX(-50%); } }

/* ---- Petites finitions (classes déjà présentes en HTML) ---- */
.direct-line {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-top: 18px;
}
.band-cta { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .bt-caret { animation: none; opacity: 1; }
  .bt-marquee { animation: none; }
  .bt-progress { transition: none; }
}

@media (max-width: 900px) {
  .bt-term { max-width: none; }
}

/* ---- FAQ (réutilise le composant details.more) ---- */
.faq-list > details.more { margin-bottom: 12px; }
.faq-list > details.more:last-child { margin-bottom: 0; }
.faq-list .faq-a { color: var(--ink-2); }

/* — Motif "site en ligne" (page Site web) : fenêtre navigateur qui se dessine — */
.hero-motif--web .win-frame {
  fill: rgba(37, 99, 235, 0.04); stroke: var(--navy); stroke-width: 2.5;
  stroke-dasharray: 470; stroke-dashoffset: 470; animation: bt-draw 1.5s ease forwards;
}
.hero-motif--web .win-bar { stroke: var(--navy); stroke-width: 2.5; opacity: 0; animation: bt-fade 0.4s ease forwards 1s; }
.hero-motif--web .win-dot { fill: none; stroke-width: 2; opacity: 0; animation: bt-fade 0.4s ease forwards 1.1s; }
.hero-motif--web .win-dot.d1 { stroke: #C2542F; }
.hero-motif--web .win-dot.d2 { stroke: #9A6314; }
.hero-motif--web .win-dot.d3 { stroke: #2E4A3C; }
.hero-motif--web .win-line { stroke: var(--border); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.hero-motif--web .win-line.h { stroke: var(--blue); stroke-width: 5; }
.hero-motif--web .win-line.l1 { animation: bt-fade 0.4s ease forwards 1.25s; }
.hero-motif--web .win-line.l2 { animation: bt-fade 0.4s ease forwards 1.4s; }
.hero-motif--web .win-line.l3 { animation: bt-fade 0.4s ease forwards 1.55s; }
.hero-motif--web .win-btn { fill: var(--blue); opacity: 0; animation: bt-fade 0.5s ease forwards 1.7s; }
.hero-motif--web .win-badge { transform-origin: 150px 138px; transform: scale(0); animation: dv-pop 0.5s cubic-bezier(.34,1.56,.64,1) forwards 2s; }
.hero-motif--web .win-badge-bg { fill: var(--green-soft); stroke: var(--green); stroke-width: 2; }
.hero-motif--web .win-badge-check { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-motif--web .win-badge-ring { fill: none; stroke: var(--green); stroke-width: 1.5; transform-origin: 150px 138px; opacity: 0; animation: dv-ring 2.6s ease-out infinite 2.6s; }
@media (prefers-reduced-motion: reduce) {
  .hero-motif--web .win-frame { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-motif--web .win-bar, .hero-motif--web .win-dot, .hero-motif--web .win-line, .hero-motif--web .win-btn { opacity: 1 !important; animation: none !important; }
  .hero-motif--web .win-badge { transform: scale(1) !important; animation: none !important; }
  .hero-motif--web .win-badge-ring { display: none; }
}

/* Process "clef en main" : étapes numérotées façon carnet (réutilise do-list mais en cartes) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 8px; counter-reset: stp; }
.step {
  position: relative; background: #FBF7EE; border: 2px solid var(--ink-line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 22px;
}
.step .num {
  counter-increment: stp; font-family: var(--font-mono); font-weight: 700; font-size: 0.82rem;
  color: var(--blue); letter-spacing: 0.06em; margin-bottom: 10px; display: block;
}
.step .num::before { content: "étape " counter(stp, decimal-leading-zero); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.92rem; }
.steps.en .step .num::before { content: "step " counter(stp, decimal-leading-zero); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Nav à 7 entrées : bascule en menu burger plus tôt pour éviter l'entassement */
@media (min-width: 901px) and (max-width: 1120px) {
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 2px solid var(--ink-line);
    padding: 8px 24px 16px; box-shadow: var(--shadow); z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li + li { border-top: 1px dashed var(--border); }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
}

/* ============================================================
   Mini-animation : le processus de récupération en 3 temps
   (support abîmé → copie bit à bit → fichiers restaurés)
   ============================================================ */
.rp-anim { margin: 4px 0 30px; }
.rp-stages { display: flex; align-items: stretch; gap: 12px; }
.rp-stage {
  flex: 1;
  background: #FBF7EE;
  border: 2px solid var(--ink-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px 14px 12px;
  text-align: center;
}
.rp-stage svg { width: 100%; max-width: 148px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.rp-stage .cap {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.rp-arrow { flex: 0 0 30px; align-self: center; width: 30px; height: 22px; overflow: visible; }
.rp-arrow path { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .rp-stages { flex-direction: column; align-items: center; }
  .rp-stage { width: 100%; }
  .rp-arrow { transform: rotate(90deg); }
}

/* traits qui se dessinent */
.rp-anim .draw { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rp-anim .rp-line { stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }
.rp-anim .rp-crack { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rp-anim .rp-dot { fill: var(--blue); }
.rp-anim .rp-bar-track { fill: #E9DFCB; stroke: var(--ink-line); stroke-width: 1.5; }
.rp-anim .rp-bar-fill { fill: var(--green); transform-box: fill-box; transform-origin: left center; }
.rp-anim .rp-photo rect { fill: #FBF7EE; stroke: var(--ink); stroke-width: 2.5; }
.rp-anim .rp-photo circle { fill: var(--amber); }
.rp-anim .rp-photo path { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rp-anim .rp-badge-bg { fill: var(--green-soft); stroke: var(--green); stroke-width: 2; }
.rp-anim .rp-badge-check { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rp-anim .rp-badge-ring { fill: none; stroke: var(--green); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.rp-anim .rp-spindle { fill: var(--ink); }

/* états initiaux (JS actif uniquement : sans JS, tout est visible) */
html.js .rp-anim .draw,
html.js .rp-anim .rp-crack { stroke-dasharray: 420; stroke-dashoffset: 420; }
html.js .rp-anim .rp-fade { opacity: 0; }
html.js .rp-anim .rp-dot { opacity: 0; }
html.js .rp-anim .rp-bar-fill { transform: scaleX(0); }
html.js .rp-anim .rp-photo { opacity: 0; transform: translateY(6px) scale(0.92); transform-box: fill-box; transform-origin: center; }
html.js .rp-anim .rp-badge { transform: scale(0); transform-box: fill-box; transform-origin: center; }
html.js .rp-anim .rp-a { stroke-dasharray: 60; stroke-dashoffset: 60; }

/* séquence, déclenchée quand la frise entre à l'écran (.visible) */
html.js .rp-anim.visible .s1  { animation: bt-draw 0.9s ease forwards; }
html.js .rp-anim.visible .f1  { animation: dv-fade 0.4s ease forwards 0.55s; }
html.js .rp-anim.visible .rp-crack { animation: bt-draw 0.5s ease forwards 0.85s, rp-pulse 2.6s ease-in-out infinite 1.6s; }
html.js .rp-anim.visible .rp-a1 path { animation: bt-draw 0.4s ease forwards 1.05s; }
html.js .rp-anim.visible .s2  { animation: bt-draw 0.8s ease forwards 1.2s; }
html.js .rp-anim.visible .s2b { animation: bt-draw 0.8s ease forwards 1.4s; }
html.js .rp-anim.visible .f2  { animation: dv-fade 0.35s ease forwards 1.65s; }
html.js .rp-anim.visible .f2b { animation: dv-fade 0.35s ease forwards 1.85s; }
html.js .rp-anim.visible .rp-dot.k1 { animation: rp-dot 1.6s linear infinite 1.95s; }
html.js .rp-anim.visible .rp-dot.k2 { animation: rp-dot 1.6s linear infinite 2.48s; }
html.js .rp-anim.visible .rp-dot.k3 { animation: rp-dot 1.6s linear infinite 3.01s; }
html.js .rp-anim.visible .rp-bar-fill { animation: rp-fill 1.5s ease forwards 1.95s; }
html.js .rp-anim.visible .rp-a2 path { animation: bt-draw 0.4s ease forwards 3.3s; }
html.js .rp-anim.visible .s3  { animation: bt-draw 0.9s ease forwards 3.5s; }
html.js .rp-anim.visible .rp-photo { animation: rp-pop-in 0.5s cubic-bezier(.34,1.56,.64,1) forwards 4.05s; }
html.js .rp-anim.visible .rp-badge { animation: dv-pop 0.5s cubic-bezier(.34,1.56,.64,1) forwards 4.45s; }
html.js .rp-anim.visible .rp-badge-ring { animation: dv-ring 2.6s ease-out infinite 5s; }

@keyframes rp-fill { to { transform: scaleX(1); } }
@keyframes rp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes rp-dot {
  0% { opacity: 0; transform: translateX(0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateX(22px); }
}
@keyframes rp-pop-in { to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html.js .rp-anim .draw, html.js .rp-anim .rp-crack, html.js .rp-anim .rp-a { stroke-dashoffset: 0 !important; animation: none !important; }
  html.js .rp-anim .rp-fade, html.js .rp-anim .rp-photo { opacity: 1 !important; transform: none !important; animation: none !important; }
  html.js .rp-anim .rp-bar-fill { transform: scaleX(1) !important; animation: none !important; }
  html.js .rp-anim .rp-badge { transform: scale(1) !important; animation: none !important; }
  .rp-anim .rp-dot, .rp-anim .rp-badge-ring { display: none; }
}

/* ---- Lien d'évitement (accessibilité clavier) ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #FBF7EE;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 11px 18px;
  border: 2px solid var(--ink-line);
  border-top: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Étiquette des cartes "featured" : localisée + variante solo ---- */
html[lang="en"] .price-card.featured::before { content: "Most complete"; }
.price-card.featured.solo::before { content: "Tout compris"; }
html[lang="en"] .price-card.featured.solo::before { content: "All included"; }

/* Footer : 5 liens, autorisés à passer à la ligne sur petit écran */
.footer-links { flex-wrap: wrap; row-gap: 6px; }

/* Header opaque : rien ne transparaît sous la barre (marquee, contenus) */
.site-header { background: var(--bg); }
