/* ============================================================
   Liberty Glass — Site public
   Étend les tokens du design system (design-tokens.css)
   ============================================================ */
@import url('design-tokens.css');

body { background: white; }

/* ===================== HEADER ===================== */
.lg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: var(--header-h-mobile);
}
@media (min-width: 768px) { .lg-header { height: var(--header-h-desktop); } }
.lg-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.lg-logo { display: inline-flex; align-items: center; gap: 10px; }
.lg-logo img { height: 40px; width: auto; display: block; }
@media (min-width: 768px) { .lg-logo img { height: 48px; } }
.lg-nav { display: none; gap: 26px; align-items: center; }
.lg-nav a { font: 600 14px/1 var(--font-body); color: var(--blue-ink); }
.lg-nav a:hover { color: var(--blue-primary); text-decoration: none; }
@media (min-width: 880px) { .lg-nav { display: flex; } }
.lg-header__cta { display: inline-flex; gap: 10px; align-items: center; }
.lg-phone { display: none; font: 700 14px/1 var(--font-body); color: var(--blue-ink); align-items: center; gap: 6px; }
.lg-phone .material-symbols-rounded { color: var(--blue-primary); font-size: 18px; }
@media (min-width: 1000px) { .lg-phone { display: inline-flex; } }
.lg-burger { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center;
             border: 1px solid var(--gray-200); background: white; color: var(--blue-ink); cursor: pointer; }
@media (min-width: 880px) { .lg-burger { display: none; } }

/* mobile nav drawer */
.lg-drawer {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,44,77,0.45);
  backdrop-filter: blur(8px);
  display: flex; justify-content: flex-end;
  opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out);
}
.lg-drawer.open { opacity: 1; pointer-events: auto; }
.lg-drawer__panel {
  width: min(320px, 84vw); background: white; height: 100%;
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transform: translateX(100%); transition: transform 240ms var(--ease-out);
}
.lg-drawer.open .lg-drawer__panel { transform: translateX(0); }
.lg-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.lg-drawer a { font: 600 17px/1 var(--font-body); color: var(--blue-ink); padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.lg-drawer a:hover { color: var(--blue-primary); text-decoration: none; }
.lg-drawer .btn { margin-top: 12px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px; border: 0;
  font: 700 14px/1 var(--font-body); cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--lg { padding: 16px 24px; font-size: 15px; border-radius: 14px; }
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.btn--cta { background: var(--orange-accent); color: var(--blue-ink); box-shadow: var(--shadow-cta); }
.btn--cta:hover { background: var(--orange-hover); color: white; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(255,161,0,0.36); text-decoration: none; }
.btn--primary { background: var(--blue-primary); color: white; }
.btn--primary:hover { background: var(--blue-primary-hover); transform: translateY(-1px); color: white; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--blue-primary); box-shadow: inset 0 0 0 2px var(--blue-primary); }
.btn--ghost:hover { background: var(--blue-50); text-decoration: none; }
.btn--white { background: white; color: var(--blue-primary); }
.btn--white:hover { background: var(--blue-50); text-decoration: none; }
.btn--ghost-light { background: transparent; color: white; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.10); color: white; text-decoration: none; }
.btn.disabled, .btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ===================== SECTIONS ===================== */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--alt { background: var(--off-white); }
.section--blue { background: var(--blue-primary); color: white; }
.section__eyebrow { font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 12px; }
.section--blue .section__eyebrow { color: var(--orange-accent); }
.section__title { font: 800 32px/1.1 var(--font-display); color: var(--blue-ink); letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; margin: 0; }
@media (min-width: 768px) { .section__title { font-size: 44px; } }
.section--blue .section__title { color: white; }
.section__lead { font: 500 17px/1.55 var(--font-body); color: var(--blue-ink-soft); max-width: 60ch; margin: 12px 0 0; }
.section--blue .section__lead { color: var(--blue-100); }
.section__head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.section__head--center { align-items: center; text-align: center; }
.section__head--center .section__title { max-width: 22ch; }
.section__head--center .section__lead { margin-inline: auto; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; background: var(--blue-primary); color: white; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(11,44,77,0.94) 0%, rgba(11,44,77,0.86) 42%, rgba(20,78,139,0.66) 72%, rgba(23,99,178,0.52) 100%),
    radial-gradient(circle at 88% 14%, rgba(255,161,0,0.20) 0%, transparent 38%);
  pointer-events: none;
}
@media (max-width: 979px) {
  .hero::before { background: linear-gradient(180deg, rgba(11,44,77,0.90) 0%, rgba(11,44,77,0.86) 55%, rgba(20,78,139,0.88) 100%); }
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 40px 56px; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 56px; padding-block: 88px 104px; align-items: center; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-accent); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-accent); box-shadow: 0 0 12px var(--orange-accent); animation: pulse 2.2s var(--ease-in-out) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }
.hero h1 { font: 800 42px/1.05 var(--font-display); letter-spacing: -0.025em; color: white; margin: 16px 0 18px; text-wrap: balance; }
@media (min-width: 768px) { .hero h1 { font-size: 60px; } }
.hero h1 em { color: var(--orange-accent); font-style: normal; }
.hero__lead { font: 500 17px/1.55 var(--font-body); color: var(--blue-100); max-width: 54ch; }
@media (min-width: 768px) { .hero__lead { font-size: 19px; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 32px; }
.hero__trust .item { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--font-body); color: white; }
.hero__trust .item .material-symbols-rounded { color: var(--orange-accent); font-size: 20px; }

/* hero side — offer card */
.offer-card {
  background: white; color: var(--blue-ink);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.offer-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--orange-accent) 0%, var(--blue-primary) 100%);
}
.offer-card__pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); font: 800 11px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; align-self: flex-start; }
.offer-card h3 { font: 800 24px/1.15 var(--font-display); color: var(--blue-ink); margin: 0; letter-spacing: -0.01em; }
.offer-card__options { display: grid; gap: 12px; }
.offer-card__opt { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--blue-50); align-items: flex-start; }
.offer-card__opt--alt { background: var(--orange-soft); }
.offer-card__opt .ic { width: 36px; height: 36px; border-radius: 10px; background: white; color: var(--blue-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.offer-card__opt--alt .ic { color: var(--orange-deep); }
.offer-card__opt .ic .material-symbols-rounded { font-size: 22px; }
.offer-card__opt h4 { font: 800 14px/1.2 var(--font-display); color: var(--blue-ink); margin: 0; }
.offer-card__opt p { font: 500 13px/1.4 var(--font-body); color: var(--blue-ink-soft); margin: 4px 0 0; }
.offer-card__helper { font: 500 12px/1.4 var(--font-body); color: var(--gray-500); }

/* ===================== OFFER BANNER (full-bleed) ===================== */
.offer-band {
  background: linear-gradient(95deg, var(--blue-ink) 0%, var(--blue-darker) 60%, var(--blue-primary) 100%);
  color: white; position: relative; overflow: hidden;
}
.offer-band::before {
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,161,0,0.28) 0%, transparent 70%);
}
.offer-band__inner { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 36px; align-items: center; position: relative; }
@media (min-width: 880px) { .offer-band__inner { grid-template-columns: auto 1fr auto; gap: 32px; padding-block: 28px; } }
.offer-band__badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%; background: var(--orange-accent); color: var(--blue-ink);
  font: 800 11px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(255,161,0,0.35); text-align: center;
}
.offer-band__badge strong { font: 800 26px/1 var(--font-display); margin-bottom: 2px; }
.offer-band__text { display: flex; flex-direction: column; gap: 6px; }
.offer-band__title { font: 800 22px/1.2 var(--font-display); color: white; margin: 0; text-wrap: balance; }
@media (min-width: 880px) { .offer-band__title { font-size: 26px; } }
.offer-band__title em { color: var(--orange-accent); font-style: normal; }
.offer-band__sub { font: 500 14px/1.5 var(--font-body); color: var(--blue-100); margin: 0; max-width: 60ch; }
.offer-band__cta { display: inline-flex; }

/* ===================== ENGAGEMENTS ===================== */
.engagements {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 600px) { .engagements { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .engagements { grid-template-columns: repeat(4, 1fr); } }
.engagement {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: all var(--dur-base) var(--ease-out);
}
.engagement:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.engagement__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-primary); display: flex; align-items: center; justify-content: center; }
.engagement__ic .material-symbols-rounded { font-size: 28px; }
.engagement h4 { font: 700 17px/1.2 var(--font-display); color: var(--blue-ink); margin: 0; }
.engagement p { font: 500 14px/1.5 var(--font-body); color: var(--blue-ink-soft); margin: 0; }

/* ===================== SERVICES ===================== */
.services { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } }
.service-card {
  background: white; border-radius: var(--r-md);
  padding: 0 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
  border: 0;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* flex-shrink: 0 obligatoire — la carte est un <button> en flex column étiré par
   la grille : sans ça, Firefox comprime la photo pour faire tenir le texte. */
.service-card__media { margin: 0 -28px; height: 200px; flex-shrink: 0; position: relative; background: var(--blue-100); }
.service-card__media__frame { position: absolute; inset: 0; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 420ms var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__ic {
  position: absolute; left: 20px; bottom: -26px; z-index: 2;
  width: 56px; height: 56px; border-radius: 16px;
  background: white; color: var(--blue-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.service-card__ic .material-symbols-rounded { font-size: 30px; }
.service-card h3 { font: 800 22px/1.2 var(--font-display); color: var(--blue-ink); margin: 0; letter-spacing: -0.01em; }
/* laisse la place à la pastille d'icône qui déborde sous la photo */
.service-card > h3 { margin-top: 34px; }
.service-card p { font: 500 15px/1.55 var(--font-body); color: var(--blue-ink-soft); margin: 0; flex: 1; }
.service-card__meta { display: flex; gap: 10px; align-items: center; font: 600 12px/1 var(--font-body); color: var(--blue-primary); flex-wrap: wrap; }
.service-card__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.service-card__cta { font: 700 14px/1 var(--font-body); color: var(--blue-primary); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.service-card__cta .material-symbols-rounded { font-size: 16px; transition: transform var(--dur-base) var(--ease-out); }
.service-card:hover .service-card__cta .material-symbols-rounded { transform: translateX(4px); }

/* ===================== COVERAGE EXPLAINER ===================== */
.coverage { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 880px) { .coverage { grid-template-columns: 1fr 1fr; gap: 64px; } }
.coverage__visual {
  position: relative;
  display: grid; gap: 16px;
}
.coverage__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; margin: 0; }
.coverage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.coverage__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,44,77,0.86) 62%);
  color: white; font: 600 14px/1.45 var(--font-body);
}
.coverage-card {
  background: white; border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 16px; align-items: flex-start;
  border-left: 4px solid var(--blue-primary);
}
.coverage-card--orange { border-left-color: var(--orange-accent); }
.coverage-card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.coverage-card--orange .coverage-card__ic { background: var(--orange-soft); color: var(--orange-deep); }
.coverage-card__ic .material-symbols-rounded { font-size: 26px; }
.coverage-card__body { flex: 1; min-width: 0; }
.coverage-card h4 { font: 800 16px/1.2 var(--font-display); color: var(--blue-ink); margin: 0 0 4px; }
.coverage-card .gift { font: 800 22px/1 var(--font-display); color: var(--orange-deep); margin: 8px 0 4px; }
.coverage-card--blue-gift .gift { color: var(--blue-primary); }
.coverage-card p { font: 500 14px/1.5 var(--font-body); color: var(--blue-ink-soft); margin: 0; }

.coverage__checks { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.coverage__check { display: flex; gap: 12px; align-items: flex-start; font: 500 15px/1.5 var(--font-body); color: var(--blue-ink); }
.coverage__check .material-symbols-rounded { color: var(--success); font-size: 22px; flex-shrink: 0; margin-top: 2px; }

/* ===================== REVIEWS ===================== */
.reviews-summary {
  display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap;
}
.reviews-summary__stars { color: var(--orange-accent); font-size: 22px; letter-spacing: 4px; }
.reviews-summary__score { font: 800 28px/1 var(--font-display); color: var(--blue-ink); }
.reviews-summary__count { font: 500 14px/1.4 var(--font-body); color: var(--blue-ink-soft); }

.reviews { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
@media (min-width: 720px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .reviews { grid-template-columns: 1fr 1fr 1fr; } }
.review-card {
  background: white; border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--dur-base) var(--ease-out);
}
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.review-card__stars { color: var(--orange-accent); font-size: 18px; letter-spacing: 3px; }
.review-card__quote { font: 500 15px/1.6 var(--font-body); color: var(--blue-ink); flex: 1; margin: 0; }
.review-card__by { display: flex; align-items: center; gap: 12px; padding-top: 4px; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.review-card__av { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-primary); color: white; display: flex; align-items: center; justify-content: center; font: 700 14px/1 var(--font-display); flex-shrink: 0; }
.review-card__name { font: 700 14px/1.2 var(--font-body); color: var(--blue-ink); }
.review-card__meta { font: 500 12px/1.2 var(--font-body); color: var(--gray-500); margin-top: 3px; }

/* ===================== FAQ ===================== */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item__q { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item__q h4 { font: 700 16px/1.3 var(--font-display); color: var(--blue-ink); margin: 0; }
.faq-item__q .material-symbols-rounded { color: var(--blue-primary); transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-item__q .material-symbols-rounded { transform: rotate(180deg); }
.faq-item__a { font: 500 14.5px/1.6 var(--font-body); color: var(--blue-ink-soft); margin: 12px 0 0; display: none; }
.faq-item.open .faq-item__a { display: block; }

/* ===================== FINAL CTA ===================== */
.cta-band {
  background: linear-gradient(120deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
  color: white; border-radius: var(--r-xl); padding: 40px 28px;
  display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-band { padding: 64px 56px; flex-direction: row; text-align: left; justify-content: space-between; } }
.cta-band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0.30; mix-blend-mode: luminosity; }
.cta-band::after { content: ""; position: absolute; left: -100px; bottom: -100px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,161,0,0.10); }
.cta-band__content { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.cta-band h3 { font: 800 28px/1.1 var(--font-display); color: white; margin: 0; max-width: 22ch; text-wrap: balance; }
@media (min-width: 768px) { .cta-band h3 { font-size: 38px; } }
.cta-band p { font: 500 15px/1.5 var(--font-body); color: var(--blue-100); margin: 0; max-width: 44ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* ===================== FOOTER ===================== */
.footer { background: var(--blue-900); color: var(--blue-100); padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { font: 500 14px/1.5 var(--font-body); color: var(--blue-200); margin: 14px 0 0; max-width: 32ch; }
.footer h5 { font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: white; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a, .footer li { color: var(--blue-100); font: 500 14px/1.4 var(--font-body); }
.footer a:hover { color: white; text-decoration: none; }
.footer__row { display: flex; gap: 10px; align-items: flex-start; }
.footer__row .material-symbols-rounded { color: var(--orange-accent); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 28px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.10); }
@media (min-width: 720px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom small { font: 500 12px/1.5 var(--font-body); color: var(--blue-200); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: white; }
.footer__social a:hover { background: var(--orange-accent); color: var(--blue-ink); }

/* ===================== STICKY MOBILE CTA ===================== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200);
  display: flex; gap: 10px;
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 880px) { .sticky-cta { display: none; } }
.pad-for-sticky { height: 88px; }
@media (min-width: 880px) { .pad-for-sticky { display: none; } }

/* ===================== BOOKING FORM (MODAL FUNNEL) ===================== */
.bf-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,44,77,0.55);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: stretch;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.bf-overlay.open { opacity: 1; pointer-events: auto; }
.bf-modal {
  background: var(--off-white);
  width: 100%; max-width: 720px;
  display: flex; flex-direction: column;
  max-height: 100vh; overflow: hidden;
  transform: translateY(20px); opacity: 0;
  transition: transform 320ms var(--ease-out), opacity 240ms var(--ease-out);
}
.bf-overlay.open .bf-modal { transform: translateY(0); opacity: 1; }
@media (min-width: 720px) {
  .bf-overlay { align-items: center; padding: 24px; }
  .bf-modal { border-radius: var(--r-lg); max-height: calc(100vh - 48px); box-shadow: var(--shadow-xl); }
}

.bf-header {
  background: white;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-shrink: 0;
}
.bf-header__logo img { height: 36px; }
.bf-header__close {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gray-200);
  background: white; color: var(--blue-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.bf-header__close:hover { background: var(--gray-100); }

.bf-progress { background: white; padding: 0 20px 16px; flex-shrink: 0; }
.bf-progress__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.bf-progress__step { font: 700 12px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-primary); }
.bf-progress__total { font: 500 12px/1 var(--font-body); color: var(--gray-500); }
.bf-progress__bar { height: 6px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.bf-progress__fill { height: 100%; background: var(--orange-accent); border-radius: 999px; transition: width 320ms var(--ease-out); }

.bf-body { flex: 1; overflow-y: auto; padding: 28px 20px 120px; }
@media (min-width: 720px) { .bf-body { padding: 40px 32px 120px; } }
.bf-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }

.bf-head h2 { font: 800 26px/1.15 var(--font-display); color: var(--blue-ink); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
@media (min-width: 720px) { .bf-head h2 { font-size: 32px; } }
.bf-head p { font: 500 15px/1.55 var(--font-body); color: var(--blue-ink-soft); margin: 8px 0 0; text-wrap: pretty; }

/* options */
.bf-options { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bf-option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: white;
  border-radius: 12px; border: 2px solid var(--gray-200);
  cursor: pointer; transition: all 180ms var(--ease-out);
  text-align: left; width: 100%;
}
.bf-option:hover { border-color: var(--blue-300); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.bf-option.active { border-color: var(--blue-primary); background: var(--blue-50); box-shadow: 0 0 0 2px rgba(23,99,178,0.18); }
.bf-option__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bf-option.active .bf-option__ic { background: var(--blue-primary); color: white; }
.bf-option__ic .material-symbols-rounded { font-size: 28px; }
.bf-option__body { flex: 1; min-width: 0; }
.bf-option__title { font: 700 16px/1.2 var(--font-display); color: var(--blue-ink); margin: 0; }
.bf-option__sub { font: 500 13px/1.4 var(--font-body); color: var(--blue-ink-soft); margin-top: 4px; }
.bf-option__check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--gray-300); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 180ms var(--ease-out); }
.bf-option.active .bf-option__check { border-color: var(--blue-primary); background: var(--blue-primary); color: white; }
.bf-option__check .material-symbols-rounded { font-size: 16px; opacity: 0; }
.bf-option.active .bf-option__check .material-symbols-rounded { opacity: 1; }

/* fields */
.bf-fields { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .bf-fields.cols-2 { grid-template-columns: 1fr 1fr; } }
.bf-field { display: flex; flex-direction: column; gap: 6px; }
.bf-field label { font: 600 13px/1 var(--font-body); color: var(--blue-ink); }
.bf-field .opt { font-weight: 500; font-size: 12px; color: var(--gray-500); margin-left: 4px; }
.bf-field .control {
  height: 52px; padding: 0 14px; border-radius: 10px;
  background: white; border: 1.5px solid var(--gray-200);
  font: 500 15px/1 var(--font-body); color: var(--blue-ink);
  display: flex; align-items: center; gap: 10px;
  transition: all 180ms var(--ease-out);
}
.bf-field .control:focus-within { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(23,99,178,0.18); }
.bf-field .control.err { border-color: var(--error); }
.bf-field .control.err:focus-within { box-shadow: 0 0 0 3px rgba(225,29,72,0.18); }
.bf-field input { border: 0; outline: 0; background: transparent; flex: 1; font: inherit; color: inherit; padding: 0; width: 100%; }
.bf-field input::placeholder { color: var(--gray-400); }
.bf-field .control .material-symbols-rounded { color: var(--blue-primary); font-size: 20px; }
.bf-field .help { font: 500 12px/1.3 var(--font-body); color: var(--gray-500); }
.bf-field .help.err { color: var(--error); }

.bf-plate {
  display: flex; gap: 0; align-items: stretch;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--gray-200);
  transition: box-shadow 180ms var(--ease-out);
  background: white;
}
.bf-plate:focus-within { box-shadow: 0 0 0 2px var(--blue-primary), 0 0 0 5px rgba(23,99,178,0.18); }
.bf-plate.err { box-shadow: 0 0 0 2px var(--error), 0 0 0 5px rgba(225,29,72,0.15); }
.bf-plate__eu {
  width: 36px; background: var(--blue-primary); color: var(--orange-accent);
  display: flex; align-items: center; justify-content: center;
  font: 800 12px/1 var(--font-display); flex-direction: column; gap: 4px;
  padding: 0 4px;
}
.bf-plate__eu::before { content: "★★★"; font-size: 8px; letter-spacing: -1px; color: var(--orange-accent); }
.bf-plate__eu::after { content: "F"; font-size: 13px; }
.bf-plate input {
  flex: 1; height: 60px; border: 0; outline: 0;
  font: 800 24px/1 var(--font-display); color: var(--blue-ink);
  text-align: center; padding: 0 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: white;
}
.bf-plate input::placeholder { color: var(--gray-300); letter-spacing: 0.04em; }

/* confirmation step */
.bf-confirm {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center; padding: 24px 0;
}
.bf-confirm__check {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--success-soft); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  animation: pop 320ms var(--ease-out);
}
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.bf-confirm__check .material-symbols-rounded { font-size: 56px; font-variation-settings: 'FILL' 1, 'wght' 700; }
.bf-confirm h2 { font: 800 30px/1.15 var(--font-display); color: var(--blue-ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.bf-confirm p { font: 500 16px/1.6 var(--font-body); color: var(--blue-ink-soft); margin: 0; max-width: 44ch; }
.bf-confirm__message {
  background: white; border-radius: 14px; padding: 24px;
  box-shadow: var(--shadow-md); text-align: left; width: 100%;
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 4px solid var(--orange-accent);
}
.bf-confirm__message--blue { border-left-color: var(--blue-primary); }
.bf-confirm__message .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bf-confirm__message--blue .ic { background: var(--blue-50); color: var(--blue-primary); }
.bf-confirm__message h4 { font: 800 16px/1.2 var(--font-display); color: var(--blue-ink); margin: 0 0 4px; }
.bf-confirm__message p { font: 500 14px/1.55 var(--font-body); color: var(--blue-ink-soft); margin: 0; }

.bf-summary {
  background: white; border-radius: 12px; padding: 18px;
  box-shadow: var(--shadow-sm); width: 100%; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
}
.bf-summary__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--gray-100); }
.bf-summary__row:first-child { border-top: 0; }
.bf-summary__lbl { font: 600 12px/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-500); }
.bf-summary__val { font: 700 13px/1.3 var(--font-body); color: var(--blue-ink); text-align: right; }

/* sending state */
.bf-sending {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 56px 24px;
}
.bf-sending .spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--blue-100); border-top-color: var(--blue-primary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bf-sending p { font: 600 15px/1.4 var(--font-body); color: var(--blue-ink); margin: 0; }

.bf-error {
  background: var(--error-soft); color: #7f1d1d;
  padding: 12px 14px; border-radius: 10px;
  font: 500 13px/1.4 var(--font-body); display: flex; gap: 10px; align-items: flex-start;
}
.bf-error .material-symbols-rounded { color: var(--error); flex-shrink: 0; font-size: 20px; }

/* actions */
.bf-actions {
  flex-shrink: 0;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
}
.bf-actions .btn--primary, .bf-actions .btn--cta { padding: 14px 22px; }
.bf-actions__right { display: flex; gap: 10px; margin-left: auto; }

/* slide animation between steps */
.bf-step { animation: slideIn 240ms var(--ease-out); }
@keyframes slideIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.bf-step--back { animation: slideInBack 240ms var(--ease-out); }
@keyframes slideInBack { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* prevent body scroll when modal open */
body.bf-locked { overflow: hidden; }

/* utility */
.text-orange { color: var(--orange-accent); }
.text-center { text-align: center; }

/* ===================== GSAP REVEAL (progressive enhancement) =====================
   Initial hidden state applied ONLY when JS marks body .gsap-ready.
   No-JS / crawlers see full content rendered. */
.gsap-ready [data-anim] { opacity: 0; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .gsap-ready [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* Attribut [hidden] doit primer sur display:flex/grid (overlay, panes, sending, confirm) */
[hidden] { display: none !important; }

/* ===================== BOOKING (créneaux Google Calendar via serveur Node) ===================== */
.bf-booking {
  width: 100%;
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.bf-booking__title {
  font: 800 18px/1.2 var(--font-display);
  color: var(--blue-ink); margin: 0;
}
.bf-booking__help {
  font: 500 13px/1.5 var(--font-body);
  color: var(--blue-ink-soft); margin: 0;
}
/* Champ honeypot : invisible mais accessible aux bots */
.bf-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Sélecteur de créneaux (RDV assurés) */
.bf-slots__loading {
  display: flex; align-items: center; gap: 10px;
  font: 500 14px/1.4 var(--font-body); color: var(--blue-ink-soft);
  padding: 12px 0;
}
.bf-slots { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; max-height: 340px; overflow-y: auto; }
.bf-slots__date {
  font: 700 13px/1.2 var(--font-display); color: var(--blue-ink);
  text-transform: capitalize; margin-bottom: 8px;
}
.bf-slots__times { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-slot {
  font: 600 14px/1 var(--font-body); color: var(--blue-ink);
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm); padding: 10px 14px; cursor: pointer;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.bf-slot:hover:not(:disabled) { border-color: var(--orange-accent); transform: translateY(-1px); }
.bf-slot:disabled { opacity: 0.5; cursor: default; }
.bf-slot--active {
  background: var(--blue-primary); border-color: var(--blue-primary); color: white;
  box-shadow: 0 0 0 2px rgba(23, 99, 178, 0.18);
}
.bf-slot--active:hover { border-color: var(--blue-primary); }
/* Repli quand l'agenda ne renvoie aucun créneau : on propose le rappel */
.bf-booking__fallback { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
