/* ============================================================
   Webside Associates — Styles principaux
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Raleway:wght@300;400;500;600;700&family=Nunito+Sans:wght@300;400;600&display=swap');

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes list-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:          #0b1a3e;
  --navy-overlay:  rgba(6, 12, 34, 0.88);
  --blue:          #2c6fad;
  --blue-light:    #3a8fc5;
  --teal:          #1a87a8;
  --white:         #ffffff;
  --grey-light:    #d8e4f0;
  --text-dark:     #1a202c;
  --text-mid:      #4a5568;
  --bg-light:      #f4f7f9;
  --font-display:  'Raleway', sans-serif;
  --font-body:     'Nunito Sans', sans-serif;
  --font-sora:     'Sora', sans-serif;

  /* Largeur des conteneurs de page. Les blocs de texte courant gardent
     leur propre mesure, plus étroite : une ligne de 1500px ne se lit pas. */
  --container:     1500px;
}

html, body { height: 100%; font-family: var(--font-body); scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000; height: 72px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  background: rgba(255,255,255,1);
}
.nav-container {
  max-width: var(--container); margin: 0 auto;
  /* 2.5rem fixes faisaient deborder le bouton menu a 320px : le logo seul
     prend deja 150px. La marge suit la largeur disponible. */
  padding: 0 clamp(14px, 4vw, 2.5rem);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(0.75rem, 3vw, 2rem);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; padding: 10px 12px; }
.logo-img { height: 40px; width: auto; max-width: min(200px, 52vw); object-fit: contain; display: block; }
@media (max-width: 480px) { .logo-img { height: 32px; } }

.nav-center { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-menu { list-style: none; display: flex; gap: 0; }

.nav-item { position: relative; }
/* bridge transparent pour couvrir le gap entre nav-item et dropdown */
.nav-item.has-dropdown::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 6px;
}
.nav-item > a {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: #444;
  transition: color 0.2s; white-space: nowrap; position: relative;
}
.nav-item > a::after {
  content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.22s ease;
}
.nav-item > a:hover { color: var(--blue); }
.nav-item > a:hover::after { transform: scaleX(1); }

.nav-item .arrow {
  font-size: 0.65rem; opacity: 0.5; transition: transform 0.22s, opacity 0.22s;
  margin-left: 1px;
}
.nav-item:hover .arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.dropdown {
  visibility: hidden; opacity: 0; pointer-events: none;
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 210px; background: var(--white); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px; overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.dropdown::before {
  content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; background: var(--white);
  border-left: 1px solid rgba(0,0,0,0.06); border-top: 1px solid rgba(0,0,0,0.06);
  transform: translateX(-50%) rotate(45deg);
}
.nav-item:hover .dropdown {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 0.6rem 0.9rem; font-size: 0.855rem; color: #444;
  border-radius: 7px; transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: #f0f6ff; color: var(--blue); }

/* CTA button */
.nav-cta {
  flex-shrink: 0;
}
.nav-cta a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.5rem 1.15rem; background: var(--blue); color: var(--white) !important;
  border-radius: 6px; font-size: 0.855rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta a:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44,111,173,0.3);
}
.nav-cta a::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; background: none; border: none; flex: none;
  /* Cible tactile de 44px, recommandation WCAG 2.5.5. */
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-cta-mobile { display: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #444; border-radius: 2px; transition: all 0.28s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%; min-height: 100vh; min-height: 100svh; padding-top: 72px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--navy);
}
.hero-overlay { position: absolute; inset: 0; background: var(--navy-overlay); }
.hero-content {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center; padding: 2rem;
  animation: heroIn 0.8s ease both; color: var(--white);
}
.hero-logo { margin-bottom: 1.6rem; }
.hero-logo img { width: 140px; height: 140px; object-fit: contain; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,4rem); font-weight: 600; margin-bottom: 0.7rem; }
.hero-subtitle { font-size: clamp(1rem,1.8vw,1.2rem); font-weight: 300; color: var(--grey-light); letter-spacing: 0.04em; margin-bottom: 2.2rem; }
.hero-buttons { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
  border-radius: 10px; border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none; letter-spacing: 0.01em; font-family: inherit;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 4px 20px rgba(44,111,173,0.25); }
.btn-primary:hover { background: #163da0; border-color: #163da0; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(44,111,173,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); transform: translateY(-2px); }

/* ── Expertise ────────────────────────────────────────────── */
.expertise-section { background: var(--white); padding: 80px 20px; overflow-x: clip; }
.expertise-container {
  max-width: var(--container); margin: 0 auto; display: flex; gap: 40px; align-items: stretch;
}
.expertise-left { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.expertise-title { font-size: clamp(2rem,3.5vw,2.75rem); font-weight: 700; color: #1a3a5f; margin-bottom: 12px; line-height: 1.3; }
.expertise-description { font-size: 14px; color: var(--text-mid); margin-bottom: 32px; line-height: 1.6; }

/* Trois colonnes en flex ne se replient jamais : sous 360px les titres
   depassaient. Une grille auto-fit se reorganise d'elle-meme, sans palier. */
.expertise-columns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px; align-items: start;
}
.expertise-col { min-width: 0; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.3s; }
.expertise-col:hover { transform: translateY(-8px); }
.expertise-icon-box {
  width: 80px; height: 80px; border-radius: 12px; background: #f0f4f7;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transition: all 0.3s; flex-shrink: 0;
}
.expertise-icon-box svg { width: 40px; height: 40px; color: #1976d2; transition: color 0.3s; }
.expertise-col:hover .expertise-icon-box { background: #1976d2; transform: scale(1.1); box-shadow: 0 8px 16px rgba(25,118,210,0.3); }
.expertise-col:hover .expertise-icon-box svg { color: var(--white); }
.expertise-col h3 { font-size: 20px; font-weight: 700; color: #1a3a5f; margin-bottom: 8px; }
.expertise-col p { font-size: 14px; color: var(--text-mid); line-height: 1.5; }

.expertise-right { flex: 0 0 420px; display: flex; align-items: flex-start; }
.commitment-block {
  background: linear-gradient(160deg, #1d3f64 0%, #143251 100%);
  border-radius: 16px; padding: 28px 30px; width: 100%;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 40px rgba(11,30,53,0.24);
  animation: fade-in-right 0.8s ease-out both;
}
.commitment-title { font-family: var(--font-sora); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.3; }
.commitment-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.commitment-item {
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0; animation: list-rise 0.6s ease-out forwards;
}
.commitment-item:nth-child(1) { animation-delay: 0.2s; }
.commitment-item:nth-child(2) { animation-delay: 0.32s; }
.commitment-item:nth-child(3) { animation-delay: 0.44s; }
.commitment-item:nth-child(4) { animation-delay: 0.56s; }
.commitment-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: linear-gradient(140deg, #5a97e8 0%, #3b7ddd 100%);
  box-shadow: 0 8px 14px rgba(25,85,150,0.35);
  display: flex; align-items: center; justify-content: center;
}
.commitment-check svg { width: 14px; height: 14px; color: var(--white); }
.commitment-item span { font-size: 15px; font-weight: 500; color: var(--white); line-height: 1.6; }

/* ── Services ─────────────────────────────────────────────── */
.services-section { background: var(--bg-light); padding: 80px 20px; }
.services-header { text-align: center; margin-bottom: 48px; max-width: var(--container); margin-left: auto; margin-right: auto; }
.services-main-title { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.services-description { font-size: 16px; color: #718096; line-height: 1.6; max-width: 800px; margin: 0 auto; }

.services-grid { display: flex; gap: 24px; max-width: var(--container); margin: 0 auto; flex-wrap: wrap; }

.service-card {
  background: var(--white); border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
  flex: 1; min-width: 250px; transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.service-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }

.svc-icon-wrap {
  background: #f0f4f7; border-radius: 50%; padding: 12px;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.svc-icon { width: 28px; height: 28px; }
.svc-purple { color: #9b59b6; }
.svc-orange { color: #f7a052; }
.svc-green  { color: #2ec197; }

.service-card:nth-child(1):hover .svc-icon-wrap { background: #e5d1f1; }
.service-card:nth-child(2):hover .svc-icon-wrap { background: #ffebd2; }
.service-card:nth-child(3):hover .svc-icon-wrap { background: #d1f4e9; }

.svc-tag { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-purple { background: #f1e6f7; color: #9b59b6; }
.tag-orange { background: #fff3e6; color: #f7a052; }
.tag-green  { background: #e6f7f2; color: #2ec197; }

.svc-body { flex-grow: 1; padding-bottom: 24px; }
.svc-body h3 { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.svc-body > p { font-size: 15px; color: #718096; margin-bottom: 20px; }
.svc-body ul { list-style: none; }
.svc-body li { font-size: 15px; color: #4a5568; display: flex; align-items: center; margin-bottom: 12px; }
.svc-body li svg { width: 18px; height: 18px; color: #2ec197; margin-right: 10px; flex-shrink: 0; }

.svc-footer { margin-top: auto; }
.svc-link {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700; font-family: inherit;
  background: transparent; color: var(--blue);
  border-radius: 10px; border: 1.5px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none; cursor: pointer;
}
.svc-link:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(44,111,173,0.12); }

/* ── Features ─────────────────────────────────────────────── */
.features-section { background: var(--white); padding: 80px 40px; }
/* Grille fluide plutot que 4 puis 2 colonnes imposees : les paliers laissaient
   des cartes ecrasees entre deux breakpoints, et deux colonnes a 320px
   depassaient. clamp lisse aussi l'ecart entre les cartes. */
.features-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.feature-card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: 20px; border-radius: 12px; cursor: pointer; transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.feat-icon-box {
  width: 80px; height: 80px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: all 0.3s; flex-shrink: 0;
}
.feat-icon-box svg { width: 40px; height: 40px; }
.feature-card:hover .feat-icon-box { transform: scale(1.15) rotate(5deg); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }

.feat-blue   { background: #e3f2fd; }
.feat-green  { background: #e8f5e9; }
.feat-orange { background: #fff3e0; }
.feat-purple { background: #f3e5f5; }

.feat-blue   svg { color: #1976d2; }
.feat-green  svg { color: #388e3c; }
.feat-orange svg { color: #f57c00; }
.feat-purple svg { color: #7b1fa2; }

.feature-card:hover .feat-blue   { background: #1976d2; }
.feature-card:hover .feat-green  { background: #388e3c; }
.feature-card:hover .feat-orange { background: #f57c00; }
.feature-card:hover .feat-purple { background: #7b1fa2; }
.feature-card:hover .feat-icon-box svg { color: var(--white); }

.feature-card h3 { font-size: 20px; font-weight: 700; color: #212121; margin-bottom: 16px; }
.feature-card p  { font-size: 15px; color: #616161; line-height: 1.6; }

/* ── Slider ───────────────────────────────────────────────── */
.slider-section { background: var(--bg-light); padding: 60px 40px; }
.ws-slider { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; }
.ws-slides { display: flex; transition: transform 0.55s cubic-bezier(0.65,0,0.35,1); will-change: transform; }
.ws-slide { min-width: 100%; display: flex; align-items: center; gap: 48px; }

.ws-slide__text { flex: 1 1 55%; }
.ws-slide__text h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; color: #111; margin-bottom: 24px; letter-spacing: -0.02em; }
.ws-slide__text blockquote { font-size: clamp(0.88rem,1.4vw,1rem); font-style: italic; color: #333; line-height: 1.75; margin-bottom: 20px; }
.ws-slide__text cite { display: block; font-style: normal; font-weight: 700; font-size: 0.92rem; color: #111; text-align: right; }
.ws-slide__text cite span { display: block; font-weight: 400; color: #555; font-size: 0.86rem; }

.ws-slide__btn {
  display: inline-block; margin-top: 28px; padding: 13px 28px;
  background: #1a6fa8; color: var(--white); border-radius: 6px;
  font-size: 0.92rem; font-weight: 600; transition: background 0.2s;
}
.ws-slide__btn:hover { background: #145a8a; }

.ws-slide__img { flex: 0 0 38%; max-width: 420px; }
.ws-slide__img img { width: 100%; height: auto; }

.ws-controls { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.ws-controls.visible { display: flex; }
.ws-arrow {
  width: 40px; height: 40px; border: 2px solid #1a6fa8; border-radius: 50%;
  background: transparent; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s, color 0.2s; color: #1a6fa8;
}
.ws-arrow:hover { background: #1a6fa8; color: var(--white); }
.ws-arrow svg { width: 16px; height: 16px; }
.ws-dots { display: flex; gap: 8px; }
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: #bbb; border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.ws-dot.active { background: #1a6fa8; transform: scale(1.3); }

/* ── Contact ──────────────────────────────────────────────── */
.contact-section { background: var(--white); padding: 80px 20px; }
.contact-wrapper {
  max-width: var(--container); margin: 0 auto;
  display: flex; gap: 40px; align-items: flex-start;
}
.contact-form-card {
  flex: 1; background: var(--white); border-radius: 16px;
  padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.contact-form-card h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-intro { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem; border: 1px solid #dde3ee; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bac9; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,111,173,0.12); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
.form-group textarea { resize: vertical; min-height: 130px; }
@media (max-width: 992px) {
  /* 16px minimum : en dessous, iOS zoome sur le champ au focus. */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 0.8rem 0.9rem; }
  .form-group textarea { min-height: 120px; }
}

.contact-submit {
  padding: 0.85rem; background: var(--blue); color: var(--white); border: none;
  border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: background 0.2s, transform 0.15s;
}
.contact-submit:hover { background: #245a8f; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(44,111,173,0.3); }
.contact-submit:active { transform: none; box-shadow: none; }
.contact-submit:disabled { opacity: .7; cursor: progress; transform: none; }

.contact-info-col { flex: 0 0 360px; display: flex; flex-direction: column; gap: 20px; }
.info-block {
  background: var(--white); border-radius: 12px; padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06); border: 1px solid #eef0f5;
}
.info-block h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.info-block > p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 14px; }

.rdv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; background: var(--blue); color: var(--white);
  border-radius: 10px; border: 1.5px solid var(--blue); font-weight: 700; font-size: 0.95rem;
  font-family: inherit; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(44,111,173,0.25);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.rdv-btn svg { width: 18px; height: 18px; color: currentColor; flex-shrink: 0; }
.rdv-btn:hover { background: #163da0; border-color: #163da0; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(44,111,173,0.35); }

.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #f0f2f6; font-size: 0.875rem; color: var(--text-dark);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .closed { color: #a0aec0; }

.coord-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--text-dark); padding: 8px 0;
}
.coord-item svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .expertise-right { flex: 0 0 360px; }
  .contact-info-col { flex: 0 0 300px; }
}

@media (max-width: 992px) {
  .expertise-container { flex-direction: column; }
  .expertise-right { flex: 1; width: 100%; }
  .services-grid { flex-direction: column; }
  .service-card { flex: none; width: 100%; }
  .ws-slide { flex-direction: column-reverse; gap: 24px; }
  .ws-slide__img { max-width: 100%; width: 100%; }
  .contact-wrapper { flex-direction: column; }
  .contact-info-col { flex: 1; width: 100%; }

  /* Navbar mobile */
  .nav-center {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--white); flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 0.5rem 0 1rem;
    /* Ecran court ou paysage : le menu doit defiler, pas sortir de l'ecran. */
    max-height: calc(100dvh - 72px); overflow-y: auto;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .nav-center.open { display: flex; }
  .nav-menu { flex-direction: column; width: 100%; }
  .nav-item > a { padding: 0.85rem 1.5rem; border-radius: 0; }
  .nav-item > a::after { display: none; }
  .dropdown {
    visibility: visible; opacity: 1; pointer-events: auto;
    position: static; transform: none; box-shadow: none; border: none;
    background: #f8faff; border-left: 3px solid var(--blue);
    margin: 0 1.5rem; border-radius: 0 6px 6px 0; padding: 4px 0;
    display: none;
  }
  .dropdown::before { display: none; }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { visibility: visible; opacity: 1; transform: none; display: none; }
  .nav-item.open > a { color: var(--blue); }
  /* Le bouton de la barre ne tient pas a cote du logo sur mobile ; c'est son
     jumeau, place dans le menu deroulant, qui prend le relais. L'action
     principale du site ne doit pas disparaitre. */
  .nav-cta { display: none; }
  /* .nav-center centre ses enfants : sans align-self le bouton reste etroit. */
  .nav-cta-mobile { display: block; align-self: stretch; margin: 0.75rem 1.5rem 0; }
  .nav-cta-mobile a {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 1.25rem; border-radius: 10px;
    background: var(--blue); color: var(--white); font-weight: 700;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .expertise-columns { gap: 16px; }
  .features-section { padding: 60px 20px; }
  .slider-section { padding: 40px 20px; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { text-align: center; }
  .form-row { flex-direction: column; }
  .services-header { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .feat-icon-box { width: 64px; height: 64px; }
  .feat-icon-box svg { width: 32px; height: 32px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 14px; }
  .contact-form-card { padding: 24px; }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 20px 0;
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
}
.footer-logo-img { height: 32px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 240px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-col a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

@media (max-width: 992px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .commitment-block, .commitment-item { animation: none; opacity: 1; }
  .ws-slides { transition: none; }
}

/* ── CMS Blocks ───────────────────────────────────────────── */

.cms-text { padding: 80px 40px; background: var(--white); }
.cms-text--grey { background: var(--bg-light); }
.cms-text__inner { max-width: var(--container); margin: 0 auto; }
.cms-text__inner.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cms-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: #1a3a5f; margin-bottom: 16px; }
.cms-text p { font-size: .97rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }

.cms-imgtext { padding: 80px 40px; }
.cms-imgtext--white { background: var(--white); }
.cms-imgtext--grey  { background: var(--bg-light); }
.cms-imgtext__inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 56px; align-items: center; }
.cms-imgtext--right .cms-imgtext__inner { flex-direction: row-reverse; }
.cms-imgtext__text { flex: 1; min-width: 0; }
.cms-imgtext__text h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: #1a3a5f; margin-bottom: 16px; }
.cms-imgtext__text p { font-size: .97rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.cms-imgtext__img { flex: 0 0 480px; }
.cms-imgtext__img img { width: 100%; border-radius: 12px; object-fit: cover; display: block; }

.cms-cards { padding: 80px 40px; }
.cms-cards--white { background: var(--white); }
.cms-cards--grey  { background: var(--bg-light); }
.cms-cards__inner { max-width: var(--container); margin: 0 auto; }
.cms-cards__intro { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cms-cards__intro h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; color: #1a3a5f; margin-bottom: 12px; }
.cms-cards__intro p { font-size: .97rem; color: var(--text-mid); line-height: 1.75; }
.cms-cards__grid { display: grid; gap: 24px; }
.cms-cards__grid--2 { grid-template-columns: repeat(2,1fr); }
.cms-cards__grid--4 { grid-template-columns: repeat(4,1fr); }
.cms-card { background: var(--white); border-radius: 12px; padding: 28px 24px; border: 1px solid #e8eef4; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; }
.cms-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(25,58,95,.1); }
.cms-card__icon { width: 48px; height: 48px; border-radius: 10px; background: #e8f0fb; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cms-card__icon svg { width: 22px; height: 22px; color: #1976d2; }
.cms-card h4 { font-size: .95rem; font-weight: 700; color: #1a3a5f; margin-bottom: 8px; }
.cms-card p { font-size: .87rem; color: var(--text-mid); line-height: 1.6; }

.cms-services { padding: 80px 40px; }
.cms-services--white { background: var(--white); }
.cms-services--grey  { background: var(--bg-light); }
.cms-services__inner { max-width: var(--container); margin: 0 auto; }
.cms-services__intro { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cms-services__intro h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; color: #1a3a5f; margin-bottom: 12px; }
.cms-services__intro p { font-size: .97rem; color: var(--text-mid); line-height: 1.75; }
.cms-services__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.cms-service { display: flex; gap: 16px; align-items: flex-start; }
.cms-service__icon { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; background: #e8f0fb; display: flex; align-items: center; justify-content: center; }
.cms-service__icon svg { width: 18px; height: 18px; color: #1976d2; }
.cms-service h4 { font-size: .92rem; font-weight: 700; color: #1a3a5f; margin-bottom: 4px; }
.cms-service p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

.cms-steps { padding: 80px 40px; }
.cms-steps--white { background: var(--white); }
.cms-steps--grey  { background: var(--bg-light); }
.cms-steps__inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 56px; align-items: center; }
.cms-steps__left { flex: 1; min-width: 0; }
.cms-steps__left h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: #1a3a5f; margin-bottom: 16px; }
.cms-steps__left p { font-size: .97rem; color: var(--text-mid); line-height: 1.8; }
.cms-steps__right { flex: 0 0 520px; background: linear-gradient(160deg,#1d3f64,#143251); border-radius: 16px; padding: 32px 30px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 40px rgba(11,30,53,.24); }
.cms-steps__list { display: flex; flex-direction: column; gap: 20px; }
.cms-step { display: flex; gap: 18px; align-items: flex-start; }
.cms-step__num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,.2); line-height: 1; flex-shrink: 0; min-width: 32px; }
.cms-step__title { display: block; font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.cms-step__detail { display: block; font-size: .83rem; color: rgba(255,255,255,.6); line-height: 1.5; }

.cms-cta { padding: 72px 40px; text-align: center; }
.cms-cta--white { background: var(--white); }
.cms-cta--grey  { background: var(--bg-light); }
.cms-cta--dark  { background: linear-gradient(135deg,#1a2d5a,#1976d2); }
.cms-cta--dark .cms-cta__title { color: #fff; }
.cms-cta--dark .cms-cta__body  { color: rgba(255,255,255,.75); }
.cms-cta__inner { max-width: 640px; margin: 0 auto; }
.cms-cta__title { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: #1a3a5f; margin-bottom: 12px; }
.cms-cta__body  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }
.cms-cta__btns  { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cms-cta__btn   { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-size: .92rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.cms-cta__btn--dark    { background: #1a3a5f; color: #fff; border: 2px solid #1a3a5f; }
.cms-cta__btn--dark:hover { background: #142d4a; }
.cms-cta__btn--outline { background: transparent; color: #1a3a5f; border: 2px solid #1a3a5f; }
.cms-cta__btn--outline:hover { background: #1a3a5f; color: #fff; }
.cms-cta--dark .cms-cta__btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cms-cta--dark .cms-cta__btn--outline:hover { background: #fff; color: #1a3a5f; }

@media (max-width: 900px) {
  .cms-imgtext__inner { flex-direction: column !important; gap: 40px; }
  .cms-imgtext__img { flex: none; width: 100%; }
  .cms-steps__inner { flex-direction: column; gap: 40px; }
  .cms-steps__right { flex: none; width: 100%; }
  .cms-cards__grid--4 { grid-template-columns: repeat(2,1fr); }
  .cms-services__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cms-text, .cms-imgtext, .cms-cards, .cms-services, .cms-steps, .cms-cta { padding: 48px 20px; }
  .cms-text__inner.cols-2 { grid-template-columns: 1fr; gap: 32px; }
  .cms-cards__grid--2, .cms-cards__grid--4 { grid-template-columns: 1fr; }
}

/* ── Corrections responsive partagées ──────────────────────────────────────
   Chaque page interne porte son propre <style>, avec les mêmes classes
   recopiées d'un fichier à l'autre (.page-hero*, .svc-*, .actu-*). Corriger
   neuf fois la même règle serait le meilleur moyen d'en oublier une : les
   réglages communs à toutes ces pages vivent ici.

   Le sélecteur est préfixé par `body` uniquement pour passer devant la copie
   locale, écrite après cette feuille dans le document. C'est un point de
   spécificité, pas un !important. */

/* 40px de marge de chaque côté, c'est un quart d'un écran de 320px. */
body .page-hero-content,
body .article-body,
body .svc-page-section,
body .ws-loc,
body .actu-section { padding-inline: clamp(20px, 5vw, 40px); }

body .svc-quote-panel { padding: clamp(24px, 4vw, 36px) clamp(20px, 5vw, 40px); }

/* Étiquettes en capitales : 11px en majuscules espacées ne se lisent plus. */
body .page-hero-tag,
body .article-cat,
body .actu-card-cat { font-size: 0.78rem; }

/* .svc-grid : 3 / 2 / 1 colonnes définies par page (6 cartes = jamais de carte orpheline).
   Un auto-fit ici donnait 5 colonnes + 1 carte seule sur la 2e ligne. */
body .actu-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
body .svc-card,
body .actu-card { min-width: 0; }

/* Un lien de retour doit se toucher, pas se viser. */
body .back-link { min-height: 44px; }

/* Les mots à rallonge (URL, adresses e-mail, noms de fichiers) ne doivent pas
   élargir leur conteneur. */
body { overflow-wrap: break-word; }

@media (max-width: 992px) {
  /* Liens du pied de page : 20px de haut, impossibles à viser au doigt.
     Le remplissage vertical remplace l'écart de la liste. */
  .footer-col ul { gap: 0; }
  .footer-col a { display: block; padding: 10px 0; }
  .footer-brand .footer-logo { padding: 6px 0; }
}

/* Bannière des pages internes : `42vh` se recalcule quand la barre d'adresse
   du téléphone se rétracte, et toute la page saute au premier défilement.
   `svh` est la hauteur stable ; les navigateurs qui l'ignorent gardent le
   `42vh` déclaré dans la page. */
body .page-hero,
body .audit-hero { height: 42svh; }

/* Écran court (téléphone en paysage) : 260px de bannière ne laissent presque
   rien au contenu sous une barre de navigation de 72px. */
@media (max-height: 520px) {
  body .page-hero,
  body .audit-hero { min-height: 170px; }
}

/* Champs de formulaire des pages internes : elles redéfinissent `.form-group
   input` dans leur propre <style>, qui passe devant la règle générique. Sous
   16px, iOS zoome sur le champ au focus et ne dézoome jamais. */
@media (max-width: 992px) {
  body .form-group input,
  body .form-group select,
  body .form-group textarea { font-size: 16px; }
}

/* Champs de formulaire : survol, accent, et liste déroulante stylable.
   `appearance: base-select` (Chrome/Edge 135+) rend la liste en CSS ;
   ailleurs la liste native reste, sans casse. */
body .form-group input,
body .form-group select,
body .form-group textarea { accent-color: var(--blue); }
body .form-group input:hover,
body .form-group select:hover,
body .form-group textarea:hover { border-color: #a9bdd3; }

@supports (appearance: base-select) {
  body .form-group select,
  body .form-group select::picker(select) { appearance: base-select; }
  body .form-group select { background-image: none; cursor: pointer; }
  body .form-group select::picker-icon { color: #718096; transition: rotate .2s; }
  body .form-group select:open::picker-icon { rotate: 180deg; }
  body .form-group select::picker(select) {
    margin-top: 6px; padding: 6px;
    border: 1px solid #d1dde9; border-radius: 10px;
    background: #fff; box-shadow: 0 12px 32px rgba(11,30,53,.14);
  }
  body .form-group select option {
    padding: 10px 12px; border-radius: 6px; font-size: .92rem; color: #1a3a5f;
    cursor: pointer; display: flex; gap: 8px; align-items: center;
  }
  body .form-group select option:hover,
  body .form-group select option:focus { background: #eaf2fb; }
  body .form-group select option:checked { background: #dbe9f8; font-weight: 600; }
  body .form-group select option:disabled { color: #a0aec0; cursor: default; font-weight: 400; background: none; }
  body .form-group select option:disabled::checkmark { display: none; }
  body .form-group select option::checkmark { color: var(--blue); }
}

/* FAQ de bas de page (SEO + aide au visiteur) : <details> natif, sans JS. */
.faq-section { background: var(--bg-light); padding: 72px clamp(20px, 5vw, 40px); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-inner h2 { font-family: var(--font-display); font-size: 1.7rem; color: #1a3a5f; margin-bottom: 24px; }
.faq-item { background: #fff; border: 1px solid #e2eaf4; border-radius: 12px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: #1a3a5f; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); line-height: 1; transition: rotate .2s; }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { padding: 0 22px 20px; color: var(--text-mid); line-height: 1.7; margin: 0; }
.faq-see-also { margin-top: 28px; font-size: .92rem; color: var(--text-mid); }
.faq-see-also a { color: var(--blue); margin-right: 14px; white-space: nowrap; }

.ws-toast { position: fixed; bottom: 32px; left: 50%; translate: -50% 0; z-index: 9999; max-width: calc(100vw - 40px);
  padding: 14px 24px; border-radius: 10px; color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.ws-toast.ok { background: #16a34a; }
.ws-toast.ko { background: #dc2626; }

/* ── Mouvements retenus (idées 01, 07, 10, 18, 20, 22–28, 35) ───────────────── */

/* 01 : l'image du hero arrive en fondu sur le fond marine */
.hero-img { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 0.45s ease; }
.hero-img.in { opacity: 1; }

/* 07 : barre de lecture, seulement si le navigateur lie une animation au défilement */
.read-progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .read-progress { display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--blue-light); transform: scaleX(0); transform-origin: left; z-index: 1100; animation: read-grow linear both; animation-timeline: scroll(root); }
  }
}
@keyframes read-grow { to { transform: scaleX(1); } }

/* 10 : halo sur le formulaire après un lien vers #contact */
.contact-form-card { position: relative; }
.contact-form-card.flash::after { content: ""; position: absolute; inset: -6px; border: 3px solid var(--blue-light); border-radius: 22px; pointer-events: none; animation: ws-flash 1.1s ease-out both; }
@keyframes ws-flash { 0% { opacity: 0; transform: scale(0.985); } 35% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.02); } }

/* 18 : les cartes d'atouts suivent le pointeur, et reviennent doucement */
.feature-card { will-change: transform; }

/* 20 : la FAQ s'ouvre en douceur */
@supports selector(::details-content) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.24s ease, content-visibility 0.24s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}

/* 22 : pastille « Ouvert maintenant » */
.open-now { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-light); border: 1px solid #e2eaf4; border-radius: 99px; padding: 6px 14px; font-size: 0.85rem; font-weight: 700; color: #1a3a5f; margin-bottom: 10px; }
.onl-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #a0aec0; flex: none; }
.onl-dot.live { background: #16a34a; }
.onl-dot.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #16a34a; animation: onl-pulse 2s ease-out infinite; }
@keyframes onl-pulse { from { opacity: 0.55; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

/* 23 : coche dans le champ e-mail · 27 : anneau de caractères */
.fwrap { position: relative; }
.fwrap input { padding-right: 44px; }
.fwrap textarea { padding-right: 52px; }
.ws-tick { position: absolute; right: 12px; top: 50%; margin-top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.26s cubic-bezier(0.34, 1.5, 0.5, 1); pointer-events: none; }
.ws-tick.on { opacity: 1; transform: none; }
.ws-tick svg { width: 13px; height: 13px; }
.ws-ring { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; pointer-events: none; }
.ws-ring circle:last-child { transition: stroke-dashoffset 0.15s linear; }

/* 26 : champ en erreur */
.has-error input, .has-error textarea { border-color: #dc2626 !important; }
.fmsg { font-size: 0.82rem; color: #dc2626; margin-top: 4px; animation: fmsg-in 0.24s ease-out both; }
@keyframes fmsg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.shake { animation: ws-shake 0.36s ease-in-out; }
@keyframes ws-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }

/* 24 : le bouton d'envoi raconte l'envoi */
.ws-send { position: relative; overflow: hidden; }
.ws-send__l { display: block; transition: opacity 0.15s; }
.ws-send__d, .ws-send__ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity 0.15s, transform 0.24s; }
.ws-send__ok svg { width: 18px; height: 18px; }
.ws-send__d { gap: 6px; }
.ws-send__d i { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: block; }
.ws-send.is-sending .ws-send__l, .ws-send.is-sent .ws-send__l { opacity: 0; }
.ws-send.is-sending .ws-send__d { opacity: 1; }
.ws-send.is-sending .ws-send__d i { animation: ws-bounce 0.52s ease-in-out infinite; }
.ws-send.is-sending .ws-send__d i:nth-child(2) { animation-delay: 0.11s; }
.ws-send.is-sending .ws-send__d i:nth-child(3) { animation-delay: 0.22s; }
@keyframes ws-bounce { 50% { transform: translateY(-5px); } }
.ws-send.is-sent, .ws-send.is-sent:hover { background: #16a34a !important; border-color: #16a34a !important; }
.ws-send.is-sent .ws-send__ok { opacity: 1; }

/* 25 : l'enveloppe part, le remerciement prend la place du formulaire */
.thx { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; background: #fff; border-radius: inherit; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.thanked .thx { opacity: 1; visibility: visible; }
.thx__env { position: relative; width: 64px; height: 64px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; }
.thx__env svg { width: 34px; height: 34px; }
.thx h3 { font-family: var(--font-display); font-size: 1.5rem; color: #1a3a5f; }
.thx p { color: var(--text-mid); }
.thx__again { margin-top: 8px; font: 700 0.9rem var(--font-body); color: var(--blue); background: none; border: 1.5px solid var(--blue); border-radius: 8px; padding: 9px 18px; cursor: pointer; }
.thanked .thx__env { animation: env-fly 1s cubic-bezier(0.5, 0, 0.8, 0.5) both; }
.thanked .thx h3, .thanked .thx p, .thanked .thx__again { animation: thx-in 0.4s ease-out 0.85s both; }
@keyframes env-fly {
  0% { opacity: 0; transform: translateY(20px) scale(0.8); }
  30%, 45% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate(240px, -140px) scale(0.4) rotate(-10deg); }
}
@keyframes thx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 28 : reflet de chargement sur les cartes d'actualités */
.actu-card.sk::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent); transform: translateX(-100%); animation: sk-shim 1.4s linear infinite; pointer-events: none; }
@keyframes sk-shim { to { transform: translateX(100%); } }

/* 35 : le logo du pied de page se révèle */
.footer-logo.reveal { position: relative; }
.footer-logo.reveal::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: right; transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.footer-logo.reveal.in::after { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-img, .ws-tick, .ws-send__l, .ws-send__d, .ws-send__ok, .thx { transition: none; }
  .shake, .fmsg, .onl-dot.live::after, .thanked .thx__env, .thanked .thx h3, .thanked .thx p, .thanked .thx__again, .actu-card.sk::before, .contact-form-card.flash::after, .ws-send.is-sending .ws-send__d i { animation: none; }
  .footer-logo.reveal::after { display: none; }
}

@supports selector(::details-content) { @media (prefers-reduced-motion: reduce) { .faq-item::details-content { transition: none; } } }

/* Vidéo d'un article */
.article-video { margin: 0 0 28px; }
.article-video video { display: block; width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
