/* LOTIER Immobilier — feuille de style (direction « Isométrique »).
   Fond clair et aérien, verre dépoli, immeuble isométrique animé.
   Jetons issus de la charte : marine, or, typographie DM Sans et DM Serif Display. */

/* Polices hébergées sur le site (licence SIL OFL 1.1, voir assets/fonts/OFL.txt).
   DM Sans (variable, graisses 400 à 600) pour le texte et les titres ; DM Serif Display pour les mots dorés des titres. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/dm-serif-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/dm-serif-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff;
  --fg: #0f2744;
  --mut: #52647c;
  --line: rgba(15, 39, 68, 0.12);
  --navy: #0f2744;
  --navy-deep: #0a1c33;
  --gold: #ae986a;        /* or de la charte (aplats) */
  --gold-t: #8a6a14;      /* or foncé lisible pour le texte */
  --gold-hi: #c7b689;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.95);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --rl: 24px;
  --gutter: clamp(18px, 4.5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 24px; z-index: 200; }
.skip-link:focus { left: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 120px); position: relative; }

/* ---------- Typographie ---------- */
.label { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; text-transform: none; color: var(--gold-t); }
.display { font-weight: 600; font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
.title { font-weight: 600; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.heading { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--mut); max-width: 50ch; }
.muted { color: var(--mut); }
.small { font-size: 14px; line-height: 20px; }
.gold-text { font-family: var(--serif); font-weight: 400; background: linear-gradient(100deg, #8a7648, #ae986a 55%, #c4b184); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }

/* ---------- Boutons (doux) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r); border: 1.5px solid transparent;
  font: 600 16px/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, filter 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-gold, .btn-primary { background: #867244; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
.btn-gold:hover, .btn-primary:hover { background: #6f5d37; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.5); color: var(--navy); border-color: rgba(15, 39, 68, 0.28); }
.btn-ghost:hover { background: #fff; border-color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.mag { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, filter 0.25s, border-color 0.25s, box-shadow 0.25s; }
.acts { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.text-link { font-weight: 600; font-size: 15px; color: var(--gold-t); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size 0.35s var(--ease); display: inline-block; padding-top: 6px; }
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Bandeau + en-tête ---------- */
.topbar { background: var(--navy); color: #dbe6f4; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; font-weight: 600; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-r { display: flex; gap: 8px 28px; flex-wrap: wrap; }
@media (max-width: 760px) { .tb-l { display: none; } .tb-r { width: 100%; justify-content: space-between; } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; min-height: 80px; }
.logo { display: block; line-height: 0; }
.logo img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px clamp(14px, 1.6vw, 28px); }
.site-nav a { text-decoration: none; padding: 10px 0; font-weight: 600; font-size: 15px; color: var(--mut); transition: color 0.2s; }
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav .btn { margin-left: 8px; color: #fff; }
.btn-header { padding: 15px 34px; min-width: 230px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.btn-header svg { transition: transform 0.3s var(--ease); }
.btn-header:hover svg { transform: translateX(4px); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.7); color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; }
  .site-nav.open { display: flex; max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav .btn { margin: 18px 0 0; }
}

/* ---------- Animations d'apparition ---------- */
.js [data-r] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }
.w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(12px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s; transition-delay: calc(var(--i) * 70ms + 150ms); }
.go .w { opacity: 1; transform: none; filter: none; }

/* ---------- Hero isométrique ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(96px, 11vw, 140px); background: #fff; }
@keyframes bgmove { to { background-position: 100% 60%; } }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: 0.7; animation: orb 14s ease-in-out infinite alternate; }
.orb.o1 { width: 380px; height: 380px; background: #ffe2a8; right: 6%; top: 10%; }
.orb.o2 { width: 320px; height: 320px; background: #a9cdf7; left: -4%; bottom: 0; animation-delay: -6s; }
@keyframes orb { to { transform: translate(-60px, 50px) scale(1.15); } }
.cloud { position: absolute; z-index: 0; height: 46px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); animation: cl 46s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 54px; height: 54px; left: 16px; top: -26px; }
.cloud::after { width: 38px; height: 38px; right: 22px; top: -16px; }
@keyframes cl { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(16px, 3vw, 48px); align-items: center; padding-top: clamp(28px, 4.5vw, 64px); }
.hero-copy { display: grid; gap: 24px; align-content: start; }
.hero-copy .lead { max-width: 46ch; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.floor-panel { padding: 20px 22px; display: grid; gap: 8px; min-height: 168px; align-content: start; }
.floor-panel h2 { font-size: 22px; letter-spacing: -0.025em; font-weight: 600; }
.floor-panel p { color: var(--mut); font-size: 15px; }
.floor-panel .text-link { justify-self: start; margin-top: 4px; }
.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--mut); font-size: 15px; }
.hero-call a { color: var(--navy); font-weight: 600; font-size: 19px; text-decoration: none; }
.hero-call a:hover { text-decoration: underline; text-underline-offset: 4px; }
.iso { position: relative; }
.iso svg { width: 100%; height: auto; overflow: visible; }
.fl { transform: translateY(-420px); opacity: 0; cursor: pointer; outline: none; }
.go .fl { transform: translateY(var(--ty, 0px)); opacity: 1; transition: transform 0.9s cubic-bezier(0.3, 1.35, 0.5, 1) calc(var(--k) * 0.13s), opacity 0.4s calc(var(--k) * 0.13s); }
.go .fl.set { transition: transform 0.6s cubic-bezier(0.3, 1.35, 0.5, 1), opacity 0.4s; }
.fl .top { fill: var(--ft); } .fl .lf { fill: var(--fl); } .fl .rt { fill: var(--fr); }
.fl .win { fill: #7fa9d8; transition: fill 0.4s; }
.fl.act .win { fill: #ffd98a; }
.fl.act .top { fill: #fff6df; }
.fl:focus-visible .lf { stroke: #0f2744; stroke-width: 2; }
.lit { animation: litw 3.5s ease-in-out infinite alternate; }
@keyframes litw { from { opacity: 0.55; } to { opacity: 1; } }
.elev { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; z-index: 3; }
.elev button { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(15, 39, 68, 0.15); background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px); color: var(--navy); font: 600 13px var(--font); cursor: pointer; transition: transform 0.3s, background 0.3s, color 0.3s; }
.elev button b { width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 39, 68, 0.1); display: grid; place-items: center; font-size: 12px; }
.elev button[aria-pressed="true"] { background: var(--navy); color: #fff; transform: translateX(-8px); }
.elev button[aria-pressed="true"] b { background: #ffd98a; color: var(--navy); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .elev { position: static; transform: none; display: flex; flex-wrap: wrap; margin-top: 8px; }
  .elev button[aria-pressed="true"] { transform: none; }
}

/* ---------- Recherche ---------- */
.search { position: relative; z-index: 5; margin-top: -64px; padding: 14px; display: grid; gap: 14px; }
.search-tabs { display: flex; gap: 6px; }
.search-tabs button { padding: 11px 22px; border-radius: 999px; border: 0; background: transparent; font: 600 15px var(--font); color: var(--mut); cursor: pointer; transition: background 0.25s, color 0.25s; }
.search-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.search-fields { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 14px; align-items: end; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--mut); }
.field select, .field input { font: 500 16px var(--font); color: var(--fg); background: #fff; border: 1px solid rgba(15, 39, 68, 0.2); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; min-width: 0; }
.search-fields .btn { min-height: 50px; padding-block: 12px; }
@media (max-width: 860px) { .search-fields { grid-template-columns: 1fr 1fr; } .search-fields .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .search-fields { grid-template-columns: 1fr; } }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 24px; display: grid; gap: 4px; }
.stat strong { font-weight: 600; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--mut); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- En-têtes de section ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(26px, 4vw, 48px); }
.stack-3 { display: grid; gap: 14px; max-width: 720px; }

/* ---------- Métiers ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio > article { padding: 30px; display: grid; gap: 12px; align-content: start; transition: transform 0.4s var(--ease); }
.trio > article:hover { transform: translateY(-6px); }
.trio h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.025em; }
.trio p { color: var(--mut); }
.ico { width: 48px; height: 48px; border-radius: 12px; background: #f5f0e4; display: grid; place-items: center; color: var(--gold-t); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Carrousel et annonces ---------- */
.carousel-btns { display: flex; gap: 10px; }
.carousel-btns button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(15, 39, 68, 0.3); background: rgba(255, 255, 255, 0.7); color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.carousel-btns button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.carousel-btns button:disabled { opacity: 0.3; cursor: default; }
.carousel-btns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 14px; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 clamp(260px, 29vw, 380px); scroll-snap-align: start; }
.card { padding: 12px 12px 20px; border-radius: 28px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; box-shadow: 0 4px 16px rgba(15, 39, 68, 0.05); display: grid; gap: 14px; align-content: start; transition: transform 0.25s ease-out, box-shadow 0.3s; will-change: transform; }
.card:hover { box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #dfe8f3; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .ph img, .news-item:hover .ph img { transform: scale(1.07); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; background: var(--navy); color: #fff; }
.badge.loc { background: var(--gold-hi); color: var(--navy); }
.card-body { padding: 0 8px; display: grid; gap: 4px; }
.price { font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -0.025em; }
.card-actions { padding: 6px 8px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.section-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Bandeau estimation ---------- */
.estim { position: relative; overflow: hidden; margin-top: clamp(64px, 9vw, 120px); background: linear-gradient(120deg, #f6f0e1, #e7d9b4); color: var(--navy); }
.estim .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.estim h2 { font-weight: 600; font-size: clamp(32px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.estim p { margin-top: 14px; font-size: 18px; max-width: 48ch; }
.estim-card { background: rgba(255, 255, 255, 0.92); border-radius: 26px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.estim-card .ph { aspect-ratio: 16 / 7; border-radius: 16px; }
.estim-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.estim .alt-call { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-weight: 600; }
.estim .alt-call a { font-weight: 600; font-size: 20px; text-decoration: none; }
@media (max-width: 900px) { .estim .container { grid-template-columns: 1fr; } }

/* ---------- Conseils ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(15, 39, 68, 0.25); background: rgba(255, 255, 255, 0.6); color: var(--navy); font: 600 14px var(--font); cursor: pointer; transition: background 0.25s, color 0.25s; }
.chips button:hover { background: #fff; }
.chips button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq { display: grid; gap: 10px; }
.faq details { background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(15, 39, 68, 0.06); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 150px 1fr 32px; gap: 8px 22px; align-items: baseline; padding: 22px 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 30px; line-height: 1; text-align: right; color: var(--gold-t); transition: transform 0.35s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .cat { font-size: 13px; letter-spacing: 0.01em; text-transform: none; font-weight: 600; color: var(--gold-t); }
.faq h3 { font-weight: 600; font-size: clamp(18px, 2vw, 23px); line-height: 1.25; letter-spacing: -0.025em; }
.faq .answer { padding: 0 24px 26px 196px; max-width: 900px; color: var(--mut); display: grid; gap: 12px; animation: fadeUp 0.5s ease; }
.faq .answer .text-link { justify-self: start; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .faq summary { grid-template-columns: 1fr 28px; } .faq .cat { grid-column: 1 / -1; } .faq .answer { padding-left: 24px; } }
.faq-cta { margin-top: 26px; padding: 26px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.faq-cta p { font-weight: 600; font-size: 22px; letter-spacing: -0.025em; max-width: 520px; line-height: 1.25; }

/* ---------- Agences ---------- */
.agencies > * { min-width: 0; }
.agencies { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.agencies .photo { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.agencies .photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.agencies .photo .glass { position: absolute; left: 16px; bottom: 16px; padding: 12px 18px; font-weight: 600; font-size: 14px; }
.agency-list { display: grid; gap: 10px; margin-top: 22px; }
.agency-list li { display: grid; justify-items: start; gap: 4px; padding: 18px 22px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; border-radius: 18px; transition: transform 0.3s var(--ease); }
.agency-list li:hover { transform: translateX(6px); }
.agency-list .city { font-weight: 600; font-size: 24px; letter-spacing: -0.025em; }
@media (max-width: 860px) { .agencies { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Avis ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.quote { padding: 28px; display: grid; gap: 18px; align-content: start; }
.quote blockquote { font-weight: 600; font-size: 21px; line-height: 1.35; letter-spacing: -0.025em; }

/* ---------- Actualités ---------- */
.news { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.news-main { position: relative; min-height: 440px; border-radius: 30px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.news-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-main:hover img { transform: scale(1.05); }
.news-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 28, 51, 0.88), rgba(10, 28, 51, 0.05) 65%); }
.news-main .body { position: relative; z-index: 2; padding: 30px; display: grid; gap: 10px; }
.news-main .label { color: #ffe4a3; }
.news-main h3 { font-weight: 600; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.025em; }
.news-main .text-link { color: #ffe4a3; justify-self: start; }
.news-side { display: grid; gap: 14px; align-content: start; }
.news-item { display: grid; grid-template-columns: 1fr 120px; gap: 18px; align-items: center; padding: 14px 14px 14px 22px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; border-radius: 22px; transition: transform 0.3s var(--ease); }
.news-item:hover { transform: translateX(6px); }
.news-item h3 { font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; margin: 6px 0 8px; }
.news-item .ph { aspect-ratio: 1; border-radius: 16px; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } .news-main { min-height: 340px; } }

/* ---------- Devenir agent ---------- */
.recruit { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: stretch; overflow: hidden; border-radius: 32px; }
.recruit .photo { position: relative; min-height: 280px; }
.recruit .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recruit-text { padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; align-content: center; justify-items: start; }
@media (max-width: 860px) { .recruit { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { margin-top: clamp(64px, 9vw, 120px); padding-block: clamp(56px, 8vw, 104px); background: linear-gradient(160deg, #faf7f1, #f2f6fb); position: relative; overflow: hidden; }
.contact .container { display: grid; gap: 48px; }
.contact-intro { display: grid; gap: 22px; max-width: 780px; }
.contact-intro h2 { font-weight: 600; font-size: clamp(40px, 6.6vw, 92px); line-height: 0.96; letter-spacing: -0.025em; }
.big-phone { font-weight: 600; font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -0.025em; text-decoration: none; line-height: 1.05; }
.big-phone:hover { filter: brightness(1.1); }
.contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.contact-details > div { padding: 22px; }
.contact-details dt { font-size: 12px; letter-spacing: 0.16em; font-weight: 600; color: var(--gold-t); margin-bottom: 8px; }
.contact-details a { text-underline-offset: 3px; }

/* ---------- Barre d'appels mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 60px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; box-shadow: 0 -8px 24px rgba(15, 39, 68, 0.2); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 8px; font-weight: 600; text-decoration: none; }
  .mbar .a1 { background: var(--navy); color: #fff; }
  .mbar .a2 { background: #867244; color: #fff; }
  .mbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .fl { transform: none !important; opacity: 1 !important; transition: none !important; }
  .hero, .orb, .cloud, .lit { animation: none !important; }
  .track { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* ================= Pages secondaires : blog et villes ================= */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 5vw, 72px) clamp(36px, 5vw, 64px); background: #fff; }
.page-hero .container { position: relative; z-index: 2; display: grid; gap: 18px; }
.page-title { font-size: clamp(32px, 4.8vw, 64px); max-width: 22ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--mut); }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--mut); font-weight: 500; }

.article { max-width: 860px; padding-top: clamp(28px, 4vw, 48px); }
.cover { margin: 0 0 clamp(24px, 3vw, 36px); aspect-ratio: 16 / 8; border-radius: 28px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); position: relative; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-intro { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; font-weight: 500; color: var(--fg); margin-bottom: 8px; }
.prose { display: grid; gap: 16px; font-size: 17px; line-height: 1.75; }
.prose h2 { font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.025em; margin-top: 18px; }
.prose p { color: #2d4157; }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; color: #2d4157; }
.prose li::marker { color: var(--gold-t); }
.callout { margin-top: 28px; padding: 24px 28px; border-left: 5px solid var(--gold-hi); }
.callout h2 { font-weight: 600; font-size: 20px; letter-spacing: -0.025em; margin-bottom: 10px; }
.callout ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.city-link { margin-top: 18px; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--mut); }
.cta-box { margin-top: 28px; padding: 28px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; background: linear-gradient(120deg, rgba(246, 221, 148, 0.85), rgba(233, 194, 90, 0.85)); }
.cta-box h2 { font-weight: 600; font-size: 24px; letter-spacing: -0.025em; }
.cta-box p { max-width: 46ch; margin-top: 6px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: grid; gap: 14px; align-content: start; padding: 12px 12px 22px; border-radius: 28px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; box-shadow: 0 4px 16px rgba(15, 39, 68, 0.05); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.blog-card .ph { display: block; aspect-ratio: 16 / 10; }
.blog-card:hover .ph img { transform: scale(1.07); }
.blog-card-body { padding: 0 10px; display: grid; gap: 8px; }
.blog-card h3 { font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.blog-card h3 a { text-decoration: none; }
.blog-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-card p { color: var(--mut); font-size: 15px; }
.pm { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--mut); }
.pm b { font-weight: 600; letter-spacing: 0.01em; text-transform: none; font-size: 13px; color: var(--gold-t); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.city-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.city-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.city-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-photo .glass { position: absolute; left: 16px; bottom: 16px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.city-intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.city-intro .photo { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); position: relative; }
.city-intro .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quartier { padding: 24px; display: grid; gap: 8px; align-content: start; }
.quartier h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.025em; }
.quartier p { color: var(--mut); font-size: 15px; }
.read-card { display: grid; grid-template-columns: 0.8fr 1.2fr; overflow: hidden; border-radius: 30px; }
.read-card .ph { display: block; border-radius: 0; aspect-ratio: auto; min-height: 260px; }
.read-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.read-body h2 a { text-decoration: none; }
.near { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-link { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(15, 39, 68, 0.15); text-decoration: none; font-weight: 600; font-size: 14px; }
.chip-link:hover { background: var(--navy); color: #fff; }
.city-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.city-card { display: grid; gap: 0; border-radius: 26px; overflow: hidden; text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.city-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07); }
.city-card .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.city-card:hover .ph img { transform: scale(1.08); }
.city-card-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.city-card h3 { font-weight: 600; font-size: 21px; letter-spacing: -0.025em; line-height: 1.15; }
.city-card p { color: var(--mut); font-size: 14.5px; }
.chips-blog { margin-bottom: 28px; }
@media (max-width: 1020px) { .city-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .city-grid, .city-intro, .read-card, .near { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .city-cards { grid-template-columns: 1fr; } }

/* Questions fréquentes dans les articles */
.art-faq { margin-top: 30px; }
.art-faq > h2 { font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.025em; margin-bottom: 14px; }
.faq-simple summary { grid-template-columns: 1fr 32px; padding: 20px 24px; }
.faq-simple .answer { padding: 0 24px 24px; }
.faq-simple h3 { font-size: clamp(17px, 1.8vw, 20px); }

/* Plan du site et pages légales */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-blog { grid-template-columns: repeat(3, 1fr); }
.plan-box { padding: 24px; display: grid; gap: 10px; align-content: start; }
.plan-box h2, .plan-blog h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.025em; }
.plan-blog > div { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; display: grid; gap: 10px; align-content: start; }
.plan-grid ul { display: grid; gap: 8px; }
.plan-grid a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); }
.plan-grid a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--gold-t); }
.legal-note { padding: 14px 20px; margin-bottom: 24px; font-size: 14px; font-weight: 600; border-left: 5px solid var(--gold-hi); }
.legal .prose a { color: var(--gold-t); }
@media (max-width: 1020px) { .plan-grid, .plan-blog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plan-grid, .plan-blog { grid-template-columns: 1fr; } }

/* Pages légales : cartes d'information, sommaire, tableau */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 12px; }
.fact-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fact { padding: 24px 26px; display: grid; gap: 12px; align-content: start; }
.prose .fact h2 { margin: 0; font-size: 20px; }
.prose .fact p { color: var(--mut); font-size: 15px; line-height: 1.6; }
.fact dl { display: grid; gap: 10px; }
.fact dl > div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 4px 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.fact dl > div:first-child { border-top: 0; padding-top: 0; }
.fact dt { color: var(--mut); font-weight: 600; }
.fact dd { font-weight: 600; color: var(--fg); overflow-wrap: anywhere; }
.fact dd a { color: var(--gold-t); }
.toc { padding: 20px 24px; display: grid; gap: 10px; margin-bottom: 8px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.toc li::marker { content: ""; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(15, 39, 68, 0.15); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--navy); }
.toc a:hover { background: var(--navy); color: #fff; }
.legal .prose h2[id] { scroll-margin-top: 110px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; background: rgba(255, 255, 255, 0.78); border-radius: 18px; overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 13px; letter-spacing: 0.01em; text-transform: none; color: var(--mut); background: rgba(255, 255, 255, 0.6); }
.legal-table tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .fact-grid, .fact-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fact dl > div { grid-template-columns: 1fr; } }
.article.legal { max-width: 1040px; }
.legal .prose > p, .legal .prose > ul, .legal .prose > table { max-width: 800px; }

/* ================= Recrutement ================= */
.hero-tight { padding-bottom: clamp(48px, 6vw, 80px); }
.versus th[scope="row"] { font-weight: 600; color: var(--fg); background: transparent; letter-spacing: 0; text-transform: none; font-size: 15px; }
.versus td.win { font-weight: 600; color: var(--gold-t); }
.versus th:last-child, .versus td:last-child { background: rgba(227, 184, 74, 0.14); }
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pay { padding: 28px; display: grid; gap: 10px; align-content: start; }
.pay-main { background: linear-gradient(120deg, rgba(246, 221, 148, 0.9), rgba(233, 194, 90, 0.9)); }
.pay-main .label, .pay-main p { color: #2d4157; }
.pay h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.025em; }
.pay p { color: var(--mut); }
.pay-num { font-weight: 600; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.025em; }
.pay-num small { font-size: 18px; letter-spacing: 0; font-weight: 600; color: var(--mut); }
.pay-main .gold-text { background: none; color: var(--navy); -webkit-text-fill-color: var(--navy); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.levels > div { padding: 14px 8px; text-align: center; border-radius: 16px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(15, 39, 68, 0.1); display: grid; gap: 2px; }
.levels b { font-size: 28px; font-weight: 600; letter-spacing: -0.025em; color: var(--navy); }
.levels > div:nth-child(2) { opacity: 0.85; } .levels > div:nth-child(3) { opacity: 0.7; } .levels > div:nth-child(4) { opacity: 0.55; }
.levels small { font-size: 12px; color: var(--mut); }
.tick { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; color: var(--mut); font-size: 15px; }
.tick li::marker { color: var(--gold-t); }
.tick b { color: var(--fg); }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }

.sim { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.sim-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.sim-value { font-weight: 600; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.025em; line-height: 1.05; }
.sim input[type="range"] { width: 100%; accent-color: #c9a227; height: 30px; cursor: pointer; }
.sim-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); margin-top: -8px; }
.bars { display: grid; gap: 14px; margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 110px; gap: 16px; align-items: center; font-weight: 600; }
.bar-row b { text-align: right; font-size: 20px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.track-bar { height: 18px; border-radius: 999px; background: rgba(15, 39, 68, 0.08); overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 999px; background: #8fa5c0; transition: width 0.9s var(--ease); }
.bar-row.lotier .bar { background: #ae986a; }
.bar-row.lotier { color: var(--navy); }
.sim-gap { font-size: 18px; }
.sim-gap b { color: var(--gold-t); font-weight: 600; }
@media (max-width: 640px) { .bar-row { grid-template-columns: 1fr auto; } .bar-row .track-bar { grid-column: 1 / -1; order: 3; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 26px; display: grid; gap: 10px; align-content: start; }
.step h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.025em; }
.step p { color: var(--mut); font-size: 15px; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: #ae986a; color: var(--navy); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.apply-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.apply-form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.apply-form h3 { font-weight: 600; font-size: 24px; letter-spacing: -0.025em; }
.apply-form textarea { font: 500 16px var(--font); color: var(--fg); background: #fff; border: 1px solid rgba(15, 39, 68, 0.2); border-radius: 12px; padding: 12px 14px; width: 100%; resize: vertical; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }

/* Comparatif des modèles */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model { padding: 28px; display: grid; gap: 12px; align-content: start; }
.model h3 { font-weight: 600; font-size: 26px; letter-spacing: -0.025em; }
.model p { color: var(--mut); }
.model-lotier { background: linear-gradient(120deg, rgba(246, 221, 148, 0.92), rgba(233, 194, 90, 0.92)); border-color: rgba(255, 255, 255, 0.9); }
.model-lotier p, .model-lotier .label, .model-lotier .tick { color: #2d4157; }
.table-wrap { overflow-x: auto; border-radius: 18px; }
.compare { min-width: 760px; }
.compare td { vertical-align: top; }
.compare th[scope="col"]:last-child { background: rgba(227, 184, 74, 0.35); color: var(--navy); }
@media (max-width: 980px) { .models { grid-template-columns: 1fr; } }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .cards-2 { grid-template-columns: 1fr; } }


/* ---------- Pied de page ---------- */
.footer { margin-top: clamp(56px, 8vw, 104px); padding-block: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 40px); background: linear-gradient(180deg, #ffffff, #f7f4ee); border-top: 1px solid var(--line); }
.contact + .footer, .estim + .footer { margin-top: 0; }
.footer-cta { margin-top: 0; padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; position: relative; z-index: 2; margin-bottom: clamp(28px, 4vw, 44px); }
.footer-cta strong { display: block; font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.footer-cta span { display: block; color: var(--mut); margin-top: 6px; }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cta h2 { font-weight: 600; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.05; }
.footer-cta p { color: var(--mut); margin-top: 6px; max-width: 46ch; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr 0.9fr; gap: 32px clamp(20px, 3vw, 40px); padding-block: 8px clamp(28px, 4vw, 44px); }
.f-brand { display: grid; gap: 16px; align-content: start; }
.f-brand .logo img { height: 56px; }
.f-brand p { color: var(--mut); max-width: 34ch; font-size: 15px; }
.footer address { font-style: normal; font-size: 15px; line-height: 1.7; }
.footer address a { font-weight: 400; text-decoration: none; }
.footer address a:hover, .footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid nav { display: grid; gap: 10px; align-content: start; }
.footer-grid h2, .footer-grid h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--mut); margin-bottom: 4px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid nav a { text-decoration: none; font-weight: 400; font-size: 15px; color: var(--navy); }
.footer-grid nav a:hover { color: var(--gold-t); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-legal a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--navy); }
.footer-legal a:hover { color: var(--gold-t); text-decoration: underline; text-underline-offset: 3px; }
.footer-line { font-size: 13px; color: var(--mut); }
.footer-line .to-top { float: right; margin-top: -8px; }
.to-top { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(15, 39, 68, 0.15); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--navy); transition: background 0.25s, color 0.25s; }
.to-top:hover { background: var(--navy); color: #fff; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .footer-cta .acts .btn { width: 100%; } }
.socials { display: flex; gap: 10px; }
.soc { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(15, 39, 68, 0.15); color: var(--navy); transition: background 0.25s, color 0.25s; }
.soc:hover { background: var(--navy); color: #fff; }
.my-logo { display: block; height: 72px; width: auto; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nav-my { font-weight: 600; color: var(--gold-t); }
.tb-my { font-weight: 600; }

/* ---------- Nos agences (fenêtre) et cloche des nouveautés ---------- */
.tb-btn { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 600; color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tb-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.tb-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.bell-wrap { position: relative; display: flex; align-items: center; }
.bell { position: relative; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px; border-radius: 12px; color: var(--navy); cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
.bell:hover { background: rgba(15, 39, 68, 0.07); }
.bell:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.bell-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.bell-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #c8321e; color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; box-sizing: border-box; }
.bell-badge[hidden] { display: none; }
.bell-txt { display: none; }
.news-panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(360px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(15, 39, 68, 0.35); padding: 8px; z-index: 60; }
.news-panel[hidden] { display: none; }
.news-head { margin: 0; padding: 10px 12px 6px; font-weight: 600; font-size: 13px; letter-spacing: 0.01em; text-transform: none; color: var(--mut); }
.news-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-nav .news-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 0; font-size: 15px; color: var(--navy); }
.site-nav .news-panel a:hover { background: rgba(15, 39, 68, 0.06); }
.news-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--gold-t); }
.news-title { font-weight: 600; line-height: 1.3; }
.news-date { font-size: 13px; color: var(--mut); font-weight: 500; }
.site-nav .news-panel a.news-all { text-align: center; font-weight: 600; color: var(--gold-t); margin-top: 4px; }
.nav-toggle { position: relative; }
.nav-toggle.has-news::after { content: ""; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #c8321e; border: 2px solid var(--bg, #eef3f9); }
@media (max-width: 1180px) {
  .bell-wrap { display: block; border-bottom: 1px solid var(--line); }
  .bell { width: 100%; padding: 15px 0; font-size: 18px; border-radius: 0; }
  .bell-txt { display: inline; }
  .bell-badge { position: static; }
  .news-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 10px; }
}
dialog.agences { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; color: var(--navy); }
dialog.agences::backdrop { background: rgba(10, 28, 51, 0.55); backdrop-filter: blur(3px); }
.agences-box { position: relative; background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 40px 80px -30px rgba(10, 28, 51, 0.6); display: grid; gap: 14px; max-height: calc(100vh - 48px); overflow: auto; }
.agences-box h2 { margin: 0; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.025em; }
.agences-box p { margin: 0; color: var(--mut); }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.dlg-close:hover { background: var(--navy); color: #fff; }
.dlg-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.offices { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.office { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #f6f9fd; display: grid; gap: 6px; }
.office strong { font-size: 18px; letter-spacing: -0.02em; }
.of-tag { margin-left: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--gold-t); }
.office address { font-style: normal; color: var(--mut); line-height: 1.5; }
.of-acts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.of-link { font-weight: 600; color: var(--navy); text-underline-offset: 3px; }
.of-link:hover { color: var(--gold-t); }

.foot-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 400; font-size: 15px; color: var(--navy); cursor: pointer; text-align: left; justify-self: start; }
.foot-link:hover { color: var(--gold-t); text-decoration: underline; text-underline-offset: 3px; }
.soc-link { display: inline-flex; align-items: center; gap: 12px; }
.soc-link svg { width: 22px; height: 22px; flex: none; color: var(--navy); }
.soc-off { cursor: default; font-weight: 400; font-size: 15px; color: var(--navy); }

/* ---------- Assistant de chat ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 80; display: grid; justify-items: end; gap: 12px; }
.chat-fab { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(15, 39, 68, 0.55); transition: transform 0.25s var(--ease); }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab:focus-visible, .chat-x:focus-visible, .chat-form button:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.chat-fab-ico { position: relative; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-hi)); color: var(--navy); display: grid; place-items: center; }
.chat-fab-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chat-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2fb36a; box-shadow: 0 0 0 2px #fff; }
.chat-fab-ico .chat-dot { position: absolute; top: 0; right: 0; }
.chat-fab-txt { display: grid; text-align: left; line-height: 1.2; }
.chat-fab-txt strong { font-size: 15px; font-weight: 600; }
.chat-fab-txt small { font-size: 12px; color: #c4d2e6; }
.chat.open .chat-fab { display: none; }
.chat-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 36px)); background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -24px rgba(10, 28, 51, 0.6); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto auto auto; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; background: var(--navy); color: #fff; }
.chat-head strong { display: block; font-size: 17px; }
.chat-head span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c4d2e6; }
.chat-head .chat-dot { box-shadow: none; }
.chat-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat-log { overflow: auto; padding: 16px; display: grid; gap: 10px; align-content: start; background: #f6f9fd; }
.cm { display: grid; gap: 6px; max-width: 88%; }
.cm-user { justify-self: end; }
.cm-b { padding: 10px 14px; border-radius: 16px; line-height: 1.45; font-size: 15px; white-space: pre-wrap; }
.cm-bot .cm-b { background: #fff; border: 1px solid var(--line); color: var(--navy); border-top-left-radius: 4px; }
.cm-user .cm-b { background: var(--navy); color: #fff; border-top-right-radius: 4px; }
.cm-l { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-l a, .cm-l button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--gold); background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; }
.cm-l a:hover, .cm-l button:hover { background: var(--gold-hi); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 0; background: #f6f9fd; }
.chat-chips[hidden] { display: none; }
.chat-chips button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chat-chips button:hover { border-color: var(--gold); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; background: #f6f9fd; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.chat-form button { width: 46px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-hi)); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-foot { margin: 0; padding: 8px 16px 12px; font-size: 12px; color: var(--mut); background: #f6f9fd; }
@media (max-width: 860px) { .chat { bottom: calc(70px + max(10px, env(safe-area-inset-bottom, 0px))); } .chat-fab-txt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .chat-fab { padding: 8px; } .chat-panel { height: min(520px, calc(100vh - 150px)); } }
@media (prefers-reduced-motion: reduce) { .chat-fab { transition: none; } }

/* ---------- Bandeau des partenaires ---------- */
.partners { padding-block: clamp(28px, 5vw, 56px); overflow: hidden; }
.partners-label { margin: 0 0 18px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--mut); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; gap: clamp(36px, 6vw, 72px); padding-right: clamp(36px, 6vw, 72px); margin: 0; list-style: none; min-width: 100%; justify-content: space-around; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pt { display: flex; align-items: center; }
.pt img { display: block; height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.pt:hover img, .pt:focus-within img { filter: none; opacity: 1; }
@media (hover: none) { .pt img { filter: none; opacity: 1; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; } .marquee-track { animation: none; min-width: 0; flex-wrap: wrap; justify-content: center; padding-right: 0; } .marquee-track[aria-hidden="true"] { display: none; } }

.footer, .footer * { font-synthesis: none; }
.footer .f-brand strong, .footer address strong { font-weight: 400; }

.nav-open .chat { display: none; }

/* ---------- Fond blanc, nuages et boutons couleur LOTIER ---------- */
.orb, .cloud { display: none !important; }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cl { position: absolute; left: 0; will-change: transform; animation: derive var(--d) linear infinite; animation-delay: var(--dl); }
.cl svg { display: block; width: 100%; height: auto; animation: flotte var(--b) ease-in-out infinite alternate; filter: drop-shadow(0 16px 18px rgba(60, 105, 170, 0.24)); }
.cl-far { opacity: 0.85; }
.cl-far svg { filter: blur(1.2px) drop-shadow(0 8px 10px rgba(70, 110, 170, 0.12)); }
.cl-mid { opacity: 0.95; }
.cl-near { opacity: 0.9; }
.cl-near svg { filter: blur(0.6px) drop-shadow(0 26px 30px rgba(60, 105, 170, 0.26)); }
@keyframes derive { from { transform: translate3d(-40vw, 0, 0); } to { transform: translate3d(118vw, 0, 0); } }
@keyframes flotte { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .cl { animation: none; transform: translate3d(30vw, 0, 0); } .cl svg { animation: none; } }
@media (max-width: 700px) { .cl-near { display: none; } }

/* ---------- Bandeau de recrutement ---------- */
.rband { padding-block: clamp(32px, 5vw, 64px); }
.rband-box { position: relative; display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.6fr; border-radius: 26px; overflow: hidden; color: #fff; background: #867244 repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px); box-shadow: 0 30px 60px -30px rgba(70, 56, 28, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.rband-photo { position: relative; min-height: 260px; }
.rband-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.rband-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(134, 114, 68, 0) 55%, #867244); }
.rband-sticker { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); color: #0f2744; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4); transform: rotate(-3deg); animation: sticker 6s ease-in-out infinite; }
.rband-sticker b { font-size: 26px; line-height: 1; letter-spacing: -0.025em; color: #867244; }
.rband-sticker i { font-style: normal; font-size: 12px; font-weight: 600; }
@keyframes sticker { 50% { transform: rotate(2deg) translateY(-4px); } }
.rband-copy { position: relative; padding: clamp(24px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 44px) clamp(8px, 1.5vw, 20px); display: grid; gap: 12px; align-content: center; }
.rband-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: #efe6d0; }
.rband-copy h2 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
.rband-copy h2 em { font-style: normal; color: #f4e7c2; }
.rband-sub { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.55; color: #f6f0e0; }
.rband-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.btn-white:hover { background: #f7f1e3; }
.rband-link { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.rband-link:hover { color: #f4e7c2; }
@media (max-width: 860px) { .rband-box { grid-template-columns: 1fr; } .rband-photo { min-height: 200px; } .rband-photo::after { background: linear-gradient(180deg, rgba(134, 114, 68, 0) 55%, #867244); } .rband-copy { padding: 8px 22px 26px; } .rband-act .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .rband-sticker { animation: none; } }

/* Tablette : pas de carte orpheline sur la dernière ligne */
@media (min-width: 561px) and (max-width: 1020px) { .city-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 660px) and (max-width: 950px) { .cards > :nth-child(3):last-child { grid-column: 1 / -1; } }
@media (min-width: 1021px) and (max-width: 1120px) { .city-cards > :last-child:nth-child(3n+1) { grid-column: 1 / -1; } }

/* ---------- Croix occitane (décor : très transparente, à moitié visible) ---------- */
main { overflow-x: clip; }
/* B : contour fin derrière l'immeuble de l'accueil */
.hero:not(.hero-tight)::before, .hero:not(.hero-tight)::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: url(../assets/croix-occitane-contour.svg) center / contain no-repeat; }
.hero:not(.hero-tight)::before { right: -300px; top: 2%; width: 900px; height: 900px; opacity: 0.38; transform: rotate(14deg); }
.hero:not(.hero-tight)::after { left: -260px; bottom: -120px; width: 520px; height: 520px; opacity: 0.22; transform: rotate(-8deg); }
/* C : demi-croix qui dépasse des sections, en alternance */
main .section { isolation: isolate; }
main .section::before { content: ""; position: absolute; z-index: -1; top: -40px; right: -220px; width: 440px; height: 440px; background: url(../assets/croix-occitane.svg) center / contain no-repeat; opacity: 0.13; transform: rotate(12deg); pointer-events: none; }
main .section:nth-of-type(even)::before { right: auto; left: -220px; transform: rotate(-12deg); }
/* E : photo de la ville vue à travers la croix, pages de ville */
.city-hero > .container { position: relative; z-index: 1; }
.croix-photo { position: absolute; z-index: 0; right: -250px; top: -70px; width: 760px; height: 760px; background-size: cover; background-position: center; -webkit-mask: url(../assets/croix-occitane.svg) center / contain no-repeat; mask: url(../assets/croix-occitane.svg) center / contain no-repeat; opacity: 0.55; pointer-events: none; }
@media (max-width: 860px) { .croix-photo { width: 440px; height: 440px; right: -200px; top: -50px; opacity: 0.3; } }
@media (max-width: 560px) { .croix-photo { width: 300px; height: 300px; right: -140px; top: -60px; opacity: 0.26; } }
@media (max-width: 700px) {
  .hero:not(.hero-tight)::before { width: 340px; height: 340px; right: -190px; top: 14%; }
  .hero:not(.hero-tight)::after { display: none; }
  main .section::before { width: 280px; height: 280px; right: -150px; opacity: 0.1; }
  main .section:nth-of-type(even)::before { right: auto; left: -150px; }
}

/* Safari / iPhone : les mots animés (inline-block) rendaient le texte doré invisible avec le dégradé découpé dans le texte ; on utilise une couleur unie */
.gold-text .w { background: none; color: #947f50; -webkit-text-fill-color: #947f50; }
.gold-text:has(.w) { background: none; }
@media (max-width: 700px) { .hero:not(.hero-tight)::before { opacity: 0.2; } }

.gold-text, .gold-text .w { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }

/* ---------- Page MyLotier : connexion à SPIRIT et nouvelle plateforme ---------- */
.my-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: clamp(40px, 6vw, 72px); }
.my-card { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.my-card .heading { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.my-card .help { font-size: 18px; margin-top: 8px; }
.my-form { display: grid; gap: 14px; margin-top: 6px; }
.my-form .btn { justify-self: start; }
.my-card a:not(.btn) { color: var(--gold-t); font-weight: 600; text-underline-offset: 3px; }
.soon-badge { justify-self: start; padding: 6px 12px; border-radius: 999px; background: #f5f0e4; color: var(--gold-t); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .my-grid { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau cookies */
.cookie-banner{position:fixed;left:16px;bottom:16px;z-index:90;width:min(440px,calc(100vw - 32px));background:#fff;color:var(--ink,#1c1c1c);border:1px solid rgba(0,0,0,.1);border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:20px;animation:ckin .4s cubic-bezier(.22,1,.36,1)}
.cookie-banner .ck-logo{display:block;height:auto;margin-bottom:12px}
.cookie-banner h2{font-size:18px;line-height:1.3;margin:0 0 8px;font-weight:600}
.cookie-banner p{font-size:14px;line-height:21px;margin:0 0 16px}
.cookie-banner a{color:#867244;text-decoration:underline}
.ck-actions{display:flex;flex-wrap:wrap;gap:8px}
.ck-actions .btn,.ck-choix .btn{flex:1 1 auto;min-height:40px;padding:8px 14px;font-size:14px}
.ck-choix{display:grid;gap:8px;margin-top:12px;font-size:14px}
.ck-choix label{display:flex;gap:8px;align-items:flex-start}
.ck-choix[hidden]{display:none}
@keyframes ckin{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){.cookie-banner{animation:none}}
@media (max-width:640px){.cookie-banner{left:8px;right:8px;bottom:8px;width:auto;padding:16px}}

/* Note Google dans le bandeau du haut */
.tb-l { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.tb-rate { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tb-rate b { color: #fff; font-weight: 600; }
.tb-rate .stars { color: #e3c77a; letter-spacing: 1px; font-size: 14px; }
/* Bandeau réduit à une ligne sur téléphone et tablette : note Google et agences. L'appel est dans la barre du bas, MyLotier dans le menu. */
.nav-my { display: none; }
@media (max-width: 900px) {
  .topbar .container { flex-wrap: nowrap; min-height: 40px; gap: 12px; }
  .tb-l { display: flex; padding: 0; }
  .topbar .tb-txt, .topbar .tb-my { display: none; }
  .tb-r { width: auto; flex-wrap: nowrap; }
  .tb-rate { font-size: 13px; gap: 5px; }
  .tb-rate .stars { font-size: 13px; letter-spacing: 0; }
  .topbar .tb-btn { padding-block: 10px; font-size: 13px; white-space: nowrap; }
  .nav-my { display: block; }
}
@media (max-width: 760px) { .topbar .tb-tel { display: none; } }
}

/* Tableaux d'honoraires */
.table-wrap { overflow-x: auto; margin: 16px 0 28px; border-radius: 18px; }
.table-wrap .legal-table { margin: 0; }
.hon-table th.num, .hon-table td.num { text-align: center; font-variant-numeric: tabular-nums; }
.hon-table td.num { font-weight: 500; }
.hon-zones th.num, .hon-zones td.num { min-width: 104px; white-space: nowrap; }
@media (max-width: 640px) { .hon-table th, .hon-table td { padding: 12px 10px; font-size: 14px; } .hon-zones th.num, .hon-zones td.num { min-width: 0; white-space: normal; } }

/* Page des agents */
.agents-filter { margin: 0 0 32px; }
.agents-filter .chip-link { font-family: inherit; cursor: pointer; }
.agents-filter .chip-link.is-on { background: var(--navy); color: #fff; }
.agent-sect { margin-bottom: 48px; }
.agent-sect[hidden] { display: none; }
.agent-sect .heading .small { font-weight: 400; margin-left: 8px; }
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.agent-card { padding: 20px; display: grid; gap: 12px; align-content: start; }
.agent-head { display: flex; align-items: center; gap: 14px; }
.agent-head h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.agent-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.agent-ini { display: grid; place-items: center; background: #f1ece0; color: #5c4a1f; font-weight: 600; font-size: 22px; }
.agent-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-card .tag { padding: 4px 10px; border-radius: 999px; background: #f6f9fd; border: 1px solid var(--line); font-size: 13px; }
.agent-links { display: grid; gap: 8px; margin-top: 4px; }
.agent-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; word-break: break-word; }
.agent-links a:hover { text-decoration: underline; }
.agent-links svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agent-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 16px; }

/* Pages de présentation du service */
.trio.compact h3 { font-size: 22px; }
.trio.compact > article:hover { transform: none; }
.lead-sm { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--mut); margin: 0; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: st; max-width: 760px; }
.stepper li { counter-increment: st; position: relative; padding: 4px 0 4px 56px; }
.stepper li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #f1ece0; color: #5c4a1f; font-weight: 600; }
.stepper h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.02em; }
.stepper p { margin: 0; color: var(--mut); line-height: 1.55; }
@media (max-width: 820px) { .trio.compact { grid-template-columns: 1fr; } }

/* Chiffres de la page « Devenir agent » : valeur lisible sur une ligne, unité plus discrète */
.stats-join .stat { gap: 14px; align-content: start; }
.stats-join .stat strong { font-size: clamp(36px, 3.8vw, 52px); display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.stats-join .stat strong small { font-size: 0.5em; font-weight: 600; color: #867244; letter-spacing: 0; }
.stats-join .stat > span { line-height: 1.45; }
