/* =====================================================================
   Refonte 2.1 — compositions des sections (accueil d'abord) :
   hero et barre de recherche à cheval, manifeste, villes, mosaïque, en-têtes de section.
   Ces sections sont des blocs de l'éditeur LC Studio : elles peuvent apparaître sur toute page.
   ===================================================================== */

/* ---------- En-têtes de section ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.section-head .h2 { max-width: 14ch; }

/* ---------- Hero : photo, titre éditorial, recherche et cartes à cheval ---------- */
.hero--v2, .hero--v2 .hero__inner { min-height: 92vh; min-height: 92svh; }
.hero--v2 { --curve-bg: var(--lc-sand); }
.hero--v2 .hero__inner { gap: 22px; padding-bottom: clamp(170px, 17vw, 250px); }
.hero--v2 .hero__title { max-width: 11ch; font-size: clamp(3.2rem, 8vw, 8rem); }
.hero--v2::before {
  background:
    linear-gradient(180deg, rgba(4, 31, 58, 0.5) 0%, rgba(4, 31, 58, 0) 24%),
    linear-gradient(0deg, rgba(4, 31, 58, 0.82) 0%, rgba(4, 31, 58, 0.3) 46%, rgba(4, 31, 58, 0) 66%),
    linear-gradient(90deg, rgba(4, 31, 58, 0.72) 0%, rgba(4, 31, 58, 0.25) 42%, rgba(4, 31, 58, 0) 62%);
}
.hero__eyebrow { margin-bottom: 0; }
.hero--v2 .hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero--v2 .pins { top: 0; bottom: 18%; }

.hero-dock { position: relative; z-index: 3; margin-top: calc(-1 * clamp(150px, 15vw, 220px)); background: linear-gradient(transparent 0, transparent 50%, var(--lc-sand) 50%); }
.hero-dock__search { background: #fff; color: var(--lc-ink); box-shadow: var(--lc-shadow-soft); border-color: #fff; }
.hero-dock__search.glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-dock__cards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.dock-card {
  position: relative; display: grid; min-height: 196px; padding: 24px; overflow: hidden; isolation: isolate;
  border-radius: var(--lc-radius); background: #fff; color: var(--lc-ink); box-shadow: var(--lc-shadow-soft); text-decoration: none;
}
.dock-card--prog { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 18px; padding: 10px 18px 10px 10px; align-items: center; }
.dock-card__img { display: block; height: 100%; min-height: 176px; border-radius: 14px; overflow: hidden; }
.dock-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--lc-ease); }
@media (hover: hover) and (pointer: fine) { .dock-card--prog:hover .dock-card__img img { transform: scale(1.05); } .dock-card--prog:hover .card__go { transform: none; opacity: 1; } }
.dock-card--prog:focus-visible .card__go { transform: none; opacity: 1; }
.dock-card--prog .card__go { background: var(--lc-blue); color: #fff; }
.dock-card__body { display: grid; gap: 8px; align-content: center; }
.dock-card__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lc-blue); }
.dock-card__title { font-family: var(--lc-font-display) !important; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.05; letter-spacing: -0.015em; font-weight: 500; }
.dock-card__meta { font-size: 14.5px; color: var(--lc-ink-soft); }
.dock-card--figs { background: var(--lc-night); color: #fff; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 0; padding: 18px 10px; }
.dock-card--figs .fact { background: none; padding: 6px 8px; min-width: 0; text-align: center; }
.dock-card--figs .fact span { display: block; font-size: 13px; line-height: 1.3; margin-top: 6px; }
.dock-card--figs .fact strong { font-size: clamp(1.6rem, 2.2vw, 2.3rem); white-space: nowrap; }
.dock-card--figs .fact + .fact { border-left: 1px solid var(--lc-line-dark); }
.dock-card--contact { background: var(--lc-blue); color: #fff; align-content: space-between; gap: 12px; }
.dock-card--contact .dock-card__title { font-size: clamp(1.35rem, 1.7vw, 1.6rem); }
.dock-card__text { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.dock-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.dock-card__actions .link { color: #fff; font-weight: 600; font-size: 15px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.btn--small { min-height: 44px; padding: 0 6px 0 18px; font-size: 15px; gap: 10px; --bg: #fff; --fg: var(--lc-night); }
.btn--small .btn__icon { width: 32px; height: 32px; background: var(--lc-blue); color: #fff; }
.btn--small .btn__icon svg { width: 15px; height: 15px; }

/* ---------- Manifeste : grand titre et photos superposées ---------- */
.manifesto { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(96px, 11vw, 170px); }
.manifesto__word { right: -2vw; top: 4%; }
.manifesto__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.manifesto__copy .h2 { max-width: 12ch; }
.manifesto__copy .lead { margin-top: 26px; }
.manifesto__copy > p:last-child { margin-top: 34px; }
.manifesto__media { position: relative; aspect-ratio: 5 / 6; max-height: 760px; }
.manifesto__deco { left: -14%; top: -8%; width: 74%; opacity: 0.14; }
.manifesto__frame { position: absolute; inset: 7% 3% 5% 9%; border: 1px solid rgba(0, 97, 178, 0.45); border-radius: calc(var(--lc-radius) + 6px); pointer-events: none; }
.manifesto__main { position: absolute; inset: 0 13% 15% 0; margin: 0; border-radius: var(--lc-radius); overflow: hidden; box-shadow: var(--lc-shadow-soft); }
.manifesto__main img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  border: 6px solid var(--lc-sand); box-shadow: var(--lc-shadow-soft); color: #fff; text-decoration: none;
}
.manifesto__inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--lc-ease); }
@media (hover: hover) and (pointer: fine) { .manifesto__inset:hover img { transform: scale(1.05); } }
.manifesto__caption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(4, 31, 58, 0.55); backdrop-filter: var(--lc-glass-blur); -webkit-backdrop-filter: var(--lc-glass-blur);
}
.manifesto__caption b { font-family: var(--lc-font-display) !important; font-weight: 500; font-size: 17px; }

/* ---------- Villes : liste éditoriale numérotée, photo au survol ---------- */
.cities { position: relative; overflow: hidden; isolation: isolate; }
.cities__deco { left: 0; bottom: 0; width: 100%; height: auto; opacity: 0.07; z-index: -1; }
.cities__list { position: relative; border-top: 1px solid var(--lc-line); }
.city { margin: 0; }
.city a {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 46px; align-items: center; gap: 20px;
  padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--lc-line); color: inherit; text-decoration: none;
}
.city__num { font: italic 400 18px/1 var(--lc-font-display); color: var(--lc-blue); }
.city__name {
  font-family: var(--lc-font-display) !important; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -0.025em; font-weight: 400;
  transition: transform 500ms var(--lc-ease), color 300ms var(--lc-ease);
}
.city__name small { margin-left: 12px; font-family: var(--lc-font) !important; font-size: 15px; letter-spacing: 0; color: var(--lc-ink-soft); }
.city__meta { font-size: 15.5px; color: var(--lc-ink-soft); text-align: right; white-space: nowrap; }
.city__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--lc-line); color: var(--lc-blue); transition: background-color 300ms var(--lc-ease), color 300ms var(--lc-ease), border-color 300ms var(--lc-ease); }
.city__go svg { width: 14px; height: 14px; }
.city__img {
  position: absolute; z-index: 2; right: 24%; top: 50%; width: clamp(200px, 20vw, 290px); aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  box-shadow: var(--lc-shadow-soft); pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(0.92);
  transition: opacity 350ms var(--lc-ease), transform 600ms var(--lc-ease);
}
.city__img img { width: 100%; height: 100%; object-fit: cover; }
.city a:focus-visible .city__name { color: var(--lc-blue); }
@media (hover: hover) and (pointer: fine) {
  .city a:hover .city__img { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }
  .city a:hover .city__name { transform: translateX(10px); color: var(--lc-blue); }
  .city a:hover .city__go { background: var(--lc-blue); border-color: var(--lc-blue); color: #fff; }
}
@media (hover: none) { .city__img { display: none; } }

/* ---------- Mosaïque de programmes : le premier en grand ---------- */
.grid-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 300px); gap: 16px; }
.grid-bento > .card { aspect-ratio: auto; height: 100%; }
.grid-bento > .card:first-child { grid-column: span 2; grid-row: span 2; }
.grid-bento > .card:first-child .card__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.grid-bento > .card:not(:first-child) .card__body { padding: 12px 14px; gap: 3px; }
.grid-bento > .card:not(:first-child) .card__title { font-size: 19px; }
.grid-bento > .card:not(:first-child) :is(.card__place, .card__typo) { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Bandeau défilant et pile d'exclusivités ---------- */
html body .tag { font-family: var(--lc-font-display) !important; font-weight: 400; font-size: 21px; letter-spacing: -0.01em; }
.stack__intro .eyebrow { margin-bottom: 18px; }
.rail__head .eyebrow, .faq .eyebrow { margin-bottom: 18px; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1180px) {
  .hero-dock__cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dock-card--prog { grid-column: 1 / -1; }
  .grid-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-bento > .card:nth-child(n+5) { display: none; }
  .city__img { right: 30%; }
}
@media (max-width: 860px) {
  .hero--v2, .hero--v2 .hero__inner { min-height: 86vh; min-height: 86svh; }
  .hero--v2 .hero__inner { padding-bottom: 150px; }
  .hero-dock { margin-top: -110px; }
  .hero-dock__cards { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--lc-gutter)); padding: 0 var(--lc-gutter) 6px; scrollbar-width: none; }
  .hero-dock__cards::-webkit-scrollbar { display: none; }
  .dock-card { flex: 0 0 84%; scroll-snap-align: start; min-height: 170px; }
  .dock-card--prog { grid-template-columns: 40% 1fr; }
  .dock-card__img { min-height: 150px; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .manifesto__grid { grid-template-columns: minmax(0, 1fr); }
  .manifesto__media { aspect-ratio: 4 / 5; max-width: 560px; }
  .city a { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 12px; }
  .city__meta { grid-column: 2; grid-row: 2; text-align: left; white-space: normal; font-size: 14.5px; }
  .city__go { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .city__name small { display: inline-block; margin-left: 6px; }
  .grid-bento > .card { flex: 0 0 82%; height: auto; aspect-ratio: 4 / 5; }
  .grid-bento > .card:nth-child(n+5) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .city__name, .city__img, .dock-card__img img, .manifesto__inset img { transition: none; }
}

/* =====================================================================
   Refonte 2.4 — pages intérieures : texte et image encadrés, chiffres sur fond nuit,
   liste des exclusivités alternée, contact, pages légales.
   ===================================================================== */

/* Texte et image : cadre bleu décalé derrière la photo. */
.feature-sec .feature { align-items: center; }
.feature__media--framed { overflow: visible; background: none; }
.feature__media--framed img { position: relative; z-index: 1; height: 100%; border-radius: var(--lc-radius); }
.feature__frame { position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid rgba(0, 97, 178, 0.45); border-radius: var(--lc-radius); }
.feature-sec .feature__body .eyebrow { margin-bottom: 4px; }

/* Chiffres : variantes de fond. */
.figures-sec .eyebrow { display: flex; }
.section--night.figures-sec .figure { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--lc-line-dark); }
.section--night.figures-sec .figure strong { color: var(--lc-blue-soft); }
.section--night.figures-sec .figure span { color: rgba(255, 255, 255, 0.78); }
.section--sand.figures-sec .figure { background: #fff; }
html body .figure strong { font-weight: 300; }

/* Nos exclusivités : liste numérotée, photo alternée à gauche et à droite. */
.feature-list .feature + .feature { margin-top: clamp(80px, 10vw, 150px); padding-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--lc-line); }
.feature__num { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lc-ink-soft); }
.feature__num span { font: italic 400 22px/1 var(--lc-font-display); letter-spacing: 0; color: var(--lc-blue); text-transform: none; }
@media (min-width: 861px) {
  .feature-list--alt .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .feature-list--alt .feature:nth-child(even) .feature__media { order: 2; }
}

/* Contact : plan dessiné sur la carte de l'agence. */
.contact-page .contact-band { position: relative; isolation: isolate; }
.contact-page__deco { right: 6%; top: 8%; width: 60%; color: #fff; opacity: 0.18; }
/* Liens de la carte en verre : blancs, le bleu de marque ne se lit pas sur la photo assombrie. */
.contact-band .glass .link { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); }
@media (hover: hover) and (pointer: fine) { .contact-band .glass .link:hover { text-decoration-color: #fff; } }

/* ---------- Pages légales ---------- */
.legal { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--lc-nav-h) + clamp(64px, 8vw, 110px)); }
.legal__deco { right: -6vw; top: 34%; width: min(52vw, 760px); opacity: 0.08; z-index: -1; }
.legal__grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.legal__aside { position: sticky; top: calc(var(--lc-nav-h) + 32px); display: grid; gap: 20px; }
.legal__nav { display: grid; gap: 4px; border-left: 1px solid var(--lc-line); }
.legal__nav a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--lc-ink-soft); font-weight: 600; }
.legal__nav a[aria-current='page'] { border-left-color: var(--lc-blue); color: var(--lc-blue); }
@media (hover: hover) and (pointer: fine) { .legal__nav a:hover { color: var(--lc-blue); } }
.legal__date { font-size: 14px; color: var(--lc-ink-soft); }
.legal__title { font-size: clamp(2.6rem, 5.6vw, 5rem); margin-bottom: clamp(28px, 4vw, 48px); color: var(--lc-ink); }
.prose--legal { max-width: 72ch; }
.prose--legal h2 { font-family: var(--lc-font-display) !important; font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.015em; margin: 1.8em 0 0.5em; }
.legal__contact { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--lc-line); color: var(--lc-ink-soft); }

@media (max-width: 860px) {
  .feature__frame { inset: 12px -10px -10px 12px; }
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__aside { position: static; }
}
@media (max-width: 600px) {
  .figures-sec .figures[style] { grid-template-columns: minmax(0, 1fr) !important; }
  .figures-sec .figure { min-width: 0; }
}

/* =====================================================================
   Refonte 2.6 — hero : diaporama des exclusivités et recherche à un seul champ.
   Le titre, le texte et le bouton restent fixes ; la photo et les bulles changent ensemble.
   ===================================================================== */

/* ---------- Diaporama ---------- */
.hero--slider .hero__media { overflow: hidden; }
/* « clip » et non « hidden » : un élément qui reçoit le focus ne peut pas faire défiler le hero. */
.hero--v2 { overflow: hidden; overflow: clip; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0s linear 1.9s; }
.hero__slide.is-active { z-index: 1; opacity: 1; transition: opacity 1.4s var(--lc-ease-io) 0.25s; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transform-origin: 60% 45%; }
.hero__slide:nth-child(even) img { transform-origin: 38% 55%; }
.hero--slider.is-ready .hero__slide.is-active img,
.hero--slider.is-ready .hero__slide.is-leaving img { animation: lc-kenburns 9s cubic-bezier(0.33, 0, 0.4, 1) forwards; }
.hero--slider.is-paused .hero__slide img { animation-play-state: paused; }
@keyframes lc-kenburns { from { transform: scale(1.02); } to { transform: scale(1.085); } }

/* Bulles : celles de la diapositive sortante s'effacent, les suivantes arrivent en cascade. */
.pins__set { position: absolute; inset: 0; visibility: hidden; transition: visibility 0s linear 0.5s; }
.pins__set.is-active { visibility: visible; transition-delay: 0s; }
.pins__set .pin > *, .pins__set .pin::after { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--lc-ease), transform 0.6s var(--lc-ease); }
.pins__set.is-active .pin > *, .pins__set.is-active .pin::after { opacity: 1; transform: none; transition-delay: calc(0.75s + var(--i, 0) * 0.14s); }
.pin__label > span { display: block; }
a.pin__label { display: block; color: #fff; text-decoration: none; transition: background-color 240ms var(--lc-ease); }
a.pin__label b { display: flex; align-items: center; gap: 8px; }
a.pin__label b::after { content: ''; flex: none; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); opacity: 0.8; transition: transform 240ms var(--lc-ease); }
@media (hover: hover) and (pointer: fine) {
  a.pin__label:hover { background: rgba(255, 255, 255, 0.26); }
  a.pin__label:hover b::after { transform: translateX(3px) rotate(45deg); }
}
a.pin__label:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Commandes : précédent, progression, suivant, pause. */
.hero-ctrl { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px; border-radius: 999px; background: rgba(4, 31, 58, 0.28); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-ctrl__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color 240ms var(--lc-ease); }
.hero-ctrl__btn svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .hero-ctrl__btn:hover { background: rgba(255, 255, 255, 0.16); } }
.hero-ctrl__btn:focus-visible, .hero-ctrl__bar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-ctrl__pause .i-play, .hero-ctrl__pause[aria-pressed="true"] .i-pause { display: none; }
.hero-ctrl__pause[aria-pressed="true"] .i-play { display: inline; }
.hero-ctrl__track { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.hero-ctrl__count { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; white-space: nowrap; color: rgba(255, 255, 255, 0.8); }
.hero-ctrl__count b { color: #fff; }
.hero-ctrl__bars { display: flex; }
.hero-ctrl__bar { flex: none; width: 24px; height: 32px; display: grid; align-items: center; padding: 0 2px; border: 0; background: none; cursor: pointer; } /* cible de 24 px minimum */
.hero-ctrl__bar i { position: relative; display: block; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.32); transition: background-color 240ms var(--lc-ease); }
.hero-ctrl__bar i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-ctrl__bar.is-active i::after { animation: lc-bar var(--progress-ms, 6000ms) linear forwards; }
.hero--slider.is-paused .hero-ctrl__bar.is-active i::after { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .hero-ctrl__bar:hover i { background: rgba(255, 255, 255, 0.6); } }
@keyframes lc-bar { to { transform: scaleX(1); } }

/* ---------- Recherche : un champ et un bouton ---------- */
.hero-dock__search { position: relative; z-index: 5; }
.search--q { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search__q { position: relative; min-width: 0; }
.search__icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--lc-ink-soft); pointer-events: none; transition: color 240ms var(--lc-ease); }
.search__icon svg { display: block; width: 100%; height: 100%; }
.search__q input {
  width: 100%; min-height: 64px; padding: 0 20px 0 54px; border: 0; border-radius: 18px;
  background: var(--lc-mist); color: var(--lc-ink); font: inherit; font-size: 17px;
  box-shadow: inset 0 0 0 1px transparent; transition: background-color 240ms var(--lc-ease), box-shadow 240ms var(--lc-ease);
  -webkit-appearance: none; appearance: none;
}
.search__q input::placeholder { color: var(--lc-ink-soft); opacity: 1; }
.search__q input::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (hover: hover) and (pointer: fine) { .search__q input:hover { background: var(--lc-mist-2); } }
.search__q input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--lc-blue); }
.search__q:focus-within .search__icon { color: var(--lc-blue); }
.search--q .btn { min-height: 64px; padding: 0 12px 0 28px; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20;
  max-height: min(440px, 62vh); overflow-y: auto; overscroll-behavior: contain; padding: 8px;
  border-radius: 20px; background: #fff; color: var(--lc-ink);
  box-shadow: 0 24px 60px -18px rgba(4, 31, 58, 0.35), 0 0 0 1px rgba(4, 31, 58, 0.06);
  animation: lc-suggest 180ms var(--lc-ease);
}
@keyframes lc-suggest { from { opacity: 0; transform: translateY(-6px); } }
.suggest__group + .suggest__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(4, 31, 58, 0.08); }
.suggest__title { margin: 8px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lc-ink-soft); }
.suggest__opt { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 12px; cursor: pointer; }
.suggest__opt[aria-selected="true"] { background: var(--lc-mist); box-shadow: inset 3px 0 0 var(--lc-blue); }
@media (hover: hover) and (pointer: fine) { .suggest__opt:hover { background: var(--lc-mist); } }
.suggest__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lc-mist); color: var(--lc-blue); }
.suggest__opt[aria-selected="true"] .suggest__ico { background: #fff; }
.suggest__ico svg { width: 16px; height: 16px; }
.suggest__txt { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; min-width: 0; }
.suggest__main { font-weight: 600; font-size: 16px; }
.suggest__main mark { background: none; color: var(--lc-blue); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(0, 97, 178, 0.3); text-underline-offset: 3px; }
.suggest__sub { font-size: 14px; color: var(--lc-ink-soft); }
.suggest__txt .chip { align-self: center; padding: 2px 8px; font-size: 11px; }
.suggest__empty p { margin: 10px 12px 6px; font-size: 15px; color: var(--lc-ink-soft); }

/* ---------- Adaptatif ---------- */
@media (max-width: 1180px) {
  .hero--slider .pin__label { max-width: 220px; }
}
@media (max-width: 860px) {
  /* Une seule bulle, sous la navigation : le nom du programme et sa ville. */
  .hero--slider .pins { display: block; top: calc(var(--lc-nav-h) + 14px); left: var(--lc-gutter); right: var(--lc-gutter); bottom: auto; height: 60px; }
  .hero--slider .pins__set { inset: 0 auto auto 0; }
  .hero--slider .pin { position: static; }
  .hero--slider .pin:not(:first-child), .hero--slider .pin::after { display: none; }
  .hero--slider .pin__dot { width: 28px; height: 28px; font-size: 18px; }
  .hero--slider .pin__label { max-width: calc(100vw - 2 * var(--lc-gutter) - 40px); padding: 8px 12px; font-size: 13.5px; }
  .hero--slider .pin__label b { font-size: 15px; }
  .hero--slider .scroll-cue { display: none; }
  /* Place réservée à la bulle : le texte commence toujours sous elle (le hero s’allonge si besoin). */
  .hero--slider .hero__inner { padding-top: calc(var(--lc-nav-h) + 96px); }
  .hero-ctrl { margin-left: 0; }
  /* Au téléphone : le compteur « 04 / 10 » remplace les traits (cibles trop petites pour le doigt). */
  .hero-ctrl__bars { display: none; }
  .search--q { grid-template-columns: minmax(0, 1fr); }
  .search--q .btn { grid-column: auto; min-height: 56px; justify-content: center; }
  .search__q input { min-height: 58px; font-size: 16px; }
  .suggest { max-height: min(360px, 52vh); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide.is-active { transition: opacity 0.3s linear; }
  .hero--slider.is-ready .hero__slide img { animation: none; }
  .pins__set .pin > *, .pins__set .pin::after { transform: none; transition: opacity 0.2s linear; }
  .pins__set.is-active .pin > *, .pins__set.is-active .pin::after { transition-delay: 0s; }
  .hero-ctrl__bar.is-active i::after { animation: none; transform: scaleX(1); }
  .suggest { animation: none; }
}

/* =====================================================================
   Refonte 2.6.2 — cartes du hero : espace avant la section suivante, relief 3D au survol.
   ===================================================================== */

/* Espace sous les cartes, quelle que soit la section qui suit (le manifeste a déjà le sien). */
.hero-dock { padding-bottom: clamp(56px, 7vw, 112px); }
.hero-dock + .manifesto { padding-top: clamp(40px, 5vw, 80px); }

/* Relief : la carte pivote vers la souris, un reflet suit le curseur, son contenu se décale
   légèrement (propriété « translate », indépendante des autres transformations). */
.js .dock-card[data-tilt].is-in {
  transition: opacity 900ms var(--lc-ease), transform 700ms var(--lc-ease), box-shadow 500ms var(--lc-ease);
}
.js .dock-card[data-tilt].is-in.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: opacity 900ms var(--lc-ease), transform 140ms linear, box-shadow 300ms var(--lc-ease);
  box-shadow: 0 2px 4px rgba(4, 31, 58, 0.08), 0 34px 60px -28px rgba(4, 31, 58, 0.55);
}
.dock-card[data-tilt]::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 55%);
  opacity: 0; transition: opacity 400ms var(--lc-ease);
}
.dock-card--prog[data-tilt]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; }
.dock-card[data-tilt].is-tilting::after { opacity: 1; }
.dock-card[data-tilt] > :is(.dock-card__img, .dock-card__body, .dock-card__title, .dock-card__text, .dock-card__actions), .dock-card--figs[data-tilt] .fact {
  translate: calc(var(--px, 0) * var(--depth, 6px)) calc(var(--py, 0) * var(--depth, 6px));
  transition: translate 700ms var(--lc-ease);
}
.dock-card[data-tilt].is-tilting > :is(.dock-card__img, .dock-card__body, .dock-card__title, .dock-card__text, .dock-card__actions), .dock-card--figs[data-tilt].is-tilting .fact { transition: translate 140ms linear; }
.dock-card[data-tilt] > :is(.dock-card__body, .dock-card__title) { --depth: 10px; }
.dock-card[data-tilt] .dock-card__img { --depth: -5px; }
/* Clavier : la carte se soulève simplement. */
.js .dock-card[data-tilt].is-in:focus-visible { translate: 0 -4px; }

@media (max-width: 860px) {
  .hero-dock { padding-bottom: 56px; }
  .hero-dock + .manifesto { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-card[data-tilt]::after { display: none; }
}
/* Élément d'une page légale encore à renseigner par l'entreprise (contenus-legaux/generer.js). */
.prose--legal mark.lc-todo { padding: 2px 6px; border-radius: 6px; background: #fff1b8; color: var(--lc-ink); font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Refonte 2.9.4 — conseillers : portrait, poste, téléphone et email (inc/equipe.php) ---------- */
.advisor__avatar.has-photo { overflow: hidden; padding: 0; background: var(--lc-sky); }
.advisor__avatar.has-photo img, .team-card__photo.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor__links { grid-area: tel; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; min-width: 0; }
.advisor__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; min-width: 0; font-weight: 700; color: var(--lc-blue); text-decoration: none; transition: color 200ms var(--lc-ease); }
.advisor__links a span { min-width: 0; overflow-wrap: break-word; }
.advisor__links a, .team-card__links a { grid-area: auto; }
.advisor__links svg { width: 16px; height: 16px; flex: none; opacity: 0.85; }
.advisor__links .advisor__tel { font-size: 17px; font-variant-numeric: tabular-nums; }
.advisor__links .advisor__mail { font-size: 15px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .advisor__links a:hover span { text-decoration: underline; text-decoration-color: var(--lc-mint); text-underline-offset: 4px; }
}
.advisor__links a:focus-visible { outline: 2px solid var(--lc-blue); outline-offset: 3px; border-radius: 6px; }
.advisor--dark .advisor__links a { color: var(--lc-blue-soft); }
.advisor--dark .advisor__links a:focus-visible { outline-color: #fff; }
.advisors { display: grid; gap: 10px; }

/* ---------- Équipe : « Les visages derrière vos projets » ---------- */
.team { position: relative; background: var(--lc-sand); }
.team__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.team__lead { margin-top: 18px; color: var(--lc-ink-soft); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.team-card > article {
  display: grid; align-content: start; gap: 18px; height: 100%; padding: clamp(22px, 2.4vw, 28px); border-radius: var(--lc-radius);
  background: #fff; border: 1px solid var(--lc-line); box-shadow: 0 1px 2px rgba(4, 31, 58, 0.04);
  transition: box-shadow 400ms var(--lc-ease), transform 400ms var(--lc-ease), border-color 400ms var(--lc-ease);
}
@media (hover: hover) and (pointer: fine) {
  .team-card > article:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--lc-shadow-soft); }
}
.team-card__head { display: flex; align-items: center; gap: 18px; }
.team-card__photo {
  flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, var(--lc-blue), var(--lc-night)); color: #fff;
  font-family: var(--lc-font-display); font-size: 30px; letter-spacing: 0.02em;
}
.team-card__photo.has-photo { background: var(--lc-sky); }
.team-card__photo img { transition: transform 700ms var(--lc-ease); }
@media (hover: hover) and (pointer: fine) { .team-card > article:hover .team-card__photo img { transform: scale(1.06); } }
.team-card__id { display: grid; gap: 4px; min-width: 0; }
.team-card__name { margin: 0; font-family: var(--lc-font-display) !important; font-weight: 400; font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--lc-ink); }
.team-card__role { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lc-blue); }
.team-card__links { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--lc-line); }
.team-card__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; width: fit-content; max-width: 100%; color: var(--lc-ink); text-decoration: none; font-weight: 600; transition: color 200ms var(--lc-ease); }
.team-card__links a span { min-width: 0; overflow-wrap: break-word; }
.team-card__links .advisor__mail { font-size: 15.5px; }
.team-card__links svg { width: 18px; height: 18px; flex: none; color: var(--lc-blue); }
.team-card__links .advisor__tel { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .team-card__links a:hover { color: var(--lc-blue); } }
.team-card__links a:focus-visible, .team-prog:focus-visible { outline: 2px solid var(--lc-blue); outline-offset: 3px; border-radius: 10px; }
.team-card__progs-t { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-ink-soft); }
.team-card__progs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.team-prog {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px;
  border-radius: 16px; background: var(--lc-sky); color: var(--lc-ink); text-decoration: none;
  transition: background-color 250ms var(--lc-ease), box-shadow 250ms var(--lc-ease);
}
.team-prog__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--lc-mist-2); }
.team-prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--lc-ease); }
.team-prog__txt { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.team-prog__txt b { font-size: 16px; overflow-wrap: anywhere; }
.team-prog__txt span { font-size: 14px; color: var(--lc-ink-soft); }
.team-prog__go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--lc-blue); transition: background-color 250ms var(--lc-ease), color 250ms var(--lc-ease), transform 300ms var(--lc-ease); }
.team-prog__go svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) {
  .team-prog:hover { background: #fff; box-shadow: 0 0 0 1px var(--lc-line), 0 10px 24px -18px rgba(4, 31, 58, 0.5); }
  .team-prog:hover .team-prog__img img { transform: scale(1.08); }
  .team-prog:hover .team-prog__go { background: var(--lc-blue); color: #fff; transform: rotate(45deg); }
}
@media (max-width: 700px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .team-card__photo { width: 72px; height: 72px; font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-card > article, .team-card__photo img, .team-prog, .team-prog__img img, .team-prog__go { transition: none; }
}

/* Carte conseiller : portrait et nom sur la première ligne, coordonnées dessous sur toute la largeur,
   pour que l'adresse email tienne sur une ligne dans les colonnes étroites (fiche programme au téléphone). */
.advisor { grid-template-areas: 'av id' 'tel tel'; row-gap: 8px; }
.advisor__links { flex-direction: column; align-items: flex-start; gap: 0; }
.advisor__links a { max-width: 100%; }
.advisor__links .advisor__mail { font-size: 15px; letter-spacing: -0.005em; }
/* Initiales sans photo : pastille blanche cerclée, visible sur le fond bleu clair de la carte. */
.advisor:not(.advisor--dark) .advisor__avatar:not(.has-photo) { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(0, 97, 178, 0.22); }
/* Au téléphone : un peu plus de largeur utile pour que les adresses longues (prénom.nom@lescommercialisateurs.com) tiennent sur une ligne. */
@media (max-width: 480px) {
  .prog-aside { padding-inline: 20px; }
  .advisor { padding-inline: 14px; column-gap: 12px; }
  .advisor__links .advisor__mail { font-size: 14.5px; letter-spacing: -0.01em; }
}

/* 2.11–2.12 : éléments partagés (boutons des bandeaux, étapes numérotées, FAQ, bio des conseillers). */
/* Boutons du bandeau et de la bande formulaire */
.page-hero__actions, .contact-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-band__actions { margin: 26px 0 6px; }
/* FAQ de la page : question en titre (h3) dans le résumé */
.qa__q { margin: 0; font: inherit; color: inherit; }
/* Équipe : présentation saisie dans la fiche agent */
.team-card__bio { font-size: 14.5px; line-height: 1.6; color: var(--lc-ink-soft); }

/* Étapes numérotées (« Votre projet immobilier, étape par étape ») */
.step__mark--num { font-family: var(--lc-font-display) !important; font-size: clamp(2rem, 3vw, 2.6rem); font-style: italic; line-height: 1; color: var(--lc-mint); }
@media (max-width: 560px) { .page-hero__actions .btn, .contact-band__actions .btn { flex: 1 1 100%; justify-content: space-between; } }

/* ---------- Pages légales : tableaux (ex. finalités de la politique de confidentialité, 03/11/2026) ---------- */
.prose--legal .wp-block-table { margin: 1.6em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--lc-line, #dde6ef); background: #fff; }
.prose--legal .wp-block-table table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose--legal .wp-block-table th, .prose--legal .wp-block-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lc-line, #dde6ef); }
.prose--legal .wp-block-table thead th { position: sticky; top: 0; background: var(--lc-sky, #eef4fa); color: var(--lc-ink); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.prose--legal .wp-block-table tbody th { font-weight: 700; color: var(--lc-blue); background: rgba(238, 244, 250, 0.45); border-right: 1px solid var(--lc-line, #dde6ef); }
.prose--legal .wp-block-table tbody tr:last-child > * { border-bottom: 0; }
.prose--legal .wp-block-table td:last-child { white-space: normal; color: var(--lc-ink-soft, #4a5d70); }