/* Direction artistique de la plaquette : éditorial à filets, beaucoup d'air */
:root {
  --bg: #F7F1EA;
  --text: #3A2621;
  --muted: #7A4E4E;
  --accent: #7A0F25;
  --accent-dark: #9B1B30;
  --line: rgba(122,78,78,.22);
  --max: 1080px;
  --serif: "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --signature: "Gloock", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
em { font-style: italic; color: var(--accent); white-space: nowrap; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

/* En-tête fixe : le bouton de devis reste visible */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px max(16px, calc((100% - var(--max)) / 2));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.logo { margin-right: auto; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.nav { display: none; gap: 28px; }
.nav a { font-size: .95rem; letter-spacing: .01em; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--accent); }

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-small { padding: 10px 20px; font-size: .7rem; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--wine-soft); color: var(--accent-dark); }

/* Colonne centrée de 1080 px : le fond reste pleine largeur, tout le contenu s'aligne à gauche dans la colonne */
main > section { padding: 72px max(16px, calc((100% - var(--max)) / 2)); }

.hero { padding-top: 72px; padding-bottom: 72px; }
.hero h1 { max-width: none; }
.lead { max-width: 620px; font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.proof li::before { content: "•"; color: var(--accent); margin-right: 8px; }

.section-intro { max-width: 680px; margin: 0 0 36px; font-weight: 400; color: var(--muted); }
.note { margin-top: 28px; font-size: .85rem; font-style: italic; color: var(--muted); }
.sub { margin-top: 64px; }

/* Approche */
.three { display: grid; gap: 28px; }
.three li { padding-top: 20px; border-top: 1px solid var(--text); }
.three p { margin: 0; font-weight: 400; color: var(--muted); }
.num { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 2rem; line-height: 1; font-style: italic; color: var(--accent); }

/* Exemples */
.cards { display: grid; gap: 24px; }
.card p { margin: 0 0 10px; font-weight: 400; color: var(--muted); }
.shot {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
.tag { font-size: .85rem !important; font-weight: 500 !important; letter-spacing: .02em; color: var(--accent) !important; margin-bottom: 4px !important; }
.more { font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--accent); }

/* Formules */
.plans { display: grid; gap: 20px; }
.plan {
  position: relative;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  margin: 0;
  padding: 2px 12px;
  background: var(--butter);
  color: var(--accent-dark);
  font-size: .78rem;
  letter-spacing: .02em;
}
.price { margin: 4px 0 0; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1.1; }
.price small { font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--muted); }
.delay { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.who { min-height: 3.4em; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .9rem; font-style: italic; }
.plan ul li { padding: 6px 0 6px 18px; position: relative; font-size: .88rem; font-weight: 400; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--accent); }

.included { margin-top: 32px; padding: 24px; background: var(--card); border: 1px solid var(--line); }
.included h3 { font-size: 1.2rem; }
.included ul { display: grid; gap: 4px 24px; font-size: .9rem; font-weight: 400; }
.included li::before { content: "✓ "; color: var(--accent); }

.options { display: grid; gap: 32px; }
.options dl { margin: 0; }
.options dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.options dt { font-weight: 400; }
.options dd { margin: 0; white-space: nowrap; font-weight: 500; }

.maintenance { margin-top: 56px; }
.maintenance > p { font-weight: 400; color: var(--muted); }
.two { display: grid; gap: 20px; margin-top: 16px; }
.two > div { padding: 20px; background: var(--card); border: 1px solid var(--line); }
.two span { float: right; font-weight: 500; }
.two p { margin: 8px 0 0; font-size: .9rem; font-weight: 400; color: var(--muted); }

/* Déroulé */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 20px 0 20px 56px;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--accent);
}
.steps strong { font-weight: 500; }
.steps span { font-weight: 400; color: var(--muted); }

/* À propos */
.about { display: grid; gap: 32px; align-items: start; }
.portrait {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}
.facts { margin-top: 24px; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; font-weight: 400; }
.facts strong { font-weight: 500; }

/* Contact */
.quick { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; letter-spacing: .01em; }
.form input, .form select, .form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 300;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row { display: grid; gap: 18px; }
.form .btn { justify-self: start; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 32px max(16px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.footer p { margin: 0; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .three { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .included ul { grid-template-columns: repeat(2, 1fr); }
  .options { grid-template-columns: repeat(3, 1fr); }
  .two, .row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .about { grid-template-columns: 280px 1fr; gap: 56px; }
}

@media (min-width: 1000px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Finitions et animations ---------- */
::selection { background: var(--accent); color: var(--bg); }

.header { transition: box-shadow .3s ease, background-color .3s ease; }
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(58, 38, 33, .35); }
.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.nav a { position: relative; padding: 4px 0; transition: color .25s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.btn { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(122, 15, 37, .6); }
.btn:active { transform: translateY(0); }
.btn-ghost:hover { box-shadow: none; }

.more { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease; padding-bottom: 2px; }
.more:hover { background-size: 100% 1px; }

.card .shot { transition: transform .5s ease, border-color .3s ease; }
.card:hover .shot { transform: translateY(-4px); border-color: var(--accent); }

.plan { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -28px rgba(58, 38, 33, .4); border-color: var(--butter); }
.plan.featured:hover { border-color: var(--accent); }

.options dl > div { transition: padding-left .25s ease, border-color .25s ease; }
.options dl > div:hover { padding-left: 8px; border-color: var(--accent); }

.steps li { transition: padding-left .3s ease; }
.steps li:hover { padding-left: 64px; }

.form input, .form select, .form textarea { transition: border-color .25s ease, box-shadow .25s ease; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 15, 37, .14); }

@media (prefers-reduced-motion: no-preference) {
  /* Entrée du hero, élément par élément */
  .hero > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > :nth-child(1) { animation-delay: calc(var(--reveal, 0s) + .05s); }
  .hero > :nth-child(2) { animation-delay: calc(var(--reveal, 0s) + .18s); }
  .hero > :nth-child(3) { animation-delay: calc(var(--reveal, 0s) + .34s); }
  .hero > :nth-child(4) { animation-delay: calc(var(--reveal, 0s) + .48s); }
  .hero > :nth-child(5) { animation-delay: calc(var(--reveal, 0s) + .62s); }
  @keyframes rise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }

  /* Apparition au défilement (la classe .reveal est ajoutée par script.js) */
  .reveal {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform 1.1s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
  }
  .reveal.in { opacity: 1; transform: none; }
  /* Une fois affiché, les effets au survol reprennent leur vitesse normale */
  .plan.reveal.in { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease, opacity .8s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Logo (image) */
.logo { display: block; line-height: 0; }
.logo img { display: block; width: auto; height: 46px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.header .logo:hover img { transform: translateX(4px); }
@media (max-width: 480px) { .logo img { height: 38px; } }

.footer .logo.big { flex-basis: 100%; margin: 16px 0 20px; }
.footer .logo.big img { height: auto; width: min(340px, 70%); }

/* Contact : texte et boutons à gauche, formulaire à droite sur grand écran */
@media (min-width: 900px) {
  .contact { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: repeat(4, auto) 1fr; column-gap: 72px; align-items: start; }
  .contact > .form { grid-column: 2; grid-row: 1 / span 5; max-width: none; }
  .contact > :not(.form) { grid-column: 1; }
  .contact > .section-intro { margin-bottom: 28px; }
  .quick { margin-bottom: 0; }
}
.steps li, .three li { font-variant-numeric: lining-nums; }

@media (max-width: 480px) {
  .btn { padding: 14px 18px; letter-spacing: .08em; }
  .btn-small { padding: 9px 14px; letter-spacing: .1em; }
}

/* ================= Palette étendue : bordeaux, vert d'eau et jaune beurre pastel ================= */
:root {
  --butter: #F3D9DC;
  --wine-soft: #F3D9DC;
  --butter-light: #F3D9DC;
  --radius: 20px;
}

.header { background: rgba(251, 248, 240, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------- Boutons en pilule : dégradé, reflet qui traverse, halo au survol ---------- */
.btn { transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.btn:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 16px 28px -14px rgba(122, 15, 37, .75); }
.btn:active { transform: translateY(-1px); }
.btn-ghost:hover { box-shadow: 0 16px 28px -16px rgba(122, 15, 37, .45); }

/* ---------- Menu : pastille pastel au survol ---------- */
.nav { gap: 6px; }
.nav a { padding: 8px 16px; border-radius: 999px; transition: background-color .3s ease, color .3s ease; }
.nav a::after { display: none; }
.nav a:hover { background: var(--wine-soft); color: var(--accent); }

/* ---------- Surtitres en bordeaux avec filet ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Hero : halos pastel qui flottent ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.proof li::before { color: var(--accent); }

/* ---------- Surlignage pastel sur les mots mis en avant ---------- */

/* ---------- Sections : fond blanc, filet fin entre deux sections ---------- */
main > section { --card: #F7F1EA; }
main > section:nth-child(even) { background: #F7F1EA; --card: var(--bg); }

/* ---------- Formes plus douces ---------- */
.plan, .shot, .included, .two > div, .portrait { border-radius: var(--radius); }
.badge { border-radius: 999px; padding: 3px 14px; }
.form input, .form select, .form textarea { border-radius: 14px; }

.plan { background: var(--card); }
.included li::before { color: var(--accent); }
.price { color: var(--text); }
.plan.featured .price { color: var(--accent); }


/* ---------- Survols : lignes surlignées, flèche sur les liens ---------- */
.options dl > div:hover { background: var(--butter-light); }
.steps li:hover { background: var(--butter-light); }
.more::after { content: "\2192"; display: inline-block; margin-left: .6em; transition: transform .3s ease; }
.more:hover::after { transform: translateX(6px); }
.card .shot { transition: transform .5s ease, border-color .3s ease, box-shadow .4s ease; }
.card:hover .shot { box-shadow: 0 24px 40px -28px rgba(122, 15, 37, .6); }
.three li { transition: border-color .3s ease, transform .4s ease; }
.three li:hover { border-color: var(--accent); transform: translateY(-4px); }

/* ---------- Animations d'entrée ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero > h1:not(.split) { opacity: 0; animation: unhide .01s 3.4s forwards; }
  .hero > h1.split { animation: none; }
  @keyframes unhide { to { opacity: 1; } }

  /* Mots des titres : chacun monte de sa ligne */
  .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
  .split .w > span { display: inline-block; transform: translateY(115%); transition: transform 1s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 65ms + 120ms); }
  .split.in .w > span { transform: none; }

  /* Surlignage pastel qui se déploie après les mots */
}

@media (max-width: 480px) {
}

/* Contact : les trois boutons ont la même taille */
.quick { display: grid; gap: 12px; width: min(100%, 340px); }
.contact .btn { width: 100%; text-align: center; }
.contact .form .btn { width: min(100%, 340px); }

/* Formulaire : tous les champs ont la hauteur des boutons */
.form input, .form select { height: 54px; }
.form textarea { min-height: 132px; }
.form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B1E2A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
}

/* ================= Preloader : rideau bordeaux qui se lève ================= */
.preloader { display: none; }
.js { --reveal: 2.5s; }
html.loading { overflow: hidden; }

.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--accent);
  pointer-events: none;
  animation: curtain 1.15s cubic-bezier(.76, 0, .24, 1) 2.1s forwards;
}
/* Bord arrondi qui suit le rideau quand il monte */
.js .preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14vh;
  background: var(--accent);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
@keyframes curtain { to { transform: translateY(calc(-100% - 14vh)); visibility: hidden; } }

/* Logo en grand : il s'écrit de gauche à droite, puis monte avec le rideau */
.js .preloader .logo { margin: 0; animation: logo-out 1s cubic-bezier(.76, 0, .24, 1) 2s forwards; }
.js .preloader .logo img { width: min(72vw, 980px); height: auto; animation: logo-write 1.7s cubic-bezier(.65, 0, .25, 1) .2s both; }
@keyframes logo-write { from { clip-path: inset(0 100% 0 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes logo-out { to { transform: translateY(-16vh); opacity: 0; } }

/* L'en-tête descend une fois le rideau levé */
.js .header { animation: header-in .9s cubic-bezier(.2, .7, .2, 1) calc(var(--reveal) + .15s) both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-100%); } }

/* Touche du logo : le script de « Malo », uniquement pour le prénom */
h2 .script { font-family: var(--serif); font-size: 1.35em; font-weight: 400; line-height: 1; color: var(--accent); }

/* ---------- Hero : grand titre, tampon rotatif ---------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: min(88vh, 820px);
}
.hero h1 { margin-bottom: .4em; font-size: clamp(3rem, 9.2vw, 8rem); line-height: .98; letter-spacing: -.015em; }
.hero h1 em { display: block; }
.hero .lead { font-size: 1.12rem; }
.stamp { position: relative; display: block; width: 132px; height: 132px; margin-top: 36px; color: var(--accent); text-decoration: none; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { fill: currentColor; font-family: var(--sans); font-size: 12.5px; font-weight: 500; }
.stamp img { position: absolute; inset: 27%; width: 46%; height: 46%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.stamp:hover img { transform: scale(1.12) rotate(-6deg); }
.stamp:hover svg { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .stamp { position: absolute; right: max(16px, calc((100% - var(--max)) / 2)); bottom: 72px; width: 176px; height: 176px; margin: 0; }
  .stamp text { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .stamp svg { animation: none !important; } }

/* ---------- Réalisations : secteur et citation ---------- */
.card .sector { margin: 0 0 6px; font-size: .85rem; color: var(--muted); }
.card blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.35; color: var(--text); }

/* ---------- Options à la carte : catégories qui s'ouvrent ---------- */
.options { align-items: start; gap: 12px; }
.opt { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s ease, box-shadow .3s ease; }
.opt[open], .opt:hover { border-color: var(--accent); }
.opt summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.opt summary::-webkit-details-marker { display: none; }
.opt summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--accent); transition: transform .35s ease; }
.opt[open] summary::after { transform: rotate(45deg); }
.opt dl { padding: 0 24px 16px; animation: unfold .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes unfold { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- À propos : texte à gauche, photo détourée à droite ---------- */
.about { align-items: stretch; padding-bottom: 0; }
.about-text { align-self: center; padding-bottom: 72px; }
.about-text p { max-width: 560px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.skills li { padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; font-size: .85rem; color: var(--accent); }
.about .facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.about .facts li { padding: 0; border: 0; font-size: .9rem; }
.about .facts li::before { content: "•"; margin-right: 8px; color: var(--accent); }
.portrait { position: relative; display: block; align-self: end; justify-self: center; width: min(100%, 340px); max-width: none; aspect-ratio: auto; background: none; border: 0; border-radius: 0; }
.portrait img { position: relative; display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 380px; gap: 64px; } .portrait { width: 380px; } }

/* ================= Hero : la maquette qui se construit au défilement ================= */
.hero.scrolly { display: block; min-height: 0; padding: 0; overflow: visible; }
.hero.scrolly .stage { display: grid; gap: 40px; align-items: center; padding: 48px max(16px, calc((100% - var(--max)) / 2)); }
.hero.scrolly > * { animation: none; }
.scrolly h1 { max-width: none; font-size: clamp(2.4rem, 4.2vw, 4.2rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: .45em; }
.scrolly h1 em { display: block; }
.scrolly .lead { max-width: 520px; font-size: 1.08rem; }
.scrolly .reassure { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }
.scrolly .tour { display: none; }
.tagb { position: absolute; right: 1.2em; top: .5em; z-index: 6; padding: .35em 1.2em; border-radius: 99px; background: var(--butter); color: var(--accent-dark); font: 500 1.15em var(--sans); opacity: var(--w, 1); }

/* La maquette (unité --u : 1 u = 1 px pour une planche de 520 px) */
.rcol { display: grid; gap: 18px; justify-self: end; width: min(100%, 500px, calc((100vh - 190px) * .896)); }
.board { --u: calc(100cqw / 520); position: relative; width: 100%; aspect-ratio: 520 / 580; container-type: inline-size; }
.board > * { position: absolute; }
.board .win { left: calc(var(--u) * 10); top: calc(var(--u) * 30); width: calc(var(--u) * 500); height: calc(var(--u) * 510); overflow: hidden; font-size: calc(var(--u) * 10); background: #F7F1EA; border: 1px solid var(--line); border-radius: 1.6em; box-shadow: 0 calc(var(--u) * 30) calc(var(--u) * 50) calc(var(--u) * -30) rgba(58, 38, 33, .4); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.win .bar { display: flex; gap: .7em; padding: 1.2em 1.6em; background: #F7F1EA; border-bottom: 1px solid var(--line); }
.win .bar i { width: 1em; height: 1em; border-radius: 50%; background: var(--line); }
.win .layer { position: absolute; inset: 3.6em 0 0 0; }
.layer .tag2 { position: absolute; bottom: 1.4em; padding: .6em 1.4em; border-radius: 99px; font: 500 1.15em var(--sans); }

/* Cartes d'étude autour de la maquette */
.board .study, .board .pal, .board .type { background: #F7F1EA; border: 1px solid var(--line); box-shadow: 0 calc(var(--u) * 24) calc(var(--u) * 40) calc(var(--u) * -26) rgba(58, 38, 33, .4); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.board .study { left: calc(var(--u) * -8); top: calc(var(--u) * 440); width: calc(var(--u) * 340); padding: calc(var(--u) * 18) calc(var(--u) * 22); border-radius: calc(var(--u) * 16); }
.study h4 { margin: 0 0 calc(var(--u) * 10); font-size: calc(var(--u) * 20); }
.study div { display: grid; grid-template-columns: calc(var(--u) * 132) 1fr; align-items: center; gap: calc(var(--u) * 10); margin-top: calc(var(--u) * 8); font-size: calc(var(--u) * 12); color: var(--muted); }
.study div i { position: relative; height: calc(var(--u) * 6); border-radius: 99px; background: var(--line); overflow: hidden; }
.study div i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.study div:nth-of-type(1) i::after { width: 86%; } .study div:nth-of-type(2) i::after { width: 64%; transition-delay: .6s; } .study div:nth-of-type(3) i::after { width: 92%; transition-delay: .9s; }
.board .pal { right: calc(var(--u) * 8); top: 0; display: flex; padding: calc(var(--u) * 12) calc(var(--u) * 16); border-radius: 99px; }
.pal i { width: calc(var(--u) * 40); height: calc(var(--u) * 40); margin-right: calc(var(--u) * -8); border-radius: 50%; border: 2px solid #F7F1EA; }
.pal i:nth-child(1) { background: var(--accent); } .pal i:nth-child(2) { background: var(--bg); outline: 1px solid var(--line); } .pal i:nth-child(3) { background: var(--butter); } .pal i:nth-child(4) { background: var(--text); margin-right: 0; }
.board .type { right: calc(var(--u) * -8); top: calc(var(--u) * 320); width: calc(var(--u) * 150); padding: calc(var(--u) * 14) calc(var(--u) * 18); border-radius: calc(var(--u) * 16); }
.type b { display: block; font: 500 calc(var(--u) * 84) / 1 var(--serif); color: var(--accent); }
.type span { font-size: calc(var(--u) * 11); color: var(--muted); }
.board .note { right: calc(var(--u) * 24); top: calc(var(--u) * 552); font: italic 500 calc(var(--u) * 20) var(--serif); color: var(--accent); transition: opacity .8s ease; }

/* Bureau : la maquette est épinglée et se construit pendant qu'on défile */
@media (min-width: 900px) {
  .hero.scrolly .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; }
  .js .hero.scrolly .stage { min-height: calc(100vh - 70px); padding-top: 0; padding-bottom: 0; }
  .js .scrolly { --w: 0; }
  .js .scrolly .gen { z-index: 0; }
  .js .scrolly .tour { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
  .tour li { flex: 1; display: grid; gap: 2px; padding-top: 10px; border-top: 2px solid var(--line); font-size: .8rem; line-height: 1.3; color: var(--muted); transition: border-color .5s ease, color .5s ease; }
  .tour li b { font: italic 500 1.15rem var(--serif); color: var(--accent); opacity: .5; transition: opacity .5s ease; }
  .scrolly[data-step="1"] .tour li:nth-child(1), .scrolly[data-step="2"] .tour li:nth-child(2), .scrolly[data-step="3"] .tour li:nth-child(3) { border-color: var(--accent); color: var(--text); }
  .scrolly[data-step="1"] .tour li:nth-child(1) b, .scrolly[data-step="2"] .tour li:nth-child(2) b, .scrolly[data-step="3"] .tour li:nth-child(3) b { opacity: 1; }
  /* états de la maquette */
  .js .board .study, .js .board .pal, .js .board .type, .js .board .note { opacity: 0; }
  .js .board .study { transform: translate(-30px, 40px); } .js .board .pal { transform: translate(30px, -30px); } .js .board .type { transform: translate(40px, 20px); }
  .js .study div i::after { transform: scaleX(0); }
  .js .scrolly[data-step="1"] .board .study, .js .scrolly[data-step="2"] .board .study { opacity: 1; transform: none; }
  .js .scrolly[data-step="1"] .study div i::after, .js .scrolly[data-step="2"] .study div i::after { transform: none; }
  .js .scrolly[data-step="2"] .board .pal, .js .scrolly[data-step="2"] .board .type, .js .scrolly[data-step="2"] .board .note { opacity: 1; transform: none; }
  .js .scrolly[data-step="1"] .board .win { transform: translate(-3%, 2%) scale(.97); }
  .js .scrolly[data-step="2"] .board .win { transform: translate(-3%, 2%) scale(.97); }
  .js .scrolly[data-step="3"] .board .win { transform: translateX(0) scale(1.03); }
}
@media (max-width: 899px) { .board .win { box-shadow: 0 20px 40px -26px rgba(58, 38, 33, .4); } }


/* ====== Maquettes « en cours de travail » : éléments en transparence, repères, sélection ====== */
.win { --ln: rgba(122,78,78,.25); --ink: rgba(42, 42, 40, .36); }
.ph { border: 1px dashed rgba(122,78,78,.3); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23c9c4b6' stroke-width='1' vector-effect='non-scaling-stroke' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.layer .tag2 { position: absolute; bottom: 1.4em; padding: .6em 1.4em; border-radius: 99px; font: 500 1.15em var(--sans); }

/* avant : gabarit symétrique, très pâle */
.gen { padding: 2em 2.4em; background: #F7F1EA; color: rgba(122,78,78,.35); font: 400 1.2em var(--sans); }
.gen .w-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.4em; border-bottom: 1px solid rgba(122,78,78,.15); }
.gen .w-h .lg1 { width: 4em; height: 2.4em; }
.gen .nv { display: flex; gap: 2em; }
.gen .w-hero { display: grid; justify-items: center; gap: .9em; margin-top: 2em; padding: 5em 3em; border: 1px solid rgba(122,78,78,.15); text-align: center; }
.gen .w-hero b { font: 500 2em var(--sans); color: rgba(122,78,78,.35); }
.gen .w-hero .bt { padding: .8em 2.4em; border: 1px solid rgba(122,78,78,.15); margin-top: .6em; }
.gen .w-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; margin-top: 2em; }
.gen .w-g3 .ph { height: 9em; margin-bottom: .8em; }
.gen .w-ft { display: flex; justify-content: space-between; margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid rgba(122,78,78,.15); font-size: .9em; }
.gen .tag2 { left: 1.4em; background: #F7F1EA; color: #7A4E4E; border: 1px solid rgba(122,78,78,.15); }

/* après : un site qui se construit sous le curseur */
.bes { overflow: hidden; background: #F7F1EA; clip-path: inset(0 0 0 calc(100% - var(--w, 1) * 100%)); }
.bes .pg { position: relative; width: 50em; color: #3A2621; font-family: var(--sans); --soft: #7A4E4E; }
.bes .pg::before, .bes .pg::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 0; border-left: 1px dashed rgba(122, 15, 37, .25); }
.bes .pg::before { left: 3.4em; } .bes .pg::after { right: 3.4em; }
.pg > * { position: relative; z-index: 1; }
.bes .pg h6, .bes .pg p { margin: 0; font-weight: 500; }
.bes .pg em { display: inline; font-style: italic; color: var(--accent); white-space: normal; transition: color .5s ease; }
.g { color: var(--soft); transition: color .5s ease; }
.dim { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8em; color: var(--accent); opacity: .85; }
.dim::before, .dim::after { content: ""; height: 1px; background: currentColor; opacity: .5; }
.pg .m-h { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 1.8em 3.4em; background: rgba(255, 255, 255, .96); font-size: 1.1em; }
.pg .m-h b { font: 500 1.1em var(--sans); letter-spacing: .34em; text-transform: uppercase; }
.pg .m-h nav { display: flex; align-items: center; gap: 2.2em; }
.pg .m-h .pill { padding: .6em 1.6em; border: 1px solid currentColor; border-radius: 99px; }
.m-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3em; align-items: end; min-height: 52em; padding: 9em 5em 0 5em; }
.m-hero .tx { padding-bottom: 8em; }
.m-hero small { display: block; margin-bottom: 4.2em; font-size: 1.1em; letter-spacing: .26em; text-transform: uppercase; }
.m-hero h6 { font: 500 4.3em / 1.04 var(--serif); color: #3A2621; transition: color .5s ease; }
.m-hero p { max-width: 22em; margin-top: 2.4em; font-size: 1.3em; line-height: 1.7; }
.m-hero .pill { display: inline-block; margin-top: 2.2em; padding: 1em 2.4em; border: 1px solid currentColor; border-radius: 99px; font: 500 1.05em var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.m-hero .col { align-self: end; }
.m-hero .col .dim { margin-bottom: 1.2em; }
.m-hero .arch { height: 40em; border-radius: 99em 99em 0 0; }
.m-words { display: flex; justify-content: space-between; gap: 1em; padding: 2em 5em; }
.m-words span { font: italic 500 2.2em var(--serif); }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.4em; align-items: center; padding: 9em 5em; }
.m-split .img { height: 34em; border-radius: .6em; }
.m-split .dim { margin-top: 1.4em; }
.m-split h6 { font: 500 3.8em / 1.05 var(--serif); }
.m-split p { margin-top: 1.2em; font-size: 1.25em; line-height: 1.7; }
.m-split .lk { display: inline-block; margin-top: 2.2em; padding-bottom: .5em; border-bottom: 1px solid currentColor; font-size: 1.05em; letter-spacing: .16em; text-transform: uppercase; }
.m-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4em; padding: 3em 5em 11em; }
.m-g3 .sh { height: 17em; margin-bottom: 1.4em; }
.m-g3 .s1 { border-radius: 50%; } .m-g3 .s2, .m-g3 .s3 { border-radius: 99em 99em 0 0; }
.m-g3 h6 { font: 500 2.2em var(--serif); } .m-g3 span { display: block; margin-top: .4em; font-size: 1.05em; }
.m-q { padding: 9em 6em; text-align: center; }
.m-q p { font: italic 500 4em / 1.12 var(--serif); }
.m-cta { display: grid; justify-items: center; gap: 2.4em; padding: 9em 5em 10em; text-align: center; }
.m-cta h6 { font: 500 5.6em / 1 var(--serif); }
.m-cta .pill { display: inline-block; padding: 1em 2.6em; border: 1px solid var(--accent); border-radius: 99px; background: var(--accent); color: var(--bg); font: 500 1.05em var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background-color .7s ease, color .7s ease; }
.m-f { display: flex; justify-content: space-between; padding: 0 5em 3em; font-size: 1.05em; }

/* formes : état final (rempli) et état « brouillon » (fantôme) */
.bes .ph { position: relative; background: var(--accent); border: 1px solid var(--accent); transition: background-color .55s ease, border-color .55s ease, border-radius .6s cubic-bezier(.2, .7, .2, 1); }
.bes .ph::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23c9c4b6' stroke-width='1' vector-effect='non-scaling-stroke' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: 0; transition: opacity .7s ease; }
.bes .img { background: var(--bg); border-color: var(--line); }
.bes .img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15em; height: 15em; margin: -7.5em 0 0 -7.5em; border: 1px solid var(--accent); border-radius: 50%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.bes .arch::after { content: ""; position: absolute; left: -2.2em; bottom: 10em; width: 4.4em; height: 4.4em; border-radius: 50%; background: var(--butter); transition: transform .5s cubic-bezier(.2, .7, .2, 1) .15s; }
.bes .s2 { background: var(--butter); border-color: var(--butter); }
.bes .s3 { background: none; border-color: #3A2621; }
.bes.wip .ph { background-color: transparent; border: 1px dashed rgba(122,78,78,.3); }
.bes.wip .ph::before { opacity: 1; }
.bes.wip .s3 { border-color: rgba(122,78,78,.3); }
.bes.wip .arch::after { transform: scale(0); } .bes.wip .img::after { transform: scale(0); }
.bes.wip .s2 { border-radius: .6em; }
.bes.wip .ph.edited { border-style: solid; }
.bes.wip .arch.edited { background-color: var(--accent); border-color: var(--accent); } .bes.wip .arch.edited::before { opacity: 0; } .bes.wip .arch.edited::after { transform: none; }
.bes.wip .img.edited { background-color: var(--bg); border-color: var(--line); } .bes.wip .img.edited::before { opacity: 0; } .bes.wip .img.edited::after { transform: none; }
.bes.wip .s1.edited { background-color: var(--accent); border-color: var(--accent); } .bes.wip .s1.edited::before { opacity: 0; }
.bes.wip .s2.edited { background-color: var(--butter); border-color: var(--butter); border-radius: 99em 99em 0 0; } .bes.wip .s2.edited::before { opacity: 0; }
.bes.wip .g { color: rgba(42, 42, 40, .3); } .bes.wip .firm .g, .bes.wip .g.firm { color: var(--soft); }
.bes.wip h6[data-e], .bes.wip h6[data-e] em { color: rgba(42, 42, 40, .3); }
.bes.wip h6[data-e].edited { color: #3A2621; } .bes.wip h6[data-e].edited em { color: var(--accent); }
.bes.wip .m-cta .pill { background: transparent; color: var(--accent); }
.bes.wip .m-cta .pill.edited { background: var(--accent); color: var(--bg); }
.bes.wip .pg h6.g, .bes.wip .m-hero h6 { }

/* curseur, sélection, barre d'outils */
.selbox { position: absolute; z-index: 7; left: 0; top: 0; width: 0; height: 0; outline: 1px solid var(--accent); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.selbox.on { opacity: 1; }
.selbox i { position: absolute; width: .8em; height: .8em; background: #F7F1EA; border: 1px solid var(--accent); }
.selbox i:nth-child(1) { left: -.45em; top: -.45em; } .selbox i:nth-child(2) { right: -.45em; top: -.45em; } .selbox i:nth-child(3) { left: -.45em; bottom: -.45em; } .selbox i:nth-child(4) { right: -.45em; bottom: -.45em; }
.curs { position: absolute; z-index: 9; left: 0; top: 0; display: flex; align-items: flex-start; opacity: 0; pointer-events: none; transform: translate(var(--cx, 380px), var(--cy, 420px)); transition: transform .65s cubic-bezier(.5, 0, .2, 1), opacity .4s ease; }
.curs svg { width: 2em; height: 2em; flex: none; fill: var(--accent); stroke: #F7F1EA; stroke-width: 1; }
.curs .nm { margin: 1.5em 0 0 -.3em; padding: .3em .9em; border-radius: 99px; background: var(--accent); color: var(--bg); font: 500 1em var(--sans); white-space: nowrap; }
.curs .lbl { margin: 1.5em 0 0 .5em; padding: .3em .9em; border: 1px solid var(--accent); border-radius: 99px; background: #F7F1EA; color: var(--accent); font: 400 1em var(--sans); white-space: nowrap; opacity: 0; transition: opacity .4s ease; }
.curs.show .lbl { opacity: 1; }
.curs[data-tool="color"] .lbl::before { content: ""; display: inline-block; width: .8em; height: .8em; margin-right: .5em; border-radius: 50%; background: var(--accent); vertical-align: -.05em; }
.curs.click svg { animation: tap .4s ease; }
@keyframes tap { 40% { transform: scale(.78); } }
.tools { position: absolute; z-index: 8; left: 50%; bottom: 1.8em; display: flex; gap: .3em; padding: .45em; border: 1px solid var(--line); border-radius: 99px; background: #F7F1EA; box-shadow: 0 1em 2em -1.2em rgba(58, 38, 33, .35); transform: translateX(-50%); opacity: 0; transition: opacity .6s ease; color: #7A4E4E; }
.tools b { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; transition: background-color .35s ease, color .35s ease; }
.tools svg { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.win[data-tool="select"] .tools [data-t="select"], .win[data-tool="shape"] .tools [data-t="shape"], .win[data-tool="text"] .tools [data-t="text"], .win[data-tool="color"] .tools [data-t="color"] { background: var(--accent); color: #F7F1EA; }
.scrolly[data-step="3"] .curs, .scrolly[data-step="3"] .tools { opacity: 1; }
@media (max-width: 899px) { .curs, .tools, .selbox { display: none; } }

/* ---------- Boutons : plus petits, plus discrets ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: 11px 20px; font-size: .68rem; letter-spacing: .09em; }
.btn:not(.btn-small)::after { content: "→"; font-size: 1.15em; letter-spacing: 0; transition: transform .3s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(122, 15, 37, .55); }
.btn:active { transform: none; }
.btn-small { padding: 8px 16px; font-size: .66rem; }
.header .btn-small { background: transparent; color: var(--accent); border-color: rgba(122, 15, 37, .4); }
.header .btn-small:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-text { display: inline-flex; align-items: center; gap: .5em; padding-bottom: 3px; border-bottom: 1px solid rgba(122, 15, 37, .35); color: var(--accent); font-size: .85rem; font-weight: 500; text-decoration: none; transition: border-color .3s ease, gap .3s ease; }
.btn-text::after { content: "↓"; transition: transform .3s ease; }
.btn-text:hover { border-color: var(--accent); }
.btn-text:hover::after { transform: translateY(2px); }
.hero .actions { align-items: center; gap: 12px 26px; }
.contact .btn { height: 48px; padding-top: 0; padding-bottom: 0; }
.form input, .form select { height: 48px; }
.form textarea { min-height: 120px; }

/* Relance de la démonstration */
.replay { justify-self: end; padding: 0; border: 0; background: none; color: var(--muted); font: 400 .8rem var(--sans); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s ease, color .3s ease; }
.replay::before { content: "↻ "; }
.replay:hover { color: var(--accent); }
.scrolly.played .replay { opacity: 1; pointer-events: auto; }
@media (max-width: 899px) { .replay { display: none; } }

.scrolly.played .curs { opacity: 0 !important; }

/* ================= Réalisations : un projet par ligne ================= */
.works { display: grid; gap: clamp(56px, 9vw, 120px); margin-top: 56px; }
.work { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .work { grid-template-columns: 1.35fr .65fr; gap: 64px; }
  .work.rev { grid-template-columns: .65fr 1.35fr; }
  .work.rev .frame { order: 2; }
}
.frame { position: relative; display: block; overflow: hidden; background: #F7F1EA; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 70px -48px rgba(58, 38, 33, .45); text-decoration: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease; }
.frame:hover { transform: translateY(-6px); box-shadow: 0 50px 80px -46px rgba(122, 15, 37, .45); }
.frame .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #F7F1EA; }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame .view { height: clamp(240px, 32vw, 380px); overflow: hidden; container-type: size; }
.frame .inner { display: block; width: 100%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.frame:hover .inner { transform: translateY(calc(-100% + 100cqh)); transition: transform 7s cubic-bezier(.45, 0, .55, 1); }
.frame .inner img { display: block; width: 100%; height: auto; }
.soon { position: absolute; right: 14px; top: 8px; padding: 3px 12px; border-radius: 99px; background: var(--butter); color: var(--accent-dark); font-size: .72rem; font-weight: 500; }
/* En attendant les captures : cadres fantômes, comme dans le hero */
.gh { padding: 22px 26px 40px; color: rgba(122,78,78,.3); }
.gh * { box-sizing: border-box; }
.gh .g-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(122,78,78,.2); }
.gh .g-h > i { width: 38px; height: 12px; border-radius: 99px; background: rgba(122,78,78,.2); }
.gh .g-h span { display: flex; gap: 14px; } .gh .g-h span i { width: 34px; height: 7px; border-radius: 99px; background: rgba(122,78,78,.2); }
.gh b { display: block; height: 12px; margin-top: 12px; border-radius: 99px; background: rgba(122,78,78,.2); width: 70%; } .gh b.s { width: 42%; height: 8px; background: rgba(122,78,78,.2); }
.gh .g-hero { position: relative; height: 230px; padding-top: 56px; } .gh .g-hero b:first-child { height: 26px; width: 46%; background: rgba(122,78,78,.25); }
.gh .g-shape { border: 1px dashed rgba(122,78,78,.3); background: rgba(122, 15, 37, .06); }
.gh .g-hero .g-shape { position: absolute; right: 0; top: 24px; width: 30%; height: 190px; border-radius: 99px 99px 0 0; }
.gh.b .g-hero .g-shape { border-radius: 50%; width: 190px; } .gh.c .g-hero .g-shape { border-radius: 10px; }
.gh .g-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; } .gh .g-row div { height: 150px; border: 1px dashed rgba(122,78,78,.25); border-radius: 10px; }
.gh .g-band { height: 70px; margin: 10px 0; border: 1px dashed rgba(122,78,78,.3); border-radius: 10px; background: rgba(122, 15, 37, .08); }
.gh .g-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 40px 0; } .gh .g-split .g-shape { height: 200px; border-radius: 10px; }
.gh .g-foot { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(122,78,78,.2); } .gh .g-foot b { width: 120px; }
.work .txt { display: grid; gap: 10px; justify-items: start; }
.work .no { font: italic 500 1.4rem var(--serif); color: var(--accent); }
.work h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.work .sector { margin: 0; color: var(--muted); font-size: .9rem; }
.work blockquote { margin: 6px 0 14px; font: italic 500 1.25rem / 1.35 var(--serif); color: var(--text); }
.work-soon { display: flex; align-items: baseline; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.work-soon h3 { margin: 0; font-size: 1.8rem; }
.work-soon span { font: italic 500 1.1rem var(--serif); color: var(--accent); }
.follow { position: fixed; left: 0; top: 0; z-index: 60; padding: 9px 18px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s ease, scale .25s ease; }
.follow.on { opacity: 1; scale: 1; }
/* apparition : le cadre se dévoile par le bas, le texte suit */
.js .work .frame { clip-path: inset(14% 0 0 0); opacity: 0; transition: clip-path 1.2s cubic-bezier(.2, .7, .2, 1), opacity .9s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease; }
.js .work.in .frame { clip-path: inset(0 0 0 0); opacity: 1; }
.js .work .txt > * { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .work.in .txt > * { opacity: 1; transform: none; }
.js .work.in .txt > :nth-child(1) { transition-delay: .25s; } .js .work.in .txt > :nth-child(2) { transition-delay: .35s; } .js .work.in .txt > :nth-child(3) { transition-delay: .45s; } .js .work.in .txt > :nth-child(4) { transition-delay: .55s; } .js .work.in .txt > :nth-child(5) { transition-delay: .65s; }
@media (hover: none) { .follow { display: none; } }
.work .btn-text::after { content: "→"; }
.work .btn-text:hover::after { transform: translateX(3px); }


/* =====================================================================
   NOUVELLE BASE : rythme, présence typographique, un même langage
   ===================================================================== */
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.01em; }
.section-intro { font-size: 1.05rem; line-height: 1.7; }

/* ---------- Hero : composition dégagée ---------- */
.board .win { top: calc(var(--u) * 64); height: calc(var(--u) * 480); }
.board .pal { left: calc(var(--u) * 14); right: auto; top: 0; }
.board .tagb { }
.board .note { display: none; }
.board .type { top: calc(var(--u) * 330); }
.board .study { top: calc(var(--u) * 470); left: calc(var(--u) * -4); }
.board { aspect-ratio: 520 / 620; }
.rcol { width: min(100%, 500px, calc((100vh - 190px) * .84)); }
@media (max-width: 899px) { .board .study, .board .pal, .board .type { display: none; } .board { aspect-ratio: 520 / 560; } .board .win { top: 0; } }
html:not(.js) .board .study, html:not(.js) .board .pal, html:not(.js) .board .type { display: none; }
html:not(.js) .board { aspect-ratio: 520 / 560; } html:not(.js) .board .win { top: 0; }
.js.seen { --reveal: 0s; }
.js.seen .preloader { display: none; }

/* ---------- Approche : section bordeaux, trois temps illustrés ---------- */
#approche { background: var(--accent); color: var(--bg); }
#approche h2 { max-width: 14em; color: var(--bg); font-size: clamp(2.6rem, 6vw, 4.8rem); }
#approche h2 em { color: var(--butter); }
#approche .section-intro { max-width: 640px; color: rgba(251, 248, 240, .8); }
#approche .three { gap: 44px; margin-top: 64px; }
#approche .three li { position: relative; padding-top: 0; border-top: 0; transform: none; }
#approche .three li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(251, 248, 240, .4); }
.js #approche .three li::before { transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.2, .7, .2, 1); }
.js #approche .three li.in::before { transform: none; }
#approche .num { margin-top: 22px; color: var(--butter); }
#approche h3 { color: var(--bg); font-size: 1.6rem; }
#approche .three p { color: rgba(251, 248, 240, .78); }
.mini { position: relative; height: 100px; margin: 18px 0 18px; }
.mini i { position: absolute; display: block; }
.m1 i { left: 0; top: 50%; border: 1px solid rgba(251, 248, 240, .5); border-radius: 50%; transform: translateY(-50%); }
.m1 i:nth-child(1) { width: 96px; height: 96px; } .m1 i:nth-child(2) { width: 64px; height: 64px; left: 16px; } .m1 i:nth-child(3) { width: 32px; height: 32px; left: 32px; }
.m1 i:nth-child(4) { width: 10px; height: 10px; left: 43px; border: 0; background: var(--butter); }
.m2 i { left: 0; right: 30%; height: 5px; border-radius: 99px; background: rgba(251, 248, 240, .2); overflow: hidden; }
.m2 i:nth-child(1) { top: 22px; } .m2 i:nth-child(2) { top: 46px; right: 44%; } .m2 i:nth-child(3) { top: 70px; right: 18%; }
.m2 i::after { content: ""; position: absolute; inset: 0; background: var(--butter); transform-origin: left; }
.m2 i:nth-child(1)::after { width: 86%; } .m2 i:nth-child(2)::after { width: 64%; } .m2 i:nth-child(3)::after { width: 92%; }
.m3 { width: 150px; border: 1px solid rgba(251, 248, 240, .5); border-radius: 8px; }
.m3 i:nth-child(1) { right: 14px; bottom: 0; width: 40px; height: 58px; border: 1px solid var(--butter); border-bottom: 0; border-radius: 99px 99px 0 0; }
.m3 i:nth-child(2) { left: 14px; top: 20px; width: 52px; height: 5px; border-radius: 99px; background: rgba(251, 248, 240, .7); }
.m3 i:nth-child(3) { left: 14px; top: 36px; width: 32px; height: 5px; border-radius: 99px; background: rgba(251, 248, 240, .3); }
.js #approche li .mini i { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .4s, opacity .8s ease .4s; }
.js #approche li:not(.in) .m1 i { transform: translateY(-50%) scale(0); }
.js #approche li:not(.in) .m2 i::after { transform: scaleX(0); }
.js #approche li .m2 i::after { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .5s; }
.js #approche li:not(.in) .m3 i { opacity: 0; transform: translateY(10px); }

/* ---------- Formules : prix en grand, détail qui se déplie ---------- */
.plans { gap: 16px; }
.plan { padding: 32px 30px 26px; border-radius: 20px; }
.price { font-size: 3.6rem; letter-spacing: -.01em; }
.price small { font-size: .85rem; }
.who { min-height: 0; font-size: .95rem; line-height: 1.5; }
.plan ul li { font-size: .92rem; line-height: 1.5; }
.plan.featured { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: none; }
.plan.featured .tag, .plan.featured .price, .plan.featured .price small, .plan.featured .delay, .plan.featured .who, .plan.featured li { color: var(--bg) !important; }
.plan.featured .tag { opacity: .85; } .plan.featured .delay { opacity: .75; }
.plan.featured .who { border-bottom-color: rgba(251, 248, 240, .3); }
.plan.featured li::before { background: var(--butter); }
.plan.featured .badge { background: var(--butter); color: var(--accent-dark); }
.plan.featured:hover { border-color: var(--accent); }
.more-d { margin-top: 8px; }
.more-d summary { display: inline-flex; align-items: center; gap: .5em; padding: 6px 0; cursor: pointer; list-style: none; color: var(--accent); font-size: .82rem; font-weight: 500; }
.more-d summary::-webkit-details-marker { display: none; }
.more-d summary::after { content: "+"; font-size: 1.1rem; transition: transform .3s ease; }
.more-d[open] summary::after { transform: rotate(45deg); }
.more-d ul { animation: unfold .45s cubic-bezier(.2, .7, .2, 1); }
.plan.featured .more-d summary { color: var(--butter); }
.included { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; margin-top: 36px; padding: 22px 0; background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.included h3 { margin: 0; font-size: 1.15rem; }
.included ul { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .88rem; }
.sub { margin-top: 72px; font-size: 1.5rem; }

/* ---------- Déroulé : frise qui se remplit au défilement ---------- */
#deroule { display: grid; gap: 36px; }
#deroule h2 { margin: 0; }
.steps { display: block; position: relative; padding-left: 72px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 30px; width: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 21px; top: 8px; width: 1px; height: calc((100% - 38px) * var(--tl, 0)); background: var(--accent); }
.steps li { display: block; padding: 0 0 46px; border: 0; transition: none; }
.steps li:hover { padding-left: 0; background: none; }
.steps li::before { left: -72px; top: -6px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); font-size: 1.3rem; line-height: 1; color: var(--muted); transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.steps li.on::before { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.steps strong { display: block; margin-bottom: 4px; font: 500 1.55rem / 1.15 var(--serif); }
.steps strong em { color: var(--accent); }
.steps span { display: block; max-width: 460px; font-size: .95rem; line-height: 1.65; }
@media (min-width: 900px) {
  #deroule { grid-template-columns: .85fr 1.15fr; column-gap: 72px; align-items: start; }
  #deroule h2 { position: sticky; top: 120px; }
  #deroule .steps { grid-column: 2; grid-row: 1; }
}

/* ---------- À propos : texte hiérarchisé, photo qui se dévoile ---------- */
.about-text p.lede { max-width: 560px; font: italic 500 1.75rem / 1.3 var(--serif); color: var(--text); }
.about-text p:not(.lede) { font-size: .98rem; line-height: 1.75; color: var(--muted); }
.skills { gap: 0; margin-top: 30px; }
.skills li { padding: 0; border: 0; border-radius: 0; font-size: .85rem; color: var(--accent); }
.skills li + li::before { content: "·"; margin: 0 12px; color: var(--muted); }
.portrait::before { content: ""; position: absolute; left: 2%; right: 2%; top: 14%; aspect-ratio: 1; border: 1px solid rgba(122, 15, 37, .35); border-radius: 50%; }
.js .portrait img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.2, .7, .2, 1); }
.js .portrait.in img { clip-path: inset(0 0 0 0); }
.js .portrait::before { transform: scale(.6); opacity: 0; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .2s, opacity 1s ease .2s; }
.js .portrait.in::before { transform: none; opacity: 1; }

/* ---------- Contact : colonne collée, formulaire allégé ---------- */
.contact { display: grid; gap: 40px; align-items: start; grid-template-rows: auto; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.1fr; column-gap: 80px; grid-template-rows: auto; }
  .contact > .c-left { grid-column: 1; grid-row: 1; position: sticky; top: 120px; }
  .contact > .form { grid-column: 2; grid-row: 1; max-width: none; }
}
.c-left h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.more-fields { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-fields summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; font-size: .92rem; font-weight: 500; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary span { margin-right: auto; margin-left: .4em; color: var(--muted); font-weight: 400; }
.more-fields summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform .3s ease; }
.more-fields[open] summary::after { transform: rotate(45deg); }
.more-fields .mf { display: grid; gap: 18px; padding: 4px 0 22px; animation: unfold .45s cubic-bezier(.2, .7, .2, 1); }
.form label { transition: color .25s ease; }
.form label:focus-within { color: var(--accent); }
.thanks { margin: 0; padding: 16px 20px; border: 1px solid var(--accent); border-radius: 14px; color: var(--accent); font-size: .95rem; }
.form.sent > :not(.thanks) { display: none; }

/* ---------- Mobile : barre d'action collée en bas ---------- */
.mobile-cta { display: none; }
@media (max-width: 719px) {
  .mobile-cta { position: fixed; left: 50%; bottom: 14px; z-index: 40; display: block; padding: 11px 22px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(122, 15, 37, .7); transform: translate(-50%, 90px); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .past-hero .mobile-cta { transform: translate(-50%, 0); }
  .in-contact .mobile-cta { transform: translate(-50%, 90px); }
}
.price { font-size: clamp(2.3rem, 3.4vw, 3rem); white-space: nowrap; }

/* =====================================================================
   BOUTONS DOUX : contour fin, remplissage pastel qui balaie au survol
   ===================================================================== */
.btn { isolation: isolate; background: #F7F1EA; color: var(--accent); border: 1px solid rgba(122, 15, 37, .4); box-shadow: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--wine-soft); transform: translateY(102%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.btn:hover::before { transform: none; }
.btn:hover { background: #F7F1EA; color: var(--accent-dark); border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 20px -14px rgba(122, 15, 37, .5); }
.btn-ghost { background: transparent; border-color: rgba(122, 15, 37, .25); }
.btn-ghost:hover { background: transparent; }
.header .btn-small { background: transparent; border-color: rgba(122, 15, 37, .28); }
.header .btn-small:hover { background: transparent; color: var(--accent-dark); }
.mobile-cta { background: #F7F1EA; color: var(--accent); border: 1px solid rgba(122, 15, 37, .4); box-shadow: 0 10px 24px -14px rgba(122, 15, 37, .45); }
.btn-text { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 1px no-repeat; border-bottom: 1px solid rgba(122, 15, 37, .25); transition: background-size .5s cubic-bezier(.2, .7, .2, 1), gap .3s ease; }
.btn-text:hover { background-size: 100% 1px; }

/* formule recommandée : douce, plus de grand aplat bordeaux */
.plan.featured { background: var(--butter-light); color: var(--text); border-color: rgba(122, 15, 37, .5); }
.plan.featured .tag, .plan.featured .price small { color: var(--accent) !important; opacity: 1; }
.plan.featured .price { color: var(--accent) !important; }
.plan.featured .delay { color: var(--muted) !important; opacity: 1; }
.plan.featured .who, .plan.featured li { color: var(--text) !important; }
.plan.featured .who { border-bottom-color: var(--line); }
.plan.featured li::before { background: var(--accent); }
.plan.featured .more-d summary { color: var(--accent); }
.plan.featured .badge { background: var(--butter); color: var(--accent-dark); }
.plan { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease, border-color .4s ease, background-color .4s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -30px rgba(122, 15, 37, .35); border-color: rgba(122, 15, 37, .45); }

/* hero : la maquette réagit doucement au passage du pointeur */
.board .win { translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -5px); }
.board .study { translate: calc(var(--mx, 0) * 13px) calc(var(--my, 0) * 9px); }
.board .pal { translate: calc(var(--mx, 0) * 9px) calc(var(--my, 0) * -9px); }
.board .type { translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * 7px); }
@media (hover: none) { .board > *, .copy h1 { translate: none; } }
.frame img.inner { width: 100%; height: auto; }

/* ===== ÉCHELLE TYPO UNIQUE (3 polices, peu de tailles, 2 graisses) =====
   Montserrat : 0.85rem (petit) / 0.95rem (texte) / 1.08rem (intro). Graisses 400 et 500, jamais d'italique.
   Cormorant  : graisse 500, italique seulement pour les mots mis en avant, citations et numéros.
   Cormorant tailles : 1.3rem (petits titres) / 1.7rem (titres de cartes) / titres de section. */
:root { --t-sm: .85rem; --t-body: .95rem; --t-lead: 1.08rem; --s-sm: 1.3rem; --s-md: 1.7rem; }
body { letter-spacing: .01em; }
/* Montserrat : texte courant */
.plan ul li, .included ul, .options dl > div, .two p, .facts li, .about .facts li, .steps span,
.about-text p:not(.lede), .who, .form label, .more-fields summary, .thanks, .reveal, .section-intro p,
.card p, .nav a { font-size: var(--t-body); }
.section-intro, .lead, .hero .lead, .scrolly .lead { font-size: var(--t-lead); }
/* Montserrat : petits textes */
.delay, .sector, .card .sector, .work .sector, .work-soon .sector, .tag, .badge, .note, .proof, .reassure,
.scrolly .reassure, .skills li, .price small, .btn-text, .more-d summary, .soon, .footer, .tour li,
.options dl dt, .options dl dd { font-size: var(--t-sm); }
.who, .note { font-style: normal; }
strong, b { font-weight: 500; }
.tag, .badge { letter-spacing: .02em; }
/* Cormorant : petits titres */
.opt summary, .included h3, .sub, .options h3, .steps strong, .steps li strong { font-size: var(--s-sm); font-weight: 500; }
.card h3, .plan h3, #approche h3, .work-soon h3 { font-size: var(--s-md); font-weight: 500; }
.card blockquote, .work blockquote { font-size: var(--s-sm); font-style: italic; }
.num, .steps li::before, .no { font-weight: 500; }

/* Survol des boutons : bordeaux clair (le jaune pastel reste pour les accents) */
.btn:hover, .btn:focus-visible { color: var(--accent-dark); }

/* ===== Réalisations : finitions ===== */
.frame .soon { right: 12px; top: 7px; padding: 2px 10px; background: rgba(251, 248, 240, .7); color: var(--muted); border: 1px solid var(--line); font-size: .7rem; font-weight: 400; letter-spacing: .02em; backdrop-filter: blur(4px); }
.work .no { font-size: 1.2rem; letter-spacing: .04em; }
.work .txt { gap: 12px; }
.work .sector { margin-bottom: 6px; }
.work blockquote { max-width: 24em; margin: 4px 0 16px; line-height: 1.4; }

/* ===== DIRECTION TYPO « comme le logo » : fin, aéré, script bordeaux =====
   Titres Cormorant fin ; mot-clé en écriture manuscrite (Pinyon, comme « Malo ») ;
   petits titres en lettres espacées (comme « MAISON ») ; texte Montserrat fin. */
h1, h2 { font-weight: 300; letter-spacing: 0; line-height: 1.12; }
.hero h1, .scrolly h1 { font-weight: 300; letter-spacing: 0; line-height: 1.08; }
h1 em, h2 em { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 1.28em; line-height: .8; letter-spacing: 0; }
h1 em *, h2 em * { font-style: normal; }
#approche h2 em { font-family: var(--serif); }
/* Petits titres : lettres espacées */
.work h3, .work-soon h3, .plan .tag, .included h3, .sub, .opt summary, .options h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase; line-height: 1.5;
}
.work h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: .26em; }
.plan .tag { font-size: .95rem !important; letter-spacing: .3em; color: var(--accent) !important; }
.sub { font-size: 1.15rem; }
.opt summary { font-size: .95rem; }
/* Texte courant plus fin */
.plan ul li, .included ul, .options dl > div, .two p, .facts li, .about .facts li, .steps span,
.about-text p:not(.lede), .who, .section-intro, .lead, .hero .lead, .scrolly .lead, .reveal, .card p, .work blockquote {
  font-family: var(--sans); font-weight: 300;
}
.work blockquote { font-style: normal; font-size: var(--t-body); line-height: 1.75; color: var(--text); }
h1 em, h2 em { padding: 0 .1em 0 .07em; margin-left: -.03em; }

/* Mot-clé des titres : même police que le titre, italique bordeaux (pas de script au milieu d'une phrase) */
h1 em, h2 em, #approche h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1em; line-height: inherit; padding: 0; margin: 0; }
.copy h1 { translate: none; }
h1 em *, h2 em * { font-style: italic; font-family: inherit; }
.included h3, .sub, .options h3 { color: var(--accent); }
.sub { margin-top: 88px; }
#approche .mini { margin-top: 30px; }

/* ===== Approche : trois petites scènes qui s'enchaînent (objectif → positionnement → site) ===== */
#approche .three li::before { display: none; }
#approche .three { gap: 56px; }
.demo { position: relative; height: 128px; margin: 0 0 28px; }
/* 1. L'objectif : on passe en revue, un seul est choisi */
.d1 { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.d1 span { padding: 6px 14px; border: 1px solid rgba(251, 248, 240, .3); border-radius: 99px; font-size: .8rem; font-weight: 400; color: rgba(251, 248, 240, .8); }
.d1 .pick { background: var(--bg); border-color: var(--bg); color: var(--accent); }
/* 2. L'étude : vous vous placez à part des concurrents */
.d2 .c, .d2 .me { position: absolute; display: block; border-radius: 50%; }
.d2 .c { width: 12px; height: 12px; background: rgba(251, 248, 240, .45); }
.d2 .a { left: 26%; top: 44%; } .d2 .b { left: 38%; top: 30%; } .d2 .k { left: 33%; top: 62%; }
.d2 .me { width: 16px; height: 16px; left: 72%; top: 20%; background: var(--butter); box-shadow: 0 0 0 6px rgba(239, 229, 207, .18); }
.d2 em { position: absolute; font: 400 .78rem var(--sans); font-style: normal; color: rgba(251, 248, 240, .7); }
.d2 .l1 { left: 18%; top: 82%; } .d2 .l2 { left: 68%; top: 44%; color: var(--butter); }
/* 3. Le site : l'action principale est celle de l'objectif */
.d3 .pgm { position: relative; width: 100%; max-width: 230px; height: 100%; padding: 16px; border: 1px solid rgba(251, 248, 240, .35); border-radius: 12px; }
.d3 .x, .d3 .t { display: block; height: 5px; border-radius: 99px; background: rgba(251, 248, 240, .3); margin-bottom: 9px; }
.d3 .t { width: 55%; height: 7px; background: rgba(251, 248, 240, .75); margin-bottom: 14px; }
.d3 .x { width: 85%; } .d3 .x.s { width: 60%; }
.d3 .cta { position: absolute; left: 16px; bottom: 16px; padding: 5px 14px; border: 1px solid rgba(251, 248, 240, .5); border-radius: 99px; font-size: .74rem; font-weight: 500; color: var(--bg); }
/* Mouvement : joué à l'arrivée, colonne après colonne */
.js #approche li:not(.in) .demo { opacity: 0; }
.js #approche li .demo { transition: opacity .8s ease; }
.js #approche li.in .d1 span { animation: pick-flash 1.5s ease both; }
.js #approche li.in .d1 span:nth-child(1) { animation-delay: .4s; } .js #approche li.in .d1 span:nth-child(2) { animation-delay: .75s; } .js #approche li.in .d1 span:nth-child(4) { animation-delay: 1.1s; }
.js #approche li.in .d1 .pick { animation: pick-final .7s ease 1.5s both; }
@keyframes pick-flash { 0%, 100% { background: transparent; color: rgba(251, 248, 240, .8); } 15%, 45% { background: rgba(251, 248, 240, .22); color: var(--bg); } 100% { opacity: .5; } }
@keyframes pick-final { from { background: transparent; color: rgba(251, 248, 240, .8); } to { background: var(--bg); color: var(--accent); } }
.js #approche li.in .d2 .c { animation: pop .6s cubic-bezier(.2, .7, .2, 1) both; }
.js #approche li.in .d2 .a { animation-delay: 1.6s; } .js #approche li.in .d2 .b { animation-delay: 1.8s; } .js #approche li.in .d2 .k { animation-delay: 2s; }
.js #approche li.in .d2 .me { animation: me-move 1.6s cubic-bezier(.45, 0, .2, 1) 2.4s both; }
.js #approche li.in .d2 em { animation: fade .7s ease 3.2s both; }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes me-move { from { left: 33%; top: 44%; transform: scale(.6); } to { left: 72%; top: 20%; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js #approche li.in .d3 .t, .js #approche li.in .d3 .x { animation: draw .9s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
.js #approche li.in .d3 .t { animation-delay: 3.9s; } .js #approche li.in .d3 .x { animation-delay: 4.2s; } .js #approche li.in .d3 .x.s { animation-delay: 4.4s; }
.js #approche li.in .d3 .cta { animation: cta-on .8s ease 4.9s both; }
@keyframes draw { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes cta-on { from { background: transparent; color: var(--bg); } to { background: var(--bg); color: var(--accent); border-color: var(--bg); } }

/* ===== Approche : titre à gauche, étapes à droite, l'étape lue ou survolée s'allume ===== */
#approche .appr { display: grid; gap: 56px; }
#approche .appr-head h2 { max-width: 11em; }
#approche .appr-head .section-intro { max-width: 30em; }
#approche .three { display: grid; grid-template-columns: 1fr; gap: 48px; margin: 0; padding: 0; list-style: none; }
#approche .three li { display: grid; gap: 10px; padding: 0; border: 0; transform: none; cursor: default; }
#approche .three li:hover { transform: none; border: 0; }
#approche .lbl { font: 400 .78rem var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--butter); padding-top: 6px; }
#approche .three h3 { margin: 0 0 10px; font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: 0; text-transform: none; font-weight: 400; }
#approche .three p { max-width: 34em; }
@media (min-width: 900px) {
  #approche .appr { grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
  #approche .appr-head { position: sticky; top: 120px; }
  #approche .three li { grid-template-columns: 120px 1fr; gap: 24px; }
}
.js #approche .three li > * { opacity: .38; transition: opacity .6s ease; }
.js #approche .three li.on > * { opacity: 1; }

/* ===== Formules : lien de choix en bas de carte, tirets partout, carte Pro plus nette ===== */
.plan { display: flex; flex-direction: column; }
.plan .plan-cta { align-self: flex-start; margin-top: auto; padding-top: 4px; }
.plan .more-d { margin-bottom: 22px; }
.included li::before { content: "–  "; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 50px -36px rgba(122, 15, 37, .45); }

/* ===== Un seul style de petit titre (Cormorant, lettres espacées, bordeaux) + liste « Inclus » alignée ===== */
.included h3, h3.sub, .options h3 {
  margin: 0 0 18px; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; line-height: 1.4;
  letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
}
h3.sub { margin-top: 88px; margin-bottom: 14px; }
.included { display: block; padding: 28px 0; }
.included ul { display: grid; grid-template-columns: 1fr; gap: 10px 48px; margin: 0; padding: 0; list-style: none; font-size: var(--t-body); font-weight: 300; }
.included li { position: relative; padding-left: 20px; line-height: 1.5; }
.included li::before { content: "–"; position: absolute; left: 0; top: 0; color: var(--accent); }
@media (min-width: 700px) { .included ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .included ul { grid-template-columns: repeat(3, 1fr); } }
.opt summary { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 1100px) { .opt summary { letter-spacing: .12em; white-space: normal; } }
.opt summary { gap: 16px; }
@media (min-width: 1000px) { .plan .who { min-height: 9.6em; } }

/* ===== Formules, bas de section (v2) : Inclus en colonnes serif, options dépliantes avec prix alignés, maintenance en deux cartes ===== */
.included { padding: 8px 0 0; border: 0; margin-top: 72px; }
.included h3 { margin-bottom: 26px; }
.included ul { grid-template-columns: 1fr; gap: 22px 40px; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.3; color: var(--text); }
.included li { padding-left: 0; }
.included li::before { content: none; }
@media (min-width: 700px) { .included ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .included ul { grid-template-columns: repeat(5, 1fr); } }

.options dl > div { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border: 0; }
.options dl > div:hover { background: none; }
.options dt { display: flex; flex: 1; align-items: baseline; gap: 12px; }
.options dt::after { content: ""; flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(122,78,78,.35); transform: translateY(-4px); }
.options dd { margin: 0; font-weight: 500; white-space: nowrap; }

.maintenance .two { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 800px) { .maintenance .two { grid-template-columns: 1fr 1fr; } }
.maintenance .two > div { display: flex; flex-direction: column; gap: 4px; padding: 32px 34px; background: transparent; border: 1px solid rgba(122,78,78,.2); border-radius: 20px; }
.maintenance .two strong { font: 400 1.5rem/1.2 var(--serif); }
.maintenance .two span { font: 400 2rem/1.1 var(--serif); color: var(--accent); margin: 6px 0 8px; }
.maintenance .two p { margin: 0; color: var(--muted); }
.maintenance h3 { margin: 88px 0 14px; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; line-height: 1.4; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.maintenance > p { margin: 0 0 8px; }

/* ===== Composez votre projet : socle bordeaux à gauche, choix doux à droite, estimation en bas ===== */
.compose { display: grid; gap: 40px; margin-top: 72px; }
@media (min-width: 980px) { .compose { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.socle { padding: 44px 38px; background: var(--accent); color: var(--bg); border-radius: 26px; }
@media (min-width: 980px) { .socle { position: sticky; top: 110px; } }
.socle h3 { margin: 0 0 18px; font: 400 1.05rem/1.4 var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--butter); }
.socle ul { list-style: none; margin: 0; padding: 0; }
.socle li { padding: 15px 0; font: 400 1.35rem/1.3 var(--serif); border-bottom: 1px solid rgba(251, 248, 240, .16); }
.socle li:last-child { border: 0; padding-bottom: 0; }
.cfg h3.sub { margin-top: 0; }
.cfg .grp { margin: 34px 0 14px; font: 400 1.2rem/1.2 var(--serif); color: var(--text); }
.cfg label { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 16px 20px; background: #F7F1EA; border: 1px solid rgba(122,78,78,.2); border-radius: 18px; transition: background .35s ease, border-color .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.cfg label:hover { transform: translateY(-2px); border-color: rgba(122, 15, 37, .3); }
.cfg input { position: absolute; opacity: 0; pointer-events: none; }
.cfg .nm { flex: 1; font-size: var(--t-body); }
.cfg .pr { font: 500 .92rem var(--sans); color: var(--accent); white-space: nowrap; }
.cfg label:has(input:checked) { background: var(--wine-soft); border-color: rgba(122, 15, 37, .45); }
.cfg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg .chk { width: 20px; height: 20px; flex: none; border: 1px solid rgba(122, 15, 37, .45); border-radius: 50%; background: #F7F1EA; transition: background .3s ease; position: relative; }
.cfg input:checked ~ .chk { background: var(--accent); }
.cfg input:checked ~ .chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.fm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fm label { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 22px; }
.fm .nm { font: 400 1.35rem/1.2 var(--serif); }
.feat { display: grid; gap: 12px; }
.allopts { margin-top: 18px; }
.allopts > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 6px 0; color: var(--accent); font-weight: 500; font-size: .92rem; border-bottom: 1px solid rgba(122, 15, 37, .3); }
.allopts > summary::-webkit-details-marker { display: none; }
.allopts > summary::after { content: "+"; font-size: 1.1rem; transition: transform .3s ease; }
.allopts[open] > summary::after { transform: rotate(45deg); }
.allopts .rows { display: grid; gap: 10px; }
.allopts .o.row { padding: 13px 18px; border-radius: 14px; }
.bar { position: sticky; bottom: 18px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 40px; padding: 20px 26px; background: var(--butter-light); border: 1px solid rgba(122,78,78,.2); border-radius: 22px; box-shadow: 0 24px 44px -30px rgba(122, 15, 37, .55); }
.bar .tot { display: block; font: 400 2.2rem/1 var(--serif); color: var(--accent); margin-bottom: 4px; }
.bar small { display: block; font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .fm { grid-template-columns: 1fr; } }

/* ===== Déroulé : un fil doux, l'étape lue s'allume, on voit qui fait quoi ===== */
.dero { display: grid; gap: 56px; }
@media (min-width: 900px) { .dero { grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: start; } .dero-head { position: sticky; top: 120px; } }
.dero-head h2 { max-width: 11em; }
.dero-head .section-intro { max-width: 24em; }
.dero-head .btn { margin-top: 26px; }
.dero-list { position: relative; display: grid; gap: 48px; margin: 0; padding: 0 0 0 44px; list-style: none; }
.dero-list::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; background: rgba(122,78,78,.2); }
.dero-list::after { content: ""; position: absolute; left: 5px; top: 12px; width: 1px; height: var(--h, 0%); background: rgba(122, 15, 37, .55); transition: height .9s cubic-bezier(.2, .7, .2, 1); }
.dero-list li { position: relative; }
.dero-list li::before { content: ""; position: absolute; left: -44px; top: 11px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(122,78,78,.3); transition: background .5s ease, border-color .5s ease; }
.dero-list li.on::before { background: var(--accent); border-color: var(--accent); }
.dero-list .dwho { display: block; margin-bottom: 6px; font: italic 400 1.1rem var(--serif); color: var(--accent); letter-spacing: 0; text-transform: none; }
.dero-list h3 { margin: 0 0 8px; font: 400 1.6rem/1.25 var(--serif); letter-spacing: 0; text-transform: none; }
.dero-list h3 em { font-style: italic; color: var(--accent); }
.dero-list p { max-width: 34em; color: var(--muted); }
.js .dero-list li > * { opacity: .45; transition: opacity .7s ease; }
.js .dero-list li.cur > * { opacity: 1; }
#deroule, #deroule .dero { display: block; }
#deroule .dero { display: grid; }
@media (min-width: 900px) { #deroule { grid-template-columns: none; } #deroule h2 { position: static; } }
.dero-list li h3 { border: 0; padding: 0; }

/* ---------- À propos : photo en avant, fond blanc ---------- */
#a-propos.ab { background: #F7F1EA; padding-bottom: 0; overflow: hidden; }
.ab-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: end; }
.ab-photo img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.ab-text { padding-bottom: 80px; }
.ab-text h2 { margin: 0 0 28px; font: 300 clamp(2.6rem, 5vw, 4rem) / 1.05 var(--serif); }
.ab-text h2 .script { font-size: 1.25em; }
.ab-text p { margin: 0 0 16px; max-width: 560px; font-size: .98rem; line-height: 1.75; color: var(--muted); }
.ab-text p.ab-lede { font: 300 1.5rem / 1.4 var(--serif); color: var(--text); }
.ab-text p.ab-lede em { font-style: italic; color: var(--accent); }
.ab-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.ab-facts li { padding: 11px 22px; border-radius: 999px; background: var(--butter-light); font: 400 1.1rem / 1.2 var(--serif); }
.js .ab-photo img { opacity: 0; transform: translateY(40px) scale(1.05); transform-origin: bottom; transition: transform 1.5s cubic-bezier(.2,.7,.2,1), opacity 1s ease; }
.js .ab.in .ab-photo img { opacity: 1; transform: none; }
.js .ab-text > * { opacity: 0; transform: translateX(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .ab.in .ab-text > * { opacity: 1; transform: none; }
.js .ab.in .ab-text > :nth-child(2) { transition-delay: .2s; } .js .ab.in .ab-text > :nth-child(3) { transition-delay: .35s; }
.js .ab.in .ab-text > :nth-child(4) { transition-delay: .5s; } .js .ab.in .ab-text > :nth-child(5) { transition-delay: .65s; }
@media (max-width: 860px) { .ab-grid { grid-template-columns: 1fr; gap: 24px; } .ab-photo img { max-width: 280px; } .ab-text { padding-bottom: 56px; order: -1; } }
.ab-text p.ab-lede { font-size: 1.3rem; line-height: 1.45; }
.ab-text p.ab-lede em { display: inline; white-space: normal; }

/* À propos : photo à droite, plus petite */
.ab-grid { grid-template-columns: 1.5fr .5fr; gap: 64px; }
.ab-photo { order: 2; }
.ab-photo img { max-width: 300px; margin: 0 0 0 auto; }
.js .ab-text > * { transform: translateX(-28px); }
.js .ab.in .ab-text > * { transform: none; }
@media (max-width: 860px) { .ab-grid { grid-template-columns: 1fr; } .ab-photo img { max-width: 230px; margin: 0 auto; } .ab-text { order: 0; } }

/* Corrections issues de la revue de la page */
.mobile-cta { display: none !important; }
@media (max-width: 899px) { .js #approche .three li > * { opacity: 1; } }
#deroule { background: #F7F1EA; }
.bar { position: static; }
@media (min-width: 900px) { .bar { position: sticky; } }

/* Contact : rassurer et incarner */
.c-assure { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.c-assure li { padding: 9px 18px; border-radius: 999px; background: var(--butter-light); font: 400 1.05rem/1.2 var(--serif); }
.c-who { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.c-who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--wine-soft); }
.c-who span { font: 300 1.7rem/1.1 var(--serif); color: var(--accent); }
.c-who small { display: block; margin-top: 4px; font: 400 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
#contact .form { padding: 34px; background: #F7F1EA; border: 1px solid rgba(122,78,78,.2); border-radius: 24px; box-shadow: 0 30px 60px -44px rgba(122,15,37,.45); }
@media (max-width: 600px) { #contact .form { padding: 22px; } }

/* ---------- À propos (version retenue) : photo à droite, cadre en arche, trois cartes ---------- */
#a-propos.abb { background: #F7F1EA; padding: 100px 0 0; }
.abb-top, .abb-cards { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.abb-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.abb-text { padding-bottom: 110px; }
.abb-text h2 { margin: 0 0 26px; font: 300 clamp(2.6rem, 5vw, 4rem) / 1.05 var(--serif); }
.abb-text h2 .script { font-size: 1.25em; }
.abb-text p { margin: 0 0 16px; max-width: 560px; font-size: .98rem; line-height: 1.75; color: var(--muted); }
.abb-text p.abb-lede { font: 300 1.3rem / 1.45 var(--serif); color: var(--text); }
.abb-text p.abb-lede em { font-style: italic; color: var(--accent); display: inline; }
.abb-photo { position: relative; }
.abb-photo::before { content: ""; position: absolute; left: 8%; right: -4%; top: 12%; bottom: 0; border: 1px solid rgba(122,15,37,.35); border-radius: 200px 200px 0 0; }
.abb-photo img { position: relative; display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.abb-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -60px; padding-bottom: 90px; list-style: none; }
.abb-cards li { padding: 26px 28px; background: var(--butter-light); border-radius: 20px; }
.abb-cards h3 { margin: 0; font: 400 1.5rem / 1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--accent); }
.js .abb-photo img { opacity: 0; transform: translateY(40px); transition: transform 1.5s cubic-bezier(.2,.7,.2,1), opacity 1s ease; }
.js .abb-photo::before { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.js .abb.in .abb-photo img { opacity: 1; transform: none; }
.js .abb.in .abb-photo::before { clip-path: inset(0); }
.js .abb-text > *, .js .abb-cards li { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .abb.in .abb-text > *, .js .abb.in .abb-cards li { opacity: 1; transform: none; }
.js .abb.in .abb-text > :nth-child(2) { transition-delay: .15s; } .js .abb.in .abb-text > :nth-child(3) { transition-delay: .3s; } .js .abb.in .abb-text > :nth-child(4) { transition-delay: .45s; }
.js .abb.in .abb-cards li:nth-child(1) { transition-delay: .5s; } .js .abb.in .abb-cards li:nth-child(2) { transition-delay: .65s; } .js .abb.in .abb-cards li:nth-child(3) { transition-delay: .8s; }
@media (max-width: 900px) { .abb-top, .abb-cards { grid-template-columns: 1fr; } .abb-top { gap: 20px; } .abb-text { padding-bottom: 0; } .abb-photo img { max-width: 300px; } .abb-cards { margin-top: 20px; padding-bottom: 60px; } }

/* ---------- Réalisations (version retenue) : liste + grand écran qui défile ---------- */
#exemples.rm { background: #F7F1EA; }
.rm-in { max-width: 1180px; margin: 0 auto; }
.rm-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; margin-top: 40px; }
.rm-nav { list-style: none; margin: 0; padding: 0; }
.rm-nav li { border-top: 1px solid rgba(122,78,78,.2); } .rm-nav li:last-child { border-bottom: 1px solid rgba(122,78,78,.2); }
.rm-tab { display: block; width: 100%; padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--text); opacity: .4; transition: opacity .4s ease; }
.rm-tab b { display: block; font: 300 2.4rem / 1.1 var(--serif); }
.rm-tab small { display: block; margin-top: 4px; font: 300 .85rem var(--sans); color: var(--muted); }
.rm-tab.on, .rm-tab:hover, .rm-tab:focus-visible { opacity: 1; }
.rm-tab.on b { color: var(--accent); font-style: italic; }
.rm-stage { position: relative; min-height: 600px; }
.rm-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.rm-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.rm-frame { display: block; border-radius: 14px; overflow: hidden; background: #F7F1EA; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 40px 70px -40px rgba(60,20,30,.5); }
.rm-bar { display: flex; gap: 6px; padding: 11px 14px; background: #F3D9DC; } .rm-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(122,78,78,.25); }
.rm-view { height: 420px; overflow: hidden; }
.rm-view img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform .6s ease; }
.rm-slide.on .rm-view img { transform: translateY(calc(420px - 100%)); transition: transform 9s linear .8s; }
.rm-slide blockquote { margin: 24px 0 14px; font: 300 1.2rem / 1.45 var(--serif); color: var(--text); }
@media (max-width: 900px) { .rm-grid { grid-template-columns: 1fr; gap: 24px; } .rm-tab b { font-size: 1.7rem; } .rm-stage { min-height: 560px; } .rm-view { height: 340px; } .rm-slide.on .rm-view img { transform: translateY(calc(340px - 100%)); } }
@media (prefers-reduced-motion: reduce) { .rm-slide.on .rm-view img { transition: none; transform: none; } }
.rm-btn { display: inline-flex; }

/* Bandeau d'engagement */
.statement { padding: 130px 24px; background: var(--accent); text-align: center; }
.statement p { max-width: 900px; margin: 0 auto; font: 300 clamp(2.2rem, 5.6vw, 4.6rem) / 1.12 var(--serif); color: var(--bg); }
.statement em { font-style: italic; color: var(--butter); }
.js .statement p { opacity: 0; transform: translateY(24px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .statement.in p { opacity: 1; transform: none; }
main > section.statement { background: var(--accent); padding: 130px 24px; }

/* ======================================================================
   DA « malo web design » (charte novembre 2026)
   Logo Gloock + Hanken Grotesk. Titres Hanken Light, boutons rectangulaires,
   bordeaux intense #7A0F25, grenat au survol, beiges chauds. Gloock réservée
   aux chiffres, aux citations courtes et aux bandeaux.
   ====================================================================== */
:root {
  --bg: #F7F1EA; --text: #3A2621; --muted: #7A4E4E; --line: rgba(122,78,78,.22);
  --accent: #7A0F25; --accent-dark: #9B1B30; --grenat: #9B1B30; --chocolat: #5C1A1B;
  --espresso: #4E0B1A; --encre: #3A2621; --blanc: #F7F1EA; --beige: #F3D9DC; --sable: rgba(122,78,78,.22);
  --rose: #F3D9DC; --vieux-rose: #E9A9B2;
  --butter: #F3D9DC; --butter-light: #F3D9DC; --wine-soft: #F3D9DC;
  --serif: "Hanken Grotesk", system-ui, sans-serif; --sans: "Hanken Grotesk", system-ui, sans-serif;
  --signature: "Gloock", Georgia, serif;
}
html, body { font-family: var(--sans); }
body { font-weight: 300; font-size: 16px; line-height: 1.75; letter-spacing: 0; color: var(--text); background: var(--bg); }
/* Titres : Hanken Light, resserrés */
h1, h2, h3, h4, .logo, .rm-tab b, .abb-cards h3, .statement p { font-family: var(--serif); }
h1, h2 { font-weight: 300; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -.035em; line-height: 1.05; }
h2, #deroule h2, #approche h2, .abb-text h2, .rm h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; font-weight: 300; }
h3 { font-weight: 400; letter-spacing: -.015em; }
/* Mot mis en avant : bordeaux, sans italique ni écriture */
h1 em, h2 em, #approche h2 em, h1 em *, h2 em *, .abb-lede em, .statement em { font-family: inherit; font-style: normal; font-weight: 300; color: var(--accent); letter-spacing: inherit; }
h2 .script, .abb-text h2 .script { font-family: inherit; font-size: 1em; font-weight: 300; line-height: inherit; color: var(--accent); }
/* Labels et petits titres : capitales espacées */
.lbl, .kk, .sub, h3.sub, .options h3, .maintenance h3, .included h3, .socle h3, .compose h3, .no, .sector, small.lbl,
.cfg > h3, .cfg .kicker { font-family: var(--sans); font-size: .6875rem; font-weight: 400; letter-spacing: .5em; text-transform: uppercase; }
/* Boutons : rectangulaires, capitales, comme la charte */
.btn, .btn-small, .btn-ghost, .nav .btn { border-radius: 0; font-family: var(--sans); font-size: .6875rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.btn { background: var(--accent); color: #F7F1EA; border: 1px solid var(--accent); box-shadow: none; padding: 17px 28px; }
.btn::before { display: none; }
.btn:hover { background: var(--grenat); border-color: var(--grenat); color: #F7F1EA; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #F7F1EA; border-color: var(--accent); }
.btn-small, .header .btn { padding: 11px 18px; }
.btn-text { font-family: var(--sans); font-size: .8125rem; font-weight: 400; letter-spacing: .01em; text-transform: none; color: var(--text); border-bottom: 1px solid var(--text); }
.btn-text:hover { color: var(--accent); border-color: var(--accent); }
/* Signature Gloock : chiffres, bandeaux */
.price, .price strong, .tot, #cf-tot, .statement p { font-family: var(--signature); font-weight: 400; letter-spacing: -.01em; }
.statement p { letter-spacing: -.02em; line-height: 1.1; }
.statement em { font-family: var(--signature); }
.rm-slide blockquote, .abb-lede { font-family: var(--sans); font-weight: 300; letter-spacing: 0; }
/* Fonds de la charte */
.plan, .compose .cfg, #contact .form { background: var(--blanc); }
.header { background: rgba(247, 241, 234, .9); }
.logo img { height: 40px; width: auto; }
/* Retouches DA : plus d'italique décoratif, logo à la taille minimale de la charte */
em, h1 em, h2 em, h3 em, .m-hero em, .g em, .pg em, .abb-lede em, .dero-list em, .rm-tab.on b { font-style: normal; }
.rm-tab.on b { color: var(--accent); }
.header .logo img { height: 54px; width: auto; }
.footer .logo.big img { width: min(300px, 70%); height: auto; }
.header { padding-top: 10px; padding-bottom: 10px; }

/* ---------- Proportions de la charte : crème 45 %, beige 15 %, blanc cassé 6 %, bordeaux 10 %, chocolat 5 % ---------- */
main > section { --card: var(--blanc); }
main > section:nth-child(even) { background: var(--bg); --card: var(--blanc); }
main > section#exemples { background: var(--bg); }
main > section#approche { background: var(--chocolat); }
main > section#formules { background: var(--bg); }
main > section#deroule { background: var(--beige); }
main > section.statement { background: var(--accent); }
main > section#a-propos { background: var(--blanc); }
main > section#contact { background: var(--beige); }
.footer { background: var(--espresso); color: rgba(247, 241, 234, .78); }
.footer a, .footer p { color: rgba(247, 241, 234, .78); }
/* Contrastes sur fonds sombres (chocolat, bordeaux) : détails en vieux rose / rosé poudré, comme la charte */
#approche h2 em, #approche em { color: var(--vieux-rose); }
.statement em { color: var(--rose); }
.socle { background: var(--chocolat); }
h1, h2 { text-wrap: balance; }
.hero h1 { max-width: 12em; }
.dero-list i, .dero-list em, .dero-list h3 i { font-style: normal; }
#approche h2 em *, #approche h2 em { color: var(--vieux-rose); }
.abb-text p.abb-lede em, #deroule em, #deroule h3 em { font-style: normal; }

/* ======================================================================
   Palette révisée (charte, nouvelle version) : bordeaux + beige + rose, sans gris
   Crème 40 · Beige 18 · Rose clair 7 · Bordeaux intense 15 · Bordeaux profond 8 · Grenat 4 · Chocolat 3 · Marron foncé 5 (textes)
   ====================================================================== */
:root {
  --bg: #F7F1EA; --text: #3A2621; --muted: #7A4E4E; --line: rgba(122, 78, 78, .22);
  --accent: #7A0F25; --accent-dark: #9B1B30; --grenat: #9B1B30; --profond: #4E0B1A; --chocolat: #5C1A1B;
  --creme: #F7F1EA; --beige: #F3E8DA; --rose: #F3D9DC; --vieux-rose: #E9A9B2; --bois: #7A4E4E; --marron: #3A2621;
  --blanc: #F7F1EA; --espresso: #4E0B1A; --encre: #3A2621; --sable: #F3E8DA;
  --butter: #F3D9DC; --butter-light: #F3D9DC; --wine-soft: #F3D9DC;
}
body { color: var(--text); }
main > section, main > section:nth-child(even) { --card: var(--creme); }
main > section#exemples, main > section#formules { background: var(--creme); }
main > section#approche { background: var(--profond); }
main > section#deroule, main > section#contact { background: var(--beige); }
main > section.statement { background: var(--accent); }
main > section#a-propos { background: var(--creme); }
.footer { background: var(--profond); color: var(--rose); }
.footer a, .footer p { color: var(--rose); }
.socle { background: var(--chocolat); }
.statement em { color: var(--rose); }
#approche h2 em, #approche h2 em * { color: var(--vieux-rose); }
/* Cartes crème sur fond crème : fin filet bois de rose */
.plan, .two > div, .compose .cfg, .cfg label, .bar { border-color: rgba(122, 78, 78, .22); }
#contact .form { background: var(--creme); }
.abb-cards li { background: var(--rose); }
.c-assure li { background: var(--rose); }
.header { background: rgba(247, 241, 234, .92); }
.js .dero-list li > * { opacity: .62; }
.js .dero-list li.cur > * { opacity: 1; }
.dero-list li::before { background: var(--beige); }
.dero-list p { color: var(--marron); }

/* ---------- Règles d'usage des couleurs (une couleur = un rôle) ----------
   Fonds sombres : bordeaux profond uniquement (Approche, carte « Dans toutes les formules », pied de page).
   Chocolat : uniquement la formule mise en avant. Bordeaux intense : bandeau, boutons, liens, logo.
   Rose clair : petits aplats doux (pastilles, cartes de valeurs, total de l'estimation).
   Grenat : survols. Vieux rose : détails sur fonds sombres. Beige : fonds de sections alternées. */
:root { --beige: #F3E8DA; --sable: #F3E8DA; }
.socle { background: var(--profond); }
.plans .plan.featured, .plan.featured { background: var(--chocolat); border-color: var(--chocolat); box-shadow: none; color: var(--creme); }
.plan.featured p, .plan.featured .tag, .plan.featured .price, .plan.featured .price small, .plan.featured .delay, .plan.featured .who, .plan.featured li, .plan.featured summary, .plan.featured .btn-text { color: var(--creme) !important; background: none; }
.plan.featured .who, .plan.featured li { color: var(--rose) !important; }
.plan.featured .price { color: var(--creme) !important; }
.plan.featured .badge { background: var(--rose); color: var(--chocolat) !important; }
.plan.featured ul, .plan.featured .more-d, .plan.featured hr { border-color: rgba(247, 241, 234, .25); }
.plan.featured li::before { color: var(--vieux-rose); }
.plan.featured .btn-text, .plan.featured summary { border-color: rgba(247, 241, 234, .5); }
.plan.featured li::before { background: var(--vieux-rose); }

/* ---------- Boutons doux : pilules, surlignage rose clair au survol ---------- */
.btn, .btn-small, .btn-ghost, .nav .btn, .header .btn { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px; padding: 14px 26px; font-size: .6875rem; font-weight: 400; letter-spacing: .18em; box-shadow: none; transition: color .35s ease, border-color .35s ease, transform .35s ease; }
.btn-small, .header .btn { padding: 10px 20px; }
.btn::before { content: ""; display: block; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--rose); transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn { background: var(--accent); color: var(--creme); border: 1px solid var(--accent); }
.btn:hover, .btn:focus-visible { background: var(--accent); color: var(--accent); border-color: var(--rose); transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid rgba(122, 15, 37, .45); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: transparent; color: var(--accent); border-color: var(--rose); }
.btn:active { transform: scale(.98); }
/* Boutons sur fond sombre / bandeau : le surlignage reste rose clair, texte bordeaux */
.statement .btn, #approche .btn { border-color: var(--rose); }
/* Grands blocs carrés : coins plus arrondis */
.plan, .plan.featured, .socle, .compose .cfg, .bar, .two > div, #contact .form, .abb-cards li, .rm-frame, .included { border-radius: 24px; }

/* ---------- Boutons : survol « élévation douce » (choix retenu) ---------- */
.btn::before, .btn:hover::before, .btn:focus-visible::before { display: none; }
.btn, .btn-small, .header .btn { overflow: visible; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, background-color .4s ease, color .4s ease, border-color .4s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-3px) scale(1.03); background: var(--grenat); color: var(--creme); border-color: var(--grenat); box-shadow: 0 14px 30px -10px rgba(122, 15, 37, .55), 0 0 0 6px rgba(243, 217, 220, .95); }
.btn:active { transform: translateY(-1px) scale(1.01); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--accent); color: var(--creme); border-color: var(--accent); }
#approche .btn, .footer .btn, .statement .btn, .socle .btn { background: var(--creme); color: var(--accent); border-color: var(--creme); }
#approche .btn:hover, .footer .btn:hover, .statement .btn:hover, .socle .btn:hover { background: var(--rose); color: var(--accent); border-color: var(--rose); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55), 0 0 0 6px rgba(243, 217, 220, .25); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:focus-visible { transform: none; } }
