/* ============================================================
   PRESTONN — Global CSS
   Mobile First · Geist + Newsreader + Fraunces
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.12;
  font-weight: 400;
}

/* Titres éditoriaux — Newsreader */
.h1-editorial {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.1;
}
.h1-editorial em {
  font-style: italic;
  color: var(--accent);
}

.h2-editorial {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
}
.h2-editorial em {
  font-style: italic;
}

.h3-editorial {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-2);
}

/* Labels uppercase */
.label-upper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.label-upper::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--secondary);
  flex-shrink: 0;
}
.label-upper--accent {
  color: var(--accent);
}
.label-upper--accent::before {
  background: var(--accent);
}

/* Corps de texte */
p {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: 1.7;
}

/* Lead */
.lead {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
}

/* Caption / Meta */
.caption {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1100px) {
  .container {
    padding: 0 2.5rem;
  }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-y) 0;
  }
}

/* Variantes de fond de section — remplacent les inline style="background:..." */
.section--surface  { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }
.section--white    { background: #fff; }
.section--dark     { background: var(--gradient-dark); }

/* ============================================================
   NAVIGATION STICKY
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

/* Nav scrolled — glassmorphism (commun à toutes les pages) */
.nav--scrolled {
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .nav__inner {
    padding: 0 2rem;
  }
}

/* Logo */
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── LOGO — couleurs globales (invariants V3) ── */
.logo-text {
  color: var(--dark);
  font-family: 'Fraunces', serif;
  font-style: normal;
  transition: color 0.25s ease;
}
.nav .logo-text,
.nav__logo .logo-text {
  color: var(--dark);
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}
.logo-p,
.logo-dot {
  color: #FFD86B !important;
  font-family: 'Fraunces', serif;
}
/* Footer — fond sombre : logo blanc + accent (priorité garantie) */
.footer .logo-text,
.footer__statement .logo-text { color: #ffffff !important; font-style: normal; }
.footer .logo-p,
.footer .logo-dot,
.footer__statement .logo-p,
.footer__statement .logo-dot  { color: var(--accent) !important; }

/* Liens desktop */
.nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .nav__links {
    gap: 2rem;
  }
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.18s;
}
.nav__links a:hover {
  color: var(--primary);
}

/* CTA nav desktop — masqué sur mobile, visible uniquement à 1024px+ */
.nav .nav__cta {
  display: none !important;
}

@media (min-width: 1024px) {
  .nav .nav__cta {
    display: inline-flex !important;
    font-size: 0.90rem;
    padding: 0.65em 1.4em;
  }
}

/* Hamburger mobile */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav__burger {
    display: none;
  }
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Menu mobile overlay */
/* Overlay sombre derrière le menu */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(11, 37, 69, 0.35);
  z-index: calc(var(--z-nav) - 2);
  cursor: pointer;
}
.nav__overlay.is-open { display: block; }

/* Menu drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: auto;
  background: #fff;
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(11, 37, 69, 0.18);
  border-radius: 0 0 var(--radius) var(--radius);
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a:not(.btn) {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  padding: .9rem 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}
.nav__mobile a:not(.btn):hover { color: var(--primary); }

.nav__mobile .btn {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}

/* Bouton fermer */
.nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
  padding: .6rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.nav__close:hover { color: var(--dark); }
.nav__close::before { content: '✕'; font-size: .85rem; }

/* ============================================================
   BOUTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-xs);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm  { font-size: 0.78rem; padding: 0.45em 1em; }
.btn-md  { font-size: 0.90rem; padding: 0.65em 1.4em; }
.btn-lg  { font-size: 1rem;    padding: 0.8em 1.8em; font-weight: 600; letter-spacing: -0.01em; }

/* Primary */
.btn-primary {
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(19, 64, 116, 0.30);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Section dark — background canonical */
.section-dark {
  background: var(--gradient-dark);
  color: #fff;
}

/* Primary sur fond sombre — fond accent jaune + texte marine */
.on-dark .btn-primary,
.section-dark .btn-primary,
.section-chiffres .btn-primary,
.section-cta-mid .btn-primary,
.section-cta-final .btn-primary,
.nav--over-dark ~ * .btn-primary {
  background: var(--accent, #FFD86B);
  color: #0B2545;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
/* Protéger le bouton CTA du menu mobile contre nav--over-dark */
.nav__mobile .btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-btn) !important;
}
.on-dark .btn-primary:hover,
.section-dark .btn-primary:hover,
.section-chiffres .btn-primary:hover,
.section-cta-mid .btn-primary:hover,
.section-cta-final .btn-primary:hover {
  background: #f5ce5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(19, 64, 116, 0.35);
}
.btn-secondary:hover {
  background: rgba(19, 64, 116, 0.06);
  border-color: var(--primary);
  color: var(--primary);
}

/* Secondary sur fond sombre */
.on-dark .btn-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.on-dark .btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Flèche animée */
.btn-arrow {
  display: inline-block;
  transition: transform 0.18s;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.28em 0.75em;
  border-radius: 999px;
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge-primary { background: rgba(19,64,116,0.10); color: var(--primary); }
.badge-accent  { background: rgba(255,216,107,0.25); color: #6B4F00; }
.badge-success { background: rgba(34,197,94,0.10); color: #166534; }
.badge-neutral { background: rgba(141,169,196,0.18); color: #3A5470; }

.on-dark .badge-primary { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.8); }
.on-dark .badge-accent  { background: rgba(255,216,107,0.18); color: var(--accent); }

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
  }
}

.trust-card {
  border-left: 3px solid var(--primary);
  padding: 1rem 1rem 1rem 1.2rem;
  background: rgba(19, 64, 116, 0.03);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.trust-card--dark {
  border-left-color: var(--accent);
  background: rgba(255,255,255,0.04);
}

.trust-card__value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.trust-card--dark .trust-card__value { color: #fff; }

.trust-card__label {
  font-size: 0.80rem;
  color: var(--text-2);
  line-height: 1.45;
}
.trust-card--dark .trust-card__label { color: rgba(255,255,255,0.5); }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__img {
  height: 160px;
  width: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.3rem 1.4rem 1.5rem;
}
.card__eyebrow {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.45rem;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.card__desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.4rem;
  background: rgba(244, 247, 251, 0.6);
}

/* Dark card */
.card--dark {
  background: linear-gradient(135deg, #0D2545, #071B38);
  border-color: rgba(255,255,255,0.08);
}
.card--dark .card__eyebrow { color: var(--accent); opacity: 0.8; }
.card--dark .card__title   { color: #fff; }
.card--dark .card__desc    { color: rgba(255,255,255,0.5); }
.card--dark .card__footer  { background: rgba(0,0,0,0.15); border-color: rgba(255,255,255,0.06); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: box-shadow 0.22s, transform 0.22s;
}
.testimonial:hover {
  box-shadow: 0 12px 36px rgba(11,37,69,0.08);
  transform: translateY(-2px);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.testimonial__star {
  width: 14px;
  height: 14px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.testimonial__quote::before { content: '\201C'; }
.testimonial__quote::after  { content: '\201D'; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-avatar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.testimonial__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.testimonial__role {
  font-size: 0.77rem;
  color: var(--secondary);
  margin-top: 0.1rem;
}

/* Dark testimonial */
.testimonial--dark {
  background: linear-gradient(135deg, #0D2545, #071B38);
  border-color: rgba(255,255,255,0.08);
}
.testimonial--dark .testimonial__quote { color: rgba(255,255,255,0.85); }
.testimonial--dark .testimonial__name  { color: #fff; }
.testimonial--dark .testimonial__role  { color: rgba(141,169,196,0.8); }

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero {
  background: var(--gradient-hero);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(143,169,196,0.10) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0 7rem;
  }
}

.hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,216,107,0.12);
  border: 1px solid rgba(255,216,107,0.25);
  padding: 0.3em 0.85em;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}

/* ============================================================
   CTA STICKY MOBILE
   ============================================================ */

.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0.85rem 1.25rem;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.sticky-cta .btn {
  flex: 1;
  justify-content: center;
  max-width: 320px;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ============================================================
   SECTION PRESSE
   ============================================================ */

.section-presse {
  background: #fff;
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.presse__inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.presse__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}

.presse__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}

.presse__item {
  opacity: 0.35;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.presse__item:hover {
  opacity: 0.75;
}

.presse__logo {
  height: 28px;
  width: auto;
  color: var(--dark);
  display: block;
}

@media (min-width: 640px) {
  .presse__logo {
    height: 32px;
  }
}

/* ============================================================
   FOOTER STATEMENT
   ============================================================ */

.footer {
  background: var(--dark);
  padding: 5rem 1.25rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(19,64,116,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Bas de footer : centré — tagline + logo + contact */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
  margin: 0;
}

.footer__bottom-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer__bottom-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom-contact span,
.footer__bottom-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__bottom-contact a {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  transition: color 0.18s;
}

.footer__bottom-contact a:hover {
  color: #fff;
}

.footer__bottom-contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.footer__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.18s;
}
.footer__links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.01em;
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__phone {
  margin-bottom: 2rem;
}
.footer__phone a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}
.footer__phone a:hover {
  color: #fff;
}

/* Footer nav 4 colonnes */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  text-align: left;
  margin: 0 auto 3rem;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__nav-title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.75rem;
}

.footer__nav-col a {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.18s;
  margin-bottom: 0.4rem;
}

.footer__nav-col a:hover {
  color: rgba(255,255,255,0.9);
}

/* ============================================================
   ANIMATIONS SCROLL — .anim (V3) + .reveal / .reveal-group (V2 compat)
   (contrôlées par main.js via IntersectionObserver)
   ============================================================ */

/* V3 — classe standard pour toutes les pages */
.anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
}

/* V2 compat — index.html legacy, identique visuellement */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Groupe : les enfants directs s'animent en cascade */
.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Délais 100ms entre enfants — injectés dynamiquement par JS
   mais on définit jusqu'à 12 items en CSS pour compatibilité */
.reveal-group.is-visible > *:nth-child(1)  { transition-delay: 0ms; }
.reveal-group.is-visible > *:nth-child(2)  { transition-delay: 100ms; }
.reveal-group.is-visible > *:nth-child(3)  { transition-delay: 200ms; }
.reveal-group.is-visible > *:nth-child(4)  { transition-delay: 300ms; }
.reveal-group.is-visible > *:nth-child(5)  { transition-delay: 400ms; }
.reveal-group.is-visible > *:nth-child(6)  { transition-delay: 500ms; }
.reveal-group.is-visible > *:nth-child(7)  { transition-delay: 600ms; }
.reveal-group.is-visible > *:nth-child(8)  { transition-delay: 700ms; }
.reveal-group.is-visible > *:nth-child(9)  { transition-delay: 800ms; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: 900ms; }
.reveal-group.is-visible > *:nth-child(11) { transition-delay: 1000ms; }
.reveal-group.is-visible > *:nth-child(12) { transition-delay: 1100ms; }

/* Respect des préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.mt-lg  { margin-top: 3rem; }
.mb-sm  { margin-bottom: 1rem; }
.mb-md  { margin-bottom: 2rem; }
.mb-lg  { margin-bottom: 3rem; }

.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: var(--gap); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}
.divider--dark {
  border-top-color: var(--border-dark);
}

/* On-dark helper */
.on-dark {
  background: var(--gradient-hero);
  color: #fff;
}
.on-dark p { color: rgba(255,255,255,0.55); }

/* Surface froide */
.surface-cold {
  background: var(--gradient-cool);
}

/* ============================================================
   SPLIT TITLE V3 — .t-light / .t-strong
   ============================================================ */

/* Base — fond clair (défaut) */
.t-light {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  color: var(--text-2);
  font-size: 0.88em;
  letter-spacing: 0;
}
.t-strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
}

/* Sur fond sombre — overrides */
.section-dark .t-light  { color: #FFFFFF; }
.section-dark .t-strong { color: var(--accent, #FFD86B); }

/* ============================================================
   SKIP LINK — accessibilité clavier
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.1s ease;
}
.skip-link:focus { top: 0; }

/* ============================================================
   FOOTER TÉLÉPHONE — signal de légitimité, pas un CTA
   ============================================================ */

.footer__phone {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.footer__phone a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.footer__phone a:hover { color: rgba(255, 255, 255, 0.80); }

/* ============================================================
   SECTION LABEL — étiquette chapeau V3 (commune à toutes pages)
   ============================================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ============================================================
   CTA NOTE — texte sous bouton primaire
   ============================================================ */

.cta-note {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
}

/* ============================================================
   UTILITY CLASSES — remplacement des styles inline récurrents
   ============================================================ */

/* Remplace style="margin-top:2.5rem;" sur grilles */
.grid--mt { margin-top: 2.5rem; }

/* Remplace style="max-width:680px;" sur blocs de contenu */
.container--narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Remplace style="overflow-x:auto;" sur tableaux */
.table-scroll { overflow-x: auto; }

/* ============================================================
   SECTIONS CTA SOMBRES — t-light/t-strong (couleurs sur fond dark)
   Complète .section-dark pour les variants CTA et héros
   ============================================================ */

.section-cta-mid .t-light,
.section-cta-final .t-light,
.on-dark .t-light,
.section-chiffres .t-light { color: #FFFFFF; }

.section-cta-mid .t-strong,
.section-cta-final .t-strong,
.on-dark .t-strong,
.section-chiffres .t-strong { color: var(--accent, #FFD86B); }

/* ============================================================
   NAV SUR HERO SOMBRE — texte blanc quand fond transparent
   Ajouté dynamiquement par main.js via .nav--over-dark
   ============================================================ */

/* Transition fluide pour le changement de couleur */
.nav__links a,
.nav__burger span {
  transition: color 0.25s ease, background 0.25s ease;
}

.nav--over-dark .logo-p,
.nav--over-dark .logo-dot { color: #FFD86B !important; }

/* ============================================================
   FOOTER — icône téléphone (CSS mask, respecte currentColor)
   ============================================================ */

.footer__phone a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.footer__phone a::before {
  content: '';
  display: inline-block;
  width: 0.88em;
  height: 0.88em;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}

/* ============================================================
   ARTICLE AUTHOR — Bandeau auteur sous le hero
   Usage : <div class="article-author"> juste après </section> du hero
   ============================================================ */

.article-author {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.article-author__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
/* Variante article — aligner avec .article-wrap (720px) sur pages cas-clients */
.article-author--narrow .article-author__inner {
  max-width: 720px;
  padding: 0 2rem;
}

.article-author__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.article-author__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.article-author__name {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1;
}

.article-author__role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1;
}

.article-author__date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
   HERO COMPONENTS — communs à toutes les pages intérieures
   Définis ici pour DRY — plus besoin de les redéfinir par page
   ============================================================ */

/* ── Hero 2 colonnes — partagé sur toutes les pages ── */
.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0 4.5rem;
    text-align: left;
  }
  .hero__content { flex: 0 0 54%; }
  .hero__photo-col { flex: 0 0 46%; display: flex; }
}
.hero__content { max-width: 100%; }
.hero__photo-col { display: none; }
@media (min-width: 1024px) {
  .hero__photo-col { display: flex; }
}
.hero__photo-wrapper { position: relative; width: 100%; }
.hero__photo-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  display: block;
}
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,37,69,0.45) 0%, transparent 50%);
  border-radius: 16px;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  max-width: 600px;
}
.hero-h1 .t-light {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
}
.hero-h1 .t-strong { color: var(--accent); }

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 1.75rem;
}
.hero-subtitle strong { color: rgba(255,255,255,0.95); font-weight: 600; }

.google-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.35em 0.9em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 1.5rem;
}
.google-pill__stars { color: var(--accent); letter-spacing: 1px; }

/* ============================================================
   SECTIONS SOMBRES — CTA mid, CTA final, Chiffres
   ============================================================ */

.section-cta-mid {
  background: var(--gradient-primary);
  text-align: center;
  padding: 3.5rem 2rem;
}
.section-cta-final {
  background: linear-gradient(135deg, #0B2545 0%, #071B38 100%);
  text-align: center;
  padding: 4rem 2rem;
}

/* Composants texte CTA — communs à toutes les pages */
.cta-mid__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin: 0 auto .6rem;
  max-width: 580px;
}
.cta-mid__sub {
  font-family: var(--font-sans);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.cta-final__text {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 1.25rem auto 2rem;
}
.section-chiffres {
  background: linear-gradient(135deg, #0B2545 0%, #071B38 100%);
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  text-align: center;
}
@media (min-width: 768px) {
  .chiffres-grid { grid-template-columns: repeat(4, 1fr); }
}
.chiffre-item__val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.chiffre-item__lbl {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ============================================================
   KIT CARDS — grille 3 colonnes avec eyebrow/titre/desc
   ============================================================ */

.kit-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .kit-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kit-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.kit-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.kit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kit-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.kit-card-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.kit-card-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   FAQ — accordéon natif <details>/<summary>
   ============================================================ */

.faq-list { max-width: 720px; margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid rgba(19,64,116,0.10); }
.faq-item:first-child { border-top: 1px solid rgba(19,64,116,0.10); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  line-height: 1.45;
}
.faq-item[open] summary h3 { color: var(--primary); }
.faq-chevron { font-size: 1.25rem; font-weight: 300; color: var(--text-3); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding-bottom: 1.5rem; }
.faq-answer p { font-family: var(--font-sans); font-size: 0.9375rem; color: var(--text-2); line-height: 1.7; margin: 0; }

/* ============================================================
   TESTIMONIAL CARD — version statique (pages intérieures)
   ============================================================ */

.testimonial-card { background: #fff; border: 1px solid rgba(19,64,116,0.10); border-radius: 14px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 4px 24px rgba(11,37,69,0.06); transition: box-shadow 0.22s ease, transform 0.22s ease; }
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(11,37,69,0.12); transform: translateY(-3px); }
.tc-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; }
.tc-quote { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; color: var(--dark); line-height: 1.65; flex: 1; }
.tc-author { display: flex; align-items: center; gap: 0.85rem; border-top: 1px solid rgba(19,64,116,0.08); padding-top: 1rem; margin-top: auto; }
.tc-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #134074, #8DA9C4); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.tc-name { font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600; color: var(--dark); }
.tc-role { font-family: var(--font-sans); font-size: 0.76rem; color: var(--secondary); margin-top: 0.1rem; }

/* ============================================================
   MEMBER CARDS — équipe Prestonn (page prestonn.html)
   ============================================================ */

.member-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.member-card--founder { border-color: rgba(19,64,116,0.25); background: linear-gradient(135deg, #fff 0%, var(--surface) 100%); }
.member-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; margin: 0 auto 1.25rem; display: block; border: 3px solid var(--surface-2); }
.member-initials { width: 96px; height: 96px; border-radius: 50%; background: var(--surface-2); color: var(--primary); font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; font-weight: 400; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.member-name { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; font-weight: 400; color: var(--text-1); margin-bottom: 0.3rem; }
.member-role { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--primary); background: rgba(19,64,116,0.06); display: inline-block; padding: 0.2em 0.65em; border-radius: 4px; margin-bottom: 0.85rem; }
.member-bio { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   CAROUSEL TESTIMONIALS — carousel infini CSS pur
   65s — IMMUABLE (CLAUDE.md)
   ============================================================ */

.section-temoignages { padding: 6rem 0; background: #fff; overflow: hidden; }
.temoignages-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; padding: 0 2rem; }
.temoignages-subtitle { font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-2); margin-top: 0.75rem; line-height: 1.6; }

.carousel-outer { position: relative; overflow: hidden; }
.carousel-fade-left,
.carousel-fade-right {
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.carousel-fade-left  { left:  0; background: linear-gradient(to right, #ffffff 0%, transparent 100%); }
.carousel-fade-right { right: 0; background: linear-gradient(to left,  #ffffff 0%, transparent 100%); }

.carousel-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: carousel-scroll 65s linear infinite;
  will-change: transform;
}
.carousel-outer:hover .carousel-track { animation-play-state: paused; }

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .carousel-fade-left,
  .carousel-fade-right { width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none; flex-wrap: wrap; width: 100%; padding: 0 2rem; }
}

/* Card dans le carousel — largeur fixe obligatoire */
.carousel-track .testimonial-card {
  width: 340px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .carousel-track .testimonial-card { width: 280px; padding: 1.4rem; }
}

/* tc-info — wrapper auteur (nécessaire pour l'alignement) */
.tc-info { display: flex; flex-direction: column; }

/* Note contextuelle marché — pages villes */
.marche-note {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  max-width: 680px;
}
.marche-note p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
}
.marche-note strong { color: var(--text-1); font-weight: 600; }

/* ── Review cards — avis Google statiques (spécialités + ville Paris) ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.review-card {
  background: #fff;
  border: 1px solid rgba(19,64,116,.1);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(11,37,69,.06);
}
.review-stars {
  color: var(--accent);
  font-size: .9rem;
  letter-spacing: 2px;
  margin-bottom: .75rem;
}
.review-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--dark);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid rgba(19,64,116,.08);
  padding-top: .9rem;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-sans);
}
.review-name {
  font-family: var(--font-sans);
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}
.review-role {
  font-family: var(--font-sans);
  font-size: .76rem;
  color: var(--secondary);
  margin: .1rem 0 0;
}

/* ── Data cards — données marché villes ── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.data-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(11,37,69,.07);
  text-align: center;
}
.data-card__val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.data-card__label {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 .3rem;
}
.data-card__sub {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--secondary);
  margin: 0;
}

/* ── Cas encadré — bloc exemple concret ── */
.cas-encadre {
  background: #fff;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: 0 2px 16px rgba(11,37,69,.07);
}

/* ── Service card — carte lien service/étape ── */
.service-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(19,64,116,.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  border-color: rgba(19,64,116,.25);
  box-shadow: 0 4px 20px rgba(11,37,69,.1);
}

/* ── Paris timeline item ── */
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(19,64,116,.10);
}
.timeline-item:last-child { border-bottom: none; }

/* ── Photo illustrative pleine largeur ── */
.photo-illustrative {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.photo-illustrative-wrap {
  padding: 0 1.25rem;
  max-width: 1080px;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) {
  .photo-illustrative { max-height: 480px; }
}

/* ── Lien cas client contextuel ── */
.cas-ref-link {
  max-width: 1080px;
  margin: 2.5rem auto 2.5rem;
  padding: 0 1.25rem;
}
@media (max-width: 1080px) {
  .cas-ref-link { margin-left: 0; margin-right: 0; }
}
.cas-ref-link a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(19,64,116,0.12);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 16px rgba(11,37,69,0.07);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.cas-ref-link a:hover {
  box-shadow: 0 4px 24px rgba(11,37,69,0.12);
  border-color: rgba(19,64,116,0.25);
  border-left-color: var(--accent);
  color: var(--dark);
}
.cas-ref-link__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,216,107,0.18);
  padding: 0.2em 0.6em;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Info card (fiscalite comparaison) ── */
.flex-col-gap { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card { background: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid rgba(19,64,116,.10); }
.info-card--warning { border-color: rgba(220,38,38,.15); }

/* ============================================================
   COMPOSANTS MANQUANTS — reconstruits suite à audit complet
   ============================================================ */

/* ── Typographie sections ── */
.section-lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 680px;
  margin-top: 0.75rem;
}
.section-light { background: var(--surface); }
.on-surface { background: var(--surface-2); }

/* ── Alert card ── */
.alert-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,216,107,.08);
  border: 1.5px solid rgba(255,216,107,.35);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}
.alert-card__icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.4; }
.alert-card__body { font-family: var(--font-sans); font-size: .9rem; color: var(--text-2); line-height: 1.7; }
.alert-card__body strong { color: var(--dark); }

/* ── Critères grid (spécialités) ── */
.criteres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .criteres-grid { grid-template-columns: repeat(2, 1fr); } }

.critere-card {
  background: #fff;
  border: 1px solid rgba(19,64,116,.1);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(11,37,69,.06);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.critere-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .15rem;
}
.critere-card__content { flex: 1; }
.critere-card__title {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.critere-card__desc {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.critere-card__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(19,64,116,.07);
  padding: .2em .65em;
  border-radius: 4px;
}

/* ── Cas concrets mini-cards (spécialités + villes) ── */
.cas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .cas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cas-grid { grid-template-columns: repeat(3, 1fr); } }

.cas-card {
  background: #fff;
  border: 1px solid rgba(19,64,116,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,37,69,.06);
}
.cas-card__header {
  background: linear-gradient(135deg, #0B2545 0%, #134074 100%);
  padding: 1.25rem 1.5rem;
}
.cas-card__type {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}
.cas-card__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: #fff;
  line-height: 1.4;
}
.cas-card__body { padding: 1.25rem 1.5rem; }
.cas-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(19,64,116,.07);
  gap: .75rem;
}
.cas-stat:last-child { border-bottom: none; }
.cas-stat__lbl {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-3);
}
.cas-stat__val {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}
.cas-insight {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: rgba(255,216,107,.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Comparatif table ── */
.table-wrapper { overflow-x: auto; margin-top: 2.5rem; }
.comparatif-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: .875rem;
}
.comparatif-table th {
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  background: var(--dark);
  color: #fff;
  text-align: left;
}
.comparatif-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(19,64,116,.08);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.5;
}
.comparatif-table tr:hover td { background: rgba(19,64,116,.03); }
.col-key { font-weight: 600; color: var(--dark) !important; min-width: 150px; }
.col-loc, .col-buy, .col-name, .col-part, .col-ville { min-width: 140px; }
.row-hl td { background: rgba(19,64,116,.05); }
.row-hl td.col-key { border-left: 3px solid var(--primary); }
.val-good { color: #15803d !important; font-weight: 600; }
.val-bad  { color: #dc2626 !important; font-weight: 600; }
.comparatif-note {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--text-3);
  margin-top: .75rem;
  font-style: italic;
}

/* ── Process steps ── */
.process-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(19,64,116,.1);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(11,37,69,.06);
}
.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.process-step__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .35rem;
}
.process-step__desc {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Row highlight (table rows) — déclaration de classe pour les détecteurs ── */
.row-hl { background: rgba(19,64,116,.04); }

/* ── Quartiers table (pages villes) ── */
.quartiers-table { width:100%; border-collapse:collapse; font-family:var(--font-sans); font-size:.875rem; margin-top:1.5rem; }
.quartiers-table th { font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:.75rem 1rem; background:var(--dark); color:#fff; text-align:left; }
.quartiers-table td { padding:.75rem 1rem; border-bottom:1px solid rgba(19,64,116,.08); color:var(--text-2); }
.quartiers-table tr:hover td { background:rgba(19,64,116,.03); }

/* ── Glossaire ── */
.glossaire-voir { font-family:var(--font-sans); font-size:.85rem; margin-top:.5rem; }
.glossaire-voir a { color:var(--primary); font-weight:500; }
.btn-accent { background:var(--accent); color:var(--dark); font-family:var(--font-sans); font-size:.85rem; font-weight:700; padding:.5rem 1.25rem; border-radius:8px; text-decoration:none; display:inline-block; transition:opacity .2s; }
.btn-accent:hover { opacity:.85; }

/* ── Histoire text (prestonn.html) ── */
.histoire-text { font-family:var(--font-sans); font-size:var(--text-base); color:var(--text-2); line-height:1.8; }

/* ── Equipe content (index.html) ── */
.equipe-content { max-width:100%; }
.google-rating-text { display:flex; flex-direction:column; }

/* ── Pillars layout ── */
.pillars-intro { }
.step-body { font-family:var(--font-sans); font-size:.875rem; color:var(--text-2); line-height:1.7; }
