/* =====================================================================
   LIGNÉE, design system premium (mode sombre éditorial)
   Partagé entre index.html (home concierge) et bien.html (fiche bien).
   Palette, base, composants, utilitaires, responsive.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Variables                                                        */
/* ------------------------------------------------------------------ */
:root {
  /* Palette */
  --noir:      #0E1013;
  --noir-2:    #16191F;
  --noir-3:    #1E222A;
  --ivoire:    #F2ECDD;
  --ivoire-2:  #C8C3B6;
  --vert:      #3E7A5E;
  --vert-clair:#4E9273;
  --or:        #C9A567;
  --gris:      #7C7A72;
  --filet:     #2A2E36;

  /* Typographies */
  --f-display: 'Tenor Sans', 'Times New Roman', serif;
  --f-edito:   'Fraunces', Georgia, serif;
  --f-corps:   'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Rythme */
  --ease-1: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.25, 1, 0.5, 1);
  --pad-x:  clamp(20px, 5vw, 88px);
  --maxw:   1320px;

  /* Divers */
  --radius:   4px;
  --radius-l: 10px;
  --shadow:   0 30px 80px -40px rgba(0,0,0,.85);
}

/* ------------------------------------------------------------------ */
/* 2. Reset & base                                                     */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-corps);
  font-weight: 300;
  color: var(--ivoire);
  background: var(--noir);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; color: inherit; background: none; border: none; }

input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--vert); color: var(--ivoire); }

/* Scrollbar sobre */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--noir-3); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--filet); }

/* ------------------------------------------------------------------ */
/* 3. Grain / texture en overlay                                       */
/* ------------------------------------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Halo radial très léger pour la profondeur */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, rgba(62,122,94,.10), transparent 55%),
              radial-gradient(90% 60% at 90% 110%, rgba(201,165,103,.05), transparent 60%);
}

/* ------------------------------------------------------------------ */
/* 4. Typographie utilitaire                                           */
/* ------------------------------------------------------------------ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--gris);
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ivoire);
}

.edito {
  font-family: var(--f-edito);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  color: var(--ivoire-2);
}

.dot { color: var(--or); }

/* Filet or décoratif */
.rule-or {
  width: 54px;
  height: 1px;
  background: var(--or);
  border: 0;
}

/* ------------------------------------------------------------------ */
/* 5. Layout helpers                                                   */
/* ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 160px); }

.section--tight { padding-block: clamp(56px, 8vw, 110px); }

.alt { background: var(--noir-2); }

/* ------------------------------------------------------------------ */
/* 6. Loader                                                           */
/* ------------------------------------------------------------------ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--noir);
  transition: opacity .6s var(--ease-1);
}
#loader.hide { opacity: 0; pointer-events: none; }

.loader-mark {
  font-family: var(--f-display);
  font-size: clamp(30px, 6vw, 52px);
  color: var(--ivoire);
  letter-spacing: .02em;
  opacity: 0;
  animation: loaderIn 1s var(--ease-1) forwards;
}
.loader-bar {
  width: 0;
  height: 1px;
  background: var(--or);
  margin: 20px auto 0;
  animation: loaderBar 1.1s var(--ease-2) .1s forwards;
}
@keyframes loaderIn { to { opacity: 1; } }
@keyframes loaderBar { to { width: 120px; } }

/* ------------------------------------------------------------------ */
/* 7. Navigation sticky                                                */
/* ------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  transition: background .5s var(--ease-1), padding .5s var(--ease-1), border-color .5s var(--ease-1);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14,16,19,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: 15px;
  border-bottom: 1px solid var(--filet);
}

.brand {
  font-family: var(--f-display);
  font-size: 25px;
  letter-spacing: .03em;
  color: var(--ivoire);
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 4px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--ivoire-2);
  position: relative;
  padding-block: 4px;
  transition: color .4s var(--ease-1);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-1);
}
.nav-links a:hover { color: var(--ivoire); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.burger { display: none; }

/* ------------------------------------------------------------------ */
/* 8. Boutons                                                          */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: transform .6s var(--ease-1), background .6s var(--ease-1), color .6s var(--ease-1), border-color .6s var(--ease-1);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--vert); color: var(--ivoire); }
.btn--primary:hover { background: var(--vert-clair); transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--filet);
  color: var(--ivoire);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--or); color: var(--ivoire); }

.btn--line {
  padding: 0 0 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--or);
  color: var(--ivoire);
  letter-spacing: .06em;
}
.btn--line:hover { color: var(--or); }

.btn--sm { padding: 10px 18px; font-size: 12.5px; }

/* ------------------------------------------------------------------ */
/* 9. Hero                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.85) contrast(1.02);
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,16,19,.55) 0%, rgba(14,16,19,.72) 55%, var(--noir) 100%),
    linear-gradient(90deg, rgba(14,16,19,.60), rgba(14,16,19,.20));
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp .9s var(--ease-1) .2s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--or);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--ivoire);
  margin-top: 24px;
  max-width: 15ch;
  opacity: 0;
  animation: fadeUp 1s var(--ease-1) .32s forwards;
}
.hero-sub {
  font-family: var(--f-edito);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--ivoire-2);
  margin-top: 22px;
  max-width: 44ch;
  opacity: 0;
  animation: fadeUp 1s var(--ease-1) .44s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------ */
/* 10. Barre concierge                                                 */
/* ------------------------------------------------------------------ */
.concierge-bar {
  margin-top: 40px;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-1) .56s forwards;
}
.cbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,25,31,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  padding: 8px 8px 8px 22px;
  transition: border-color .5s var(--ease-1), box-shadow .5s var(--ease-1);
}
.cbar:focus-within {
  border-color: var(--vert);
  box-shadow: 0 0 0 1px var(--vert), 0 24px 60px -32px rgba(62,122,94,.6);
}
.cbar__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  color: var(--ivoire);
  padding-block: 14px;
  min-width: 0;
}
.cbar__input::placeholder { color: var(--gris); font-weight: 300; }

.mic {
  flex: none;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--filet);
  color: var(--ivoire-2);
  transition: color .4s var(--ease-1), border-color .4s var(--ease-1), background .4s var(--ease-1);
  position: relative;
}
.mic:hover { color: var(--ivoire); border-color: var(--or); }
.mic svg { width: 20px; height: 20px; }
.mic.listening {
  color: var(--ivoire);
  border-color: var(--vert);
  background: rgba(62,122,94,.16);
}
.mic.listening::before,
.mic.listening::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  border: 1px solid var(--vert);
  animation: micPulse 1.6s var(--ease-2) infinite;
}
.mic.listening::after { animation-delay: .8s; }
@keyframes micPulse {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 0;  transform: scale(1.55); }
}

.cbar__submit { flex: none; height: 48px; }

.cbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}
.cbar-note .live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 0 0 rgba(62,122,94,.6);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  0%   { box-shadow: 0 0 0 0 rgba(62,122,94,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(62,122,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,122,94,0); }
}

/* ------------------------------------------------------------------ */
/* 11. Chips d'intention                                               */
/* ------------------------------------------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-1) .68s forwards;
}
.chip {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ivoire-2);
  padding: 9px 16px;
  border: 1px solid var(--filet);
  border-radius: 40px;
  background: rgba(22,25,31,.5);
  transition: color .4s var(--ease-1), border-color .4s var(--ease-1), background .4s var(--ease-1), transform .4s var(--ease-1);
}
.chip:hover {
  color: var(--ivoire);
  border-color: var(--or);
  background: var(--noir-3);
  transform: translateY(-2px);
}

/* Indicateur de scroll */
.scroll-ind {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-1) 1s forwards;
}
.scroll-ind span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gris);
}
.scroll-ind i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--or), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-ind i::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--ivoire);
  animation: scrollDot 2.2s var(--ease-2) infinite;
}
@keyframes scrollDot {
  0%   { top: -50%; }
  100% { top: 120%; }
}

/* ------------------------------------------------------------------ */
/* 12. Zone de conversation                                            */
/* ------------------------------------------------------------------ */
.concierge {
  position: relative;
  z-index: 1;
  padding-block: clamp(60px, 9vw, 130px);
}
.conv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.conv-head h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 46px);
  color: var(--ivoire);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.conv-head p { color: var(--ivoire-2); max-width: 42ch; font-weight: 300; }

.conv {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* État vide élégant */
.conv-empty {
  border: 1px dashed var(--filet);
  border-radius: var(--radius-l);
  padding: clamp(38px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(62,122,94,.06), transparent 70%);
}
.conv-empty .orb {
  width: 60px; height: 60px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--or);
  display: grid;
  place-items: center;
  position: relative;
}
.conv-empty .orb::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--vert), transparent 70%);
  animation: breathe 3.4s var(--ease-2) infinite;
}
@keyframes breathe {
  0%,100% { transform: scale(.8); opacity: .55; }
  50%     { transform: scale(1.1); opacity: 1; }
}
.conv-empty h3 {
  font-family: var(--f-edito);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ivoire);
  margin-bottom: 10px;
}
.conv-empty p { color: var(--gris); max-width: 46ch; margin-inline: auto; }

/* Bulles */
.bubble { max-width: 720px; opacity: 0; animation: bubbleIn .6s var(--ease-1) forwards; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bubble--user {
  align-self: flex-end;
  background: var(--noir-3);
  border: 1px solid var(--filet);
  border-radius: 14px 14px 2px 14px;
  padding: 14px 20px;
  color: var(--ivoire);
  font-weight: 300;
}
.bubble--user .who {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 6px;
}

.bubble--bot { align-self: flex-start; width: 100%; max-width: 940px; }
.bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.bot-avatar {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--or);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--ivoire);
  background: radial-gradient(circle at 30% 25%, rgba(62,122,94,.5), transparent 65%);
}
.bot-head .name { font-size: 14px; font-weight: 500; color: var(--ivoire); }
.bot-head .name b { font-weight: 500; }
.bot-head .tag {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gris);
}
.bot-say {
  color: var(--ivoire);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.bot-say em { font-family: var(--f-edito); font-style: italic; color: var(--ivoire-2); }
.bot-say b { font-weight: 600; color: var(--ivoire); }

/* Indicateur "en train d'écrire" */
.typing { display: inline-flex; gap: 5px; padding: 6px 0; }
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ivoire-2);
  animation: typing 1.2s var(--ease-2) infinite;
}
.typing span:nth-child(2) { animation-delay: .18s; }
.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%,60%,100% { opacity: .25; transform: translateY(0); }
  30%         { opacity: 1;  transform: translateY(-4px); }
}

/* ------------------------------------------------------------------ */
/* 13. Cartes de biens                                                 */
/* ------------------------------------------------------------------ */
.result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.result-meta::before { content: ""; width: 24px; height: 1px; background: var(--or); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  display: block;
  background: var(--noir-2);
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .7s var(--ease-1), border-color .7s var(--ease-1), box-shadow .7s var(--ease-1);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--or);
  box-shadow: var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-1);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,16,19,.7));
}
.card__flag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: rgba(14,16,19,.7);
  border: 1px solid var(--filet);
  padding: 5px 10px;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}
.card__flag.vedette { border-color: var(--or); color: var(--or); }
.card__id {
  position: absolute;
  bottom: 12px; right: 14px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ivoire-2);
}
.card__body { padding: 20px 20px 22px; }
.card__city {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gris);
}
.card__title {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--ivoire);
  margin: 8px 0 12px;
  line-height: 1.15;
}
.card__price {
  font-size: 20px;
  font-weight: 500;
  color: var(--ivoire);
  letter-spacing: .01em;
}
.card__price small { font-size: 12px; color: var(--gris); font-weight: 400; margin-left: 4px; }
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--filet);
  font-size: 13px;
  color: var(--ivoire-2);
}
.card__specs span { display: inline-flex; align-items: center; gap: 6px; }
.card__specs b { color: var(--ivoire); font-weight: 500; }
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.card__tags i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ivoire-2);
  border: 1px solid var(--filet);
  border-radius: 30px;
  padding: 4px 11px;
}
.card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--or);
  transition: gap .5s var(--ease-1);
}
.card:hover .card__go { gap: 14px; }

/* ------------------------------------------------------------------ */
/* 14. Panneaux intent (estimation / honoraires / contact)            */
/* ------------------------------------------------------------------ */
.panel {
  background: var(--noir-2);
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 38px);
  margin-top: 18px;
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.panel__head .eyebrow { color: var(--or); }

/* Estimation form */
.est-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.field input, .field select {
  background: var(--noir);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
  padding: 13px 15px;
  color: var(--ivoire);
  outline: none;
  transition: border-color .4s var(--ease-1);
}
.field input:focus, .field select:focus { border-color: var(--vert); }
.field input::placeholder { color: var(--gris); }

.est-actions { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.est-actions .hint { font-size: 13px; color: var(--gris); }

.confirm {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--vert);
  border-radius: var(--radius);
  background: rgba(62,122,94,.10);
}
.confirm .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--vert);
  color: var(--ivoire);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.confirm p { color: var(--ivoire); font-weight: 300; }
.confirm b { font-weight: 600; }

/* Honoraires */
.fee-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.fee {
  border: 1px solid var(--filet);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--noir);
}
.fee .num {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--ivoire);
  line-height: 1;
}
.fee .num .u { font-size: 16px; color: var(--or); }
.fee .lbl { font-size: 14px; color: var(--ivoire-2); margin-top: 12px; }
.fee-note { margin-top: 20px; font-size: 14px; color: var(--gris); }
.fee-note b { color: var(--ivoire); font-weight: 500; }

/* Carte contact */
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.contact-lines { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 14px; color: var(--ivoire); }
.contact-lines .ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--filet);
  display: grid; place-items: center;
  color: var(--or);
}
.contact-lines small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.contact-lines b { font-weight: 500; font-size: 17px; }

/* ------------------------------------------------------------------ */
/* 15. Section "notre façon de travailler"                            */
/* ------------------------------------------------------------------ */
.head-block { max-width: 640px; margin-bottom: clamp(40px, 6vw, 70px); }
.head-block .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.head-block .eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--or); }
.head-block h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 5vw, 58px);
  color: var(--ivoire);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-top: 22px;
}
.head-block p {
  font-family: var(--f-edito);
  font-style: italic;
  color: var(--ivoire-2);
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 18px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.pillar {
  background: var(--noir);
  padding: clamp(28px, 4vw, 44px);
  transition: background .6s var(--ease-1);
}
.pillar:hover { background: var(--noir-2); }
.pillar .idx {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--or);
}
.pillar h3 {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--ivoire);
  margin: 20px 0 12px;
  line-height: 1.15;
}
.pillar p { color: var(--ivoire-2); font-weight: 300; font-size: 15.5px; }

/* ------------------------------------------------------------------ */
/* 16. Bandeau chiffres                                                */
/* ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: left; }
.stat .n {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 68px);
  color: var(--ivoire);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat .n .u { color: var(--or); font-size: .5em; }
.stat .l {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ivoire-2);
  max-width: 22ch;
}
.stat + .stat { border-left: 1px solid var(--filet); padding-left: 30px; }

/* ------------------------------------------------------------------ */
/* 17. CTA bandeau                                                     */
/* ------------------------------------------------------------------ */
.cta-band {
  text-align: center;
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  padding: clamp(44px, 7vw, 88px);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(62,122,94,.10), transparent 65%),
    var(--noir-2);
}
.cta-band h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 5vw, 58px);
  color: var(--ivoire);
  line-height: 1.04;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  font-family: var(--f-edito);
  font-style: italic;
  color: var(--ivoire-2);
  margin: 18px auto 30px;
  max-width: 46ch;
  font-size: clamp(17px, 2vw, 20px);
}
.cta-band .row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ */
/* 18. Footer                                                          */
/* ------------------------------------------------------------------ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--filet);
  background: var(--noir);
  padding-block: clamp(56px, 8vw, 96px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--filet);
}
.footer-brand .brand { font-size: 34px; }
.footer-brand p {
  color: var(--ivoire-2);
  font-weight: 300;
  margin-top: 20px;
  max-width: 34ch;
  font-size: 15px;
}
.footer-brand .disclaimer {
  font-family: var(--f-edito);
  font-style: italic;
  color: var(--gris);
  font-size: 13.5px;
  margin-top: 16px;
}
.fcol h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 20px;
  font-weight: 400;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fcol a, .fcol span { color: var(--ivoire-2); font-size: 15px; font-weight: 300; transition: color .4s var(--ease-1); }
.fcol a:hover { color: var(--or); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
}
.footer-bottom .made {
  font-family: var(--f-edito);
  font-style: italic;
  color: var(--ivoire-2);
  font-size: 15px;
}
.footer-bottom .legal {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ------------------------------------------------------------------ */
/* 19. Reveal via IntersectionObserver                                 */
/* ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-1), transform 1s var(--ease-1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* 20. Utilitaires                                                     */
/* ------------------------------------------------------------------ */
.center { text-align: center; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 26px; }
.hide-vis { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------------ */
/* 20b. Composer de relance                                            */
/* ------------------------------------------------------------------ */
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 7px 7px 7px 20px;
  background: var(--noir-2);
  border: 1px solid var(--filet);
  border-radius: var(--radius-l);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity .6s var(--ease-1), transform .6s var(--ease-1), max-height .6s var(--ease-1), margin .6s var(--ease-1), padding .6s var(--ease-1);
}
.composer.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 90px;
}
.composer:focus-within { border-color: var(--vert); box-shadow: 0 0 0 1px var(--vert); }
.composer__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ivoire);
  padding-block: 12px;
  font-weight: 300;
  min-width: 0;
}
.composer__input::placeholder { color: var(--gris); }
.mic--sm { width: 42px; height: 42px; }
.mic--sm svg { width: 18px; height: 18px; }
.composer-note {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  opacity: 0;
  transition: opacity .6s var(--ease-1);
}
.composer-note[aria-hidden="false"] { opacity: 1; }

/* ------------------------------------------------------------------ */
/* 20c. Menu mobile                                                    */
/* ------------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .5s var(--ease-1), transform .5s var(--ease-1);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.mobile-menu nav a {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--ivoire);
  padding-block: 10px;
  border-bottom: 1px solid var(--filet);
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mm-close {
  position: absolute;
  top: 22px; right: var(--pad-x);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivoire-2);
}
.mm-close:hover { color: var(--or); }

/* ------------------------------------------------------------------ */
/* 20d. Toast                                                          */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 9999;
  max-width: min(520px, calc(100vw - 40px));
  background: var(--noir-3);
  border: 1px solid var(--or);
  color: var(--ivoire);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  padding: 15px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-1), transform .5s var(--ease-1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ */
/* 21. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  body { font-size: 16px; }

  .nav-links, .nav-cta .btn--ghost { display: none; }
  .burger {
    display: grid;
    gap: 5px;
    padding: 8px;
  }
  .burger span { width: 24px; height: 1.5px; background: var(--ivoire); display: block; }

  .hero { min-height: 100svh; padding-top: 110px; }
  .hero-title { max-width: 100%; }

  .cbar { flex-wrap: nowrap; }

  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--filet); }

  .contact-card { grid-template-columns: 1fr; }
  .fee-row { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; }

  .cbar {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }
  .cbar__input { flex: 1 1 100%; padding-left: 8px; }
  .mic { flex: 1; }
  .cbar__submit { flex: 3; }

  .chips { gap: 8px; }
  .chip { font-size: 12.5px; padding: 8px 13px; }

  .cards { grid-template-columns: 1fr; }

  .conv-head { flex-direction: column; align-items: flex-start; }
  .bubble--user, .bubble--bot { max-width: 100%; }

  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(n+2) { padding-top: 22px; border-top: 1px solid var(--filet); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .stat .n { font-size: clamp(40px, 14vw, 60px); }
}
