/* ==========================================================
   Helena Parrotte — Kinésithérapie · Bien-être · Mouvement
   Feuille de style commune à toutes les pages.
   Pour changer les couleurs, modifiez uniquement les variables ci-dessous.
   ========================================================== */

:root {
  /* Fonds */
  /* Fond plus soutenu (test). Valeurs d'origine : --ivoire #fbf8f4, --beige #f4ede5, --trait #e7dfd6 */
  --ivoire: #f3ece3;
  --beige: #eae0d3;
  --blanc: #ffffff;

  /* Pastels */
  --lilas: #e6dcf2;
  --mauve: #cdb8e3;
  --rose: #f4dcd8;
  --peche: #f8e3d2;

  /* Couleur soutenue (boutons, détails) */
  /* Vieux rose. Ancien mauve : --accent #7a5a9e, --accent-fonce #634584 */
  --accent: #a3566d;
  --accent-fonce: #874459;

  /* Texte */
  --texte: #2e2a30;
  --texte-doux: #5f5862;
  --trait: #ddd1c3;

  --titre: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --corps: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --rayon: 20px;
  --largeur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--texte);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-fonce); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--texte);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.6rem; }
h1 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; }

.surtitre {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--beige { background: var(--beige); }
.section__intro { max-width: 620px; margin-bottom: 3rem; }
.section__intro p { color: var(--texte-doux); }
.centre { text-align: center; margin-left: auto; margin-right: auto; }

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.lien-evitement:focus { left: 1rem; top: 1rem; }

/* ---------- En-tête & navigation ---------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 236, 227, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.entete.defile { border-bottom-color: var(--trait); }

.entete__barre {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--titre);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--texte);
  text-decoration: none;
  line-height: 1;
}
.logo span {
  display: block;
  font-family: var(--corps);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-top: .35rem;
}

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2.2rem;
}
.nav a {
  font-size: .95rem;
  color: var(--texte);
  text-decoration: none;
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.menu-bouton {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.menu-bouton span {
  display: block; height: 1.5px; background: var(--texte);
  margin: 6px 0; transition: transform .3s, opacity .3s;
}
.menu-bouton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-bouton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-bouton { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--ivoire);
    border-bottom: 1px solid var(--trait);
    display: none;
  }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1.5rem; }
  .nav a { display: block; padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--trait); }
  .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--trait); }
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--corps);
  font-size: .95rem; font-weight: 500;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); color: #fff; }
.bouton--leger { background: transparent; color: var(--accent); }
.bouton--leger:hover { background: var(--rose); color: var(--accent-fonce); border-color: var(--accent); }
.boutons { display: flex; flex-wrap: wrap; gap: .8rem; }

.fleche::after { content: "→"; display: inline-block; margin-left: .45em; transition: transform .25s; }
a:hover .fleche::after, .fleche:hover::after { transform: translateX(3px); }

/* ---------- Accueil : héros ---------- */

.heros { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.heros__grille {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.heros__metiers {
  font-size: .85rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem; font-weight: 500;
}
.heros__phrase {
  font-family: var(--titre);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: var(--texte-doux);
  max-width: 30ch;
  margin: 1.5rem 0 2.2rem;
}
.heros__photo { position: relative; width: 100%; max-width: 360px; justify-self: center; margin-right: 6%; }
.heros__photo::before {
  content: ""; position: absolute;
  inset: 8% -6% -6% 10%;
  background: linear-gradient(140deg, var(--lilas), var(--rose) 60%, var(--peche));
  border-radius: 200px 200px var(--rayon) var(--rayon);
  z-index: 0;
}
.heros__photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--rayon) var(--rayon);
}

@media (max-width: 860px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__photo { max-width: 230px; margin: 0 auto; order: -1; }
  .heros__grille { gap: 2.5rem; }
  .heros__texte { text-align: center; }
  .heros__phrase { margin-left: auto; margin-right: auto; }
  .heros .boutons { justify-content: center; }
}

/* ---------- Cartes d'activités ---------- */

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1.1rem;
}
.carte {
  display: flex; flex-direction: column;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 1.8rem 1.5rem;
  text-decoration: none;
  color: var(--texte);
  border: 1px solid var(--trait);
  transition: transform .3s, box-shadow .3s;
}
a.carte:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(163, 86, 109, .45);
  color: var(--texte);
}
.carte h3 { font-size: 1.45rem; margin: 1.1rem 0 .4rem; }
.carte p { font-size: .95rem; color: var(--texte-doux); margin: 0 0 1rem; flex: 1; }
.carte .fleche { font-size: .88rem; color: var(--accent); font-weight: 500; }

.pastille {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
}
.pastille svg { width: 32px; height: 32px; stroke: var(--accent-fonce); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pastille--lilas { background: var(--lilas); }
.pastille--rose { background: var(--rose); }
.pastille--peche { background: var(--peche); }
.pastille--mauve { background: var(--mauve); }
.pastille--beige { background: var(--beige); }

/* ---------- Bandeau citation / appel ---------- */

.bandeau {
  text-align: center;
  background: linear-gradient(120deg, var(--lilas), var(--rose));
  border-radius: calc(var(--rayon) * 1.5);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.bandeau p.citation {
  font-family: var(--titre); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4;
  max-width: 34ch; margin: 0 auto 1.8rem;
}

/* ---------- En-tête de page intérieure ---------- */

.page-titre { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-titre p { color: var(--texte-doux); max-width: 560px; font-size: 1.1rem; }

/* ---------- À propos ---------- */

.apropos {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.apropos__photo img {
  border-radius: var(--rayon);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  position: sticky; top: 100px;
}
.apropos__texte p { max-width: 62ch; }
.apropos__texte .accroche {
  font-family: var(--titre); font-size: 1.6rem; line-height: 1.4; font-style: italic; color: var(--accent-fonce);
  margin: 2rem 0;
}
.disciplines {
  list-style: none; padding: 0; margin: 1.5rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.disciplines li {
  background: var(--lilas); color: var(--accent-fonce);
  font-size: .9rem; font-weight: 500;
  padding: .45rem 1rem; border-radius: 999px;
}
.disciplines li:nth-child(2n) { background: var(--rose); }
.disciplines li:nth-child(3n) { background: var(--peche); }

@media (max-width: 860px) {
  .apropos { grid-template-columns: 1fr; }
  .apropos__photo { max-width: 340px; }
  .apropos__photo img { position: static; }
}

.formations { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid var(--mauve); }
.formations li { display: flex; gap: 1.2rem; padding: .6rem 0 .6rem 1.2rem; line-height: 1.45; }
.formations .annee { font-family: var(--titre); font-size: 1.35rem; font-weight: 600; color: var(--accent-fonce); min-width: 3em; }
.formations small { color: var(--texte-doux); font-size: .9rem; }

/* ---------- Activités détaillées ---------- */

.sommaire {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.sommaire a {
  font-size: .9rem; text-decoration: none;
  border: 1px solid var(--trait); background: var(--blanc);
  padding: .45rem 1rem; border-radius: 999px; color: var(--texte);
}
.sommaire a:hover { border-color: var(--accent); color: var(--accent); }

.activite {
  display: grid; grid-template-columns: 300px 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--trait);
  scroll-margin-top: 90px;
}
.activite__visuel {
  border-radius: var(--rayon);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.activite__visuel svg { width: 42%; stroke: var(--accent-fonce); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.activite__visuel img { width: 100%; height: 100%; object-fit: cover; }
.activite p.desc { max-width: 60ch; color: var(--texte-doux); }

.infos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem; margin: 1.6rem 0;
}
.info {
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: 14px; padding: 1rem 1.2rem;
}
.info dt {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: .25rem;
}
.info dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.info dd + dt { margin-top: .9rem; }

.lieu-nom { font-weight: 500; }

@media (max-width: 760px) {
  .activite { grid-template-columns: 1fr; }
  .activite__visuel { aspect-ratio: 5 / 2; }
  .activite__visuel svg { width: 18%; }
}

/* ---------- Planning de la semaine (tableau) ---------- */

.semaine-cadre { background: var(--blanc); border-radius: var(--rayon); border: 1px solid var(--trait); overflow: hidden; max-width: 880px; }
/* La colonne Activité prend juste la place de sa pastille : le Lieu suit directement */
.semaine td:nth-last-child(2), .semaine thead th:nth-child(3) { width: 1%; white-space: nowrap; padding-right: 2.5rem; }
.semaine { width: 100%; border-collapse: collapse; }
.semaine thead th {
  text-align: left; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 500; color: var(--texte-doux); background: var(--beige);
  padding: .9rem 1.4rem;
}
.semaine td, .semaine tbody th { padding: .95rem 1.4rem; text-align: left; vertical-align: middle; }
.semaine tbody th {
  font-family: var(--titre); font-size: 1.45rem; font-weight: 500; color: var(--accent-fonce);
  width: 150px; vertical-align: top; padding-top: 1.05rem;
}
.semaine tr.debut-jour > * { border-top: 1px solid var(--trait); }
.semaine tbody tr:first-child > * { border-top: 0; }
.semaine .heure { font-weight: 500; white-space: nowrap; width: 170px; font-variant-numeric: tabular-nums; }
.semaine small { display: block; color: var(--texte-doux); font-size: .85rem; }

.tag { display: inline-block; padding: .3rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--texte); }
.tag--kine { background: var(--lilas); }
.tag--drainage { background: var(--rose); }
.tag--pilates { background: var(--peche); }
.tag--fitdance { background: var(--mauve); }
.tag--coaching { background: #dfe8dc; }

@media (max-width: 700px) {
  .semaine thead { display: none; }
  .semaine, .semaine tbody, .semaine tr, .semaine td, .semaine tbody th { display: block; width: auto; }
  .semaine tr { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; padding: .8rem 1.2rem; }
  .semaine tr.debut-jour { border-top: 1px solid var(--trait); }
  .semaine tbody tr:first-child { border-top: 0; }
  .semaine tr > * { border-top: 0 !important; padding: 0; }
  .semaine tbody th { grid-column: 1 / -1; padding: .2rem 0 .3rem; font-size: 1.35rem; }
  .semaine .heure { grid-row: span 2; width: auto; padding-top: .3rem; }
  .semaine td:last-child { grid-column: 2; }
}

/* ---------- Mentions légales ---------- */

.texte-legal { max-width: 720px; }
.texte-legal h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.texte-legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; }
.texte-legal dt { font-weight: 500; }
.texte-legal dd { margin: 0; }
@media (max-width: 560px) { .texte-legal dl { grid-template-columns: 1fr; } .texte-legal dd { margin-bottom: .6rem; } }

.reseaux { display: flex; gap: .6rem; margin-top: 1rem; }
.reseaux a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blanc); border: 1px solid var(--trait); color: var(--accent-fonce);
}
.reseaux a:hover { border-color: var(--accent); background: var(--lilas); }
.reseaux svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tarifs ---------- */

.tarifs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.25rem;
}
.tarif {
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: var(--rayon); padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
}
.tarif h2 { font-size: 1.7rem; margin-bottom: .2rem; }
.tarif .lieu { font-size: .9rem; color: var(--texte-doux); margin-bottom: 1.4rem; }
.tarif__lignes { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.tarif__lignes li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px dashed var(--trait);
}
.tarif__lignes li:last-child { border-bottom: 0; }
.prix {
  font-family: var(--titre); font-size: 1.7rem; font-weight: 600;
  color: var(--accent-fonce); white-space: nowrap;
}
.prix--texte { font-family: var(--corps); font-size: .95rem; font-weight: 500; white-space: normal; text-align: right; }
.tarif .note { font-size: .88rem; color: var(--texte-doux); margin-bottom: 1.2rem; }
.tarif .bouton { align-self: flex-start; }
.tarif--accent { border-top: 4px solid var(--mauve); }
.tarif--rose { border-top: 4px solid var(--rose); }
.tarif--peche { border-top: 4px solid var(--peche); }

/* ---------- Contact ---------- */

.contact {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.formulaire { display: grid; gap: 1.2rem; }
.formulaire label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4rem; }
.formulaire input,
.formulaire textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--texte);
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: 12px;
  padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.formulaire input:focus,
.formulaire textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--lilas);
}
.formulaire textarea { min-height: 170px; resize: vertical; }
.formulaire .bouton { justify-self: start; }
.formulaire__retour { font-size: .95rem; color: var(--accent-fonce); min-height: 1.5em; margin: 0; }

.coordonnees {
  background: var(--beige); border-radius: var(--rayon); padding: 2rem 1.75rem;
}
.coordonnees h2 { font-size: 1.7rem; }
.coordonnees__profil { display: flex; align-items: center; gap: 1.2rem; margin-bottom: .5rem; }
.coordonnees__profil img {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: 50% 35%;
  border: 4px solid var(--blanc); box-shadow: 0 8px 20px -12px rgba(46, 42, 48, .35); flex-shrink: 0;
}
.coordonnees__profil h2 { margin-bottom: .2rem; }
.coordonnees__profil p { margin: 0; line-height: 1.4; }
.coordonnees__profil span { color: var(--texte-doux); font-size: .9rem; }
.coordonnees dl { margin: 0 0 1.5rem; }
.coordonnees dt {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-top: 1.1rem;
}
.coordonnees dd { margin: .2rem 0 0; }
.rdv-liste { display: grid; gap: .6rem; justify-items: start; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
}

/* Emplacements à compléter : bien visibles pendant la préparation du site */
.a-completer {
  display: inline-block;
  background: repeating-linear-gradient(45deg, #fff6e8, #fff6e8 8px, #fdeedd 8px, #fdeedd 16px);
  border: 1px dashed #d9b48a;
  color: #8a5a2b;
  font-size: .88rem;
  padding: .15rem .6rem;
  border-radius: 6px;
}

/* ---------- Pied de page ---------- */

.pied {
  background: var(--beige);
  padding: 3.5rem 0 2rem;
  font-size: .95rem;
  margin-top: 0;
  border-top: 1px solid var(--trait);
}
.pied__grille {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
.pied h2 {
  font-family: var(--corps); font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1rem;
}
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: var(--accent); }
.pied .logo { display: inline-block; margin-bottom: 1rem; }
.pied p { color: var(--texte-doux); max-width: 34ch; }
.pied__bas {
  border-top: 1px solid var(--trait); padding-top: 1.5rem;
  font-size: .82rem; color: var(--texte-doux);
}

@media (max-width: 760px) {
  .pied__grille { grid-template-columns: 1fr; }
}

/* Apparition douce (discrète, désactivée si l'utilisateur réduit les animations) */
/* Le contenu reste visible même si le script ne s'exécute pas : seule la classe .js active l'effet. */
.js .apparait { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; }
}
