/* Site des clients d'un salon (Timezia). Cinq teintes au choix (réglage « color »), posées sur <html data-color="…">. */
:root {
  --fond: #FBF4E6; --carte: #FFFDF8; --encre: #2F2A22; --doux: #6F6658; --trait: #EADFC8;
  --accent: #B8741A; --accent-fonce: #8F560C; --sur-accent: #FFFFFF; --pale: #F6E7C8;
  --hero-a: #F9E3B4; --hero-b: #F3C98B; --rouge: #B3372B;
  --titre: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --texte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
[data-color="lagon"] { --fond: #EEF7F6; --carte: #FCFFFE; --encre: #16302F; --doux: #51706E; --trait: #CFE5E2;
  --accent: #0F7C7A; --accent-fonce: #0A5C5A; --pale: #D5EEEB; --hero-a: #BFE6E0; --hero-b: #7CCBC6; }
[data-color="jungle"] { --fond: #F1F6EC; --carte: #FDFFFB; --encre: #1F2E1C; --doux: #5A6B55; --trait: #D7E4CC;
  --accent: #3F7A33; --accent-fonce: #2C5A23; --pale: #DDEBD2; --hero-a: #CFE5BE; --hero-b: #9CC98A; }
[data-color="corail"] { --fond: #FFF4EF; --carte: #FFFDFC; --encre: #3A221C; --doux: #7A5F57; --trait: #F3D9CF;
  --accent: #C9502F; --accent-fonce: #A03A1E; --pale: #FBE0D6; --hero-a: #FBD3C2; --hero-b: #F5A98C; }
[data-color="nuit"] { --fond: #14181F; --carte: #1D232D; --encre: #F2EDE2; --doux: #A9A394; --trait: #2F3745;
  --accent: #E0A93F; --accent-fonce: #F0BE5C; --sur-accent: #1A1509; --pale: #2A3140; --hero-a: #232B3A; --hero-b: #3A2F1C;
  --rouge: #F08A7E; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 16px/1.55 var(--texte); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0 0 12px; }
a { color: var(--accent-fonce); }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px;
  max-width: 1040px; margin: 0 auto; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre);
  font: 600 22px var(--titre); letter-spacing: .02em; }
.fleur { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 1px 2px rgba(120, 80, 10, .25)); }
.tel { text-decoration: none; font-weight: 600; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  background: var(--pale); color: var(--encre); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; }
.attente { text-align: center; color: var(--doux); padding: 80px 0; }

.hero { position: relative; overflow: hidden; border-radius: 28px; min-height: 300px; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); background-size: cover; background-position: center; }
.hero .grande { position: absolute; right: -40px; top: -50px; width: 330px; height: 330px; opacity: .95;
  filter: drop-shadow(0 12px 24px rgba(90, 60, 10, .22)); }
.hero .petite { position: absolute; right: 230px; bottom: -40px; width: 150px; height: 150px; opacity: .8; transform: rotate(24deg); }
.hero.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .62)); }
.hero-texte { position: relative; z-index: 1; padding: 32px; max-width: 620px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); }
.hero p { font-size: 18px; margin: 8px 0 20px; color: var(--encre); opacity: .85; }
.hero.photo h1, .hero.photo p { color: #fff; opacity: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px;
  border: 0; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-weight: 650; font-size: 16px;
  text-decoration: none; transition: transform .12s, background .12s; }
.bouton:hover { background: var(--accent-fonce); }
[data-color="nuit"] .bouton:hover { color: var(--sur-accent); }
.bouton:active { transform: scale(.98); }
.bouton[disabled] { opacity: .55; cursor: default; }
.bouton.clair { background: transparent; color: var(--accent-fonce); box-shadow: inset 0 0 0 1.5px var(--accent); }
.bouton.clair:hover { background: var(--pale); }
.bouton.danger { background: transparent; color: var(--rouge); box-shadow: inset 0 0 0 1.5px var(--rouge); }
.bouton.danger.sur { background: var(--rouge); color: #fff; }
.lien { background: none; border: 0; padding: 4px 0; color: var(--accent-fonce); text-decoration: underline; }

.avis { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--pale); border: 1px solid var(--trait); }
section { margin-top: 44px; scroll-margin-top: 12px; }
section > h2 { font-size: 28px; margin-bottom: 4px; }
.sous { color: var(--doux); margin-bottom: 18px; }

/* étapes de la réservation */
.etapes { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.etapes li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  color: var(--doux); font-size: 14px; background: transparent; border: 1px solid var(--trait); }
.etapes li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--trait);
  color: var(--encre); font-size: 13px; }
.etapes li.ici { background: var(--carte); color: var(--encre); border-color: var(--accent); font-weight: 600; }
.etapes li.ici b, .etapes li.fait b { background: var(--accent); color: var(--sur-accent); }
.etapes li.fait { cursor: pointer; }

.soins { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.soin { background: var(--carte); border: 1px solid var(--trait); border-radius: 22px; padding: 22px; display: flex;
  flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(60, 40, 10, .04); }
.soin h3 { font-size: 22px; display: flex; gap: 10px; align-items: center; }
.soin h3 svg { width: 28px; height: 28px; flex: none; }
.soin .desc { color: var(--doux); font-size: 14.5px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.soin .desc.tout { display: block; }
.soin .lien { align-self: flex-start; font-size: 14px; margin-top: -6px; }
.durees { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.duree { flex: 1 1 120px; min-height: 58px; border-radius: 16px; border: 1.5px solid var(--accent); background: transparent;
  padding: 8px 12px; text-align: left; line-height: 1.25; transition: background .12s; }
.duree:hover { background: var(--pale); }
.duree b { display: block; font-size: 17px; }
.duree span { color: var(--doux); font-size: 14px; }

.resume { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; background: var(--carte);
  border: 1px solid var(--trait); border-radius: 18px; padding: 14px 18px; margin-bottom: 18px; }
.resume b { font: 600 18px var(--titre); }
.resume span { color: var(--doux); }
.resume .lien { margin-left: auto; }

.jours-barre { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.jours-barre h3 { flex: 1; font-size: 19px; text-transform: capitalize; }
.rond { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); background: var(--carte); font-size: 20px;
  line-height: 1; }
.rond[disabled] { opacity: .35; cursor: default; }
.jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.jour { min-height: 68px; border-radius: 16px; border: 1px solid var(--trait); background: var(--carte); padding: 6px 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.jour small { color: var(--doux); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.jour b { font-size: 19px; }
.jour[disabled] { opacity: .38; cursor: default; background: transparent; }
.jour[disabled] b { text-decoration: line-through; font-weight: 400; }
.jour.choisi { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.jour.choisi small { color: inherit; opacity: .85; }
.heures { margin-top: 22px; }
.heures h4 { margin: 16px 0 8px; font: 600 14px var(--texte); color: var(--doux); text-transform: uppercase; letter-spacing: .06em; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.creneau { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--accent); background: var(--carte); font-weight: 600;
  font-variant-numeric: tabular-nums; }
.creneau:hover { background: var(--accent); color: var(--sur-accent); }
.vide { padding: 22px; border-radius: 16px; border: 1px dashed var(--trait); color: var(--doux); text-align: center; }

.formulaire { display: grid; gap: 14px; max-width: 520px; }
.champ { display: grid; gap: 5px; }
.champ label { font-weight: 600; font-size: 14.5px; }
.champ label small { font-weight: 400; color: var(--doux); }
.champ input, .champ textarea { font: inherit; color: var(--encre); background: var(--carte); border: 1.5px solid var(--trait);
  border-radius: 14px; padding: 12px 14px; width: 100%; min-height: 48px; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--pale); }
.champ.faux input { border-color: var(--rouge); }
.champ .aide { color: var(--rouge); font-size: 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erreur { color: var(--rouge); font-weight: 600; margin: 0; }
.petit { color: var(--doux); font-size: 14px; }

.fini { text-align: center; background: var(--carte); border: 1px solid var(--trait); border-radius: 26px; padding: 36px 22px; }
.fini svg { width: 84px; height: 84px; }
.fini h2 { font-size: 30px; margin: 10px 0 6px; }
.fini .quand { font: 600 21px var(--titre); margin: 14px 0 4px; }
.fini .quand::first-letter { text-transform: uppercase; }
.fini .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.etiquette { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--pale); }
.etiquette.rouge { background: transparent; color: var(--rouge); box-shadow: inset 0 0 0 1.5px var(--rouge); }

.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info { background: var(--carte); border: 1px solid var(--trait); border-radius: 22px; padding: 22px; }
.info h3 { font-size: 20px; margin-bottom: 10px; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires td { padding: 4px 0; }
.horaires td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr.auj td { font-weight: 700; }
.apropos { white-space: pre-line; max-width: 720px; }
.article { background: var(--carte); border: 1px solid var(--trait); border-radius: 22px; padding: 22px; margin-bottom: 14px; }
.article time { color: var(--doux); font-size: 14px; }
.article h3 { font-size: 21px; margin: 2px 0 8px; }
.article p { white-space: pre-line; margin: 0; }

.bas { max-width: 1040px; margin: 0 auto; padding: 24px 20px 40px; color: var(--doux); font-size: 14px; text-align: center;
  border-top: 1px solid var(--trait); }

@media (max-width: 640px) {
  .haut { padding: 10px 16px; }
  .marque { font-size: 19px; }
  .hero { border-radius: 22px; min-height: 260px; }
  .hero .grande { width: 220px; height: 220px; right: -50px; top: -40px; }
  .hero .petite { display: none; }
  .hero-texte { padding: 22px; }
  .hero .bouton { width: 100%; }
  .jours { gap: 5px; }
  .jour { min-height: 60px; border-radius: 13px; }
  .jour b { font-size: 17px; }
  .etapes li span { display: none; }
  .etapes li.ici span { display: inline; }
  .formulaire .bouton { width: 100%; }
  .resume .lien { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }

/* salons sans fleur : initiale, fond simple, puces */
.initiale { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent);
  color: var(--sur-accent, #fff); font: 600 20px var(--titre); }
#embleme { display: flex; }
.hero.simple::before, .hero.simple::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.hero.simple::before { width: 340px; height: 340px; right: -70px; top: -110px; }
.hero.simple::after { width: 170px; height: 170px; right: 200px; bottom: -70px; background: rgba(255, 255, 255, .2); }
.puce { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; flex: none; }
.coche-ok { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--accent); color: var(--sur-accent, #fff); font-style: normal; font-size: 26px; }
.qui { margin: 18px 0 6px; }
.qui h3 { font-size: 17px; margin-bottom: 10px; }
.qui-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.pers { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--carte); font-weight: 600; }
.pers.choisi { background: var(--accent); border-color: var(--accent); color: var(--sur-accent, #fff); }
.par { font-size: 12.5px; opacity: .75; }
@media (max-width: 640px) { .hero.simple::after { display: none; } }

/* photo d'une prestation, en haut de sa carte */
.soin.illustre { overflow: hidden; }
.soin .photo { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 16px; aspect-ratio: 16 / 9; object-fit: cover; }

/* catégories, questions du salon, conditions, avis */
.categorie { font-size: 21px; margin: 26px 0 12px; }
.categorie:first-of-type { margin-top: 0; }
.champ select { font: inherit; color: var(--encre); background: var(--carte); border: 1.5px solid var(--trait); border-radius: 14px;
  padding: 12px 14px; width: 100%; min-height: 48px; }
.champ .titre { font-weight: 600; font-size: 14.5px; }
.champ .titre small { font-weight: 400; color: var(--doux); }
.etoile { color: var(--rouge); }
.ouinon { display: flex; gap: 8px; }
.ouinon label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 20px; border-radius: 999px;
  border: 1.5px solid var(--trait); background: var(--carte); font-weight: 600; cursor: pointer; }
.ouinon label:has(input:checked) { border-color: var(--accent); background: var(--pale); }
.ouinon input, .coche input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.champ.faux select, .champ.faux .ouinon label, .conditions.faux { border-color: var(--rouge); }
.conditions { background: var(--carte); border: 1.5px solid var(--trait); border-radius: 16px; padding: 14px 16px; }
.conditions p { white-space: pre-line; color: var(--doux); font-size: 14.5px; max-height: 180px; overflow-y: auto; }
.coche { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.etoiles { color: #E0A000; letter-spacing: 2px; white-space: nowrap; }
.etoiles i { font-style: normal; color: var(--trait); }
.avis-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.article.avis { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.donner-avis { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--trait); display: grid; gap: 12px; justify-items: center; }
.donner-avis textarea { font: inherit; color: var(--encre); background: var(--fond); border: 1.5px solid var(--trait); border-radius: 14px;
  padding: 12px 14px; width: min(480px, 100%); }
.notes { display: flex; gap: 4px; }
.note { width: 48px; height: 48px; border: 0; background: none; font-size: 34px; line-height: 1; color: var(--trait); }
.note.choisie { color: #E0A000; }
