/* Institut Nature & Bien-Être, couleurs et polices reprises du site Wix */
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
/* Polices du logo : Carlito (équivalent libre de Calibri) et Script MT Bold */
@font-face { font-family: "Carlito"; font-weight: 700; font-display: swap; src: url("../fonts/carlito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Script MT Bold"; font-weight: 700; font-display: swap; src: url("../fonts/ScriptMTBold.woff2") format("woff2"); }

:root {
  --brun: #645145;        /* boutons, titres */
  --brun-logo: #6c5043;   /* texte du logo */
  --taupe: #c3b4a3;       /* bandeau, menu actif */
  --taupe-clair: #e9e2da;
  --gris: #d2d1d0;        /* panneau contact */
  --bleu: #4a7fc1;        /* vagues du logo */
  --texte: #2f2a27;
  --texte-doux: #6b625c;
  --blanc: #ffffff;
  --largeur: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brun); }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.entete { position: relative; background: var(--blanc); padding: 28px 0 24px; text-align: center; }
/* Bouton Planity en haut à droite, centré verticalement sur le logo */
.entete .bouton-entete {
  position: absolute; right: 24px; top: calc(50% + 2px); transform: translateY(-50%);
  font-size: 15px; padding: 10px 24px;
}
/* Tablette et téléphone : le bouton passe sous le logo */
@media (max-width: 960px) {
  .entete .bouton-entete { position: static; transform: none; display: table; margin: 16px auto 0; }
}
/* Logo : vagues à gauche, nom sur la 1re ligne, sous-titre centré sur la 2e (tailles en em pour garder les proportions) */
.entete .logo {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: clamp(12px, 3.6vw, 40px);
  text-decoration: none; color: var(--brun-logo);
}
/* Écrans moyens : logo un peu plus petit pour laisser la place au bouton Planity */
@media (min-width: 961px) and (max-width: 1430px) { .entete .logo { font-size: 2.8vw; } }
.logo-vagues { width: 4.6em; flex-shrink: 0; }
.logo-texte { font-size: 1.3em; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.logo-nom { white-space: nowrap; }
.logo-institut { font-family: "Carlito", Calibri, sans-serif; font-weight: 700; letter-spacing: .01em; }
.logo-script { font-family: "Script MT Bold", cursive; font-weight: 700; margin-left: .15em; }
.logo-sous {
  margin-top: .2em; font-size: .55em; white-space: nowrap;
  font-family: "Jost", "Calibri Light", sans-serif; font-weight: 300; color: #8a6446;
}
.menu { margin-top: 26px; }
.menu ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; max-width: 480px; }
.menu li { flex: 1; margin: 0 6px; }
.menu a {
  display: block; padding: 12px 6px 16px;
  border-top: 1px solid var(--taupe-clair);
  text-decoration: none; text-transform: uppercase;
  font-weight: 400; font-size: 15px; letter-spacing: .02em; color: var(--texte);
  transition: color .2s, border-color .2s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--taupe); border-top: 4px solid var(--taupe); padding-top: 9px; }
.bouton-menu { display: none; }

/* Bandeau photo */
.bandeau { position: relative; height: 62vh; min-height: 320px; max-height: 680px; overflow: hidden; background: #eee; }
.bandeau img { width: 100%; height: 100%; object-fit: cover; }
.bandeau-court { height: 38vh; min-height: 220px; }

/* Titres avec la vague */
.titre {
  font-weight: 300; text-transform: uppercase; letter-spacing: .04em;
  color: var(--brun); font-size: clamp(30px, 4vw, 46px); line-height: 1.15;
  text-align: center; margin: 0 0 8px;
}
.vague { display: block; margin: 10px auto 28px; width: 70px; height: 14px; color: var(--brun); }
.sous-titre { font-weight: 400; color: var(--brun); font-size: 24px; margin: 40px 0 6px; }

section { padding: 72px 0; }
.centre { text-align: center; }
.intro { max-width: 820px; margin: 0 auto; text-align: center; font-size: 20px; }

/* Boutons */
.bouton {
  display: inline-block; background: var(--brun); color: var(--blanc);
  text-decoration: none; font-weight: 400; font-size: 17px;
  padding: 14px 34px; border-radius: 999px; border: 2px solid var(--brun); text-align: center;
  transition: background .2s, color .2s;
}
.bouton:hover { background: var(--blanc); color: var(--brun); }
.bouton-clair { background: transparent; color: var(--brun); }
.bouton-clair:hover { background: var(--brun); color: var(--blanc); }
.boutons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* Bandeau Planity */
.reserver { background: var(--taupe); padding: 56px 0; text-align: center; }
.reserver h2 { font-weight: 300; font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; color: var(--texte); }
.reserver p { margin: 0 0 24px; }

/* Cartes prestations */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.carte { text-decoration: none; color: var(--texte); background: var(--blanc); border: 1px solid var(--taupe-clair); transition: box-shadow .2s, transform .2s; }
.carte:hover { box-shadow: 0 10px 30px rgba(100, 81, 69, .12); transform: translateY(-2px); }
.carte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte div { padding: 18px 20px 22px; }
.carte h3 { margin: 0 0 4px; font-weight: 400; color: var(--brun); text-transform: uppercase; font-size: 18px; letter-spacing: .03em; }
.carte p { margin: 0; font-size: 16px; color: var(--texte-doux); }

/* Deux colonnes texte et photo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo img.reduite { width: 85%; justify-self: center; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Prestations et tarifs */
.sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 10px; max-width: 980px; }
.sommaire a { text-decoration: none; border: 1px solid var(--taupe); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 400; color: var(--brun); }
.sommaire a:hover { background: var(--taupe); color: var(--blanc); }
.categorie { padding: 56px 0 8px; border-top: 1px solid var(--taupe-clair); scroll-margin-top: 20px; }
.categorie:first-of-type { border-top: 0; }
.categorie .note { color: var(--texte-doux); font-size: 16px; text-align: center; max-width: 760px; margin: -10px auto 18px; }
.tarifs { width: 100%; max-width: 820px; margin: 0 auto 10px; border-collapse: collapse; font-size: 17px; }
.tarifs caption { text-align: left; font-weight: 400; color: var(--brun); font-size: 19px; padding: 22px 0 6px; }
.tarifs td { padding: 10px 6px; border-bottom: 1px dotted var(--taupe); vertical-align: top; }
.tarifs td small { display: block; color: var(--texte-doux); font-size: 14px; }
.tarifs .duree { width: 90px; color: var(--texte-doux); white-space: nowrap; }
.tarifs .prix { width: 110px; text-align: right; font-weight: 400; color: var(--brun); white-space: nowrap; }
.mention { text-align: center; color: var(--texte-doux); font-size: 15px; margin-top: 40px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.contact-panneau { background: var(--gris); padding: 64px 9%; }
.contact-panneau h1, .contact-panneau h2 { color: var(--blanc); font-weight: 300; font-size: clamp(34px, 4vw, 52px); margin: 0 0 28px; letter-spacing: .04em; }
.contact-panneau ul { list-style: none; margin: 0; padding: 0; }
.contact-panneau li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; font-size: 19px; }
.contact-panneau svg { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 2px; }
.contact-panneau .tel { font-size: 34px; letter-spacing: .04em; display: block; line-height: 1.2; text-decoration: none; color: var(--texte); }
.horaires { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; }
.horaires td { padding: 8px 4px; border-bottom: 1px dotted var(--taupe); }
.horaires td:last-child { text-align: right; }

/* Bas de page */
.infos { padding-top: 64px; padding-bottom: 40px; }
.infos .colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; }
.infos h2 { font-weight: 300; text-transform: uppercase; letter-spacing: .04em; color: var(--brun); font-size: clamp(26px, 3vw, 40px); margin: 0; }
.infos .vague { margin: 8px auto 16px; }
.infos .tel { font-size: 36px; letter-spacing: .04em; text-decoration: none; color: var(--texte); display: block; line-height: 1.2; }
.facebook { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: var(--texte); font-size: 20px; margin-top: 36px; }
.facebook svg { width: 34px; height: 34px; }
.pied { text-align: center; font-size: 15px; padding: 24px 0 40px; color: var(--texte-doux); }
.pied a { color: var(--texte-doux); margin: 0 10px; }

/* Pages de texte (CGV, confidentialité) */
.texte-legal { max-width: 860px; margin: 0 auto; font-size: 17px; }
.texte-legal h2 { font-weight: 400; color: var(--brun); font-size: 21px; margin: 34px 0 8px; }

/* Téléphone et tablette */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .bouton-menu {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    background: none; border: 1px solid var(--taupe); border-radius: 999px;
    padding: 8px 18px; font: inherit; font-weight: 400; color: var(--brun); cursor: pointer;
  }
  .menu { margin-top: 12px; }
  .menu ul { display: none; flex-direction: column; padding: 0 16px 10px; }
  .menu.ouvert ul { display: flex; }
  .menu li { margin: 0; }
  .menu a { border-top: 1px solid var(--taupe-clair); padding: 12px 6px; }
  .menu a:hover, .menu a[aria-current="page"] { border-top-width: 1px; padding-top: 12px; }
  .duo, .contact, .infos .colonnes { grid-template-columns: 1fr; }
  .duo { gap: 28px; }
  .galerie { gap: 8px; margin-top: 24px; }
  .contact > img { min-height: 0; aspect-ratio: 3 / 2; }
  .cartes { grid-template-columns: 1fr 1fr; gap: 16px; }
  section { padding: 52px 0; }
  .conteneur { padding-left: 16px; padding-right: 16px; }
  .contact-panneau { padding: 44px 20px; }
  .tarifs .duree { width: 64px; }
  .tarifs .prix { width: 80px; }
}

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