/* &CO Space — feuille de style unique (FR + EN + pages légales)
   Reproduit le site WordPress d'origine (kit Elementor) : couleurs, polices, tailles et
   boutons carrés relevés sur officerent.oxo.mu le 2026-11-01. */
:root {
  --navy: #003057;      /* titres, textes de marque */
  --rose: #f980b5;      /* boutons, icônes, puces du carrousel */
  --menthe: #99e6d8;    /* sections « Bienvenue », « Avantages », « Réserver », pied de page */
  --gris: #f8f8f8;      /* bande sous le carrousel, « Nos espaces communs » */
  --texte: #000000;
  --ligne: #d5d5d5;
  --max: 1140px;
  --police-titre: "Epilogue", sans-serif;
  --police-texte: "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.8 var(--police-texte); color: var(--texte); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--police-titre); color: var(--navy); margin: 0 0 16px; }
h1, .hero__titre { font-size: 44px; line-height: 1.1; font-weight: 600; }
h2 { font-size: 32px; line-height: 1.5; font-weight: 500; }
h3 { font-size: 20px; line-height: 1.5; font-weight: 500; }
p { margin: 0 0 16px; }
ul { margin: 0 0 24px; padding-left: 20px; }
@media (max-width: 767px) {
  h1, .hero__titre { font-size: 32px; }
  h2 { font-size: 26px; line-height: 1.3; }
}

.conteneur { width: min(var(--max), 100% - 80px); margin-inline: auto; }
@media (max-width: 767px) { .conteneur { width: calc(100% - 40px); } }
.section { padding: 48px 0; }
.section--grise { background: var(--gris); }
.section--centree { text-align: center; }
.surtitre { display: block; font: 600 12.8px/1.8 var(--police-texte); color: var(--navy); text-transform: uppercase; margin-bottom: 8px; }
.lien-evitement { position: absolute; left: -999px; }
.lien-evitement:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Boutons : carrés, rose, texte navy (comme le site d'origine) */
.btn {
  display: inline-block; font: 600 15px/1 var(--police-titre); text-decoration: none; cursor: pointer;
  padding: 13px 24px; border: 0; border-radius: 0; background: var(--rose); color: var(--navy);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy); color: #fff; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ligne); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.entete__logo img { width: 115px; }
.entete__actions { display: flex; align-items: center; gap: 8px; }
.langue { position: relative; }
.langue summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ligne); padding: 6px 10px; font: 600 14px/1 var(--police-texte); color: var(--texte);
}
.langue summary::-webkit-details-marker { display: none; }
.langue summary::after { content: ""; border: 5px solid transparent; border-top: 6px solid var(--texte); margin-top: 5px; }
.langue ul { position: absolute; right: 0; top: 100%; list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--ligne); border-top: 0; width: 100%; }
.langue a { display: block; padding: 6px 10px; font: 600 14px/1 var(--police-texte); color: var(--texte); text-decoration: none; }
.langue a:hover { background: var(--gris); }
@media (max-width: 767px) { .entete__barre { height: 70px; } .entete__logo img { width: 90px; } .entete .btn { padding: 11px 16px; font-size: 14px; } }

/* Carrousel d'accueil : bandeau photo + bande grise de texte */
.hero__photos { position: relative; aspect-ratio: 1920 / 430; min-height: 180px; overflow: hidden; background: var(--gris); }
.hero__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero__photos img.actif { opacity: 1; }
.hero__bande { background: var(--gris); padding: 48px 0; }
.hero__textes { display: grid; align-items: end; }
.hero__textes > * { grid-area: 1 / 1; max-width: 630px; margin: 0 0 16px; opacity: 0; visibility: hidden; transition: opacity .6s ease; }
.hero__textes > .actif { opacity: 1; visibility: visible; }
.hero__surface { margin-bottom: 24px; }
.hero__prix { margin: 24px 0 0; font-size: 16px; }
.hero__prix strong { font-family: var(--police-titre); color: var(--navy); font-size: 18px; }

/* Photo pleine largeur du conteneur */
.photo-large { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 40px; }
@media (min-width: 1025px) { .photo-large { aspect-ratio: 16 / 9; } }

/* Carrousel « Nos espaces communs » */
.carrousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 32px; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel img { scroll-snap-align: start; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 767px) { .carrousel { grid-auto-columns: 100%; } }
.points { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.points button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #e6e6e6; cursor: pointer; }
.points button.actif { background: var(--rose); }
.intro-centree { max-width: 420px; margin: 0 auto; }

/* Sections menthe avec photo d'open space en transparence */
.section--menthe-photo { position: relative; background: url("/assets/img/open-space-1200.webp") right center / cover; }
.section--menthe-photo::before { content: ""; position: absolute; inset: 0; background: var(--menthe); opacity: .95; }
.section--menthe-photo > * { position: relative; }
.section--menthe { background: var(--menthe); }

/* Cartes blanches empilées (icône rose centrée) */
.cartes { display: grid; gap: 32px; margin-top: 40px; }
.carte { background: #fff; padding: 32px; text-align: center; border-bottom: 3px solid var(--rose); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.carte img { width: 60px; height: 60px; margin: 0 auto 16px; }
.carte h3 { margin-bottom: 8px; }
.carte p { margin: 0; }

/* Bandeau « Les avantages » */
.avantages__bande { padding-top: 48px; overflow: hidden; }
.avantages__grille { display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 24px; }
.avantages__grille > div { padding-bottom: 48px; }
.avantages__grille img { width: 340px; margin-bottom: -1px; }
@media (max-width: 767px) { .avantages__grille { grid-template-columns: 1fr; } .avantages__grille img { display: none; } }
.avantages__cartes { padding: 0 0 48px; }
.avantages__cartes .cartes { margin-top: -24px; }

/* Réserver une visite */
.coordonnees { list-style: none; padding: 0; margin: 32px auto 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; text-align: left; }
.coordonnees li { display: flex; align-items: center; gap: 14px; }
.coordonnees svg { width: 22px; height: 22px; flex: none; fill: var(--navy); }
.coordonnees small { display: block; font: 500 12.8px/1.5 var(--police-titre); color: var(--navy); }
.coordonnees a, .coordonnees span { font: 600 14.4px/1.5 var(--police-texte); color: var(--navy); text-decoration: none; }

.formulaire { max-width: 560px; margin: 0 auto; text-align: left; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.champ--large { grid-column: 1 / -1; }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }
.champ label { display: block; font: 500 13px/1.5 var(--police-texte); color: var(--navy); margin-bottom: 4px; }
.champ label .requis { color: #f2545b; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 400 15px/1.4 var(--police-texte); color: #33475b; padding: 8px 10px;
  background: #f5f8fa; border: 1px solid #cbd6e2; border-radius: 3px;
}
.champ textarea { min-height: 90px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 4px 1px rgba(0, 48, 87, .3); }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--navy); margin: 16px 0; }
.consentement input { margin-top: 2px; }
.piege { position: absolute; left: -5000px; }
.cf-turnstile { margin: 8px 0 16px; }
.formulaire__etat { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.formulaire__etat--ok { color: var(--navy); font-weight: 600; }
.formulaire__etat--ko { color: #b42335; font-weight: 600; }

/* Pied de page menthe */
.pied { background: var(--menthe); text-align: center; font: 400 14.4px/1.8 var(--police-titre); padding: 24px 0 32px; }
.pied nav { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(0, 48, 87, .15); }
.pied nav a { color: var(--navy); text-decoration: none; }
.pied nav a:hover { text-decoration: underline; }
.pied p { margin: 0; color: var(--texte); }

/* Pages légales */
.legal { padding: 48px 0 72px; max-width: 860px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal .date { color: #555; }

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