@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/fredoka-500.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/fredoka-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/nunito-800.woff2") format("woff2"); }

:root {
  --fond: #fff6ec;
  --surface: #ffffff;
  --texte: #2d1b2e;
  --texte-2: #6e5a6b;
  --rose: #ff4f7b;
  --rose-fonce: #e03463;
  --rose-doux: #ffe1ea;
  --peche: #ff9f43;
  --jaune: #ffd166;
  --jaune-doux: #fff3c4;
  --menthe: #2fcf8c;
  --menthe-doux: #dcfff0;
  --violet: #7c5cff;
  --violet-doux: #ebe6ff;
  --bordure: #ffd9e3;
  --erreur: #b3261e;
  --erreur-fond: #ffe3df;
  --ombre: 0 12px 30px rgba(255, 79, 123, 0.12);
  --rayon: 24px;
  --degrade: linear-gradient(135deg, #ff4f7b 0%, #ff9f43 100%);
  --max: 1000px;
  /* Le site est toujours affiché en clair, quel que soit le réglage du système. */
  color-scheme: light only;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.03rem;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
  pointer-events: none;
}
body::before { width: 560px; height: 560px; background: #ffd3df; top: -200px; left: -180px; }
body::after { width: 520px; height: 520px; background: #fff0b8; bottom: -220px; right: -160px; }
h1, h2, h3, .logo { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--rose-fonce); }
a:hover { color: var(--rose); }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--rose); color: #fff; padding: 0.5rem 1rem; z-index: 100; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 246, 236, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--bordure);
  z-index: 50;
}
.site-header .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; text-decoration: none; color: var(--texte); }
.logo span { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo svg { width: 32px; height: 32px; color: var(--rose); transition: transform 0.3s; }
.logo:hover svg { transform: rotate(-12deg) scale(1.1); }
.nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.nav a { color: var(--texte-2); text-decoration: none; font-weight: 800; font-size: 0.95rem; padding: 0.4rem 0.85rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: var(--rose-doux); color: var(--rose-fonce); }
@media (max-width: 640px) {
  .nav a:not(.nav-essentiel) { display: none; }
  .site-header .conteneur { gap: 0.5rem; min-height: 60px; }
  .logo { font-size: 1.25rem; }
  .logo svg { width: 26px; height: 26px; }
  .nav a { white-space: nowrap; padding: 0.35rem 0.55rem; font-size: 0.9rem; }
}
@media (max-width: 430px) { .nav { display: none; } }
.langues { display: flex; gap: 0.25rem; font-size: 0.78rem; font-weight: 800; flex: none; }
@media (max-width: 640px) { .langues { gap: 0.1rem; font-size: 0.74rem; } .langues a, .langues span { padding: 0.2rem 0.32rem; } }
.langues a, .langues span { padding: 0.25rem 0.45rem; border-radius: 999px; text-decoration: none; color: var(--texte-2); }
.langues span { background: var(--rose-doux); color: var(--rose-fonce); }
.langues a:hover { background: var(--rose-doux); color: var(--rose-fonce); }
.langues-pied a { margin-right: 0; }
.note-langue { font-size: 0.8rem; opacity: 0.8; }

main { padding: 1.5rem 0 5rem; }
section { margin: 3.5rem 0; }

.hero { position: relative; text-align: center; padding: 2.5rem 0 1rem; margin: 0 0 2rem; }
.surtitre { display: inline-block; background: #fff; border: 2px solid var(--bordure); color: var(--rose-fonce); font-weight: 800; padding: 0.35rem 0.95rem; border-radius: 999px; font-size: 0.9rem; margin: 0 0 1rem; box-shadow: var(--ombre); }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; margin: 0.4rem auto 1.1rem; max-width: 18ch; }
h1 em { font-style: normal; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--texte-2); max-width: 44rem; margin: 0 auto; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.garanties { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 1.4rem auto 0; }
.garanties li { background: #fff; border: 2px solid var(--bordure); border-radius: 999px; padding: 0.35rem 0.95rem; font-weight: 800; font-size: 0.9rem; color: var(--texte-2); }
.rassurance { background: var(--menthe-doux); color: #1f8a5e; border-radius: 14px; padding: 0.7rem 1rem; font-weight: 700; font-size: 0.95rem; margin: 0 0 0.85rem; }
.stickers { position: absolute; inset: 0; pointer-events: none; }
.stickers span { position: absolute; font-size: 2.8rem; animation: flotter 5s ease-in-out infinite alternate; filter: drop-shadow(0 8px 12px rgba(60, 20, 40, 0.15)); }
.stickers span:nth-child(1) { left: 2%; top: 6%; rotate: -14deg; }
.stickers span:nth-child(2) { right: 2%; top: 10%; rotate: 12deg; animation-delay: 1.2s; }
.stickers span:nth-child(3) { left: 1%; bottom: 12%; rotate: 8deg; animation-delay: 2.1s; }
.stickers span:nth-child(4) { right: 1%; bottom: 8%; rotate: -8deg; animation-delay: 0.6s; }
@media (max-width: 960px) {
  .stickers span:nth-child(n + 3) { display: none; }
}
@media (max-width: 720px) {
  .stickers { display: none; }
}
@keyframes flotter { from { translate: 0 0; } to { translate: 0 -16px; } }

.carte { background: var(--surface); border: 2px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.5rem; }
.outil .carte { padding: clamp(1.1rem, 3vw, 2.2rem); transition: border-color 0.2s, box-shadow 0.2s; }
.outil .carte.survol { border-color: var(--rose); box-shadow: 0 0 0 5px rgba(255, 79, 123, 0.18); }
.outil h2 { text-align: center; }
.etape { margin-bottom: 1.5rem; }
label { display: block; font-weight: 800; margin-bottom: 0.5rem; }
.numero { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--degrade); color: #fff; font-family: "Fredoka", sans-serif; font-size: 0.95rem; margin-right: 0.5rem; box-shadow: 0 4px 10px rgba(255, 79, 123, 0.3); }
textarea, select, input[type="text"] {
  width: 100%;
  font: inherit;
  color: var(--texte);
  background: #fff;
  border: 2px solid var(--bordure);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 220px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9rem; }
textarea:focus, select:focus, input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.18); }
.aide { color: var(--texte-2); font-size: 0.92rem; margin: 0.5rem 0 0; }
.grille { display: grid; gap: 1.1rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille > div { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.grille label { margin-bottom: 0.5rem; }
@media (max-width: 640px) { .grille { grid-template-columns: minmax(0, 1fr); } }

.bouton { display: inline-flex; align-items: center; gap: 0.5rem; border: 0; border-radius: 999px; padding: 0.95rem 1.6rem; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.2s; }
.bouton.principal { background: var(--degrade); color: #fff; font-size: 1.08rem; box-shadow: 0 10px 24px rgba(255, 79, 123, 0.35); }
.bouton.principal:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 30px rgba(255, 79, 123, 0.42); color: #fff; }
.bouton.principal .numero { background: #fff; color: var(--rose-fonce); box-shadow: none; }
.bouton.secondaire { background: #fff; color: var(--rose-fonce); border: 2px solid var(--rose-doux); }
.bouton.secondaire:hover { background: var(--rose-doux); transform: translateY(-2px); }
.bouton:active { transform: scale(0.97); }
.bouton[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.actions-fichier { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.actions-fichier .bouton { margin-bottom: 0; }

/* Étape 1 : zone de texte d'abord sur ordinateur, import et guide d'export d'abord sur téléphone. */
.etape-import { display: flex; flex-direction: column; }
.etape-import > label { order: 0; }
.etape-import > .rassurance { order: 1; }
.bloc-coller { order: 2; }
.bloc-importer { order: 3; }
.repli > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--rose-fonce); background: #fff; border: 2px solid var(--rose-doux); border-radius: 999px; padding: 0.7rem 1.2rem; }
.repli > summary::-webkit-details-marker { display: none; }
.repli[open] > summary { margin-bottom: 0.75rem; }
@media (min-width: 721px) { .bloc-coller > summary { display: none; } }

/* Décrire la personne sans conversation, portraits gardés, actions sur une idée, rappels. */
.bloc-decrire { order: 4; margin-top: 1rem; }
.bloc-decrire textarea { min-height: 120px; font-family: inherit; font-size: 1rem; }
.actions-decrire { align-items: center; }
.prenom-libre { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; margin: 0; }
.prenom-libre input { width: auto; max-width: 13rem; padding: 0.55rem 0.8rem; }
.portraits { background: var(--jaune-doux); border-radius: 18px; padding: 0.9rem 1.1rem; margin: 0 0 1.2rem; }
.portraits h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.portraits .aide { margin: 0; }
.liste-portraits { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.liste-portraits li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; padding: 0.55rem 0; border-top: 1px solid rgba(45, 27, 46, 0.08); }
.liste-portraits li span { flex: 1 1 14rem; font-weight: 700; }
.bouton.petit { padding: 0.5rem 1rem; font-size: 0.9rem; }
.lien-action { background: none; border: 0; padding: 0.35rem 0.2rem; font: inherit; font-weight: 800; color: var(--rose-fonce); cursor: pointer; text-decoration: underline dotted; }
.lien-action:hover { text-decoration: underline; }
.actions-idee { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.6rem 0 0; }
.formulaire-alerte { background: var(--jaune-doux); border-radius: 14px; padding: 0.75rem 0.9rem; margin-top: 0.6rem; }
.formulaire-alerte .aide { margin: 0 0 0.5rem; }
.formulaire-alerte input[type="email"], .rappel-email input[type="email"] { flex: 1 1 14rem; width: auto; }
.case.prime { margin: 0 0 1rem; }
.rappel .champ-inline { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 700; }
.rappel .champ-inline input { width: auto; padding: 0.6rem 0.8rem; }
.rappel-email { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--bordure); }
.rappel-email .case, .formulaire-alerte .case { margin-top: 0.6rem; font-weight: 600; font-size: 0.92rem; }

/* Secret Santa : listes de participants, suivi des liens, révélation du tirage. */
textarea.santa-liste { min-height: 150px; font-family: inherit; font-size: 1rem; }
.liste-santa { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.liste-santa li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; padding: 0.6rem 0; border-top: 1px solid rgba(45, 27, 46, 0.08); }
.santa-prenom { font-weight: 800; flex: 1 1 8rem; }
.santa-statut { color: var(--texte-2); font-size: 0.9rem; flex: 1 1 11rem; }
.santa-reveal { text-align: center; }
.santa-intro { font-family: "Fredoka", sans-serif; font-size: 1.3rem; margin: 0.6rem 0 0; }
.santa-cible { font-family: "Fredoka", sans-serif; font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.1; margin: 0.3rem 0 0.8rem; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter 0.6s; overflow-wrap: anywhere; }
.santa-cible.cache { filter: blur(18px); user-select: none; }

.guide-export { position: relative; margin-top: 0.9rem; background: var(--jaune-doux); border: 2px solid var(--bordure); border-radius: 18px; padding: 0.85rem 1.1rem; }
.guide-export > summary { cursor: pointer; font-weight: 800; }
.guide-choix { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.guide-onglets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0; }
.guide-onglets label { display: inline-flex; margin: 0; cursor: pointer; padding: 0.45rem 0.95rem; border-radius: 999px; border: 2px solid var(--bordure); background: #fff; font-weight: 800; font-size: 0.92rem; transition: background 0.2s, color 0.2s; }
#guide-iphone:checked ~ .guide-onglets label[for="guide-iphone"],
#guide-android:checked ~ .guide-onglets label[for="guide-android"],
#guide-ordinateur:checked ~ .guide-onglets label[for="guide-ordinateur"] { background: var(--degrade); color: #fff; border-color: transparent; }
#guide-iphone:focus-visible ~ .guide-onglets label[for="guide-iphone"],
#guide-android:focus-visible ~ .guide-onglets label[for="guide-android"],
#guide-ordinateur:focus-visible ~ .guide-onglets label[for="guide-ordinateur"] { box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.25); }
.guide-panneau { display: none; }
#guide-iphone:checked ~ [data-systeme="iphone"],
#guide-android:checked ~ [data-systeme="android"],
#guide-ordinateur:checked ~ [data-systeme="ordinateur"] { display: block; }
.etapes-guide { list-style: none; margin: 0; padding: 0; counter-reset: pas; }
.etapes-guide li { position: relative; padding-left: 2.3rem; margin: 0.6rem 0; counter-increment: pas; line-height: 1.5; }
.etapes-guide li::before { content: counter(pas); position: absolute; left: 0; top: 0.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--degrade); color: #fff; font-family: "Fredoka", sans-serif; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(255, 79, 123, 0.3); }
.guide-installer { background: #fff; border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 0.85rem; }
.guide-installer p { margin: 0 0 0.6rem; }
.guide-installer p:last-child { margin-bottom: 0; }
.installer-manuel { font-size: 0.9rem; color: var(--texte-2); }
.guide-note { margin-top: 0.85rem; }

@media (max-width: 720px) {
  .bloc-importer { order: 2; }
  .bloc-coller { order: 3; margin-top: 1rem; }
  .actions-fichier { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .actions-fichier .importer { justify-content: center; background: var(--degrade); color: #fff; border-color: transparent; font-size: 1.08rem; box-shadow: 0 10px 24px rgba(255, 79, 123, 0.35); }
  .actions-fichier .importer:hover { background: var(--degrade); }
  #info-fichier { text-align: center; }
}

.chargement { text-align: center; padding: 1.5rem 1rem 0.5rem; }
.chargement .cadeau { display: inline-block; font-size: 3.4rem; animation: rebondir 0.9s ease-in-out infinite; }
.chargement-titre { font-family: "Fredoka", sans-serif; font-size: 1.3rem; margin: 0.25rem 0 0; }
.pourcentage { font-family: "Fredoka", sans-serif; font-size: 2.6rem; line-height: 1; margin: 0.5rem 0 0; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chargement .barre { height: 12px; background: var(--rose-doux); border-radius: 6px; overflow: hidden; margin: 1rem auto; max-width: 420px; }
.chargement .barre span { display: block; height: 100%; width: 0; background: var(--degrade); border-radius: 6px; transition: width 0.3s ease-out; }
@keyframes rebondir { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
.erreur { background: var(--erreur-fond); color: var(--erreur); border-radius: 16px; padding: 1rem 1.25rem; margin-top: 1rem; font-weight: 700; }

.resultats { margin-top: 2rem; }
.resultats h2 { margin-top: 2rem; }
.profil { background: linear-gradient(135deg, #ffffff 0%, #fff4f7 100%); }
.profil p { margin: 0 0 1rem; }
.profil .surtitre { margin-bottom: 0.5rem; }
.contexte { color: var(--texte-2); font-size: 0.95rem; margin: -0.5rem 0 1rem; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.etiquettes li { background: var(--rose-doux); color: var(--rose-fonce); padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.92rem; font-weight: 800; }
.etiquettes li:nth-child(3n + 2) { background: var(--violet-doux); color: var(--violet); }
.etiquettes li:nth-child(3n) { background: var(--menthe-doux); color: #1f8a5e; }
.profil details { margin-top: 1rem; color: var(--texte-2); }
.profil summary { cursor: pointer; font-weight: 800; color: var(--texte); }
.a-eviter h3 { font-size: 1.05rem; margin: 1rem 0 0.3rem; }
.a-eviter ul { margin: 0; padding-left: 1.25rem; color: var(--texte-2); }
.idees { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.idee { display: flex; flex-direction: column; gap: 0.6rem; transition: transform 0.2s, box-shadow 0.2s; animation: apparaitre 0.5s both; animation-delay: var(--delai, 0ms); }
.idee:hover { transform: translateY(-5px) rotate(-0.6deg); box-shadow: 0 18px 36px rgba(255, 79, 123, 0.2); }
.idee:nth-child(even):hover { transform: translateY(-5px) rotate(0.6deg); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.idee .haut { display: flex; align-items: center; gap: 0.5rem; }
.idee .emoji { font-size: 1.7rem; line-height: 1; }
.categorie { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--texte-2); font-weight: 800; flex: 1; }
.pertinence { font-size: 0.8rem; white-space: nowrap; letter-spacing: -0.05em; }
.idee h3 { margin: 0; }
.idee p { margin: 0; color: var(--texte-2); }
.preuve { font-size: 0.88rem; background: var(--jaune-doux); border-radius: 12px; padding: 0.5rem 0.75rem; }
.prix { font-weight: 800; color: var(--texte); font-family: "Fredoka", sans-serif; font-size: 1.1rem; }
.idee .bouton { margin-top: auto; align-self: flex-start; }
.avertissement { background: var(--jaune-doux); color: #7a5200; border-radius: 16px; padding: 0.85rem 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.conseil { margin-top: 1.5rem; background: var(--violet-doux); border-color: #d9d0ff; }
.mention-affiliation { font-size: 0.85rem; color: var(--texte-2); margin-top: 1.5rem; }

.compteur-social { text-align: center; font-weight: 800; color: var(--rose-fonce); margin: -0.5rem 0 1rem; }
.avis { font-size: 0.85rem; color: var(--texte-2); margin: 0; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.avis-bouton { border: 2px solid var(--bordure); background: #fff; border-radius: 999px; width: 2.1rem; height: 2.1rem; cursor: pointer; font-size: 1rem; transition: transform 0.1s, border-color 0.2s; }
.avis-bouton:hover { transform: scale(1.1); border-color: var(--rose); }
.merci { font-weight: 800; color: var(--rose-fonce); }
.case { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 700; cursor: pointer; background: var(--jaune-doux); border-radius: 14px; padding: 0.75rem 1rem; }
.case input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--rose); flex: none; }
.partage { margin-top: 1.5rem; }
.partage h3 { margin-top: 0; }
.actions-partage { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.75rem 0 0; }
.apercu-carte { display: block; max-width: 320px; width: 100%; border-radius: 16px; box-shadow: var(--ombre); margin: 1rem 0 0; }
.lien-liste { flex: 1 1 240px; min-width: 0; font-size: 0.9rem; }
.partage-liste { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.confettis { position: fixed; inset: 0; pointer-events: none; z-index: 999; overflow: hidden; }
.confettis i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: tomber linear forwards; }
@keyframes tomber { to { transform: translateY(110vh) rotate(720deg); opacity: 0.3; } }

.etapes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: etape; margin-top: 1.5rem; }
.etapes.numerotees .carte { position: relative; padding-top: 2.4rem; }
.etapes.numerotees .carte::before { counter-increment: etape; content: counter(etape); position: absolute; top: -1.1rem; left: 1.5rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--degrade); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Fredoka", sans-serif; font-weight: 700; box-shadow: 0 6px 14px rgba(255, 79, 123, 0.35); }
.etapes .carte p { margin: 0; color: var(--texte-2); }
.etapes .carte h3 { display: flex; align-items: center; gap: 0.5rem; }
.promesses .carte { background: linear-gradient(180deg, #fff, #fffaf4); }

.prose p { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.faq details { background: var(--surface); border: 2px solid var(--bordure); border-radius: 18px; padding: 0.9rem 1.2rem; margin-bottom: 0.75rem; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--rose); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.faq p { margin: 0.6rem 0 0; color: var(--texte-2); }

.bloc-auteur { display: flex; gap: 1.75rem; align-items: flex-start; flex-wrap: wrap; margin: 3.5rem 0 1rem; padding: 2rem; }
.bloc-auteur img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--rose-doux); }
.bloc-auteur .surtitre { margin: 0 0 0.35rem; padding: 0; border: 0; box-shadow: none; background: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.bloc-auteur h3 { margin: 0 0 0.5rem; font-size: 1.55rem; }
.bloc-auteur h3 a { color: var(--texte); text-decoration: none; }
.bloc-auteur h3 a:hover { color: var(--rose-fonce); }
.bloc-auteur p { margin: 0 0 0.6rem; color: var(--texte-2); }
.bloc-auteur > div { flex: 1 1 280px; }
.signature { color: var(--texte-2); font-size: 0.95rem; }

.profil-auteur { display: grid; gap: 2rem; grid-template-columns: 230px 1fr; align-items: start; margin: 1rem 0 2rem; }
.profil-auteur img { width: 100%; border-radius: var(--rayon); box-shadow: var(--ombre); border: 4px solid #fff; }
.profil-auteur h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: none; margin-left: 0; }
.profil-auteur .lead { margin: 0; }
@media (max-width: 640px) { .profil-auteur { grid-template-columns: 1fr; } .profil-auteur img { max-width: 220px; } }
.liens-sociaux { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.liens-sociaux a { display: inline-block; background: #fff; border: 2px solid var(--rose-doux); color: var(--rose-fonce); text-decoration: none; font-weight: 800; padding: 0.45rem 1rem; border-radius: 999px; transition: background 0.2s, transform 0.15s; }
.liens-sociaux a:hover { background: var(--rose-doux); transform: translateY(-2px); }
.chiffres { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 2rem 0; }
.chiffre { text-align: center; color: var(--texte-2); }
.chiffre strong { display: block; font-family: "Fredoka", sans-serif; font-size: 2rem; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

.compte-a-rebours { text-align: center; margin: 0 0 2.5rem; }
.compte-a-rebours .jours { font-family: "Fredoka", sans-serif; font-size: clamp(3rem, 10vw, 5.5rem); line-height: 1; margin: 0.4rem 0; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compte-a-rebours .date { color: var(--texte-2); margin: 0 0 1.2rem; font-weight: 700; }
.compte-a-rebours .date::first-letter { text-transform: uppercase; }
.etapes .compte-a-rebours { margin: 0; }
.etapes .compte-a-rebours .jours { font-size: 2.6rem; }
.occasion .hero, .profil-page .hero { padding-bottom: 0.5rem; }
.profil-page .idees .idee h3 { font-size: 1.1rem; }
.profil-page .idees .idee .prix { margin-top: auto; }
.fil-ariane { font-size: 0.9rem; color: var(--texte-2); }
.fil-ariane ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fil-ariane li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.juridique h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: none; margin-left: 0; }
.juridique h2 { margin-top: 2.5rem; font-size: 1.45rem; }
.juridique h3 { margin-top: 1.5rem; }
.maj { color: var(--texte-2); font-size: 0.95rem; }
.tableau { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--bordure); }
.tableau th { color: var(--texte-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .tableau thead { display: none; }
  .tableau tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--bordure); }
  .tableau td { display: block; border: 0; padding: 0.2rem 0; }
  .tableau td:first-child { font-weight: 800; }
}

.site-footer { background: #fff; border-top: 2px solid var(--bordure); border-radius: 36px 36px 0 0; padding: 2.5rem 0 2rem; color: var(--texte-2); font-size: 0.92rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.site-footer a { color: inherit; font-weight: 700; }
.site-footer p { margin: 0.4rem 0; }
.site-footer .coeur { font-weight: 700; font-size: 1rem; color: var(--texte); }

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