/* ============================================
   Chantier Voisin — Feuille de style
   Palette : noir #0B0B0C, orange #FF4D00, écru #F0EEE6
   Polices : Bricolage Grotesque (titres), Inter (texte)
   ============================================ */

:root {
  --ink: #0B0B0C;
  --orange: #FF4D00;
  --cream: #F0EEE6;
  --white: #FFFFFF;
  --muted: #5B6472;
  --petrol: #0F4C47; /* conservé pour compat liens hérités */
  --border: #0B0B0C;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(11,11,12,0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

h1, h2, h3, .brand, .kf {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}

h1 { font-size: 42px; line-height: 1.1; }
h2 { font-size: 30px; line-height: 1.2; }
h3 { font-size: 18px; }

p { margin: 0 0 12px; color: var(--muted); }

a { color: var(--ink); text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-head {
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}
.brand b { color: var(--orange); }
.brand .mark {
  width: 34px; height: 34px;
  background: var(--orange);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.brand .mark svg { width: 20px; height: 20px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav .lnk { color: var(--white); font-size: 14.5px; font-weight: 500; }
.nav .lnk:hover { color: var(--orange); }

.btn-head.solid {
  background: var(--orange);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  color: var(--white);
  padding: 64px 0 48px;
  position: relative;
}
.hero.has-photo { background-size: cover; background-position: center; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.hero.solo .wrap { grid-template-columns: 1fr; text-align: center; }

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .lead { color: rgba(255,255,255,0.85); font-size: 16px; }

.ticks { list-style: none; padding: 0; margin: 16px 0; }
.ticks li {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-size: 14.5px;
  margin-bottom: 8px;
}
.ticks .ic {
  color: var(--orange);
  font-weight: 800;
}

/* ---- Formulaire multi-étapes (card) ---- */
.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-head { margin-bottom: 18px; }
.kf { font-size: 18px; margin-bottom: 4px; }
.ks { color: var(--muted); font-size: 13.5px; }

.progress { display: flex; gap: 6px; margin-bottom: 22px; }
.progress .seg {
  flex: 1; height: 4px;
  background: #E5E1D8;
  border-radius: 2px;
}
.progress .seg.on { background: var(--orange); }

.q { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.q-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

.grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 2px solid #E5E1D8;
  border-radius: 8px;
  padding: 14px 8px;
  font-size: 12.5px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.opt input { display: none; }
.opt:hover { border-color: var(--orange); }
.opt:has(input:checked) {
  border-color: var(--orange);
  background: #FFF5EF;
}
.opt .em { font-size: 22px; color: var(--ink); }
.ic-svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.fld { display: block; margin-bottom: 14px; }
.fld .lab { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.inp, textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.consent {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 14px;
}

.err { color: #A32E1F; font-size: 12.5px; display: none; margin-bottom: 10px; }
.err.show { display: block; }

.nav-btns { display: flex; gap: 10px; justify-content: flex-end; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid var(--ink);
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost { background: var(--white); color: var(--ink); }

.fab {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 40;
  box-shadow: var(--shadow);
}

.step { display: none; }
.step.active { display: block; }
.done { display: none; text-align: center; padding: 20px 0; }
.done.show { display: block; }
.done .big {
  width: 56px; height: 56px;
  background: #0E7A46;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}

/* ---- Sections génériques ---- */
.blk { padding: 56px 0; }
.blk.feature { background: var(--white); }
.alt.trust { background: var(--ink); padding: 36px 0; }
.alt.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.alt.trust h3 { color: var(--white); font-size: 16px; margin-bottom: 4px; }
.alt.trust p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }
.alt.trust .em { color: var(--orange); font-size: 24px; margin-bottom: 8px; }

.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head .eyebrow { background: #E5E1D8; color: var(--ink); }

.steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stp { text-align: center; }
.stp .n {
  width: 40px; height: 40px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 14px;
}

.verif {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vf { text-align: center; }
.vi { color: var(--orange); margin-bottom: 10px; }
.vi .ic-svg { width: 30px; height: 30px; }

.metiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mcard {
  display: block;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform 0.15s;
}
.mcard:hover { transform: translateY(-3px); }

.ctaband {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.ctaband h2 { color: var(--white); }
.ctaband p { color: rgba(255,255,255,0.75); }

/* ---- Footer ---- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 30px 0;
  font-size: 13px;
}
footer a { color: rgba(255,255,255,0.85); }
footer .brand { color: var(--white); }
.legal { color: rgba(255,255,255,0.5); font-size: 12px; padding-top: 14px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}
.tag .dot {
  width: 8px; height: 8px;
  background: #0E7A46;
  border-radius: 50%;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); padding: 16px 24px; gap: 14px;
  }
  .hero .wrap { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: repeat(2, 1fr); }
  .row, .steps3, .verif, .metiers { grid-template-columns: 1fr; }
  .alt.trust .wrap { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 30px; }
}

/* ============================================
   Chantier Voisin — page d'accueil (complément)
   ============================================ */

.head-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Bandeau défilant ---- */
.ticker {
  background: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  gap: 26px;
  align-items: center;
  white-space: nowrap;
  animation: defile 26s linear infinite;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--white);
}
.ticker .sep { color: var(--orange); }
@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Hero Chantier Voisin ---- */
.hero-cv { background: var(--cream); padding: 44px 0 52px; }
.hero-cv .tag { border: 2px solid var(--ink); background: var(--white); margin-bottom: 18px; }
.hero-cv .tag .dot { background: var(--orange); }
.hero-cv h1 { font-size: 46px; line-height: 1.05; margin-bottom: 14px; }
.hero-cv h1 mark { background: var(--orange); color: var(--ink); padding: 0 8px; }
.hero-cv .lead { font-size: 16.5px; max-width: 620px; margin-bottom: 24px; }

.searchbar {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  max-width: 620px;
  margin-bottom: 14px;
}
.search-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
}
.btn-search {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 0 24px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.btn-search:hover { background: var(--orange); color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  background: var(--white);
  border: 2px solid #D9D5CB;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.st { padding: 22px 18px; border-right: 2px solid var(--ink); }
.st:last-child { border-right: none; }
.stn { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 800; line-height: 1; }
.stl { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }
.st .btn { margin-top: 12px; padding: 9px 16px; }

/* ---- Filtres + grille d'annonces ---- */
.filtres { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filtres .inp { max-width: 220px; }

.annonces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.chargement { grid-column: 1 / -1; text-align: center; padding: 30px 0; color: var(--muted); }

.acard {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.acard:hover { transform: translateY(-3px); }
.aimg { height: 140px; background: #E5E1D8; }
.aimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aimg.vide { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12.5px; }
.abody { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.acat {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--orange); margin-bottom: 6px;
}
.acard h3 { font-size: 15.5px; margin-bottom: 6px; }
.acard p { font-size: 13px; margin-bottom: 10px; }
.ameta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.aprix { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 17px; }
.aville { color: var(--muted); font-size: 12.5px; }
.badge {
  display: inline-block; margin-top: 10px;
  background: #DCF3E5; color: #0E7A46;
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
}

/* ---- Tarifs ---- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.tcard.hot { background: var(--ink); }
.tcard.hot h3, .tcard.hot .prix { color: var(--white); }
.tcard.hot .ticks li { color: rgba(255,255,255,0.85); }
.prix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 38px; font-weight: 800; line-height: 1;
  margin-bottom: 16px;
}
.prix span { font-size: 14px; font-weight: 600; color: var(--muted); }
.tcard.hot .prix span { color: rgba(255,255,255,0.6); }
.ticks.dark { text-align: left; margin: 0 0 18px; }
.ticks.dark li { color: var(--ink); }
.tcard .btn { width: 100%; }

/* ---- FAQ ---- */
.faq {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 14.5px; }
.faq p { margin: 10px 0 0; font-size: 13.5px; }

/* ---- Footer ---- */
.foot-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-bottom: 18px;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Modales ---- */
.modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11,11,12,0.55);
  z-index: 100;
  padding: 20px;
  overflow-y: auto;
}
.modal.open { display: flex; align-items: flex-start; justify-content: center; }
.modal-box {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  margin: auto;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-x {
  background: var(--white); border: 2px solid var(--ink);
  width: 32px; height: 32px; border-radius: 6px;
  font-size: 15px; cursor: pointer; line-height: 1;
}

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tab {
  padding: 11px; border: 2px solid var(--ink); border-radius: 8px;
  background: var(--white); font-weight: 700; font-size: 13.5px;
  font-family: inherit; cursor: pointer;
}
.tab.on { background: var(--ink); color: var(--white); }

.msg { display: none; font-size: 13px; padding: 10px 12px; border-radius: 6px; margin-bottom: 14px; }
.msg.show { display: block; }
.msg.err { background: #FBE4DA; color: #A32E1F; border: 1px solid #E9B6A6; }
.msg.ok { background: #DCF3E5; color: #0E7A46; border: 1px solid #A9DDBF; }

.btn.full { width: 100%; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--orange); color: var(--ink); }

.lien-sobre {
  display: block; width: 100%; text-align: center;
  background: none; border: none; margin-top: 12px;
  font-size: 13px; color: var(--muted); text-decoration: underline;
  cursor: pointer; font-family: inherit;
}
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.hint.center { text-align: center; margin-top: 12px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .annonces-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-cv h1 { font-size: 31px; }
  .stats { grid-template-columns: 1fr; }
  .st { border-right: none; border-bottom: 2px solid var(--ink); }
  .st:last-child { border-bottom: none; }
  .annonces-grid { grid-template-columns: 1fr; }
  .tarifs { grid-template-columns: 1fr; }
  .searchbar { flex-direction: column; }
  .btn-search { padding: 13px; }
  .filtres .inp { max-width: none; }
}

/* ============================================
   Chantier Voisin — blocs premium (complément 2)
   ============================================ */

.eyebrow.orange { background: var(--orange); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.lnk-compte { color: var(--orange) !important; font-weight: 700; }

/* ---- Bloc noir Mise en avant ---- */
.miseavant { background: var(--cream); padding: 20px 0 56px; }
.ma-box {
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.ma-left h2 { color: var(--white); font-size: 30px; margin-bottom: 10px; }
.ma-left p { color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.ma-left .ticks li { color: rgba(255,255,255,0.9); }
.ma-right {
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.ma-prix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 54px; font-weight: 800; line-height: 1;
  color: var(--ink);
}
.ma-duree {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin: 6px 0 18px;
}

/* ---- Ruban tarif ---- */
.tcard { position: relative; }
.ruban {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--ink);
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 5px 12px; border-radius: 20px;
  border: 2px solid var(--ink); white-space: nowrap;
}

/* ---- État vide ---- */
.vide-etat {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border: 2px dashed #CFCABD;
  border-radius: var(--radius);
}
.vide-etat p { margin-bottom: 14px; }

/* ---- Carte annonce cliquable ---- */
.acard { cursor: pointer; }

/* ---- Modale large (détail / espace) ---- */
.modal-box.large { max-width: 680px; }

.d-photos { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; }
.d-photos img {
  width: 180px; height: 130px; object-fit: cover;
  border: 2px solid var(--ink); border-radius: 8px; flex: 0 0 auto;
}
.d-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.d-desc { font-size: 14px; margin-bottom: 14px; }
.d-vendeur {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; background: var(--cream);
  border-radius: 8px; margin-bottom: 16px;
  font-weight: 700; font-size: 14px;
}
.d-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.d-actions .btn { flex: 1 1 auto; }
.d-actions .lien-sobre { flex: 1 1 100%; }

/* ---- Mon espace ---- */
.tabs4 { grid-template-columns: repeat(4, 1fr); }
.tabs4 .tab { font-size: 12.5px; padding: 9px 6px; }
.espace-contenu { max-height: 60vh; overflow-y: auto; }
.ligne {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px; border: 2px solid #E5E1D8; border-radius: 8px;
  margin-bottom: 8px; font-size: 13.5px;
}
.ligne:hover { border-color: var(--ink); }

.fil {
  max-height: 40vh; overflow-y: auto;
  background: var(--cream); border-radius: 8px;
  padding: 12px; margin: 12px 0;
}
.bulle {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: 10px; padding: 9px 12px; margin-bottom: 8px;
  font-size: 13.5px; max-width: 80%;
}
.bulle.moi { background: var(--orange); margin-left: auto; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .ma-box { grid-template-columns: 1fr; padding: 24px; }
  .ma-left h2 { font-size: 24px; }
  .tabs4 { grid-template-columns: repeat(2, 1fr); }
  .d-actions .btn { flex: 1 1 100%; }
}

/* ---- Section SEO ---- */
.seo-blk { background: var(--white); }
.seo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.seo-cols h3 { font-size: 19px; margin-bottom: 10px; }
.seo-cols p { font-size: 14.5px; line-height: 1.65; margin-bottom: 12px; }
.seo-cols strong { color: var(--ink); font-weight: 700; }

.seo-args {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 36px;
  border-top: 2px solid var(--ink);
}
.sa {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
}
.sa h3 { font-size: 16px; margin-bottom: 8px; }
.sa p { font-size: 13.5px; line-height: 1.6; margin: 0; }
.sa strong { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  .seo-cols { grid-template-columns: 1fr; gap: 24px; }
  .seo-args { grid-template-columns: 1fr; }
}

/* ---- Pages secondaires (légal, destinations) ---- */
.page-head {
  background: var(--ink);
  padding: 52px 0 44px;
}
.page-head h1 { font-size: 40px; }
.page-head .lead { margin-bottom: 20px; }
.page-head .btn { margin-top: 4px; }

.wrap-texte { max-width: 860px; }
.wrap-texte h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 2px solid #E5E1D8;
}
.wrap-texte h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.wrap-texte h3 { font-size: 17px; margin-bottom: 8px; }
.wrap-texte p { font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.wrap-texte strong { color: var(--ink); font-weight: 700; }
.wrap-texte a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wrap-texte a:hover { color: var(--orange); }
.wrap-texte .seo-args { margin: 20px 0 8px; padding-top: 0; border-top: none; }

.liste-legale { margin: 0 0 14px; padding-left: 20px; }
.liste-legale li { font-size: 14.5px; line-height: 1.7; margin-bottom: 6px; color: var(--muted); }
.liste-legale strong { color: var(--ink); }

.encart {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.65;
  margin: 24px 0;
  color: var(--muted);
}
.encart strong { color: var(--ink); }

/* ---- Page 404 ---- */
.err404 {
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.err404 .code {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 92px; font-weight: 800; line-height: 1;
  color: var(--orange); -webkit-text-stroke: 2px var(--ink);
}

@media (max-width: 860px) {
  .page-head h1 { font-size: 28px; }
  .wrap-texte h2 { font-size: 20px; }
  .err404 .code { font-size: 64px; }
}

/* ---- Bloc lancement (réseau qui démarre) ---- */
.lancement {
  grid-column: 1 / -1;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.lancement h3 { font-size: 26px; margin: 14px 0 10px; }
.lancement > p {
  max-width: 560px; margin: 0 auto 26px;
  font-size: 14.5px; line-height: 1.65;
}
.lanc-args {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  padding: 22px 0;
  border-top: 2px solid #E5E1D8;
  border-bottom: 2px solid #E5E1D8;
  margin-bottom: 24px;
}
.lanc-args > div { font-size: 14px; }
.lanc-args strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; }
.lanc-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) {
  .lancement { padding: 28px 20px; }
  .lancement h3 { font-size: 20px; }
  .lanc-args { grid-template-columns: 1fr; gap: 14px; }
  .lanc-btns .btn { flex: 1 1 100%; }
}

/* ---- Partage d'annonce ---- */
.part-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.part-btns .btn { text-decoration: none; }
#partTexte { font-size: 12.5px; color: var(--muted); }

/* ---- Liens régions ---- */
.regions-blk { background: var(--white); }
.liens-regions {
  font-size: 14px;
  line-height: 2.2;
  text-align: center;
  color: var(--muted);
}
.liens-regions a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
  font-weight: 600;
  white-space: nowrap;
}
.liens-regions a:hover { background: var(--orange); }
.wrap-texte .liens-regions { text-align: left; }

/* ---- Distance et mise en avant ---- */
.dist { color: var(--orange); font-weight: 700; margin-left: 6px; font-size: 12px; }
.aimg { position: relative; }
.badge-avant {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--orange); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 5px;
  font-size: 10.5px; font-weight: 800; padding: 3px 7px;
}

/* ---- Parrainage ---- */
.tabs5 { grid-template-columns: repeat(5, 1fr); }
.tabs5 .tab { font-size: 11.5px; padding: 9px 4px; }
.parr-haut {
  background: var(--ink); border-radius: var(--radius);
  padding: 22px; text-align: center; margin-bottom: 14px;
}
.parr-n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 46px; font-weight: 800; line-height: 1; color: var(--orange);
}
.parr-l {
  color: rgba(255,255,255,0.7); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px;
}
#parrLien { font-size: 12.5px; color: var(--muted); }

.bandeau-parrain {
  background: var(--orange); color: var(--ink);
  padding: 11px 16px; text-align: center;
  font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.bandeau-parrain .btn { padding: 7px 14px; }

@media (max-width: 860px) {
  .tabs5 { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Blog : index ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.bcard {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
  text-decoration: none;
}
.bcard:hover { transform: translateY(-3px); }
.bc-haut {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.bc-cat {
  background: var(--orange); color: var(--ink);
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 4px;
}
.bc-date { color: var(--muted); font-size: 12px; }
.bcard h3 { font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.bcard p { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.bc-lire {
  font-weight: 800; font-size: 13px;
  border-bottom: 2px solid var(--orange);
  align-self: flex-start; padding-bottom: 2px;
}

/* ---- Blog : article ---- */
.art-meta {
  color: rgba(255,255,255,0.6);
  font-size: 13px; margin: 0;
}
.article h2 {
  font-size: 23px;
  margin: 34px 0 12px;
  padding-top: 20px;
  border-top: 2px solid #E5E1D8;
}
.article h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--ink);
}
.article p { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.article ul { margin: 0 0 16px; padding-left: 20px; }
.article li {
  font-size: 14.5px; line-height: 1.7;
  margin-bottom: 8px; color: var(--muted);
}
.article li strong { color: var(--ink); }
.article strong { color: var(--ink); font-weight: 700; }
.article a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article a:hover { color: var(--orange); }

/* ---- Blog : articles liés ---- */
.arts-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.art-mini {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px;
  text-decoration: none;
  display: block;
}
.art-mini:hover { background: var(--cream); }
.am-cat {
  display: block;
  color: var(--orange);
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.am-titre {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 14px; line-height: 1.35;
  color: var(--ink);
}

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
  .arts-mini { grid-template-columns: 1fr; }
  .article h2 { font-size: 20px; }
  .article p { font-size: 14.5px; }
}

/* ---- Logos de paiement ---- */
.paiement-secu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-top: 14px;
}
.ps-txt {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ps-stripe {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ps-sep { color: #CFCABD; font-size: 12px; }
.ps-carte { height: 21px; width: auto; }

/* Dans le pied de page (fond noir) */
footer .paiement-secu {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
footer .ps-txt { color: rgba(255,255,255,0.55); }
footer .ps-stripe { color: rgba(255,255,255,0.9); }
footer .ps-sep { color: rgba(255,255,255,0.25); }

/* Dans le bloc tarifs */
.feature .paiement-secu { margin-top: 26px; }

/* ---- Aide au prix (argus) ---- */
.argus {
  border: 2px dashed #CFCABD;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.argus summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
}
.argus-corps { padding-top: 12px; }
.argus-resultat {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  margin-top: 6px;
}
.ar-fourchette {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px; font-weight: 800; line-height: 1.2;
}
.ar-detail { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; }

/* ---- Demandes inversées ---- */
.tabs2 { grid-template-columns: 1fr 1fr; }
.badge-rech {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--ink); color: var(--white);
  border: 2px solid var(--white); border-radius: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em;
  padding: 3px 7px;
}

/* ---- Mur des demandes ---- */
.demandes-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dem-carte {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.dem-haut { display: flex; justify-content: space-between; align-items: center; }
.dem-badge {
  background: var(--ink); color: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 5px;
}
.dem-date { font-size: 12px; color: var(--muted); }
.dem-carte h2 { font-size: 18px; line-height: 1.3; }
.dem-carte p { font-size: 13.5px; }
.dem-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 6px; }
.dem-meta strong { color: var(--ink); }
.dem-bas {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border-top: 2px solid #E5E1D8; padding-top: 12px; margin-top: 4px; flex-wrap: wrap;
}
.dem-entreprise { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.dem-entreprise:hover { color: var(--orange); }
@media (max-width: 860px) { .demandes-liste { grid-template-columns: 1fr; } }

/* ---- Flèche retour en haut ---- */
.btn-haut {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  border: 2px solid var(--white);
  font-size: 20px; font-weight: 800; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.btn-haut.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btn-haut:hover { background: var(--orange); color: var(--ink); }
@media (max-width: 860px) { .btn-haut { bottom: 18px; left: 14px; width: 42px; height: 42px; } }
