/* Site public de Milotche TV : base claire, accents colorés (maquette « accueil-v2 » choisie par Pablo).
   Pensé d'abord pour le téléphone. Aucune police ni ressource externe. Contrastes vérifiés AA. */
:root {
  --fond: #f7f8fb; --blanc: #fff; --encre: #14182b; --pale: #4a4f63; --trait: #d5d9e6;
  --action: #e2711d; --action-fonce: #b85a14; --lien: #a4500f; --creme: #fff1e3; --creme-texte: #8f430a;
  --ombre: 0 1px 2px rgba(20, 24, 43, .06), 0 6px 18px rgba(20, 24, 43, .07);
  --rayon: 14px;
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 1rem/1.55 var(--police); caret-color: var(--action); }
::selection { background: #ffd2ad; color: var(--encre); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
abbr { text-decoration: none; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.largeur { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.aller { position: absolute; left: 1rem; top: -4rem; background: var(--encre); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 20; }
.aller:focus { top: .75rem; }

/* En-tête : un liséré aux couleurs des styles de musique. */
.entete { position: sticky; top: 0; z-index: 10; background: var(--fond); border-bottom: 1px solid var(--trait); }
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: linear-gradient(90deg, #e2711d 0 25%, #e9c46a 25% 50%, #1f7a6f 50% 75%, #264653 75%); }
.entete-rangee { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.marque { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--encre); text-decoration: none; white-space: nowrap; }
.marque span { color: var(--action); }
.marque:hover { color: var(--encre); }
.entete nav { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.entete nav a { color: var(--pale); text-decoration: none; padding: .5rem 0; white-space: nowrap; }
.entete nav a:hover { color: var(--encre); text-decoration: underline; }
.entete nav a.nav-compte { color: #fff; background: var(--action-fonce); font-weight: 700; border-radius: 999px; padding: .35rem .75rem; white-space: nowrap; }
.entete nav a.nav-compte:hover { color: #fff; background: #9a4b10; text-decoration: none; }
.entete nav form.nav-sortie { display: contents; }
.entete nav form.nav-sortie button { font: inherit; color: var(--pale); background: none; border: 0; padding: .5rem 0; cursor: pointer; white-space: nowrap; }
.entete nav form.nav-sortie button:hover { color: var(--encre); text-decoration: underline; }
.entete nav a.langue { font-weight: 700; color: var(--encre); border: 1px solid var(--trait); border-radius: 999px; padding: .3rem .65rem; background: var(--blanc); }
@media (max-width: 419px) { .nav-secondaire { display: none; } }
@media (max-width: 379px) { .nav-prix { display: none; } }
/* Téléphone : le menu passe sous la marque (« Créez votre compte » ne tient pas sur la même ligne). */
@media (max-width: 639px) {
  .entete-rangee { flex-wrap: wrap; row-gap: 0; padding-bottom: .5rem; }
  .entete nav { width: 100%; justify-content: space-between; }
}

/* Sections */
section { padding: 3.5rem 0; }
section h2 { margin-bottom: .6rem; }
.intro { color: var(--pale); max-width: 40rem; font-size: 1.0625rem; }
.lien-suite { font-weight: 700; display: inline-block; margin-top: 1.25rem; }

/* Haut de page */
.hero { text-align: center; padding: 2.75rem 0 3rem; }
.pastille-nouveaux { display: inline-flex; align-items: center; gap: .5rem; background: var(--creme); color: var(--creme-texte);
  font-size: .875rem; font-weight: 700; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.pastille-nouveaux .point { width: .55rem; height: .55rem; border-radius: 50%; background: var(--action); position: relative; }
.pastille-nouveaux .point::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--action);
  animation: pouls 2.4s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes pouls { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.hero h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; margin: 0 auto; }
.sous-titre { color: var(--pale); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); max-width: 36rem; margin: 1rem auto 1.75rem; }
.bouton-essai { display: inline-block; background: var(--action); color: #fff; font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  padding: .9rem 1.6rem; border-radius: 10px; text-decoration: none; box-shadow: 0 2px 0 var(--action-fonce), 0 8px 20px rgba(226, 113, 29, .28);
  transition: background-color .15s ease-out, transform .15s ease-out; }
.bouton-essai:hover { background: var(--action-fonce); color: #fff; }
.bouton-essai:active { transform: translateY(1px); }
.essai-detail { color: var(--pale); font-size: .9375rem; margin-top: .85rem; }

.styles { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2.25rem auto 0; max-width: 46rem; }
.styles li { font-size: .9375rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; }

/* Palette des styles (texte AA sur chaque fond). */
.teinte-0 { background: #e2711d; color: #1b0f05; }
.teinte-1 { background: #e9c46a; color: #3b2a00; }
.teinte-2 { background: #1f7a6f; color: #fff; }
.teinte-3 { background: #264653; color: #fff; }
.teinte-4 { background: #c2185b; color: #fff; }
.teinte-5 { background: #5b3fa0; color: #fff; }
.neutre { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait); }

/* Trois étapes */
.etapes { padding-top: 1rem; }
.etapes ol { display: grid; gap: 1rem; margin-top: 1.5rem; }
.etapes li { position: relative; background: var(--blanc); border-radius: var(--rayon); padding: 1.35rem 1.35rem 1.4rem 4.4rem; box-shadow: var(--ombre); }
.etapes .num { position: absolute; left: 1.25rem; top: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--creme); color: var(--creme-texte); font-weight: 800; font-size: 1.1rem; }
.etapes p { color: var(--pale); margin-top: .35rem; }
.etapes .adresse { color: var(--encre); white-space: nowrap; }
.melange { display: flex; margin-top: .8rem; height: 1.6rem; border-radius: 6px; overflow: hidden; font-size: .8125rem; font-weight: 700; }
.melange span { display: flex; align-items: center; padding-left: .55rem; }

/* Ajoutés récemment */
.recents { background: var(--blanc); }
.vignettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .9rem; margin-top: 1.6rem; }
.vignettes img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #e6e8ef; }
.vignettes p { margin-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: .875rem; }
.vignettes .genre { font-weight: 700; font-size: .8125rem; padding: .15rem .55rem; border-radius: 999px; }
.vignettes .quand { color: var(--pale); }

/* Pour qui */
.commerces { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.commerces li { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; font-size: 1.0625rem; }

/* Vos pubs */
.pubs { background: var(--blanc); }
.pubs-grille { display: grid; gap: 2rem; margin-top: 1.75rem; }
.pub h3 { margin-top: 1rem; }
.pub p { color: var(--pale); margin-top: .35rem; max-width: 34rem; }
.tele { background: var(--encre); border-radius: 12px; padding: 7px; max-width: 18rem; box-shadow: var(--ombre); }
.ecran { aspect-ratio: 16 / 9; border-radius: 5px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4rem; }
.ecran b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.ecran-pub { background: radial-gradient(circle at 30% 30%, #f29a4f, #e2711d 60%); color: #1b0f05; }
.ecran-promo { background: #264653; color: #fff; }
.ecran-promo i { display: block; height: .45rem; width: 45%; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.ecran-promo i + i { width: 30%; background: #e9c46a; }

/* Prix */
.montants { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.4rem 0 1rem; }
.montants p { display: flex; flex-direction: column; }
.montants b { font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.montants span { color: var(--pale); margin-top: .35rem; }

/* Questions */
.faq { background: var(--blanc); }
.faq details { border-bottom: 1px solid var(--trait); max-width: 46rem; }
.faq details:first-of-type { margin-top: 1rem; border-top: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.05rem 2.5rem 1.05rem 0; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--action-fonce), var(--action-fonce)) center / 14px 2px no-repeat,
              linear-gradient(var(--action-fonce), var(--action-fonce)) center / 2px 14px no-repeat;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--pale); padding: 0 0 1.15rem; max-width: 40rem; }

/* Dernier appel */
.final { background: var(--creme); text-align: center; }
.final h2 { max-width: 22ch; margin: 0 auto 1.6rem; }

/* Pied de page */
.pied { background: var(--encre); color: #c9cddb; padding: 2.5rem 0; font-size: .9375rem; }
.pied-rangee { display: grid; gap: 1.1rem; }
.pied .marque { color: #fff; }
.pied .marque span { color: #f29a4f; }
.pied nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.pied a { color: #e8eaf2; }
.pied a:hover { color: #fff; }
.pied .droits { color: #a9aec0; }
.pied :focus-visible { outline-color: #fff; }

/* Formulaires (inscription) */
.vue-inscription main { max-width: 30rem; margin: 0 auto; padding: 2.25rem 1.25rem 3rem; }
.vue-inscription h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.vue-inscription main > .aide { margin: .5rem 0 1.25rem; }
.carte { background: var(--blanc); border-radius: var(--rayon); padding: 1.25rem; box-shadow: var(--ombre); margin-bottom: 1rem; }
.aide { color: var(--pale); font-size: .9375rem; }
.carte .aide { margin-top: .35rem; }
label { display: block; margin: 1rem 0 .35rem; font-size: .9375rem; font-weight: 600; }
.carte > label:first-of-type { margin-top: 0; }
input[type=text], input[type=email], input[type=password], select { width: 100%; padding: .75rem .85rem; font: inherit; color: var(--encre);
  background: var(--blanc); border: 1px solid #a9afc2; border-radius: 10px; }
input:focus, select:focus { outline: 3px solid rgba(226, 113, 29, .35); border-color: var(--action-fonce); }
input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--action-fonce); vertical-align: -.2em; margin-right: .35rem; }
p > label { font-weight: 400; margin-top: 1.1rem; }
.actions { margin-top: 1.25rem; }
button { font: inherit; cursor: pointer; }
button.large { width: 100%; background: var(--action); color: #fff; border: 0; border-radius: 10px; padding: .9rem 1rem; font-size: 1.1875rem; font-weight: 700; }
button.large:hover { background: var(--action-fonce); }
.msg { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.msg.erreur { background: #fde8e7; color: #8a1c16; }
.msg.ok { background: #e3f4e8; color: #17572c; }

/* Pages intérieures : prix, questions, pages légales */
.page-tete { padding: 2.5rem 0 1.5rem; }
.page-tete h1, .legal h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .75rem; max-width: 22ch; }
.phrase-prix { font-weight: 600; max-width: 40rem; }
.calcul { padding-top: 1rem; padding-bottom: 1.5rem; }
.calculateur { max-width: 34rem; padding: 1.5rem; }
.calculateur h2 { font-size: 1.5rem; }
input[type=number] { width: 8rem; padding: .75rem .85rem; font: inherit; font-size: 1.25rem; font-weight: 700; color: var(--encre);
  background: var(--blanc); border: 1px solid #a9afc2; border-radius: 10px; font-variant-numeric: tabular-nums; }
.total { margin-top: 1rem; font-size: 1.125rem; color: var(--pale); }
.total output b { color: var(--encre); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.exemples { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.exemples caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.exemples th, .exemples td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--trait); }
.exemples th { font-size: .875rem; color: var(--pale); font-weight: 600; }
.coches { display: grid; gap: .65rem; margin: 1.4rem 0 2.25rem; max-width: 44rem; }
.coches li { position: relative; padding-left: 2rem; font-size: 1.0625rem; }
.coches li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem;
  border-left: 3px solid var(--action-fonce); border-bottom: 3px solid var(--action-fonce); transform: rotate(-45deg); }
.deux-col { display: grid; gap: 1.75rem; }
.deux-col p { color: var(--pale); margin-top: .35rem; max-width: 34rem; }
.deux-col .lien-suite { margin-top: .75rem; }
.sommaire { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.sommaire a { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); border-radius: 999px; padding: .5rem 1rem;
  font-weight: 600; font-size: .9375rem; color: var(--encre); text-decoration: none; }
.sommaire a:hover { box-shadow: inset 0 0 0 2px var(--action-fonce); }
.vue-questions .faq { padding: 2.25rem 0; }
.vue-questions .faq:nth-of-type(even) { background: var(--fond); }
.legal { max-width: 46rem; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.legal .maj { color: var(--pale); font-size: .9375rem; margin-bottom: 1.25rem; }
.legal .intro { margin-bottom: .5rem; }
.legal section { padding: 1.5rem 0 0; }
.legal h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.legal section p + p { margin-top: .6rem; }

/* Ordinateur */
@media (min-width: 760px) {
  section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .etapes { padding-top: 1.5rem; }
  .etapes ol { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .vignettes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 1.25rem; }
  .pubs-grille { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .deux-col { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .page-tete { padding: 4rem 0 2rem; }
  .pied-rangee { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .pied nav { justify-content: center; }
  .entete nav { gap: 1.5rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
