/* Compléments : Trade Houses, espace client, outils, réseaux sociaux, menu élargi */

/* Bouton « Espace client » du menu quand on est sur la page */
.menu .btn--clair, .menu .btn--clair.actif { color: var(--nuit); }
.menu .btn--clair.actif { background: var(--creme); border-color: var(--creme); }

/* Chiffre écrit en toutes lettres */
.chiffre strong.en-lettres { font-size: 36px; line-height: 52px; }

/* Fiche commune (sur fond nuit) */
.fond-nuit .fiche-commune h3 { color: var(--nuit); }
.fond-nuit .fiche-commune p { color: var(--gris); }

/* Bouton « bientôt » (lien inactif) */
.btn--bientot { opacity: .65; cursor: default; pointer-events: none; }

/* Réseaux sociaux */
.reseaux { display: flex; gap: 10px; margin-top: 18px; }
.reseau {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; color: var(--blanc); transition: .2s;
}
.reseau:hover { background: var(--creme); color: var(--nuit); }
.reseau svg { width: 18px; height: 18px; }

/* Nos outils (accueil) */
.outils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.outil { padding: 30px 28px 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.outil:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.outil .num { color: var(--creme); font-weight: 600; letter-spacing: .12em; font-size: 13px; }
.outil h3 { margin: 10px 0 8px; font-size: 20px; }
.outil p { font-size: 15px; }

/* Encarts vers Trade Houses / espace client */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.encart { border-radius: var(--rayon); padding: 40px; position: relative; overflow: hidden; text-decoration: none; display: block; transition: transform .3s; }
.encart:hover { transform: translateY(-5px); }
.encart h3 { font-size: 26px; margin: 8px 0 10px; }
.encart p { margin-bottom: 22px; }
.encart--nuit { background: var(--nuit); color: var(--blanc); }
.encart--nuit h3 { color: var(--blanc); }
.encart--nuit p { color: rgba(255,255,255,.78); }
.encart--creme { background: var(--creme); color: var(--texte); }
.encart .fleche { font-weight: 600; letter-spacing: .04em; }

/* Trade Houses */
:root { --laiton: #A5762F; }
.th-acces { background: var(--creme); color: var(--nuit); }
.th-acces .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.th-acces .adresse-web { font-weight: 600; font-size: 18px; letter-spacing: .02em; }
.th-acces .adresse-web small { font-weight: 400; color: var(--gris); font-size: 14px; margin-left: 8px; }
.th-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.th-intro p { font-size: 18px; color: var(--gris); }
.th-intro .grand { font-size: 22px; color: var(--nuit); font-weight: 500; line-height: 1.45; margin-bottom: 16px; }
.boucle { width: 100%; max-width: 460px; margin-inline: auto; display: block; }
.boucle .rotor { transform-origin: 230px 230px; animation: tourne 30s linear infinite; }
.boucle .droite { transform-box: fill-box; transform-origin: center; animation: tourne 30s linear infinite reverse; }
.boucle:hover .rotor, .boucle:hover .droite { animation-play-state: paused; }
@keyframes tourne { to { transform: rotate(360deg); } }
.th-points { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ligne); }
.th-point { padding: 28px 24px 8px 0; }
.th-point + .th-point { padding-left: 24px; border-left: 1px solid var(--ligne); }
.th-point .num { color: var(--argent); font-weight: 600; letter-spacing: .12em; font-size: 13px; }
.th-point strong { display: block; font-size: 22px; color: var(--nuit); margin: 8px 0 6px; line-height: 1.25; font-weight: 600; }
.th-point p { color: var(--gris); font-size: 15px; }
.th-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: e; }
.th-etape { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rayon); padding: 26px 22px; }
.th-etape::before { counter-increment: e; content: "0" counter(e); color: var(--creme); font-weight: 700; font-size: 28px; display: block; margin-bottom: 10px; }
.th-etape h3 { font-size: 18px; }
.th-etape p { font-size: 15px; }

/* Espace client */
.demo-bandeau {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  background: var(--creme); border-radius: var(--rayon); padding: 18px 24px; margin-bottom: 28px; color: var(--nuit);
}
.tb-entete { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.tb-entete h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.en-direct { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gris); }
.en-direct::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2E9E5B; animation: pouls 1.6s infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(46,158,91,.5); } 100% { box-shadow: 0 0 0 10px rgba(46,158,91,0); } }
.etapes-vente { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 28px; }
.etapes-vente div { text-align: center; font-size: 13px; color: var(--gris); padding-top: 14px; border-top: 4px solid var(--ligne); }
.etapes-vente .fait { border-color: var(--nuit); color: var(--nuit); font-weight: 600; }
.etapes-vente .cours { border-color: var(--laiton); color: var(--laiton); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; }
.kpi span { display: block; color: var(--gris); font-size: 14px; }
.kpi strong { display: block; font-size: 34px; color: var(--nuit); font-weight: 700; line-height: 1.2; margin-top: 4px; }
.kpi small { color: var(--gris); font-size: 13px; }
.flash { animation: flash 1s; }
@keyframes flash { 0% { color: #2E9E5B; } 100% { color: var(--nuit); } }
.tb-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 20px; }
.panneau { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; }
.panneau h3 { font-size: 18px; margin-bottom: 4px; }
.panneau .sous { color: var(--gris); font-size: 14px; margin-bottom: 18px; }
.graph { position: relative; display: flex; gap: 14px; height: 220px; padding-top: 10px; }
.barre-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; outline: none; }
.barre-zone { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--ligne); }
.barre { width: 60%; max-width: 44px; background: var(--nuit); border-radius: 4px 4px 0 0; transition: opacity .2s; }
.barre--encours { background: repeating-linear-gradient(135deg, var(--nuit) 0 4px, #4a4a7a 4px 8px); }
.graph:hover .barre { opacity: .45; }
.barre-col:hover .barre, .barre-col:focus .barre { opacity: 1; }
.barre-col span { font-size: 12px; color: var(--gris); padding-top: 8px; }
.graph-bulle { position: absolute; top: -10px; transform: translateX(-50%); background: var(--nuit); color: var(--blanc); font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.ia { background: linear-gradient(150deg, var(--nuit), var(--nuit-2)); border: 0; }
.ia h3 { color: var(--blanc); display: flex; gap: 10px; align-items: center; }
.ia .sous { color: rgba(255,255,255,.6); }
.ia ul { list-style: none; }
.ia li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; color: rgba(255,255,255,.88); }
.ia li:last-child { border: 0; }
.puce-ia { background: var(--creme); color: var(--nuit); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 10px; letter-spacing: .08em; }
.journal { list-style: none; }
.journal li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.journal li:last-child { border: 0; }
.journal .date { flex: none; font-weight: 600; color: var(--nuit); background: var(--sable); border-radius: 8px; padding: 4px 8px; font-size: 13px; height: fit-content; }
.journal b { color: var(--nuit); font-weight: 600; font-size: 15px; }
.journal p { color: var(--gris); font-size: 14px; }
.tableau-offres { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau-offres th { text-align: left; color: var(--gris); font-weight: 500; font-size: 13px; padding: 8px 6px; border-bottom: 1px solid var(--ligne); }
.tableau-offres td { padding: 12px 6px; border-bottom: 1px solid var(--ligne); }
.statut { background: var(--sable); border-radius: 12px; padding: 3px 10px; font-size: 13px; white-space: nowrap; }
.statut--nouveau { background: var(--nuit); color: var(--creme); }
.defile-x { overflow-x: auto; }

/* Onglet Trade Houses mis en avant dans le menu */
.menu a.menu-th {
  color: var(--creme); border: 1.5px solid var(--creme); border-radius: 30px; padding: 7px 16px;
  transition: background .2s, color .2s;
}
.menu a.menu-th::after { display: none; }
.menu a.menu-th:hover, .menu a.menu-th.actif { background: var(--creme); color: var(--nuit); }

/* Carte de Genève (accueil) */
.carte-ge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.carte-ge svg { width: 100%; height: auto; background: var(--nuit-2); border-radius: var(--rayon); display: block; }
.repere-agence .halo { fill: var(--creme); opacity: .35; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.fiche-agence { background: var(--sable); border-radius: var(--rayon); padding: 36px; color: var(--texte); }
.fiche-agence h3 { color: var(--nuit); font-size: 28px; }
.fiche-agence p { color: var(--gris); margin: 10px 0 22px; }
.fiche-agence .adresse { color: var(--nuit); font-weight: 600; font-size: 18px; margin: 0; }
.fiche-agence .actions-ligne { display: flex; gap: 12px; flex-wrap: wrap; }

/* Lex Koller (acheter) */
.lex { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.lex-cas { list-style: none; }
.lex-cas li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.lex-cas li:last-child { border: 0; }
.lex-cas .marque { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.lex-cas .libre { background: var(--creme); color: var(--nuit); }
.lex-cas .regle { background: transparent; border: 1.5px solid var(--creme); color: var(--creme); }
.lex-cas b { color: var(--blanc); display: block; font-weight: 600; }

/* Modèle repensé (pourquoi nous) */
.modele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.modele > div { padding: 36px 30px; }
.modele .moins { background: var(--blanc); }
.modele .garde { background: var(--sable); }
.modele .gagne { background: var(--nuit); color: var(--blanc); }
.modele .gagne h3 { color: var(--blanc); }
.modele h3 { font-size: 20px; margin-bottom: 16px; }
.modele .etiquette { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--argent); font-weight: 600; display: block; margin-bottom: 8px; }
.modele ul { list-style: none; }
.modele li { padding: 9px 0 9px 30px; position: relative; font-size: 16px; }
.modele .moins li { color: var(--gris); text-decoration: line-through; text-decoration-color: rgba(107,111,118,.5); }
.modele .moins li::before { content: "–"; position: absolute; left: 4px; color: var(--argent); font-weight: 700; text-decoration: none; }
.modele .garde li::before { content: "✓"; position: absolute; left: 2px; color: var(--nuit); font-weight: 700; }
.modele .gagne li { color: rgba(255,255,255,.88); }
.modele .gagne li::before { content: "★"; position: absolute; left: 0; color: var(--creme); }
.formule { text-align: center; margin-top: 44px; font-size: clamp(22px, 3vw, 30px); color: var(--nuit); font-weight: 600; }
.formule .serif { font-size: 1.15em; }

@media (max-width: 980px) {
  .carte-ge, .lex, .modele { grid-template-columns: 1fr; }
}

/* Genève en images (diaporama panoramique) */
.panorama-entete { padding: 96px 0 40px; }
.panorama {
  position: relative; height: clamp(440px, 74vh, 760px); overflow: hidden; background: var(--nuit); color: var(--blanc);
}
.pano-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.pano-slide.actif { opacity: 1; z-index: 1; }
.pano-image { position: absolute; inset: -2% -10%; background-size: cover; background-position: center; will-change: transform; }
.pano-slide.actif .pano-image { animation: pano-droite 9s linear forwards; }
.pano-slide:nth-child(even).actif .pano-image { animation-name: pano-gauche; }
@keyframes pano-droite { from { transform: translateX(6%) scale(1.10); } to { transform: translateX(-6%) scale(1.02); } }
@keyframes pano-gauche { from { transform: translateX(-6%) scale(1.02); } to { transform: translateX(6%) scale(1.10); } }
.pano-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,14,47,.88) 0%, rgba(14,14,47,.25) 45%, rgba(14,14,47,.1) 70%, rgba(14,14,47,.45) 100%);
}
.pano-legende { position: absolute; left: 0; right: 0; bottom: 118px; z-index: 2; }
.pano-legende .sur-titre { color: var(--creme); }
.pano-legende h3 { color: var(--blanc); font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-bottom: 12px; }
.pano-legende p { max-width: 560px; font-size: 18px; color: rgba(255,255,255,.88); }
.pano-legende > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease .5s, transform .8s ease .5s; }
.pano-slide.actif .pano-legende > * { opacity: 1; transform: none; }
.pano-credit { position: absolute; right: 16px; top: 14px; z-index: 2; font-size: 11px; color: rgba(255,255,255,.6); text-decoration: none; }
.pano-credit:hover { color: var(--blanc); }
.pano-lieux {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
}
.pano-lieux .conteneur { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pano-lieux .conteneur::-webkit-scrollbar { display: none; }
.pano-lieu {
  flex: none; position: relative; overflow: hidden; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--blanc); background: rgba(14,14,47,.35); border: 1px solid rgba(255,255,255,.4); border-radius: 30px; padding: 9px 18px;
  backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
.pano-lieu:hover { background: rgba(255,255,255,.15); }
.pano-lieu.actif { background: var(--creme); color: var(--nuit); border-color: var(--creme); }
.pano-lieu.actif::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--nuit);
  animation: progression-pano 8s linear forwards;
}
.panorama.pause .pano-lieu.actif::after, .panorama.pause .pano-slide.actif .pano-image { animation-play-state: paused; }
@keyframes progression-pano { to { width: 100%; } }
.pano-fleche {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(14,14,47,.35); color: var(--blanc); font-size: 22px; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s;
}
.pano-fleche:hover { background: var(--creme); color: var(--nuit); }
.pano-fleche--prec { left: 20px; }
.pano-fleche--suiv { right: 20px; }
@media (max-width: 640px) {
  .pano-fleche { display: none; }
  .pano-legende { bottom: 96px; }
  .pano-legende p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pano-slide.actif .pano-image, .pano-lieu.actif::after { animation: none; }
  .pano-image { inset: 0; }
}

/* Pied de page à 3 colonnes */
.pied .grille { grid-template-columns: 1.4fr 1fr 1fr; }

/* Menu : 7 entrées, on passe au menu « burger » plus tôt */
@media (max-width: 1180px) {
  .menu {
    position: fixed; inset: 84px 0 auto 0; background: var(--nuit); flex-direction: column; padding: 28px 16px 36px;
    gap: 20px; transform: translateY(-130%); transition: transform .35s; z-index: -1;
  }
  .menu.ouvert { transform: none; }
  .burger { display: block; }
  .burger.ouvert span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.ouvert span:nth-child(2) { opacity: 0; }
  .burger.ouvert span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .th-intro, .tb-grille, .duo { grid-template-columns: 1fr; }
  .th-points, .th-etapes, .outils { grid-template-columns: 1fr 1fr; }
  .th-point:nth-child(3) { border-left: 0; padding-left: 0; }
  .outil, .outil:not(:nth-child(3n+1)) { padding: 26px 20px; border-left: 0; }
  .pied .grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .th-points, .th-etapes, .outils, .pied .grille { grid-template-columns: 1fr; }
  .th-point + .th-point { border-left: 0; padding-left: 0; border-top: 1px solid var(--ligne); }
  .outil, .outil:not(:nth-child(3n+1)) { padding: 24px 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .etapes-vente { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .encart { padding: 28px 22px; }
}

/* Biens publiés par Immo Gestion : photos, galerie, fiche détaillée */
.bien__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bien:hover .bien__visuel img { transform: scale(1.06); }
.bien__offre { background: #9EA2A9; color: #0E0E2F; }
.biens__vide { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1px dashed #9EA2A9; border-radius: 18px; }
.biens__vide p { max-width: 560px; margin: 10px auto 22px; }
.galerie { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; }
.galerie button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.galerie button.actif { border-color: #0E0E2F; opacity: 1; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.bien__description { margin-top: 16px; line-height: 1.6; }
.bien__points { margin: 12px 0 0 18px; line-height: 1.6; }
.fenetre__boite { max-height: 92vh; overflow-y: auto; }

/* Référencement : liens HTML de secours (remplacés par le menu à l'affichage) */
#entete > nav, #pied > nav, #pied > a { display: none; }
.pied__communes { columns: 2; column-gap: 18px; }
/* Fil d'Ariane */
.ariane { font-size: 13px; color: #6b6f7a; margin-bottom: 18px; }
.ariane a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ariane--clair { color: rgba(255,255,255,.8); }
/* Fiche d'un bien (page indexable) */
.fiche-bien { padding: 130px 0 70px; }
.fiche-bien__photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 70%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; }
.fiche-bien__photos img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; }
.fiche-bien__corps { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 30px; }
.fiche-bien__corps h1 { font-size: clamp(26px, 4vw, 40px); margin: 6px 0 14px; }
.fiche-bien__corps h2 { font-size: 20px; margin-top: 26px; }
.fiche-bien__contact { position: sticky; top: 110px; align-self: start; padding: 24px; border-radius: 18px; background: #FCF2DE; display: grid; gap: 12px; }
.bien__offre-texte { display: inline-block; padding: 4px 12px; border-radius: 20px; background: #9EA2A9; color: #0E0E2F; font-weight: 600; }
@media (max-width: 860px) { .fiche-bien__corps { grid-template-columns: 1fr; } .fiche-bien__photos img { height: 260px; } .fiche-bien { padding-top: 100px; } }
/* Pages communes */
.texte-commune { max-width: 860px; }
.texte-commune h2 { margin: 34px 0 12px; }
.texte-commune p { line-height: 1.7; margin-bottom: 12px; }
.tableau-marche { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.tableau-marche th, .tableau-marche td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3e3e8; }
.tableau-marche th { font-size: 13px; color: #6b6f7a; font-weight: 500; }
.biens-liens { display: grid; gap: 10px; }
.bien-lien { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid #e3e3e8; border-radius: 14px; color: inherit; text-decoration: none; }
.bien-lien:hover { border-color: #0E0E2F; }
.bien-lien span { font-size: 14px; color: #6b6f7a; }
.communes-liens a { white-space: nowrap; }

@media (min-width: 981px) { .pied .grille { grid-template-columns: 1.3fr 1fr 1.3fr 1fr 1fr; gap: 32px; } }

/* ---------- Espace client : comptes ---------- */
.cpt-acces { max-width: 620px; margin: 0 auto; }
.cpt-onglets { display: flex; gap: 6px; margin-bottom: 14px; }
.cpt-onglets button { flex: 1; padding: 12px; border: 1px solid var(--ligne); background: var(--blanc); border-radius: 10px; font: inherit; font-weight: 600; color: var(--gris); cursor: pointer; }
.cpt-onglets button.actif { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.cpt-form { display: grid; gap: 14px; }
.cpt-form[hidden] { display: none; }
.cpt-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--texte); }
.cpt-form label small { font-weight: 400; color: var(--gris); }
.cpt-form input, .cpt-form select, .cpt-form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--ligne); border-radius: 10px; background: var(--blanc); color: var(--texte); width: 100%; box-sizing: border-box; }
.cpt-form input:focus, .cpt-form select:focus, .cpt-form textarea:focus { outline: 2px solid var(--nuit); outline-offset: 1px; }
.cpt-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cpt-case { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.45; }
.cpt-case input { width: auto; margin-top: 3px; }
.cpt-case a { color: var(--nuit); }
.cpt-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cpt-lien { background: none; border: 0; padding: 0; color: var(--nuit); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; justify-self: start; }
.cpt-msg { min-height: 1.2em; margin: 0; font-size: 14px; color: var(--gris); }
.cpt-msg.erreur, .cpt-annonce.erreur { color: #B42318; }
.cpt-msg.ok { color: #1E7B4A; }
.cpt-annonce { max-width: 620px; margin: 0 auto 16px; padding: 14px 18px; border-radius: 12px; background: var(--creme); border: 1px solid var(--ligne); line-height: 1.5; }
.cpt-annonce.ok { color: var(--texte); border-color: #1E7B4A55; }
.cpt-annonce[hidden], .cpt-bienvenue[hidden], .cpt-acces[hidden] { display: none; }
.cpt-bienvenue { max-width: 620px; margin: 0 auto; display: grid; gap: 10px; }
.cpt-bienvenue .btn { justify-self: start; margin-top: 6px; }
.cpt-petit { color: var(--gris); font-size: 14px; }
@media (max-width: 600px) { .cpt-deux { grid-template-columns: 1fr; } }

/* Demandes envoyées au CRM */
.demande__piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.demande__mention { margin-top: 10px; }
.demande__merci { padding: 26px; border-radius: var(--rayon); background: var(--creme); }
.demande__merci h3 { margin-bottom: 8px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; display: inline-flex; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce span { display: inline-block; padding: 7px 14px; border: 1px solid #d6d6de; border-radius: 999px; font-size: 14px; background: var(--blanc); transition: .2s; }
.puce input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.puce input:focus-visible + span { outline: 2px solid var(--nuit); outline-offset: 2px; }
.fenetre--demande { z-index: 110; }
