/* ==========================================================
   Salon 6ter — base commune à toutes les pages
   Polices, couleurs et mesures (variables), mise en forme
   générale, utilitaires, boutons, surtitres.
   ========================================================== */

/* Polices hébergées sur le site (aucune requête vers Google).
   Licence SIL OFL 1.1 : voir fonts/OFL-*.txt */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lexend.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-500-italique.woff2") format("woff2");
}

:root {
  --jaune: #d3973f;          /* doré du logo */
  --jaune-clair: #e4b36a;    /* survol des boutons jaunes, texte doré sur anthracite (7,4:1) */
  --jaune-pale: #f3e3c6;     /* fonds dorés très légers */
  --jaune-fonce: #704a13;    /* doré lisible sur fond clair (6,2 à 7,7:1) */
  --noir: #2e2a26;           /* anthracite chaud */
  --encre: #1a1714;          /* texte sur fond doré (7:1) */
  --rouge: #8f3526;          /* fermeture pour congés (7,6:1 avec le blanc) */
  --rouge-pale: #f6ddd6;
  --noir-2: #3b3631;
  --creme: #faf7ef;
  --blanc: #fffdf9;
  --texte: #2b2724;
  --texte-2: #57514a;
  --gris-clair: #cfc8bb;
  --clair: #ece7df;          /* texte courant sur fond sombre */
  --clair-2: #bdb6ac;        /* texte secondaire sur fond sombre */

  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --corps: "Lexend", "Segoe UI", Arial, sans-serif;

  --largeur: 1120px;
  --marge: clamp(1rem, 4vw, 2rem);
  --rayon: 16px;
  --retrait: clamp(.5rem, 1.5vw, 1rem);     /* écart entre les grands bandeaux et le bord de l'écran */
  --arrondi: clamp(22px, 3vw, 40px);
  --ombre: 0 18px 40px -22px #2e2a2640;
  --ombre-forte: 0 26px 50px -24px #2e2a2666;
  --courbe: cubic-bezier(.2, .7, .2, 1);
  /* Motif en filigrane : petits ciseaux et points */
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23fffdf9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(18 22) rotate(-25 12 12)'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/g%3E%3Cg transform='translate(88 90) rotate(35 12 12)'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23fffdf9'%3E%3Ccircle cx='102' cy='30' r='2'/%3E%3Ccircle cx='34' cy='106' r='2'/%3E%3Ccircle cx='70' cy='66' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  --motif-dore: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%238a5d1c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(18 22) rotate(-25 12 12)'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/g%3E%3Cg transform='translate(88 90) rotate(35 12 12)'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%238a5d1c'%3E%3Ccircle cx='102' cy='30' r='2'/%3E%3Ccircle cx='34' cy='106' r='2'/%3E%3Ccircle cx='70' cy='66' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.1875rem;          /* 19px */
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 3px;
  border-radius: 4px;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--marge);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--jaune);
  color: var(--noir);
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
}
.lien-evitement:focus { top: 1rem; }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--corps);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--courbe), box-shadow .25s;
}
.bouton svg { width: 1.25em; height: 1.25em; flex-shrink: 0; transition: transform .3s var(--courbe); }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px #0000008c; }
.bouton:active { transform: translateY(0); }
.bouton:hover .i-tel { animation: sonne .6s ease; }

.bouton--jaune { background: var(--jaune); color: var(--encre); }
.bouton--jaune:hover { background: var(--jaune-clair); }

.bouton--noir { background: var(--noir); color: var(--blanc); }
.bouton--noir:hover { background: var(--noir-2); color: var(--jaune-clair); }

.bouton--contour { border-color: currentColor; background: transparent; }
.bouton--contour:hover { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }

@keyframes sonne {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}


/* ---------- Lien de suite (actions secondaires : tarifs, avis, réseaux) ---------- */

/* Les actions secondaires sont de simples liens : seul l'appel au salon est un bouton */
.lien-suite {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  font-weight: 700;
  color: var(--jaune-fonce);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.lien-suite svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.lien-suite:hover { text-decoration-thickness: 3px; }

/* ---------- Surtitre (petite ligne au-dessus des titres) ---------- */

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--jaune-clair);
  margin-bottom: 1.25rem;
}
.surtitre::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
}

/* ---------- Utilitaires ---------- */

.insecable { white-space: nowrap; }  /* empêche la coupure d'un nom (ex. Pont-à-Mousson) */

/* Contour de focus clair sur les fonds sombres */
.rdv :focus-visible,
.pied :focus-visible,
.carte-sociale--fb :focus-visible { outline-color: var(--jaune-clair); }

/* ---------- Petits écrans ---------- */

@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .surtitre { font-size: .8rem; letter-spacing: .14em; gap: .6rem; }
  .surtitre::before { width: 1.25rem; }
}
