/* ==========================================================================
   Cabinet Fouchez — Composants de la landing page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header réduit : identifier, appeler, rejoindre le formulaire.
   Aucun menu de navigation : le visiteur reste sur la page qui lui est
   attribuée (une LP par sous-domaine, ou un sous-domaine commun sans menu).
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--on-navy);
  /* Le header se superpose au hero : barre transparente au repos. */
  margin-bottom: calc(var(--header-h) * -1);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
/* Au défilement, le header se détache du hero sans jamais le masquer. */
.site-header.is-stuck {
  background: rgba(4, 16, 31, 0.76);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 26px; width: auto; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--on-navy);
  white-space: nowrap;
}
.brand__text small {
  display: block;
  font-family: var(--font-text);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-navy-3);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--navy-line);
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--on-navy);
  white-space: nowrap;
}
.header-phone:hover { background: rgba(255, 255, 255, 0.1); }
.header-phone svg { width: 14px; height: 14px; opacity: 0.8; }
.header-cta { min-height: 42px; padding: 10px 20px; font-size: var(--t-sm); }

@media (max-width: 719px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Hero : promesse à gauche, formulaire à droite (55 / 45).
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-800) 46%, var(--navy-900) 100%);
  color: var(--on-navy);
  padding-block: calc(var(--header-h) + clamp(28px, 3vw, 56px)) clamp(46px, 4vw, 86px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto -20%;
  height: 86%;
  background: radial-gradient(60% 60% at 30% 25%, rgba(86, 166, 255, 0.3), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -25% -45% 35%;
  height: 70%;
  background: radial-gradient(50% 50% at 60% 60%, rgba(0, 113, 227, 0.22), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(28px, 3vw, 46px);
  align-items: start;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 55fr) minmax(430px, 45fr);
    gap: clamp(36px, 3.4vw, 56px);
  }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--navy-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}
.hero__kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5ac8fa;
}

.hero h1 {
  margin-top: 20px;
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 17em;
}
.hero__intro {
  margin-top: 18px;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--on-navy-2);
  max-width: 34em;
  letter-spacing: -0.012em;
}
.hero__benefits { margin-top: 26px; max-width: 32em; }
.hero__benefits li { color: #ffffff; font-size: 1rem; font-weight: 450; }
.hero__benefits .tick { background: rgba(120, 210, 255, 0.22); color: #a8e0ff; }

.hero__trust {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  color: var(--on-navy-2);
}
.hero__trust svg { width: 15px; height: 15px; color: #8fd6ff; flex: none; }

/* Ordre mobile : titre, promesse, bénéfices, formulaire, réassurance.
   Le formulaire doit rester proche du haut de page : les marges internes
   sont resserrées plutôt que la taille du texte. */
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 18px; }
  .hero__text { display: contents; }
  .hero__kicker { order: 1; }
  .hero h1 { order: 2; margin-top: 2px; }
  .hero__intro { order: 3; margin-top: 0; }
  .hero__benefits { order: 4; margin-top: 0; gap: 9px; }
  .hero__form-col { order: 5; margin-top: 2px; }
  .hero__trust { order: 6; margin-top: 2px; padding-top: 18px; }
}
@media (max-width: 719px) {
  .hero { padding-block: calc(var(--header-h) + 18px) 42px; }
  .hero h1 { font-size: clamp(1.95rem, 1.2rem + 3.4vw, 2.4rem); }
  .hero__intro { font-size: 1.0625rem; }
}

/* --------------------------------------------------------------------------
   Carte formulaire
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2vw, 26px);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.form-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.form-card__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.024em;
}
.form-card__sector { margin-top: 5px; font-size: var(--t-xs); color: var(--ink-3); }
.form-card__sector strong { color: var(--ink-2); font-weight: 500; }

.form-steps { display: flex; align-items: center; gap: 6px; flex: none; padding-top: 5px; }
.form-steps__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  transition: background-color 0.2s ease, width 0.2s ease;
}
.form-steps__dot.is-active { width: 20px; border-radius: var(--r-pill); background: var(--accent); }
.form-steps__dot.is-done { background: var(--accent); }
.form-steps__label { font-size: var(--t-xs); color: var(--ink-3); margin-left: 4px; }

.lead-form { margin-top: 18px; }
.form-step { display: grid; gap: 15px; }
.form-step[hidden] { display: none; }

.field { display: grid; gap: 7px; }
.field > label, .fieldset__legend {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.008em;
}
.field__hint { font-size: var(--t-xs); color: var(--ink-3); }
.optional { color: var(--ink-3); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: var(--r-md);
  background: #fbfbfd;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(0, 0, 0, 0.28); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2351525a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}

.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] {
  border-color: var(--danger);
  background: #fffafa;
}
.field__error {
  display: none;
  font-size: var(--t-xs);
  color: var(--danger);
  font-weight: 500;
}
.field__error.is-visible { display: block; }

.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 7px; }
.choice-list { display: grid; gap: 8px; }
.choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--r-md);
  background: #fbfbfd;
  font-size: var(--t-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice:hover { border-color: rgba(0, 0, 0, 0.3); }
.choice input { appearance: none; -webkit-appearance: none; margin: 0; width: 20px; height: 20px; border: 1px solid rgba(0,0,0,.3); border-radius: 50%; background: #fff; display: grid; place-content: center; cursor: pointer; }
.choice input::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); transform: scale(0); transition: transform .15s ease; }
.choice input:checked { border-color: var(--accent); background: var(--accent); }
.choice input:checked::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.form-actions { display: grid; gap: 10px; margin-top: 4px; }
.form-back {
  justify-self: start;
  background: none;
  border: 0;
  padding: 8px 2px;
  font-size: var(--t-sm);
  color: var(--ink-2);
  cursor: pointer;
}
.form-back:hover { color: var(--ink); text-decoration: underline; }

.disclosure { border: 0; padding: 0; }
.disclosure__toggle {
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: var(--t-sm);
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.disclosure__toggle::before { content: '+'; font-size: 1.1em; line-height: 1; }
.disclosure__toggle[aria-expanded='true']::before { content: '−'; }

.form-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.55;
}
.form-note p + p { margin-top: 7px; }
.form-note a { color: var(--ink-2); }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* États de retour -------------------------------------------------------- */
.form-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  line-height: 1.55;
}
.form-feedback--error { background: #fff4f3; border: 1px solid rgba(179, 38, 30, 0.25); color: #7f1d1a; }
.form-feedback--error a { color: #7f1d1a; font-weight: 500; }
.form-feedback--warn { background: #fff8ec; border: 1px solid rgba(180, 120, 0, 0.3); color: #6b4a00; }

.form-success { display: grid; gap: 14px; text-align: left; }
.form-success__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 107, 58, 0.1);
  color: var(--success);
}
.form-success__icon svg { width: 22px; height: 22px; }
.form-success h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.form-success p { font-size: var(--t-sm); color: var(--ink-2); }
.form-success__ref { font-size: var(--t-xs); color: var(--ink-3); }

/* Bandeau de raccordement, visible uniquement hors production. */
.env-banner {
  background: #fff8ec;
  border-bottom: 1px solid rgba(180, 120, 0, 0.3);
  color: #6b4a00;
  font-size: var(--t-xs);
  text-align: center;
  padding: 8px var(--gutter);
}

/* --------------------------------------------------------------------------
   Réassurance
   -------------------------------------------------------------------------- */

.trust-strip { border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.trust-strip__inner {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  padding-block: clamp(26px, 2.4vw, 38px);
}
@media (min-width: 720px) { .trust-strip__inner { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.trust-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.trust-item__icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  color: var(--ink);
}
.trust-item__icon svg { width: 17px; height: 17px; }
.trust-item dt { font-size: var(--t-sm); font-weight: 500; letter-spacing: -0.008em; }
.trust-item dd { margin: 3px 0 0; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Enjeux
   -------------------------------------------------------------------------- */

/* Tuile d'icône, commune aux enjeux, solutions et étapes. */
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(0, 113, 227, 0.14), rgba(0, 113, 227, 0.06));
  color: var(--accent);
  flex: none;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--navy {
  background: linear-gradient(160deg, rgba(143, 214, 255, 0.22), rgba(143, 214, 255, 0.06));
  color: #8fd6ff;
}

.issue h3 { margin-top: 16px; font-size: var(--t-h3); }
.issue p { margin-top: 8px; color: var(--ink-2); font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */

.solution { display: flex; flex-direction: column; }
.solution__need { color: rgba(255, 255, 255, 0.8); font-size: var(--t-sm); }
.solution h3 { margin-top: 16px; }
.solution__items { margin-top: 14px; }
.solution__cta {
  margin-top: auto;
  padding-top: 18px;
  align-self: flex-start;
  background: none;
  border: 0;
  color: #8fd6ff;
  font-size: var(--t-sm);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.solution__cta::after { content: '›'; font-size: 1.2em; line-height: 1; }
.solution__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.solutions-note {
  margin-top: clamp(22px, 2vw, 32px);
  padding: 16px 18px;
  border: 1px solid var(--navy-line);
  border-radius: var(--r-md);
  font-size: var(--t-xs);
  color: var(--on-navy-2);
  background: rgba(255, 255, 255, 0.04);
}
.solutions-disclaimer { margin-top: 16px; font-size: var(--t-xs); color: var(--on-navy-3); max-width: 52em; }

/* --------------------------------------------------------------------------
   Interlocuteur
   -------------------------------------------------------------------------- */

.broker { display: grid; gap: clamp(26px, 3vw, 48px); align-items: center; }
@media (min-width: 860px) { .broker { grid-template-columns: minmax(260px, 38fr) minmax(0, 62fr); } }

.broker__portrait {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #e9eaee, #d9dbe1);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.broker__portrait picture { display: block; width: 100%; height: 100%; }
.broker__portrait img { width: 100%; height: 100%; object-fit: cover; }
.broker__portrait-placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 8px;
  text-align: center; padding: 24px;
  color: var(--ink-3); font-size: var(--t-xs);
}
.broker__name { font-size: var(--t-h3); }
.broker__role { font-size: var(--t-xs); color: var(--ink-3); margin-top: 3px; }
.broker__body { margin-top: 16px; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.55; }
.broker__points { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: clamp(16px, 1.6vw, 24px); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step__num {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.step h3 { margin-top: 7px; font-size: var(--t-h3); }
.step p { margin-top: 8px; color: var(--ink-2); font-size: var(--t-sm); }
/* Filet de liaison entre les étapes, sur grand écran. */
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 23px;
    left: 58px;
    right: -14px;
    height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
  }
}

/* --------------------------------------------------------------------------
   Preuve métier
   -------------------------------------------------------------------------- */

.proof-panel {
  display: grid;
  gap: clamp(22px, 2.4vw, 40px);
  padding: clamp(24px, 2.6vw, 42px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .proof-panel { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); } }
.proof-panel h3 { font-size: var(--t-h3); }
.proof-panel__intro { margin-top: 10px; font-size: var(--t-sm); color: var(--ink-2); }
.proof-list { display: grid; gap: 14px; }
.proof-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--t-sm);
  color: var(--ink-2);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.proof-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.proof-list__num {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}
.proof-disclaimer { margin-top: 18px; font-size: var(--t-xs); color: var(--ink-3); }

.quote { font-size: var(--t-lead); line-height: 1.5; letter-spacing: -0.012em; }
.quote__source { margin-top: 12px; font-size: var(--t-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 50rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink);
  cursor: pointer;
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: none; width: 20px; height: 20px; margin-top: 2px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink-3);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq__icon::before { inset: 9px 2px auto 2px; height: 1.5px; }
.faq__icon::after { inset: 2px auto 2px 9px; width: 1.5px; }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { padding: 0 2px 22px; font-size: var(--t-sm); color: var(--ink-2); max-width: 44rem; }
.faq__a[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Dernier appel à l'action
   -------------------------------------------------------------------------- */

.final { text-align: center; }
.final__inner { max-width: 44rem; margin-inline: auto; }
.final h2 { font-size: var(--t-h2); letter-spacing: -0.03em; }
.final p { margin-top: 16px; font-size: var(--t-lead); color: var(--on-navy-2); }
.final__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.final__note { margin-top: 20px; font-size: var(--t-xs); color: var(--on-navy-3); }

/* --------------------------------------------------------------------------
   Ressources (place secondaire)
   -------------------------------------------------------------------------- */

.resources { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.resources__label { font-size: var(--t-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: var(--on-navy-2);
  padding-block: clamp(40px, 3.4vw, 64px) 28px;
  font-size: var(--t-sm);
}
.site-footer__grid { display: grid; gap: clamp(24px, 2.6vw, 44px); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-navy-3); font-weight: 600; }
.site-footer ul { margin-top: 14px; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--on-navy); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__brand .brand__text { color: var(--on-navy); }
.site-footer__about { margin-top: 14px; max-width: 34em; font-size: var(--t-xs); line-height: 1.6; color: var(--on-navy-3); }
.site-footer__legal {
  margin-top: clamp(30px, 3vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: var(--on-navy-3);
}

/* --------------------------------------------------------------------------
   Bandeau mobile d'action
   -------------------------------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.action-bar[data-hidden='true'] { transform: translateY(110%); opacity: 0; pointer-events: none; }
.action-bar .btn { min-height: 48px; font-size: var(--t-sm); white-space: nowrap; }
.action-bar .btn--ghost { padding-inline: 20px; }
@media (min-width: 1024px) { .action-bar { display: none; } }
body.has-action-bar { padding-bottom: 76px; }
@media (min-width: 1024px) { body.has-action-bar { padding-bottom: 0; } }

/* Case d'inscription facultative, distincte du traitement de la demande. */
.opt-in {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 4px;
  font-size: var(--t-xs);
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
}
.opt-in input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Champ piège antispam : hors écran, hors tabulation, hors lecteurs d'écran. */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Logo et portrait
   -------------------------------------------------------------------------- */

.brand__logo { height: 24px; width: auto; }
@media (max-width: 719px) { .brand__logo { height: 18px; } }

.site-footer__logo { height: 24px; width: auto; opacity: 0.92; }

.broker__figure { margin: 0; display: grid; gap: 10px; }
/* Sur petit écran, le portrait ne doit pas occuper toute la largeur. */
@media (max-width: 859px) {
  .broker__figure { max-width: 300px; }
}
.broker__credit {
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.broker__name { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Photo du panneau « points examinés »
   -------------------------------------------------------------------------- */

.proof-panel { padding: 0; overflow: hidden; align-items: stretch; }
.proof-panel__body { padding: clamp(24px, 2.6vw, 40px); }
.proof-panel--photo .proof-panel__body > .proof-list { margin-top: 22px; }
.proof-panel__photo { margin: 0; position: relative; min-height: 260px; background: var(--bg-alt); }
.proof-panel__photo picture { display: block; height: 100%; }
.proof-panel__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .proof-panel__photo { aspect-ratio: 16 / 9; min-height: 0; }
}

/* --------------------------------------------------------------------------
   Bande sectorielle
   -------------------------------------------------------------------------- */

.band-section { padding-block: 0; padding-top: clamp(40px, 3vw, 72px); }
.band {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}
.band picture { display: block; }
.band img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  display: block;
}
.band__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 7px;
  padding: clamp(22px, 3vw, 44px);
  background: linear-gradient(0deg, rgba(4, 16, 31, 0.94) 0%, rgba(4, 16, 31, 0.82) 38%,
                              rgba(4, 16, 31, 0.5) 70%, transparent 100%);
  padding-top: clamp(48px, 6vw, 96px);
  color: var(--on-navy);
}
.band__sector {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(143, 214, 255, 0.95);
}
.band__line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 1.3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  max-width: 22em;
  text-wrap: balance;
}
@media (max-width: 719px) {
  .band img { aspect-ratio: 3 / 2; }
}


/* --------------------------------------------------------------------------
   Badge d'avis Google
   Affiché uniquement quand la note et le nombre d'avis réels sont renseignés.
   -------------------------------------------------------------------------- */

.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.g-badge:hover { border-color: rgba(0, 0, 0, 0.26); }
.g-badge:active { transform: scale(0.985); }

.g-badge__logo { flex: none; display: grid; place-items: center; }
.g-badge__logo svg { width: 18px; height: 18px; }

.g-badge__text { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.g-badge__rating {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.g-badge__count { font-size: var(--t-xs); color: var(--ink-3); }

.g-badge__stars { position: relative; display: inline-block; height: 14px; }
.g-badge__stars svg { width: 14px; height: 14px; display: inline-block; vertical-align: top; }
.g-badge__stars-empty { display: inline-flex; color: rgba(0, 0, 0, 0.16); }
.g-badge__stars-full {
  position: absolute;
  inset: 0 auto 0 0;
  display: inline-flex;
  overflow: hidden;
  color: #f5a623;
}
.g-badge__stars-full svg { flex: none; }

/* Sur fond bleu nuit : carte translucide plutôt que pastille blanche. */
.g-badge--header,
.g-badge--navy {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.g-badge--header:hover,
.g-badge--navy:hover { background: rgba(255, 255, 255, 0.17); }
.g-badge--header .g-badge__count,
.g-badge--navy .g-badge__count { color: rgba(255, 255, 255, 0.72); }
.g-badge--header .g-badge__stars-empty,
.g-badge--navy .g-badge__stars-empty { color: rgba(255, 255, 255, 0.26); }

.g-badge--header { padding: 7px 13px; }
@media (max-width: 719px) {
  .g-badge--header .g-badge__count { display: none; }
  .g-badge--header { padding: 7px 11px; gap: 8px; }
}

/* Dans la section interlocuteur, le badge suit le rôle. */
.broker .g-badge { margin-top: 14px; }
.broker__seniority { margin-top: 4px; font-size: var(--t-xs); color: var(--ink-3); }

/* Dans le dernier appel à l'action, centré sous les boutons. */
.final .g-badge { margin-top: 26px; }

/* Badge sans lien de fiche : même apparence, sans affordance de clic. */
.g-badge--static { cursor: default; }
.g-badge--static:hover { border-color: var(--line); background: var(--bg); transform: none; }
.g-badge--header.g-badge--static:hover,
.g-badge--navy.g-badge--static:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }

/* --------------------------------------------------------------------------
   Bande de repères du cabinet
   Trois chiffres vérifiables, séparés par de fins filets.
   -------------------------------------------------------------------------- */

.credentials-section { padding-block: clamp(38px, 3vw, 64px) 0; }

.credentials {
  margin: 0;
  display: grid;
  gap: clamp(22px, 2.4vw, 40px);
  padding: clamp(24px, 2.4vw, 36px) clamp(22px, 2.6vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: var(--bg-alt);
}
@media (min-width: 760px) {
  .credentials { grid-auto-flow: column; grid-auto-columns: 1fr; }
}

.credential { display: grid; gap: 6px; align-content: start; }
@media (min-width: 760px) {
  .credential + .credential {
    padding-left: clamp(22px, 2.4vw, 40px);
    border-left: 1px solid var(--line);
  }
}
@media (max-width: 759px) {
  .credential + .credential { padding-top: clamp(18px, 4vw, 26px); border-top: 1px solid var(--line); }
}

.credential__value {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.credential__suffix { font-size: 0.5em; font-weight: 500; color: var(--ink-3); letter-spacing: -0.02em; }
.credential__logo { display: grid; place-items: center; flex: none; }
.credential__logo svg { width: 0.72em; height: 0.72em; }

.credential__label {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 22em;
}
.credential__note { color: var(--ink-3); }

/* Deux champs courts côte à côte (composition du foyer). */
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-pair__item { display: grid; gap: 6px; }
.field-pair__label { font-size: var(--t-xs); color: var(--ink-3); }
