/* Tactus · site vitrine
   Couleurs, typo et espacements repris du fichier Figma (page « Site vitrine »). */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Variables « Couleurs », mode Clair */
:root {
  color-scheme: light dark;
  --app: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --ligne: #e6e8ec;
  --txt: #0a0b0d;
  --txt-2: #666c76;
  --sur-couleur: #ffffff;
  --accent: #2f5bff;
  --accent-doux: #eaf0ff;

  --page: 1200px;
  --gouttiere: 24px;
}

/* Mode Sombre */
@media (prefers-color-scheme: dark) {
  :root {
    --app: #0b0c0f;
    --surface: #15171b;
    --surface-2: #1e2026;
    --ligne: #23262c;
    --txt: #f2f4f7;
    --txt-2: #838993;
    --sur-couleur: #0b0c0f;
    --accent: #5b7cff;
    --accent-doux: rgba(91, 124, 255, 0.16);
  }
}

/* Le bloc Confidentialité est toujours en mode Sombre */
.sombre {
  --app: #0b0c0f;
  --surface: #15171b;
  --surface-2: #1e2026;
  --ligne: #23262c;
  --txt: #f2f4f7;
  --txt-2: #838993;
  --sur-couleur: #0b0c0f;
  --accent: #5b7cff;
  --accent-doux: rgba(91, 124, 255, 0.16);
  color: var(--txt);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--app);
  color: var(--txt);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.lien-evitement {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--surface); color: var(--txt);
  padding: 10px 16px; border-radius: 99px;
}
.lien-evitement:focus { top: 16px; }

.conteneur {
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere);
}

/* Styles de texte */
.libelle {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent);
}
.display-60 { font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.display-48 { font-size: 48px; font-weight: 300; line-height: 1; letter-spacing: -0.05em; }
.titre-40 { font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.titre-30 { font-size: 30px; font-weight: 300; line-height: 1.2; letter-spacing: -0.03em; }
.titre-24 { font-size: 24px; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.titre-22 { font-size: 22px; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.corps-17 { font-size: 17px; line-height: 1.3; }
.secondaire { color: var(--txt-2); }
.accent { color: var(--accent); }

.icone { width: 20px; height: 20px; flex: none; }
.icone-accent { color: var(--accent); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 7px; color: var(--txt); }
.logo-symbole { position: relative; width: 27px; height: 27px; flex: none; }
.logo-symbole::before, .logo-symbole::after {
  content: ""; position: absolute; left: 10px; width: 7px; height: 7px; border-radius: 50%;
}
.logo-symbole::before { top: 5px; background: var(--accent); }
.logo-symbole::after { top: 16px; background: var(--txt); }
.logo-mot { font-size: 24px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }

/* Bouton principal */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 15px 20px;
  border-radius: 99px; border: 0;
  background: var(--accent); color: var(--sur-couleur);
  font: 500 15px/1.3 "Geist", system-ui, sans-serif;
  white-space: nowrap; cursor: pointer;
  transition: filter 0.15s ease;
}
.bouton:hover { filter: brightness(1.08); }
.bouton-compact { min-height: 42px; padding: 11px 20px; }

/* En-tête */
.en-tete {
  position: sticky; top: 0; z-index: 30;
  padding-top: 20px; padding-bottom: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.en-tete.defile {
  padding-top: 14px; padding-bottom: 14px;
  background: color-mix(in srgb, var(--app) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
          backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 -1px 0 var(--ligne);
}
.en-tete .conteneur { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-lien { color: var(--txt-2); transition: color 0.15s ease; }
.nav-lien:hover, .nav-lien[aria-current="page"] { color: var(--txt); }

.menu-bouton {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border-radius: 99px; border: 1px solid var(--ligne);
  background: var(--surface); color: var(--txt);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-bouton span { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; }
.menu-panneau { display: none; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 112px; overflow-x: clip; }
.hero .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.hero-texte { position: relative; z-index: 1; flex: 1 1 576px; max-width: 576px; display: flex; flex-direction: column; gap: 24px; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-actions .note { font-size: 14px; color: var(--txt-2); }
.promesses {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 0; padding: 0; list-style: none;
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; color: var(--txt-2);
}
.promesses li { display: inline-flex; align-items: center; gap: 6px; }
.promesses .icone { width: 14px; height: 14px; color: var(--accent); }

.hero-visuel { position: relative; flex: 0 0 560px; height: 640px; }

/* Visuel en calques : halo, orbites, téléphone, montre (positions en % du cadre Figma 560 × 640) */
.scene { position: absolute; inset: 0; --px: 0; --py: 0; --sy: 0; }
.couche {
  position: absolute; pointer-events: none;
  translate: calc(var(--px) * var(--prof, 0px)) calc(var(--py) * var(--prof, 0px) + var(--sy) * var(--vit, 0) * 1px);
}
.halo {
  left: -1.786%; top: 4.688%; width: 103.571%; aspect-ratio: 1;
  border-radius: 50%; background: var(--accent);
  filter: blur(87px);
  --prof: 6px; --vit: 0.12;
}
.orbites { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; --prof: 14px; --vit: 0.06; }
.telephone { left: 23.393%; top: -8.984%; width: 74.643%; --prof: 22px; --vit: -0.04; }
.montre { left: 7.321%; top: 56.797%; width: 46.964%; --prof: 34px; --vit: -0.1; }
.couche img { width: 100%; height: auto; }

.orbites .point { fill: #fff; fill-opacity: 0.7; stroke: none; }
.orbites .onde { stroke-opacity: 0; }

@media (prefers-color-scheme: dark) {
  .halo { opacity: 0.45; }
  .orbites { opacity: 0.6; }
}

/* Sections */
.section-titre { display: flex; flex-direction: column; gap: 16px; }

.fonctionnalites { padding-top: 96px; padding-bottom: 96px; scroll-margin-top: 72px; }
.fonctionnalites .conteneur { display: flex; flex-direction: column; gap: 48px; }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carte {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: 28px; background: var(--surface);
}
.carte-texte { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.carte-icone {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-doux); color: var(--accent);
}
.carte-apercu {
  border-radius: 20px; overflow: hidden; background: var(--accent-doux);
  aspect-ratio: 328 / 300;
}
.carte-apercu img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.petits-plus { padding-bottom: 96px; }
.petits-plus ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding: 32px 0 0; list-style: none;
  border-top: 1px solid var(--ligne);
}
.petit-plus { display: flex; flex-direction: column; gap: 8px; }
.petit-plus-titre { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.petit-plus p { font-size: 14px; color: var(--txt-2); }

.confidentialite { padding-bottom: 96px; scroll-margin-top: 72px; }
.bloc {
  display: flex; flex-direction: column; gap: 40px;
  padding: 64px; border-radius: 32px;
  background: var(--surface); border: 1px solid var(--ligne);
}
.bloc-intro { display: flex; flex-direction: column; gap: 16px; }
.bloc-intro .corps-17 { max-width: 620px; }
.bloc-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.bloc-point { display: flex; flex-direction: column; gap: 8px; }
.bloc-point-titre { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; }
.bloc-point p { font-size: 14px; color: var(--txt-2); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--accent); font-weight: 500; }
.lien-fleche .icone { width: 16px; height: 16px; transition: transform 0.15s ease; }
.lien-fleche:hover .icone { transform: translateX(2px); }

.telecharger { padding-bottom: 120px; text-align: center; scroll-margin-top: 72px; }
.telecharger .conteneur { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.boutiques { display: flex; gap: 16px; padding-top: 16px; }
.boutique {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 300px; padding: 20px 24px; border-radius: 20px;
  background: var(--surface); text-align: left;
}
.boutique-nom { display: flex; flex-direction: column; gap: 4px; }
.boutique-nom small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--txt-2); }
.boutique-nom span { font-size: 17px; font-weight: 500; }
.pastille {
  padding: 6px 12px; border-radius: 99px;
  background: var(--accent-doux); color: var(--accent);
  font-size: 12px; font-weight: 500;
}

/* Pied de page */
.pied { padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--ligne); }
.pied .conteneur { display: flex; flex-direction: column; gap: 24px; }
.pied-haut { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pied-marque { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--txt-2); }
.pied-marque span a { color: var(--accent); }
.pied-liens { display: flex; gap: 24px; font-size: 14px; }
.pied-liens a { color: var(--txt-2); transition: color 0.15s ease; }
.pied-liens a:hover { color: var(--txt); }
.pied-mention { font-size: 12px; color: var(--txt-2); }
.pied-mention p + p { margin-top: 0; }

/* Pages de texte (confidentialité, mentions légales) */
.page-texte { padding-top: 80px; padding-bottom: 120px; }
.page-texte .conteneur { display: flex; flex-direction: column; gap: 40px; }
.page-titre { display: flex; flex-direction: column; gap: 16px; }
.page-titre .maj { font-size: 15px; color: var(--txt-2); }
.page-section { display: flex; flex-direction: column; gap: 12px; }
.page-section p { font-size: 17px; color: var(--txt-2); }
.page-texte a { color: var(--accent); overflow-wrap: anywhere; }
.page-texte a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Assistance */
.assistance { padding-top: 80px; padding-bottom: 120px; }
.assistance .conteneur { display: flex; align-items: flex-start; gap: 80px; }
.contact { flex: 0 0 420px; display: flex; flex-direction: column; gap: 24px; }
.contact-intro { display: flex; flex-direction: column; gap: 24px; }
.carte-contact {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border-radius: 28px; background: var(--surface);
}
.carte-contact small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; text-transform: uppercase; color: var(--txt-2); }
.carte-contact .bouton { width: 100%; }
.astuce { display: flex; gap: 8px; font-size: 13px; color: var(--txt-2); }
.astuce .icone { width: 16px; height: 16px; margin-top: 1px; }
.faq { flex: 1 1 700px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-liste { border-radius: 28px; background: var(--surface); }
.question { display: flex; flex-direction: column; gap: 6px; padding: 22px 28px; }
.question + .question { border-top: 1px solid var(--ligne); }
.question h3 { font-size: 16px; font-weight: 500; }
.question p { font-size: 15px; color: var(--txt-2); }
.question a { color: var(--accent); }
.question a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Page 404 */
.erreur { padding-top: 120px; padding-bottom: 160px; text-align: center; }
.erreur .conteneur { display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Tablette */
@media (max-width: 1100px) {
  .hero .conteneur { gap: 32px; }
  .hero-visuel { flex-basis: 440px; height: 503px; }
  .halo { filter: blur(70px); }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .petits-plus ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bloc { padding: 48px; }
  .assistance .conteneur { gap: 48px; }
  .contact { flex-basis: 360px; }
}

/* Mobile : maquettes « Mobile » (390 px) */
@media (max-width: 760px) {
  :root { --gouttiere: 16px; }

  .nav { display: none; }
  .menu-bouton { display: flex; }
  .menu-panneau {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); z-index: 10;
    flex-direction: column; gap: 4px;
    padding: 12px; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--ligne);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }
  .menu-panneau.ouvert { display: flex; }
  .menu-panneau .nav-lien { padding: 12px 12px; font-size: 17px; color: var(--txt); }
  .menu-panneau .bouton { margin-top: 8px; }

  .display-60 { font-size: 48px; letter-spacing: -0.05em; }
  .titre-40 { font-size: 30px; line-height: 1.2; letter-spacing: -0.03em; }

  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero .conteneur { flex-direction: column; gap: 32px; }
  .hero-texte { flex: none; max-width: none; width: 100%; align-items: center; text-align: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .bouton { width: 100%; }
  .promesses { justify-content: center; gap: 10px 14px; }

  /* Maquette « Mobile » : cadre 358 × 520 */
  .hero-visuel { flex: none; width: 100%; max-width: 400px; height: auto; aspect-ratio: 358 / 520; margin: 0 auto; }
  .halo { left: -5.866%; top: 11.538%; width: 111.732%; filter: blur(60px); }
  .orbites { left: -3.966%; top: 7.538%; width: 107.933%; height: 84.923%; }
  .telephone { left: 14.86%; top: -7.452%; width: 92.598%; }
  .montre { left: -0.866%; top: 62.308%; width: 51.117%; }

  .section-titre { align-items: center; text-align: center; }

  .fonctionnalites { padding-top: 56px; padding-bottom: 56px; }
  .fonctionnalites .conteneur { gap: 32px; }
  .cartes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .carte { padding: 24px; align-items: center; text-align: center; }
  .carte-texte { align-items: center; }
  .carte-apercu { width: 100%; aspect-ratio: 310 / 280; }

  .petits-plus { padding-bottom: 56px; }
  .petits-plus ul { grid-template-columns: minmax(0, 1fr); }
  .petit-plus { align-items: center; text-align: center; }

  .confidentialite { padding-bottom: 56px; }
  .bloc { padding: 32px 24px; gap: 28px; align-items: center; text-align: center; }
  .bloc-intro { align-items: center; }
  .bloc-points { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bloc-point { align-items: center; }
  .lien-fleche { align-self: center; }

  .telecharger { padding-bottom: 64px; }
  .boutiques { flex-direction: column; width: 100%; }
  .boutique { width: 100%; }

  .pied .conteneur { align-items: center; text-align: center; }
  .pied-haut { flex-direction: column; gap: 24px; }
  .pied-marque { flex-direction: column; gap: 8px; }
  .pied-mention p + p { margin-top: 12px; }

  .page-texte { padding-top: 40px; padding-bottom: 64px; }
  .page-titre .display-48 { font-size: 40px; letter-spacing: -0.04em; }

  .assistance { padding-top: 40px; padding-bottom: 64px; }
  .assistance .conteneur { flex-direction: column; gap: 40px; }
  .contact { flex: none; width: 100%; }
  .contact-intro { text-align: center; }
  .contact-intro .display-48 { font-size: 40px; letter-spacing: -0.04em; }
  .carte-contact { text-align: center; }
  .faq { flex: none; width: 100%; }
  .faq .titre-30 { font-size: 26px; letter-spacing: -0.02em; }
  .question { padding: 20px 24px; }
}

/* ------------------------------------------------------------------
   Mouvement
   Tout est coupé si l'appareil demande moins d'animations.
   Les apparitions au défilement ne masquent rien sans JavaScript
   (la classe .anim est posée par anim.js).
------------------------------------------------------------------- */
:root { --ease: cubic-bezier(0.2, 0.7, 0.2, 1); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* Entrée du hero */
  .hero-texte > * { animation: entree 0.9s var(--ease) both; }
  .hero-texte > :nth-child(2) { animation-delay: 0.08s; }
  .hero-texte > :nth-child(3) { animation-delay: 0.16s; }
  .hero-texte > :nth-child(4) { animation-delay: 0.24s; }
  .hero-texte > :nth-child(5) { animation-delay: 0.32s; }
  .promesses li { animation: entree 0.7s var(--ease) both; }
  .promesses li:nth-child(1) { animation-delay: 0.4s; }
  .promesses li:nth-child(2) { animation-delay: 0.46s; }
  .promesses li:nth-child(3) { animation-delay: 0.52s; }
  .promesses li:nth-child(4) { animation-delay: 0.58s; }

  .halo { animation: apparait 1.6s ease both, respire 9s ease-in-out 1.6s infinite; }
  .orbites { animation: deploie 1.4s var(--ease) 0.15s both; }
  .telephone { animation: monte 1.2s var(--ease) 0.2s both; }
  .montre { animation: monte 1.2s var(--ease) 0.42s both; }
  .telephone .flotte { animation: flotte 7s ease-in-out 1.4s infinite; }
  .montre .flotte { animation: flotte 6s ease-in-out 2s infinite reverse; }

  .orbite { transform-box: view-box; transform-origin: 280px 320px; }
  .o1 { animation: tourne 38s linear infinite; }
  .o2 { animation: tourne 64s linear infinite reverse; }
  .o3 { animation: tourne 90s linear infinite; }
  .o4 { animation: tourne 120s linear infinite reverse; }
  .onde { transform-box: view-box; transform-origin: 280px 320px; animation: onde 5s ease-out 1.6s infinite; }
  .onde-2 { animation-delay: 4.1s; }
  .orbites .point { animation: scintille 3.2s ease-in-out infinite; }
  .o3 .point { animation-delay: 1.1s; }
  .o4 .point { animation-delay: 2.2s; }

  /* Logo : les deux points battent comme un « tic-tac » au survol */
  .logo:hover .logo-symbole::before { animation: tic 0.6s var(--ease); }
  .logo:hover .logo-symbole::after { animation: tic 0.6s var(--ease) 0.15s; }

  /* Apparitions au défilement */
  .anim .revele {
    opacity: 0; translate: 0 28px; filter: blur(6px);
    transition:
      opacity 0.9s var(--ease) var(--delai, 0ms),
      translate 0.9s var(--ease) var(--delai, 0ms),
      filter 0.9s var(--ease) var(--delai, 0ms),
      transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .anim .revele.visible { opacity: 1; translate: 0 0; filter: none; }

  .petits-plus ul::before { transition: transform 1.4s var(--ease); }
  .anim .petits-plus ul:not(.visible)::before { transform: scaleX(0); }

  /* Menu mobile */
  .menu-panneau.ouvert { animation: menu 0.28s var(--ease) both; }
  .menu-panneau.ouvert > * { animation: entree 0.4s var(--ease) both; }
  .menu-panneau.ouvert > :nth-child(2) { animation-delay: 0.04s; }
  .menu-panneau.ouvert > :nth-child(3) { animation-delay: 0.08s; }
  .menu-panneau.ouvert > :nth-child(4) { animation-delay: 0.12s; }

  /* Pastille « Bientôt » */
  .pastille::before { animation: pouls 2.4s ease-out infinite; }
}

@keyframes entree { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes apparait { from { opacity: 0; scale: 0.6; } }
@keyframes respire { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes deploie { from { opacity: 0; scale: 0.7; rotate: -25deg; } }
@keyframes monte { from { opacity: 0; scale: 0.94; transform: translateY(40px); } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes onde {
  0% { transform: scale(1); stroke-opacity: 0.5; }
  100% { transform: scale(2.6); stroke-opacity: 0; }
}
@keyframes scintille { 0%, 100% { fill-opacity: 0.7; } 50% { fill-opacity: 1; } }
@keyframes tic { 40% { transform: translateY(-3px) scale(1.25); } }
@keyframes menu { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 100% { box-shadow: 0 0 0 6px transparent; } }

.orbites, .halo, .telephone, .montre, .flotte { will-change: transform; }

/* Le trait au-dessus des « petits plus » se dessine */
.petits-plus ul { position: relative; border-top: 0; }
.petits-plus ul::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--ligne); transform-origin: left;
}

/* Burger qui devient une croix */
.menu-bouton span { transition: transform 0.3s var(--ease); }
.menu-bouton[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Bouton : reflet qui balaie au survol, léger enfoncement au clic */
.bouton { position: relative; overflow: hidden; isolation: isolate; transition: filter 0.15s ease, transform 0.2s var(--ease), box-shadow 0.3s ease; }
.bouton::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.bouton:active { transform: scale(0.97); }

/* Pastille « Bientôt » : un point qui émet */
.pastille { display: inline-flex; align-items: center; gap: 6px; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Cartes : halo qui suit le curseur et bord lumineux */
.carte, .boutique, .carte-contact { position: relative; isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.carte::before, .boutique::before, .carte-contact::before,
.carte::after, .boutique::after, .carte-contact::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.carte::before, .boutique::before, .carte-contact::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-doux), transparent 60%);
}
.carte::after, .boutique::after, .carte-contact::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.carte-apercu img { transition: transform 0.8s var(--ease); }
.carte-icone .icone, .petit-plus-titre .icone, .bloc-point-titre .icone { transition: transform 0.4s var(--ease); }

@media (hover: hover) {
  .bouton:hover { box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
  .bouton:hover::after { transform: translateX(120%); transition: transform 0.8s var(--ease); }
  .carte:hover, .boutique:hover, .carte-contact:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--accent) 45%, transparent); }
  .carte:hover::before, .boutique:hover::before, .carte-contact:hover::before,
  .carte:hover::after, .boutique:hover::after, .carte-contact:hover::after { opacity: 1; }
  .carte:hover .carte-apercu img { transform: scale(1.04); }
  .carte:hover .carte-icone .icone { transform: rotate(-10deg) scale(1.1); }
  .petit-plus:hover .icone, .bloc-point:hover .icone { transform: translateY(-2px) rotate(-8deg); }
}

/* Bloc Confidentialité : une lueur qui dérive lentement */
.bloc { position: relative; overflow: hidden; isolation: isolate; }
.bloc::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .bloc::before { animation: derive 18s ease-in-out infinite alternate; }
}
@keyframes derive { to { transform: translate(-420px, 220px) scale(1.2); } }

/* Libellés : effet de décodage (anim.js) */
.texte-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
