/* =========================================================================
   BigFive Coworking — thème SOMBRE à dominante bleue (navy) + accent corail.
   Charte officielle conservée : navy #121D2F · corail #EB4C51 · paper.
   Ici le bleu domine : la majorité des sections sont sur fond navy ;
   les cartes sont des surfaces navy relevées ; le corail reste l'accent
   (CTA, eyebrows, traits) et la bande CTA corail est l'unique respiration vive.
   ========================================================================= */

:root {
  /* --- Nuances navy (bleu) --- */
  --navy:        #121D2F;  /* navy de base (charte) — sections, header, hero */
  --navy-alt:    #0E1826;  /* navy plus profond — sections alternées, footer */
  --navy-card:   #1D2A44;  /* surface relevée — cartes, formulaires, panneaux */
  --navy-card-2: #26375A;  /* survol / élévation */

  /* --- Corail (accent, charte) --- */
  --coral:       #EB4C51;  /* corail — CTA, badges, traits, bande CTA */
  --coral-soft:  #F27A7E;  /* corail éclairci — texte/liens/eyebrows sur fond sombre (AA) */
  --paper:       #F9FBFB;  /* clair — rares zones claires / logos */

  /* --- Rôles sémantiques (thème sombre) --- */
  --c-primary:   var(--navy);       /* compat : surfaces navy fortes */
  --c-secondary: var(--navy-card);
  --c-accent:    var(--coral);
  --c-light:     #C7D0DE;           /* gris-bleu clair — liens footer, labels doux */
  --c-bg:        var(--navy);        /* fond de page */
  --c-surface:   var(--navy-card);   /* fond des cartes / panneaux */

  --c-heading:   #FFFFFF;            /* titres */
  --c-ink:       #DCE3EE;            /* texte courant clair (AA sur navy) */
  --c-ink-soft:  #9DA8BC;            /* texte secondaire */
  --c-on-primary:#F4F7FB;            /* texte sur navy */
  --c-on-accent: #FFFFFF;            /* texte sur corail */
  --c-accent-ink:var(--coral-soft);  /* corail texte/liens/eyebrows sur fond sombre */

  --c-border:      color-mix(in srgb, #FFFFFF 14%, transparent);
  --c-border-soft: color-mix(in srgb, #FFFFFF 9%, transparent);

  /* --- Typo (auto-hébergée via /fonts/fonts.css) --- */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* --- Échelle --- */
  --maxw: 1120px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --radius: 14px;
  --shadow: 0 16px 38px -16px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.075rem);
}
img, picture { max-width: 100%; display: block; }
a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--coral-soft); }

/* --- Accessibilité (RGAA) --- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--coral-soft);
  outline-offset: 2px;
  border-radius: 2px;
}
.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;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--coral); color: #fff;
  padding: .6em 1em; border-radius: 8px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--c-heading); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow, .hero-eyebrow {
  text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; font-weight: 600;
  color: var(--coral-soft); margin: 0 0 .6rem;
}

/* --- Boutons (corail = action forte sur fond sombre) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral); color: var(--c-on-accent);
  padding: .7em 1.4em; border-radius: 999px; font-weight: 600;
  border: 2px solid var(--coral); cursor: pointer; transition: .18s ease;
}
.btn:hover { background: var(--coral-soft); border-color: var(--coral-soft); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn-lg { padding: .85em 1.7em; font-size: 1.05rem; }
.btn-ico { width: 1.05em; height: 1.05em; margin-right: .45em; flex: none; }
.btn-ghost { background: transparent; color: var(--c-heading); border-color: color-mix(in srgb, #fff 55%, transparent); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 68px; width: auto; max-width: 286px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--c-heading); }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { color: var(--c-on-primary); font-weight: 500; }
.nav-menu a:not(.btn):hover { color: var(--coral-soft); }
.nav-menu a.btn { color: var(--c-on-accent); }
.nav-menu a.btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: .4rem; cursor: pointer; }
.nav-close { display: none; }
.nav-panel-logo, .nav-panel-social { display: none; }
body.nav-open { overflow: hidden; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .2s; }

/* --- Hero --- */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 80vh, 720px); display: flex; align-items: center;
}
/* Vidéo (ou image de repli) en fond, plein cadre */
.hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0; background: var(--navy);
}
/* Filtre bleu marine transparent, AU-DESSUS de la vidéo :
   1) voile navy uniforme sur tout le hero,
   2) renfort navy à gauche (sous le texte) → vidéo plus visible à droite,
   3) léger assombrissement bas pour l'ancrage. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--navy) 92%, transparent) 0%,
      color-mix(in srgb, var(--navy) 60%, transparent) 42%,
      color-mix(in srgb, var(--navy) 20%, transparent) 74%,
      color-mix(in srgb, var(--navy) 6%, transparent) 100%),
    linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--navy) 34%, transparent) 100%),
    linear-gradient(color-mix(in srgb, var(--navy) 12%, transparent), color-mix(in srgb, var(--navy) 12%, transparent));
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--navy) 60%, transparent);
}
.hero-content h1 { color: #fff; max-width: 16ch; }
.hero-eyebrow { color: color-mix(in srgb, var(--c-light) 55%, #fff); }
.hero-baseline { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 40ch; margin: 0 0 1.6rem; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* --- Sections (fond navy par défaut, alternance navy profond) --- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--navy-alt); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-head p { color: var(--c-ink-soft); }

/* --- Cards --- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { color: var(--c-heading); }
.card p { color: var(--c-ink-soft); }
.review-text { font-style: italic; color: var(--c-ink-soft); }
.review-author { font-weight: 600; color: var(--c-heading); margin: 0; }

/* --- Split (texte + image) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split-text p { color: var(--c-ink-soft); }
.split-media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* --- Contact --- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; }
.contact-list strong { color: var(--coral-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list span, .contact-list a { color: var(--c-ink); }
.contact-form { display: grid; gap: 1rem; background: var(--c-surface); border: 1px solid var(--c-border); padding: 1.8rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--c-ink); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .7em; border: 1px solid var(--c-border); border-radius: 8px; background: var(--navy-alt); color: var(--c-ink);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--c-ink-soft); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--coral-soft); border-color: var(--coral-soft); }
.contact-form button:disabled { opacity: .6; cursor: not-allowed; }
.form-status { font-size: .9rem; border-radius: 8px; padding: .6em .9em; display: none; }
.form-status:not(:empty) { display: block; }
.form-status--ok    { background: #123524; color: #a7e8c4; }
.form-status--error { background: #3a1620; color: #f2b8bf; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Footer --- */
.site-footer { background: var(--navy-alt); color: #fff; padding-block: 2.5rem; border-top: 1px solid var(--c-border-soft); }
.footer-inner { display: grid; gap: 1.1rem; text-align: center; justify-items: center; }
.footer-brand { display: inline-flex; margin: 0; }
.footer-brand img { height: 62px; width: auto; display: block; }
.footer-address { margin: 0; font-size: .9rem; }
.footer-address a { display: inline-flex; align-items: center; gap: .45rem; color: var(--c-light); }
.footer-address a:hover { color: #fff; }
.footer-pin { display: inline-flex; }
.footer-pin svg { width: 15px; height: 15px; }
.footer-nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.footer-social { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-card); border: 1px solid var(--c-border-soft); color: var(--c-light);
}
.footer-social a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }
.site-footer a { color: var(--c-light); }
.site-footer a:hover { color: #fff; }
.footer-legal { font-size: .85rem; color: color-mix(in srgb, #fff 70%, transparent); margin: 0; line-height: 1.9; }
.footer-legal a { color: var(--c-light); }
.footer-legal a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 760px) {
  .hero::after {
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--navy) 40%, transparent),
      color-mix(in srgb, var(--navy) 85%, transparent));
  }
  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  /* Logo du header réduit de 20% en mobile */
  .brand-logo { width: 156px; height: auto; transition: width .25s ease; }
  /* Header réduit en hauteur dès qu'on scrolle */
  .header-inner { transition: min-height .25s ease; }
  .site-header.is-scrolled .header-inner { min-height: 58px; }
  .site-header.is-scrolled .brand-logo { width: 116px; }
  /* Menu ouvert : on neutralise le backdrop-filter du header, sinon il crée un
     bloc englobant qui piège le position:fixed du panneau (menu confiné au header). */
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Menu mobile : panneau plein écran surgissant de la droite, sans scroll */
  .nav-menu {
    position: fixed; inset: 0; z-index: 90; margin: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: .3rem;
    background: var(--navy); border: 0;
    overflow: hidden; transform: translateX(100%);
    transition: transform .3s ease; visibility: hidden;
  }
  .nav.open .nav-menu { transform: translateX(0); visibility: visible; }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu li a { display: block; padding: .5rem; font-size: 1.15rem; }
  /* Logo centré en haut du panneau */
  .nav-panel-logo { display: block; position: absolute; top: 1.4rem; left: 0; right: 0; text-align: center; }
  .nav-panel-logo img { display: block; width: 130px; height: auto; margin: 0 auto; }
  /* Réseaux sociaux (identiques au footer) centrés en bas du panneau */
  .nav-panel-social { display: block; position: absolute; bottom: 1.6rem; left: 0; right: 0; }
  .nav-panel-social .footer-social a { display: inline-flex; padding: 0; } /* annule .nav-menu li a */
  /* Bouton Réserver plus étroit, centré */
  .nav-menu li a.btn { display: inline-flex; width: auto; padding: .8rem 2.2rem; margin-top: .5rem; }
  /* Menu ouvert : on masque les widgets flottants (évite le chevauchement avec les réseaux) */
  body.nav-open .floating-widget { display: none; }
  .nav-close {
    display: none; position: fixed; top: 1.1rem; right: 1.1rem; z-index: 95;
    background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer;
  }
  .nav-close svg { width: 30px; height: 30px; }
  .nav.open .nav-close { display: inline-flex; }
}

/* =========================================================================
   Méga-menu Offres · Widget flottant · Modale demande · Formulaire à branches
   ========================================================================= */

/* --- Méga-menu (desktop : survol/focus) --- */
.nav-has-mega { position: relative; }
.nav-mega-toggle {
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 500;
  color: var(--c-on-primary); display: inline-flex; align-items: center; gap: .3rem; padding: 0;
}
.nav-mega-toggle:hover, .nav-has-mega:hover .nav-mega-toggle { color: var(--coral-soft); }
.nav-caret { display: inline-flex; align-items: center; transition: transform .2s ease; }
.nav-caret svg { width: 17px; height: 17px; }
.nav-has-mega:hover .nav-caret,
.nav-mega-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; padding-top: 14px; z-index: 60;
  opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease;
}
.mega::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; }
.mega-inner {
  background: var(--navy-card); border: 1px solid var(--c-border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem;
  display: flex; gap: 1.6rem; padding: 1.2rem 1.4rem;
}
.mega-col { min-width: 300px; }
.mega-col + .mega-col { border-left: 1px solid var(--c-border-soft); padding-left: 1.6rem; }
.nav-has-mega:hover .mega,
.nav-has-mega:focus-within .mega,
.nav-mega-toggle[aria-expanded="true"] + .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-title {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; font-weight: 700; color: var(--c-ink-soft); margin: .2rem .4rem .5rem;
}
.mega-title--alt { margin-top: .7rem; border-top: 1px solid var(--c-border-soft); padding-top: .8rem; }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px; color: var(--c-heading); }
.mega-list a:hover { background: var(--navy-card-2); color: #fff; }
.mega-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: color-mix(in srgb, var(--coral) 16%, transparent); color: var(--coral-soft); }
.mega-ico svg { width: 18px; height: 18px; }
.mega-txt { display: flex; flex-direction: column; }
.mega-name { display: block; font-weight: 600; }
.mega-desc { display: block; font-size: .82rem; color: var(--c-ink-soft); }
.mega-list a:hover .mega-desc { color: var(--c-ink); }
.mega-photo { display: block; margin-top: .7rem; border-radius: 10px; overflow: hidden; }
.mega-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* --- Carrousel galerie (photos carrées) + lightbox --- */
.gcarousel { position: relative; }
.gcarousel-track {
  display: flex; gap: .8rem; overflow-x: auto;
  list-style: none; margin: 0; padding: 0;
  scrollbar-width: none; -ms-overflow-style: none; /* Firefox / anciens Edge */
}
.gcarousel-track::-webkit-scrollbar { display: none; } /* Chrome / Safari */
.gtile { flex: 0 0 calc((100% - 4 * .8rem) / 5); }
.gtile-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden;
}
.gtile-btn img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .3s ease; }
.gtile-btn:hover img, .gtile-btn:focus-visible img { transform: scale(1.05); }
.gcarousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--coral); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow);
}
.gcarousel-nav:hover { background: var(--coral-soft); }
.gcarousel-nav svg { width: 20px; height: 20px; }
.gcarousel-prev { left: -12px; }
.gcarousel-next { right: -12px; }
@media (max-width: 900px) { .gtile { flex-basis: calc((100% - 2 * .8rem) / 3); } }
@media (max-width: 560px) { .gtile { flex-basis: calc((100% - .8rem) / 2); } }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(5,10,18,.92); padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: block; }
.lightbox-img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; display: block; border-radius: 6px; }
.lightbox-btn {
  position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-btn:hover { background: rgba(255,255,255,.28); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* --- Widget latéral flottant --- */
.floating-widget {
  position: fixed; right: clamp(.5rem, 1.4vw, 1rem); top: 50%; transform: translateY(-50%);
  z-index: 70; display: flex; flex-direction: column; gap: .55rem; align-items: flex-end;
}
.fw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px; border: 0; padding: 0;
  cursor: pointer; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.55); transition: .2s ease;
}
.fw-btn svg { width: 23px; height: 23px; flex: none; }
.fw-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-weight: 600; font-size: .9rem; transition: .22s ease; }
.fw-call    { background: var(--coral); }
.fw-wa      { background: #25D366; }
.fw-contact { background: var(--navy-card); border: 1px solid var(--c-border); }
.fw-btn:hover, .fw-btn:focus-visible { color: #fff; transform: translateX(-2px); }
@media (hover: hover) {
  .fw-btn { width: auto; padding: 0 15px; }
  .fw-btn:hover .fw-label, .fw-btn:focus-visible .fw-label { max-width: 130px; opacity: 1; margin-left: 9px; }
}
/* Mobile : les 3 widgets passent en bas d'écran, centrés en ligne */
@media (max-width: 760px) {
  .floating-widget {
    top: auto; bottom: calc(.7rem + env(safe-area-inset-bottom)); left: 50%; right: auto;
    transform: translateX(-50%); flex-direction: row; align-items: center; gap: .7rem;
  }
  /* Marge sous le footer pour que les widgets ne masquent pas les liens légaux */
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* Adresse : picto PIN au-dessus, centré */
  .footer-address a { flex-direction: column; }
}

/* --- Modale demande --- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(1rem, 4vh, 3rem) 1rem; overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal-overlay { position: fixed; inset: 0; background: rgba(5,10,18,.72); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative; z-index: 1; width: min(640px, 100%);
  background: var(--navy); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy-card); border: 1px solid var(--c-border); color: var(--c-ink);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--navy-card-2); color: #fff; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: clamp(1.4rem, 4vw, 2.2rem); }
.modal-intro { color: var(--c-ink-soft); margin-top: -.2rem; }
body.modal-open { overflow: hidden; }

/* --- Formulaire à branches --- */
.demande-form { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.df-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.df-field { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--c-ink); }
.df-field--full { grid-column: 1 / -1; }
.df-opt { font-weight: 400; color: var(--c-ink-soft); font-size: .82rem; }
.demande-form input, .demande-form select, .demande-form textarea {
  font: inherit; font-weight: 400; padding: .65em .7em; border: 1px solid var(--c-border);
  border-radius: 8px; background: var(--navy-card); color: var(--c-ink); width: 100%;
}
.demande-form input::placeholder, .demande-form textarea::placeholder { color: var(--c-ink-soft); }
.demande-form input:focus, .demande-form select:focus, .demande-form textarea:focus {
  outline: 2px solid var(--coral-soft); border-color: var(--coral-soft);
}
.df-branch {
  border: 1px solid var(--c-border-soft); border-radius: var(--radius); padding: 1rem; margin: 0;
  background: color-mix(in srgb, var(--navy-card) 55%, transparent);
}
.df-branch[hidden] { display: none; }
.df-radios { display: flex; flex-direction: column; gap: .5rem; margin-top: .4rem; }
.df-radios--inline { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
.df-radio { display: flex; align-items: flex-start; gap: .5rem; font-weight: 500; cursor: pointer; }
.df-radio input { width: auto; margin-top: .2rem; }
.df-radio span { display: flex; flex-direction: column; line-height: 1.25; }
.df-radio small { color: var(--c-ink-soft); font-weight: 400; }
.df-info { margin: 0; color: var(--c-ink); font-size: .92rem; line-height: 1.55; }
.df-info a { color: var(--coral-soft); text-decoration: underline; }

@media (max-width: 760px) {
  /* Pas de méga-menu dans le burger : les offres deviennent des liens directs (sans accordéon ni photo) */
  .nav-has-mega { display: block; width: 100%; text-align: center; }
  .nav-mega-toggle { display: none; }
  .mega,
  .nav-has-mega:hover .mega,
  .nav-has-mega:focus-within .mega,
  .nav-mega-toggle[aria-expanded="true"] + .mega {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0; display: block;
  }
  .mega::before, .mega-title, .mega-ico, .mega-desc, .mega-photo { display: none; }
  .mega-inner { background: transparent; border: 0; box-shadow: none; padding: 0; flex-direction: column; gap: 0; }
  .mega-col { min-width: 0; border: 0 !important; padding: 0 !important; margin: 0 !important; }
  .mega-list { padding: 0; margin: 0; }
  .mega-list a { justify-content: center; padding: .5rem; color: var(--c-on-primary); }
  .mega-name { font-size: 1.15rem; font-weight: 500; }
}
@media (max-width: 560px) {
  .df-grid { grid-template-columns: 1fr; }
}

/* --- Sous-pages : fil d'ariane, intro, état actif du menu --- */
.nav-menu a[aria-current], .nav-mega-toggle.is-active { color: var(--coral-soft); }
.breadcrumb { padding-top: 1.4rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .85rem; color: var(--c-ink-soft); }
.breadcrumb a { color: var(--c-ink-soft); }
.breadcrumb a:hover { color: var(--coral-soft); }
.breadcrumb li[aria-current] { color: var(--c-ink); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--c-ink-soft); }
.page-hero { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.page-hero h1 { max-width: 22ch; }
.page-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--c-ink); max-width: 54ch; }

/* --- Hero de sous-page avec photo de fond + overlay --- */
.page-hero--photo {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: 0; min-height: clamp(320px, 44vh, 500px); display: flex; align-items: center;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--navy) 88%, transparent) 0%,
      color-mix(in srgb, var(--navy) 50%, transparent) 45%,
      color-mix(in srgb, var(--navy) 8%, transparent) 100%),
    linear-gradient(color-mix(in srgb, var(--navy) 16%, transparent), color-mix(in srgb, var(--navy) 16%, transparent));
}
.page-hero-content {
  position: relative; z-index: 2; width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto;
  padding-block: clamp(1.5rem, 4vw, 2.6rem);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--navy) 60%, transparent);
}
.page-hero--photo h1, .page-hero--photo .page-lead { color: #fff; }
.page-hero--photo .breadcrumb ol,
.page-hero--photo .breadcrumb a { color: rgba(255,255,255,.82); }
.page-hero--photo .breadcrumb a:hover,
.page-hero--photo .breadcrumb li[aria-current] { color: #fff; }
.page-hero--photo .breadcrumb li + li::before { color: rgba(255,255,255,.6); }

/* --- Slider fondu générique (header + sections) --- */
.fs-slide { opacity: 0; transition: opacity 1s ease; }
.fs-slide.is-active { opacity: 1; }
/* le <picture> doit remplir la slide, sinon l'<img> garde sa hauteur naturelle
   (alignée en haut) et object-fit:cover ne recadre pas */
.fs-slide picture { display: block; width: 100%; height: 100%; }
.fs-dot { width: 30px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.42); position: relative; overflow: hidden; cursor: pointer; }
.fs-dot:hover { background: rgba(255,255,255,.68); }
.fs-dot i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; display: block; }
.fs-dot.is-active i { animation: fsFill 6s linear forwards; }
@keyframes fsFill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fs-slide { transition: opacity .01s; } .fs-dot.is-active i { animation: none; width: 100%; } }

/* Header en diaporama */
.page-hero-slides { position: absolute; inset: 0; z-index: 0; }
.page-hero-slides .fs-slide { position: absolute; inset: 0; }
.page-hero-slides .fs-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.page-hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.3rem; display: flex; gap: 9px; z-index: 3; }

/* Slider de contenu (sections .split) */
.split-media.fslider { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media.fslider .fs-slide { position: absolute; inset: 0; }
.split-media.fslider .fs-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; border-radius: 0; box-shadow: none; }
.split-media.fslider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, rgba(0,0,0,.42)); z-index: 1; pointer-events: none; }
.split-media.fslider .fs-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 8px; z-index: 2; }
@media (min-width: 761px) { .split--reverse .split-text { order: 2; } }

/* --- FAQ en accordéon (<details>/<summary> natif) --- */
.faq-acc { max-width: 780px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-acc-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq-acc-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; font-family: var(--font-head); font-size: 1.1rem; color: var(--c-heading);
}
.faq-acc-item summary::-webkit-details-marker { display: none; }
.faq-acc-item summary:hover { color: var(--coral-soft); }
.faq-acc-icon { flex: none; display: inline-flex; color: var(--coral-soft); transition: transform .2s ease; }
.faq-acc-icon svg { width: 18px; height: 18px; }
.faq-acc-item[open] .faq-acc-icon { transform: rotate(180deg); }
.faq-acc-body { padding: 0 1.3rem 1.2rem; }
.faq-acc-body p { margin: 0; color: var(--c-ink-soft); }

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

/* ===== Stats bar ===== */
.stats-bar { background: var(--navy-alt); padding-block: 2rem; border-block: 1px solid var(--c-border-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat { color: #fff; }
.stat-val { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--coral); line-height: 1; }
.stat-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }

/* ===== Intro ===== */
.intro-block { max-width: 72ch; margin-inline: auto; text-align: center; }
.intro-text { font-size: 1.1rem; color: var(--c-ink); margin-bottom: .5rem; }
.intro-cibles { font-size: .95rem; color: var(--c-ink-soft); }
.intro-cibles strong { color: var(--c-ink); }

/* ===== Services avec photo ===== */
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-media { aspect-ratio: 3/2; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 1.4rem 1.6rem 1.6rem; flex: 1; }
.service-body h3 { color: var(--c-heading); margin-bottom: .4rem; }
.service-body p { color: var(--c-ink-soft); margin: 0; font-size: .95rem; }

/* ===== Avantages ===== */
/* Convention grille : flex + justify-center → dernière ligne centrée (pas d'orphelin
   calé à gauche). 6 items → 3+3 sur desktop. Cf. atelier CLAUDE.md « nombre impair ». */
.avantages-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.avantages-grid > .avantage { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); min-width: 220px; }
.avantage { text-align: center; padding: 1.8rem 1.4rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.avantage h3 { font-size: 1.1rem; color: var(--c-heading); margin-bottom: .4rem; }
.avantage p { font-size: .9rem; color: var(--c-ink-soft); margin: 0; }
.avantage a { color: var(--coral-soft); text-decoration: underline; text-underline-offset: 2px; }
.avantage a:hover { color: #fff; }

/* ===== Zone d'intervention ===== */
.zone-villes { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.zone-villes li { background: color-mix(in srgb, #fff 10%, transparent); color: var(--c-on-primary); font-weight: 600; font-size: .9rem; padding: .4em .9em; border-radius: 999px; }
.zone-cta { text-align: center; margin-top: 1.8rem; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-list { margin: 0; }
.faq-item { border-bottom: 1px solid var(--c-border-soft); padding-block: 1.2rem; }
.faq-item dt { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--c-heading); cursor: default; margin-bottom: .5rem; }
.faq-item dd { margin: 0; color: var(--c-ink-soft); line-height: 1.7; }

/* ===== Responsive additions ===== */
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .avantages-grid > .avantage { flex-basis: calc((100% - var(--gap)) / 2); }
  .espaces-grid > .espace-card { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .avantages-grid > .avantage,
  .espaces-grid > .espace-card { flex-basis: 100%; }
}

/* ===== Scroll reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Avantage icon (SVG) ===== */
.avantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--coral) 18%, transparent);
  margin: 0 auto .9rem;
  color: var(--coral-soft);
}
.avantage-icon svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ===== Slider réalisations ===== */
.slider-outer { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--radius); }
.slider-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.slide-media { overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-info {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}
.slide-lieu {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--coral-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
}
.slide-lieu svg { flex-shrink: 0; }
.slide-info h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); color: var(--c-heading); margin: 0; }
.slide-services { font-size: .9rem; color: var(--c-ink-soft); margin: 0; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-heading);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.slider-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.slider-dots { display: flex; gap: .5rem; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--c-border);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.slider-dot.active {
  background: var(--coral);
  transform: scale(1.4);
}

@media (max-width: 680px) {
  .slide { grid-template-columns: 1fr; min-height: auto; }
  .slide-media { aspect-ratio: 16/9; }
  .slide-info { padding: 1.4rem 1.2rem; }
}

/* ===== Cookie banner ===== */
#cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 640px);
  background: var(--navy-card);
  color: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px -8px rgba(0,0,0,.6);
  padding: 1.4rem 1.6rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .9rem;
  line-height: 1.5;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--coral-soft); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.cookie-accept {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .5em 1.2em;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: opacity .15s;
}
.cookie-accept:hover { opacity: .85; }
.cookie-refuse {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: .5em 1.1em;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.cookie-refuse:hover { border-color: #fff; color: #fff; }

/* ===== Pages légales (layout commun) ===== */
.legal-page { max-width: 780px; margin: 0 auto; padding: var(--section-y) 1.25rem; }
.legal-page h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin-top: 2.2rem; margin-bottom: .5rem; color: var(--c-heading); }
.legal-page p, .legal-page ul, .legal-page ol { font-size: .95rem; color: var(--c-ink-soft); line-height: 1.75; }
.legal-page ul, .legal-page ol { padding-left: 1.4rem; }
.legal-page a { color: var(--coral-soft); }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--c-ink-soft); margin-bottom: 2rem; }
.legal-back:hover { color: var(--c-heading); }

/* =========================================================================
   BigFive — sections spécifiques coworking
   ========================================================================= */

/* Wordmark */
.brand-name { letter-spacing: -.01em; }
.brand-dot { color: var(--coral); }

/* Eyebrow sur fond sombre (déjà clair via .eyebrow, alias conservé) */
.eyebrow-light { color: color-mix(in srgb, var(--c-light) 70%, #fff); }

/* ===== Espaces (cartes) ===== */
/* Convention grille (cf. atelier CLAUDE.md) : flex + justify-center pour centrer
   la dernière ligne. 3 offres → une ligne pleine ; si ça retombe à 2, c'est centré. */
.espaces-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.espaces-grid > .espace-card { flex: 0 0 calc((100% - 3.2rem) / 3); min-width: 260px; }
/* Mobile : cartes pleine largeur (comme la carte privatisation). Placé APRÈS la base
   pour gagner dans le cascade — l'override en section responsive plus haut était neutralisé. */
@media (max-width: 760px) {
  .espaces-grid > .espace-card { flex-basis: 100%; min-width: 0; }
}
.espace-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.espace-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--coral) 55%, transparent); box-shadow: 0 22px 46px -18px rgba(0,0,0,.7); }
.espace-media { aspect-ratio: 3/2; overflow: hidden; }
.espace-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.espace-card:hover .espace-media img { transform: scale(1.05); }
.espace-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.espace-tag {
  align-self: flex-start; background: color-mix(in srgb, #fff 10%, transparent);
  color: var(--c-on-primary); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3em .8em; border-radius: 999px;
}
.espace-body h3 { margin: 0; color: var(--c-heading); }
.espace-body p { margin: 0; color: var(--c-ink-soft); font-size: .95rem; flex: 1; }
.espace-link { margin-top: .3rem; font-weight: 700; font-size: .9rem; color: var(--coral-soft); display: inline-flex; gap: .4rem; align-items: center; }
.espace-link span { transition: transform .2s ease; }
.espace-card:hover .espace-link span { transform: translateX(4px); }

/* ===== Événementiel (CTA dédié, sorti de la grille des offres) ===== */
.evt-cta {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.evt-cta-media { min-height: 300px; }
.evt-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.evt-cta-body {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; justify-content: center; gap: .3rem;
}
.evt-cta-body h2 { margin: 0 0 .4rem; }
.evt-cta-body p { color: var(--c-ink-soft); margin: 0 0 1.4rem; }
.evt-cta-body .btn { align-self: flex-start; }
@media (max-width: 760px) {
  .evt-cta { grid-template-columns: 1fr; }
  .evt-cta-media { min-height: 0; aspect-ratio: 16/10; }
}

/* ===== Bande Big Five (marque) — navy avec halo corail subtil ===== */
.bigfive-band {
  background:
    radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--coral) 16%, var(--navy)) 0%, var(--navy) 55%);
  color: #fff;
}
.bigfive-band h2 { color: #fff; }
.bigfive-band .section-head { max-width: 70ch; }
.bigfive-band .section-head p { color: color-mix(in srgb, #fff 82%, transparent); }

/* Galerie « Humanimals » : les 5 du Big Five en coworkers */
.bf-cards {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem;
}
.bf-card {
  flex: 0 0 calc((100% - 4 * 1.4rem) / 5); min-width: 180px;
  display: flex; flex-direction: column;
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  border-radius: 14px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.bf-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--coral) 60%, transparent); }
.bf-card-media { aspect-ratio: 3/4; overflow: hidden; }
.bf-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .45s ease; }
.bf-card:hover .bf-card-media img { transform: scale(1.05); }
.bf-card-body { padding: .95rem 1rem 1.15rem; display: flex; flex-direction: column; gap: .1rem; }
.bf-card-role { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--coral-soft); margin: 0 0 .15rem; }
.bf-card-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 .25rem; }
.bf-card-desc { font-size: .82rem; line-height: 1.5; color: color-mix(in srgb, #fff 76%, transparent); margin: 0; }
@media (max-width: 900px) { .bf-card { flex-basis: calc((100% - 2 * 1.4rem) / 3); } }
@media (max-width: 760px) { .bf-card { flex-basis: 100%; } }

/* CTA joueur sous les portraits */
.bf-cta { text-align: center; margin-top: 2.6rem; }
.bf-cta-q { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 2rem); color: #fff; margin: 0 0 .5rem; }
.bf-cta-sub { color: color-mix(in srgb, #fff 80%, transparent); max-width: 54ch; margin: 0 auto 1.5rem; }

.bf-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.bf-text p { color: color-mix(in srgb, #fff 84%, transparent); }
.bf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bf-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.2rem; border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  border-radius: 12px; background: color-mix(in srgb, #fff 6%, transparent);
}
.bf-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.bf-cap { font-size: .85rem; color: var(--coral-soft); font-weight: 600; }

/* ===== Tarifs ===== */
.tarifs-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.tarif-card {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem;
}
.tarif-featured { border: 2px solid var(--coral); box-shadow: 0 22px 50px -18px color-mix(in srgb, var(--coral) 55%, transparent); }
.tarif-badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: var(--c-on-accent); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: .35em .9em; border-radius: 999px; white-space: nowrap;
}
.tarif-card h3 { margin: 0; color: var(--c-heading); }
.tarifs-grid--2 .tarif-card h3 { font-size: 1.6rem; }
.tarif-price { margin: 0; display: flex; align-items: baseline; gap: .35rem; }
.tarif-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--c-heading); }
.tarif-per { font-size: .9rem; color: var(--c-ink-soft); }
.tarif-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; flex: 1; }
.tarif-feats li { position: relative; padding-left: 1.5rem; font-size: .95rem; line-height: 1.4; color: var(--c-ink-soft); }
.tarif-feats li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .4rem;
  border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg);
}
.tarif-card .btn { align-self: flex-start; }
.tarifs-grid--2 .tarif-card .btn { align-self: center; }
/* Sous-titre + double prix (page coworking : 4 formules) */
.tarif-sub { margin: -.4rem 0 0; font-size: .92rem; display: grid; gap: .12rem; }
.tarif-sub .ts-1 { font-weight: 600; color: var(--c-ink); }
.tarif-sub .ts-2 { font-weight: 400; color: var(--c-ink); }
.tarif-sub .ts-2--accent { color: var(--coral-soft); font-weight: 600; }
.tarif-sub .ts-hl { font-weight: 700; }
.tarif-pricing { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.tarif-pricing li { display: flex; align-items: baseline; gap: .5rem; }
.tarif-pricing strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--c-heading); white-space: nowrap; }
.tarif-pricing span { font-size: .82rem; color: var(--c-ink-soft); }
/* Grille 2 formules par ligne (groupes « Sans / Avec abonnement ») */
.tarifs-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .tarifs-grid--2 { grid-template-columns: 1fr; } }
.tarif-group-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--c-heading); margin: 2.2rem 0 1.1rem; }
.tarif-group-title:first-of-type { margin-top: .5rem; }

/* ===== Modale large (réservation Tydeck en iframe) ===== */
.modal-dialog--wide { width: min(1040px, 100%); }
.tydeck-frame { display: block; width: 100%; height: min(82vh, 860px); border: 0; border-radius: var(--radius); background: var(--navy-card); }
/* Iframe de réservation intégrée dans la page (salle de réunion) */
.tydeck-embed { display: block; width: 100%; height: min(85vh, 900px); border: 0; border-radius: var(--radius); background: var(--navy-card); }

/* Liste à coches (inclus / équipements salle) */
.check-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.4rem; }
.check-list--stack { grid-template-columns: 1fr; max-width: none; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--c-ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .4rem; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); }
.check-list a { color: var(--coral-soft); text-decoration: underline; }
.note-option { text-align: center; color: var(--c-ink-soft); font-size: .9rem; margin-top: 1.4rem; }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* --- Cartes événements (privatisation) : 3 par ligne, avec photo --- */
.events-grid { list-style: none; margin: 1.4rem 0 2.4rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.events-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .events-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .events-grid--4 { grid-template-columns: 1fr; } }
.event-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.event-media { aspect-ratio: 3 / 2; background: var(--navy-alt); }
.event-media img, .event-media picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-body { padding: 1.1rem 1.3rem 1.35rem; }
.event-body h3 { margin: 0 0 .3rem; }
.event-body p { margin: 0; color: var(--c-ink-soft); font-size: .92rem; }
@media (max-width: 860px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .events-grid { grid-template-columns: 1fr; } }

/* --- Tarifs : nav rubriques + cartes prix (HT + TTC) --- */
.tarifs-jump {
  position: sticky; top: 90px; z-index: 40; padding: .7rem 0;
  background: color-mix(in srgb, var(--navy) 90%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
/* Mobile : le header rétrécit au scroll (58px) → le sticky suit, sinon décalage */
@media (max-width: 760px) { .tarifs-jump { top: 58px; } }
.tarifs-jump-inner { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
#coworking, #bureaux, #salle, #privatisation { scroll-margin-top: 150px; }
.tarifs-jump a { padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--c-border); background: var(--navy-card); color: var(--c-ink); font-size: .9rem; font-weight: 600; }
.tarifs-jump a:hover, .tarifs-jump a:focus-visible { background: var(--coral); border-color: var(--coral); color: #fff; }
.price-grid { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* Variantes flexbox : dernière ligne centrée (convention grilles impaires) */
.price-grid--3, .price-grid--4 { display: flex; flex-wrap: wrap; justify-content: center; }
.price-grid--3 > .price-card { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); min-width: 210px; }
.price-grid--4 > .price-card { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); min-width: 180px; }
@media (max-width: 860px) {
  .price-grid--3 > .price-card, .price-grid--4 > .price-card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 540px) {
  .price-grid--3 > .price-card, .price-grid--4 > .price-card { flex-basis: 100%; }
}
.price-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.price-card h3 { margin: 0 0 .2rem; font-size: 1.12rem; }
.price-sub { margin: 0 0 .7rem; font-size: .85rem; color: var(--c-ink-soft); }
.price-amount { margin: 0; display: flex; flex-direction: column; gap: .1rem; }
.price-ht { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--c-heading); }
.price-ttc { font-size: .8rem; color: var(--c-ink-soft); }
.price-alt { margin: .5rem 0 0; font-size: .8rem; color: var(--c-ink-soft); }
.note-option a { color: var(--coral-soft); text-decoration: underline; }

/* --- Carte de localisation (contact) pleine largeur --- */
.contact-map { width: 100%; height: clamp(340px, 48vh, 500px); z-index: 0; }
.contact-map .leaflet-container { font-family: var(--font-body); background: var(--navy-card); }

/* --- Pages légales : actions + impression / export PDF --- */
.legal-actions { margin: 0 0 1.6rem; }
.legal-note { color: var(--c-ink-soft); font-size: .9rem; }
@media print {
  .site-header, .site-footer, #cookie-banner, .floating-widget, .no-print { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .legal-page { max-width: none; margin: 0; padding: 0; }
  .legal-page, .legal-page p, .legal-page li, .legal-page strong { color: #111 !important; }
  .legal-page h1, .legal-page h2, .legal-page h3 { color: #000 !important; }
  .legal-page a { color: #111 !important; text-decoration: underline; }
}

/* --- « Ils nous ont fait confiance » (bande blanche, logos clients) --- */
.clients-band { background: #fff; }
.clients-band .eyebrow { color: var(--coral); }
.clients-band h2 { color: var(--navy); }
.logo-marquee {
  overflow: hidden; margin-top: 2.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; width: max-content; animation: logoScroll 35s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: 0 0 var(--logo-w, 200px); display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 1.2rem; }
.logo-item img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; }
.client-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #6b7787; white-space: nowrap; }
@keyframes logoScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ===== CTA band (corail = unique respiration vive) ===== */
.cta-band { background: var(--coral); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { text-align: center; max-width: 62ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: color-mix(in srgb, #fff 90%, transparent); margin-bottom: 1.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band .btn { background: #fff; color: var(--coral); border-color: #fff; }
.cta-band .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--coral); }

/* ===== Galerie ===== */
.galerie-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.galerie-grid.galerie-4 { grid-template-columns: repeat(4, 1fr); }
.galerie-grid picture { display: block; width: 100%; height: 100%; }
.galerie-grid li { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1/1; box-shadow: var(--shadow); border: 1px solid var(--c-border-soft); }
.galerie-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galerie-grid li:hover img { transform: scale(1.05); }

/* ===== Responsive coworking ===== */
@media (max-width: 760px) {
  .bf-inner { grid-template-columns: 1fr; }
  .galerie-grid, .galerie-grid.galerie-4 { grid-template-columns: repeat(2, 1fr); }
}
