/* ==========================================================================
   Mirevo — feuille de style
   Direction « Éditorial chaleureux » (maquette 1a, Claude Design)
   Bricolage Grotesque (titres) + Instrument Sans (texte) · crème & terracotta
   ========================================================================== */

:root {
  /* Couleurs — fonds clairs */
  --bg: #F4F1EA;
  --surface: #FBF9F5;
  --sand: #E9E2D4;
  --pill: #ECE6DA;
  --ink: #171411;
  --text: #3A342D;
  --muted: #5C554C;
  --faint: #8E8578;
  --line: #DCD4C6;
  --line-strong: #C9BFAE;
  --accent: #BA4219;
  --accent-hover: #9E3612;

  /* Couleurs — fonds sombres */
  --on-dark: #F4F1EA;
  --on-dark-muted: #B3AA9D;
  --on-dark-text: #CFC7BA;
  --on-dark-accent: #E07A52;
  --dark-line: #4A443D;
  --dark-line-soft: #34302B;
  --dark-card: #211D19;

  /* Motif hachuré des emplacements photo */
  --hatch: repeating-linear-gradient(135deg, #DDD4C5 0 1px, #EFEAE1 1px 12px);

  /* Typographie */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  /* Espacements */
  --gutter: clamp(20px, 5vw, 72px);
  --inset: clamp(8px, 1.2vw, 16px);
  --block-pad-x: clamp(12px, 3.8vw, 56px);
  --block-pad-y: clamp(72px, 8vw, 128px);
  --block-radius: clamp(24px, 3vw, 40px);
  --section-gap: clamp(96px, 11vw, 168px);
  --header-offset: 84px;

  /* Mouvement : une seule courbe et une seule amplitude pour tout le site */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --rise: 22px;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
strong { font-weight: 600; color: var(--ink); }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #FFFFFF; }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.block--dark :focus-visible,
.dark-end :focus-visible,
.site-footer :focus-visible { outline-color: var(--on-dark-accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1296px; margin: 0 auto; }
.accent { color: var(--accent); }
.accent-light { color: var(--on-dark-accent); }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Boutons
   ========================================================================== */

/* Pilule + pastille ronde avec flèche */
.btn {
  --h: 52px;
  --pl: 20px;
  --pr: 6px;
  --gap: 12px;
  --icon: 36px;
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  height: var(--h);
  padding: 0 var(--pr) 0 var(--pl);
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .45s var(--ease-out), scale .2s var(--ease-out);
}
.btn__icon {
  flex: none;
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn__icon .i { width: 15px; height: 15px; }

.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--accent:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn--accent .btn__icon { background: #FFFFFF; color: var(--accent); }

.btn--header { --h: 46px; --pr: 5px; }
.btn--header .btn__icon .i { width: 16px; height: 16px; }
.btn--lg { --h: 54px; --pl: 24px; --gap: 14px; --icon: 42px; font-size: 16px; }
.btn--lg .btn__icon .i { width: 17px; height: 17px; }
.btn--md { --h: 48px; --pr: 5px; --icon: 38px; }
.btn--plan-sub { --gap: 10px; }
.btn--submit { --h: 56px; --pl: 26px; --gap: 14px; --icon: 44px; font-size: 16px; }
.btn--submit .btn__icon .i { width: 17px; height: 17px; }
.btn--submit[disabled] { opacity: .7; cursor: progress; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, scale .2s var(--ease-out);
}
.btn-outline:hover { border-color: var(--ink); background: var(--surface); }

/* Lien texte + pastille cerclée */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--accent); }
.link-arrow__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s ease;
}
.link-arrow__icon .i { width: 15px; height: 15px; }

/* Bouton pleine largeur des cartes de tarifs */
.btn-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 52px;
  padding: 0 6px 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, scale .2s var(--ease-out);
}
.btn-plan:hover { background: var(--ink); color: var(--on-dark); }
.btn-plan .btn__icon { width: 36px; height: 36px; background: var(--ink); color: var(--on-dark); }

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(23, 20, 17, 0);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(23, 20, 17, .08); }

.site-header__bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.logo__dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--pill);
  border-radius: 999px;
}
.nav__link {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(251, 249, 245, 0);
  box-shadow: 0 1px 2px rgba(23, 20, 17, 0), 0 0 0 1px rgba(23, 20, 17, 0);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(23, 20, 17, .10), 0 0 0 1px rgba(23, 20, 17, .04);
}

.header-cta { display: none; }

.header-compact { display: flex; align-items: center; gap: 8px; }

.btn-compact {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, scale .2s var(--ease-out);
}
.btn-compact:hover { background: var(--accent-hover); color: #FFFFFF; }
/* Très petits écrans (moins de 360 px) : l’en-tête tient dans la largeur, sans débordement */
@media (max-width: 359.98px) {
  .site-header__bar { gap: 12px; }
  .btn-compact { padding: 0 14px; }
}

.burger {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color .2s ease, scale .2s var(--ease-out);
}
.burger__line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease;
}
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 4px var(--gutter) 28px;
  box-shadow: 0 30px 40px -30px rgba(23, 20, 17, .3);
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.mobile-menu__link span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
}
.mobile-menu__foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  font-size: 15px;
  color: var(--muted);
}
.mobile-menu__foot a { color: var(--ink); font-weight: 600; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .header-compact, .mobile-menu { display: none !important; }
}

/* ==========================================================================
   Accueil (hero)
   ========================================================================== */

.hero {
  scroll-margin-top: var(--header-offset);
  padding: clamp(24px, 4vw, 56px) var(--gutter) 0;
}

.hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: clamp(20px, 2.2vw, 28px);
  border-bottom: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.pulse {
  position: relative;
  flex: none;
  display: inline-block;
  width: 8px;
  height: 8px;
}
.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
}
.pulse::after { animation: mv-pulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes mv-pulse {
  0% { transform: scale(1); opacity: .5; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__title {
  margin-top: clamp(28px, 4.2vw, 60px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.6vw, 118px);
  line-height: .95;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.br-wide { display: none; }
@media (min-width: 1100px) { .br-wide { display: inline; } }

.hero__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(40px, 5vw, 80px);
  margin-top: clamp(32px, 4vw, 56px);
}
.hero__intro { flex: 1 1 320px; max-width: 440px; min-width: 0; }
.hero__lead {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.hero__reassure .sep { color: var(--line-strong); }

.hero__preview { flex: 999 1 520px; min-width: 0; }

.preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.preview-bar__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(23, 20, 17, 0);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, scale .2s var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }

/* ---------- Aperçu fictif (ordinateur + téléphone) ---------- */
/* Quatre mini-sites superposés qui apparaissent en fondu. Les tailles internes sont en cqw
   (1 % de la largeur de l’écran simulé) : l’aperçu se met à l’échelle comme une image. */

.mock {
  --f-oswald: 'Oswald', 'Arial Narrow', sans-serif;
  --f-cormorant: 'Cormorant Garamond', Georgia, serif;
  --f-fraunces: 'Fraunces', Georgia, serif;
  --f-iserif: 'Instrument Serif', Georgia, serif;
  position: relative;
  padding: 0 12% 9% 0;
}

.mock-browser {
  container-type: inline-size;
  background: var(--surface);
  border: 1px solid #D6CEC0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(23, 20, 17, .45), 0 1px 3px rgba(23, 20, 17, .06);
}
.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: .9cqw;
  padding: 1.5cqw 1.8cqw;
  background: var(--bg);
  border-bottom: 1px solid #E3DCD0;
}
.mock-browser__dot {
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: #D6CEC0;
}
.mock-browser__url {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-right: 3.6cqw;
}
.mock-browser__url > span {
  display: inline-flex;
  align-items: center;
  gap: .6cqw;
  padding: .45cqw 2.4cqw;
  background: var(--surface);
  border: 1px solid #E3DCD0;
  border-radius: 999px;
  font-size: 1.4cqw;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
}
.mock-browser__url .i { width: 1.1cqw; height: 1.1cqw; stroke-width: 2.4; }

.mock-screen {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0F0D0B;
}

.mview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  font-size: 1.2cqw;
  line-height: 1.4;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.mview.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
/* Valeurs par défaut à faible spécificité : chaque classe ci-dessous peut les remplacer. */
:where(.mview) span { display: block; }
:where(.mview) img { display: block; max-width: none; object-fit: cover; }
:where(.mview) i { font-style: normal; }

/* --- Artisan : Atelier Maurin --- */
.ma { background: #15100C; color: #FFFFFF; }
.ma__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 72% 50%; }
.ma__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 10, 7, .9) 0%, rgba(14, 10, 7, .66) 36%, rgba(14, 10, 7, .1) 68%),
    linear-gradient(0deg, rgba(14, 10, 7, .55) 0%, rgba(14, 10, 7, 0) 32%);
}
.ma__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 2.1cqw 4cqw;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ma__logo { display: flex; flex-direction: column; margin-right: auto; }
.ma__logo b {
  font-family: var(--f-oswald);
  font-weight: 600;
  font-size: 1.6cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.ma__logo small {
  margin-top: .5cqw;
  font-size: .7cqw;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 1;
  color: #D9A45F;
}
.ma__links { display: flex; gap: 2.1cqw; font-size: 1.05cqw; color: rgba(255, 255, 255, .82); }
.ma__tel {
  display: flex;
  align-items: center;
  gap: .6cqw;
  font-family: var(--f-oswald);
  font-weight: 500;
  font-size: 1.15cqw;
  letter-spacing: .04em;
}
.ma__tel .i { width: 1.25cqw; height: 1.25cqw; color: #D9A45F; }
.ma__cta,
.ma__btn {
  font-family: var(--f-oswald);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  background: #D9A45F;
  color: #1A120B;
  border-radius: .3cqw;
}
.ma__cta { padding: .85cqw 1.5cqw; font-size: .95cqw; }
.ma__hero {
  position: absolute;
  left: 4cqw;
  top: 12.5cqw;
  width: 44cqw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ma__kicker {
  display: flex;
  align-items: center;
  gap: .8cqw;
  font-size: .92cqw;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #D9A45F;
}
.ma__kicker::before { content: ""; width: 2.4cqw; height: 1px; background: currentColor; }
.ma__title {
  margin-top: 1.5cqw;
  font-family: var(--f-oswald);
  font-weight: 600;
  font-size: 6.1cqw;
  line-height: .96;
  text-transform: uppercase;
}
.ma__sub { margin-top: 1.8cqw; max-width: 33cqw; font-size: 1.3cqw; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.ma__btns { display: flex; gap: 1cqw; margin-top: 2.3cqw; }
.ma__btn { display: flex; align-items: center; gap: .7cqw; padding: 1.15cqw 1.8cqw; font-size: 1.02cqw; }
.ma__btn .i { width: 1.2cqw; height: 1.2cqw; }
.ma__btn--ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.ma__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.7cqw 4cqw;
  background: rgba(12, 9, 6, .74);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.ma__stats > span { font-size: .95cqw; color: rgba(255, 255, 255, .7); }
.ma__stats b {
  display: block;
  font-family: var(--f-oswald);
  font-weight: 500;
  font-size: 1.9cqw;
  line-height: 1.15;
  letter-spacing: .02em;
  color: #FFFFFF;
}
.ma__stats i { font-size: .9cqw; letter-spacing: .08em; color: #D9A45F; vertical-align: .25em; }

/* --- Restaurant : Sillon --- */
.mr { background: #13110E; color: #EFE6D8; }
.mr__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2cqw 4cqw;
}
.mr__links { display: flex; gap: 2cqw; font-size: .88cqw; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 230, 216, .72); }
.mr__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--f-cormorant);
  font-style: italic;
  font-weight: 600;
  font-size: 3.1cqw;
  line-height: .9;
}
.mr__logo small {
  margin-top: .5cqw;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: .6cqw;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #C9A15E;
}
.mr__right { display: flex; justify-content: flex-end; align-items: center; gap: 1.6cqw; font-size: .95cqw; }
.mr__tel { color: rgba(239, 230, 216, .72); letter-spacing: .06em; }
.mr__cta {
  padding: .75cqw 1.5cqw;
  border: 1px solid #C9A15E;
  color: #C9A15E;
  font-size: .82cqw;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
}
.mr__text {
  position: absolute;
  left: 6cqw;
  top: 15cqw;
  width: 36cqw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mr__kicker { font-size: .85cqw; letter-spacing: .26em; text-transform: uppercase; color: #C9A15E; }
.mr__title {
  margin-top: 1.5cqw;
  font-family: var(--f-cormorant);
  font-weight: 500;
  font-size: 5.1cqw;
  line-height: .98;
  letter-spacing: -.01em;
}
.mr__title em { font-style: italic; color: #D9BD8C; }
.mr__sub { margin-top: 1.8cqw; max-width: 31cqw; font-size: 1.18cqw; line-height: 1.6; color: rgba(239, 230, 216, .7); }
.mr__btns { display: flex; align-items: center; gap: 2cqw; margin-top: 2.5cqw; }
.mr__btn {
  padding: 1.15cqw 2cqw;
  background: #C9A15E;
  color: #13110E;
  font-size: .92cqw;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.mr__link {
  padding-bottom: .3cqw;
  border-bottom: 1px solid rgba(239, 230, 216, .5);
  font-size: .92cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.mr__hours {
  margin-top: 3cqw;
  padding-top: 1.5cqw;
  border-top: 1px solid rgba(239, 230, 216, .16);
  font-size: 1cqw;
  color: rgba(239, 230, 216, .7);
}
.mr__hours b { display: block; font-weight: 600; color: #EFE6D8; }
.mr__img {
  position: absolute;
  left: 52cqw;
  top: 12.5cqw;
  width: 25cqw;
  height: 43cqw;
  border-radius: 12.5cqw 12.5cqw .6cqw .6cqw;
}
.mr__img2 {
  position: absolute;
  left: 45.5cqw;
  top: 38cqw;
  width: 12cqw;
  height: 15cqw;
  border: .5cqw solid #13110E;
  border-radius: .8cqw;
}
.mr__badge {
  position: absolute;
  left: 70.5cqw;
  top: 10.5cqw;
  width: 8.6cqw;
  height: 8.6cqw;
  border-radius: 50%;
  background: #C9A15E;
  color: #13110E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .72cqw;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(-8deg);
}
.mr__badge b {
  display: block;
  margin-top: .15cqw;
  font-family: var(--f-cormorant);
  font-size: 2.3cqw;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

/* --- Gîte : Le Clos du Pastel --- */
.mg { background: #F6F2EA; color: #2C3327; }
.mg__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7.4cqw;
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 0 3.5cqw;
}
.mg__logo {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  font-family: var(--f-fraunces);
  font-weight: 500;
  font-size: 1.8cqw;
  line-height: 1;
  letter-spacing: -.01em;
}
.mg__logo small {
  margin-top: .5cqw;
  font-family: var(--font-body);
  font-size: .64cqw;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #6F7F5F;
}
.mg__links { display: flex; gap: 2cqw; font-size: 1.02cqw; color: #4A5244; }
.mg__lang { font-size: .88cqw; letter-spacing: .08em; color: #6F7869; }
.mg__cta,
.mg__btn { background: #4E6A8C; color: #FFFFFF; font-weight: 600; line-height: 1; white-space: nowrap; }
.mg__cta { padding: .8cqw 1.7cqw; border-radius: 999px; font-size: .98cqw; }
.mg__hero {
  position: absolute;
  left: 3.5cqw;
  right: 3.5cqw;
  top: 7.4cqw;
  height: 38cqw;
  border-radius: 1.4cqw;
  overflow: hidden;
}
.mg__img { width: 100%; height: 100%; object-position: 50% 60%; }
.mg__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 26, 18, .72) 0%, rgba(20, 26, 18, .38) 45%, rgba(20, 26, 18, 0) 72%);
}
.mg__caption { position: absolute; left: 3.8cqw; bottom: 7.2cqw; z-index: 1; color: #FFFFFF; text-shadow: 0 .2cqw 1.4cqw rgba(0, 0, 0, .3); }
.mg__kicker { font-size: .92cqw; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.mg__title {
  margin-top: 1cqw;
  font-family: var(--f-fraunces);
  font-weight: 500;
  font-size: 4.3cqw;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.mg__booking {
  position: absolute;
  left: 7.3cqw;
  top: 41.6cqw;
  width: 66cqw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  padding: 1.1cqw 1.1cqw 1.1cqw 2.2cqw;
  background: #FFFFFF;
  border-radius: 1cqw;
  box-shadow: 0 1.6cqw 3.2cqw -1.6cqw rgba(30, 40, 25, .4);
}
.mg__field {
  margin-right: 1.6cqw;
  padding-right: 1.6cqw;
  border-right: 1px solid #E6E1D6;
  font-size: 1.1cqw;
  font-weight: 600;
}
.mg__field:nth-child(3) { border-right: 0; }
.mg__field small {
  display: block;
  margin-bottom: .3cqw;
  font-size: .72cqw;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A9183;
}
.mg__btn { padding: 1.25cqw 1.9cqw; border-radius: .7cqw; font-size: 1.02cqw; }
.mg__perks { position: absolute; left: 7.3cqw; top: 50.6cqw; display: flex; gap: 2.4cqw; font-size: .98cqw; color: #4A5244; }
.mg__perks span::before { content: "✓"; margin-right: .5cqw; font-weight: 700; color: #6F7F5F; }
.mg__perks .mg__rating::before { content: none; }
.mg__rating { font-weight: 600; color: #2C3327; }
.mg__rooms {
  position: absolute;
  left: 3.5cqw;
  top: 54.6cqw;
  width: 70cqw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4cqw;
}
.mg__room { position: relative; }
.mg__room img { width: 100%; aspect-ratio: 16 / 10.3; border-radius: 1cqw; }
.mg__room > span {
  position: absolute;
  top: .9cqw;
  left: .9cqw;
  padding: .45cqw .9cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: .85cqw;
  font-weight: 600;
  color: #2C3327;
}

/* --- Boutique : Brindille --- */
.mb { background: #FBF9F6; color: #1C1B19; }
.mb__promo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C1B19;
  color: #F3EEE7;
  font-size: .82cqw;
  letter-spacing: .08em;
}
.mb__nav {
  position: absolute;
  top: 2.8cqw;
  left: 0;
  right: 0;
  height: 6.4cqw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3.5cqw;
  border-bottom: 1px solid #E9E3DA;
}
.mb__links { display: flex; gap: 2cqw; font-size: .98cqw; color: #3A3834; }
.mb__logo { font-family: var(--f-iserif); font-size: 3.2cqw; line-height: 1; letter-spacing: -.01em; }
.mb__icons { display: flex; justify-content: flex-end; align-items: center; gap: 1.6cqw; }
.mb__icons .i { width: 1.55cqw; height: 1.55cqw; stroke-width: 1.6; }
.mb__bag { position: relative; }
.mb__bag b,
.pb__bag b {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2F4B3A;
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1;
}
.mb__bag b { right: -.7cqw; top: -.6cqw; width: 1.25cqw; height: 1.25cqw; font-size: .72cqw; }
.mb__hero {
  position: absolute;
  top: 9.2cqw;
  left: 0;
  right: 0;
  height: 29cqw;
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: minmax(0, 1fr);
}
.mb__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 3.5cqw;
  background: #EFE8DE;
}
.mb__kicker { font-size: .8cqw; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #6E675D; }
.mb__title { margin-top: 1.1cqw; font-family: var(--f-iserif); font-size: 4.1cqw; line-height: .98; letter-spacing: -.01em; }
.mb__title em { font-style: italic; }
.mb__sub { margin-top: 1.2cqw; max-width: 28cqw; font-size: 1.08cqw; line-height: 1.5; color: #57534C; }
.mb__btn {
  margin-top: 1.9cqw;
  padding: 1.1cqw 1.9cqw;
  background: #1C1B19;
  color: #FFFFFF;
  font-size: .92cqw;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}
.mb__img { width: 100%; height: 100%; object-position: 50% 55%; }
.mb__row { position: absolute; top: 40.8cqw; left: 3.5cqw; right: 3.5cqw; }
.mb__row-head { display: flex; justify-content: space-between; align-items: baseline; }
.mb__row-title { font-family: var(--f-iserif); font-size: 2cqw; line-height: 1; }
.mb__row-link { font-size: .88cqw; text-decoration: underline; text-underline-offset: .3cqw; }
.mb__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; margin-top: 1.3cqw; }
.mb__product { position: relative; font-size: .95cqw; color: #3A3834; }
.mb__product img { width: 100%; aspect-ratio: 5 / 4; background: #EFE8DE; }
.mb__product > span { margin-top: .75cqw; }
.mb__product b { display: block; margin-top: .15cqw; font-weight: 600; color: #1C1B19; }
.mb__tag {
  position: absolute;
  top: .8cqw;
  left: .8cqw;
  z-index: 1;
  padding: .35cqw .7cqw;
  background: #FFFFFF;
  font-size: .7cqw;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Téléphone ---------- */

.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  container-type: inline-size;
}
.mock-phone__frame {
  padding: 2.6cqw;
  background: var(--ink);
  border-radius: 12cqw;
  box-shadow: 0 40px 70px -30px rgba(23, 20, 17, .55);
}
.mock-phone__screen {
  position: relative;
  aspect-ratio: 1 / 1.7;
  border-radius: 9.5cqw;
  overflow: hidden;
  isolation: isolate;
  background: #0F0D0B;
}
.mock-phone__notch {
  position: absolute;
  top: 2.8cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 30cqw;
  height: 7cqw;
  border-radius: 999px;
  background: var(--ink);
  z-index: 5;
}
.mock-phone .mview { font-size: 3.6cqw; line-height: 1.35; }

.pstatus {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 11cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1cqw 6.5cqw 0 9cqw;
  color: #111111;
}
.pstatus b { font-size: 3.5cqw; font-weight: 600; }
.pstatus svg { width: 12cqw; height: 3.2cqw; fill: currentColor; }
.pstatus--light { color: #FFFFFF; }
.pburger { display: flex; flex-direction: column; gap: 1.3cqw; }
.pburger::before,
.pburger::after { content: ""; width: 5.6cqw; height: .7cqw; border-radius: 1cqw; background: currentColor; }

/* Artisan (mobile) */
.pa { background: #15100C; color: #FFFFFF; }
.pa__img { position: absolute; top: 0; left: 0; width: 100%; height: 104cqw; }
.pa__shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 104cqw;
  background: linear-gradient(180deg, rgba(14, 10, 7, .6) 0%, rgba(14, 10, 7, 0) 24%, rgba(14, 10, 7, .45) 48%, rgba(14, 10, 7, .88) 70%, #15100C 100%);
}
.pa__top { position: absolute; top: 13cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; }
.pa__logo { font-family: var(--f-oswald); font-weight: 600; font-size: 4.3cqw; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.pa__heading { position: absolute; left: 6cqw; right: 6cqw; top: 64cqw; }
.pa__kicker { font-size: 2.5cqw; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #D9A45F; }
.pa__title { margin-top: 2cqw; font-family: var(--f-oswald); font-weight: 600; font-size: 9.6cqw; line-height: .98; text-transform: uppercase; }
.pa__body { position: absolute; left: 6cqw; right: 6cqw; top: 106cqw; }
.pa__sub { font-size: 3.4cqw; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.pa__btn {
  margin-top: 4.5cqw;
  padding: 3.6cqw 0;
  text-align: center;
  background: #D9A45F;
  color: #1A120B;
  font-family: var(--f-oswald);
  font-weight: 600;
  font-size: 3.6cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 1cqw;
}
.pa__call {
  margin-top: 2.4cqw;
  padding: 3.2cqw 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8cqw;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 1cqw;
  font-family: var(--f-oswald);
  font-weight: 500;
  font-size: 3.5cqw;
  letter-spacing: .04em;
  line-height: 1;
}
.pa__call .i { width: 3.6cqw; height: 3.6cqw; color: #D9A45F; }
.pa__rating { margin-top: 3.6cqw; text-align: center; font-size: 3.1cqw; color: rgba(255, 255, 255, .75); }
.pa__rating i { color: #D9A45F; letter-spacing: .08em; }

/* Restaurant (mobile) */
.pr { background: #13110E; color: #EFE6D8; text-align: center; }
.pr__top {
  position: absolute;
  top: 13cqw;
  left: 6cqw;
  right: 6cqw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.pr__logo { font-family: var(--f-cormorant); font-style: italic; font-weight: 600; font-size: 7.6cqw; line-height: 1; }
.pr__cta {
  justify-self: end;
  padding: 1.5cqw 2.4cqw;
  border: 1px solid #C9A15E;
  color: #C9A15E;
  font-size: 2.2cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.pr__img {
  position: absolute;
  left: 50%;
  top: 27cqw;
  width: 62cqw;
  height: 70cqw;
  transform: translateX(-50%);
  border-radius: 31cqw 31cqw 1.6cqw 1.6cqw;
}
.pr__text { position: absolute; left: 7cqw; right: 7cqw; top: 103cqw; display: flex; flex-direction: column; align-items: center; }
.pr__kicker { font-size: 2.4cqw; letter-spacing: .26em; text-transform: uppercase; color: #C9A15E; }
.pr__title { margin-top: 2cqw; font-family: var(--f-cormorant); font-weight: 500; font-size: 8.4cqw; line-height: 1; }
.pr__title em { font-style: italic; color: #D9BD8C; }
.pr__btn {
  align-self: stretch;
  margin-top: 4.5cqw;
  padding: 3.4cqw 0;
  background: #C9A15E;
  color: #13110E;
  font-size: 3cqw;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.pr__hours { margin-top: 3cqw; font-size: 2.8cqw; color: rgba(239, 230, 216, .65); }

/* Gîte (mobile) */
.pg { background: #F6F2EA; color: #2C3327; }
.pg__img { position: absolute; top: 0; left: 0; width: 100%; height: 106cqw; }
.pg__shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 106cqw;
  background: linear-gradient(180deg, rgba(20, 26, 18, .62) 0%, rgba(20, 26, 18, .1) 24%, rgba(20, 26, 18, 0) 42%, rgba(20, 26, 18, .78) 100%);
}
.pg__top { position: absolute; top: 13cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; text-shadow: 0 .3cqw 2cqw rgba(0, 0, 0, .45); }
.pg__logo { font-family: var(--f-fraunces); font-weight: 500; font-size: 5.2cqw; line-height: 1; }
.pg__title {
  position: absolute;
  left: 6cqw;
  right: 6cqw;
  top: 71cqw;
  font-family: var(--f-fraunces);
  font-weight: 500;
  font-size: 8.2cqw;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #FFFFFF;
}
.pg__card {
  position: absolute;
  left: 5cqw;
  right: 5cqw;
  top: 99cqw;
  padding: 4cqw;
  background: #FFFFFF;
  border-radius: 3cqw;
  box-shadow: 0 4cqw 8cqw -4cqw rgba(30, 40, 25, .4);
}
.pg__dates { display: grid; grid-template-columns: 1fr 1fr; }
.pg__dates > span { font-size: 3.3cqw; font-weight: 600; }
.pg__dates > span + span { padding-left: 3.5cqw; border-left: 1px solid #E6E1D6; }
.pg__dates small { display: block; font-size: 2.2cqw; letter-spacing: .14em; text-transform: uppercase; color: #8A9183; }
.pg__btn {
  margin-top: 3.4cqw;
  padding: 3cqw 0;
  border-radius: 2cqw;
  background: #4E6A8C;
  color: #FFFFFF;
  text-align: center;
  font-size: 3.2cqw;
  font-weight: 600;
  line-height: 1;
}
.pg__rating { position: absolute; left: 0; right: 0; top: 131cqw; text-align: center; font-size: 3.1cqw; font-weight: 600; color: #4A5244; }
.pg__rooms-title { position: absolute; left: 5cqw; top: 139cqw; font-family: var(--f-fraunces); font-weight: 500; font-size: 5cqw; line-height: 1; }
.pg__rooms { position: absolute; left: 5cqw; right: 5cqw; top: 146cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
.pg__rooms img { width: 100%; aspect-ratio: 6 / 5; border-radius: 2cqw; }

/* Boutique (mobile) */
.pb { background: #FBF9F6; color: #1C1B19; }
.pb__promo {
  position: absolute;
  top: 11cqw;
  left: 0;
  right: 0;
  padding: 1.6cqw 0;
  background: #1C1B19;
  color: #F3EEE7;
  text-align: center;
  font-size: 2.5cqw;
  letter-spacing: .06em;
  line-height: 1.2;
}
.pb__top {
  position: absolute;
  top: 17.5cqw;
  left: 5.5cqw;
  right: 5.5cqw;
  height: 12cqw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.pb__logo { font-family: var(--f-iserif); font-size: 7.6cqw; line-height: 1; }
.pb__bag { position: relative; justify-self: end; }
.pb__bag .i { width: 5cqw; height: 5cqw; stroke-width: 1.6; }
.pb__bag b { right: -1.6cqw; top: -1.2cqw; width: 3.6cqw; height: 3.6cqw; font-size: 2.2cqw; }
.pb__img { position: absolute; top: 30cqw; left: 0; width: 100%; height: 56cqw; object-position: 50% 55%; }
.pb__text { position: absolute; left: 5.5cqw; right: 5.5cqw; top: 91cqw; display: flex; flex-direction: column; }
.pb__title { font-family: var(--f-iserif); font-size: 8.4cqw; line-height: 1; }
.pb__title em { font-style: italic; }
.pb__btn {
  margin-top: 3.4cqw;
  padding: 3.2cqw 0;
  background: #1C1B19;
  color: #FFFFFF;
  text-align: center;
  font-size: 3cqw;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}
.pb__grid {
  position: absolute;
  left: 5.5cqw;
  right: 5.5cqw;
  top: 124cqw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
}
.pb__grid > span { font-size: 2.8cqw; color: #3A3834; }
.pb__grid img { width: 100%; aspect-ratio: 5 / 4; margin-bottom: 1.4cqw; background: #EFE8DE; }
.pb__grid b { display: block; font-weight: 600; color: #1C1B19; }

/* ==========================================================================
   Sections & blocs arrondis
   ========================================================================== */

.section {
  scroll-margin-top: var(--header-offset);
  padding: var(--section-gap) var(--gutter) 0;
}

.block {
  scroll-margin-top: var(--header-offset);
  margin: var(--section-gap) var(--inset) 0;
  padding: var(--block-pad-y) var(--block-pad-x);
  border-radius: var(--block-radius);
}
.block--sand { background: var(--sand); }
/* « Papier » : la teinte des cartes, cernée d’un filet, pour se détacher du beige des tarifs et du bloc sombre du contact */
.block--paper { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.block--dark { background: var(--ink); color: var(--on-dark); }
.block--joined { margin-top: var(--inset); }

/* En-tête de section : sur-titre à gauche, titre à droite */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--dark { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__main { flex: 999 1 0; min-width: min(100%, 620px); }

.eyebrow {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
}
.eyebrow--inline { flex: none; padding-top: 0; }
.eyebrow__num { color: var(--accent); }
.eyebrow__line { width: 28px; height: 1px; background: var(--line-strong); }
.block--dark .eyebrow,
.eyebrow--dark { color: var(--on-dark-muted); }
.block--dark .eyebrow__num,
.eyebrow--dark .eyebrow__num { color: var(--on-dark-accent); }
.block--dark .eyebrow__line,
.eyebrow--dark .eyebrow__line { background: var(--dark-line); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-intro {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}
.section-intro--wide { max-width: 580px; }
.block--dark .section-intro { color: var(--on-dark-muted); }

/* ==========================================================================
   01 — Services
   ========================================================================== */

/* 3 colonnes au-delà de 780 px de large, sinon 1 colonne */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(calc((100% - 2 * 16px - 1px) / 3), calc((780px - 100%) * 999))), 1fr));
  gap: 16px;
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -30px rgba(23, 20, 17, .32);
  border-color: var(--line-strong);
}
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__num { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }

.card__icon { display: block; }
.card__icon--square {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 7px;
}
.card__icon--double { position: relative; width: 32px; height: 32px; }
.card__icon--double span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
}
.card__icon--double span:first-child { left: 0; top: 0; }
.card__icon--double span:last-child { right: 0; bottom: 0; border-color: var(--accent); background: var(--surface); }
.card__icon--circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.card__icon--circle span { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.card__title {
  margin-top: clamp(40px, 5vw, 72px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.card__title--tall-icon { margin-top: clamp(36px, 4.7vw, 68px); }
.card__text { margin-top: 14px; color: var(--text); text-wrap: pretty; }
.card__foot { margin-top: auto; padding-top: 28px; }
.card__ideal {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.card__foot .link-arrow { margin-top: 20px; }

/* ==========================================================================
   02 — Méthode
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.steps__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.step {
  position: relative;
  padding: 37px 28px 44px 0;
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--dark-line);
  transform-origin: left center;
}
.step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--ink);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 5.6vw, 88px);
  line-height: .9;
  letter-spacing: -0.05em;
}
.step__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step__text { margin-top: 12px; font-size: 16px; color: var(--on-dark-text); text-wrap: pretty; }

/* ==========================================================================
   03 — Réalisations
   ========================================================================== */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(calc((100% - 2 * clamp(20px, 2.2vw, 32px) - 1px) / 3), calc((780px - 100%) * 999))), 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}
.project { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.project__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--hatch);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: border-color .3s ease;
}
.project__media:hover { border-color: var(--ink); }
.project__media img,
.project__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aperçu animé : la vidéo reste transparente (l’image fixe dessous s’affiche) jusqu’à sa première lecture */
.project__video { opacity: 0; transition: opacity .4s ease; }
.project__video.is-playing { opacity: 1; }

/* Bouton lecture / pause de l’aperçu animé */
.video-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  transition: background .2s ease, scale .2s var(--ease-out);
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: var(--accent); }
.video-toggle:active { scale: .94; }
.video-toggle .i { width: 15px; height: 15px; }
.video-toggle .i-play,
.video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
@media (max-width: 599.98px) {
  .video-toggle { top: 10px; right: 10px; width: 34px; height: 34px; }
  .video-toggle .i { width: 13px; height: 13px; }
}

.tag-dark {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.tag-dark--bottom { top: auto; bottom: 16px; }
.placeholder-note {
  padding: 9px 14px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
.placeholder-note--left { text-align: left; }

.project__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.project__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.project__meta { font-size: 14px; color: var(--muted); }

/* Une ligne par projet : l’image et sa présentation côte à côte */
.projects--rows {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(56px, 7vw, 104px);
}
.project--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 72px);
}
.project--featured .project__head { flex-direction: column; align-items: flex-start; }
.project--featured .project__title { font-size: clamp(28px, 2.6vw, 36px); }
.project__link { margin-top: 24px; }
/* Lien vers un site en ligne : la flèche pointe vers l’extérieur */
.project__link .link-arrow__icon .i { rotate: -45deg; }
.link-arrow.project__link:hover .link-arrow__icon .i { translate: 2px -2px; }
.project .project__list {
  margin-top: 24px;
  padding-top: 22px;
  gap: 10px;
  font-size: 15.5px;
}
/* Image à droite, pour alterner d’un projet à l’autre */
.project--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.project--reverse .project__media { order: 2; }
@media (max-width: 899.98px) {
  .project--featured { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .project--reverse .project__media { order: 0; }
}
.project__text { margin-top: 10px; color: var(--text); text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.cta-strip {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.6vw, 36px);
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
}
.cta-strip__text {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ==========================================================================
   04 — Tarifs
   ========================================================================== */

/* Offre principale : création de site vitrine */
.offer {
  /* Au-dessus des deux cartes suivantes : son ombre déborde sur elles */
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 28px;
  box-shadow: 0 40px 70px -45px rgba(23, 20, 17, .6);
}
/* En haut : la présentation, et en face le prix et le bouton */
.offer__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px clamp(32px, 4.4vw, 72px);
}
.offer__pitch {
  flex: 1 1 420px;
  max-width: 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.offer__buy { flex: 0 1 300px; min-width: 0; }
.offer__badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.offer__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.offer__text {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--on-dark-text);
  text-wrap: pretty;
}
.offer .price { margin-top: 0; }
.offer .price__note { color: var(--on-dark-muted); }
.offer__cta { margin-top: 26px; }
.offer__fineprint { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-muted); }
/* En bas : ce qui est inclus, et en face les options */
.offer__details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 4.4vw, 72px);
  margin-top: clamp(32px, 3.4vw, 44px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--dark-line-soft);
}
.offer__included { flex: 1.4 1 420px; min-width: 0; }
.offer__options { flex: 1 1 320px; min-width: 0; }
.offer__label { font-weight: 600; font-size: 16px; }
.offer .checklist {
  --check-bg: rgba(224, 122, 82, .16);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07A52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
  color: var(--on-dark);
}
.options {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
}
.options li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--on-dark-text);
}
.options li::before {
  content: "+";
  font-weight: 600;
  color: var(--on-dark-accent);
}
.offer__note { margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-muted); text-wrap: pretty; }

/* Refonte et maintenance : deux cartes côte à côte */
.extras {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}
.extra {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.8vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}
/* Côte à côte, les deux cartes alignent leurs titres, prix et boutons */
@supports (grid-template-rows: subgrid) {
  .extra {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .extra > .pill-outline { justify-self: start; }
}
.pill-outline {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.extra__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.extra .price__amount,
.price__amount--quote { font-size: clamp(44px, 4vw, 60px); }
.extra__text {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.extra__details {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.extra__label { font-weight: 600; font-size: 16px; }
.extra__note {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.extra__cta { margin-top: auto; padding-top: 30px; align-self: end; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: clamp(28px, 3.4vw, 44px);
  font-family: var(--font-display);
  line-height: 1;
}
.price--sub { margin-top: 22px; }
.price__amount {
  font-size: clamp(52px, 4.8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.price__amount--quote { letter-spacing: -0.035em; }
.price__currency { font-size: clamp(28px, 2.4vw, 36px); font-weight: 500; }
.price__per { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--muted); }
.price__note { margin-top: 10px; font-size: 14px; color: var(--muted); }

.checklist {
  --check-bg: rgba(186, 66, 25, .1);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BA4219' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
  list-style: none;
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 16px;
  line-height: 1.45;
}
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: none;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--check-icon) center / 12px 12px no-repeat, var(--check-bg);
}
.checklist--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px 28px;
  margin-top: 16px;
  padding: 0;
  border-top: 0;
}

.pricing-note { margin-top: 28px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.pricing-note a {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.pricing-note a:hover { color: var(--accent); }

/* ==========================================================================
   05 — À propos
   ========================================================================== */

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: flex-start;
}
.about__media { flex: 1 1 280px; max-width: 360px; min-width: 0; }
.about__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--hatch);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.about__photo--img { padding: 0; object-fit: cover; background: var(--sand); }
.about__content { flex: 999 1 0; min-width: min(100%, 460px); }
.about__quote {
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.about__text { margin-top: 32px; max-width: 600px; }
.about__text p { margin-top: 14px; font-size: 18px; color: var(--text); text-wrap: pretty; }
.about__text .about__hello {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 24px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.value__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.value__text { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.signature { margin-top: 40px; display: flex; align-items: center; gap: 14px; }
.signature__who { line-height: 1.35; }
.signature__name { font-weight: 600; }
.signature__role { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   06 — Contact
   ========================================================================== */

.dark-end {
  margin: var(--inset) var(--inset) 0;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--block-radius) var(--block-radius) 0 0;
}
.contact {
  scroll-margin-top: var(--header-offset);
  padding: clamp(80px, 9vw, 140px) var(--block-pad-x) clamp(72px, 8vw, 120px);
}
.contact__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.2vw, 112px);
  line-height: .95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.contact__intro {
  margin-top: 24px;
  max-width: 600px;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.contact__body {
  display: flex;
  flex-wrap: wrap;
  gap: 56px clamp(40px, 6vw, 104px);
  margin-top: clamp(48px, 5.5vw, 80px);
  align-items: flex-start;
}
.contact__form-wrap { flex: 999 1 0; min-width: min(100%, 540px); }

.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px 28px;
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field--full, .form__alert, .form__footer { grid-column: 1 / -1; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--on-dark-muted);
}
.field__label .req { color: var(--on-dark-accent); }
.field__input {
  width: 100%;
  padding: 8px 0 12px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.4;
  color: var(--on-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dark-line);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  transition: border-color .2s ease;
}
.field__input[aria-invalid="true"] { border-bottom-color: var(--on-dark-accent); }
.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--on-dark);
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset;
  caret-color: var(--on-dark);
}
.field__input--area { min-height: 120px; line-height: 1.5; resize: vertical; }
.field__error { font-size: 14px; line-height: 1.4; color: var(--on-dark-accent); }

.form__alert {
  padding: 16px 20px;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  background: var(--dark-card);
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark);
}
.form__alert a { color: var(--on-dark-accent); text-decoration: underline; text-underline-offset: 3px; }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.form__privacy { max-width: 340px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.form__privacy a { color: var(--on-dark); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--dark-line); text-underline-offset: 3px; }
.form__privacy a:hover { color: var(--on-dark-accent); }

.form-success {
  padding: clamp(28px, 3vw, 44px);
  background: var(--dark-card);
  border: 1px solid var(--dark-line-soft);
  border-radius: 24px;
  outline: none;
  scroll-margin-top: var(--header-offset);
}
.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
}
.form-success__icon .i { width: 22px; height: 22px; stroke-width: 2.4; }
.form-success__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.form-success__text { margin-top: 14px; max-width: 520px; font-size: 17px; color: var(--on-dark-muted); }
.form-success__text a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-success__text strong { color: var(--on-dark); font-weight: 600; }
.link-button {
  margin-top: 24px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--dark-line);
  cursor: pointer;
}
.link-button:hover { color: var(--on-dark-accent); }

.contact__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; }
.contact__item { padding: 22px 0; border-bottom: 1px solid var(--dark-line-soft); }
.contact__item:first-child { padding-top: 0; padding-bottom: 24px; }
.contact__item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--on-dark-muted);
}
.contact__phone {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--on-dark);
  transition: color .2s ease;
}
.contact__email {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  color: var(--on-dark);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: color .2s ease, background-size .4s var(--ease-out);
}
.contact__phone:hover,
.contact__email:hover { color: var(--on-dark-accent); }
.contact__email:hover { background-size: 100% 1px; }
.contact__value { margin-top: 8px; font-size: 17px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  margin: 0 var(--inset) var(--inset);
  padding: 0 var(--block-pad-x);
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 0 0 var(--block-radius) var(--block-radius);
  overflow: hidden;
}
.site-footer--standalone {
  margin-top: var(--section-gap);
  border-radius: var(--block-radius);
}
.footer__top {
  max-width: 1296px;
  margin: 0 auto;
  padding-top: clamp(48px, 5vw, 72px);
  border-top: 1px solid var(--dark-line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}
.site-footer--standalone .footer__top { border-top: 0; padding-top: clamp(56px, 6vw, 88px); }
.footer__brand { flex: 1 1 260px; max-width: 340px; }
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.footer-logo__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-dark-accent);
}
.footer__tagline { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 36px clamp(40px, 5vw, 80px); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__heading {
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer__col a,
.footer__bottom a {
  align-self: flex-start;
  color: var(--on-dark);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: color .2s ease, background-size .4s var(--ease-out);
}
.footer__col a:hover,
.footer__bottom a:hover { color: var(--on-dark-accent); background-size: 100% 1px; }
.footer__wordmark {
  max-width: 1296px;
  margin: clamp(56px, 7vw, 104px) auto 0;
  padding-top: .04em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(88px, 26vw, 380px);
  line-height: .76;
  letter-spacing: -0.045em;
  color: var(--on-dark);
  white-space: nowrap;
  overflow: hidden;
}
.footer__bottom {
  max-width: 1296px;
  margin: clamp(28px, 3vw, 40px) auto 0;
  padding: 22px 0 26px;
  border-top: 1px solid var(--dark-line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

/* ==========================================================================
   Barre d’action mobile
   ========================================================================== */

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: none;
  gap: 8px;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear 0s;
}
.mobile-bar.is-hidden {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
@media (max-width: 719.98px) {
  .mobile-bar { display: flex; }
}
.mobile-bar__call,
.mobile-bar__quote {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
}
.mobile-bar__call {
  flex: none;
  padding: 0 20px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 15px;
  box-shadow: 0 12px 28px -12px rgba(23, 20, 17, .5);
}
.mobile-bar__quote {
  flex: 1;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 14px 30px -12px rgba(186, 66, 25, .65);
}

/* ==========================================================================
   Animations
   Discrètes et cohérentes : une seule courbe, une seule amplitude.
   Toutes désactivées si le visiteur a demandé à réduire les animations.
   · Entrée de l’accueil au chargement : attribut data-intro.
   · Apparition au défilement : attribut data-reveal. Retirer l’attribut
     d’un élément pour qu’il s’affiche d’emblée.
   · Parallaxe, inclinaison de l’aperçu, halo des cartes et boutons
     « aimantés » : assets/js/main.js, section « Animations ».
   ========================================================================== */

@keyframes mv-rise {
  from { opacity: 0; translate: 0 var(--rise); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes mv-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes mv-pop {
  from { scale: 0; }
  to { scale: 1; }
}
@keyframes mv-hop {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 -5px; }
}

/* Entrée de l’accueil : le texte d’abord, l’aperçu ensuite */
.has-motion [data-intro] { animation: mv-rise .9s var(--ease-out) both; }
.has-motion [data-intro="1"] { animation-delay: .07s; }
.has-motion [data-intro="2"] { animation-delay: .16s; }
.has-motion [data-intro="3"] { animation-delay: .28s; }

/* Apparition au défilement, par petites vagues (décalage calculé par le script) */
.has-motion [data-reveal]:not(.is-revealed) { opacity: 0; }
.has-motion [data-reveal].is-revealed { animation: mv-rise .8s var(--ease-out) var(--reveal-delay, 0s) both; }

/* Méthode : chaque étape s’allume et la ligne du parcours se dessine */
.has-motion .step[data-reveal]:not(.is-revealed)::after { transform: scaleX(0); }
.has-motion .step[data-reveal]:not(.is-revealed)::before { scale: 0; }
.has-motion .step.is-revealed::after { animation: mv-draw 1.1s var(--ease-out) calc(var(--reveal-delay, 0s) + .15s) both; }
.has-motion .step.is-revealed::before { animation: mv-pop .6s var(--ease-spring) calc(var(--reveal-delay, 0s) + .15s) both; }

/* Navigation : une pastille glisse vers la section en cours */
.nav__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(23, 20, 17, .10), 0 0 0 1px rgba(23, 20, 17, .04);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s ease;
}
.nav__indicator.is-on { opacity: 1; }
.nav--indicator .nav__link.is-active { background: transparent; box-shadow: none; }

/* Survol : la flèche avance d’un pas */
.btn__icon .i,
.link-arrow__icon .i { transition: translate .35s var(--ease-out); }
.btn:hover .btn__icon .i,
.btn-plan:hover .btn__icon .i,
.link-arrow:hover .link-arrow__icon .i { translate: 3px 0; }
.link-arrow:hover .link-arrow__icon { border-color: currentColor; }

/* Appui : léger enfoncement qui confirme le clic (utile surtout au doigt) */
.mobile-bar__call,
.mobile-bar__quote { transition: scale .2s var(--ease-out); }
.btn:active,
.btn-outline:active,
.btn-plan:active,
.btn-compact:active,
.chip:active,
.burger:active,
.mobile-bar__call:active,
.mobile-bar__quote:active { scale: .97; }

/* Logo : le point fait un petit saut */
.logo:hover .logo__dot,
.footer-logo:hover .footer-logo__dot { animation: mv-hop .55s var(--ease-out); }

/* Services : chaque pictogramme illustre son offre au survol
   (vitrine : le cadre pivote · refonte : le neuf recouvre l’ancien · suivi : le point s’anime) */
.card__icon--square,
.card__icon--double span,
.card__icon--circle span { transition: rotate .5s var(--ease-out), translate .5s var(--ease-out), scale .5s var(--ease-out); }
.card:hover .card__icon--square { rotate: 12deg; }
.card:hover .card__icon--double span:last-child { translate: -4px -4px; }
.card:hover .card__icon--circle span { scale: 1.7; }

/* Cartes : halo très doux qui suit le curseur (classe .is-lit posée par le script) */
.card::after,
.offer::after,
.extra::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(300px circle at var(--spot-x, 50%) var(--spot-y, 0%), var(--spot, rgba(186, 66, 25, .07)), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.offer { --spot: rgba(224, 122, 82, .16); }
.card.is-lit::after,
.offer.is-lit::after,
.extra.is-lit::after { opacity: 1; }

/* Formulaire : un trait d’accent se dessine sous le champ actif */
.field__control { position: relative; display: block; }
.field__control::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--on-dark-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease-out);
  pointer-events: none;
}
.field__control:focus-within::after { transform: scaleX(1); }

/* Éléments déplacés par la parallaxe */
.has-motion .mock-phone,
.has-motion .about__photo,
.has-motion .footer__wordmark { will-change: transform; }

@media print {
  .has-motion [data-reveal],
  .has-motion [data-intro] { opacity: 1 !important; animation: none !important; }
}

/* ==========================================================================
   Pages d’information (mentions légales, confidentialité)
   ========================================================================== */

.legal {
  padding: clamp(40px, 6vw, 96px) var(--gutter) 0;
}
.legal__head { padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.legal__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.legal__date { margin-top: 20px; font-size: 15px; color: var(--muted); }
.legal__body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  padding-top: clamp(40px, 5vw, 72px);
}
.legal__aside { flex: 0 1 200px; font-size: 15px; color: var(--muted); }
.legal__aside a { color: var(--ink); font-weight: 600; }
.legal__aside a:hover { color: var(--accent); }
.prose { flex: 999 1 0; min-width: min(100%, 620px); max-width: 760px; }
.prose h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--text); text-wrap: pretty; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(186, 66, 25, .35);
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--accent-hover); }
.prose .todo { background: rgba(186, 66, 25, .1); border-radius: 4px; padding: 0 4px; }

/* ==========================================================================
   Préférences d’animation réduites
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card__icon--square,
  .card:hover .card__icon--double span:last-child,
  .card:hover .card__icon--circle span { rotate: none; translate: none; scale: none; }
}
