@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Charte Tada House v0.2, direction A. Grille de 1 u = 1 pixel du logo ; le volume des cartes reprend celui de la maison. */
:root {
  --pistache: #C9D86A;
  --creme: #F5F1E6;
  --noir: #1A1814;
  --prune: #4E2342;
  --rose-prune: #E9C9DC;
  --filet: rgba(26, 24, 20, 0.28);
  --volume: 6px;
  --marge: clamp(20px, 4vw, 56px);
  --largeur: 1280px;
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--prune); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--prune); outline-offset: 3px; }

.icone { display: inline-block; width: 1em; height: auto; vertical-align: -0.1em; flex: none; }

.lien-evitement { position: absolute; left: -9999px; top: 0; background: var(--noir); color: var(--creme); padding: 12px 16px; z-index: 10; }
.lien-evitement:focus { left: 16px; top: 16px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }

.legende { font-stretch: 62%; font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.titre { font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; margin: 0; text-wrap: balance; }

/* Objets en volume : même extrusion que la maison */
.volume, .carte, .bouton, .demo__ecran, .public, .onglet[aria-pressed="true"] {
  box-shadow: var(--volume) var(--volume) 0 var(--noir);
}

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--noir); color: var(--creme);
  text-decoration: none; font-weight: 600; font-size: 16px;
  border: 1px solid var(--noir);
  box-shadow: var(--volume) var(--volume) 0 var(--prune);
  transition: transform .18s var(--ressort), box-shadow .18s var(--ressort), background .2s;
}
.bouton .icone { width: 14px; transition: transform .25s var(--ressort); }
.bouton:hover { color: var(--creme); transform: translate(-2px, -2px); box-shadow: calc(var(--volume) + 2px) calc(var(--volume) + 2px) 0 var(--prune); }
.bouton:hover .icone { transform: translateX(4px); }
.bouton:active { transform: translate(var(--volume), var(--volume)); box-shadow: 0 0 0 var(--prune); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.actions a:not(.bouton) { font-weight: 500; text-underline-offset: 4px; }

/* En-tête et accueil */
.accueil { background: var(--pistache); border-bottom: 1px solid var(--noir); overflow: hidden; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.entete__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.entete__logo img { width: 52px; height: 52px; transition: transform .3s var(--ressort); }
.entete__logo:hover img { transform: rotate(-8deg) scale(1.06); }
.entete__nom { font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav .nav__action::after { transform: scaleX(1); }
.nav .nav__action { font-weight: 600; }

.accroche {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px;
  align-items: center; padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px);
}
.accroche__titre { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.accroche__sur { margin: 0; display: flex; align-items: center; gap: 8px; }
.accroche__sur .icone { width: 14px; animation: tourne 6s linear infinite; }
.accroche h1 { font-size: clamp(42px, 6vw, 88px); }
.accroche__texte { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.accroche__texte p { margin: 0; font-size: 18px; }

.mot-change { display: inline-block; color: var(--prune); position: relative; }
.mot-change::after { content: ""; display: inline-block; width: 0.12em; height: 0.8em; margin-left: 0.02em; background: var(--prune); vertical-align: -0.04em; animation: clignote 1s steps(1) infinite; }

/* La maison : flotte, fume, et fait tada au clic */
.maison { grid-column: 9 / span 4; position: relative; justify-self: center; width: min(100%, 380px); }
.maison__bouton { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; animation: flotte 5s ease-in-out infinite; }
.maison__bouton img { width: 100%; height: auto; transition: transform .25s var(--ressort); }
.maison__bouton:hover img { transform: translate(-4px, -4px) rotate(-2deg); }
.maison__bouton:active img { transform: translate(4px, 4px) scale(.97); }
.maison__note { position: absolute; right: 0; bottom: -28px; opacity: .7; }
.fumee { position: absolute; left: var(--cheminee-x); top: var(--cheminee-y); width: 0; height: 0; pointer-events: none; animation: flotte 5s ease-in-out infinite; }
.fumee i { position: absolute; left: -7px; top: -14px; width: 14px; height: 14px; background: var(--creme); border: 2px solid var(--noir); opacity: 0; animation: fumee 3.2s steps(8) infinite; }
.fumee i:nth-child(2) { animation-delay: .8s; width: 12px; height: 12px; }
.fumee i:nth-child(3) { animation-delay: 1.6s; width: 10px; height: 10px; }
.fumee i:nth-child(4) { animation-delay: 2.4s; width: 8px; height: 8px; }

/* Bandeau défilant */
.bandeau { background: var(--noir); color: var(--creme); overflow: hidden; border-bottom: 1px solid var(--noir); }
.bandeau__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.bandeau__piste span { display: flex; align-items: center; gap: 18px; padding: 16px 9px; white-space: nowrap; font-stretch: 125%; font-weight: 700; font-size: 18px; }
.bandeau .icone { width: 14px; color: var(--pistache); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--noir); }
.section--pistache { background: var(--pistache); }
.section__tete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__tete .legende { grid-column: span 3; padding-top: 12px; }
.section__tete h2 { grid-column: span 9; font-size: clamp(32px, 4.4vw, 60px); }

/* Cartes de services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.carte {
  background: #FFFDF7; border: 1px solid var(--noir); padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s var(--ressort), box-shadow .2s var(--ressort);
}
.carte:hover { transform: translate(-4px, -4px); box-shadow: calc(var(--volume) + 4px) calc(var(--volume) + 4px) 0 var(--noir); }
.carte h3 { margin: 0; font-size: 26px; font-weight: 700; font-stretch: 112%; }
.carte p { margin: 0; }
.carte__icone {
  width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--noir);
  box-shadow: 4px 4px 0 var(--noir);
}
.carte__icone .icone { width: 36px; transition: transform .35s var(--ressort); }
.carte:hover .carte__icone .icone { transform: rotate(-10deg) scale(1.15); }
.carte__icone--pistache { background: var(--pistache); color: var(--noir); }
.carte__icone--prune { background: var(--prune); color: var(--rose-prune); }
.carte__icone--noir { background: var(--noir); color: var(--pistache); }
.liste-coches { list-style: none; margin: 0; padding: 0; }
.liste-coches li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--filet); font-size: 16px; }
.liste-coches li:last-child { border-bottom: 1px solid var(--filet); }
.liste-coches .icone { width: 14px; color: var(--prune); }
.carte__tarif { margin-top: auto; padding-top: 6px; }

/* Démos */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.demo { margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo__ecran { background: var(--creme); border: 1px solid var(--noir); height: 300px; overflow: hidden; position: relative; }
.demo figcaption { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.demo__icone { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--noir); color: var(--pistache); }
.demo__icone .icone { width: 18px; }

.navigateur { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--noir); background: #FFFDF7; }
.navigateur__points { display: flex; gap: 5px; }
.navigateur__points i { width: 8px; height: 8px; background: var(--noir); }
.navigateur__adresse { flex: 1; min-width: 0; padding: 3px 10px; border: 1px solid var(--filet); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-site { height: calc(100% - 46px); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; transition: background .4s, color .4s; }
.mini-site__nav { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.mini-site__nav b { font-stretch: 125%; font-size: 14px; }
.mini-site__titre { margin: 8px 0 0; font-stretch: 112%; font-weight: 800; font-size: 26px; line-height: 1.02; letter-spacing: -0.01em; }
.mini-site__info { margin: 0; font-size: 13px; }
.mini-site__bouton { margin-top: auto; align-self: flex-start; padding: 8px 14px; font-size: 13px; font-weight: 600; border: 1px solid currentColor; }
.mini-site[data-site-theme="pain"] { background: #F2D7A6; color: #3B2414; }
.mini-site[data-site-theme="pain"] .mini-site__bouton { background: #3B2414; color: #F2D7A6; }
.mini-site[data-site-theme="fleur"] { background: #F4C6CF; color: #2F1A33; }
.mini-site[data-site-theme="fleur"] .mini-site__bouton { background: #2F1A33; color: #F4C6CF; }
.mini-site[data-site-theme="garage"] { background: #1F2A36; color: #E8EEF2; }
.mini-site[data-site-theme="garage"] .mini-site__bouton { background: #F2C230; color: #1F2A36; border-color: #F2C230; }
.mini-site.change > * { animation: arrive .45s var(--ressort) both; }
.mini-site.change > *:nth-child(2) { animation-delay: .06s; }
.mini-site.change > *:nth-child(3) { animation-delay: .12s; }
.mini-site.change > *:nth-child(4) { animation-delay: .18s; }
.demo__onglets { display: flex; flex-wrap: wrap; gap: 10px; }
.onglet { min-height: 40px; padding: 6px 14px; border: 1px solid var(--noir); background: var(--creme); cursor: pointer; font-size: 14px; font-weight: 600; transition: transform .15s var(--ressort); }
.onglet:hover { transform: translateY(-2px); }
.onglet[aria-pressed="true"] { background: var(--noir); color: var(--creme); box-shadow: 3px 3px 0 var(--prune); }

.discussion__entete { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--noir); font-size: 13px; font-weight: 600; background: #FFFDF7; }
.pastille { width: 8px; height: 8px; background: #2E9E5B; animation: clignote 2s steps(1) infinite; }
.discussion { list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.message { max-width: 85%; padding: 9px 12px; font-size: 14px; line-height: 1.35; border: 1px solid var(--noir); }
.message--client { align-self: flex-end; background: var(--noir); color: var(--creme); }
.message--auto { align-self: flex-start; background: var(--pistache); }
.message.entre { animation: arrive .4s var(--ressort) both; }
.message.cache { display: none; }
.message--points { display: flex; gap: 4px; padding: 12px; }
.message--points i { width: 6px; height: 6px; background: var(--noir); animation: rebond 0.9s infinite; }
.message--points i:nth-child(2) { animation-delay: .15s; }
.message--points i:nth-child(3) { animation-delay: .3s; }

.demo-reseaux { background: var(--noir); }
.fil { position: absolute; inset: 0; overflow: hidden; padding: 0 14px; }
.fil__piste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 8px; animation: monte 14s linear infinite; }
.post { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--creme); }
.post .icone { width: 40%; }
.post--1 { background: var(--pistache); color: var(--noir); }
.post--2 { background: var(--prune); color: var(--rose-prune); }
.post--3 { background: var(--creme); color: var(--noir); }
.post--4 { background: var(--rose-prune); color: var(--prune); }
.post--5 { background: #2B3BEE; color: #F7E9BC; }
.post--6 { background: #F7E9BC; color: var(--noir); }
.notif {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: var(--creme); border: 1px solid var(--noir); box-shadow: 4px 4px 0 var(--pistache);
  font-size: 13px; font-weight: 600; animation: notif 5s var(--ressort) infinite;
}
.notif .icone { width: 14px; color: var(--prune); }

/* Méthode */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.etapes::before {
  content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--noir) 0 8px, transparent 8px 16px);
  background-size: 32px 2px; animation: pointilles 1.2s linear infinite; z-index: 0;
}
.etapes li { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.etape__icone {
  width: 64px; height: 64px; display: grid; place-items: center; background: var(--creme); border: 1px solid var(--noir);
  box-shadow: 4px 4px 0 var(--noir); transition: transform .3s var(--ressort), background .2s;
}
.etape__icone .icone { width: 28px; }
.etapes li:hover .etape__icone { transform: translateY(-6px) rotate(-6deg); background: var(--pistache); }
.etapes h3 { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-stretch: 112%; }
.etapes p { margin: 0; font-size: 16px; }

/* Pour qui */
.publics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.public {
  display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--noir); background: #FFFDF7;
  font-stretch: 112%; font-weight: 700; font-size: 20px; transition: transform .2s var(--ressort), box-shadow .2s var(--ressort), background .2s;
}
.public .icone { width: 40px; color: var(--prune); transition: transform .35s var(--ressort); }
.public:hover { background: var(--pistache); transform: translate(-4px, -4px); box-shadow: calc(var(--volume) + 4px) calc(var(--volume) + 4px) 0 var(--noir); }
.public:hover .icone { transform: scale(1.2) rotate(8deg); }
.publics__texte { margin: 40px 0 0; max-width: 720px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; }

/* Tarifs */
.tarifs { display: flex; gap: 32px; align-items: flex-start; }
.tarifs__icone { width: 96px; height: 96px; flex: none; display: grid; place-items: center; background: var(--pistache); border: 1px solid var(--noir); box-shadow: 6px 6px 0 var(--noir); }
.tarifs__icone .icone { width: 48px; animation: balance 3s ease-in-out infinite; }
.tarifs__bloc { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.tarifs__bloc p { margin: 0; font-size: 19px; }

/* Grilles de tarifs */
.grilles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.grille { background: #FFFDF7; border: 1px solid var(--noir); box-shadow: var(--volume) var(--volume) 0 var(--noir); display: flex; flex-direction: column; min-width: 0; }
.grille__tete { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--noir); }
.grille__tete .carte__icone { width: 52px; height: 52px; box-shadow: 3px 3px 0 var(--noir); }
.grille__tete .carte__icone .icone { width: 26px; }
.grille__tete h3 { margin: 0; font-size: 22px; font-weight: 700; font-stretch: 112%; line-height: 1.1; }
.grille__tete p { margin: 2px 0 0; font-size: 14px; }
.formules { list-style: none; margin: 0; padding: 0; }
.formule { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; padding: 18px 24px; border-bottom: 1px solid var(--filet); }
.formule:last-child { border-bottom: 0; }
.formule__nom { font-stretch: 112%; font-weight: 700; font-size: 18px; }
.formule__prix { font-stretch: 112%; font-weight: 800; font-size: 18px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.formule__prix small { display: block; font-stretch: 62%; font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.formule__detail { grid-column: 1 / -1; margin: 0; font-size: 15px; }
.formule--phare { background: var(--pistache); }
.formule--phare .formule__nom::after { content: "Notre conseil"; margin-left: 10px; padding: 2px 8px; background: var(--noir); color: var(--pistache); font-stretch: 62%; font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 3px; }
.grille__pied { margin: 0; padding: 16px 24px; border-top: 1px solid var(--noir); font-size: 14px; }
.tarifs__notes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: center; margin-top: 48px; }
.tarifs__notes p { margin: 0; max-width: 680px; font-size: 17px; }

/* Contact et pied de page */
.contact { background: var(--noir); color: var(--creme); padding: clamp(72px, 10vw, 136px) 0 clamp(48px, 6vw, 80px); }
.contact .legende { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--pistache); }
.contact__icone .icone { width: 22px; animation: rebond 1.6s ease-in-out infinite; }
.contact a:hover { color: var(--pistache); }
.contact__mail {
  display: inline-block; margin-top: 20px; font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(19px, 4.4vw, 64px); line-height: 1; text-decoration: none; overflow-wrap: break-word;
  background: linear-gradient(var(--pistache), var(--pistache)) left bottom / 0 4px no-repeat; padding-bottom: 8px;
  transition: background-size .4s;
}
.contact__mail:hover { background-size: 100% 4px; }
.contact p { margin: 24px 0 0; max-width: 560px; }

.pied { background: var(--noir); color: var(--creme); }
.pied__tada { display: block; width: 100%; padding: 24px 0 0; border: 0; background: none; color: var(--pistache); cursor: pointer; }
.pied__tada .mot-pixel { width: 100%; height: auto; display: block; transition: transform .3s var(--ressort); }
.pied__tada:hover .mot-pixel { transform: translateY(-6px); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 32px; font-size: 14px; border-top: 1px solid rgba(245, 241, 230, 0.25); margin-top: 24px; }
.pied a:hover { color: var(--pistache); }

/* Confettis pixel */
.confetti { position: fixed; width: 10px; height: 10px; pointer-events: none; z-index: 50; border: 1px solid var(--noir); }

/* Pages de texte */
.page-texte { padding: clamp(48px, 7vw, 96px) 0; }
.page-texte h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 40px; }
.page-texte h2 { font-size: 22px; font-weight: 600; margin: 36px 0 8px; }
.page-texte p { margin: 0 0 12px; max-width: 720px; }
.entete--simple { border-bottom: 1px solid var(--noir); background: var(--pistache); }
.pied--simple .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }

/* Apparition au défilement (les éléments restent visibles sans ce support) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .apparition { animation: apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

@keyframes apparait { from { transform: translateY(48px) rotate(-1deg); } to { transform: none; } }
.insecable { white-space: nowrap; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fumee { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -90px); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes monte { to { transform: translateY(-50%); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes clignote { 50% { opacity: 0; } }
@keyframes rebond { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes balance { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes pointilles { to { background-position: 32px 0; } }
@keyframes notif { 0%, 8% { transform: translateY(140%); } 18%, 70% { transform: translateY(0); } 82%, 100% { transform: translateY(140%); } }

/* Tablette et mobile */
@media (max-width: 1100px) {
  .demos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grilles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes::before { display: none; }
}
@media (max-width: 900px) {
  .accroche__titre { grid-column: 1 / -1; }
  .maison { grid-column: 1 / -1; width: min(70%, 300px); order: -1; justify-self: start; }
  .maison__note { display: none; }
  .services, .demos, .grilles { grid-template-columns: 1fr; }
  .section__tete .legende, .section__tete h2 { grid-column: 1 / -1; }
  .tarifs { flex-direction: column; }
}
@media (max-width: 720px) {
  .nav .nav__secondaire { display: none; }
  .entete__nom { display: none; }
  .etapes, .publics { grid-template-columns: 1fr; }
  .maison { width: min(56%, 220px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .fumee, .notif { display: none; }
}

/* ===== Hero en motion design : la maison se construit, fait tada, les écrans flottent ===== */
.scene { grid-column: 8 / span 5; position: relative; width: 100%; aspect-ratio: 1; --px: 0; --py: 0; }
.scene__grille {
  position: absolute; inset: -12%; pointer-events: none; opacity: .14;
  background-image: linear-gradient(var(--noir) 1px, transparent 1px), linear-gradient(90deg, var(--noir) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  animation: grille 18s linear infinite;
}
.scene__maison { position: absolute; left: 12%; top: 16%; width: 76%; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.maison-anim { display: block; width: 100%; height: auto; overflow: visible; transition: transform .25s var(--ressort); }
.scene__maison:hover .maison-anim { transform: translate(-1.5%, -1.5%) rotate(-2deg); }
.scene__maison:active .maison-anim { transform: scale(.96); }
.maison-anim path { transform-box: fill-box; }

.joue .maison-anim { animation: flotte 5s ease-in-out 2.4s infinite; }
.joue .m-contour, .joue .m-facade { transform-origin: 50% 100%; animation: m-pousse .7s var(--ressort) .15s both; }
.joue .m-volume { animation: m-extrude .45s steps(5) .75s both; }
.joue .m-lettre { transform-origin: 50% 100%; animation: m-lettre .55s var(--ressort) both; }
.joue .m-lettre--1 { animation-delay: 1.05s; }
.joue .m-lettre--2 { animation-delay: 1.2s; }
.joue .m-lettre--3 { animation-delay: 1.35s; }
.joue .m-lettre--4 { animation-delay: 1.5s; }
.joue .fumee i { animation-delay: 2.2s; }
.joue .fumee i:nth-child(2) { animation-delay: 3s; }
.joue .fumee i:nth-child(3) { animation-delay: 3.8s; }
.joue .fumee i:nth-child(4) { animation-delay: 4.6s; }
.scene .fumee { z-index: 1; animation: flotte 5s ease-in-out 2.4s infinite; }

.scene__tada {
  position: absolute; left: 62%; top: 4%; z-index: 3; padding: 8px 14px; background: var(--noir); color: var(--pistache);
  font-stretch: 125%; font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: -0.02em;
  box-shadow: 4px 4px 0 var(--creme); transform-origin: 0 100%; opacity: 0;
}
.scene__tada::after { content: ""; position: absolute; left: 10px; bottom: -10px; border: 6px solid transparent; border-top-color: var(--noir); border-left-color: var(--noir); }
.joue .scene__tada { animation: tada-bulle 2.6s var(--ressort) 1.85s both; }

.flottant {
  position: absolute; z-index: 3; background: #FFFDF7; border: 1px solid var(--noir); box-shadow: 4px 4px 0 var(--noir);
  font-size: 12px; font-weight: 600; line-height: 1.2; opacity: 0;
  translate: calc(var(--px) * var(--prof, 10px)) calc(var(--py) * var(--prof, 10px));
  transition: translate .3s ease-out;
}
.flottant .icone { width: 12px; }
.joue .flottant { animation: arrive-flot .6s var(--ressort) both, derive 6s ease-in-out infinite; }
.flottant--site { left: -4%; top: 6%; width: 34%; padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; background: #F2D7A6; color: #3B2414; rotate: -6deg; --prof: 18px; }
.joue .flottant--site { animation-delay: 2.05s, 2.65s; }
.flottant--site b { font-stretch: 125%; font-size: 13px; }
.fl-barre { display: flex; gap: 4px; align-items: center; }
.fl-barre i { width: 6px; height: 6px; background: currentColor; }
.fl-ligne { height: 6px; background: currentColor; opacity: .35; }
.fl-ligne--courte { width: 60%; }
.fl-bouton { align-self: flex-start; padding: 3px 8px; background: #3B2414; color: #F2D7A6; font-size: 10px; }
.flottant--reel { right: -3%; top: 30%; width: 22%; aspect-ratio: 9 / 16; padding: 8px; background: var(--prune); color: var(--rose-prune); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; rotate: 5deg; --prof: -22px; }
.joue .flottant--reel { animation-delay: 2.25s, 2.85s; }
.fl-play { position: absolute; left: 50%; top: 40%; translate: -40% -50%; border: 14px solid transparent; border-left: 22px solid var(--rose-prune); border-right: 0; }
.fl-progression { height: 4px; background: rgba(233, 201, 220, .3); }
.fl-progression i { display: block; height: 100%; width: 0; background: var(--pistache); animation: progression 4s linear infinite; }
.fl-coeur { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.fl-coeur .icone { color: var(--pistache); animation: battement 1.2s ease-in-out infinite; }
.flottant--rdv { left: 0; bottom: 6%; padding: 9px 12px; display: flex; align-items: center; gap: 8px; rotate: 3deg; --prof: 14px; }
.flottant--rdv .icone { color: #2E9E5B; }
.joue .flottant--rdv { animation-delay: 2.45s, 3.05s; }
.flottant--ia { right: 4%; bottom: 0; padding: 9px 12px; display: flex; align-items: center; gap: 8px; background: var(--noir); color: var(--creme); box-shadow: 4px 4px 0 var(--prune); rotate: -4deg; --prof: -12px; }
.flottant--ia .icone { color: var(--pistache); }
.joue .flottant--ia { animation-delay: 2.65s, 3.25s; }
.scene__note { position: absolute; right: 0; bottom: -34px; opacity: .7; }

@keyframes grille { to { background-position: 22px 22px; } }
@keyframes m-pousse { from { transform: scale(.2, 0); } to { transform: none; } }
@keyframes m-extrude { from { transform: translate(-3px, -3px); } to { transform: none; } }
@keyframes m-lettre { from { opacity: 0; transform: translateY(-14px) scale(1, 1.4); } 60% { opacity: 1; transform: translateY(1px) scale(1.1, .85); } to { opacity: 1; transform: none; } }
@keyframes tada-bulle { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 18% { opacity: 1; transform: scale(1.08) rotate(3deg); } 28%, 78% { opacity: 1; transform: scale(1) rotate(-3deg); } 100% { opacity: 0; transform: scale(.8) rotate(-3deg) translateY(-12px); } }
@keyframes arrive-flot { from { opacity: 0; transform: scale(.5) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes derive { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes progression { to { width: 100%; } }
@keyframes battement { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }

/* ===== Réalisations ===== */
.projets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.projet { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.projet__ecran {
  display: block; border: 1px solid var(--noir); background: #FFFDF7; box-shadow: var(--volume) var(--volume) 0 var(--noir);
  overflow: hidden; text-decoration: none; transition: transform .25s var(--ressort), box-shadow .25s var(--ressort);
}
.projet__ecran .fl-barre { padding: 8px 10px; gap: 5px; border-bottom: 1px solid var(--noir); font-size: 12px; }
.projet__ecran .fl-barre i { width: 7px; height: 7px; background: var(--noir); }
.projet__ecran .fl-barre em { font-style: normal; margin-left: 8px; opacity: .7; }
.projet__ecran img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ressort); }
.projet__ecran:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: calc(var(--volume) + 4px) calc(var(--volume) + 4px) 0 var(--prune); color: inherit; }
.projet__ecran:hover img { transform: scale(1.05); }
.projet__texte h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; font-stretch: 112%; }
.projet__texte p { margin: 0 0 12px; font-size: 16px; }
.etiquettes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.etiquettes li { padding: 3px 9px; border: 1px solid var(--noir); font-stretch: 62%; font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.etiquettes li:first-child { background: var(--pistache); }

@media (max-width: 1100px) { .projets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .scene { grid-column: 1 / -1; order: -1; width: min(100%, 440px); justify-self: center; margin-top: 8px; }
  .scene__note { display: none; }
  .projets { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .flottant { font-size: 10px; }
  .flottant--ia { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flottant, .scene__tada { opacity: 1; }
  .scene__tada { display: none; }
}

/* Couvertures provisoires des réalisations (en attendant les captures) */
.couv { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; transition: transform .6s var(--ressort); }
.couv .icone { width: 44px; margin-bottom: auto; }
.couv b { font-stretch: 125%; font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1; }
.couv--noir { background: var(--noir); color: var(--creme); }
.couv--noir .icone { color: var(--pistache); }
.couv--rose { background: var(--rose-prune); color: var(--prune); }
.couv--pistache { background: var(--pistache); color: var(--noir); }
.couv--pistache .icone { color: var(--prune); }
.projet__ecran:hover .couv { transform: scale(1.04); }

/* ===== Version 6 : wording orienté résultat ===== */
.accroche__prix { font-stretch: 62%; font-weight: 600; font-size: 15px !important; letter-spacing: 0.04em; text-transform: uppercase; }
.fl-legende { display: block; flex-basis: 100%; font-style: normal; font-weight: 500; font-size: 10.5px; line-height: 1.2; opacity: .85; }
.flottant--rdv, .flottant--ia { flex-wrap: wrap; row-gap: 3px; }
.flottant--site .fl-legende { margin-top: 2px; }
.flottant--reel .fl-legende { color: var(--creme); }
.carte__service { color: var(--prune); }
.carte h3 { font-size: 24px; line-height: 1.15; text-wrap: balance; }
.carte__pourqui { font-size: 14px; font-weight: 600; }
