/* ══════════════════════════════════════════════
   CABINET PINDER — Feuille de style principale
   Design system : bleu marine / or / ivoire
   ══════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────── */
:root {
  --navy:        #184A84;
  --navy-deep:   #0a223d;
  --navy-mid:    #053368;
  --gold:        #15A7B5;
  --gold-light:  #15A7B5;
  --gold-faint:  #afd2d5;
  --cream:       #eef7f8;
  --cream-dark:  #EEE9E0;
  --ink:         #1C1C1C;
  --ink-mid:     #3D3D3D;
  --ink-soft:    #6B6B6B;
  --white:       #FFFFFF;
  --error:       #C0392B;
  --success:     #1E7E48;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', 'Georgia', serif;

  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.22s ease;

  --max-w:       1160px;
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.75;
  color: var(--ink-mid);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ══════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════ */

h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4.5vw, 3.5rem); font-weight: 500; line-height: 1.1; color: var(--white); }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 600; line-height: 1.2; color: var(--navy); }
h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy); }

/* ── Sections ────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--alt { background: var(--cream-dark); }
.section--dark { background: var(--navy-deep); color: var(--cream); }
.section--dark h2 { color: var(--gold-light); }

.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--left { text-align: left; }
.section-header--light .section-eyebrow { color: var(--gold-light); }
.section-header--light h2 { color: var(--gold-light); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* Barre verticale or — signature visuelle */
.section-header h2 {
  position: relative;
  display: inline-block;
}
.section-header--left h2::before,
.section-header--left .section-eyebrow::before {
  content: '';
  display: block;
  width: 3px;
  height: 100%;
  background: var(--gold);
  position: absolute;
  left: -1.25rem;
  top: 0;
  border-radius: 2px;
}
.section-header--left .section-eyebrow {
  position: relative;
}

.section-intro {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  font-size: 1.0625rem;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 18px var(--gold-faint);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 1rem;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }

/* ══════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: 0 1px 12px rgba(26,39,68,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.logo-initial {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.logo-initial--sm { width: 36px; height: 36px; font-size: 0.9rem; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.logo-text em {
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-style: normal;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-mid);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--navy);
  background: var(--cream);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(184,146,42,.04) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(184,146,42,.04) 80px);
  pointer-events: none;
}

/* ── Layout 2 colonnes ── */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  width: 100%;
}

/* ── Colonne texte (gauche) ── */
.hero-content { /* hérite de la grille */ }

.hero-eyebrow {
  font-size: .875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: clamp(.9375rem, 1.3vw, 1.075rem);
  color: rgba(249,246,240,.78);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* ── Colonne visuelle (droite) ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Enveloppe photo — pas d'ombre, pas de bordure, pas de rayon */
.hero-img-wrap {
  position: relative;
  width: 100%;
  /* L'image occupe toute la colonne en hauteur */
  align-self: stretch;
}

/* Photo : couvre la totalité de la section hero, bord droit affleurant le viewport */
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder SVG — même comportement que l'image */
.hero-img-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Sceau rotatif sous la photo */
.hero-seal {
  opacity: .45;
  pointer-events: none;
  flex-shrink: 0;
}
.seal-ring {
  width: clamp(90px, 9vw, 130px);
  height: clamp(90px, 9vw, 130px);
  border: 1px solid rgba(21,167,181,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sealSpin 80s linear infinite;
}
.seal-ring svg { width: 100%; height: 100%; }

@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════ */

.stats-band {
  background: var(--navy-mid);
  padding-block: 2.25rem;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(21, 167, 181, 0.831);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(21, 167, 181, 0.831);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   EXPERTISES
   ══════════════════════════════════════════════ */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.expertise-card:hover {
  box-shadow: 0 8px 32px rgba(26,39,68,.1);
  transform: translateY(-3px);
}

.expertise-card--featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(184,146,42,.12);
}

.expertise-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.expertise-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.expertise-card h3 { margin-bottom: 0.75rem; }
.expertise-card > p { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 1.25rem; }

.expertise-list {
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.expertise-list li {
  font-size: 0.875rem;
  color: var(--ink-mid);
  padding-left: 1.1rem;
  position: relative;
}
.expertise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ══════════════════════════════════════════════
   CABINET
   ══════════════════════════════════════════════ */

.cabinet-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.cabinet-portrait { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.portrait-frame {
  width: 220px;
  height: 275px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 8px 8px 0 var(--gold-faint);
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-placeholder svg { width: 120px; opacity: .85; }

.portrait-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.portrait-caption strong { font-family: var(--font-display); font-size: 1.0625rem; color: var(--navy); }
.portrait-caption em { font-size: 0.85rem; color: var(--ink-soft); }

.cabinet-text > p { margin-bottom: 1rem; font-size: 1rem; }

.cabinet-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cabinet-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--navy);
  line-height: 1.55;
}

.cabinet-values { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 1.5rem; }
.cabinet-values li { display: flex; gap: 0.85rem; align-items: baseline; font-size: 0.9375rem; }
.cabinet-values strong { color: var(--navy); }

.value-marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55em;
}

/* ══════════════════════════════════════════════
   TARIFS / HONORAIRES
   ══════════════════════════════════════════════ */

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tarif-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition);
}
.tarif-card:hover { box-shadow: 0 6px 28px rgba(26,39,68,.09); }

.tarif-card--highlight {
  border-color: var(--navy);
  border-width: 2px;
  background: var(--navy);
  color: var(--cream);
}
.tarif-card--highlight h3 { color: var(--gold-light); }
.tarif-card--highlight p, .tarif-card--highlight li { color: rgba(249,246,240,.78); }

.tarif-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-bottom: 1rem;
}
.tarif-card--highlight .tarif-header { border-color: rgba(255,255,255,.15); }

.tarif-price { text-align: right; }
.tarif-price span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.tarif-card ul { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.tarif-card li {
  font-size: 0.875rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink-soft);
}
.tarif-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}
.tarif-card--highlight li { color: rgba(249,246,240,.7); }

.tarif-card .btn { align-self: flex-start; width: 100%; justify-content: center; }
.tarif-card--highlight .btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
}
.tarif-card--highlight .btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.tarifs-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro {
  color: rgba(249,246,240,.75);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.contact-item > div {
  font-size: 0.9375rem;
  line-height: 1.55;
}
.contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.contact-item a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-item em { color: rgba(249,246,240,.55); font-style: normal; font-size: 0.85rem; }

.contact-urgence {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(184,146,42,.4);
  border-radius: var(--radius-lg);
  background: rgba(184,146,42,.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-urgence p { font-size: 0.9375rem; color: rgba(249,246,240,.8); }
.contact-urgence strong { color: var(--gold-light); }

/* ── Formulaire ──────────────────────────────── */

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.form-group label span { color: var(--error); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #15A7B5;
  border-radius: var(--radius);
  padding: 0.65rem 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,.1);
  background: var(--white);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%233D3D3D'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
  margin-top: 2px;
}
.form-group--checkbox label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
}
.link-inline { color: var(--gold); text-decoration: underline; }

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  min-height: 1rem;
}

.form-actions { margin-top: 0.5rem; }
.form-actions .btn { width: 100%; justify-content: center; }

.btn-loading { display: none; }
.btn.loading .btn-label { display: none; }
.btn.loading .btn-loading { display: inline; }

.form-feedback {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.form-feedback--success { background: #EBF7EF; color: var(--success); border: 1px solid rgba(30,126,72,.2); }
.form-feedback--error   { background: #FDF1F0; color: var(--error);   border: 1px solid rgba(192,57,43,.2); }

/* Honeypot anti-spam */
.hp-field {
  opacity: 0;
  position: absolute;
  top: -9999px;
  left: -9999px;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(249,246,240,.65);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(184,146,42,.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.footer-brand strong { color: var(--cream); font-family: var(--font-display); font-size: 1.0625rem; }
.footer-brand em { color: rgba(249,246,240,.55); font-size: 0.78rem; font-style: normal; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; justify-content: center; }
.footer-nav a { font-size: 0.85rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-copy { font-size: 0.78rem; line-height: 1.6; }

/* ── Back to top ──────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition);
  z-index: 50;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy-mid); }

/* ══════════════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .seal-ring { animation: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* ── Tablette (≤ 900px) ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: clamp(2.5rem, 6vw, 4rem);
  }
  .hero-visual {
    order: -1;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
  .hero-seal { display: none; }
  .expertise-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cabinet-layout { grid-template-columns: 1fr; }
  .cabinet-portrait { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
  .portrait-frame { width: 140px; height: 175px; flex-shrink: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-seal { display: none; }
  .stats-grid { gap: 1.5rem; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--white);
    padding: 2rem var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 99;
    border-top: 1px solid var(--cream-dark);
    overflow-y: auto;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul { flex-direction: column; width: 100%; gap: 0.5rem; }
  .main-nav a { font-size: 1.125rem; padding: 0.75rem 1rem; width: 100%; display: block; }

  .logo-text { display: none; }
  .hero-visual { max-width: 320px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .stats-grid { flex-direction: column; gap: 1.25rem; }
  .stat-divider { width: 48px; height: 1px; }

  .cabinet-portrait { flex-direction: column; align-items: center; }
  .portrait-frame { width: 180px; height: 225px; }

  .footer-inner { text-align: left; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }

  .back-to-top { bottom: 1rem; right: 1rem; }
}
