/* SMC — refonte design, version sobre.
   Couche de style uniquement : aucun contenu, balisage ni méta modifié.
   Chargée après le CSS en ligne de chaque page. Pour revenir en arrière,
   retirer le <link rel="stylesheet" href="/redesign.css"> du <head>.
   Principes : une seule famille (Inter), aplats, bordures nettes, pas
   d'italique décoratif, pas de dégradés, pas de flou vitré, pas de lueurs. */

:root {
  --bg: #F7F8FA;
  --bg-card: #FFFFFF;
  --bg-surface: #EEF2F7;
  --accent: #1A78C2;
  --accent-dim: rgba(26, 120, 194, 0.08);
  --accent-border: #DDE3EB;
  --brand: #0F1B4D;
  --brand-deep: #0A1338;
  --text: #111827;
  --text-soft: #374151;
  --text-muted: #5B6575;
  --radius: 8px;
  --radius-lg: 12px;
}

html { scroll-padding-top: 88px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ─── Typographie : une seule famille, pas d'italique décoratif ─── */
html body *:not(svg):not(svg *) { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important; }

h1, h2, h3, h4, .hero-title, .section-title {
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--text);
}
h1 em, h2 em, h3 em, .hero-title .accent, .section-title em,
h1 i, h2 i, h3 i, .accent {
  font-style: normal !important;
  font-weight: inherit;
  color: inherit !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
.hero-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); }

.hero-sub, .section-sub, p, li { line-height: 1.65; }
p, li, .section-text, .hero-sub, .content p { text-align: left !important; hyphens: none !important; }
.hero-sub { font-weight: 400; }
.stat-value, .hero-stat-number { font-weight: 600; letter-spacing: -0.02em; font-style: normal !important; }

/* Étiquettes : texte simple, sans pastille ni lettrage étiré */
.section-label, .hero-badge {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--brand);
  background: none;
  border: 0;
  border-radius: 0;
  padding-left: 0; padding-right: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero-badge::before { display: none; }
.hero:has(.hero-bg) .hero-badge { color: #A9C4E4; }

/* ─── Navigation ─── */
nav {
  background: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--accent-border);
  box-shadow: none;
}
.nav-links a { font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 14px; }
.nav-links a:hover { color: var(--brand); }
.nav-tagline { letter-spacing: .06em; }

/* ─── Boutons : aplats ─── */
.btn-primary, .nav-cta, .form-submit {
  background: var(--brand) !important;
  color: #fff !important;
  border: 1px solid var(--brand) !important;
  border-radius: 6px;
  box-shadow: none;
  text-transform: none !important;
  letter-spacing: .01em !important;
  font-weight: 600 !important;
  transition: background .15s, border-color .15s;
}
.btn-primary:hover, .nav-cta:hover, .form-submit:hover {
  background: var(--brand-deep) !important;
  border-color: var(--brand-deep) !important;
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid #BFC8D6;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color .15s, background .15s;
}
.btn-secondary:hover { background: var(--bg-surface); border-color: var(--brand); color: var(--brand); transform: none; }
.hero:has(.hero-bg) .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero:has(.hero-bg) .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ─── Hero de l'accueil : aplat marine, sans grille ni lueur ─── */
.hero-bg { background: #0F1B4D !important; }
.hero-grid-overlay { display: none; }
.hero:has(.hero-bg) .hero-title { color: #fff; }
.hero:has(.hero-bg) .hero-sub { color: #C9D6EA; }
.hero:has(.hero-bg) .hero-stat-number { color: #fff; }
.hero:has(.hero-bg) .hero-stat-label { color: #A9C4E4; }

/* ─── Cartes : bordure nette, sans ombre portée ni soulèvement ─── */
.atout-card, .service-card, .review-card, .contact-form, .zones-visual, .digital-mockup,
.faq-item, .reviews-score, .zone-item {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: border-color .15s;
}
.atout-card:hover, .service-card:hover, .review-card:hover, .zone-item:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--brand);
}
.atout-card::before, .service-card::before { display: none; }
.atout-icon, .service-icon, .digital-feature-icon, .contact-item-icon, .zones-visual-icon {
  background: var(--bg-surface);
  border: 0;
  border-radius: 8px;
  color: var(--brand);
}
.tag { border-radius: 4px; }

/* ─── Sections ─── */
#stats .stats-inner {
  background: var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: none;
  color: #fff;
}
#stats .stats-inner::before { display: none; }
#stats .stat-block { background: transparent; border: 0; box-shadow: none; }
#stats .stat-value, #stats .stat-suffix, #stats .stat-label { color: #fff; }
#stats .stat-label { opacity: .85; letter-spacing: .02em; text-transform: none; }

.reviews-band { background: #fff; }
.stars { color: #E8A317; }

/* ─── FAQ ─── */
.faq-item { margin-bottom: 8px; overflow: hidden; }
.faq-item.open { border-color: var(--brand); box-shadow: none; }

/* ─── Formulaires ─── */
input, select, textarea {
  border-radius: 6px !important;
  border: 1px solid #BFC8D6 !important;
  background: #fff !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: none !important;
}

/* ─── Pied de page ─── */
footer { background: #0F1B4D; color: rgba(255,255,255,.78); border-top: 0; }
footer h3, footer .footer-col h3 { color: #fff !important; letter-spacing: .04em; text-transform: none; font-size: 14px; }
footer a, footer .footer-col a, footer .footer-legal a { color: rgba(255,255,255,.78) !important; }
footer a:hover, footer .footer-col a:hover, footer .footer-legal a:hover { color: #fff !important; text-decoration: underline; }
footer .footer-brand p, footer .footer-bottom, footer .nav-tagline, footer .nav-wordmark { color: rgba(255,255,255,.68); }
.footer-bottom, .footer-top { border-color: rgba(255,255,255,.14); }

/* ─── Contenu courant ─── */
main a:not([class]), article a:not([class]) { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
main a:not([class]):hover, article a:not([class]):hover { color: var(--accent); }
table { border-radius: var(--radius); overflow: hidden; }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(32px, 9vw, 42px); }
}

/* ─── Mouvement réduit ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ─── Fil d'Ariane visible (reprend à l'identique le BreadcrumbList JSON-LD) ─── */
nav.fil-ariane { position: static; display: block; height: auto; max-width: 1100px; margin: 0 auto; padding: 14px 24px 0; font-size: 13px; background: none; border: 0; box-shadow: none; z-index: auto; }
.fil-ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--text-muted); }
.fil-ariane li + li::before { content: "/"; margin-right: 6px; color: #9AA5B5; }
.fil-ariane a { color: var(--brand); text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }
.fil-ariane li[aria-current] { color: var(--text-soft); }
.fil-ariane li { text-align: left; }
