/* monerodash.fr — charte reprise de l'application 1.5 : fond neutre sombre, accent orange ; le cyan de l'icône en rappel. */
:root {
  /* Palette de l'application (src/theme.ts, thème sombre). */
  --fond: #111314;
  --fond-2: #15181a;
  --surface: rgba(27, 30, 32, .82);
  --surface-pleine: #1b1e20;
  --surface-haute: #25292b;
  --bord: rgba(160, 172, 170, .16);
  --bord-fort: rgba(245, 163, 92, .45);
  --texte: #f3f5f4;
  --texte-2: #c0c8c6;
  --texte-3: #939f9c;
  --accent: #f5a35c;
  --accent-2: #e2873d;
  --accent-sombre: #b76d30;
  --cyan: #38bdf8;          /* début de la jauge de l'icône, utilisé avec parcimonie */
  --vert: #34d399;
  --rouge: #f87171;
  --rayon: 18px;
  --ombre: 0 24px 60px rgba(0, 0, 0, .5);
  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.cadre { width: min(1160px, 100% - 32px); margin-inline: auto; }
.etroit { width: min(760px, 100% - 32px); }
.centre { text-align: center; }
.evitement { position: absolute; left: -9999px; top: 0; }
.evitement:focus { left: 16px; top: 12px; z-index: 100; background: var(--texte); color: var(--fond); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.surtitre {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.chapo { color: var(--texte-2); font-size: 1.12rem; }
.note { color: var(--texte-3); font-size: .88rem; }
.titre-centre { text-align: center; margin-bottom: 1.1em; }

/* ── En-tête ── */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 19, 20, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bord);
}
.entete-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.marque img { border-radius: 8px; }
.marque b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--texte-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--texte); }
.entete-actions { display: flex; align-items: center; gap: 12px; }
.langue {
  color: var(--texte-2); text-decoration: none; font-size: .82rem; font-weight: 700;
  border: 1px solid var(--bord); border-radius: 999px; padding: 4px 10px;
}
.langue:hover { color: var(--texte); border-color: var(--bord-fort); }

/* ── Boutons ── */
.bouton {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 14px 26px; border-radius: 14px; border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #111314; font: inherit; font-weight: 800; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 30px rgba(245, 163, 92, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bouton small { font-size: .74rem; font-weight: 600; opacity: .86; }
.bouton:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(245, 163, 92, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
.bouton[disabled] { opacity: .6; cursor: progress; transform: none; }
.bouton-petit { padding: 8px 16px; font-size: .9rem; border-radius: 10px; box-shadow: none; }
.bouton-lien { color: var(--texte); font-weight: 700; text-decoration: none; padding: 14px 6px; }
.bouton-lien:hover { color: var(--accent); }

/* ── Héros ── */
.heros { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.grille-fond {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 50% at 75% 30%, rgba(245, 163, 92, .14), transparent 70%),
    radial-gradient(45% 40% at 10% 5%, rgba(56, 189, 248, .07), transparent 70%),
    linear-gradient(180deg, var(--fond) 0%, var(--fond-2) 100%);
}
.grille-sol {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(245, 163, 92, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 163, 92, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
  animation: defile 6s linear infinite;
}
@keyframes defile { from { background-position: 0 0; } to { background-position: 0 64px; } }

.heros-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.heros h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 850; margin-bottom: .35em; }
.heros h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan) 0%, #9ccfb4 45%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros .chapo { max-width: 34em; font-size: 1.2rem; }
.heros-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 26px; }
.puces { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.puces li {
  font-size: .88rem; color: var(--texte-2);
  background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .25);
  padding: 6px 12px 6px 30px; border-radius: 999px; position: relative;
}
.puces li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px;
  border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert);
  transform: translateY(-70%) rotate(-45deg);
}

.heros-visuel { position: relative; display: flex; justify-content: center; }
.halo {
  position: absolute; width: 90%; aspect-ratio: 1; top: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 163, 92, .2), transparent 65%);
  filter: blur(20px);
}

/* Cadre de téléphone autour des captures */
.telephone {
  position: relative; margin: 0; width: min(330px, 78vw);
  padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #34393c, #0e1011 40%, #202426);
  box-shadow: var(--ombre), 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.telephone img { border-radius: 37px; width: 100%; background: var(--fond-2); }
.telephone.petit { width: min(280px, 72vw); border-radius: 40px; padding: 8px; }
.telephone.petit img { border-radius: 32px; }

/* ── Sections ── */
.section { padding: 96px 0; }
.questions { padding-top: 40px; }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.carte {
  background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 26px 24px; position: relative;
}
.carte p { color: var(--texte-2); margin: 0; font-size: .98rem; }
.numero { display: block; color: var(--accent); font-weight: 800; font-size: .85rem; letter-spacing: .1em; margin-bottom: 12px; }

.vitrine { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; margin: 64px auto; max-width: 940px; }
.vitrine .telephone { justify-self: center; }
.vitrine.inverse .telephone { order: 2; }
.vitrine-texte h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.vitrine-texte p { color: var(--texte-2); font-size: 1.1rem; }

.confiance { background: linear-gradient(180deg, transparent, rgba(245, 163, 92, .035) 30%, transparent); }
.carte-confiance { border-top: 2px solid var(--bord-fort); }
.carte-confiance h3 { font-size: 1.08rem; }
.pastilles { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pastilles li { font-size: .9rem; color: var(--texte-2); border: 1px solid var(--bord); border-radius: 999px; padding: 6px 14px; background: rgba(255, 255, 255, .02); }

/* ── Pro ── */
.pro-in {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(245, 163, 92, .13), transparent 60%),
    linear-gradient(160deg, var(--surface-pleine), var(--fond-2));
  border: 1px solid rgba(245, 163, 92, .28); border-radius: 28px; padding: 56px;
}
.pro-texte { max-width: 980px; }
.pro-texte .chapo { max-width: 46em; }
.liste-pro { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 28px; }
.liste-pro li { display: flex; flex-direction: column; padding-left: 22px; position: relative; }
.liste-pro li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.liste-pro strong { font-size: 1rem; }
.liste-pro span { color: var(--texte-2); font-size: .93rem; }
.galerie-pro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; justify-items: center; }
.galerie-pro figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.galerie-pro figcaption { color: var(--texte-3); font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.telephone.mini { width: min(250px, 100%); border-radius: 34px; padding: 7px; }
.telephone.mini img { border-radius: 28px; }

/* ── FAQ ── */
.faq details { border-bottom: 1px solid var(--bord); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--texte-2); padding-bottom: 12px; }

/* ── Formulaire ── */
.formulaire {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 24px; padding: 32px;
  margin-top: 28px;
}
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.champ { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 700; font-size: .92rem; }
.champ small { color: var(--texte-3); font-size: .82rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte);
  background: rgba(17, 19, 20, .8); border: 1px solid rgba(160, 172, 170, .24); border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.champ select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.champ select option { background: var(--surface-pleine); }
.champ textarea { resize: vertical; min-height: 140px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 163, 92, .2); }
.champ .invalide { border-color: var(--rouge); }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 6px 0 18px; }
.retour { margin: 0; font-weight: 600; }
.retour.succes { color: var(--vert); }
.retour.erreur { color: var(--rouge); }
.formulaire .note { margin: 0; }

/* ── Fin et pied ── */
.fin { padding-top: 40px; }
.icone-fin { margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 18px 40px rgba(245, 163, 92, .18); }
.fin .chapo { margin-bottom: 28px; }
.pied { border-top: 1px solid var(--bord); padding: 36px 0 44px; color: var(--texte-3); font-size: .9rem; }
.pied-in { text-align: center; }
.pied p { margin: 0 0 6px; }
.pied a { color: var(--texte-2); }

/* ── Page texte (confidentialité) ── */
.texte-long { padding: 64px 0 96px; }
.texte-long h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.texte-long h2 { font-size: 1.35rem; margin-top: 2em; }
.texte-long p, .texte-long li { color: var(--texte-2); }
.texte-long strong { color: var(--texte); }
.texte-long ul { padding-left: 1.2em; }

/* ── Adaptations ── */
@media (max-width: 980px) {
  .nav { display: none; }
  .entete-actions { margin-left: auto; }
  .heros { padding: 48px 0 72px; }
  .heros-in { grid-template-columns: 1fr; gap: 56px; }
  .heros-texte { text-align: center; }
  .heros .chapo { margin-inline: auto; }
  .heros-actions, .puces { justify-content: center; }
  .trois { grid-template-columns: 1fr; }
  .quatre { grid-template-columns: 1fr 1fr; }
  .vitrine { grid-template-columns: 1fr; gap: 28px; text-align: center; margin: 56px auto; }
  .vitrine.inverse .telephone { order: 0; }
  .pro-in { padding: 36px 24px; }
  /* Galerie Pro : défilement horizontal à l'intérieur du cadre, jamais de la page. */
  .galerie-pro { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: -24px; padding: 4px 24px 12px; justify-items: initial; }
  .galerie-pro figure { flex: 0 0 min(62vw, 250px); scroll-snap-align: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .quatre, .liste-pro, .deux-champs { grid-template-columns: 1fr; }
  .formulaire { padding: 22px 18px; }
  .formulaire-pied .bouton { width: 100%; }
  .marque span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grille-sol { animation: none; }
  .bouton { transition: none; }
}
