:root {
  --bg-dark: #14171c;
  --bg-dark-soft: #1d222a;
  --bg-stone: #f7f5f1;
  --bg-white: #ffffff;
  --text-primary: #1a2027;
  --text-secondary: #4d5662;
  --text-on-dark: #f7f5f1;
  --text-on-dark-muted: #b7c0cb;
  --accent-red: #c5282f;
  --accent-red-hover: #a61e24;
  --border-subtle: rgba(26, 32, 39, 0.11);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 4px 14px rgba(15, 19, 24, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 19, 24, 0.1);
  --shadow-lg: 0 24px 56px rgba(10, 14, 18, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-height: 88px;
  --container-max: 1220px;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.narrow-container {
  max-width: 860px;
}

/* Visually hidden live region */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background: var(--accent-red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Shrinking fixed header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(20, 23, 28, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
}

@keyframes shrink-header {
  to {
    height: 64px;
    background-color: rgba(20, 23, 28, 0.98);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .site-header {
      animation: shrink-header auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 120px;
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  background: #ffffff;
  padding: 3px 7px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.phone-pill:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Signature 5-color motif */
.palette-dots {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.palette-dots span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: block;
}

.palette-dots span:nth-child(1) { background: #3b68a8; }
.palette-dots span:nth-child(2) { background: #b4bcc4; }
.palette-dots span:nth-child(3) { background: #c97a40; }
.palette-dots span:nth-child(4) { background: #4a9b7f; }
.palette-dots span:nth-child(5) { background: #735da5; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--accent-red);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
}

.btn-secondary-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: rgba(26, 32, 39, 0.04);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
}

/* Eyebrow & section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.85rem;
}

.eyebrow-light {
  color: #f3a6a9;
}

.section {
  padding-block: 5.5rem;
}

.section-stone {
  background-color: var(--bg-stone);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
}

.section-desc {
  max-width: 64ch;
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.section-dark .section-desc {
  color: var(--text-on-dark-muted);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(197, 40, 47, 0.18), transparent 45%),
              linear-gradient(135deg, #12151a 0%, #1c222b 100%);
  color: var(--text-on-dark);
  padding-block: 4.5rem 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.hero-badges-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f4f1ec;
}

.hero-title {
  font-size: clamp(2.45rem, 4.6vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: #f3a6a9;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-on-dark-muted);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-on-dark);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-qualibat-img {
  height: 44px;
  width: auto;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
}

.trust-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.3;
}

.trust-meta strong {
  color: #ffffff;
  font-family: var(--font-display);
}

.trust-meta span {
  color: var(--text-on-dark-muted);
}

.hero-media-stack {
  position: relative;
}

.hero-main-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  background: #101317;
  aspect-ratio: 4 / 3;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: rgba(20, 23, 28, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 310px;
}

.hero-floating-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-floating-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #ffffff;
}

.hero-floating-text span {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

/* About / Savoir-faire summary strip */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-card {
  background: var(--bg-stone);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(197, 40, 47, 0.1);
  color: var(--accent-red);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.98rem;
}

/* Instagram / Réalisations */
.ig-profile-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.ig-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ig-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-red);
}

.ig-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.ig-handle {
  font-size: 0.9rem;
  color: var(--accent-red);
  font-weight: 600;
  text-decoration: none;
}

.ig-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ig-stat {
  text-align: center;
}

.ig-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.ig-stat span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  appearance: none;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-btn.is-active {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-trigger {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e6e0;
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--accent-red);
  outline-offset: -3px;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-thumb {
  transform: scale(1.04);
}

.gallery-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 23, 28, 0.82);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.gallery-body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.gallery-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.gallery-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0;
}

.gallery-ext {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Club Placo Editorial Section */
.split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.media-collage {
  display: grid;
  gap: 1.25rem;
}

.framed-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.framed-photo img {
  width: 100%;
  object-fit: cover;
}

.placo-box {
  background: var(--bg-stone);
  border-left: 4px solid #0077b6;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin-block: 1.5rem;
}

.placo-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.placo-box p {
  margin: 0;
  color: var(--text-secondary);
}

/* Sogal Expert Section */
.sogal-intro-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.sogal-logo-card {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  max-width: 210px;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.commitment-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
}

.commitment-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3a6a9;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.commitment-card p {
  margin: 0;
  font-size: 0.96rem;
  color: #e6e9ed;
}

.sogal-universes-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.universe-card {
  grid-column: span 2;
  background: var(--bg-dark-soft);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.universe-card.is-wide {
  grid-column: span 3;
}

.universe-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.universe-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.universe-content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.universe-content h3 {
  font-size: 1.22rem;
  color: #ffffff;
  margin-bottom: 0.55rem;
}

.universe-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}

/* Zone d'action */
.map-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.map-frame-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: #e5e7eb;
  aspect-ratio: 16 / 10;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.territory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-block: 1.25rem 1.75rem;
}

.territory-chip {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.territory-municipalities {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Avis Clients Google */
.reviews-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.reviews-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.reviews-stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-stone);
  color: var(--text-muted);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.review-quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.review-author strong {
  font-family: var(--font-display);
  color: var(--text-primary);
}

.review-verified {
  color: #188038;
  font-weight: 600;
  font-size: 0.8rem;
}

/* FAQ Section (SEO Local & GEO) */
.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 880px;
  margin-top: 2rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--bg-dark);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-stone);
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--accent-red);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}

/* Contact & Accessible Form Validation */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-details-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-detail-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.contact-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-detail-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
}

.contact-detail-item a,
.contact-detail-item span {
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

.form-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

/* Place format hints above the input so autocomplete popovers don't cover them */
.hint {
  display: block;
  color: #5f6368;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #cbd2d9;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(20, 23, 28, 0.12);
}

.error-msg {
  display: none;
  color: #b91c1c;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: #d93025;
  background-color: #fce8e6;
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) + .error-msg {
  display: block;
}

:is(input, select, textarea):is(:user-valid, .user-valid-fallback) {
  border-color: #188038;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #fce8e6;
  color: #991b1b;
  border: 1px solid #f87171;
}

.form-status.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

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

/* Widget Anti-Spam Auto-Hébergé ("Je ne suis pas un robot") */
.captcha-field {
  margin-bottom: 1.25rem;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--bg-stone);
  border: 1.5px solid #cbd2d9;
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.captcha-box.is-verified {
  border-color: #188038;
  background: #f0fdf4;
}

.captcha-box.is-invalid {
  border-color: #d93025;
  background: #fce8e6;
}

.captcha-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-height: 36px;
}

.captcha-trigger:focus-visible {
  outline: 2px solid var(--bg-dark);
  outline-offset: 4px;
  border-radius: 6px;
}

.captcha-indicator {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 2px solid #9aa5b1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.captcha-trigger:hover .captcha-indicator {
  border-color: var(--bg-dark);
}

.captcha-box.is-verifying .captcha-indicator {
  border-color: var(--accent-red);
}

.captcha-box.is-verified .captcha-indicator {
  border-color: #188038;
  background: #188038;
  color: #ffffff;
}

.captcha-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2.2px solid rgba(196, 33, 39, 0.25);
  border-top-color: var(--accent-red);
  border-radius: 50%;
  animation: captchaSpin 0.65s linear infinite;
}

.captcha-box.is-verifying .captcha-spinner {
  display: inline-block;
}

.captcha-check {
  display: none;
}

.captcha-box.is-verified .captcha-check {
  display: block;
}

.captcha-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.captcha-brand svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

.captcha-box.is-verified .captcha-brand svg {
  color: #188038;
}

.captcha-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.captcha-brand-text strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.captcha-brand-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.captcha-error.is-visible {
  display: block;
}

@keyframes captchaSpin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-more-wrap {
  margin-top: 2rem;
  text-align: center;
}

/* Native Light-Dismiss Modal Dialogs */
dialog.app-dialog {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(880px, 92vw);
  width: 100%;
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  margin: auto;
}

dialog.app-dialog::backdrop {
  background-color: rgba(14, 17, 22, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dialog-close-btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--bg-stone);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.dialog-close-btn:hover {
  background: #eae6df;
}

.dialog-body {
  padding: 1.5rem;
  max-height: 78vh;
  overflow-y: auto;
}

.lightbox-img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #14171c;
  margin-bottom: 1rem;
}

/* Subpages */
.subpage-hero {
  background: linear-gradient(135deg, #14171c 0%, #232a34 100%);
  color: var(--text-on-dark);
  padding-block: 4rem 3.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.subpage-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.legal-article {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: #0f1216;
  color: var(--text-on-dark-muted);
  padding-block: 3.5rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 2.25rem;
  align-items: start;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-links button {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1120px) {
  .brand-link {
    margin-right: auto;
  }

  .header-actions {
    order: 2;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 23, 28, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split-showcase,
  .map-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars-grid,
  .commitments-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sogal-universes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .universe-card,
  .universe-card.is-wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-link {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.55rem;
  }

  .brand-wordmark {
    min-width: 0;
  }

  .brand-logo-img {
    height: 40px;
    padding: 3px 6px;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .header-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header-actions .phone-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    flex-shrink: 0;
  }

  .header-actions .phone-pill span {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .pillars-grid,
  .commitments-grid,
  .reviews-grid,
  .sogal-universes-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sogal-intro-bar {
    grid-template-columns: 1fr;
  }
}

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