/* Assistant Immo : toits en fin de journée, fiches nettes, encre bleutée */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --encre: #14212d;
  --ardoise: #4c5a68;
  --ardoise-clair: #76838f;
  --trait: #dde4eb;
  --brume: #eff4f8;
  --blanc: #fff;
  --pastel: #2f5f87;
  --ciel: #a8bed9;
  --ciel-bas: #cedde9;
  --rose: #f7d6c8;
  --peche: #f6c7a8;
  --ambre: #7f4b06;
  --ambre-fond: #fcefd9;
  --vert: #1f6b52;
  --marge: clamp(20px, 5vw, 64px);
  --ombre-haute: 0 2px 4px rgba(20, 33, 45, .05), 0 18px 40px -14px rgba(20, 33, 45, .24), 0 44px 90px -40px rgba(20, 33, 45, .34);
  --ombre-douce: 0 1px 2px rgba(20, 33, 45, .05), 0 12px 28px -18px rgba(20, 33, 45, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 400 17px/1.55 "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pastel); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.06; }
h3 { font-size: 21px; line-height: 1.22; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }

.evitement { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 10px 16px; background: var(--blanc); border-radius: 8px; }
.evitement:focus { left: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}
.btn:active { transform: scale(.98); }
.btn--encre { background: var(--encre); color: var(--blanc); }
.btn--encre:hover { background: #24384a; }
.btn--verre { background: rgba(255, 255, 255, .62); color: var(--encre); backdrop-filter: blur(10px); }
.btn--verre:hover { background: rgba(255, 255, 255, .88); }
.btn--blanc { background: var(--blanc); color: var(--encre); }
.btn--blanc:hover { background: var(--brume); }
.btn--petit { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Navigation flottante */
.nav {
  position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(880px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 14px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), var(--ombre-douce);
}
.nav__marque { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.nav__logo { width: 28px; height: 28px; color: var(--encre); }
.nav__liens { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--ardoise); }
.nav__liens a { text-decoration: none; }
.nav__liens a:hover { color: var(--encre); }

/* Haut de page */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(112px, 12vw, 148px) var(--marge) 0;
  background: linear-gradient(180deg, var(--ciel) 0, var(--ciel-bas) 420px, var(--blanc) 1180px);
  text-align: center;
}
.hero__ciel {
  position: absolute; z-index: -1; inset: 0 0 auto; height: 1180px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 340px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 340px), transparent);
}
.hero__ciel img {
  position: absolute; top: 215px; left: 50%; transform: translateX(-50%);
  width: max(1800px, 118vw); height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%);
}
.hero__texte { max-width: 1060px; margin: 0 auto; }
.branche {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); font-weight: 600; font-size: 15.5px;
}
.branche__point { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(31, 107, 82, .2); }
h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1; letter-spacing: -.036em; }
.hero__sous { max-width: 40em; margin: 24px auto 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.42; color: #24323f; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero__canaux { margin-top: 16px; font-size: 15.5px; font-weight: 500; color: #24323f; }

/* Fiche et téléphone en scène */
.scene { position: relative; max-width: 1140px; margin: clamp(44px, 6vw, 72px) auto 0; padding-left: 250px; text-align: left; }
.fiche {
  background: var(--blanc); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 33, 45, .07), var(--ombre-haute);
  font-size: 15px;
}
.fiche__barre { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--encre); color: var(--blanc); }
.fiche__barre strong { font-size: 17px; letter-spacing: -.01em; }
.fiche__chemin { flex: 1; min-width: 0; color: #b9c5d0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fiche__onglets { display: flex; gap: 24px; padding: 0 20px 0 clamp(92px, 11vw, 132px); border-bottom: 1px solid var(--trait); color: var(--ardoise); font-size: 14.5px; font-weight: 500; overflow: hidden; }
.fiche__onglets span { padding: 13px 0 11px; border-bottom: 2px solid transparent; }
.fiche__onglets .actif { color: var(--encre); border-color: var(--encre); font-weight: 600; }
.fiche__corps { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; padding: 20px 20px 24px clamp(92px, 11vw, 132px); }
.champs > div { display: grid; grid-template-columns: 136px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--brume); }
.champs > div:last-child { border-bottom: 0; }
.champs dt { color: var(--ardoise); }
.champs dd { font-weight: 600; }
.champs small { display: block; font-weight: 400; font-size: 13px; color: var(--ardoise); }
.champs .vide { color: var(--ambre); }
.fiche__cote { display: flex; flex-direction: column; gap: 10px; }
.encart { padding: 13px 15px; background: var(--brume); border-radius: 12px; }
.encart h3 { font-size: 14.5px; letter-spacing: 0; margin-bottom: 2px; }
.encart p { font-size: 14px; line-height: 1.35; color: var(--ardoise); }
.encart--pdf { display: flex; gap: 12px; align-items: center; background: #e6eef5; }

.etat {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 4px 11px 4px 9px; border-radius: 999px;
  background: var(--ambre-fond); color: var(--ambre); font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.etat i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.etat--grand { font-size: 17px; padding: 7px 16px 7px 13px; }
.etat--grand i { width: 9px; height: 9px; }

.pdf-mini { position: relative; flex: none; width: 30px; height: 38px; background: var(--blanc); border-radius: 4px; box-shadow: 0 0 0 1px rgba(20, 33, 45, .12); }
.pdf-mini::after {
  content: "PDF"; position: absolute; left: 3px; right: 3px; bottom: 5px;
  background: #a93a2c; color: #fff; border-radius: 2px;
  font-size: 8px; font-weight: 700; text-align: center; line-height: 12px;
}

/* Téléphones */
.tel { border-radius: 30px; padding: 7px; background: var(--encre); box-shadow: var(--ombre-haute); }
.tel__tete {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--blanc); border-radius: 24px 24px 0 0;
  color: var(--encre);
}
.tel__tete svg { width: 34px; height: 34px; color: var(--encre); flex: none; }
.tel__tete strong { display: block; font-size: 15px; line-height: 1.2; }
.tel__tete span { font-size: 12.5px; color: var(--ardoise); }
.tel__fil { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px 16px; border-radius: 0 0 24px 24px; font-size: 14.5px; line-height: 1.38; }
.tel--telegram .tel__fil { background: linear-gradient(170deg, #d5e4ef, #bcd3df); }
.tel--whatsapp .tel__fil { background: #e4eaee; }
.scene__tel { position: absolute; left: 0; top: 56px; width: 320px; }

.bulle { max-width: 90%; padding: 9px 12px; border-radius: 16px; background: var(--blanc); box-shadow: 0 1px 1px rgba(20, 33, 45, .08); color: var(--encre); text-align: left; }
.bulle--moi { align-self: flex-end; background: #e3f6cf; border-bottom-right-radius: 5px; }
.bulle--bot { align-self: flex-start; border-bottom-left-radius: 5px; }
.tel--whatsapp .bulle--moi { background: #d6f5ce; }
.bulle__transcrit { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(20, 33, 45, .1); font-size: 13.5px; line-height: 1.36; color: #30424f; }
.vocal { display: flex; align-items: center; gap: 9px; min-width: 200px; }
.vocal__lire { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #3f8f5f; }
.vocal__lire::after { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.vocal__onde { flex: 1; min-width: 0; height: 26px; color: #4c9a68; }
.vocal__duree { font-size: 12.5px; color: #4d6a55; font-variant-numeric: tabular-nums; }
.fichier { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 8px 10px; background: var(--brume); border-radius: 10px; }
.fichier b { display: block; font-size: 13.5px; font-weight: 600; }
.fichier small { display: block; font-size: 12.5px; color: var(--ardoise); }

.mention-maquette { margin: 22px auto 0; font-size: 14px; color: var(--ardoise); }

/* Moment d'ouverture : la fiche se remplit une seule fois */
@media (prefers-reduced-motion: no-preference) {
  .rempli { animation: remplir .46s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 95ms + 650ms); }
}
@keyframes remplir { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(84px, 11vw, 150px) var(--marge) 0; }
.tete { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.tete--centre { margin-inline: auto; text-align: center; }
.tete p { margin-top: 16px; font-size: 19px; color: var(--ardoise); }

/* Sans et avec */
.duel__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px; align-items: stretch; }
.duel__sans, .duel__avec { padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; }
.duel__sans { background: var(--brume); color: var(--ardoise); }
.duel__avec { background: linear-gradient(165deg, #cbdcec 0, #f1dcd3 62%, var(--rose) 100%); }
.duel__sans h3, .duel__avec h3 { font-size: 24px; color: var(--encre); margin-bottom: 26px; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; height: 244px; overflow: hidden; margin-bottom: 28px; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.f { grid-column: span 2; display: flex; align-items: center; height: 38px; padding: 0 12px; background: var(--blanc); border-radius: 7px; box-shadow: inset 0 0 0 1px var(--trait); font-size: 13.5px; }
.f--court { grid-column: span 1; }
.f i { font-style: normal; color: var(--ardoise-clair); }
.duel__note { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; height: 244px; margin-bottom: 28px; }
.duel__note p { font-weight: 500; color: #33434f; }
.bulle--grande { align-self: center; max-width: 100%; width: min(420px, 100%); padding: 16px 18px; border-radius: 22px; border-bottom-right-radius: 6px; box-shadow: var(--ombre-haute); }
.bulle--grande .vocal__lire { width: 48px; height: 48px; }
.bulle--grande .vocal__lire::after { left: 19px; top: 14px; border-width: 10px 0 10px 15px; }
.bulle--grande .vocal__onde { height: 38px; }
.duel__liste { display: grid; gap: 12px; counter-reset: l; }
.duel__liste li { position: relative; padding-left: 30px; counter-increment: l; text-wrap: pretty; }
.duel__liste li::before { content: counter(l); position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; font-size: 13px; font-weight: 600; line-height: 21px; text-align: center; }
.duel__sans .duel__liste li::before { background: #dbe3ea; color: var(--ardoise); }
.duel__avec .duel__liste li { color: var(--encre); }
.duel__avec .duel__liste li::before { background: var(--encre); color: var(--blanc); }

/* Déroulé en marches */
.deroule {
  margin: clamp(84px, 11vw, 150px) clamp(8px, 1.4vw, 20px) 0;
  padding: clamp(68px, 8vw, 110px) var(--marge) clamp(56px, 7vw, 96px);
  border-radius: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, #b8cde3 0, #d9e2ec 34%, #f6dfd5 74%, #f9cfbb 100%);
}
.deroule .tete p { color: #2f3f4d; }
.marches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1240px; margin: 0 auto; align-items: start; }
.marche { display: flex; flex-direction: column; padding: 22px 20px 20px; background: rgba(255, 255, 255, .78); border-radius: 22px; box-shadow: var(--ombre-douce); }
.marche:nth-child(2) { margin-top: 44px; }
.marche:nth-child(3) { margin-top: 88px; }
.marche:nth-child(4) { margin-top: 132px; }
.marche__num { font-size: 46px; line-height: 1; font-weight: 500; letter-spacing: -.04em; color: var(--pastel); margin-bottom: 14px; }
.marche h3 { margin-bottom: 8px; }
.marche p { font-size: 16px; line-height: 1.42; color: #3a4955; text-wrap: pretty; }
.vignette { display: flex; flex-direction: column; justify-content: center; min-height: 168px; margin-top: 18px; padding: 14px; background: var(--blanc); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(20, 33, 45, .06); font-size: 14px; }
.vignette .bulle { max-width: 100%; align-self: stretch; }
.vignette .vocal { min-width: 0; }
.vignette b { font-size: 15px; }
.vignette--fiche { gap: 6px; align-items: stretch; }
.ligne { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.ligne i { font-style: normal; font-weight: 400; color: var(--ardoise); }
.vignette--fiche .etat { align-self: flex-start; margin-top: 4px; }
.vignette--scan { gap: 9px; }
.coche { position: relative; padding-left: 25px; line-height: 1.3; }
.coche::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 5px; background: var(--vert); }
.coche::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg); }
.vignette--pdf { align-items: center; background: #dfe8f0; }
.feuille { display: flex; flex-direction: column; gap: 5px; width: 118px; height: 150px; padding: 12px 11px; background: var(--blanc); border-radius: 4px; box-shadow: var(--ombre-douce); transform: rotate(-2deg); }
.feuille b { font-size: 12.5px; line-height: 1.15; }
.feuille small { font-size: 11px; color: var(--ardoise); margin-bottom: 6px; }
.feuille span { height: 6px; border-radius: 3px; background: var(--brume); }
.feuille span:nth-of-type(1) { height: 42px; background: linear-gradient(160deg, #cfdeea, #f2d9cd); }
.feuille span:nth-of-type(3) { width: 70%; }

/* Bento des fonctions réelles */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bloc { padding: clamp(24px, 2.8vw, 34px); background: var(--brume); border-radius: 26px; }
.bloc h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 10px; }
.bloc p { color: var(--ardoise); text-wrap: pretty; }
.bloc--notes { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(170deg, #d9e6f1, #eef3f8 58%); }
.bloc--notes p { max-width: 34em; color: #36465a; }
.traduction { width: 100%; margin-top: auto; border-collapse: collapse; background: var(--blanc); border-radius: 16px; overflow: hidden; box-shadow: var(--ombre-douce); font-size: 16px; }
.bloc--notes p + .traduction { margin-top: auto; }
.bloc--notes > p { margin-bottom: 26px; }
.traduction caption { position: absolute; left: -9999px; }
.traduction th { padding: 12px 18px; text-align: left; font-size: 14px; font-weight: 500; color: var(--ardoise); border-bottom: 1px solid var(--trait); }
.traduction td { padding: 15px 18px; border-bottom: 1px solid var(--brume); }
.traduction tr:last-child td { border-bottom: 0; }
.traduction td:first-child { color: var(--ardoise); }
.traduction td:last-child { font-weight: 600; }

.bloc--doute { grid-column: span 5; background: linear-gradient(165deg, #f8dccf, #f6e9e8); }
.bloc--doute > p:last-child { color: #4b4544; margin-top: 14px; }
.bloc .citation-note { font-size: 19px; font-weight: 500; color: var(--encre); }
.doute__champ { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 11px 14px; background: var(--blanc); border-radius: 10px; font-size: 15px; }
.doute__champ b { color: var(--ambre); font-weight: 600; }

.bloc--secret { grid-column: span 5; background: var(--encre); color: var(--blanc); }
.bloc--secret p { color: #c3ced8; }
.caviar { margin-top: 18px; font-size: 15px; line-height: 2; }
.caviar span { display: inline-block; margin-left: 6px; padding: 0 8px; line-height: 1.5; border-radius: 4px; background: #33475a; color: #33475a; user-select: none; }

.bloc--contact { grid-column: span 3; display: flex; flex-direction: column; background: #e6eef5; }
.bloc--descriptif { grid-column: span 4; display: flex; flex-direction: column; background: var(--brume); }
.fiche-contact { display: flex; gap: 10px; align-items: center; margin-top: auto; padding: 10px 12px; background: var(--blanc); border-radius: 12px; box-shadow: var(--ombre-douce); translate: 0 4px; }
.fiche-contact span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #48637b; color: #fff; font-size: 13px; font-weight: 600; }
.fiche-contact b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.fiche-contact small { font-size: 13px; color: var(--vert); font-weight: 500; }
.bloc--contact p { margin-bottom: 18px; }
.extrait { margin: auto 0 0; padding: 14px 16px; background: var(--blanc); border-radius: 12px; box-shadow: var(--ombre-douce); font-size: 15px; line-height: 1.42; }
.bloc--descriptif p { margin-bottom: 18px; }
.bloc--correction { grid-column: span 5; display: flex; flex-direction: column; gap: 22px; background: linear-gradient(180deg, #d8e6ee, #eff4f8); }
.correction { display: flex; flex-direction: column; gap: 8px; }
.correction .bulle { font-size: 15px; }

/* Canaux */
.canaux { display: grid; gap: clamp(36px, 5vw, 60px); }
.canaux__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.canaux__intro p { font-size: 19px; color: var(--ardoise); text-wrap: pretty; }
.canaux__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.2fr) minmax(0, 4.8fr); gap: 16px; align-items: end; padding: clamp(24px, 4vw, 52px); border-radius: 30px; background: var(--brume); }
.canal figcaption { margin-bottom: 14px; color: var(--ardoise); font-size: 16px; }
.canal figcaption b { color: var(--encre); font-size: 19px; font-weight: 600; margin-right: 5px; }
.canal--whatsapp .tel { background: #1d2b36; }
.canal--whatsapp .vocal { min-width: 0; }
.salon { background: #2e3238; color: #e5e8eb; border-radius: 18px; overflow: hidden; box-shadow: var(--ombre-haute); font-size: 14.5px; line-height: 1.4; }
.salon__tete { padding: 13px 18px; border-bottom: 1px solid #3f444b; font-weight: 600; }
.salon__tete::before { content: "#"; margin-right: 7px; color: #98a1aa; }
.salon__msg { display: flex; gap: 12px; padding: 13px 18px; }
.salon__msg b { font-weight: 600; }
.salon__msg p { color: #d3d7db; }
.salon__msg p + p { margin-top: 3px; }
.salon__av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #48637b; color: #fff; display: grid; place-items: center; font-weight: 600; overflow: hidden; }
.salon__av svg { width: 36px; height: 36px; color: var(--encre); }
.salon__msg:last-child { padding-bottom: 20px; }

/* En attente */
.attente { position: relative; max-width: 1400px; margin: clamp(84px, 11vw, 150px) clamp(8px, 1.4vw, 20px) 0; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(560px, 56vw, 760px); }
@media (min-width: 1440px) { .attente { margin-inline: auto; } }
.attente__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.attente__carte { position: relative; max-width: 620px; margin: clamp(14px, 2.6vw, 34px); padding: clamp(26px, 3.4vw, 42px); background: var(--blanc); border-radius: 24px; box-shadow: var(--ombre-haute); }
.attente__etat { margin-bottom: 18px; }
.attente h2 { font-size: clamp(30px, 3.5vw, 46px); }
.attente__carte p { margin-top: 14px; font-size: 18px; color: var(--ardoise); text-wrap: pretty; }

/* Pour qui */
.pourqui { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.pourqui__texte p { margin-top: 18px; max-width: 36em; font-size: 19px; color: var(--ardoise); text-wrap: pretty; }
.premiere { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: linear-gradient(170deg, #c8d9ea, #f4dcd2); }
.premiere h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; color: #2f3f4d; }
.premiere__nom { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.024em; }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq h2 { font-size: clamp(32px, 3.6vw, 48px); position: sticky; top: 96px; }
.faq__liste { border-top: 1px solid var(--trait); }
details { border-bottom: 1px solid var(--trait); }
summary { position: relative; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after, summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--encre); transition: transform .2s ease; }
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0); }
summary:hover { color: var(--pastel); }
details p { padding: 0 40px 22px 0; color: var(--ardoise); max-width: 40em; text-wrap: pretty; }

/* Appel final */
.final { position: relative; margin: clamp(84px, 11vw, 150px) clamp(8px, 1.4vw, 20px) 0; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; min-height: clamp(460px, 44vw, 620px); display: grid; align-items: end; justify-items: center; color: var(--blanc); text-align: center; }
.final__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 24, 34, .04) 0, rgba(14, 24, 34, .44) 44%, rgba(14, 24, 34, .88) 100%); }
.final__texte { position: relative; z-index: 1; max-width: 860px; padding: 40px var(--marge) clamp(36px, 5vw, 60px); }
.final h2 { margin-bottom: 26px; }

/* Pied */
.pied { max-width: 1240px; margin: 0 auto; padding: 44px var(--marge) 36px; color: var(--ardoise); font-size: 14px; }
.pied__haut { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; font-size: 16px; }
.pied__marque { display: inline-flex; gap: 9px; align-items: center; font-weight: 700; color: var(--encre); }
.pied__marque svg { width: 26px; height: 26px; color: var(--encre); }
.pied p { max-width: 70em; margin-top: 6px; }

.page-simple main { max-width: 640px; margin: 120px auto; padding: 0 var(--marge); }
.page-simple h1 { font-size: 44px; margin-bottom: 18px; }
.page-simple p { margin-top: 12px; }

@media (min-width: 1500px) {
  .hero__ciel { height: 1320px; }
  .hero__ciel img { top: 300px; }
}

/* Tablette */
@media (max-width: 1080px) {
  .nav__liens { display: none; }
  .nav { width: min(560px, calc(100% - 24px)); }
  .scene { padding-left: 0; display: flex; flex-direction: column-reverse; gap: 16px; align-items: center; }
  .scene__tel { position: relative; top: 0; left: 0; width: min(350px, 100%); z-index: 1; }
  .fiche { width: 100%; }
  .fiche__corps { padding-left: 20px; }
  .fiche__onglets { padding-left: 20px; }
  .marches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marche:nth-child(n) { margin-top: 0; }
  .marche:nth-child(even) { margin-top: 36px; }
  .canaux__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .canal--discord { grid-column: span 2; }
  .bloc--notes { grid-column: span 12; grid-row: auto; }
  .bloc--doute, .bloc--secret { grid-column: span 6; }
  .bloc--contact { grid-column: span 5; }
  .bloc--descriptif { grid-column: span 7; }
  .bloc--correction { grid-column: span 12; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero__ciel { height: 1240px; }
  .hero__ciel img {
    top: 545px; left: -160px; transform: none; width: 1400px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16%);
  }
  .btn { min-height: 52px; padding: 0 24px; }
  .btn--petit { min-height: 40px; padding: 0 15px; font-size: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .scene { margin-top: 250px; }
  .fiche__corps { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 18px; gap: 14px; }
  .fiche__barre { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
  .fiche__chemin { order: 3; flex-basis: 100%; }
  .etat { margin-left: auto; }
  .vignette--fiche .etat, .attente__etat .etat { margin-left: 0; }
  .fiche__onglets { gap: 18px; padding: 0 16px; }
  .champs > div { grid-template-columns: 122px minmax(0, 1fr); }
  .duel__grille { grid-template-columns: minmax(0, 1fr); }
  .duel__note, .formulaire { height: 190px; }
  .marches { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .marche:nth-child(n) { margin-top: 0; }
  .vignette { min-height: 0; }
  .vignette--pdf { padding-block: 18px; }
  .bento { display: flex; flex-direction: column; }
  .canaux__intro { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .canaux__grille { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 18px 14px; }
  .canal--discord { grid-column: auto; }
  .attente { min-height: 680px; }
  .attente__photo { object-position: 82% 30%; }
  .pourqui, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  summary { font-size: 18px; }
  .final { min-height: 520px; }
  .final__photo { object-position: 70% 18%; }
}

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

/* Carte Ticket Immobilier : aux couleurs de l'agence (logo fourni, fond repris du logo) */
.premiere { background: #FFD400; color: #121212; }
.premiere h3 { color: #121212; }
.premiere__plaque { display: inline-flex; align-self: flex-start; background: #fff; border-radius: 18px; padding: 16px 22px; }
.premiere__logo { display: block; width: auto; height: clamp(38px, 4vw, 52px); }
.premiere__nom { color: #121212; font-size: clamp(22px, 2.2vw, 28px); }
