/* =========================================================
   CONDAT — Feuille de style
   Charte Udaf de Lot-et-Garonne : bleu marine + orange corail
   ========================================================= */

:root {
  --navy: #16266B;
  --navy-soft: #2C3B85;
  --coral: #F15A29;
  --coral-soft: #FF7A4D;
  --bg-blue-pale: #EEF1F8;
  --bg-peach-pale: #FDF0EA;
  --white: #FFFFFF;
  --text-dark: #1C2540;
  --text-gray: #5A6072;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px -20px rgba(22, 38, 107, 0.18);
  --shadow-card: 0 12px 30px -14px rgba(22, 38, 107, 0.14);

  --container-width: 1180px;
}

/* ---------- Réinitialisation générale ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Éléments réutilisables ---------- */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.eyebrow-center { text-align: center; }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn[hidden] { display: none; }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 28px -12px rgba(241, 90, 41, 0.55);
}
.btn-primary:hover {
  background: var(--coral-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(241, 90, 41, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(22, 38, 107, 0.18);
}
.btn-ghost:hover {
  background: var(--bg-blue-pale);
  transform: translateY(-3px);
}

/* ---------- Animations au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}

/* ---------- Petits "U" qui se baladent ---------- */
/* L'élément .u-shape porte le décalage horizontal piloté par le scroll
   (voir main.js) ; l'image à l'intérieur porte l'animation de dérive
   permanente. Les deux ne se marchent pas dessus car "translate" (le
   décalage scroll) et "transform" (l'animation) sont deux propriétés CSS
   distinctes qui se combinent automatiquement. */
@keyframes wander {
  0%   { transform: translate(0, 0) rotate(var(--u-rot, 0deg)); }
  25%  { transform: translate(16px, -14px) rotate(calc(var(--u-rot, 0deg) + 10deg)); }
  50%  { transform: translate(-12px, 8px) rotate(calc(var(--u-rot, 0deg) - 8deg)); }
  75%  { transform: translate(-18px, -10px) rotate(calc(var(--u-rot, 0deg) + 6deg)); }
  100% { transform: translate(0, 0) rotate(var(--u-rot, 0deg)); }
}

.u-shape {
  position: absolute;
  top: var(--u-top, 20%);
  left: var(--u-left, 20%);
  translate: calc(var(--u-scroll-shift, 0px) * var(--u-parallax, 1)) 0;
  transition: translate 0.15s linear;
  pointer-events: none;
  z-index: 0;
}

.u-shape img {
  display: block;
  width: var(--u-size, 30px);
  height: auto;
  margin-top: calc(var(--u-size, 30px) * -0.5);
  opacity: 0.55;
  animation: wander var(--u-dur, 14s) ease-in-out infinite;
  animation-delay: var(--u-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .u-shape { translate: none; transition: none; }
  .u-shape img, .hero-blob, .hero-float-card {
    animation: none !important;
  }
}

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 38, 107, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 70px; width: auto; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--coral); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a.is-active { color: var(--coral); }
.main-nav a.is-active::after { width: 100%; }

/* ---------- Menu déroulant "Actualités" ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.is-active { color: var(--coral); }
.nav-dropdown-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-dropdown-link:hover::after,
.nav-dropdown-link.is-active::after { width: 100%; }

.nav-dropdown-caret-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.2s ease;
}
.nav-dropdown-caret-btn:hover,
.nav-dropdown-caret-btn[aria-expanded="true"] { color: var(--coral); }
.nav-dropdown-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown-caret-btn[aria-expanded="true"] .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown-menu a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active { background: var(--bg-blue-pale); color: var(--coral); }

/* Sur ordinateur, le sous-menu s'ouvre dès le survol du titre, sans avoir
   besoin de cliquer sur la flèche (qui reste utile au clavier/tactile). */
@media (min-width: 941px) and (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .nav-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
  }
}

.btn-nav { padding: 12px 26px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.4px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* =========================================================
   BANNIÈRE D'ACCUEIL
   ========================================================= */
.hero {
  position: relative;
  padding: 168px 0 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFE 60%, var(--bg-blue-pale) 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: 0;
}
.hero-blob-1 {
  width: 340px; height: 340px;
  background: var(--bg-peach-pale);
  top: -80px; right: -60px;
  animation: float 9s ease-in-out infinite;
}
.hero-blob-2 {
  width: 220px; height: 220px;
  background: var(--bg-blue-pale);
  top: 260px; left: -80px;
  animation: floatSlow 11s ease-in-out infinite;
}
.hero-blob-3 {
  width: 140px; height: 140px;
  background: rgba(241, 90, 41, 0.12);
  top: 90px; left: 46%;
  animation: float 7s ease-in-out infinite;
  animation-delay: 1.2s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 90px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy-soft);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-text-short {
  color: var(--text-gray);
  font-size: 1.02rem;
  max-width: 500px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media { position: relative; }

.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
}

.hero-photo {
  aspect-ratio: 4 / 3.1;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}
.float-1 { top: -22px; left: -18px; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: -20px; right: -14px; animation: floatSlow 7.5s ease-in-out infinite; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-orange { background: var(--coral); }
.dot-navy { background: var(--navy); }

.hero-wave { display: block; width: 100%; height: 90px; position: relative; z-index: 1; }

/* =========================================================
   PRÉSENTATION
   ========================================================= */
.presentation {
  position: relative;
  overflow: hidden;
  background: var(--bg-blue-pale);
  padding: 20px 0 100px;
}

.presentation-intro {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.85;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.usage-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -18px rgba(22, 38, 107, 0.22);
}

.usage-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-bg-peach { background: var(--bg-peach-pale); }
.icon-bg-blue { background: var(--bg-blue-pale); }

.usage-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.usage-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.join-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.join-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -18px rgba(22, 38, 107, 0.22); }
.join-card .usage-icon { margin: 0 auto 18px; }
.join-card h3 { margin-bottom: 8px; }
.join-card p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 18px; }

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

/* =========================================================
   PARTENAIRES
   ========================================================= */
.partners {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--white);
}

.partner-group { margin-bottom: 52px; }
.partner-group:last-of-type { margin-bottom: 28px; }

.partner-group-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-soft);
  text-align: center;
  margin-bottom: 26px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.logo-badge {
  min-width: 150px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-blue-pale);
  border-radius: var(--radius-md);
  padding: 0 28px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.logo-badge-wide { min-width: 210px; background: var(--bg-peach-pale); }

.logo-badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  text-align: center;
}
.logo-badge img {
  max-height: 54px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}
.logo-badge:hover {
  transform: translateY(-4px) scale(1.03);
  background: var(--navy);
}
.logo-badge:hover span { color: var(--white); }
.logo-badge.has-logo:hover { background: var(--white); box-shadow: var(--shadow-card); }

.partners-note {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 8px;
}

/* =========================================================
   PORTÉ PAR L'UDAF
   ========================================================= */
.brought-by {
  background: var(--bg-blue-pale);
  padding: 44px 0;
}
.brought-by-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.brought-by-inner p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-gray);
  letter-spacing: 0.02em;
}
.brought-by-logo { height: 56px; width: auto; }

.udaf-services-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 22px 10px 12px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.udaf-services-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(22, 38, 107, 0.35);
}
.udaf-services-link-icon { height: 22px; width: auto; flex-shrink: 0; }
.udaf-services-link-arrow { flex-shrink: 0; transition: transform 0.2s ease; }
.udaf-services-link:hover .udaf-services-link-arrow { transform: translateX(3px); }

/* =========================================================
   BANNIÈRE DE PAGE INTERNE (Le lieu, Coworking, Partenaires, Blog, Contact)
   ========================================================= */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-blue-pale) 100%);
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 16px; }
.page-header-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--coral-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--coral-soft); }

.footer-socials { display: flex; gap: 10px; margin-top: 6px; }
.footer-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social-icon:hover { background: var(--coral); transform: translateY(-2px); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: var(--coral-soft); }

/* =========================================================
   BANDEAU DE CONSENTEMENT COOKIES
   ========================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 -8px 24px -12px rgba(22, 38, 107, 0.4);
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}
.cookie-consent-banner a { color: var(--white); text-decoration: underline; }
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent-actions .btn {
  padding: 10px 22px;
  font-size: 0.86rem;
}
.cookie-consent-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.cookie-consent-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 640px) {
  .cookie-consent-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-consent-actions { justify-content: center; }
}

/* =========================================================
   ONGLET DE RÉSERVATION + FENÊTRE MODALE
   ========================================================= */
.booking-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--coral);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 20px 12px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: -10px 12px 30px -14px rgba(22, 38, 107, 0.35);
  transition: padding-right 0.25s ease, background-color 0.25s ease;
}
.booking-tab:hover {
  background: var(--coral-soft);
  padding-right: 20px;
}
.booking-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.booking-modal[hidden] { display: none; }

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 38, 107, 0.45);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.booking-modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  padding: 60px 34px 40px;
  box-shadow: -20px 0 50px -20px rgba(22, 38, 107, 0.3);
  animation: slideIn 0.3s ease;
}

.booking-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-blue-pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.booking-modal-close:hover { background: var(--bg-peach-pale); }

.booking-modal-panel h2 { font-size: 1.4rem; margin-bottom: 8px; }
.booking-modal-intro { color: var(--text-gray); margin-bottom: 30px; font-size: 0.95rem; }

/* ---- Calendrier ---- */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-month-label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  text-transform: capitalize;
}
.calendar-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(22, 38, 107, 0.15);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.calendar-nav:hover { background: var(--bg-blue-pale); }
.calendar-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: default;
}
.calendar-day.is-empty { visibility: hidden; }
.calendar-day.is-available {
  background: var(--bg-peach-pale);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.calendar-day.is-available:hover { background: var(--coral); color: var(--white); transform: translateY(-2px); }
.calendar-day.is-unavailable { color: var(--text-gray); opacity: 0.35; }
.calendar-day.is-selected { background: var(--navy) !important; color: var(--white) !important; }

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-gray);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot-available { background: var(--bg-peach-pale); border: 2px solid var(--coral); }

/* ---- Retour ---- */
.booking-back {
  background: none;
  border: none;
  color: var(--coral);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
}

.booking-step h3 { font-size: 1.05rem; margin-bottom: 16px; }

/* ---- Réservation sur plusieurs jours ---- */
.booking-range-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  color: var(--text-gray);
  margin-bottom: 16px;
  cursor: pointer;
}
.booking-range-toggle[hidden] { display: none; }
.booking-range-toggle input { cursor: pointer; width: 16px; height: 16px; }
.booking-range-hint {
  background: var(--bg-blue-pale);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}
.booking-range-hint.is-error { background: var(--bg-peach-pale); color: var(--coral); }
.calendar-day.is-range-edge { background: var(--navy) !important; color: var(--white) !important; }
.calendar-day.is-in-range { background: var(--bg-blue-pale); }

/* ---- Étape 1 : tarif / espace / formule ---- */
.booking-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 22px;
}
.booking-fieldset legend {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 0;
}
.booking-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.booking-radio {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22, 38, 107, 0.15);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.booking-radio:hover { background: var(--bg-blue-pale); border-color: var(--navy); }
.booking-radio input { accent-color: var(--coral); margin: 0; }
.booking-radio.is-checked {
  background: var(--bg-peach-pale);
  border-color: var(--coral);
  color: var(--navy);
  font-weight: 600;
}
.booking-half-day-choice { margin-top: 12px; }
.booking-half-day-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.booking-formule-note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-blue-pale);
  color: var(--navy-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---- Étape mois (abonnement mensuel) ---- */
.months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.month-btn {
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22, 38, 107, 0.15);
  background: var(--bg-peach-pale);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.month-btn:hover { background: var(--coral); color: var(--white); transform: translateY(-2px); }
.month-btn.is-selected { background: var(--navy) !important; color: var(--white) !important; }

/* ---- Conflit salle de réunion ---- */
.conflict-suggestions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}
.conflict-suggestions[hidden] { display: none; }
.conflict-suggestion-btn {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22, 38, 107, 0.15);
  background: var(--bg-peach-pale);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.conflict-suggestion-btn:hover { background: var(--coral); color: var(--white); transform: translateY(-2px); }

/* ---- Formulaire ---- */
.booking-summary {
  background: var(--bg-blue-pale);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--navy-soft);
  font-weight: 600;
  margin-bottom: 22px;
}
.booking-field {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.field-optional { font-weight: 400; color: var(--text-gray); }
.booking-field input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22, 38, 107, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.booking-field input:focus {
  outline: none;
  border-color: var(--coral);
}
.booking-submit { width: 100%; margin-top: 6px; }

/* ---- Confirmation ---- */
.booking-confirmation { text-align: center; padding-top: 20px; }
.confirmation-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.booking-confirmation h3 { margin-bottom: 10px; }
#confirmation-text { color: var(--text-gray); margin-bottom: 14px; }
.confirmation-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-style: italic;
  background: var(--bg-blue-pale);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 24px;
}

/* =========================================================
   PAGE : LE LIEU
   ========================================================= */
.lieu-text {
  max-width: 780px;
  margin: 0 auto 90px;
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.9;
}
.lieu-text p { margin-bottom: 22px; }

.philosophy-block {
  max-width: 780px;
  margin: 0 auto 90px;
  background: var(--bg-peach-pale);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
}
.philosophy-block p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.6;
}

.culture-block {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-peach-pale);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 980px;
  margin: 0 auto;
}
.culture-block-photo { flex: 0 0 320px; cursor: pointer; }
.culture-block-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: block;
}
.culture-block-text { flex: 1; }
.culture-block-text .eyebrow { margin-bottom: 6px; }
.culture-block-text h3 { margin-bottom: 10px; }
.culture-block-text p { color: var(--text-gray); line-height: 1.65; }

@media (max-width: 780px) {
  .culture-block { flex-direction: column; padding: 24px; }
  .culture-block-photo { flex: none; width: 100%; }
}

.memory-block {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-blue-pale);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.memory-block .eyebrow { margin-bottom: 12px; }
.memory-block p:not(.eyebrow) { color: var(--text-gray); line-height: 1.75; font-size: 0.98rem; }

.usage-detail-list { display: flex; flex-direction: column; gap: 26px; max-width: 820px; margin: 0 auto; }
.usage-detail {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.usage-detail .usage-icon { flex-shrink: 0; margin-bottom: 0; }
.usage-detail h3 { margin-bottom: 8px; }
.usage-detail p { color: var(--text-gray); font-size: 0.96rem; }
.usage-detail-link { display: inline-block; margin-top: 10px; color: var(--coral); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 70px auto 0;
}
.photo-gallery.photo-gallery-center {
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
  max-width: none;
}
@media (max-width: 560px) {
  .photo-gallery.photo-gallery-center { grid-template-columns: minmax(220px, 320px); }
}
.gallery-item { margin: 0; }

.flip-card {
  aspect-ratio: 3/4;
  cursor: pointer;
  perspective: 1200px;
  border-radius: var(--radius-md);
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flip-card-zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.flip-card:hover .flip-card-zoom,
.flip-card:focus-visible .flip-card-zoom { opacity: 1; }

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px;
}
.flip-card-back h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.flip-card-back p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; line-height: 1.5; }

.flip-card-caption { display: none; }

@media (hover: none) {
  .flip-card-inner { transform: none !important; }
  .flip-card-back { display: none; }
  .flip-card-caption {
    display: block;
    margin-top: 12px;
    font-size: 0.86rem;
    color: var(--text-gray);
    line-height: 1.5;
  }
  .flip-card-caption strong { color: var(--text-dark); }
}

/* ---------- Photo agrandie (lightbox) ---------- */
.photo-lightbox[hidden] { display: none; }

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 38, 107, 0.82);
}
.photo-lightbox-img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.photo-lightbox-close {
  position: absolute;
  top: 26px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 1;
}

/* =========================================================
   PAGE : COWORKING
   ========================================================= */
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 90px;
}
.space-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.space-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(22, 38, 107, 0.22); }
.space-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.space-card-body { padding: 22px 24px 26px; }
.space-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.space-card-body p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 14px; }
.space-price {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--bg-blue-pale);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.conditions-block {
  max-width: 820px;
  margin: 0 auto 90px;
  background: var(--bg-blue-pale);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.conditions-block h2 { text-align: center; margin-bottom: 26px; }
.conditions-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.conditions-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--navy-soft);
  font-family: var(--font-heading);
  font-weight: 500;
}
.conditions-list li svg { flex-shrink: 0; margin-top: 2px; }

.booking-section { max-width: 620px; margin: 0 auto; }
.booking-section-heading { text-align: center; margin-bottom: 34px; }

.booking-widget-inline {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}

/* =========================================================
   PAGE : PARTENAIRES (détail)
   ========================================================= */
.partner-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.partner-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-detail-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(22, 38, 107, 0.22); }
.partner-detail-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: var(--bg-blue-pale);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
}
.partner-detail-card.is-benevole .partner-detail-logo { background: var(--bg-peach-pale); }
.partner-detail-logo.has-logo { background: var(--white); box-shadow: var(--shadow-card); padding: 10px; }
.partner-detail-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-detail-card p { color: var(--text-gray); font-size: 0.92rem; }
.partner-detail-card .btn {
  margin-top: 16px;
  padding: 10px 22px;
  font-size: 0.86rem;
}

.activity-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 38, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.activity-schedule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-gray);
  text-align: left;
}
.activity-provider-logo { height: 38px; width: auto; object-fit: contain; flex-shrink: 0; }
.activity-provider-logos { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- Galerie des ateliers ---------- */
.activity-gallery-section { padding: 50px 0; border-top: 1px solid rgba(22, 38, 107, 0.08); }
.activity-gallery-section:first-of-type { border-top: none; }
.activity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.activity-gallery-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.activity-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.activity-gallery-photo:hover img,
.activity-gallery-photo:focus-visible img { transform: scale(1.04); }
.activity-gallery-empty {
  margin-top: 20px;
  color: var(--text-gray);
  font-style: italic;
}
@media (max-width: 720px) {
  .activity-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .activity-gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Tarifs (Ateliers & Coworking) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-note { color: var(--text-gray); font-size: 0.84rem; margin-bottom: 16px; line-height: 1.5; }
.pricing-rows { display: flex; flex-direction: column; gap: 8px; }
.pricing-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.9rem; color: var(--text-dark); }
.pricing-row strong { font-family: var(--font-heading); color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.pricing-highlight {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-peach-pale);
  border-radius: var(--radius-sm);
}
.pricing-highlight-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--coral);
  margin-bottom: 8px;
}
.pricing-associations {
  text-align: center;
  margin: 34px auto 0;
  max-width: 560px;
  color: var(--text-gray);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.partner-detail-subtitle {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.partner-detail-card.is-featured {
  background: var(--navy);
  padding: 38px 30px;
}
.partner-detail-card.is-featured .partner-detail-logo { background: var(--white); }
.partner-detail-card.is-featured h3 { color: var(--white); }
.partner-detail-card.is-featured .partner-detail-subtitle { color: rgba(255, 255, 255, 0.7); }
.partner-detail-card.is-featured p { color: rgba(255, 255, 255, 0.82); }

/* =========================================================
   PAGE : BLOG
   ========================================================= */
.blog-empty {
  max-width: 520px;
  margin: 0 auto 90px;
  text-align: center;
  background: var(--bg-blue-pale);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
}
.blog-empty-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-card);
}
.blog-empty h2 { font-size: 1.3rem; margin-bottom: 10px; }
.blog-empty p { color: var(--text-gray); }

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.social-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}
.social-link-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-blue-pale);
  display: flex; align-items: center; justify-content: center;
}
.social-link-body { display: flex; flex-direction: column; gap: 2px; }
.social-link-body strong { font-family: var(--font-heading); font-size: 0.98rem; }
.social-link-status { font-size: 0.82rem; color: var(--text-gray); }

.social-link-card.is-linked { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.social-link-card.is-linked:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -18px rgba(22, 38, 107, 0.28);
}
.social-link-card.is-linked .social-link-status { color: var(--coral); }

@media (max-width: 940px) {
  .social-links-grid { grid-template-columns: 1fr; }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(22, 38, 107, 0.22); }
.blog-card-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-blue-pale); }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card-body p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.blog-card-link { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.blog-card:hover .blog-card-link { color: var(--coral); }

/* ---- Page d'un article individuel ---- */
.post-header { max-width: 780px; margin: 0 auto; text-align: center; }
.post-header .blog-card-date { display: block; }
.post-cover {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin: 36px auto 0;
  display: block;
}
.post-body {
  max-width: 720px;
  margin: 50px auto 0;
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.9;
}
.post-body h2 { color: var(--navy); margin: 36px 0 16px; font-size: 1.4rem; }
.post-body h3 { color: var(--navy); margin: 28px 0 12px; font-size: 1.15rem; }
.post-body p { margin-bottom: 20px; }
.post-body a { color: var(--coral); text-decoration: underline; }
.post-body img { width: 100%; border-radius: var(--radius-md); margin: 24px 0; }
.post-body ul, .post-body ol { margin: 0 0 20px 22px; }
.post-back { display: inline-block; margin-top: 50px; }

/* =========================================================
   PAGE : CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 90px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-peach-pale);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-row h3 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { color: var(--text-gray); font-size: 0.92rem; display: block; }
.contact-info-row a:hover { color: var(--coral); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px;
}
.contact-form-card h2 { font-size: 1.2rem; margin-bottom: 22px; }
.form-field {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.form-field input, .form-field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22, 38, 107, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--coral); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--white);
  margin-bottom: 90px;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.form-confirmation { text-align: center; padding: 20px 0; }
.form-confirmation .confirmation-icon { width: 56px; height: 56px; }
.form-confirmation h3 { margin-bottom: 8px; }
.form-confirmation p { color: var(--text-gray); }

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: var(--bg-peach-pale);
  color: var(--coral);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 16px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .usage-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .hero-text { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-subtitle, .hero-text-short { margin-left: auto; margin-right: auto; }

  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .conditions-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .main-nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 28px 26px;
    gap: 18px;
    box-shadow: var(--shadow-card);
  }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-caret-btn { padding: 6px 10px; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 10px 0 0 14px;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: flex; }
  .usage-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .float-1, .float-2 { position: static; margin-top: 14px; display: inline-flex; }
  .hero-float-card { margin-top: 12px; }

  .booking-tab { padding: 14px 10px; }
  .booking-tab:hover { padding-right: 10px; }
  .booking-tab span { font-size: 0.72rem; }
  .booking-modal-panel { max-width: 100%; padding: 60px 22px 30px; }

  .space-grid { grid-template-columns: 1fr; }
  .partner-detail-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .usage-detail { flex-direction: column; }
  .booking-widget-inline { padding: 26px 20px; }
  .months-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-block, .conditions-block, .contact-info-card, .contact-form-card { padding: 28px 24px; }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .photo-gallery { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE RÉSERVATIONS (admin, privée)
   ========================================================= */
.admin-login-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 40px 36px;
  text-align: center;
}
.admin-login-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
.admin-login-card p { color: var(--text-gray); margin-bottom: 24px; }
.admin-login-card form { text-align: left; }
.admin-login-card .btn { width: 100%; margin-top: 6px; }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.admin-toolbar h1 { font-size: 1.7rem; margin: 0; }
.admin-toolbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-toolbar-actions .btn { padding: 10px 18px; font-size: 0.85rem; }

.admin-summary {
  color: var(--text-gray);
  margin-bottom: 26px;
  font-size: 0.95rem;
}

.calendar-day.has-reservations {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.calendar-day.has-reservations:hover { background: var(--navy); transform: translateY(-2px); }
.calendar-day.has-reservations.is-selected { background: var(--navy) !important; }
.calendar-day-count {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 0.6rem;
  font-weight: 700;
}

.admin-day-details {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 38, 107, 0.1);
}
.admin-day-details h2 { font-size: 1.1rem; margin-bottom: 16px; }

.admin-reservation-card {
  background: var(--bg-blue-pale);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.admin-reservation-card p { margin: 0 0 4px; font-size: 0.9rem; color: var(--text-dark); }
.admin-reservation-card p:last-child { margin-bottom: 0; }
.admin-reservation-card strong { color: var(--navy); }
.admin-reservation-card a { color: var(--coral); }
.admin-delete-btn {
  margin-top: 12px;
  padding: 7px 16px;
  font-size: 0.78rem;
  border-color: rgba(22, 38, 107, 0.2);
  color: var(--coral);
}

.admin-subscriptions {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 38, 107, 0.1);
}
.admin-subscriptions h2 { font-size: 1.1rem; margin-bottom: 16px; }
.admin-empty-note { color: var(--text-gray); font-size: 0.9rem; }

@media (max-width: 560px) {
  .admin-login-card { padding: 30px 22px; }
  .admin-toolbar { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PAGES LÉGALES (mentions légales, confidentialité)
   ========================================================= */
.legal-block { margin-bottom: 40px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; }
.legal-block p { color: var(--text-dark); margin-bottom: 12px; line-height: 1.7; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { margin: 0 0 12px; padding-left: 20px; color: var(--text-dark); line-height: 1.7; }
.legal-block ul:last-child { margin-bottom: 0; }
.legal-block a { color: var(--coral); }


