/* Global Invest Immo — site d'attente. Charte : un seul accent (bleu marine), pas de rouge ni de vert
   (réservés à Pro Service). Logo en Poppins Medium ; texte en Carlito, l'équivalent libre de Calibri
   (police des documents de la charte). */
:root {
  --navy: #1a365d;
  --navy-deep: #132a4a;
  --ink: #1f2937;
  --slate: #475569;
  --line: #e2e8f0;
  --mist: #f8fafc;
  --white: #ffffff;

  --display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Carlito', Calibri, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--navy); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { left: 8px; }

/* Libellé façon cartouche d'architecte : capitales espacées, comme « IMMO » dans le logo */
.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ─── En-tête ─── */
.top { border-bottom: 1px solid var(--line); background: var(--white); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.top__logo img { width: 240px; }
.top__nav { margin-left: auto; display: flex; gap: 26px; font-family: var(--display); font-weight: 500; font-size: 0.95rem; }
.top__nav a { text-decoration: none; color: var(--slate); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.bouton-ligne {
  font-family: var(--display); font-weight: 500; font-size: 0.95rem;
  color: var(--navy); text-decoration: none; border: 1.5px solid var(--navy); padding: 9px 18px;
}
.bouton-ligne:hover { background: var(--navy); color: var(--white); }

/* ─── Hero ─── */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.hero__txt p { color: var(--slate); margin: 0 0 22px; max-width: 46ch; }
.statut {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 500; font-size: 0.85rem; color: var(--navy);
  border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding: 6px 2px;
}
.statut::before { content: ""; width: 7px; height: 7px; background: var(--navy); transform: rotate(45deg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.bouton {
  font-family: var(--display); font-weight: 500; text-decoration: none;
  background: var(--navy); color: var(--white); padding: 13px 22px;
}
.bouton:hover { background: var(--navy-deep); }

/* ─── La façade au trait (signature) ─── */
.facade { margin: 0; }
.facade svg { width: 100%; height: auto; overflow: visible; }
.facade .trait { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.facade .trait--fin { stroke-width: 0.9; opacity: 0.55; }
.facade .cote { fill: none; stroke: var(--slate); stroke-width: 0.9; }
.facade .cote-txt { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; fill: var(--slate); }
.facade .repere circle { fill: var(--navy); }
.facade .repere text { font-family: var(--display); font-weight: 500; font-size: 14px; fill: var(--white); text-anchor: middle; dominant-baseline: central; }
.facade figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--slate); }

@media (prefers-reduced-motion: no-preference) {
  .facade .trait, .facade .cote { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dessin 1.8s cubic-bezier(0.45, 0, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
  .facade .repere, .facade .cote-txt { opacity: 0; animation: apparition 0.5s ease-out forwards; animation-delay: var(--d, 1.9s); }
  @keyframes dessin { to { stroke-dashoffset: 0; } }
  @keyframes apparition { to { opacity: 1; } }
}

/* ─── Les quatre temps ─── */
.temps { padding-block: clamp(40px, 6vw, 88px); background: var(--white); border-block: 1px solid var(--line); }
.temps h2, .section-titre {
  font-family: var(--display); font-weight: 500; color: var(--navy);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -0.015em; line-height: 1.3; margin: 10px 0 28px;
}
.temps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: temps; }
.temps li { counter-increment: temps; padding: 22px 24px 8px 0; border-top: 1.5px solid var(--navy); }
.temps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.temps li::before {
  content: counter(temps);
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 500; font-size: 0.8rem;
  margin-bottom: 12px;
}
.temps h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; }
.temps p { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ─── Page Notre approche ─── */
.page-tete { padding-block: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 28px); }
.page-tete h1 { font-family: var(--display); font-weight: 500; color: var(--navy); font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 16px; max-width: 22ch; }
.page-tete p { color: var(--slate); max-width: 62ch; margin: 0; }
.principes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.principe { border-top: 1.5px solid var(--navy); padding-top: 18px; }
.principe svg { width: 44px; height: 44px; margin-bottom: 14px; }
.principe svg * { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.principe h2 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--navy); margin: 0 0 8px; }
.principe p { margin: 0; color: var(--slate); }

.proposer { background: var(--white); border-block: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.proposer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.proposer p { color: var(--slate); margin: 0 0 16px; }
.fiche { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fiche li { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fiche li span:first-child { font-family: var(--display); font-weight: 500; color: var(--navy); }
.fiche li span:last-child { color: var(--slate); }

/* ─── Bandeau contact ─── */
.contact { background: var(--navy); color: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.contact__in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.contact__logo img { width: 190px; }
.contact p { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.4rem); line-height: 1.5; max-width: 34ch; }
.contact a.bouton-clair {
  font-family: var(--display); font-weight: 500; text-decoration: none; white-space: nowrap;
  background: var(--white); color: var(--navy); padding: 13px 22px;
}
.contact a.bouton-clair:hover { background: var(--mist); }

/* ─── Mentions légales ─── */
.legal { padding-bottom: clamp(48px, 7vw, 96px); }
.legal section { border-top: 1px solid var(--line); padding-block: 24px; max-width: 760px; }
.legal h2 { font-family: var(--display); font-weight: 500; color: var(--navy); font-size: 1.2rem; margin: 0 0 10px; }
.legal p, .legal address { margin: 0 0 10px; color: var(--slate); font-style: normal; }
.legal a { color: var(--navy); text-underline-offset: 3px; }

/* ─── Pied de page ─── */
.pied { padding-block: 32px; font-size: 0.9rem; color: var(--slate); }
.pied__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.pied p { margin: 0; }
.pied nav { display: flex; gap: 20px; }
.pied a { color: var(--navy); text-underline-offset: 3px; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero__grid, .proposer__grid { grid-template-columns: 1fr; }
  .temps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .temps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .principes { grid-template-columns: 1fr; }
  .contact__in { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .top__in { flex-wrap: wrap; gap: 10px 20px; padding-block: 14px; min-height: 0; }
  .top__logo img { width: 170px; }
  .top__nav { margin-left: 0; order: 3; width: 100%; }
  .bouton-ligne { margin-left: auto; }
  .temps ol { grid-template-columns: 1fr; }
  .temps li, .temps li + li { padding-left: 0; border-left: 0; }
  .fiche li { grid-template-columns: 1fr; gap: 2px; }
}
.proposer .bouton { display: inline-block; margin-top: 8px; }
