/* =====================================================================
   Rebecca Bedelia — feuille de style de la page d'accueil
   Couleurs de la charte, typo auto-hébergée, mises en page et animations.
   Aucune règle « en ligne » dans le HTML : tout est ici (compatible CSP).
   ===================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #8764F9;
  --fonce: #3D2B6E;
  --texte: #412F75;
  --lime: #D3F958;
  --lime-vif: #CEFF00;
  --orange: #F7931E;
  --lavande: #F3EFFF;
  --blanc: #FFFFFF;
  /* 1 unité de maquette : 1 px sur un écran de 1440 px, proportionnel en dessous */
  --u: min(1px, calc(100vw / 1440));
  --marge: max(20px, calc((100vw - 1240px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-optical-sizing: auto;
  color: var(--fonce);
  background: var(--blanc);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; } /* images : pas de glisser-déposer ni de menu « Enregistrer » sur téléphone */
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fonce); color: var(--blanc); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.lien-evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.conteneur { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.violet { color: var(--violet); }
.lime { color: var(--lime); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 55px; padding: 0 30px; border-radius: 999px; border: 3px solid var(--fonce);
  font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background-color .18s, color .18s;
}
.bouton:hover, .bouton:focus-visible { transform: rotate(-2deg) scale(1.03); }
.bouton-lime { background: var(--lime); color: var(--fonce); }
.bouton-lime:hover { background: var(--fonce); color: var(--lime); }
.bouton-fonce { background: var(--fonce); color: var(--blanc); }
.bouton-fonce:hover { background: var(--lime); color: var(--fonce); }
.bouton-blanc { background: var(--blanc); color: var(--fonce); border-color: var(--blanc); font-size: 19px; min-height: 57px; padding: 0 30px; }
.bouton-blanc:hover { background: var(--lime); border-color: var(--lime); }
.et { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Étiquettes ---------- */
.etiquette {
  display: inline-block; font-weight: 800; font-size: 15px; line-height: 1;
  padding: 6px 13px 5px; color: var(--blanc); transform: rotate(-2deg); transform-origin: left center;
}
.etiquette-violette { background: var(--violet); }
.etiquette-foncee { background: var(--fonce); }

/* =====================================================================
   EN-TÊTE
   ===================================================================== */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 30; padding-top: 50px; }
.entete-in { width: min(1240px, calc(100% - 40px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { position: relative; display: block; width: 115px; flex: none; }
.logo img:first-child { width: 115px; height: auto; }
.logo-fleur { position: absolute; left: 82px; top: 19px; width: 36px; height: auto; animation: tourne 8s linear infinite; }
.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.menu ul { display: flex; align-items: center; }
.menu-centre { gap: 13px; margin-left: calc(455px - 215px); }
@media (min-width: 1201px) {
  .entete-in { position: relative; }
  .menu { justify-content: flex-end; }
  .menu-centre { position: absolute; left: 50%; margin-left: 0; transform: translateX(-50%); }
}
.menu-droite { gap: 14px; }
.pilule {
  display: inline-flex; align-items: center; gap: 7px; height: 47px; padding: 0 16px;
  border: 2px solid var(--texte); border-radius: 999px; background: var(--blanc); color: var(--texte);
  font-weight: 800; font-size: 18px; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, color .18s, transform .18s;
}
.pilule:hover, .deroulant:focus-within > .pilule { background: var(--fonce); color: var(--blanc); }
.pilule .fl { width: 10px; height: 6px; fill: currentColor; transition: transform .2s; }
.deroulant:hover .pilule .fl, .deroulant:focus-within .pilule .fl, .deroulant.est-ouvert .pilule .fl { transform: rotate(180deg); }
.pilule-fonce { background: var(--fonce); color: var(--blanc); border-color: var(--fonce); }
.pilule-fonce:hover { background: var(--violet); border-color: var(--violet); }
.pilule-lime { background: var(--lime); color: var(--texte); }
.pilule-lime:hover { background: var(--fonce); color: var(--lime); transform: rotate(-2deg) scale(1.03); }
.burger { display: none; }

/* Menus déroulants */
.deroulant { position: relative; }
.sous-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; z-index: 40;
  display: flex; flex-direction: column !important; align-items: stretch !important;
  background: var(--blanc); border: 3px solid var(--fonce); border-radius: 18px; box-shadow: 6px 6px 0 var(--fonce);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px) rotate(-1deg);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sous-menu-court { min-width: 150px; }
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.deroulant:hover .sous-menu, .deroulant:focus-within .sous-menu, .deroulant.est-ouvert .sous-menu { opacity: 1; visibility: visible; transform: translateY(0) rotate(-1deg); }
.sous-menu a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--fonce); white-space: nowrap; }
.sous-menu a:hover, .sous-menu a:focus-visible { background: var(--lime); }
.sous-menu-tout { border-top: 2px solid var(--fonce); margin-top: 4px; padding-top: 4px; }
.sous-menu-tout a { font-weight: 800; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; height: calc(1100 * var(--u)); overflow: hidden;
  /* fond vagues à 75 % d'opacité : un voile blanc à 25 % par-dessus */
  background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)), url("../img/vagues.webp") no-repeat;
  background-size: 100% 100%, max(calc(1606 * var(--u)), 112vw) auto;
  background-position: 0 0, center calc(-554 * var(--u));
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: calc(959 * var(--u)); bottom: 0; background: var(--blanc); z-index: 3; }
.scene-hero { position: absolute; z-index: 2; top: 0; left: 50%; width: calc(1440 * var(--u)); height: 100%; transform: translateX(-50%); }

.titre { position: absolute; left: calc(9.4 * var(--u)); right: 0; top: calc(172 * var(--u)); z-index: 12; text-align: center; color: var(--fonce); font-weight: 800; line-height: 1; pointer-events: none; }
.titre-pre { display: block; font-size: calc(44 * var(--u)); letter-spacing: calc(-1.3 * var(--u)); text-shadow: calc(3 * var(--u)) calc(3 * var(--u)) 0 var(--blanc); }
.titre-grand { display: block; margin-top: calc(-4 * var(--u)); font-size: calc(181 * var(--u)); line-height: .86; letter-spacing: calc(-6.5 * var(--u));
  text-shadow: calc(6 * var(--u)) calc(6 * var(--u)) 0 var(--blanc), calc(-2 * var(--u)) calc(-2 * var(--u)) 0 var(--blanc); }
.titre-grand span span { display: inline-block; animation: lettre 1s both; }
.titre-grand span span:nth-child(1) { animation-delay: .90s; } .titre-grand span span:nth-child(2) { animation-delay: .96s; }
.titre-grand span span:nth-child(3) { animation-delay: 1.02s; } .titre-grand span span:nth-child(4) { animation-delay: 1.08s; }
.titre-grand span span:nth-child(5) { animation-delay: 1.14s; } .titre-grand span span:nth-child(6) { animation-delay: 1.26s; }
.titre-grand span span:nth-child(7) { animation-delay: 1.32s; } .titre-grand span span:nth-child(8) { animation-delay: 1.38s; }
.titre-grand span span:nth-child(9) { animation-delay: 1.44s; } .titre-grand span span:nth-child(10) { animation-delay: 1.50s; }
.titre-grand span span:nth-child(11) { animation-delay: 1.56s; }
.titre-cle { position: absolute; left: auto; right: calc(155 * var(--u)); top: calc(198 * var(--u)); display: inline-block; padding: calc(5 * var(--u)) calc(12 * var(--u)) calc(4 * var(--u));
  background: var(--fonce); color: var(--blanc); font-size: calc(16 * var(--u)); font-weight: 600; line-height: 1.2; white-space: nowrap; letter-spacing: 0;
  text-shadow: none; transform: rotate(-3deg); animation: pop .5s cubic-bezier(.34,1.56,.64,1) 1.9s both; --r: -3deg; }

.persos { position: absolute; inset: 0; z-index: 11; clip-path: inset(-400px -400px calc(141 * var(--u)) -400px); }
.perso { position: absolute; height: auto; transform-origin: 50% 100%; animation: monte .9s cubic-bezier(.34,1.56,.64,1) both;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.perso:hover { transform: translateY(calc(-10 * var(--u))) scale(1.03); z-index: 20; }
.persos:has(.perso:hover) { z-index: 13; }
.perso-1{left:calc(440.5*var(--u));top:calc(320.0*var(--u));width:calc(396.5*var(--u));z-index:1;animation-delay:.24s}
.perso-2{left:calc(623.5*var(--u));top:calc(324.0*var(--u));width:calc(285.5*var(--u));z-index:2;animation-delay:.33s}
.perso-3{left:calc(302.5*var(--u));top:calc(324.5*var(--u));width:calc(283.5*var(--u));z-index:3;animation-delay:.42s}
.perso-4{left:calc(785.0*var(--u));top:calc(325.5*var(--u));width:calc(334.0*var(--u));z-index:4;animation-delay:.51s}
.perso-5{left:calc(421.0*var(--u));top:calc(448.0*var(--u));width:calc(284.5*var(--u));z-index:5;animation-delay:.60s}
.perso-6{left:calc(842.5*var(--u));top:calc(455.0*var(--u));width:calc(326.0*var(--u));z-index:6;animation-delay:.69s}
.perso-7{left:calc(183.5*var(--u));top:calc(562.5*var(--u));width:calc(383.0*var(--u));z-index:7;animation-delay:.78s}
.perso-8{left:calc(771.5*var(--u));top:calc(565.0*var(--u));width:calc(412.5*var(--u));z-index:8;animation-delay:.87s}
.perso-9{left:calc(510.5*var(--u));top:calc(513.0*var(--u));width:calc(459.5*var(--u));z-index:9;animation-delay:.96s}

.sticker { position: absolute; z-index: 13; display: grid; place-items: center; background: var(--lime); color: var(--fonce);
  border: calc(4 * var(--u)) solid var(--fonce); border-radius: 50%; box-shadow: calc(4 * var(--u)) calc(5 * var(--u)) 0 var(--fonce);
  font-weight: 800; line-height: 1; text-align: center; animation: pop .6s cubic-bezier(.34,1.56,.64,1) both, balance-sticker 2.4s ease-in-out 2.2s infinite; }
.sticker-designer { left: calc(159.7 * var(--u)); top: calc(160 * var(--u)); width: calc(216 * var(--u)); height: calc(87 * var(--u)); font-size: calc(24 * var(--u)); --r: -14deg; animation-delay: 1.6s, 2.2s; }
.sticker-illu { left: calc(1024.7 * var(--u)); top: calc(205 * var(--u)); width: calc(173 * var(--u)); height: calc(43 * var(--u)); font-size: calc(15 * var(--u)); --r: 12deg; animation-delay: 1.75s, 2.4s; }
.sticker-designer span { transform: translateY(calc(1 * var(--u))); }

.bande { position: absolute; left: 50%; width: calc(3000 * var(--u)); min-width: 200vw; z-index: 14; overflow: hidden;
  border-block: calc(3 * var(--u)) solid var(--fonce); transform: translateX(-50%) rotate(var(--r)); }
.bande-lime { top: calc(932 * var(--u)); background: var(--lime); color: var(--fonce); --r: -1.95deg; z-index: 15; }
.bande-violette { top: calc(974 * var(--u)); background: var(--fonce); color: var(--blanc); --r: 1.95deg; }
.defile { display: flex; align-items: center; gap: 0; width: max-content; height: calc(66 * var(--u));
  font-weight: 800; font-size: calc(25 * var(--u)); text-transform: uppercase; white-space: nowrap; animation: defile 60s linear infinite; }
/* espace porté par chaque élément (et non par gap) : les deux moitiés sont identiques, la boucle ne saute pas */
.defile > * { margin-right: calc(30 * var(--u)); }
.defile-inverse { animation-direction: reverse; animation-duration: 69s; }
.defile svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); flex: none; }
.bande-lime svg { fill: var(--violet); }
.bande-violette svg { color: var(--lime); fill: var(--lime); }
.bande:hover .defile { animation-play-state: paused; }

/* =====================================================================
   MANIFESTE
   ===================================================================== */
.manifeste { position: relative; z-index: 5; background: var(--blanc); padding: calc(50 * var(--u)) 20px calc(104 * var(--u)); }
.manifeste p { max-width: 860px; margin-inline: auto; text-align: center; color: var(--texte); font-weight: 800;
  font-size: clamp(28px, calc(48 * var(--u)), 48px); line-height: 1.04; letter-spacing: -.027em; }
.manifeste mark { background: var(--lime-vif); color: inherit; padding: 0 .06em; }
.manifeste em { font-style: normal; color: #9A76FF; }

/* =====================================================================
   À PROPOS
   ===================================================================== */
.a-propos { position: relative; background: var(--lavande); border-top: 5px solid var(--fonce); padding: 95px 0 79px; }
.a-propos-in { position: relative; width: min(1240px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 600px minmax(0, 1fr); column-gap: 46px; }
.ligne-lime { position: absolute; top: -4px; left: calc(var(--marge) + 567px); width: 490px; height: auto; z-index: 1; pointer-events: none; }
.a-propos-visuel { position: relative; z-index: 3; }
.colle { position: sticky; top: 40px; }
.portrait { position: relative; width: 545px; margin-left: 26px; aspect-ratio: 1089 / 967; }
.portrait-photo, .portrait-alter { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .35s; }
.portrait-alter { opacity: 0; height: 100%; object-fit: contain; transform: scale(.92) rotate(-3deg); transition: opacity .35s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.portrait.alter .portrait-alter { transform: none; }
.portrait.alter .portrait-alter { opacity: 1; }
.portrait.alter .portrait-photo { opacity: 0; }
.portrait-hello { transition: opacity .3s, visibility .3s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.portrait.alter .portrait-hello { opacity: 0; visibility: hidden; }
.portrait-hello { position: absolute; left: 348px; top: -28px; width: 202px; height: auto; animation: balance-hello 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.bascule { display: flex; justify-content: center; gap: 8px; margin: 34px 0 0 26px; width: 545px; }
.bascule-btn { height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--fonce); background: var(--blanc); color: var(--fonce); font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .15s; }
.bascule-btn:hover { transform: rotate(-2deg); }
.bascule-btn.est-actif { background: var(--fonce); color: var(--lime); }

.a-propos-texte { position: relative; z-index: 2; padding-top: 7px; color: var(--texte); }
.a-propos-titre { font-size: 55px; line-height: 52px; font-weight: 800; letter-spacing: -.01em; }
.a-propos-intro { margin-top: 30px; font-size: 22.9px; line-height: 1.2; font-weight: 400; }
.fils { margin-top: 26px; display: grid; gap: 15px; }
.fils li { display: flex; align-items: center; gap: 15px; font-weight: 800; font-size: 18.6px; }
.fils .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #C7EA00; font-size: 14px; flex: none; }
.a-propos-texte-p { margin-top: 18px; max-width: 575px; font-size: 18px; line-height: 1.22; }
.citation { position: relative; z-index: 3; margin: 42px 0 0 37px; width: 370px; background: var(--fonce); color: var(--blanc); padding: 22px 20px 20px; transform: rotate(-2deg); }
.citation p { font-size: 17.8px; line-height: 25.3px; }
.citation strong { font-weight: 400; color: #C8F23A; }
.a-propos-plus { position: relative; z-index: 3; margin: 34px 0 0 37px; }
@media (max-width: 1200px) { .a-propos-plus { margin-left: 0; } }

/* =====================================================================
   FRISE
   ===================================================================== */
.frise { --fw: calc(2115 * var(--u)); --dx: calc(32.5 * var(--u)); position: relative; z-index: 5; overflow-x: clip;  /* la frise est coupée aux bords de l'écran : pas de bande blanche sur le côté */ height: calc(var(--fw) * 441 / 2115); }
.frise-fond { position: absolute; inset: 0; background: #0f4a22 url("../img/frise-fond.webp") center / cover; }
.frise-persos { position: absolute; left: calc(50% + var(--dx)); top: calc(var(--fw) * -32.3 / 2115); width: var(--fw); max-width: none; height: auto; transform: translateX(-50%); }
/* Jusqu'à 1440 px les côtés de la frise sont coupés ; au-delà elle se dévoile peu à peu, et dès 1680 px on la voit en entier */
@media (min-width: 1441px) { .frise { --fw: calc(2115px - (100vw - 1440px) * 1.8125); --dx: calc((1680px - 100vw) * .1354); } }
@media (min-width: 1680px) { .frise { --fw: 100vw; --dx: 0px; } }

/* =====================================================================
   PROJETS
   ===================================================================== */
.projets { position: relative; z-index: 4; background: var(--lavande); padding: 117px 0 81px; }
.projets-tete { display: flex; justify-content: space-between; align-items: flex-start; }
.titre-section { font-size: 64px; line-height: 64px; font-weight: 800; letter-spacing: -.01em; }
.projets .titre-section .violet { display: block; }
.projets-tete .bouton { margin-top: 2px; }
.grille-projets { margin-top: 19px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.carte-projet { display: block; text-decoration: none; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.carte-projet img { width: 100%; aspect-ratio: 606 / 456; object-fit: cover; border: 3px solid var(--fonce); border-bottom: 0; background: #ddd; }
.carte-projet-legende { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 59px; padding: 0 20px; background: var(--blanc);
  border: 3px solid var(--fonce); font-weight: 800; font-size: 20px; color: var(--fonce); transition: background-color .2s; }
.carte-projet:hover { transform: translateY(-4px); }
.carte-projet:hover .carte-projet-legende { background: var(--lime); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { padding: 100px 0 118px; }
.services .titre-section { margin-top: 22px; }
.chapo { margin-top: 20px; font-size: 20px; line-height: 24px; font-weight: 500; }
.grille-services { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; row-gap: 27px; }
.carte { position: relative; min-height: 213px; padding: 36px 30px 24px; border: 3px solid var(--fonce); border-radius: 28px; box-shadow: 6px 6px 0 var(--fonce);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.carte-basse { min-height: 186px; }
.carte:hover { transform: translateY(-4px) rotate(-.5deg); }
.carte-num { display: block; font-size: 16px; font-weight: 600; }
.carte h3 { margin-top: 14px; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -.005em; }
.carte p { margin-top: 10px; max-width: 335px; font-size: 17px; line-height: 24.6px; }
.carte-lime { background: var(--lime); }
.carte-blanche { background: var(--blanc); }
.carte-blanche .carte-num { color: var(--violet); }
.carte-violette { background: var(--violet); color: var(--blanc); }
.carte-violette .carte-num, .carte-foncee .carte-num { color: var(--lime); }
.carte-foncee { background: var(--fonce); color: var(--blanc); box-shadow: 6px 6px 0 var(--violet); }

/* =====================================================================
   À COLLECTIONNER
   ===================================================================== */
.collection { background: var(--lavande); padding: 92px 0 110px; }
.titre-collection { display: flex; align-items: flex-end; gap: 16px; font-size: 72px; line-height: 1; font-weight: 800; }
.pastille-lime { display: inline-block; padding: 6px 22px 12px; background: var(--lime); border: 3px solid var(--fonce); border-radius: 16px;
  box-shadow: 4px 5px 0 var(--fonce); transform: rotate(2deg) translateY(-14px); }
.collection .chapo { margin-top: 18px; font-weight: 400; }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.onglet { display: inline-flex; align-items: center; height: 49px; padding: 0 21px; border: 2px solid var(--fonce); border-radius: 999px; background: var(--blanc);
  font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .15s, background-color .15s; }
.onglet:hover { transform: rotate(-2deg); }
.onglets .onglet { cursor: default; user-select: none; }  /* étiquettes décoratives : elles bougent au survol mais ne mènent nulle part */
.onglet.est-actif { background: var(--lime); box-shadow: 3px 3px 0 var(--fonce); }
.boutique { margin-top: 43px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 3px solid var(--fonce); border-radius: 26px; overflow: hidden; box-shadow: 4px 5px 0 var(--fonce); min-height: 285px; }
.boutique-texte { background: var(--orange); padding: 50px 24px 50px 47px; display: flex; flex-direction: column; align-items: flex-start; }
.boutique-texte h3 { font-size: 44px; line-height: 1; font-weight: 800; }
.boutique-texte p { margin-top: 12px; font-size: 18px; line-height: 26px; font-weight: 500; }
.boutique-texte .bouton { margin-top: 22px; }
.boutique-photo { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: 94px 0 140px; }
.contact-in { width: min(1240px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 583px minmax(0, 1fr); }
.contact-visuel { position: relative; }
.colle-contact { position: sticky; top: 40px; width: 534px; margin-left: -2px; margin-top: 60px; height: auto; }
.contact-col { position: relative; }
.contact-titre { margin-top: 24px; font-size: 68px; line-height: 67px; font-weight: 800; }
.contact-chapo { margin-top: 16px; font-size: 20px; line-height: 25px; font-weight: 700; }
.formulaire { position: relative; margin-top: 29px; width: 653px; max-width: 100%; display: grid; gap: 16px; padding: 31px 32px 32px; background: var(--blanc);
  border: 3px solid var(--fonce); border-radius: 26.5px; box-shadow: 8px 8px 0 var(--fonce); }
.ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; height: 48px; padding: 0 14px; border: 2px solid var(--fonce); border-radius: 12px; background: var(--blanc); font-weight: 700; font-size: 15px; }
.formulaire textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(135,100,249,.25); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--fonce); border-bottom: 2.5px solid var(--fonce); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.bouton-envoyer { justify-self: start; margin-top: 2px; min-height: 57px; font-size: 18px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   BANDE FINALE + SIGNATURE
   ===================================================================== */
.bande-finale { background: var(--fonce); color: var(--blanc); }
.bande-finale-in { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bande-finale p { font-size: 26px; line-height: 35px; font-weight: 500; }

.signature { position: relative; height: calc(480 * var(--u)); overflow: hidden;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 55%, #fff 100%), url("../img/vagues.webp") no-repeat;
  background-size: 100% 100%, max(calc(1628 * var(--u)), 113vw) auto; background-position: 0 0, center calc(-745 * var(--u)); }
.signature-piste { position: absolute; left: calc(-192 * var(--u)); top: 0; bottom: 0; display: flex; align-items: center; width: max-content; animation: defile 28s linear infinite; }
.signature-tuile { position: relative; flex: none; width: calc(1144 * var(--u)); }
.signature-tuile > img:first-child { width: calc(925 * var(--u)); max-width: none; height: auto; }
.signature-fleur { position: absolute; left: calc(644 * var(--u)); top: calc(148 * var(--u)); width: calc(285 * var(--u)); max-width: none; height: auto; animation: tourne 9s linear infinite; }

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.pied { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 118px; padding: 0 40px; background: var(--fonce); color: var(--blanc); font-weight: 700; }
.pied-copy { font-size: 18px; }
.pied-reseaux { display: flex; gap: 10px; margin-left: 120px; }
.pastille { display: inline-flex; align-items: center; height: 38px; padding: 0 19px; border-radius: 999px; background: var(--blanc); color: var(--fonce); font-size: 15px; text-decoration: none; transition: transform .15s; }
.pastille-insta { background: var(--lime); }
.pastille:hover { transform: rotate(-3deg); }
.pied-legal { display: flex; gap: 16px; font-size: 15px; }
.pied-legal a { text-underline-offset: 3px; }
.pied-legal a:hover { color: var(--lime); }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes lettre {
  0% { transform: translateY(-160%) rotate(-8deg); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  10% { opacity: 1; }
  50% { transform: translateY(0) rotate(0); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  66% { transform: translateY(-16%) rotate(2deg); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  80% { transform: translateY(0) rotate(0); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  90% { transform: translateY(-5%); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes monte { 0% { opacity: 0; transform: translateY(calc(120 * var(--u))) scale(.92); } 60% { opacity: 1; transform: translateY(calc(-10 * var(--u))) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.15) rotate(var(--r)); } 100% { transform: scale(1) rotate(var(--r)); } }
@keyframes balance { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) + 3deg)); } }
@keyframes balance-hello { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes balance-sticker { 0%, 100% { transform: rotate(calc(var(--r) - 7deg)); } 50% { transform: rotate(calc(var(--r) + 7deg)); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sticker-designer { transform: rotate(-14deg); } .sticker-illu { transform: rotate(12deg); }
}

/* =====================================================================
   ÉCRANS MOYENS ET PETITS
   ===================================================================== */
@media (max-width: 1200px) {
  .menu-centre { margin-left: 0; }
  .a-propos-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .portrait, .bascule { width: calc(100% - 40px); margin-left: 26px; }
  .portrait-hello { left: 62%; } .citation { margin-left: 0; }
  .ligne-lime { display: none; }
  .contact-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; }
  .colle-contact { width: 100%; }
  .pied-reseaux { margin-left: 0; }
}

@media (max-width: 900px) {
  .entete { padding-top: 16px; }
  .burger { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border: 2px solid var(--fonce); border-radius: 50%; background: var(--blanc); cursor: pointer; }
  .burger span:not(.sr) { width: 20px; height: 2.5px; background: var(--fonce); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 14px; background: var(--lavande); padding: 90px 20px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .menu.est-ouvert { opacity: 1; visibility: visible; z-index: 50; }
  .entete-in { position: relative; z-index: 60; }
  .logo, .burger { position: relative; z-index: 70; }
  .menu ul { flex-direction: column; gap: 12px; margin: 0; }
  .menu .sous-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; margin-top: 10px; min-width: 260px; box-shadow: 4px 4px 0 var(--fonce); }
  .deroulant.est-ouvert .sous-menu { display: flex; transform: none; }
  .deroulant:hover .sous-menu { transform: none; }
  .deroulant { display: flex; flex-direction: column; align-items: center; }
  .pilule { font-size: 20px; height: 52px; }

  .sticker { display: none; }
  .hero { height: calc(1100 * var(--u) + 40px); }
  .scene-hero { top: 40px; }

  .a-propos { padding: 60px 0; }
  .a-propos-in { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .colle { position: static; }
  .portrait, .bascule { width: min(545px, calc(100% - 30px)); margin-inline: auto; }
  .portrait-hello { left: 62%; width: 36%; top: -4%; }
  .a-propos-titre { font-size: 40px; line-height: 40px; }
  .citation { width: auto; max-width: 400px; margin: 34px 6px 0; }

  .projets { padding: 90px 0 70px; }
  .projets-tete { flex-direction: column; gap: 20px; }
  .titre-section { font-size: 44px; line-height: 46px; }
  .grille-projets, .grille-services { grid-template-columns: 1fr; }
  .carte-projet-legende { font-size: 16px; padding: 0 14px; }
  .services { padding: 70px 0; }
  .titre-collection { font-size: min(40px, 10.5vw); gap: 10px; }
  .pastille-lime { padding: 4px 14px 8px; transform: rotate(2deg) translateY(-8px); }
  .boutique { grid-template-columns: 1fr; }
  .boutique-photo { aspect-ratio: 620 / 279; height: auto; }
  .boutique-texte { padding: 34px 26px; }
  .collection { padding: 70px 0; }

  .contact { padding: 70px 0; }
  .contact-in { grid-template-columns: minmax(0, 1fr); }
  .contact-visuel { order: 2; }
  .colle-contact { position: static; width: min(420px, 90%); margin: 40px auto 0; }
  .contact-titre { font-size: 48px; line-height: 48px; }
  .formulaire { padding: 22px 20px; }
  .ligne-2 { grid-template-columns: 1fr; }

  .bande-finale-in { flex-direction: column; align-items: flex-start; padding: 40px 0; }
  .bande-finale p { font-size: 21px; line-height: 29px; }
  .br-d { display: none; }
  .pied { flex-direction: column; justify-content: center; padding: 34px 20px; text-align: center; }
}

/* =====================================================================
   MENU MOBILE — d'après les maquettes XD « 01-menu-mobile » (390 × 844)
   ===================================================================== */
@media (max-width: 900px) {
  .menu { background: #F98B10; justify-content: center; gap: 12px; padding: 96px 20px 40px; }
  .menu:has(.deroulant.est-ouvert) { justify-content: flex-start; padding-top: 108px; }  /* un sous-menu ouvert : la liste part du haut */
  body.menu-ouvert { overflow: hidden; }
  .menu ul { gap: 12px; }
  .menu .pilule { height: 52px; padding: 0 15px; gap: 8px; border: 2px solid var(--fonce); font-size: 20px; font-weight: 800; color: #402F75; }
  .menu .pilule .fl { width: 11px; height: 7px; }
  .menu .deroulant .pilule .fl { transform: none; }  /* la flèche reste vers le bas, comme sur la maquette */
  .menu .pilule-fonce { background: var(--fonce); color: var(--blanc); }
  .menu .pilule-lime { background: #CEFF00; color: #402F75; }
  .menu .pilule .et { width: 17px; height: 17px; }
  /* bouton du sous-menu ouvert : foncé, avec un contour décalé */
  .menu .deroulant.est-ouvert > .pilule { background: var(--fonce); color: var(--blanc); outline: 2px solid var(--fonce); outline-offset: 3.5px; }
  /* carte du sous-menu */
  .menu .sous-menu { width: min(322px, calc(100vw - 56px)); min-width: 0; margin: 14px 0 15px; padding: 6.5px; gap: 9px;
    border: 3px solid var(--fonce); border-radius: 18px; box-shadow: 6px 6px 0 var(--fonce); transform: rotate(-1deg); }
  .deroulant.est-ouvert .sous-menu, .deroulant:hover .sous-menu { transform: rotate(-1deg); }
  .menu .sous-menu a { padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-align: left; white-space: nowrap; }
  .menu .sous-menu-tout { margin-top: 0; padding-top: 8px; }
  .menu .sous-menu-court { width: 250px; }
  .menu .sous-menu-court a { font-size: 13px; font-weight: 800; }
  /* burger devenu croix : rond blanc + anneau citron */
  .burger[aria-expanded="true"] { box-shadow: 0 0 0 3.5px #F98B10, 0 0 0 5.5px #CEFF00; }
  .burger[aria-expanded="true"] span:not(.sr) { width: 16px; height: 4px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* =====================================================================
   HERO MOBILE — d'après la maquette XD « Plan de travail – 1 » (390 × 844)
   1 unité --m = 1 px sur un écran de 390 px, proportionnel autour
   ===================================================================== */
@media (max-width: 600px) {
  :root { --m: calc(100vw / 390); --titre-y: 91; --grand-y: -0.9; }
  /* en-tête : burger à gauche, logo centré */
  .burger { order: -1; width: 46px; height: 46px; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .entete-in { justify-content: flex-start; min-height: 47px; }

  .hero { height: calc(560 * var(--m));
    background-size: 100% 100%, calc(436.7 * var(--m)) auto;
    background-position: 0 0, center calc(-33 * var(--m)); }
  .hero::after { top: calc(535 * var(--m)); }
  .scene-hero { top: 0; left: 0; width: 100%; transform: none; }

  .titre { left: 0; right: 0; top: calc(var(--titre-y, 88) * var(--m)); }
  .titre-pre { font-size: calc(11.92 * var(--m)); letter-spacing: -.029em; text-shadow: calc(.8 * var(--m)) calc(.8 * var(--m)) 0 var(--blanc); }
  .titre-grand { margin-top: calc(var(--grand-y, 0) * var(--m)); font-size: calc(50 * var(--m)); line-height: calc(45 * var(--m)); letter-spacing: -.035em;
    text-shadow: calc(1.6 * var(--m)) calc(1.9 * var(--m)) 0 var(--blanc), calc(-.5 * var(--m)) calc(-.5 * var(--m)) 0 var(--blanc); }
  .titre-grand > span { display: inline-block; max-width: calc(150 * var(--m)); }  /* FINAL / GIRLS. sur deux lignes */
  .titre-cle { left: calc(113.05 * var(--m)); right: auto; top: calc((194.76 - var(--titre-y, 88)) * var(--m)); box-sizing: border-box;
    width: calc(163.73 * var(--m)); height: calc(14.46 * var(--m)); padding: 0 0 0 calc(5.9 * var(--m));
    font-size: calc(8 * var(--m)); font-weight: 400; line-height: calc(15.6 * var(--m)); text-align: left;
    transform-origin: 0 0; transform: rotate(2deg); --r: 2deg; }

  .persos { clip-path: none; }
  .perso-1{left:calc(86.5*var(--m));top:calc(210.1*var(--m));width:calc(163.9*var(--m))}
  .perso-2{left:calc(162.1*var(--m));top:calc(212.4*var(--m));width:calc(118.0*var(--m))}
  .perso-3{left:calc(29.4*var(--m));top:calc(212.7*var(--m));width:calc(117.2*var(--m))}
  .perso-4{left:calc(228.9*var(--m));top:calc(213.3*var(--m));width:calc(138.1*var(--m))}
  .perso-5{left:calc(78.4*var(--m));top:calc(285.0*var(--m));width:calc(117.6*var(--m))}
  .perso-6{left:calc(201.6*var(--m));top:calc(289.1*var(--m));width:calc(134.8*var(--m))}
  .perso-7{left:calc(-19.8*var(--m));top:calc(352.0*var(--m));width:calc(158.3*var(--m))}
  .perso-8{left:calc(223.3*var(--m));top:calc(353.5*var(--m));width:calc(170.5*var(--m))}
  .perso-9{left:calc(115.4*var(--m));top:calc(323.0*var(--m));width:calc(189.9*var(--m))}

  .sticker { display: grid; border-width: 1px; box-shadow: calc(1.2 * var(--m)) calc(1.2 * var(--m)) 0 var(--fonce); }
  .sticker-designer { left: calc(88.6 * var(--m)); top: calc(82.1 * var(--m)); width: calc(65.2 * var(--m)); height: calc(30.5 * var(--m)); font-size: calc(8 * var(--m)); line-height: 1.125; --r: -25deg; }
  .sticker-illu { left: calc(228.3 * var(--m)); top: calc(138.8 * var(--m)); width: calc(55.1 * var(--m)); height: calc(17.8 * var(--m)); font-size: calc(6 * var(--m)); --r: 12deg; }

  .bande-lime { top: calc(517.95 * var(--m) - 36.7 * var(--u)); }
  .bande-violette { top: calc(529.93 * var(--m) - 36.7 * var(--u)); }

  .manifeste { padding: calc(30 * var(--m)) calc(25.5 * var(--m)) 60px; }
  .manifeste p { max-width: calc(339 * var(--m)); font-size: calc(25 * var(--m)); line-height: calc(30 * var(--m)); letter-spacing: -.027em; }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .sticker-designer { transform: rotate(-25deg); } .sticker-illu { transform: rotate(12deg); } .titre-cle { transform: rotate(2deg); }
}

/* Page « Merci » après l'envoi du formulaire : en-tête du site, fond vagues (75 %), carte blanche lisible au centre */
.merci { position: relative; display: grid; place-items: center; min-height: max(640px, calc(100vh - 118px)); padding: 170px 20px 90px;
  background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)), url("../img/vagues.webp") center 38% / max(1606px, 112vw) auto no-repeat, var(--violet);
  border-bottom: 3px solid var(--fonce); }
.merci-carte { position: relative; width: min(620px, 100%); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 54px 48px 50px; text-align: center;
  background: var(--blanc); border: 3px solid var(--fonce); border-radius: 24px; box-shadow: 8px 8px 0 var(--fonce); transform: rotate(-1deg);
  animation: pop .6s cubic-bezier(.34,1.56,.64,1) both; --r: -1deg; }
.merci-fleur { position: absolute; right: -62px; top: -78px; width: 160px; height: auto; animation: tourne 9s linear infinite; }
.merci-titre { font-size: 96px; line-height: .9; font-weight: 800; letter-spacing: -3px; color: var(--fonce); }
.merci-chapo { max-width: 420px; font-size: 21px; line-height: 1.4; color: var(--texte); }
.merci .bouton { margin-top: 6px; }
@media (max-width: 600px) {
  .merci { padding: 130px 20px 70px; }
  .merci-carte { padding: 44px 24px 36px; }
  .merci-fleur { right: -14px; top: -48px; width: 88px; }
  .merci-titre { font-size: 64px; letter-spacing: -2px; }
  .merci-chapo { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .merci-carte, .merci-fleur { animation: none; } }

/* MENU MOBILE SANS DÉROULANT (≤ 900 px) : Portfolio et Illustration mènent directement à leur page */
@media (max-width: 900px) {
  .menu .sous-menu, .deroulant:hover .sous-menu, .deroulant:focus-within .sous-menu { display: none !important; }
  .menu .deroulant .pilule .fl { display: none; }
  .menu .deroulant:focus-within > .pilule { background: var(--blanc); color: #402F75; }
  .menu .deroulant > .pilule:hover { background: var(--fonce); color: var(--blanc); }
}

/* En-tête dès que le burger apparaît (900 px et moins, iPad mini compris) :
   burger à gauche, logo au milieu, comme sur téléphone et sur la galerie */
@media (max-width: 900px) {
  .burger { order: -1; width: 46px; height: 46px; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .entete-in { justify-content: flex-start; min-height: 47px; }
}

/* Tablette (601-900 px, iPad mini) : les stickers « Designer graphique » et « Illustratrice » restent affichés, à leur place du desktop */
@media (min-width: 601px) and (max-width: 900px) {
  .sticker { display: grid; }
}

/* Tablette (601-900 px, iPad mini) : section À propos sur 2 colonnes
   (photo à gauche, texte à droite), textes et encadré violet resserrés */
@media (min-width: 601px) and (max-width: 900px) {
  .a-propos { padding: 60px 0; }
  .a-propos-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 28px; row-gap: 0; }
  .colle { position: sticky; top: 40px; }  /* la photo suit le défilement, comme sur ordinateur */
  .portrait, .bascule { width: 100%; margin-left: 0; }
  .portrait-hello { left: 58%; width: 38%; top: -6%; }
  .bascule { flex-wrap: wrap; margin-top: 24px; }
  .bascule-btn { font-size: 14px; padding: 0 13px; }
  .a-propos-texte { padding-top: 0; }
  .a-propos-titre { font-size: 32px; line-height: 1.05; }
  .a-propos-intro { margin-top: 16px; font-size: 17px; }
  .fils { margin-top: 16px; gap: 10px; }
  .fils li { gap: 10px; font-size: 15px; }
  .fils .num { width: 24px; height: 24px; font-size: 12px; }
  .a-propos-texte-p { margin-top: 14px; font-size: 15px; line-height: 1.3; }
  .citation { width: auto; max-width: none; margin: 26px 4px 0 0; padding: 16px 16px 14px; }
  .citation p { font-size: 14.5px; line-height: 1.4; }
}

/* Tablette (601-900 px, iPad mini) : contact sur 2 colonnes (Ripley à gauche qui suit le défilement, formulaire à droite) */
@media (min-width: 601px) and (max-width: 900px) {
  .contact-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 24px; }
  .contact-visuel { order: 0; }
  .colle-contact { position: sticky; top: 40px; width: 100%; margin: 60px 0 0; }
  .contact-titre { font-size: 40px; line-height: 42px; }
  .contact-chapo { font-size: 17px; line-height: 22px; }
  .formulaire { padding: 22px 20px; }
  .ligne-2 { grid-template-columns: 1fr; }
}

/* ---------- Contact : bloc e-mail à la place du formulaire ---------- */
.bloc-mail { position: relative; margin-top: 29px; width: 653px; max-width: 100%; display: grid; gap: 22px; padding: 34px 32px 36px; background: var(--blanc);
  border: 3px solid var(--fonce); border-radius: 26.5px; box-shadow: 8px 8px 0 var(--fonce); }
.bloc-mail-cle { font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--violet); }
.bloc-mail-adresse { font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--fonce); word-break: break-all; text-decoration: none; }
.bloc-mail-adresse:hover { color: var(--violet); }
.bloc-mail-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.bloc-mail .bouton { min-height: 57px; font-size: 18px; }
.bouton-copier { background: var(--blanc); color: var(--fonce); border: 2px solid var(--fonce); cursor: pointer; font-family: inherit; }
.bouton-copier.est-copie { background: var(--lime); }
@media (max-width: 600px) { .bloc-mail { padding: 24px 20px; } .bloc-mail-adresse { font-size: min(24px, calc((100vw - 80px) / 13.4)); white-space: nowrap; word-break: normal; } }
/* avec le bloc e-mail : Ripley remonte à la hauteur de l'étiquette CONTACT (pas de vide en bas) */
@media (min-width: 601px) { .contact-in:has(.bloc-mail) .colle-contact { margin-top: -50px; } }

/* =====================================================================
   CONFORT DE LECTURE : bouton fixe en bas à droite, sur toutes les pages
   (planche « SiteAccueil », validée le 19/11). Le bouton est créé par js/main.js.
   ===================================================================== */
.a11y { position: fixed; right: 24px; bottom: 24px; z-index: 90; }
.a11y-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--fonce); background: var(--blanc); color: var(--fonce);
  box-shadow: 4px 4px 0 var(--fonce); cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background-color .18s; }
.a11y-btn:hover { transform: rotate(-8deg) scale(1.05); }
.a11y-btn svg { width: 30px; height: 30px; }
.a11y.est-ouvert .a11y-btn { background: var(--lime); }
.a11y-panneau { position: absolute; right: 0; bottom: calc(100% + 14px); width: 310px; max-width: calc(100vw - 40px); padding: 14px 10px 10px; background: var(--blanc); border: 3px solid var(--fonce);
  border-radius: 18px; box-shadow: 6px 6px 0 var(--fonce); transform: rotate(-1deg); display: none; }
.a11y.est-ouvert .a11y-panneau { display: block; }
.a11y-titre { padding: 0 12px 6px; font-weight: 800; font-size: 16px; color: var(--fonce); }
.a11y-opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none;
  font-weight: 600; font-size: 15px; color: var(--fonce); text-align: left; cursor: pointer; }
.a11y-opt:hover { background: var(--lavande); }
.interrupteur { position: relative; flex: none; width: 46px; height: 26px; border: 2px solid var(--fonce); border-radius: 999px; background: var(--blanc); transition: background-color .2s; }
.interrupteur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--fonce); transition: transform .2s; }
.a11y-opt[aria-pressed="true"] .interrupteur { background: var(--lime); }
.a11y-opt[aria-pressed="true"] .interrupteur::after { transform: translateX(20px); }
@media (max-width: 600px) { .a11y { right: 16px; bottom: 16px; } .a11y-btn { width: 52px; height: 52px; } }
/* Effet 1 : animations en pause (même résultat que le réglage « réduire les animations » de l'ordinateur) */
html.sans-anim *, html.sans-anim *::before, html.sans-anim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.sans-anim .sticker-designer { transform: rotate(-14deg); } html.sans-anim .sticker-illu { transform: rotate(12deg); }
@media (max-width: 600px) { html.sans-anim .sticker-designer { transform: rotate(-25deg); } html.sans-anim .titre-cle { transform: rotate(2deg); } }
/* Effet 2 : fond doux, les vagues laissent place au lavande uni (accueil, signature, merci, en-têtes des autres pages) */
html.fond-doux .hero, html.fond-doux .signature, html.fond-doux .merci, html.fond-doux .p-hero, html.fond-doux .i-hero { background: var(--lavande) !important; }

/* Page Merci sur téléphone : la carte et le titre restent dans l'écran */
@media (max-width: 600px) { .merci { grid-template-columns: minmax(0, 1fr); } .merci > * { min-width: 0; max-width: 100%; } .merci-carte { width: calc(100% - 16px); padding: 40px 18px 32px; } .merci-titre { font-size: min(64px, 16vw); } .merci .bouton { padding: 0 20px; font-size: 16px; } }
/* Pied de page sur téléphone : les pastilles des réseaux passent à la ligne au lieu de dépasser */
@media (max-width: 600px) { .pied-reseaux { flex-wrap: wrap; justify-content: center; } .pied-legal { flex-wrap: wrap; justify-content: center; } }
