/* ============================================================
   À ma place — Eugénie Charles
   Feuille de style unique · polices auto-hébergées (RGPD)
   ============================================================ */

@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-italic.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Couleurs — reprises du logo : terracotta, crème, rose poudré */
  --bg: #fffaf6;
  --surface: #f9e6da;
  --peach: #e3a88d;
  --peach-soft: #f5d8c5;
  --clay: #bd5a3e;
  --clay-strong: #a3421c;
  --plum: #b9532f;
  --plum-2: oklch(0.35 0.05 25);
  --ink: #2f2627;
  --ink-soft: #5a4a45;
  --on-dark: #ffffff;
  --on-dark-soft: #5a4a45;
  --apricot: #bd5a3e;
  --blush: #efc9b4;
  --blush-line: #cf8a6e;
  --line: #ecd3c4;
  --line-dark: #e0b8a3;
  --error: oklch(0.47 0.16 27);
  --ok: oklch(0.45 0.09 150);

  /* Typo */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --step--1: 1rem;
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);

  /* Espaces */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --maxw: 72rem;
  --radius: 10px;

  /* Mouvement */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Couches */
  --z-sticky: 10;
  --z-menu: 20;
  --z-banner: 40;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--plum);
  color: var(--on-dark);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  z-index: var(--z-banner);
  transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 var(--step-0)/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--plum); color: var(--on-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--clay-strong); }
  .btn-ghost:hover { background: var(--ink); color: var(--bg); }
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--peach-soft) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.site-header.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.site-header.plain { background: var(--bg); border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: auto; height: 3rem; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--clay-strong);
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--clay-strong); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.5rem; list-style: none; }
.nav-list a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding-block: 0.4rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover { background-size: 100% 2px; }
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}
.nav-phone svg { width: 1.05rem; height: 1.05rem; }
@media (hover: hover) and (pointer: fine) {
  .nav-phone:hover { background: var(--ink); color: var(--bg); }
}
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: 700 1rem var(--font-body);
    cursor: pointer;
  }
  .menu-toggle .bars { width: 1.1rem; height: 0.8rem; position: relative; }
  .menu-toggle .bars::before,
  .menu-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: currentColor;
    transition: transform 220ms var(--ease-out), top 220ms var(--ease-out);
  }
  .menu-toggle .bars::before { top: 1px; }
  .menu-toggle .bars::after { top: calc(100% - 3px); }
  .menu-toggle[aria-expanded="true"] .bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: var(--z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-list a { display: block; font-size: 1.25rem; padding-block: 0.6rem; }
  .nav-phone { justify-content: center; padding: 0.85rem 1rem; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--peach-soft);
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 420;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.hero h1 em {
  font-style: italic;
  font-weight: 380;
  color: var(--clay-strong);
}
.hero-lede {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.hero-call { font-size: 1.0625rem; color: var(--ink-soft); }
.hero-call a { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* Définition de dictionnaire — le « mot » de la marque */
.definition {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.definition-word {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  color: var(--clay-strong);
}
.definition-meta {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}
.definition ol {
  margin: 1.25rem 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.85rem;
}
.definition li { padding-left: 0.25rem; line-height: 1.5; }
.definition li::marker { font-family: var(--font-display); font-weight: 600; color: var(--clay-strong); }
.definition-sign {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.definition-sign strong { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 44rem; }
.section-head h2 { font-size: var(--step-3); }
.section-head p {
  margin-top: 1.25rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Accompagnements : lignes éditoriales, pas de cartes */
.services { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: 0; }
.service h3 {
  font-size: var(--step-2);
  font-weight: 450;
}
.service-intro {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 28rem;
}
.service-list {
  list-style: none;
  display: grid;
  gap: 0;
}
.service-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.5rem;
  padding-block: 0.8rem;
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
}
.service-list li:last-child { border-bottom: 0; }
.service-list svg { width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; color: var(--clay); }

.pro-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  padding: 1.35rem 1.6rem;
  background: var(--surface);
  border-radius: var(--radius);
}
.pro-note strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.pro-note p { color: var(--ink-soft); }
.pro-note a { font-weight: 700; color: var(--ink); }

/* ---------- Déroulé (fond rose poudré, doux) ---------- */
.steps-section {
  background: var(--blush);
  color: var(--ink);
}
.steps-section .section-head p { color: var(--ink-soft); }
.steps-section h2 em { font-style: italic; color: var(--clay-strong); font-weight: 400; }
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.steps li { counter-increment: step; border-top: 1px solid var(--blush-line); padding-top: 1.5rem; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 350;
  font-style: italic;
  line-height: 1;
  color: var(--clay);
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.45rem; font-weight: 500; }
.steps p { margin-top: 0.7rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Qui suis-je ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-quote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 380;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--clay-strong);
  text-wrap: balance;
  margin: 0;
}
.about-quote-sign {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.about-quote-sign strong { display: block; color: var(--ink); font-size: 1.125rem; }
.about-body h2 { font-size: var(--step-2); }
.about-body > p { margin-top: 1.25rem; max-width: 38rem; }
.values {
  list-style: none;
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1.5rem 2rem;
}
.values li { padding-top: 1rem; border-top: 2px solid var(--peach); }
.values strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.values span { display: block; margin-top: 0.35rem; color: var(--ink-soft); line-height: 1.55; font-size: 1.0625rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--surface); }
.faq {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 50rem;
  border-top: 1px solid var(--ink);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.35rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.8rem; height: 0.8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-0.2rem, -0.2rem);
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-0.1rem, -0.1rem); }
.faq details p { padding-bottom: 1.5rem; max-width: 42rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-direct { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-line {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  transition: background-color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .contact-line:hover { background: var(--peach-soft); }
}
.contact-line svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--clay-strong); }
.contact-line small { display: block; font-size: 0.95rem; color: var(--ink-soft); }
.contact-line span { font-weight: 700; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-zone { margin-top: 1.75rem; color: var(--ink-soft); font-size: 1.0625rem; }

.form { display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.35rem; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field label, .field legend { font-weight: 700; font-size: 1.0625rem; }
.field .req { color: var(--clay-strong); }
.field .hint { font-size: 0.95rem; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
  transition: border-color 160ms ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23433029' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.2rem;
  padding-right: 2.75rem;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.field ::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px color-mix(in oklch, var(--clay) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error-msg { color: var(--error); font-size: 0.98rem; font-weight: 700; min-height: 0; }
.error-msg:empty { display: none; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; font-size: 1rem; line-height: 1.5; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--clay-strong); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--peach-soft);
  color: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.site-footer .brand { color: var(--ink); }
.site-footer .brand-name em { color: var(--clay-strong); }
.footer-tag { margin-top: 1rem; color: var(--on-dark-soft); max-width: 22rem; font-size: 1.0625rem; }
.footer-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 0.9rem; }
.footer-list { list-style: none; display: grid; gap: 0.55rem; font-size: 1.0625rem; }
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-list button {
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.footer-list button:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}
.footer-bottom a { color: var(--ink); }

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed;
  z-index: var(--z-banner);
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 6px 8px oklch(0.25 0.03 30 / 0.12);
  transform: translateY(0);
  opacity: 1;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-entering { transform: translateY(1rem); opacity: 0; }
.cookie-banner h2 { font-size: 1.3rem; font-weight: 500; }
.cookie-banner p { margin-top: 0.5rem; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-actions .btn { min-height: 2.9rem; padding: 0.6rem 1.35rem; font-size: 1rem; flex: 1 1 8rem; justify-content: center; }

@media (min-width: 900px) {
  .cookie-banner { left: 1.5rem; bottom: 1.5rem; right: auto; margin: 0; width: 30rem; }
}

/* ---------- Pages de contenu (légal, 404, merci) ---------- */
.page-hero { background: var(--peach-soft); padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { font-size: var(--step-3); font-weight: 450; max-width: 40rem; }
.page-hero p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); max-width: 40rem; }
.prose { max-width: 46rem; padding-block: clamp(3rem, 6vw, 4.5rem) var(--section); }
.prose h2 { font-size: var(--step-2); margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; font-weight: 500; margin-top: 2rem; }
.prose p, .prose ul { margin-top: 1rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-top: 0.4rem; }
.prose dl { margin: 1rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
@media (max-width: 560px) {
  .prose dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .prose dd { margin-bottom: 0.75rem; }
}
.a-completer {
  background: oklch(0.93 0.09 95);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
}

.center-page {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding-block: var(--section);
}
.center-page .big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-style: italic;
  font-weight: 350;
  line-height: 0.9;
  color: var(--clay-strong);
}
.center-page h1 { font-size: var(--step-3); margin-top: 1.25rem; max-width: 36rem; }
.center-page p { margin-top: 1.25rem; max-width: 36rem; font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; }
.center-page .btn { margin-top: 2.25rem; justify-self: start; }

/* ---------- Apparition douce (le contenu reste visible sans JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .steps.reveal li { opacity: 0; transform: translateY(1rem); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .steps.reveal.is-visible li { opacity: 1; transform: none; }
  .js .steps.reveal.is-visible li:nth-child(2) { transition-delay: 90ms; }
  .js .steps.reveal.is-visible li:nth-child(3) { transition-delay: 180ms; }
  .js .steps.reveal.is-visible li:nth-child(4) { transition-delay: 270ms; }
  .js .steps.reveal { opacity: 1; transform: none; }

  .hero h1, .hero-lede, .hero-actions, .definition {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero-lede { animation-delay: 80ms; }
  .hero-actions { animation-delay: 160ms; }
  .definition { animation-delay: 240ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-name { font-size: 1.3rem; }
  .brand-mark { height: 2.6rem; }
}

@media print {
  .site-header, .cookie-banner, .site-footer, .form { display: none; }
  body { background: #fff; color: #000; }
}
.about-figure { margin: 0; }

/* ---------- Logo pied de page & photo ---------- */
.footer-logo { display: inline-block; }
.footer-logo img { width: 120px; height: auto; }
.about-photo {
  width: 100%;
  max-width: 25rem;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
  background: #111;
}

/* ---------- Bouton « Appeler » fixe sur mobile ---------- */
.call-fab { display: none; }
@media (max-width: 860px) {
  .call-fab {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-sticky);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    background: var(--plum);
    color: var(--on-dark);
    font: 700 1.0625rem/1 var(--font-body);
    text-decoration: none;
    box-shadow: 0 4px 8px rgb(47 38 39 / 0.18);
    transition: transform 140ms var(--ease-out);
  }
  .call-fab:active { transform: scale(0.97); }
  .call-fab svg { width: 1.2rem; height: 1.2rem; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Conseil après décès ---------- */
.advice {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  max-width: 52rem;
}
.advice h3 { font-size: var(--step-1); font-weight: 500; }
.advice p { margin-top: 0.75rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Pourquoi se faire accompagner ---------- */
.why-section { background: var(--surface); }
.mantra {
  list-style: none;
  padding: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--ink-soft);
}
.mantra strong { color: var(--clay-strong); font-weight: 500; }
.why-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
}
.why-grid h3 { font-size: var(--step-1); font-weight: 500; padding-top: 1rem; border-top: 2px solid var(--peach); }
.why-grid > div > p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.6; }
.why-grid .service-list { margin-top: 0.75rem; }
.why-fact { font-style: italic; }

/* ---------- Tarifs ---------- */
.prices {
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.prices li { padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.price {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1;
  color: var(--clay-strong);
}
.price-label { display: block; margin-top: 0.6rem; color: var(--ink-soft); line-height: 1.5; }
.prices-note { margin-top: 2rem; font-size: 1rem; color: var(--ink-soft); }
.why-text { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 46rem; }
.why-text p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.65; }
.why-text h3 { margin-top: 2rem; font-size: var(--step-1); font-weight: 500; }
.prices-sub { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-size: var(--step-1); font-weight: 500; }
.prices-small { margin-top: 1.25rem; }
.prices-small .price { font-size: var(--step-2); }
#tarifs .advice { margin-top: 2rem; }
.advice-sap { display: flow-root; max-width: 56rem; }
.sap-logo {
  float: right;
  width: 7.5rem; height: auto;
  margin: 0 0 1rem 1.5rem;
}
.footer-sap { display: block; margin-top: 1.25rem; width: 6rem; height: auto; }
@media (max-width: 560px) { .sap-logo { float: none; display: block; margin: 0 0 1rem; } }
