/* Massage Naturiste Réunion — feuille de style unique */

:root {
  --fond: #f3e9dd;        /* sable chaud */
  --fond-2: #fffaf3;      /* champs de formulaire */
  --texte: #3a2a21;       /* brun profond */
  --texte-doux: #6a5244;  /* texte secondaire */
  --accent: #9c4f2c;      /* cuivre */
  --accent-fonce: #7e3d20;
  --trait: rgba(58, 42, 33, 0.16);
  --pied: #bba796;        /* bas de page volontairement discret */
  --titres: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --corps: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* En-tête */
.entete {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.marque { text-decoration: none; color: var(--texte); }
.marque-nom {
  font-family: var(--titres);
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.2;
}
.marque-sous {
  font-family: var(--titres);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.menu a {
  color: var(--texte-doux);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.menu a:hover { color: var(--texte); }
.menu a[aria-current="page"] { color: var(--texte); border-bottom-color: var(--accent); }

/* Contenu */
main { max-width: 68rem; margin: 0 auto; padding: 0 1rem 4rem; }

.ouverture {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}
@media (min-width: 52rem) {
  .ouverture { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; padding-top: 3rem; }
}
.ouverture img { border-radius: 2px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--fond-2); color: var(--texte-doux); }

h1, h2, h3 { font-family: var(--titres); font-weight: normal; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.75rem; margin: 3rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.25rem; }

.chapeau { font-size: 1.2rem; color: var(--texte-doux); max-width: 36rem; }

.texte { max-width: 40rem; }
.texte p { margin: 0 0 1rem; }

.bouton {
  display: inline-block;
  background: var(--accent);
  color: #fffaf3;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--corps);
  font-size: 1rem;
  cursor: pointer;
}
.bouton:hover { background: var(--accent-fonce); }

.note {
  color: var(--texte-doux);
  font-size: 0.95rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 40rem;
}

/* Prestations */
.carte {
  border-top: 1px solid var(--trait);
  padding: 1.75rem 0;
  display: grid;
  gap: 0.5rem 2rem;
  max-width: 52rem;
}
@media (min-width: 44rem) {
  .carte { grid-template-columns: 1fr auto; }
  .carte .prix { text-align: right; }
}
.carte p { margin: 0.25rem 0 0; color: var(--texte-doux); max-width: 38rem; }
.carte .detail { font-size: 0.95rem; }
.prix { font-family: var(--titres); font-size: 1.35rem; color: var(--accent); white-space: nowrap; }
.prix small { font-family: var(--corps); font-size: 0.85rem; color: var(--texte-doux); margin-left: 0.4rem; }

/* Deux colonnes simples */
.colonnes { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .colonnes { grid-template-columns: 1fr 1fr; } }

/* Formulaire */
form { max-width: 36rem; }
.champ { margin-bottom: 1.1rem; }
label { display: block; margin-bottom: 0.35rem; }
.facultatif { color: var(--texte-doux); font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  background: var(--fond-2);
  border: 1px solid var(--trait);
  color: var(--texte);
  padding: 0.7rem 0.8rem;
  font: inherit;
  border-radius: 2px;
}
textarea { min-height: 9rem; resize: vertical; }
.case { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.9rem; }
.case input { margin-top: 0.35rem; accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex: none; }
.case label { margin: 0; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention-form { font-size: 0.85rem; color: var(--texte-doux); margin-top: 1.25rem; }

/* Pages juridiques */
.juridique h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.juridique p, .juridique li { color: var(--texte-doux); }

/* Bas de page discret */
.pied {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid rgba(58, 42, 33, 0.08);
  color: var(--pied);
  font-size: 0.8rem;
  line-height: 1.6;
}
.pied a { color: var(--pied); }
.pied a:hover { color: var(--texte-doux); }

@media (prefers-reduced-motion: no-preference) {
  .bouton, .menu a { transition: color .15s, background-color .15s, border-color .15s; }
}

/* Bandeau photo en haut de page */
.bandeau {
  position: relative;
  max-width: 100%;
  margin: 0 0 2.5rem;
  overflow: hidden;
}
.bandeau img {
  width: 100%;
  height: clamp(15rem, 42vw, 30rem);
  object-fit: cover;
}
.bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 28, 20, 0.75) 0%, rgba(45, 28, 20, 0.25) 45%, rgba(45, 28, 20, 0) 70%);
  pointer-events: none;
}
.bandeau-texte {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem 1.75rem;
  color: #fbf6ea;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.bandeau-texte h1 { margin: 0 0 0.4rem; }
.bandeau-texte p { margin: 0; max-width: 36rem; font-size: 1.15rem; }

.intro { padding: 0 0 1rem; }

/* Cartes de prestation avec image */
.carte.avec-image img {
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}
@media (min-width: 44rem) {
  .carte.avec-image { grid-template-columns: 11rem 1fr auto; align-items: start; }
  .carte.avec-image img { aspect-ratio: 1 / 1; }
}

/* Bandeau partagé : texte à gauche, photo noir et blanc à droite */
.bandeau-partage {
  display: grid;
  background: #2d1c14;
  max-width: none;
}
.bandeau-partage::after { display: none; }
.bandeau-partage img { height: auto; aspect-ratio: 3 / 2; max-height: 30rem; }
.bandeau-partage .bandeau-texte {
  position: static;
  padding: 1.75rem 1rem;
  align-self: end;
  text-shadow: none;
}
@media (min-width: 52rem) {
  .bandeau-partage { grid-template-columns: 1fr minmax(0, 46rem); }
  .bandeau-partage picture { order: 2; }
  .bandeau-partage .bandeau-texte { padding: 2.5rem 2.5rem 2.5rem max(1rem, calc((100vw - 68rem) / 2 + 1rem)); margin: 0; }
}

/* Photo noir et blanc à côté d'un texte */
.duo { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .duo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; } }
.duo img { width: 100%; border-radius: 2px; }

.illustration { width: 100%; border-radius: 2px; margin-top: 1.5rem; }
.intro.duo img { max-height: 36rem; object-fit: cover; }
