:root {
  --bg: #f4f7fb;
  --bg-strong: #eef3fb;
  --panel: #ffffff;
  --text: #10203f;
  --muted: #5e6d88;
  --line: rgba(16, 32, 63, 0.1);
  --blue: #0d2f76;
  --blue-strong: #123f97;
  --red: #c92033;
  --shadow: 0 24px 60px rgba(10, 26, 64, 0.12);
  --shadow-soft: 0 14px 36px rgba(10, 26, 64, 0.08);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-sans: "Manrope", "Aptos", "Segoe UI", sans-serif;
  --font-display: "Sora", "Manrope", "Aptos", sans-serif;
  --ring: 0 0 0 4px rgba(18, 63, 151, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(13, 47, 118, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(201, 32, 51, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

::selection {
  background: rgba(201, 32, 51, 0.18);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 47, 118, 0.03), transparent 30%),
    linear-gradient(180deg, rgba(201, 32, 51, 0.04), transparent 70%);
  pointer-events: none;
}

.section-alt > .container {
  position: relative;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  box-shadow: var(--ring);
}

.eyebrow,
.section-kicker,
.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
}

.eyebrow::before,
.section-kicker::before,
.form-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ff6a72);
  box-shadow: 0 0 0 6px rgba(201, 32, 51, 0.1);
}

.lead,
.section-head p,
.card p,
.contact-list,
.fineprint,
.faq-item p,
.form-intro p {
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  max-width: 14ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 32, 51, 0.16);
  background: linear-gradient(90deg, rgba(201, 32, 51, 0.08), rgba(13, 47, 118, 0.06));
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: #fff;
  box-shadow: 0 18px 36px rgba(18, 63, 151, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(13, 47, 118, 0.14);
  color: var(--blue);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(201, 32, 51, 0.24);
  color: var(--red);
}

.btn-small {
  min-height: 2.8rem;
  padding-inline: 1.05rem;
}

:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: var(--ring);
}

/* Focus visible plus marqué sur fond sombre (split chooser, footer) */
.split-side:focus-visible,
.site-footer a:focus-visible {
  outline-color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 32, 63, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(13, 47, 118, 0.16), rgba(201, 32, 51, 0.18)),
    #fff;
  border: 1px solid rgba(13, 47, 118, 0.08);
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1.02rem;
  color: var(--blue);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-list a:hover {
  background: rgba(13, 47, 118, 0.06);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(13, 47, 118, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero {
  padding: clamp(4rem, 7vw, 7.5rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-copy .eyebrow {
  justify-content: center;
}

.hero-actions {
  justify-content: center;
}

.hero-copy .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero-stats li {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 47, 118, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 248, 253, 0.9)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.stat-number {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue);
}

.stat-label {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(13, 47, 118, 0.08);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(13, 47, 118, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(201, 32, 51, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 253, 0.96));
  box-shadow: var(--shadow);
}

.hero-panel-header {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(13, 47, 118, 0.08);
}

.panel-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(16, 32, 63, 0.18);
}

.panel-dot:first-child {
  background: rgba(201, 32, 51, 0.7);
}

.panel-dot:nth-child(2) {
  background: rgba(13, 47, 118, 0.68);
}

.hero-panel-body {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
}

.hero-highlight {
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 47, 118, 0.08);
}

.hero-highlight-label,
.mini-label,
.card-tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-highlight-title {
  margin-top: 0.45rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}

.hero-progress {
  height: 0.8rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(13, 47, 118, 0.08);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.hero-checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-checks li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
}

.hero-checks li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--red);
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mini-card {
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(13, 47, 118, 0.08);
}

.mini-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.mini-card-accent {
  background: linear-gradient(180deg, rgba(201, 32, 51, 0.08), rgba(255, 255, 255, 0.92));
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2x {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 252, 255, 0.96));
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(201, 32, 51, 0), rgba(201, 32, 51, 0.42), rgba(13, 47, 118, 0));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 47, 118, 0.14);
  box-shadow: 0 22px 48px rgba(10, 26, 64, 0.12);
}

.card:hover::before {
  opacity: 1;
}

.card-feature {
  background:
    radial-gradient(circle at top right, rgba(201, 32, 51, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(13, 47, 118, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  border-color: rgba(201, 32, 51, 0.12);
}

.card-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
}

.compact-cards {
  margin-top: 1rem;
}

.list {
  display: grid;
  gap: 0.45rem;
}

.list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
}

.price strong {
  font-size: 1.4rem;
  color: var(--text);
}

.price-highlight {
  border-color: rgba(201, 32, 51, 0.22);
  box-shadow: 0 22px 48px rgba(201, 32, 51, 0.12);
}

.testimonial-card blockquote {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-card figcaption {
  color: var(--muted);
  font-weight: 600;
}

.note-box {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(13, 47, 118, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.96));
  color: var(--muted);
}

.zone-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.coverage-card {
  gap: 1rem;
}

.coverage-header {
  display: grid;
  gap: 0.7rem;
}

.coverage-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at center, rgba(13, 47, 118, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(238, 243, 251, 0.96));
  border: 1px solid rgba(13, 47, 118, 0.08);
}

.coverage-map::before,
.coverage-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(13, 47, 118, 0.08);
}

.coverage-map::before {
  width: 72%;
  height: 2px;
}

.coverage-map::after {
  width: 2px;
  height: 72%;
}

.coverage-node {
  position: absolute;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(13, 47, 118, 0.12);
  box-shadow: var(--shadow-soft);
}

.node-main {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #fff;
}

.node-blue {
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
}

.node-red {
  right: 8%;
  top: 48%;
  border-color: rgba(201, 32, 51, 0.18);
}

.node-light:first-of-type {
  left: 8%;
  top: 48%;
}

.node-light:last-of-type {
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
}

.coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.coverage-chips span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 47, 118, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 700;
}

.faq-head {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 0;
  border: 1px solid rgba(13, 47, 118, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 1.15rem 3.2rem 1.15rem 1.15rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(13, 47, 118, 0.06);
}

.contact-copy {
  display: grid;
  gap: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
}

.contact-list a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list a:hover {
  color: var(--red);
}

.slots-card {
  gap: 1rem;
}

.slots-head {
  display: grid;
  gap: 0.6rem;
}

.slots-grid {
  display: grid;
  gap: 0.85rem;
}

.slot-day {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 47, 118, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.slot-day h4 {
  margin-bottom: 0.75rem;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.slot {
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(13, 47, 118, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
}

.slot:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 47, 118, 0.32);
  box-shadow: 0 10px 22px rgba(13, 47, 118, 0.1);
}

.slot.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: #fff;
  box-shadow: 0 16px 32px rgba(18, 63, 151, 0.24);
}

.slot-picked {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 32, 51, 0.16);
  background: linear-gradient(180deg, rgba(201, 32, 51, 0.06), rgba(255, 255, 255, 0.98));
}

#slot-picked-label {
  color: var(--red);
  font-weight: 800;
}

.form-card,
.booking-form,
.form-intro,
.form-section {
  display: grid;
}

.form-card,
.booking-form {
  gap: 1rem;
}

.form-intro,
.form-section {
  gap: 0.55rem;
}

.form-section {
  padding: 1rem;
  border: 1px solid rgba(13, 47, 118, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 254, 0.96));
}

.form-section-title,
.summary-title {
  color: var(--blue);
  font-weight: 850;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

label,
legend {
  font-weight: 750;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(13, 47, 118, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 8.2rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(18, 63, 151, 0.36);
  box-shadow: var(--ring);
}

.fieldset {
  padding: 1rem;
  border: 1px solid rgba(13, 47, 118, 0.08);
  border-radius: var(--radius-sm);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.checks label,
.checkbox label {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 650;
}

.checks input,
.checkbox input {
  width: 1.05rem;
  min-height: 1.05rem;
  height: 1.05rem;
  padding: 0;
  margin: 0;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox label {
  align-items: start;
}

.honeypot {
  display: none;
}

#selected-slot[readonly] {
  background: rgba(243, 246, 252, 0.9);
  color: var(--muted);
}

.booking-summary {
  padding: 1rem;
  border: 1px solid rgba(201, 32, 51, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(201, 32, 51, 0.05), rgba(255, 255, 255, 0.98));
}

.summary-title {
  margin-bottom: 0.8rem;
}

.summary-list {
  display: grid;
  gap: 0.5rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.summary-list strong {
  color: var(--text);
  text-align: right;
}

.form-actions {
  display: grid;
  gap: 0.8rem;
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 750;
}

.form-feedback.is-success {
  border: 1px solid rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
}

.form-feedback.is-error {
  border: 1px solid rgba(201, 32, 51, 0.2);
  background: rgba(201, 32, 51, 0.08);
  color: #9f1239;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(16, 32, 63, 0.06);
  background: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--red);
}

@media (max-width: 1080px) {
  .hero-stats,
  .cards-3,
  .zone-grid,
  .contact-grid,
  .faq-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .section-head h2 {
    max-width: 18ch;
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    justify-self: end;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 14rem;
    padding: 0.6rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(13, 47, 118, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    color: var(--text);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .cards-2x,
  .cards-3,
  .hero-stats,
  .hero-mini-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-list li {
    flex-direction: column;
    gap: 0.2rem;
  }

  .summary-list strong {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .slot-list {
    grid-template-columns: 1fr;
  }

  .slot {
    width: 100%;
  }
}

/* ============================================================
   Accessibilité — taille tactile minimale (WCAG 2.5.5)
   ============================================================ */
.btn,
.nav-list a,
.nav-toggle,
.footer-links a,
.mode-btn,
.faq-item summary {
  min-height: 44px;
}

@media (max-width: 768px) {
  .mode-btn {
    min-height: 44px;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   Accessibilité — préférence de mouvement réduit
   Désactive ou atténue les animations pour personnes sensibles
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   Toggle "Afficher le détail des prestations"
   ============================================================ */
.pricing-toggle {
  margin-top: 1.2rem;
}

.pricing-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #1b4cb8);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(13, 47, 118, 0.2);
  box-shadow: 0 14px 30px rgba(13, 47, 118, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 48px;
}

.pricing-toggle > summary::-webkit-details-marker,
.pricing-toggle > summary::marker {
  display: none;
  content: "";
}

.pricing-toggle > summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(13, 47, 118, 0.3);
}

.pricing-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.pricing-toggle-icon svg {
  width: 100%;
  height: 100%;
}

.pricing-toggle[open] .pricing-toggle-icon {
  transform: rotate(180deg);
}

.pricing-toggle[open] > summary .pricing-toggle-label::after {
  content: " (masquer)";
  opacity: 0.85;
  font-weight: 600;
}

/* ============================================================
   Bouton WhatsApp flottant
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 199;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 540px) {
  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================
   À propos — section humaine (avec emplacement photo)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 47, 118, 0.08), rgba(201, 32, 51, 0.08)),
    #fff;
  border: 1px solid rgba(13, 47, 118, 0.1);
  box-shadow: var(--shadow-soft);
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  color: var(--blue);
  opacity: 0.4;
}

.photo-placeholder svg {
  width: 80px;
  height: 80px;
}

.photo-placeholder span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 22ch;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.about-stats li {
  padding: 1rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 47, 118, 0.08);
  background: linear-gradient(180deg, #fff, rgba(245, 248, 253, 0.9));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.about-stats strong {
  display: block;
  font-size: 1.05rem;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.about-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ============================================================
   Trust badges — section engagements
   ============================================================ */
.trust-bar {
  background: linear-gradient(135deg, rgba(13, 47, 118, 0.04), rgba(201, 32, 51, 0.03));
  border-top: 1px solid rgba(13, 47, 118, 0.08);
  border-bottom: 1px solid rgba(13, 47, 118, 0.08);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 47, 118, 0.1), rgba(201, 32, 51, 0.08));
  color: var(--blue);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-text {
  display: grid;
  gap: 0.15rem;
}

.trust-text strong {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-text span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
