/* maj 2026-11-23 20:00 */
/* Company4Now — feuille de style commune
   Palette : ambre #f2a93b, ardoise #d9dee8, marine #1d2b53. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin.woff2") format("woff2");
}
/* Lettres accentuées d’Europe centrale (ł, ő, ș, č…) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette Company4Now */
  --sky: #f2a93b;        /* bleu des bandeaux */
  --sky-dark: #d68b17;   /* bleu foncé (bordures, survol) */
  --grey: #d9dee8;       /* gris du bandeau titre */
  --page: #f4f5f8;       /* fond de page */
  --paper: #ffffff;
  --ink: #3a3a3a;        /* texte principal */
  --mute: #5f5f5f;
  --link: #1f4f9c;
  --deep: #1d2b53;       /* texte sur fond bleu */
  --rule: #d4d4d4;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Devanagari", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --measure: 68ch;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

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

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--sky); color: var(--deep); padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- En-tête ---------- */

.site-header { background: var(--sky); color: var(--deep); border-bottom: 4px solid var(--sky-dark); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1rem;
}

.wordmark {
  font-weight: 800; font-stretch: 75%; font-size: 1.6rem; letter-spacing: .02em;
  color: #535353; text-decoration: none; line-height: 1;
  display: inline-flex; align-items: center; gap: .55rem;
}
.wordmark img { width: 34px; height: 34px; border-radius: 7px; flex: none; }
.wordmark b { color: #000; font-weight: 800; font-style: italic; }
.wordmark i { color: #fff; font-style: normal; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-nav a {
  color: var(--deep); text-decoration: none; font-size: .95rem; font-weight: 550;
  padding-block: .35rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--deep); }
.site-nav a[aria-current="page"] { border-bottom-color: #fff; }

/* ---------- Hero ---------- */

.hero { background: var(--grey); color: #262626; position: relative; }
.hero .wrap { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem); }

.hero h1 {
  font-weight: 750; font-stretch: 68%;
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  line-height: 1; letter-spacing: -.005em;
  margin: 0 0 1.25rem; max-width: 22ch;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55;
  max-width: 58ch; margin: 0; color: #2e2e2e;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.crumbs { font-size: .9rem; margin: 0 0 1.25rem; color: #333; }
.crumbs a { color: #262626; }

/* La signature du site : une rue de façades à pignons, découpée dans la chaux. */
.skyline { display: block; margin-bottom: -1px; width: 100%; height: clamp(48px, 8vw, 110px); color: var(--page); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block; font: inherit; font-weight: 650; font-size: 1rem;
  padding: .8rem 1.3rem; border-radius: 3px; text-decoration: none;
  border: 2px solid var(--sky); background: var(--sky); color: var(--deep);
}
.btn:hover { background: #6fc8df; border-color: #6fc8df; }
.btn.ghost { background: #fff; color: #262626; border-color: #fff; }
.btn.ghost:hover { background: var(--page); border-color: var(--page); }
.btn.dark { background: var(--sky); border-color: var(--sky); color: var(--deep); }
.btn.dark:hover { background: #6fc8df; border-color: #6fc8df; }

/* ---------- Contenu ---------- */

main { padding-block: clamp(2rem, 5vw, 4rem); }

.section + .section { margin-top: clamp(3rem, 7vw, 5rem); }

h2 {
  font-weight: 750; font-stretch: 80%; font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1; margin: 0 0 1.25rem;
}
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin: 0 0 .4rem; }

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }

.intro { font-size: 1.2rem; line-height: 1.55; max-width: 60ch; }

/* Liste de services : des rangées séparées comme des joints de pierre */
.rows { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--sky); }
.rows > li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: .5rem 3rem; padding-block: 1.75rem; border-bottom: 1px solid var(--rule);
}
.rows h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-stretch: 85%; font-weight: 700; margin: 0; }
.rows p { margin: 0 0 .75rem; max-width: 60ch; }
.rows .more { font-weight: 650; }

/* Fiche annonce */
.listing {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper); border-radius: 4px; overflow: hidden; max-width: 920px;
}
.listing img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.listing .body { padding: clamp(1.25rem, 3vw, 2.25rem); align-self: center; }
.listing .place { color: var(--mute); font-size: .95rem; margin: 0 0 .35rem; }
.listing h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .75rem; }

.figure { margin: 0 0 2rem; max-width: 920px; }
.figure img { border-radius: 4px; }
.figure figcaption { font-size: .9rem; color: var(--mute); margin-top: .5rem; }

.fb-posts { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.fb-posts .fb-post { background: var(--paper); padding: 1rem; border-radius: 4px; }
.fb-posts blockquote { margin: 0; }

/* Partenaire (SofieFlat, Ouvertis) */
.partner {
  display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  background: var(--paper); padding: 1.5rem clamp(1.25rem, 3vw, 2rem); border-left: 6px solid var(--sky);
  margin-bottom: 2.5rem; max-width: 920px;
}
.partner img { width: auto; max-height: 90px; }
.partner p { margin: 0; max-width: 46ch; }

.facts { list-style: none; padding: 0; margin: 0 0 1rem; max-width: var(--measure); }
.facts li { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.facts strong { display: block; }

/* Sélecteur de langue */
.langs { margin: 0 0 2rem; font-size: .95rem; }
.langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.langs a {
  display: inline-block; padding: .3rem .7rem; border: 1px solid var(--rule); border-radius: 3px;
  text-decoration: none; color: var(--ink); background: var(--paper);
}
.langs a:hover { border-color: var(--sky-dark); }
.langs a[aria-current="true"] { background: var(--sky); color: var(--deep); border-color: var(--sky); }

/* ---------- Pied de page / contact ---------- */

.site-footer { background: var(--grey); color: #262626; margin-top: clamp(2rem, 5vw, 4rem); }
.site-footer .wrap { padding-block: clamp(2.5rem, 6vw, 4rem) 2.5rem; }
.site-footer h2 { color: #262626; }
.site-footer .pitch { max-width: 52ch; color: #2e2e2e; margin: 0 0 2rem; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.contact a {
  display: flex; align-items: center; gap: .8rem; height: 100%;
  padding: 1.1rem 1.2rem; background: var(--paper); color: #262626; text-decoration: none;
}
.contact a:hover { background: var(--page); }
.contact svg { width: 22px; height: 22px; flex: none; color: var(--sky-dark); }
.contact span { display: flex; flex-direction: column; line-height: 1.3; }
.contact small { color: var(--mute); font-size: .85rem; }

.legal { background: var(--sky); color: var(--deep); font-size: .9rem; border-top: 4px solid var(--sky-dark); }
.legal .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1rem; }
.legal a { color: var(--deep); }

/* Mosaïque de photos de la page d'accueil */
.mosaic { margin: 0; background: var(--paper); padding: clamp(.4rem, 1.2vw, .9rem); border-radius: 4px; }
.mosaic img { width: 100%; border-radius: 2px; }

/* ---------- Petits écrans ---------- */

@media (max-width: 760px) {
  .rows > li { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .site-nav ul { gap: .25rem 1.1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .skyline path { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; transform-origin: bottom; }
  @keyframes rise { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
}

@media print {
  .site-header, .skyline, .site-nav, .actions { display: none; }
  body { background: #fff; }
}

/* Sélecteur FR | EN dans l'en-tête */
.site-header .wrap { flex-wrap: wrap; }
.site-nav { margin-left: auto; }
.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.lang-switch a {
  display: inline-block; min-width: 2.4rem; text-align: center; padding: .3rem .5rem; font-size: .85rem; font-weight: 650;
  color: var(--deep); text-decoration: none; border: 1px solid rgba(18, 52, 61, .35); border-radius: 3px;
}
.lang-switch a:hover { border-color: var(--deep); }
.lang-switch a[aria-current="true"] { background: #fff; border-color: #fff; }
@media (max-width: 760px) {
  .site-nav { order: 3; margin-left: 0; flex-basis: 100%; }
}

/* ---------- Guides ---------- */
.guide .meta { color: var(--mute); font-size: .95rem; margin: 0 0 1.5rem; }
.guide h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.guide ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.guide li { margin-bottom: .35rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.guide table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: .98rem; }
.guide caption { text-align: left; font-size: .9rem; color: var(--mute); padding-bottom: .5rem; }
.guide th, .guide td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--rule); }
.guide thead th { background: var(--sky); color: var(--deep); }
.keypoints { background: var(--paper); border-left: 6px solid var(--sky); padding: 1.25rem 1.5rem .5rem; margin: 2.5rem 0; }
.keypoints h2 { margin-top: 0; font-size: 1.35rem; }
.sources { margin-top: 2.5rem; font-size: .95rem; }
.sources h2, .related h2 { font-size: 1.3rem; }
.note { font-size: .92rem; color: var(--mute); border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2rem; max-width: var(--measure); }
.related ul { list-style: none; padding: 0; }
.related li { padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.rows h3 a { color: inherit; text-decoration: none; }
.rows h3 a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .guide table { min-width: 560px; font-size: .92rem; }
  .table-wrap { margin-inline: -1.25rem; padding-inline: 1.25rem; }
}

/* ---------- Photos et effets ---------- */

.hero.has-photo { overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Voile gris de la charte : le texte reste lisible, la photo respire à droite */
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(217,222,232,.97) 0%, rgba(217,222,232,.92) 42%, rgba(217,222,232,.5) 78%, rgba(217,222,232,.3) 100%);
}
.hero .skyline { position: relative; }

.rows > li.t { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 6fr); align-items: start; }
.thumb { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 7 / 5; background: var(--grey); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) {
  .hero-photo::after { background: rgba(217,222,232,.9); }
  .rows > li.t { grid-template-columns: 1fr; }
  .thumb { aspect-ratio: 16 / 9; max-width: 520px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Ken Burns lent sur le bandeau */
  .hero-photo img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 70% 45%; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
  /* Zoom au survol des vignettes */
  .thumb img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .rows > li.t:hover .thumb img, .thumb:focus-visible img { transform: scale(1.07); }
  /* Apparition au défilement (activée par script seulement) */
  .rv main .section, .rv .rows > li, .rv .partner, .rv .listing {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  }
  .rv main .section.in, .rv .rows > li.in, .rv .partner.in, .rv .listing.in { opacity: 1; transform: none; }
}

@media print {
  .hero-photo, .thumb { display: none; }
  .rv main .section, .rv .rows > li { opacity: 1 !important; transform: none !important; }
}

/* ---------- Nos autres sites (pied de page) ---------- */
.network { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,.12); }
.network h2 { font-size: 1rem; margin: 0 0 .6rem; letter-spacing: .02em; }
.network ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; }
.network li { display: flex; flex-direction: column; line-height: 1.35; }
.network a, .network .soon-name { font-weight: 700; color: var(--deep); }
.network em { font-style: normal; font-weight: 400; font-size: .85rem; color: #333; }
.network small { font-size: .9rem; color: #2e2e2e; }
/* Bouton WhatsApp flottant (bas à droite) : pastille « WhatsApp » sur ordinateur, icône ronde sur mobile */
.wa-float{position:fixed;right:20px;bottom:20px;right:calc(20px + env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:1000;display:inline-flex;align-items:center;gap:.55rem;padding:.75rem 1.15rem .75rem .95rem;border-radius:999px;background:#1f9d55;color:#fff;font:600 1rem/1 var(--font);text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.22);transition:background .2s,transform .2s}
.wa-float:hover,.wa-float:focus-visible{background:#178a49;color:#fff;transform:translateY(-2px)}
.wa-float:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #178a49}
.wa-float svg{width:26px;height:26px;flex:none}
@media (max-width:760px){.wa-float{padding:0;width:56px;height:56px;justify-content:center;right:16px;bottom:16px;right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}.wa-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.wa-float svg{width:30px;height:30px}}
@media print{.wa-float{display:none}}

/* ---------- Company4Now ---------- */
.wordmark { color: var(--deep); }
.wordmark b { color: #fff; }
.wordmark i { color: var(--deep); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep);
       background: var(--grey); border-radius: 3px; padding: .15rem .45rem; margin: 0 0 .5rem; }
.meta .tag { margin: 0; }

/* ======== Design Company4Now (distinct d'Immo4Now) ======== */
:root { --navy: #1d2b53; --navy-2: #26386a; --amber: #f2a93b; --ink: #1f2433; --mute: #5a6072; --link: #1f4f9c; --page: #f7f7f4; }
body { background: var(--page); }

/* En-tête blanc, fin et sobre */
.site-header { background: #fff; color: var(--navy); border-bottom: 1px solid #e3e5ec; box-shadow: 0 1px 0 rgba(29,43,83,.04); }
.site-nav a { color: var(--navy); }
.site-nav a:hover { border-bottom-color: var(--amber); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.wordmark, .wordmark i { color: var(--navy); }
.wordmark b { color: var(--amber); }
.lang-switch a { color: var(--navy); border-color: #d5d9e4; }
.lang-switch a:hover { border-color: var(--navy); }
.lang-switch a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Bandeau marine avec grille fine et grand monogramme */
.hero {
  background-color: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(circle at 85% 20%, rgba(242,169,59,.22), transparent 45%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #d6dbe8; }
.hero .crumbs, .hero .crumbs a { color: #c4cbdc; }
.hero .deco { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); height: auto;
              color: rgba(255,255,255,.18); z-index: 0; pointer-events: none; }
@media (max-width: 760px) { .hero .deco { opacity: .35; width: 80vw; right: -25%; } }

.btn { background: var(--amber); border-color: var(--amber); color: var(--navy); border-radius: 999px; padding-inline: 1.4rem; }
.btn:hover { background: #ffbe5c; border-color: #ffbe5c; }

/* Titres de section numérotés */
h2 .num { display: inline-block; font-size: .8em; color: var(--amber); font-weight: 800; margin-right: .6rem; font-stretch: 75%; }

/* Guides en cartes */
.rows { border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.rows > li { display: flex; flex-direction: column; gap: .5rem; grid-template-columns: none; background: #fff; border: 1px solid #e3e5ec;
             border-top: 4px solid var(--amber); border-radius: 10px; padding: 1.4rem 1.4rem 1.2rem; transition: transform .2s, box-shadow .2s; }
.rows > li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(29,43,83,.10); }
.rows h3 { font-size: 1.3rem; color: var(--navy); }
.rows > li > div { display: flex; flex-direction: column; flex: 1; }
.rows .more { margin-top: auto; }
.tag { background: #eef1f7; color: var(--navy); }

/* Encadrés des guides */
.keypoints { background: var(--navy); color: #fff; border: 0; border-radius: 10px; }
.keypoints h2 { color: var(--amber); }
.table-wrap table th[scope="col"] { background: var(--navy); color: #fff; }

/* Pied de page marine */
.site-footer { background: var(--navy); color: #e6e9f2; }
.site-footer h2 { color: #fff; }
.site-footer .pitch { color: #c4cbdc; }
.network { border-top-color: rgba(255,255,255,.15); }
.network a { color: var(--amber); }
.network small { color: #c4cbdc; }
.legal { background: #141e3d; color: #c4cbdc; border-top: 0; }
.legal a { color: var(--amber); }
.rows .tag { align-self: flex-start; }

/* Couleur par type de guide : créer, gérer, acheter, transmettre */
.s-creer       { --acc: #f2a93b; --acc-soft: #fdf1dd; --acc-ink: #8a5a0b; }
.s-gerer       { --acc: #1f9e89; --acc-soft: #dff3ef; --acc-ink: #11695a; }
.s-acheter     { --acc: #3b6fd8; --acc-soft: #e3ebfb; --acc-ink: #24479a; }
.s-transmettre { --acc: #9b5bc4; --acc-soft: #f0e6f7; --acc-ink: #643386; }
.rows > li[class*="s-"] { border-top-color: var(--acc); }
.rows > li[class*="s-"]:hover { box-shadow: 0 10px 24px rgba(29,43,83,.10), inset 0 0 0 1px var(--acc); }
.rows > li[class*="s-"] .tag { background: var(--acc-soft); color: var(--acc-ink); }
.rows > li[class*="s-"] .more { color: var(--acc-ink); }
.rows > li[class*="s-"] h3 a:hover { color: var(--acc-ink); }
.section[class*="s-"] h2 .num { color: var(--acc); }
.guide[class*="s-"] .meta .tag { background: var(--acc-soft); color: var(--acc-ink); }
.guide[class*="s-"] h2 { border-left: 4px solid var(--acc); padding-left: .6rem; }
.guide[class*="s-"] .keypoints h2 { border-left: 0; padding-left: 0; color: var(--acc); }
.rows > li[class*="s-"] { border-top-width: 6px; background: linear-gradient(180deg, var(--acc-soft) 0, #fff 110px); }
.rows > li[class*="s-"] .tag { background: #fff; box-shadow: inset 0 0 0 1px var(--acc); }

/* ================= Photos et dynamisme ================= */
/* Bandeau avec photo : voile marine, photo visible à droite */
.hero.has-photo { background-image: none; }
.hero.has-photo .hero-photo::after {
  background: linear-gradient(90deg, rgba(29,43,83,.97) 0%, rgba(29,43,83,.9) 40%, rgba(29,43,83,.55) 75%, rgba(29,43,83,.35) 100%),
              linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px;
}
@media (max-width: 760px) { .hero.has-photo .hero-photo::after { background: rgba(29,43,83,.88); } }
.hero.has-photo .deco { color: rgba(255,255,255,.28); opacity: .55; }
.hero[class*=" s-"] { border-bottom: 5px solid var(--acc); }
.hero-credit { position: absolute; right: .9rem; bottom: .5rem; margin: 0; z-index: 1; font-size: .7rem; color: rgba(255,255,255,.6); }
.hero-credit a { color: inherit; }

/* Entrée du titre */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .actions, .hero .crumbs { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lead { animation-delay: .12s; } .hero .actions { animation-delay: .24s; }
  .hero .deco { animation: drift 1.2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes drift { from { opacity: 0; transform: translate(40px, -50%); } }
}

/* Bouton avec reflet */
.btn { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,169,59,.35); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
              transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) { .btn:hover::after { transform: translateX(120%); transition: transform .7s ease; } }

/* Bandeau défilant des chiffres clés */
.ticker { background: #141e3d; color: #fff; display: flex; align-items: center; gap: 1rem; overflow: hidden; font-size: .92rem; }
.ticker-label { flex: none; margin: 0; padding: .7rem 1.1rem; background: var(--amber); color: var(--navy); font-weight: 800;
                text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; }
.ticker-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker ul { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker li { white-space: nowrap; padding: .7rem 1.4rem; position: relative; }
.ticker li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translate(-50%, -50%); }
.ticker a { color: #e6e9f2; text-decoration: none; }
.ticker a:hover, .ticker a:focus-visible { color: var(--amber); text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .ticker ul { animation: tick 60s linear infinite; }
  .ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
  @keyframes tick { to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { overflow-x: auto; } .ticker ul[aria-hidden] { display: none; } }

/* Compteurs */
.stats { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats li { background: #fff; border: 1px solid #e3e5ec; border-radius: 10px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .2rem;
            border-left: 5px solid var(--amber); }
.stats li:nth-child(2) { border-left-color: #1f9e89; } .stats li:nth-child(3) { border-left-color: #3b6fd8; } .stats li:nth-child(4) { border-left-color: #9b5bc4; }
.stats b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; font-stretch: 80%; color: var(--navy); line-height: 1; }
.stats span { color: #4a5470; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Vignettes avec photo */
.rows > li { overflow: hidden; }
.card-img { display: block; margin: -1.4rem -1.4rem .6rem; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: #dfe3ec; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29,43,83,.35)); }
.rows > li[class*="s-"] { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .card-img img { transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s; filter: saturate(.85); }
  .rows > li:hover .card-img img { transform: scale(1.08); filter: saturate(1.1); }
}

/* Filtres par pays */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.filters button { font: inherit; font-weight: 700; font-size: .9rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid #cfd5e3;
                  background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.rows > li[hidden], main .section[hidden] { display: none; }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; background: var(--acc, var(--amber));
            transform: scaleX(0); transform-origin: 0 50%; }
.filters { margin-bottom: 1rem; } .filters + .section { padding-top: 1.5rem; }

/* ---------- Formulaire projet ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: .6rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--form-acc, #f2a93b); color: var(--form-ink, #fff); }
.form-notice { border-left: 4px solid var(--form-acc, #f2a93b); background: #fff; padding: .9rem 1.1rem; border-radius: 6px; font-size: .95rem; }
.lead-form { max-width: 860px; background: #fff; border: 1px solid #e3e5ec; border-radius: 12px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: 0 8px 30px rgba(20,30,60,.06); }
.lead-form fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; }
.lead-form legend { font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem; padding: 0; }
.lead-form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.lead-form .fld { display: flex; flex-direction: column; gap: .35rem; }
.lead-form .fld.full { grid-column: 1 / -1; }
.lead-form label { font-weight: 600; font-size: .92rem; }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel], .lead-form input[type=number], .lead-form select, .lead-form textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cfd5e3; border-radius: 8px; background: #fbfcfe; width: 100%; box-sizing: border-box; min-height: 2.9rem;
  transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--form-acc, #f2a93b); box-shadow: 0 0 0 3px rgba(242,169,59,.25); }
.lead-form .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; }
.lead-form .choice { position: relative; cursor: pointer; }
.lead-form .choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lead-form .choice span { display: block; padding: .85rem 1rem; border: 2px solid #dfe3ec; border-radius: 10px; font-weight: 700; text-align: center; transition: all .2s; }
.lead-form .choice:hover span { border-color: var(--form-acc, #f2a93b); }
.lead-form .choice input:checked + span { border-color: var(--form-acc, #f2a93b); background: var(--form-acc, #f2a93b); color: var(--form-ink, #fff); }
.lead-form .choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,169,59,.35); }
.lead-form .privacy { font-size: .85rem; color: #4a5470; }
.lead-form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; margin: .8rem 0; }
.lead-form .consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; }
.lead-form .req { font-size: .82rem; color: #6b7280; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-ok, .form-err { max-width: 860px; padding: 1.1rem 1.3rem; border-radius: 10px; font-weight: 600; }
.form-ok { background: #e3f4ee; border: 1px solid #1f9e89; color: #11695a; }
.form-err { background: #fdecea; border: 1px solid #d64545; color: #8a1f1f; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: 12px;
  background: var(--cta-bg, #1d2b53); color: #fff; margin: 2.5rem 0; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band strong { display: block; font-size: 1.2rem; margin-bottom: .2rem; }
@media (max-width: 680px) { .lead-form .grid { grid-template-columns: 1fr; } }

.lead-form, .steps, .form-notice { --form-acc: #f2a93b; --form-ink: #1d2b53; }
.cta-band .btn { flex: none; }
.nav-deal { }
