/* ==========================================================================
   PariHotte — Nettoyage de hotte de restaurant à Paris
   Feuille de style unique — mobile-first
   ========================================================================== */

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-var.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Halant";
  src: url("../fonts/halant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Halant";
  src: url("../fonts/halant-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #03264a;            /* navy du logo */
  --ink-2: #10365c;
  --ink-soft: #35506d;
  --muted: #5a6d83;
  --accent: #8db8f7;         /* bleu clair du logo */
  --accent-bright: #a8ccfa;
  --accent-deep: #1d5f9f;    /* bleu profond accessible (texte/liens) */
  --accent-ink: #03264a;     /* texte sur bouton bleu clair */
  --sky: #8db8f7;
  --sky-soft: #e9f2fe;
  --wash: #f2f7fc;
  --line: #d9e4f1;
  --white: #ffffff;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(3, 38, 74, 0.08), 0 4px 14px rgba(3, 38, 74, 0.06);
  --shadow-md: 0 2px 6px rgba(3, 38, 74, 0.08), 0 18px 44px rgba(3, 38, 74, 0.13);
  --font-serif: "Halant", "Georgia", "Times New Roman", serif;
  --font-sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 74px;
  --topbar-h: 36px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
p { margin: 0 0 1em; }
strong { color: var(--ink-2); }
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 22px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0d3a66; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--accent-deep); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfe0f0;
  font-size: 0.86rem;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--topbar-h);
}
.topbar-list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar-list li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent-bright); }
.topbar svg { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 158px; height: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-desktop a {
  display: inline-block;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-desktop a:hover { color: var(--accent-deep); background: var(--sky-soft); }
.nav-desktop a[aria-current="page"] { color: var(--accent-deep); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  white-space: nowrap;
  text-decoration: none;
}
.header-phone:hover { color: var(--accent-deep); }
.header-phone svg { color: var(--accent-deep); }
.header-cta { padding: 11px 18px; font-size: 0.93rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: var(--sky-soft);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 10px 22px 22px; }
.nav-mobile li { border-bottom: 1px solid var(--wash); }
.nav-mobile a {
  display: block;
  padding: 13px 2px;
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}
.nav-mobile .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--wash);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 34%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.12) 82%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 30%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 9vw, 118px);
  max-width: 660px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.hero h1 { margin-bottom: 18px; }
.hero-lead {
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent-deep); }

/* Certificat flottant */
.hero-seal {
  position: absolute;
  right: max(22px, calc((100vw - 1160px) / 2 + 22px));
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 320px;
  backdrop-filter: blur(6px);
}
.hero-seal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #c4dcff 0%, var(--accent) 62%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.hero-seal strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink);
}
.hero-seal span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

/* ---------- Trust strip ---------- */
.strip {
  background: var(--ink);
  color: #dbe7f3;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 30px;
  padding-block: 26px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.strip-item svg {
  flex: none;
  color: var(--accent);
}
.strip-item strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.3;
}
.strip-item span { font-size: 0.84rem; color: #a8bccf; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 96px); }
.section-tint { background: var(--wash); }
.section-sky {
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--wash) 100%);
}
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.section-head p { color: var(--muted); font-size: 1.04rem; margin-top: 12px; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }

/* ---------- Cards services ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-soft); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.93rem;
  color: var(--accent-deep);
  text-decoration: none;
}
.service-card-link:hover { text-decoration: underline; }

/* ---------- Split attestation ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split-media .frame-accent {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  z-index: -1;
}
.checklist {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent) 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='%2303264a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Bande photo (parallax doux) ---------- */
.photo-band {
  position: relative;
  color: #eaf2fa;
  background: var(--ink);
  overflow: hidden;
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.photo-band .container { position: relative; z-index: 1; }
.photo-band-inner {
  max-width: 640px;
  padding-block: clamp(64px, 8vw, 104px);
}
.photo-band h2 { color: #fff; }
.photo-band p { color: #c9d9e8; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- Arrondissements ---------- */
.arr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arr-grid a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.arr-grid a span { color: var(--sky); font-family: var(--font-serif); font-size: 1.05rem; }
.arr-grid a:hover {
  border-color: var(--accent);
  background: #edf4ff;
  color: var(--accent-deep);
  text-decoration: none;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
  font-size: 1.01rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d5f9f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent);
}
.faq details > div {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.97rem;
}
.faq details > div p { margin-bottom: 0.6em; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #e8f1f9;
  overflow: hidden;
}
.cta-band-media {
  position: absolute;
  inset: 0;
}
.cta-band-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right 30%;
  opacity: 0.5;
}
.cta-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #03264a 8%, rgba(3, 38, 74, 0.92) 42%, rgba(3, 38, 74, 0.35) 75%, rgba(3, 38, 74, 0.15) 100%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band-inner { max-width: 600px; padding-block: clamp(64px, 8vw, 100px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d4e4; margin-bottom: 26px; }
.cta-band .phone-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-decoration: none;
  margin-bottom: 8px;
}
.cta-band .phone-big:hover { color: var(--accent-bright); }
.cta-band .phone-big svg { color: var(--accent); }
.cta-band .hours { font-size: 0.9rem; color: #9db4c9; }

/* ---------- Zone / SEO text ---------- */
.zone-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 820px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--muted);
}
.zone-note svg { color: var(--accent-deep); flex: none; margin-top: 2px; }
.zone-note p { margin: 0; }

/* ---------- Page hero (sous-pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--wash) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.page-hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }
.page-hero .hero-actions { margin: 26px 0 0; }

/* ---------- Formulaire ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 3.4vw, 40px);
}
.form-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: 0.96rem; margin-bottom: 26px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 0.9rem; color: var(--ink-2); }
.field .req { color: var(--accent-deep); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: #fbfdff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(29, 95, 159, 0.16);
  background: #fff;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2303264a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.file-field input[type="file"] {
  width: 100%;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 12px;
  background: #fbfdff;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--sky-soft);
  color: var(--ink-2);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}
.field-help { font-size: 0.8rem; color: var(--muted); }
.consent-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.consent-field input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-deep); flex: none; }
.consent-field a { color: var(--accent-deep); font-weight: 700; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600; }
.form-status.is-error { display: block; background: #fdf1f0; color: var(--danger); border: 1px solid #f3cdc9; }
.form-status.is-success { display: block; background: #effaf5; color: var(--accent-deep); border: 1px solid #bfe8d8; }
.form-loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(3, 38, 74, 0.25); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card {
  background: var(--ink);
  color: #d7e4f0;
  border-radius: var(--radius);
  padding: 28px 26px;
}
.contact-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.contact-card li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.93rem; }
.contact-card svg { color: var(--accent); flex: none; margin-top: 3px; }
.contact-card a { color: #fff; font-weight: 700; }
.contact-card a:hover { color: var(--accent-bright); }
.contact-card .hours-line { color: #9db4c9; font-size: 0.88rem; }
.note-card {
  background: var(--sky-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.note-card strong { display: block; color: var(--ink); margin-bottom: 6px; }

/* ---------- Contenu légal ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: start; }
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 22px;
  background: var(--wash);
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.legal-toc strong { display: block; color: var(--ink); margin-bottom: 12px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.legal-toc ol { margin: 0; padding-left: 1.1em; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--accent-deep); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.45rem; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal-body ul li { margin-bottom: 0.5em; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a9bccd;
  font-size: 0.92rem;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
  padding-block: 58px 44px;
  align-items: start;
}
.footer-brand {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
  max-width: 560px;
  margin-bottom: 6px;
}
.footer-brand .logo-plate {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  margin: 0 auto 18px;
}
.footer-brand .logo-plate img { width: 150px; height: auto; }
.footer-brand p { color: #9db2c6; font-size: 0.9rem; max-width: 46ch; margin: 0 auto; }
.footer-col h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #b9c9d9; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { color: var(--accent); flex: none; margin-top: 3px; }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.83rem;
  color: #8199ad;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #a9bccd; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom button.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #a9bccd;
  cursor: pointer;
}
.footer-bottom button.linklike:hover { color: #fff; text-decoration: underline; }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(3, 38, 74, 0.1);
  backdrop-filter: blur(8px);
}
.mobile-cta .btn { flex: 1; padding: 13px 12px; font-size: 0.95rem; }

/* ---------- Bannière cookies ---------- */
.cc {
  position: fixed;
  z-index: 200;
  left: 20px;
  bottom: 20px;
  width: min(430px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.cc.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.cc h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cc p { margin-bottom: 16px; font-size: 0.87rem; line-height: 1.55; }
.cc p a { font-weight: 700; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cc-actions .btn { padding: 10px 16px; font-size: 0.87rem; border-radius: 8px; }
.cc-custom { display: none; margin-top: 4px; }
.cc.show-custom .cc-custom { display: block; }
.cc.show-custom .cc-intro { display: none; }
.cc-custom .cc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--wash);
}
.cc-custom .cc-row:last-of-type { border-bottom: 0; }
.cc-custom .cc-row strong { display: block; font-size: 0.88rem; color: var(--ink); }
.cc-custom .cc-row span { font-size: 0.8rem; color: var(--muted); display: block; margin-top: 2px; }
.switch { position: relative; width: 42px; height: 24px; flex: none; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute;
  inset: 0;
  background: #cdd9e4;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.switch input:checked + .track { background: var(--accent-deep); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:disabled + .track { background: var(--accent-deep); opacity: 0.55; }
.cc-custom .cc-actions { margin-top: 14px; }

/* ---------- 404 ---------- */
.error-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: var(--wash);
  text-align: center;
}
.error-hero .container { max-width: 640px; }
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.error-hero .hero-actions { justify-content: center; margin-top: 28px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-weight: 700; font-size: 0.93rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { font-size: 0.95rem; }
  .header-cta { display: none; }
  .hero-seal { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 30px; }
}
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .service-card { flex-direction: row; align-items: stretch; }
  .service-card-media { aspect-ratio: auto; width: 38%; min-height: 100%; }
  .service-card-media img { position: absolute; inset: 0; }
  .service-card-media { position: relative; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; max-width: 560px; }
  .split-media .frame-accent { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .arr-grid { grid-template-columns: repeat(4, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; padding-bottom: 74px; }
  .topbar { display: none; }
  .header-inner { gap: 10px; }
  .brand img { width: 128px; }
  .header-phone { display: none; }
  .hero-inner { padding-block: 54px 64px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 52%, rgba(255, 255, 255, 0.66) 100%);
  }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-actions .btn-lg { padding: 15px 20px; }
  .cards-3 { gap: 18px; }
  .service-card { flex-direction: column; }
  .service-card-media { width: 100%; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
  .arr-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-block: 44px 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: flex; }
  .cc { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); width: auto; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .topbar, .mobile-cta, .cc, .site-footer, .cta-band { display: none !important; }
  body { color: #000; font-size: 12pt; }
}

/* ---------- Utilitaires ---------- */
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.page-hero-narrow { max-width: 720px; padding-block: 8px; }
.cta-band .cta-actions { margin-top: 22px; margin-bottom: 0; }
