/* La Robe & la Mousse — reprise de la charte du site lafinemousse.fr (thème « lfm ») */
@font-face { font-family: "LaFineMousse"; src: url(../fonts/stoclet-light.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --noir: #000;
  --blanc: #fff;
  --gris-clair: #F3F4F5;
  --gris: #888;
  --accent: #35647e;          /* couleur du sous-menu La Robe & la Mousse */
  --largeur: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: "Montserrat", sans-serif; font-weight: 400; color: var(--noir); background: var(--blanc); -webkit-font-smoothing: antialiased; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "LaFineMousse", serif; font-weight: 400; line-height: 1.1; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
strong { font-weight: 600; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--noir); color: var(--blanc); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1400px; }
.entete .logo img { height: 46px; width: auto; }
.entete nav { display: flex; gap: 28px; font-size: 13px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }
.entete nav a { text-decoration: none; }
.entete nav a:hover { opacity: .7; }
.entete nav a[aria-current="true"] { font-weight: 700; }

.sous-menu { position: fixed; top: 64px; left: 0; right: 0; z-index: 49; background: var(--accent); }
.sous-menu ul { list-style: none; margin: 0 auto; padding: 0 16px; display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); height: 40px; align-items: center; }
.sous-menu a { color: var(--blanc); text-decoration: none; font-family: "LaFineMousse", serif; font-size: 17px; }
.sous-menu a:hover { opacity: .75; }

/* ---------- Bannière ---------- */
.banniere { position: relative; height: 700px; padding-top: 104px; overflow: hidden; color: var(--blanc); text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 12%, rgba(0,0,0,0) 89%), var(--fond) center / cover no-repeat; }
@media (min-width: 768px) { .banniere { background-attachment: fixed; } }
.banniere::before { content: ""; position: absolute; left: 50%; top: 50%; width: 800px; height: 800px; border-radius: 50%; background: var(--noir); opacity: .6; transform: translate(-50%, -45%); }
.banniere .contenu { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px; }
.banniere h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: .8em; max-width: 800px; }
.banniere .depuis { margin-top: 1.6rem; letter-spacing: 1.3px; font-size: 14px; }
.banniere .depuis span { display: block; font-style: italic; font-weight: 300; font-size: 1.4rem; }
.trait { position: absolute; left: 50%; width: 2px; background: currentColor; transform: translateX(-50%); }
.banniere .trait { top: 104px; height: 90px; }

.boutons { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.bouton { display: inline-block; min-width: 240px; padding: .45rem 2.2rem; border: 2px solid var(--blanc); background: rgba(0,0,0,.53); color: var(--blanc); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-decoration: none; transition: all .3s; }
.bouton:hover { background: var(--noir); transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.bouton.second { background: var(--blanc); color: var(--noir); border-color: var(--noir); }
.bouton.second:hover { background: var(--noir); color: var(--blanc); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 7rem 0 6rem; }
.section.noir { background: var(--noir); color: var(--blanc); }
.section.gris { background: var(--gris-clair); }
.motif::before, .motif::after { content: ""; position: absolute; top: 15%; bottom: 15%; width: 112px; background: url(../img/motif.svg) center / contain repeat-y; opacity: .5; }
.motif::before { left: 0; } .motif::after { right: 0; }
@media (max-width: 767px) { .motif::before, .motif::after { display: none; } }
.centre { text-align: center; }

.presentation { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.presentation img { width: 100%; }
@media (max-width: 767px) { .presentation { grid-template-columns: 1fr; } .presentation img { max-width: 320px; margin: 0 auto; } }

.liste-forte { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 700px; text-align: center; font-size: 1.12rem; }
.liste-forte li { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.liste-forte li:last-child { border-bottom: 0; }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
.galerie.quatre { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { .galerie.quatre { grid-template-columns: repeat(2, 1fr); } }

.icone { width: 60px; height: auto; margin: 0 auto 1.5rem; }

/* section « carte » : photo + cercle noir */
.carte { color: var(--blanc); text-align: center; overflow: hidden; padding: 6rem 16px;
  background: var(--fond) center / cover no-repeat; }
.carte .cercle { position: relative; margin: 0 auto; width: min(760px, 100%); aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.72); display: flex; flex-direction: column; justify-content: center; padding: 10%; }
.carte p { margin: 0 0 1rem; }
@media (max-width: 600px) { .carte .cercle { aspect-ratio: auto; border-radius: 24px; padding: 2.5rem 1.5rem; } }

/* infos / contact */
.reseaux { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 2rem 0 0; }
.reseaux img { height: 42px; width: auto; filter: invert(1); }
.section.noir .reseaux img { filter: none; }
.reseaux a:hover { opacity: .7; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; } }
.contact address { font-style: normal; }
.contact dl { margin: 0; }
.contact dt { font-weight: 600; margin-top: 1rem; }
.contact dd { margin: 0; }
.carte-plan { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(1); }

/* ---------- Pied de page ---------- */
.pied { background: var(--blanc); border-top: 1px solid #eee; padding: 3rem 0 2rem; text-align: center; font-size: 15px; }
.pied .logo-pied { height: 70px; width: auto; margin: 0 auto 1.5rem; }
.pied ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; }
.pied a { text-decoration: none; }
.pied a:hover { color: #999; }
.pied .reseaux-pied { display: flex; justify-content: center; gap: 18px; margin: 1rem 0; }
.pied .reseaux-pied img { height: 26px; width: auto; }
.pied .legal { color: var(--gris); font-size: 13px; margin-top: 1.5rem; }

/* ---------- Pages texte (mentions légales) ---------- */
.page-texte { padding: 150px 0 5rem; }
.page-texte .conteneur { max-width: 800px; }
.page-texte h1 { font-size: 3rem; }
.page-texte h2 { font-size: 1.6rem; margin-top: 2rem; }

@media (max-width: 767px) {
  .entete nav { gap: 16px; font-size: 12px; }
  .entete .logo img { height: 32px; }
  .sous-menu a { font-size: 15px; }
  .banniere { height: 620px; }
  .banniere::before { width: 600px; height: 600px; }
  .section { padding: 5rem 0 4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }
@media (max-width: 600px) {
  .sous-menu ul { gap: 14px; }
  .sous-menu a { font-size: 14px; }
}
