:root {
  --primary: #4a7c8c;
  --primary-dark: #365966;
  --secondary: #a8c5d1;
  --secondary-light: #d4e5ed;
  --accent: #7fa99b;
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #23303a;
  --ink-soft: #56636b;
  --line: rgba(35, 48, 58, 0.12);
  --line-soft: rgba(35, 48, 58, 0.07);
  --serif: 'Fraunces', Georgia, 'Iowan Old Style', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --header-h: 92px;
  --header-h-mobile: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--primary-dark);
  font-weight: 540;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 540;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h3 {
  font-size: 1.32rem;
  font-weight: 600;
  margin: 0 0 0.6em;
  color: var(--primary-dark);
}

h4 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.4em 0 0.4em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.1em; color: var(--ink); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: 0.45em 0; }

strong { color: var(--primary-dark); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.5;
  max-width: 46ch;
}

/* Pull-quote */
blockquote.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
  line-height: 1.4;
  color: var(--primary-dark);
  border-left: 2px solid var(--accent);
  padding-left: 1.1em;
  margin: 2.2em 0;
  max-width: 42ch;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 247, 244, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  height: var(--header-h);
  transition: height 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  height: 40px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .brand__mark { height: 32px; }

.brand__type { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary-dark);
}
.brand__role {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 3px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover { color: var(--primary-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link.is-active { color: var(--primary-dark); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-link--cta {
  color: var(--paper);
  background: var(--primary-dark);
  padding: 9px 18px;
  margin-left: 6px;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--primary); color: var(--paper); }
.nav-link--cta.is-active { color: var(--paper); }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--primary-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav panel */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 28, 33, 0.45);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.is-active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 320px; max-width: 86%;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 8px 40px;
  transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.is-open { right: 0; }

.mobile-nav a {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #eef3f2;
  text-decoration: none;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a.is-active { color: var(--secondary-light); }

/* ---------- PAGE ---------- */
main { display: block; }

.view { padding: 56px 0 100px; }

.view-head { max-width: 62ch; margin-bottom: 2.6em; }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3.2em 0;
}

/* ---------- SPLIT LAYOUT (texte + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin: 3.2em 0;
}
.split.reverse .split__media { order: 2; }
.split.reverse .split__text { order: 1; }

.split__media img {
  width: 100%;
  border-radius: 2px;
}

.split__text h3 { margin-bottom: 0.7em; }

/* ---------- META ROW (Public visé, etc.) ---------- */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.4em;
}
.meta-row__item { display: flex; flex-direction: column; gap: 2px; }
.meta-row__label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.meta-row__value { font-weight: 600; color: var(--primary-dark); }

/* ---------- INFO CARD ---------- */
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 32px 34px;
  margin: 1.6em 0;
}
.info-card > h3:first-child,
.info-card > h4:first-child { margin-top: 0; }
.info-card + .info-card { margin-top: 1.2em; }

/* Note / callout */
.note {
  border-left: 2px solid var(--primary);
  background: var(--secondary-light);
  padding: 18px 24px;
  margin: 1.8em 0;
  border-radius: 0 3px 3px 0;
}
.note p { margin-bottom: 0.5em; }
.note p:last-child { margin-bottom: 0; }
.note__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 6px;
}
.note--warn {
  border-left-color: #b5732b;
  background: #f5ead9;
}
.note--warn .note__label { color: #8a4f16; }

/* ---------- RATE LIST (tarifs) ---------- */
.rate-list {
  border-top: 1px solid var(--line);
  margin: 1.6em 0 2.4em;
}
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.rate-row__title { font-weight: 700; color: var(--primary-dark); font-size: 1.05rem; }
.rate-row__sub { color: var(--ink-soft); font-size: 0.92rem; margin-top: 2px; }
.rate-row__price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  text-align: right;
}
.rate-row__duration {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- STEPS (déroulé numéroté) ---------- */
.steps { margin: 1.6em 0 2.4em; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.steps .step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.step__body h3, .step__body h4 { margin-top: 0; }
.step__body p:last-child { margin-bottom: 0; }

/* ---------- CONTACT BLOCK ---------- */
.contact-block {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 30px 34px;
  margin: 1.6em 0;
}
.contact-block dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
}
.contact-block dt {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  padding-top: 3px;
}
.contact-block dd { font-weight: 600; color: var(--primary-dark); }
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--secondary); }
.contact-block a:hover { border-bottom-color: var(--primary); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 3px;
  border: 1px solid var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--primary); border-color: var(--primary); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--primary-dark);
}
.btn--ghost:hover { background: var(--primary-dark); color: #fff; }
.btn-row { margin-top: 2.2em; }

/* ---------- FAQ (native accordion) ---------- */
.faq { margin-top: 1.4em; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-answer { margin-top: 14px; color: var(--ink); }
.faq .faq-answer strong { color: var(--primary); }

.tooltip {
  border-bottom: 1px dotted var(--primary);
  cursor: help;
  font-weight: 600;
}

/* ---------- FORM ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 40px 44px;
  margin-top: 1.6em;
}

.contact-form { max-width: none; }

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.form-grid .form-field { margin-bottom: 0; }
.form-field:last-of-type { margin-bottom: 0; }

.form-field label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 1rem;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(74,124,140,0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2356636B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-footer {
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.form-footer button {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 3px;
  border: none;
  background: var(--primary-dark);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.form-footer button:hover { background: var(--primary); }
.form-footer button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-footer__note {
  font-size: 0.86rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 640px) {
  .form-card { padding: 26px 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 0; }
  .form-grid .form-field { margin-bottom: 24px; }
  .form-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .form-footer button { width: 100%; }
}

/* ---------- FORM NOTICE (confirmation d'envoi) ---------- */
.form-notice {
  padding: 16px 22px;
  border-radius: 0 3px 3px 0;
  margin: 1.6em 0;
  font-weight: 600;
  font-size: 0.96rem;
}
.form-notice--success {
  background: var(--secondary-light);
  border-left: 2px solid var(--primary);
  color: var(--primary-dark);
}
.form-notice--error {
  background: #f5ead9;
  border-left: 2px solid #b5732b;
  color: #8a4f16;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: var(--paper);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.site-footer p, .site-footer a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer a:hover { color: var(--primary-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav-primary { display: none; }
  .menu-btn { display: flex; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split__media,
  .split .split__media { order: -1; }
  .split .split__text { order: 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: var(--header-h-mobile); }
  .site-header.is-scrolled { height: 60px; }
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .brand__role { display: none; }
  .view { padding: 40px 0 72px; }
  h1 { max-width: none; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
  .step__num { font-size: 1.4rem; }
  .rate-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rate-row__price { text-align: left; }
  .info-card { padding: 24px 22px; }
  .contact-block { padding: 24px 22px; }
  .contact-block dl { grid-template-columns: 1fr; gap: 4px 0; }
  .contact-block dd { margin-bottom: 10px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; justify-content: center; }
}
