/* =========================================================
   Modèle « Beauté » (salon de coiffure) · Vitrine & Cie
   Pour un client : changez les variables ci-dessous (couleurs, polices), les textes et l'illustration.
   ========================================================= */
:root {
  --fond: #f3dde2;          /* rose poudré */
  --fond-clair: #fbf0f2;    /* cartes */
  --prune: #3b1830;         /* texte, section sombre */
  --prune-doux: #6e4a62;    /* texte secondaire */
  --framboise: #b2457a;     /* accent (décor et grands titres) */
  --framboise-texte: #9a3567; /* accent assez foncé pour du petit texte */
  --police-titres: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --police-texte: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --rayon: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fond); color: var(--prune); font: 400 17px/1.6 var(--police-texte); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--prune); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Bandeau « site d'exemple » (à retirer pour un vrai client) */
.demo-bandeau { background: #121212; color: #f7f5f0; text-align: center; font: 500 13px/1.4 "Inter Tight", system-ui, sans-serif; padding: 8px 16px; }
.demo-bandeau a { color: #f2c14e; }
.demo-bulle { position: fixed; left: 50%; bottom: 90px; z-index: 99; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 460px); background: var(--prune); color: var(--fond); font: 500 14.5px/1.45 "Inter Tight", system-ui, sans-serif; padding: 14px 18px; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.3); transition: opacity .3s, transform .3s; }
.demo-bulle.est-visible { opacity: 1; transform: translate(-50%, 0); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: var(--rayon); background: var(--prune); color: var(--fond); border: 0; font: 600 16px/1 var(--police-texte); text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s; }
.bouton:hover { transform: translateY(-2px); background: var(--framboise-texte); }
.bouton--petit { min-height: 44px; padding: 0 22px; font-size: 15px; }
.lien { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(243,221,226,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(59,24,48,.1); }
.entete__in { display: flex; align-items: center; gap: 30px; height: 76px; }
.marque { font: 400 32px/1 var(--police-titres); text-decoration: none; margin-right: auto; }
.marque em { color: var(--framboise-texte); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--framboise-texte); }

/* Haut de page */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero__grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero__texte { padding-bottom: 70px; }
.hero__sur { font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--framboise-texte); }
h1 { font: 400 clamp(58px, 8.4vw, 132px)/.9 var(--police-titres); letter-spacing: -.025em; margin: 22px 0 26px; }
h1 em { color: var(--framboise); }
.hero__chapo { font-size: 19.5px; color: var(--prune-doux); max-width: 28em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.hero__info { margin-top: 30px; font-size: 15px; color: var(--prune-doux); display: flex; align-items: center; gap: 10px; }
.hero__info::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero__visuel { position: relative; padding: 40px 0 0 40px; }
.hero__photo { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 999px 999px 0 0; }
.hero__arche-deco { position: absolute; left: 0; top: 90px; bottom: 0; width: 46%; border-radius: 999px 999px 0 0; background: var(--framboise); }
.hero__soleil { position: absolute; right: -10px; top: 0; z-index: 2; width: 96px; height: 96px; border-radius: 50%; background: #f7c9b8; box-shadow: 0 0 0 12px rgba(247,201,184,.35); }
.presta { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; }
.presta__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; border-radius: 36px; }
.presta .carte-presta { grid-template-columns: 1fr; gap: 34px; }
.salon__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; border-radius: 36px; margin-bottom: 56px; }

/* Sections */
.section { padding: 96px 0; }
h2 { font: 400 clamp(44px, 5.6vw, 80px)/1 var(--police-titres); letter-spacing: -.02em; margin-bottom: 44px; }
h2 em { color: var(--framboise); }
.carte-presta { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--fond-clair); border-radius: 36px; padding: 48px; }
.carte-presta h3 { font: italic 400 34px/1 var(--police-titres); margin-bottom: 18px; color: var(--framboise-texte); }
.tarifs li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(59,24,48,.12); font-size: 17.5px; }
.tarifs li span { flex: 1; display: flex; align-items: baseline; gap: 12px; }
.tarifs li span::after { content: ""; flex: 1; border-bottom: 1.5px dotted rgba(59,24,48,.3); transform: translateY(-4px); }
.tarifs b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { margin-top: 22px; font-size: 14.5px; color: var(--prune-doux); }

.section--prune { background: var(--prune); color: var(--fond); }
.section--prune h2 em { color: #f0a3c6; }
.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.valeurs li { border-top: 1px solid rgba(243,221,226,.3); padding-top: 26px; }
.valeurs h3 { font: 400 32px/1.05 var(--police-titres); margin-bottom: 12px; }
.valeurs p { color: #dcbccc; }

.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.horaires { width: 100%; border-collapse: collapse; font-size: 18px; }
.horaires th, .horaires td { padding: 18px 0; border-bottom: 1px solid rgba(59,24,48,.15); text-align: left; font-weight: 500; }
.horaires td { text-align: right; font-weight: 600; }
.adresse { background: var(--framboise); color: #fff; border-radius: 200px 200px 36px 36px; padding: 70px 40px 44px; text-align: center; }
.adresse h2 { margin-bottom: 18px; }
.adresse address { font: italic 400 30px/1.25 var(--police-titres); margin-bottom: 22px; }

.reserver { padding: 96px 0; background: var(--fond-clair); }
.reserver__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.reserver__grille > div > p { font-size: 19px; color: var(--prune-doux); max-width: 26em; margin-bottom: 26px; }
.reserver h2 em { white-space: nowrap; }
.tel { font: 400 clamp(40px, 5vw, 64px)/1 var(--police-titres); text-decoration: none; color: var(--framboise-texte); border-bottom: 2px solid currentColor; }
.formulaire { background: var(--fond); border-radius: 30px; padding: 34px; display: grid; gap: 8px; }
.formulaire label { font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.formulaire input, .formulaire textarea { width: 100%; font: 16px/1.4 var(--police-texte); color: var(--prune); background: var(--fond-clair); border: 1.5px solid rgba(59,24,48,.18); border-radius: 14px; padding: 13px 15px; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--prune); }
.formulaire .bouton { margin-top: 12px; justify-self: start; }

.pied { padding: 34px 0 40px; font-size: 15px; color: var(--prune-doux); border-top: 1px solid rgba(59,24,48,.12); }
.pied__in { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: baseline; justify-content: space-between; }
.pied .marque { margin: 0; font-size: 26px; color: var(--prune); }
.barre-mobile { display: none; }

@media (max-width: 960px) {
  .hero__grille, .infos, .reserver__grille, .carte-presta, .presta { grid-template-columns: 1fr; }
  .presta__photo img { aspect-ratio: 4 / 3; object-position: 50% 35%; border-radius: 28px; }
  .hero__texte { padding-bottom: 10px; }
  .hero__visuel { max-width: 420px; margin-left: auto; }
  .valeurs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .w { padding: 0 20px; }
  .nav, .entete .bouton { display: none; }
  .entete__in { height: 62px; }
  .marque { font-size: 28px; }
  .hero { padding-top: 30px; }
  h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero__chapo { font-size: 17.5px; }
  .hero__actions .bouton { flex: 1 1 100%; }
  .hero__visuel { max-width: 320px; padding: 26px 0 0 26px; }
  .hero__photo { max-height: 380px; }
  .hero__soleil { width: 64px; height: 64px; right: -4px; box-shadow: 0 0 0 8px rgba(247,201,184,.35); }
  .presta__photo img { aspect-ratio: 1 / 1; object-position: 55% 35%; border-radius: 24px; }
  .salon__photo { border-radius: 24px; aspect-ratio: 4 / 3; object-position: 30% top; margin-bottom: 40px; }
  .section, .reserver { padding: 64px 0; }
  .carte-presta { padding: 28px 20px; border-radius: 24px; gap: 30px; }
  .tarifs li { font-size: 16px; }
  .adresse { padding: 56px 24px 36px; }
  .formulaire { padding: 24px 20px; }
  .formulaire .bouton { width: 100%; }
  body { padding-bottom: 74px; }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(243,221,226,.96); border-top: 1px solid rgba(59,24,48,.12); }
  .barre-mobile a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; background: var(--prune); color: var(--fond); font-weight: 700; text-decoration: none; }
  .barre-mobile a + a { background: var(--framboise-texte); color: #fff; }
}
