@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-heading: #172c3e;
  --color-text: #243746;
  --color-text-soft: #405365;
  --color-primary: #135d94;
  --color-primary-dark: #104a76;
  --color-primary-soft: #edf3f7;
  --color-border: #dce4e9;
  --color-bg-soft: #f3f6f8;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 10px;
  --shadow-card: none;
}
body { font-family: 'Source Sans 3', 'Segoe UI', sans-serif; font-size: 1.0625rem; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, .training-name, .intervention-title { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { font-size: .9375rem; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.site-header { background: #fff; backdrop-filter: none; }
.site-nav a { font-weight: 600; }
.site-nav a.is-active { background-image: none; }
.button, .header-cta { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button { min-height: 44px; text-align: center; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #135d94; outline-offset: 3px;
}
.prose a.button { color: #fff; text-decoration: none; }
.prose a.button-secondary { color: var(--color-primary); }
.button-text { color: inherit; }
#contact-turnstile-retry[hidden] { display: none !important; }
/* Accueil : priorité aux traitements et à une réalisation identifiable. */
.hero { background: #fff; }
.hero-enhanced { padding: 4rem 0 4.5rem; border-bottom: 1px solid var(--color-border); }
.hero-grid-enhanced { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 3.5rem; }
.hero-copy { max-width: 38rem; }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.25rem); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.hero .lead { font-size: 1.1875rem; max-width: 48ch; line-height: 1.6; }
.hero-visual-main { border-radius: 6px; box-shadow: 0 10px 24px rgba(23, 44, 62, .07); }
.hero-visual-main img { display: block; width: 100%; height: auto; }
#lebontag-legende { margin: 0; max-width: 60ch; font-size: .9375rem; line-height: 1.5; color: var(--color-text-soft); }
/* Services : une liste lisible plutôt qu'une rangée de cartes. */
section[aria-labelledby='offres-titre'] .cards { display: block; }
section[aria-labelledby='offres-titre'] .card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  column-gap: 3rem; row-gap: .6rem; padding: 1.75rem 0;
  background: transparent; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none;
}
section[aria-labelledby='offres-titre'] .card:last-child { border-bottom: 1px solid var(--color-border); }
section[aria-labelledby='offres-titre'] .card h3 { grid-column: 1; grid-row: 1 / span 4; margin: 0; max-width: 25ch; font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
section[aria-labelledby='offres-titre'] .card p { grid-column: 2; margin: 0; max-width: 65ch; }
section[aria-labelledby='offres-titre'] .card p:last-child { margin-top: .3rem; font-weight: 600; }
section[aria-labelledby='offres-titre'] .card p:last-child a { text-decoration: underline; text-underline-offset: .22em; }
/* Références : conserver les faits, alléger les encadrements. */
section[aria-labelledby='references-titre'] .cards { gap: 2.25rem; }
section[aria-labelledby='references-titre'] .card { background: transparent; border: 0; border-top: 2px solid #b9cbd7; border-radius: 0; padding: 1.25rem 0 0; box-shadow: none; }
section[aria-labelledby='references-titre'] .card h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
section[aria-labelledby='references-titre'] .centered-link { text-align: left; }
section[aria-labelledby='geonov-titre'] .section-header { text-align: left; margin-left: 0; max-width: 48rem; }
section[aria-labelledby='geonov-titre'] .certification-logos { justify-content: flex-start; }
/* Appels au contact : une séparation franche et peu de décoration. */
.contact-banner { padding: 2rem 0; background: transparent; border: 0; border-top: 2px solid var(--color-primary); border-radius: 0; }
.contact-banner h2 { margin-top: 0; }
.contact-banner p { max-width: 65ch; }
/* Pages de contenu et navigation dans les textes longs. */
.page-header h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.page-header .lead { max-width: 65ch; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose.narrow { max-width: 70ch; }
.prose h2 { border-bottom: 0; padding-bottom: 0; font-weight: 600; }
.prose h3 { font-weight: 600; }
.prose [id] { scroll-margin-top: 110px; }
.page-toc-inner { background: transparent; border: 0; border-left: 1px solid var(--color-border); border-radius: 0; padding-left: 1.25rem; }
.page-toc nav a { font-size: .9375rem; }
/* Accordéons : mêmes repères sur les prestations et les formations. */
.training-item, .interventions-list .intervention-item { border-radius: 6px; }
.interventions-list .intervention-item > summary { border-radius: 6px; }
.interventions-list .intervention-item[open] > summary { border-radius: 6px 6px 0 0; }
.training-toggle, .interventions-list .intervention-toggle { border-radius: 4px; }
.training-panel, .training-price-card, .contact-side-card { border-radius: 6px; box-shadow: none; }
.training-price { font-variant-numeric: tabular-nums; }
.faq-list details { border: 0; border-top: 1px solid var(--color-border); border-radius: 0; padding: 1.1rem 0; background: transparent; }
.faq-list details + details { margin-top: 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--color-border); }
.faq-list summary { font-size: 1.125rem; }
.faq-list p { max-width: 70ch; margin: .7rem 0 0; }
.logo-strip-title { text-align: left; }
.site-footer { background: #f3f6f8; }
@media (max-width: 1080px) {
  .hero-grid-enhanced { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { max-width: 44rem; }
  .hero .lead { max-width: 65ch; }
  .hero-visual { max-width: 42rem; }
  .hero-enhanced { padding: 2.75rem 0 3rem; }
}
@media (max-width: 700px) {
  section[aria-labelledby='offres-titre'] .card { grid-template-columns: 1fr; gap: .75rem; padding: 1.35rem 0; }
  section[aria-labelledby='offres-titre'] .card h3 { grid-column: 1; grid-row: auto; max-width: none; font-size: 1.35rem; }
  section[aria-labelledby='offres-titre'] .card p { grid-column: 1; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 2.65rem); }
  .hero .lead { font-size: 1.125rem; }
  .contact-banner { padding: 1.5rem 0; }
  .prose { font-size: 1.0625rem; }
  .page-toc-inner { padding: 1rem; background: var(--color-bg-soft); border: 0; border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .header-cta { transition: none; }
}
@media print {
  .hero, .site-footer, .section-muted { background: #fff; }
  .hero-visual-main { box-shadow: none; }
}
/* Images de contenu : ne jamais dépasser la colonne sur mobile. */
.prose img { max-width: 100%; height: auto; }
.prose img[alt^='Logo'] { max-width: min(200px, 100%); object-fit: contain; }
.certification-logos img, .prose .certification-logos img {
  width: 100px; max-width: 100%; height: auto; padding: .4rem;
}
@media (max-width: 600px) {
  .certification-logos { gap: .5rem; }
  .certification-logos img, .prose .certification-logos img { width: 88px; }
}
