/* freelance.ml : feuille unique, sans compilation. Pensée pour un téléphone d'entrée de gamme d'abord.
   Charte (affiche « Toutes vos opportunités, au même endroit ! ») : vert profond + orange d'élan, formes arrondies, polices Nunito et Baloo 2. */

/* Polices hébergées sur le site (licence SIL OFL) : variables, une seule requête par famille, texte visible pendant le chargement */
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  /* Couleurs de la marque */
  --vert: #157A3A; --vert-vif: #2FA84F; --vert-fonce: #0E4D2A; --vert-nuit: #0A3A20;
  --orange: #F2741C; --orange-vif: #F7941D; --orange-fonce: #C4500A;
  /* Rôles (les noms historiques sont gardés : les vues s'en servent) */
  --fond: #F3F7F2; --surface: #FFFFFF; --encre: #17261D; --doux: #56685D; --trait: #E0E9E2;
  --primaire: var(--vert); --primaire-fonce: var(--vert-fonce); --primaire-clair: #E4F3E8;
  --ocre: #B64B08; --ocre-clair: #FEF0E3;
  --ok: #157A3A; --ok-clair: #E4F3E8; --alerte: #B42318; --alerte-clair: #FDECEA;
  --rayon: 16px; --rayon-petit: 12px;
  --ombre: 0 1px 2px rgba(14, 77, 42, .05), 0 10px 28px -14px rgba(14, 77, 42, .28);
  --ombre-haute: 0 2px 4px rgba(14, 77, 42, .06), 0 18px 40px -16px rgba(14, 77, 42, .38);
  --degrade-orange: linear-gradient(135deg, #F7941D 0%, #E8650F 55%, #C4500A 100%);
  --degrade-vert: linear-gradient(135deg, #22994A 0%, #157A3A 55%, #0E5C2E 100%);
  --titre: "Baloo 2", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-family: "Nunito", "Segoe UI", "Noto Sans", system-ui, -apple-system, sans-serif;
  accent-color: var(--vert);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--encre); font-size: 15.5px; line-height: 1.55; font-weight: 500;
  /* Deux halos très doux (vert à gauche, orange à droite) rappellent l'affiche sans alourdir la page */
  background:
    radial-gradient(900px 420px at -10% -5%, rgba(47, 168, 79, .10), transparent 60%),
    radial-gradient(800px 380px at 110% 0%, rgba(247, 148, 29, .10), transparent 60%),
    var(--fond);
  background-repeat: no-repeat;
  /* pied de page toujours en bas, même sur une page courte */
  min-height: 100vh; display: flex; flex-direction: column;
}
body > .entete, body > .pied { flex: none; }
a { color: var(--vert); text-underline-offset: 2px; }
a:hover { color: var(--vert-fonce); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; color: var(--vert-fonce); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: 1.75rem; font-weight: 800; } h2 { font-size: 1.22rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .75em; }
b, strong { font-weight: 800; }
::selection { background: rgba(247, 148, 29, .3); }

/* ------------------------------------------------------------------ En-tête */
.entete { position: relative; z-index: 30; background: rgba(255, 255, 255, .96); color: var(--encre);
  box-shadow: 0 1px 0 var(--trait), 0 8px 24px -18px rgba(14, 77, 42, .5); }
.entete::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--vert-fonce), var(--vert-vif) 45%, var(--orange-vif) 75%, var(--orange)); }
@supports (backdrop-filter: blur(8px)) { .entete { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); } }
@media (min-width: 900px) { .entete { position: sticky; top: 0; } }
.entete .interieur { max-width: 1260px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; color: var(--vert); }
.logo:hover { color: var(--vert); }
.logo img { width: 54px; height: 45px; flex: none; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.logo:hover img { transform: translateY(-2px) rotate(-3deg); }
.logo-texte { display: flex; flex-direction: column; line-height: 1; }
.logo-nom { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.72rem; letter-spacing: -.045em; color: var(--vert); }
.logo-nom span { color: var(--orange); }
.logo-devise { font-weight: 800; font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--vert-fonce); margin-top: 4px; opacity: .85; }
.entete nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.entete nav > a, .menu summary { position: relative; color: var(--vert-fonce); text-decoration: none; font-weight: 750; font-size: .95rem;
  padding: 7px 12px; border-radius: 999px; transition: background-color .2s, color .2s; }
.entete nav > a:hover, .menu summary:hover { background: var(--primaire-clair); color: var(--vert-fonce); }
.entete nav > a.actif, .menu summary.actif { background: var(--primaire-clair); color: var(--vert); }
.entete nav > a.actif::after, .menu summary.actif::before { content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: var(--orange); }
.entete nav > a.nav-cta { background: var(--degrade-orange); color: #fff; padding-inline: 16px; box-shadow: 0 6px 16px -8px rgba(232, 101, 15, .9); text-shadow: 0 1px 1px rgba(120, 45, 0, .35); }
.entete nav > a.nav-cta:hover { filter: brightness(1.06); color: #fff; }
.entete nav > a.nav-cta.actif::after { background: #fff; }
.entete form { display: inline; }
.entete button { background: transparent; border: 1.5px solid var(--trait); color: var(--vert-fonce); border-radius: 999px; padding: 5px 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; }
@media (max-width: 600px) {
  .entete .interieur { padding: 8px 12px 10px; gap: 6px; }
  .logo img { width: 44px; height: 37px; }
  .logo-nom { font-size: 1.45rem; }
  .logo-devise { font-size: .52rem; letter-spacing: .05em; }
  .entete nav { width: 100%; gap: 2px; }
  .entete nav > a, .menu summary { padding: 6px 10px; font-size: .9rem; }
}

/* ------------------------------------------------------------------ Mise en page */
.page { width: 100%; flex: 1 0 auto; max-width: 1100px; margin: 0 auto; padding: 24px 16px 56px; }
.etroit { max-width: 480px; margin: 0 auto; }
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 20px; box-shadow: var(--ombre); }
a.carte { transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s, border-color .25s; }
a.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-haute); border-color: #CBE3D2; }
.pile { display: flex; flex-direction: column; gap: 16px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ligne { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.entre { justify-content: space-between; }
.doux { color: var(--doux); font-size: .9rem; }

.message { border-radius: var(--rayon-petit); padding: 12px 16px; margin-bottom: 16px; font-weight: 700; border-left: 5px solid currentColor; box-shadow: var(--ombre); }
.message.succes { background: var(--ok-clair); color: var(--ok); }
.message.erreur { background: var(--alerte-clair); color: var(--alerte); }
.encadre { border-radius: var(--rayon-petit); padding: 12px 16px; border-left: 5px solid currentColor; }
.encadre.info { background: var(--primaire-clair); color: var(--vert-fonce); border-left-color: var(--vert); }
.encadre.alerte { background: var(--alerte-clair); color: var(--alerte); }
.encadre.ocre { background: var(--ocre-clair); color: var(--ocre); border-left-color: var(--orange); }

/* ------------------------------------------------------------------ Formulaires */
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.champ label { font-weight: 800; font-size: .9rem; color: var(--vert-fonce); }
.champ .aide { color: var(--doux); font-size: .85rem; }
.champ .erreur { color: var(--alerte); font-size: .85rem; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=number], input[type=date], input[type=month], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; font-weight: 600; color: var(--encre); background: #FBFDFB; border: 1.5px solid #D3E1D7; border-radius: var(--rayon-petit); padding: 11px 13px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
input:hover, select:hover, textarea:hover { border-color: #B5CFBD; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vert); background: #fff; box-shadow: 0 0 0 4px rgba(47, 168, 79, .16); }
input::placeholder, textarea::placeholder { color: #8A9A90; font-weight: 500; }
input[type=file] { font: inherit; }
input[type=file]::file-selector-button { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: 7px 14px; margin-right: 10px; background: var(--primaire-clair); color: var(--vert); cursor: pointer; }
textarea { min-height: 90px; resize: vertical; }
.case { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.case input { margin-top: 4px; width: 17px; height: 17px; flex: none; }
.code-saisie { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font: inherit; font-weight: 800;
  cursor: pointer; background: var(--degrade-vert); color: #fff; text-decoration: none; text-align: center; line-height: 1.25;
  box-shadow: 0 8px 18px -10px rgba(14, 77, 42, .85); transition: transform .2s, box-shadow .2s, filter .2s; }
.bouton:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 12px 22px -10px rgba(14, 77, 42, .9); }
.bouton:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(14, 77, 42, .8); }
.bouton.accent { background: var(--degrade-orange); text-shadow: 0 1px 1px rgba(120, 45, 0, .35); box-shadow: 0 8px 18px -9px rgba(232, 101, 15, .95); }
.bouton.second { background: #fff; color: var(--vert); box-shadow: inset 0 0 0 1.5px #BFDDC8; filter: none; text-shadow: none; }
.bouton.second:hover { background: var(--primaire-clair); color: var(--vert-fonce); box-shadow: inset 0 0 0 1.5px var(--vert-vif); }
.bouton.danger { background: linear-gradient(135deg, #D0352A, #A3200F); box-shadow: 0 8px 18px -10px rgba(163, 32, 15, .9); }
.bouton.grand { width: 100%; padding: 13px 18px; font-size: 1.02rem; }
.bouton .icone { width: 20px; height: 20px; }
.bouton[aria-disabled="true"] { pointer-events: none; box-shadow: none; }
.bouton-lien { background: none; border: 0; color: var(--vert); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--orange-vif); outline-offset: 2px; }

/* ------------------------------------------------------------------ Étiquettes, tableaux, fiches */
.etiquette { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.etiquette.ok { background: var(--ok-clair); color: var(--ok); }
.etiquette.info { background: var(--primaire-clair); color: var(--vert-fonce); }
.etiquette.alerte { background: var(--alerte-clair); color: var(--alerte); }
.etiquette.neutre { background: #EEF2EF; color: var(--doux); }

.tableau { overflow-x: auto; border-radius: var(--rayon-petit); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; font-size: .92rem; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--vert-fonce); background: #F1F8F3; font-weight: 800; }
tbody tr:hover td { background: #FAFDFB; }
td.nombre, th.nombre { text-align: right; font-variant-numeric: tabular-nums; }
dl.fiche { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.fiche dt { color: var(--doux); }
dl.fiche dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ Icônes rondes (comme sur l'affiche) */
.icone { width: 24px; height: 24px; flex: none; display: block; }
.icone-rond { flex: none; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; position: relative;
  color: var(--vert); background: radial-gradient(circle at 30% 25%, #F2FAF4, #D5EEDC 70%); box-shadow: inset 0 0 0 1px rgba(21, 122, 58, .08); }
.icone-rond .icone { width: 27px; height: 27px; }
.icone-rond.orange { color: var(--orange-fonce); background: radial-gradient(circle at 30% 25%, #FFF6EE, #FCDDC3 70%); box-shadow: inset 0 0 0 1px rgba(232, 101, 15, .1); }
.icone-rond.plein { color: #fff; background: var(--degrade-vert); }
.icone-rond.plein.orange { background: var(--degrade-orange); }
.icone-rond .compte { position: absolute; top: -3px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--degrade-orange); color: #fff; font-size: .74rem; font-weight: 900; box-shadow: 0 0 0 2.5px #fff; }

/* Tuiles « Mon espace » : icône ronde à gauche, titre et texte à droite */
.grille:has(> .tuile) { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.tuile { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; padding: 18px; }
.tuile h2 { margin: 2px 0 4px; font-size: 1.12rem; line-height: 1.2; }
.tuile .doux { display: block; line-height: 1.45; }
.tuile:nth-child(3n+2) .icone-rond { color: var(--orange-fonce); background: radial-gradient(circle at 30% 25%, #FFF6EE, #FCDDC3 70%); }

/* ------------------------------------------------------------------ Accueil */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.service { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 14px; box-shadow: var(--ombre); }
.service .icone-rond { width: 46px; height: 46px; }
.service .icone-rond .icone { width: 23px; height: 23px; }
.service b { display: block; font-family: var(--titre); font-size: 1.08rem; line-height: 1.2; margin: 2px 0 3px; color: var(--vert-fonce); }
.service .doux { display: block; line-height: 1.4; }
a.service { transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s; }
a.service:hover { transform: translateY(-3px); box-shadow: var(--ombre-haute); }
/* Accueil : texte et 4 services (2 × 2) à gauche, illustration à droite sur toute la hauteur ; empilés sur téléphone.
   mix-blend-mode fond le blanc de l'image dans le fond de la page (pas de rectangle blanc). */
.vitrine { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.vitrine-texte { display: flex; flex-direction: column; gap: 22px; }
.vitrine .hero { padding-top: 6px; }
.vitrine .services { grid-template-columns: 1fr 1fr; }
.vitrine .ligne { gap: 10px; }
.vitrine-image { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 860px) { .vitrine { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 480px) { .vitrine .services { grid-template-columns: 1fr; } }
.vitrine-media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 1.85rem; max-width: 22ch; }
.hero .accroche { font-size: 1.04rem; color: #33463A; max-width: 56ch; margin: 0; }
.hero .accroche b { color: var(--vert-fonce); }
/* Titre « coup de pinceau » : bandeau vert brossé, texte blanc et orange, légèrement incliné */
.hero h1.titre-pinceau {
  position: relative; align-self: flex-start; max-width: 100%; margin: 14px 0 6px; padding: .5em .95em .42em .8em;
  font-size: clamp(1.75rem, 3.9vw, 2.75rem); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: -.01em; color: #fff;
  transform: rotate(-1.6deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath fill='%230E4D2A' d='M16 16C80 5 205 13 300 7c40-3 72 2 92 7l-9 15 12 10-10 18 12 15-11 19 8 14c-74 10-196 3-286 9-40 2-76-2-102-6l9-14L4 80l11-16L3 50l10-14z'/%3E%3Cpath fill='%230E4D2A' d='M40 9 165 4l-2 4L42 13zM230 112l120-4v4l-118 4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 18px rgba(14, 77, 42, .28));
}
.titre-pinceau .orange { display: block; color: #FF9A2E; font-size: 1.16em; letter-spacing: -.015em; }
.titre-pinceau .petit { display: block; font-size: .78em; }
/* traits d'énergie orange et vert autour du titre */
.titre-pinceau::before { content: ""; position: absolute; left: -16px; top: -22px; width: 44px; height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 38'%3E%3Cg stroke-linecap='round' stroke-width='5' fill='none'%3E%3Cpath stroke='%23F7941D' d='M6 26 18 32'/%3E%3Cpath stroke='%230E4D2A' d='M17 5l6 16'/%3E%3Cpath stroke='%23F7941D' d='M36 4l-3 14'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.titre-pinceau::after { content: ""; position: absolute; left: 18%; right: 14%; bottom: -16px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C90 2 200 1 297 6' stroke='%23F7941D' stroke-width='5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* Pastille « Votre espace personnel » de l'affiche */
.pilule-espace { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 18px 6px 6px; border-radius: 999px; text-decoration: none;
  background: var(--degrade-orange); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 22px -12px rgba(232, 101, 15, 1); text-shadow: 0 1px 1px rgba(120, 45, 0, .3); }
.pilule-espace:hover { color: #fff; filter: brightness(1.06); }
.pilule-espace .rond { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.pilule-espace .rond .icone { width: 20px; height: 20px; }
.pilule-espace b { font-weight: 900; letter-spacing: -.01em; white-space: nowrap; }
/* Téléphone étroit : le texte passe à la ligne dans la pastille au lieu de déborder de l'écran */
.pilule-espace { max-width: 100%; box-sizing: border-box; }
.pilule-espace .rond { flex: none; }
.pilule-espace .texte { min-width: 0; line-height: 1.25; }

/* Bandeau d'élan (bas de l'accueil, visiteurs) : vert profond, phrase manuscrite, bouton orange */
.bandeau-elan { position: relative; overflow: hidden; margin-top: 36px; border-radius: 24px; padding: 30px 28px; color: #fff; display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; justify-content: space-between;
  background: radial-gradient(500px 200px at 100% 0%, rgba(247, 148, 29, .28), transparent 70%), linear-gradient(120deg, var(--vert-fonce), #13633A); box-shadow: var(--ombre-haute); }
.bandeau-elan::before { content: ""; position: absolute; left: -40px; right: -40px; top: -2px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 22' preserveAspectRatio='none'%3E%3Cpath d='M0 14C150 2 300 20 600 6' stroke='%23F7941D' stroke-width='6' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .9; }
.bandeau-elan .phrase { display: flex; align-items: center; gap: 16px; }
.bandeau-elan .phrase .icone-rond { width: 64px; height: 64px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.bandeau-elan .phrase .icone-rond .icone { width: 34px; height: 34px; color: var(--orange-vif); }
.bandeau-elan p { margin: 0; font-family: var(--titre); font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height: 1.15; font-weight: 700; font-style: italic; transform: rotate(-2deg); max-width: 26ch; }
.bandeau-elan p span { color: #FFB25E; }
.bandeau-elan .bouton.accent { font-size: 1.15rem; padding: 14px 24px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 12px 24px -10px rgba(0, 0, 0, .5); }

/* Présentation animée de l'accueil (partials/presentation) : cadre 1280×720 mis à l'échelle, couleurs de la marque */
.pv { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pv figcaption { font-size: .85rem; }
.pv-ecran { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: var(--vert-nuit); cursor: pointer; box-shadow: var(--ombre-haute); }
.pv-toile { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(247, 148, 29, .35), transparent 40%), linear-gradient(135deg, #0E4D2A, #0A3A20); font-family: "Nunito", sans-serif; }
.pv-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.pv-scene.pv-active { opacity: 1; }
.pv-legende { position: absolute; left: 56px; top: 64px; width: 330px; display: flex; flex-direction: column; gap: 18px; }
.pv-marque { font-weight: 900; font-size: 30px; letter-spacing: -.03em; }
.pv-marque b { color: #FF9A2E; font-weight: 900; }
.pv-pastille { align-self: flex-start; background: #F7941D; color: #fff; font-weight: 800; font-size: 17px; padding: 6px 14px; border-radius: 999px; letter-spacing: .5px; }
.pv-grand { font-family: var(--titre); font-weight: 800; font-size: 46px; line-height: 1.02; margin: 0; text-wrap: balance; color: #fff; }
.pv-prix { font-weight: 900; font-size: 58px; color: #FF9A2E; line-height: 1; }
.pv-navigateur { position: absolute; left: 420px; top: 56px; width: 804px; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: translateY(30px) scale(.97); transition: transform .8s ease; }
.pv-active .pv-navigateur { transform: none; }
.pv-barre-nav { height: 34px; background: #E6ECE7; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.pv-barre-nav i { width: 11px; height: 11px; border-radius: 50%; background: #C3CFC6; }
.pv-barre-nav span { margin-left: 14px; background: #fff; color: #4F5B57; font-size: 14px; padding: 3px 14px; border-radius: 6px; flex: 1; }
.pv-vue { position: relative; height: 470px; overflow: hidden; }
.pv-vue img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; display: block; transform-origin: 0 0; transition: transform 1.4s ease-in-out; }
.pv-zone { position: absolute; border: 4px solid #F7941D; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(10, 58, 32, .2); opacity: 0; transition: opacity .5s ease; }
.pv-zone.pv-allumee { opacity: 1; }
.pv-document { position: absolute; left: 470px; top: 40px; width: 470px; height: 560px; overflow: hidden; border-radius: 6px; background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(-2deg) translateY(40px); transition: transform .8s ease; }
.pv-active .pv-document { transform: rotate(-2deg); }
.pv-document img { width: 100%; max-width: none; display: block; transition: transform 6s ease-in-out; }
.pv-active .pv-document img { transform: translateY(-22%); }
.pv-formats { position: absolute; left: 980px; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.pv-formats span { background: #F7941D; color: #fff; font-weight: 800; font-size: 26px; padding: 12px 22px; border-radius: 14px; text-align: center; }
.pv-fin { background: #F4F9F5; color: var(--encre); display: flex; align-items: center; justify-content: center; text-align: center; }
.pv-bloc { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pv-fin .pv-marque { font-size: 96px; color: var(--vert); }
.pv-fin .pv-marque b { color: var(--orange); }
.pv-fin p { margin: 0; font-size: 30px; }
.pv-bouton { background: var(--degrade-orange); color: #fff; font-weight: 800; font-size: 34px; padding: 18px 38px; border-radius: 999px; }
.pv-fin .pv-note { font-size: 22px; color: #4F5B57; }
.pv-grand-partage { font-family: var(--titre); font-weight: 800; font-size: 72px; color: var(--vert-fonce); line-height: 1.02; }
.pv-partage p { font-size: 34px; line-height: 1.35; }
.pv-e { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.pv-active .pv-e { opacity: 1; transform: none; }
.pv-active .pv-e1 { transition-delay: .2s; } .pv-active .pv-e2 { transition-delay: .5s; } .pv-active .pv-e3 { transition-delay: .8s; } .pv-active .pv-e4 { transition-delay: 1.1s; }
.pv-sous-titre { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); max-width: 1080px; width: max-content; z-index: 4;
  background: rgba(8, 36, 20, .88); color: #fff; font-size: 27px; line-height: 1.3; font-weight: 700; padding: 10px 22px; border-radius: 12px; text-align: center; }
.pv-sous-titre:empty, .pv-ecran:not(.pv-en-lecture) .pv-sous-titre { display: none; }
.pv-barre { position: absolute; left: 0; bottom: 0; height: 7px; background: linear-gradient(90deg, #F7941D, #E8650F); width: 0; z-index: 5; }
.pv-lancer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; display: flex; align-items: center; gap: 8px;
  background: var(--degrade-orange); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-family: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 10px 28px rgba(0,0,0,.4); min-height: 44px; white-space: nowrap; text-shadow: 0 1px 1px rgba(120, 45, 0, .35);
  animation: pv-pouls 2.4s ease-in-out infinite; }
.pv-lancer:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pv-en-lecture .pv-lancer { display: none; }
@keyframes pv-pouls { 0%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 10px 28px rgba(0,0,0,.4); } 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, .06), 0 10px 28px rgba(0,0,0,.4); } }
@media (prefers-reduced-motion: reduce) { .pv-e, .pv-scene, .pv-navigateur, .pv-document, .pv-document img, .pv-vue img { transition: none !important; } .pv-lancer { animation: none; } }

nav[role=navigation] { margin-top: 14px; }
@media (max-width: 600px) { .masquer-mobile { display: none; } dl.fiche { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Colonne publicitaire (Emplois, Appels d'offres) : à droite sur grand écran, sous le contenu sur téléphone */
body:has(.avec-pubs) .page { max-width: 1260px; }
.avec-pubs { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.contenu-principal { min-width: 0; }
.contenu-principal > .pile { max-width: none !important; }
.colonne-pubs { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.pub { display: flex; flex-direction: column; gap: 4px; }
.pub img { display: block; width: 100%; height: auto; border-radius: var(--rayon); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.pub-mention { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--doux); }
.pub-cadre { min-height: 250px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; padding: 20px;
    border: 2px dashed #CADBCF; border-radius: var(--rayon); background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, #F4F8F5 12px, #F4F8F5 24px); color: var(--doux); font-size: .9rem; }
.pub-cadre b { color: var(--vert-fonce); font-family: var(--titre); font-size: 1.1rem; line-height: 1.2; }
/* Nos propres services dans les emplacements libres : encadré plein, pas hachuré */
.pub-maison .pub-cadre { border: 0; color: var(--encre); min-height: 0; box-shadow: var(--ombre);
  background: radial-gradient(260px 140px at 100% 0%, rgba(247, 148, 29, .18), transparent 70%), linear-gradient(180deg, #fff, #F3FAF5); position: relative; overflow: hidden; }
.pub-maison .pub-cadre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--vert), var(--orange-vif)); }
.pub-maison .pub-cadre hr { width: 60%; border: 0; border-top: 2px dotted #F5B57D; margin: 8px 0; }
/* Accueil : coup de pouce CV et lettre */
.coup-de-pouce { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.coup-de-pouce .carte { display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.coup-de-pouce .carte::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--primaire-clair); opacity: .7; z-index: 0; }
.coup-de-pouce .carte:nth-child(2)::after { background: var(--ocre-clair); }
.coup-de-pouce .carte > * { position: relative; z-index: 1; }
.coup-de-pouce .tete { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.coup-de-pouce .prix { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; color: var(--orange-fonce); line-height: 1; }
@media (max-width: 980px) { .avec-pubs { grid-template-columns: 1fr; } .colonne-pubs { position: static; flex-direction: row; flex-wrap: wrap; } .pub { flex: 1 1 260px; } .pub-cadre { min-height: 160px; } }

/* ------------------------------------------------------------------ Pages légales et pied de page */
.texte-legal h2 { margin: 16px 0 0; font-size: 1.15rem; }
.texte-legal p, .texte-legal ul { margin: 0; }
.texte-legal li { margin-bottom: 4px; }
.pied { position: relative; margin-top: 64px; color: #CFE5D6; font-size: .88rem;
  background: radial-gradient(600px 220px at 100% 100%, rgba(247, 148, 29, .18), transparent 70%), linear-gradient(160deg, #0E4D2A, #0A3A20); }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%230E4D2A' d='M0 25C380-3 980 41 1440 3v37H0z'/%3E%3Cpath d='M0 22C380-6 980 38 1440 0' stroke='%23F7941D' stroke-width='5' fill='none'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.pied .interieur { max-width: 1260px; margin: 0 auto; padding: 22px 16px 28px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.pied-marque { display: flex; align-items: center; gap: 10px; }
.pied-marque img { width: 46px; height: 38px; flex: none; }
.pied-marque .logo-nom { color: #fff; font-size: 1.35rem; }
.pied-marque .logo-nom span { color: #FF9A2E; }
.pied-marque small { display: block; color: #A9CDB5; font-size: .8rem; margin-top: 3px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pied a { color: #E6F2EA; text-decoration: none; font-weight: 700; }
.pied a:hover { color: #FFB46A; text-decoration: underline; }

/* ------------------------------------------------------------------ Notifications et messagerie (F20, F23) */
.pastille { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--degrade-orange); color: #fff; font-size: .78rem; font-weight: 900; text-align: center; text-decoration: none; line-height: 20px; }
.notification { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--trait); text-decoration: none; color: inherit; }
.notification:first-child { border-top: 0; }
.notification.non-lue b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(247, 148, 29, .2); }
.fil { display: flex; flex-direction: column; gap: 10px; }
.bulle { max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--trait); overflow-wrap: anywhere; box-shadow: 0 2px 6px -3px rgba(14, 77, 42, .2); }
.bulle .texte { white-space: pre-line; }
.bulle.moi { align-self: flex-end; background: #DFF2E5; border-color: transparent; border-radius: 16px 16px 4px 16px; }
.bulle.service { align-self: center; max-width: 95%; background: var(--ocre-clair); color: var(--ocre); border: 0; font-size: .9rem; text-align: center; border-radius: 12px; box-shadow: none; }
.bulle .meta { display: block; font-size: .78rem; color: var(--doux); margin-top: 4px; }
.bulle details summary { cursor: pointer; font-size: .8rem; color: var(--doux); }
.comparaison td { vertical-align: top; }

/* Portfolio (F04) */
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }

/* Photo du talent (annuaire des freelances, profil) : photo déposée ou image par défaut selon le genre */
.avatar { width: 120px; height: 120px; flex: none; object-fit: cover; border-radius: var(--rayon); border: 3px solid #fff; background: var(--primaire-clair); box-shadow: var(--ombre); }
.avatar.petit { width: 72px; height: 72px; }
.carte-talent { display: flex; gap: 16px; align-items: flex-start; }
.carte-talent .pile { flex: 1; min-width: 0; }
@media (max-width: 600px) { .carte-talent .avatar { width: 72px; height: 72px; } }
/* Guide de découverte (Mon espace) : voile sombre, halo autour de l'élément montré, bulle d'explication */
.guide-voile { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(8, 36, 20, .55); }
.guide.centre .guide-voile { display: block; }
.guide-halo { position: fixed; z-index: 1000; border-radius: 14px; border: 3px solid var(--orange-vif); pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(8, 36, 20, .55); transition: top .25s, left .25s, width .25s, height .25s; }
.guide-bulle { position: fixed; z-index: 1001; width: min(380px, calc(100vw - 20px)); padding: 18px 18px 14px; background: var(--surface);
  border-radius: var(--rayon); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); border-top: 5px solid var(--orange-vif); }
.guide.centre .guide-bulle { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.guide-bulle h2 { margin: 2px 0 6px; font-size: 1.2rem; }
.guide-bulle p { margin: 0 0 14px; }
.guide-compteur { font-size: .8rem; font-weight: 800; color: var(--ocre); }
.guide-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.guide-actions [hidden] { display: none; }
@media (max-width: 600px) {
  .guide-bulle, .guide.centre .guide-bulle { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; transform: none; }
  body.guide-actif { padding-bottom: 60vh; }   /* le bas de page peut remonter au-dessus de la bulle */
}
@media (prefers-reduced-motion: reduce) { .guide-halo { transition: none; } }

/* Logo d'organisation (ou initiale) sur les offres, appels d'offres et fiches */
.logo-organisation { flex: none; object-fit: contain; border-radius: 12px; border: 1px solid var(--trait); background: #fff; }
.logo-organisation.initiale { display: inline-flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; color: #fff; background: var(--degrade-vert); border: 0; }
.avec-logo { display: flex; gap: 12px; align-items: center; }

/* Mon espace : carte « Complétez votre profil » */
.rappel-profil { border: 0; background: radial-gradient(420px 160px at 100% 0%, rgba(247, 148, 29, .16), transparent 70%), #fff; box-shadow: var(--ombre), inset 0 0 0 2px #FAD3B0; }
.progression { height: 10px; border-radius: 999px; background: #EDF2EE; overflow: hidden; }
.progression span { display: block; height: 100%; background: linear-gradient(90deg, var(--vert-vif), var(--orange-vif)); border-radius: 999px; }
.etapes-profil { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.etapes-profil li.fait { color: var(--doux); list-style: none; margin-left: -20px; }
.etapes-profil li.fait span { color: var(--vert); font-weight: 900; }

/* Page Emplois sans offre (lancement) : trois actions pour garder les visiteurs */
.lancement-emplois { border-color: #FAD3B0; }
.action-lancement { display: flex; flex-direction: column; gap: 8px; padding: 16px; text-decoration: none; color: inherit; }
.action-lancement:hover { border-color: var(--vert-vif); text-decoration: none; }
.action-lancement .bouton { margin-top: auto; align-self: flex-start; }

/* Annuaire des freelances : cartes à bandeau, grande photo ronde, anneau vert « Disponible » */
.grille-talents { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.vignette-talent { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; overflow: hidden; }
.bandeau-talent { display: block; align-self: stretch; height: 64px; background-color: var(--primaire-clair); background-size: cover; background-position: center; }
.bandeau-talent.teinte-1 { background-color: var(--ocre-clair); }
.bandeau-talent.teinte-2 { background-color: #E3EEF8; }
.bandeau-talent.teinte-3 { background-color: #EFEAF7; }
.photo-ronde { position: relative; display: block; width: 112px; height: 112px; margin-top: -56px; border-radius: 50%; border: 4px solid #fff; background: var(--primaire-clair); flex: none; }
.photo-ronde img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo-ronde.disponible { border-color: var(--vert-vif); box-shadow: 0 0 0 3px #fff; }
.pastille-disponible { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); background: var(--vert); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 0 0 2px #fff; }
.vignette-talent .corps { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; width: 100%; padding: 16px 14px 16px; }
.nom-talent { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; font-size: 1.05rem; line-height: 1.25; }
.verifie { color: var(--vert); display: inline-flex; }
.verifie .icone { width: 17px; height: 17px; }
.intitule-talent { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; min-height: 2.7em; }
.doux.petit { font-size: .85rem; }
.etoiles { color: var(--orange); }
/* Recommandations entre membres : mention sur la carte de l'annuaire, bloc sur le profil */
.recommande-par { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 700; color: var(--vert); background: var(--primaire-clair);
  padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.recommande-par .icone { width: 15px; height: 15px; }
h2 .icone { display: inline-block; width: 22px; height: 22px; vertical-align: -3px; }
#recommandations, #recommander, #transmettre, #equipe { scroll-margin-top: 150px; }
/* « Faire équipe » sur un appel d'offres */
.equipe h2 .icone { color: var(--vert); }
.equipe-annonce { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--bordure, #e5e7eb); }
.equipe-annonce:first-child { border-top: 0; padding-top: 0; }
.equipe-annonce img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.equipe-action { flex: none; align-self: center; }
.equipe-mienne { background: var(--primaire-clair); border-radius: 12px; padding: 10px 14px; }
.equipe-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.equipe-choix .case { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--bordure, #e5e7eb); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.equipe-choix .case:has(input:checked) { border-color: var(--vert); background: var(--primaire-clair); }
/* Rubrique Freelances : onglets Annuaire / Je cherche - Je propose, et fil d'annonces entre freelances */
.onglets-freelances { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--bordure, #e5e7eb); }
.onglets-freelances a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; margin-bottom: -2px; border-bottom: 3px solid transparent;
  font-weight: 700; color: inherit; text-decoration: none; }
.onglets-freelances a .icone { width: 18px; height: 18px; }
.onglets-freelances a.actif { border-bottom-color: var(--vert); color: var(--vert); }
.onglets-freelances .compte { background: var(--orange); color: #fff; border-radius: 999px; font-size: .78rem; padding: 1px 8px; }
.fil-publier > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; }
.fil-publier > summary::-webkit-details-marker { display: none; }
.fil-publier > summary .icone { color: var(--vert); }
#publier { scroll-margin-top: 150px; }
.fil-annonce { display: flex; gap: 12px; align-items: flex-start; }
.fil-annonce img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.fil-action { flex: none; align-self: center; }
.fil-mienne { border-top: 1px solid var(--bordure, #e5e7eb); padding-top: 8px; gap: 8px; }
.fil-mienne:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 560px) {
  .onglets-freelances { flex-wrap: nowrap; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .onglets-freelances a { padding: 8px 8px; font-size: .92rem; white-space: nowrap; gap: 4px; }
  .onglets-freelances a .icone { width: 16px; height: 16px; }
  .fil-annonce { flex-wrap: wrap; }
  .fil-action { width: 100%; padding-left: 60px; }
  .equipe-choix { grid-template-columns: 1fr; }
  .equipe-annonce { flex-wrap: wrap; }
  .equipe-action { width: 100%; padding-left: 60px; }
}
/* « Je connais quelqu'un » : transmettre une annonce à une relation ; liens freelance.ml cliquables dans les messages */
.transmettre > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.transmettre > summary::-webkit-details-marker { display: none; }
.transmettre > summary .icone { color: var(--vert); }
.bulle .texte a, .discussion-bulle .texte a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.recommandation { display: flex; gap: 12px; align-items: flex-start; }
.recommandation img, .recommandation-initiale { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.recommandation-initiale { display: inline-flex; align-items: center; justify-content: center; background: var(--primaire-clair); color: var(--vert); font-weight: 800; }
.actions-talent { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
.bouton.petit { padding: 7px 18px; font-size: .92rem; }
.bouton.petit .icone { width: 17px; height: 17px; }
@media (max-width: 480px) {
  .grille-talents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-ronde { width: 84px; height: 84px; margin-top: -42px; }
  .bandeau-talent { height: 52px; }
  .vignette-talent .corps { padding: 14px 8px 12px; }
  .nom-talent { font-size: .98rem; }
}

/* Discussion en direct : fenêtres en bas à droite (plein écran sur téléphone), bulles des messages non lus */
.discussions { position: fixed; right: 16px; bottom: 0; z-index: 900; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 12px; pointer-events: none; }
.discussions > * { pointer-events: auto; }
.discussions-bulles { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.discussions-bulles:empty { display: none; }
.discussion-bulle-lue { position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: #fff; box-shadow: var(--ombre-haute); }
.discussion-bulle-lue img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.discussion-bulle-lue span { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: .78rem; font-weight: 900; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.discussion { width: 330px; height: 450px; display: flex; flex-direction: column; background: var(--surface); border-radius: 14px 14px 0 0; box-shadow: 0 6px 30px rgba(10, 58, 32, .28); overflow: hidden; }
.discussion [hidden], .discussion[hidden] { display: none !important; }
.discussion.reduite { height: auto; }
.discussion.reduite > :not(.discussion-entete) { display: none !important; }
.discussion-entete { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 10px; border-bottom: 1px solid var(--trait); background: var(--surface); }
.discussion.reduite .discussion-entete { cursor: pointer; border-bottom: 0; }
.discussion-avatar { position: relative; flex: none; }
.discussion-avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; background: var(--primaire-clair); }
.discussion-point { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--vert-vif); box-shadow: 0 0 0 2px #fff; }
.discussion-qui { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.discussion-nom { font-weight: 800; color: var(--encre); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.discussion-statut { font-size: .78rem; color: var(--doux); }
.discussion-statut.en-ligne { color: var(--vert); font-weight: 700; }
.discussion-compte { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 900; line-height: 22px; text-align: center; }
.discussion-icone { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--vert); cursor: pointer; flex: none; }
.discussion-icone:hover { background: var(--primaire-clair); }
.discussion-mention { margin: 0; padding: 5px 12px; font-size: .76rem; line-height: 1.35; color: var(--doux); text-align: center; background: var(--primaire-clair); border-bottom: 1px solid var(--trait); }
.discussion-corps { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; background: #FAFCFA; overscroll-behavior: contain; }
.discussion-vide { margin: auto; color: var(--doux); text-align: center; font-size: .9rem; }
.discussion-jour { align-self: center; font-size: .74rem; color: var(--doux); font-weight: 700; margin: 6px 0 2px; }
.discussion-bulle { display: block; align-self: flex-start; max-width: 82%; padding: 7px 11px 5px; border-radius: 16px 16px 16px 4px; background: #EEF2EF; overflow-wrap: anywhere; font-size: .94rem; }
.discussion-bulle.moi { align-self: flex-end; background: #DFF2E5; border-radius: 16px 16px 4px 16px; }
.discussion-bulle.service { align-self: center; max-width: 95%; background: var(--ocre-clair); color: var(--ocre); font-size: .82rem; text-align: center; border-radius: 12px; }
.discussion-bulle .texte { white-space: pre-line; }
.discussion-bulle .piece { display: block; font-weight: 700; }
.discussion-bulle.service .heure { text-align: center; }
.discussion-bulle .heure { display: block; text-align: right; font-size: .7rem; color: var(--doux); margin-top: 2px; }
.discussion-ecrit { padding: 2px 14px 4px; font-size: .8rem; color: var(--doux); font-style: italic; background: #FAFCFA; }
.discussion-erreur { padding: 6px 12px; font-size: .84rem; color: var(--alerte); background: var(--alerte-clair); }
.discussion-bloquee { padding: 10px 12px; font-size: .86rem; color: var(--ocre); background: var(--ocre-clair); }
.discussion-piece { display: flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: .82rem; color: var(--doux); }
.discussion-piece span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discussion-piece button { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--doux); }
.discussion-saisie { display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-top: 1px solid var(--trait); }
.discussion-saisie textarea { flex: 1; min-height: 38px; max-height: 110px; resize: none; padding: 8px 12px; border-radius: 19px; border: 1px solid var(--trait); background: #F3F7F2; font: inherit; line-height: 1.35; }
.discussion-joindre, .discussion-envoyer { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%;
  background: none; color: var(--vert); cursor: pointer; }
.discussion-joindre:hover, .discussion-envoyer:hover { background: var(--primaire-clair); }
.discussion-envoyer:disabled { opacity: .5; cursor: wait; }
/* « Échanger » avant la mise en relation : présentation puis « Demander l'autorisation » */
.demande-saisie { flex-direction: column; align-items: stretch; }
.demande-saisie textarea { min-height: 84px; max-height: 160px; border-radius: 12px; }
.demande-saisie .bouton { align-self: flex-end; }
.demande-saisie .bouton:disabled { opacity: .6; cursor: wait; }
/* Inviter mes amis : contacts choisis dans le répertoire du téléphone */
.liste-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.liste-contacts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--trait); border-radius: 10px; }
.liste-contacts li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.liste-contacts li.envoye { background: var(--primaire-clair); }
.liste-contacts li.envoye span:first-child::after { content: " ✓"; color: var(--vert); }
.demande-actions { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; font-size: .88rem; }
@media (max-width: 600px) {
  .discussions { right: 12px; left: auto; }
  .discussion:not(.reduite) { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; z-index: 950; }
  .discussion.reduite { width: min(300px, calc(100vw - 24px)); }
  .discussion-saisie textarea { font-size: 16px; }   /* pas de zoom automatique de l'iPhone */
}
@media print { .discussions { display: none; } }

/* Profil public du talent : en-tête à couverture, colonne « Autres talents pour vous » */
.page-talent { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; max-width: 1080px; margin: 0 auto; }
.page-talent.seule { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.page-talent > .principal { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.page-talent .carte { margin: 0; }
.entete-talent { padding: 0; overflow: visible; }   /* les menus « ··· » et « Inviter » débordent sous la carte */
.entete-talent .bandeau-talent { height: 190px; border-radius: var(--rayon) var(--rayon) 0 0; }
.entete-talent .photo-ronde { width: 152px; height: 152px; margin: -96px 0 0 24px; }
.entete-talent .pastille-disponible { font-size: .8rem; bottom: -10px; }
.entete-talent .infos { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 14px 24px 22px; }
.entete-talent h1 { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.entete-talent h1 .verifie .icone { width: 24px; height: 24px; }
.entete-talent .titre-talent { font-size: 1.1rem; margin: 2px 0 0; }
.entete-talent .reperes { display: flex; flex-direction: column; gap: 10px; font-weight: 700; min-width: 180px; max-width: 280px; }
.entete-talent .reperes span { display: flex; align-items: center; gap: 8px; }
.entete-talent .reperes .icone { width: 20px; height: 20px; color: var(--vert); flex: none; }
.entete-talent .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.entete-talent .actions details { position: relative; }
.menu-plus { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 200px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: var(--surface);
  border-radius: var(--rayon-petit); box-shadow: var(--ombre-haute); }
.menu-plus a, .menu-plus button { white-space: nowrap; padding: 8px 10px; border-radius: 8px; text-align: left; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; }
.menu-plus a:hover, .menu-plus button:hover { background: var(--primaire-clair); text-decoration: none; }
.bouton-rond { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px #BFDDC8; color: var(--vert); font-weight: 900; font-size: 1.2rem; line-height: 1; background: #fff; }
.bouton-rond::-webkit-details-marker { display: none; }
.autres-talents h2 { font-size: 1.15rem; margin: 0 0 4px; }
.autre-talent { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--trait); }
.autre-talent:first-of-type { border-top: 0; }
.autre-talent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--primaire-clair); }
.autre-talent img.disponible { box-shadow: 0 0 0 2.5px var(--vert-vif); }
.autre-talent .bouton { margin-top: 6px; }
@media (max-width: 900px) { .page-talent { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .entete-talent .bandeau-talent { height: 120px; }
  .entete-talent .photo-ronde { width: 112px; height: 112px; margin: -64px 0 0 16px; }
  .entete-talent .infos { padding: 12px 16px 18px; }
}

/* ------------------------------------------------------------------ Menus déroulants de l'en-tête (Mon espace, Back-office) */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; user-select: none; display: block; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; transition: transform .2s; }
.menu[open] summary { background: var(--primaire-clair); }
.menu[open] summary::after { transform: rotate(180deg); }
.menu-liste { position: absolute; top: calc(100% + 10px); left: 0; z-index: 50; min-width: 260px; max-height: 75vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon);
  box-shadow: 0 18px 44px -12px rgba(14, 77, 42, .4); animation: menu-ouvre .18s ease-out; }
@keyframes menu-ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-liste.droite { left: auto; right: 0; }
.entete nav .menu-liste a { color: var(--encre); font-weight: 650; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.entete nav .menu-liste a:hover, .entete nav .menu-liste a:focus-visible { background: var(--primaire-clair); color: var(--vert-fonce); text-decoration: none; }
.entete nav .menu-liste a.actif { color: var(--vert); font-weight: 800; text-decoration: none; background: var(--primaire-clair); box-shadow: inset 3px 0 0 var(--orange); }
.menu-titre { padding: 10px 12px 4px; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ocre); }
.menu-qui { padding: 6px 12px 10px; font-family: var(--titre); font-weight: 700; font-size: 1.05rem; color: var(--vert-fonce); border-bottom: 1px solid var(--trait); margin-bottom: 4px; }
.entete .menu-liste form { display: block; border-top: 1px solid var(--trait); margin-top: 6px; padding-top: 6px; }
.entete .menu-liste .menu-bouton { width: 100%; text-align: left; border: 0; border-radius: 10px; padding: 8px 12px; color: var(--alerte); font-weight: 800; font-size: .95rem; }
.entete .menu-liste .menu-bouton:hover { background: var(--alerte-clair); }
@media (max-width: 600px) {
  .menu { position: static; }
  .menu-liste, .menu-liste.droite { left: 12px; right: 12px; min-width: 0; top: auto; margin-top: 10px; }
  .entete .interieur { position: relative; }
}
/* Téléphone et petite tablette : en-tête compact (logo, cloche, « Menu ») ; le menu se déplie en liste, sous-menus dépliés sur place */
.entete-cloche, .entete .entete-menu { display: none; }
@media (max-width: 760px) {
  .entete .interieur { flex-wrap: wrap; row-gap: 0; }
  .entete-cloche, .entete .entete-menu { display: inline-flex; align-items: center; justify-content: center; }
  .entete-cloche { position: relative; width: 42px; height: 42px; border-radius: 50%; color: var(--vert-fonce); }
  .entete-cloche:hover { background: var(--primaire-clair); }
  .entete-cloche .pastille { position: absolute; top: 1px; right: -2px; margin: 0; }
  .entete .entete-menu { gap: 6px; padding: 8px 14px 8px 11px; border: 1.5px solid var(--trait); border-radius: 999px; background: #fff; color: var(--vert-fonce); font-weight: 800; font-size: .95rem; }
  .entete .entete-menu .croix, .entete.menu-ouvert .entete-menu .barres { display: none; }
  .entete.menu-ouvert .entete-menu .croix { display: inline; }
  .entete.menu-ouvert .entete-menu { background: var(--primaire-clair); border-color: var(--primaire-clair); }
  .entete nav { display: none; width: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; margin-top: 8px; padding: 8px 0 4px; border-top: 1px solid var(--trait);
    max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .entete.menu-ouvert nav { display: flex; }
  body.menu-ouvert .suggestion-flottante, body.menu-ouvert .bandeau-app { display: none !important; }   /* ne couvrent pas le menu déplié */
  .entete nav > a, .menu summary { padding: 12px 14px; font-size: 1.02rem; border-radius: 12px; }
  .entete nav > a.actif::after, .menu summary.actif::before { display: none; }
  .entete nav > a.actif, .menu summary.actif { box-shadow: inset 3px 0 0 var(--orange); }
  .menu summary::after { float: right; margin-top: 9px; }
  .entete nav > a.nav-cta { text-align: center; margin-top: 6px; box-shadow: none; }
  .menu { position: static; }
  .menu-liste, .menu-liste.droite { position: static; min-width: 0; max-height: none; margin: 2px 0 8px 14px; padding: 2px 0 2px 10px;
    border: 0; border-left: 2px solid var(--trait); border-radius: 0; box-shadow: none; background: none; animation: none; }
  .entete nav .menu-liste a { padding: 10px 12px; }
  .menu-qui { display: none; }
  .entete nav > form { display: block; padding: 6px 14px; }
}
@media (max-width: 460px) { .logo-devise { display: none; } }   /* logo, cloche et « Menu » sur une seule ligne */
@media (max-width: 360px) {
  .entete .entete-menu-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .entete .entete-menu { padding: 9px; }
}
/* Menu « pilules avec icônes » : chaque rubrique a son icône ; rubrique en cours en vert plein, Back-office en orange */
.entete nav .icone { width: 18px; height: 18px; flex: none; }
@media (min-width: 761px) {
  .entete nav { gap: 6px; }
  .entete nav > a, .entete nav .menu > summary { display: inline-flex; align-items: center; gap: 6px; background: var(--primaire-clair); padding: 7px 13px; }
  .entete nav > a:hover, .entete nav .menu > summary:hover { background: #D7ECDF; color: var(--vert-fonce); }
  .entete nav > a.actif, .entete nav .menu > summary.actif { background: var(--vert); color: #fff; }
  .entete nav > a.actif::after, .entete nav .menu > summary.actif::before { display: none; }
  .entete nav .menu > summary.menu-bo { background: var(--ocre-clair); color: var(--ocre); }
  .entete nav .menu > summary.menu-bo:hover { background: #FBDDC2; }
  .entete nav .menu > summary.menu-bo.actif { background: var(--orange); color: #fff; }
  .entete nav .menu[open] > summary:not(.actif) { background: #D7ECDF; }
  .entete nav .menu[open] > summary.menu-bo:not(.actif) { background: #FBDDC2; }
}
@media (max-width: 760px) {
  .entete nav > a, .entete nav .menu > summary { display: flex; align-items: center; gap: 10px; }
  .entete nav .menu > summary::after { float: none; margin: 0 0 0 auto; }
  .entete nav > a.nav-cta { justify-content: center; }
  .entete nav > a .icone, .entete nav .menu > summary .icone { color: var(--vert); }
  .entete nav .menu > summary.menu-bo .icone { color: var(--orange); }
}
@media (prefers-reduced-motion: reduce) { .menu-liste { animation: none; } * { scroll-behavior: auto !important; } a.carte, a.service, .bouton, .logo img { transition: none; } }
/* Statistiques annonceur (F49) : petite courbe en barres, sans bibliotheque */
.courbe { display: flex; align-items: flex-end; gap: 2px; height: 90px; padding: 4px 0; border-bottom: 1px solid var(--trait); }
.courbe span { flex: 1; min-width: 3px; background: var(--vert-vif); opacity: .8; border-radius: 3px 3px 0 0; }
.courbe span.avec-candidature { background: var(--orange-vif); opacity: 1; }

/* Connexion avec Google : bouton blanc, logo G (consignes de presentation de Google) */
.bouton-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 16px; border: 1px solid #747775; border-radius: 999px; background: #fff; color: #1F1F1F; font-weight: 700; text-decoration: none; }
.bouton-google:hover { background: #F8F9FA; color: #1F1F1F; text-decoration: none; }
.separateur-ou { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--doux); font-size: .85rem; font-weight: 700; }
.separateur-ou::before, .separateur-ou::after { content: ""; flex: 1; border-top: 1px solid var(--trait); }

/* Connexion avec Facebook : bouton bleu Facebook, logo f blanc (charte Meta) */
.bouton-facebook { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 16px; border: 1px solid #1877F2; border-radius: 999px; background: #1877F2; color: #fff; font-weight: 700; text-decoration: none; }
.bouton-facebook:hover { background: #166FE5; color: #fff; text-decoration: none; }

/* Application installable : proposition en bas d'écran (téléphone) et avis hors connexion */
.bandeau-app { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(14, 77, 42, .25); max-width: 560px; margin: 0 auto;
    border-top: 4px solid var(--orange-vif); }
.bandeau-app[hidden] { display: none; }
.bandeau-app img { border-radius: 10px; flex: none; }
.bandeau-app div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.bandeau-app div b { color: var(--vert-fonce); }
.bandeau-app div span { color: var(--doux); font-size: .85rem; }
.bandeau-app .bouton { flex: none; }
.bandeau-app-fermer { flex: none; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--doux); cursor: pointer; padding: 4px 6px; }
.hors-connexion { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: var(--ocre-clair); color: var(--ocre); text-align: center; padding: 6px 12px; font-weight: 700; font-size: .9rem; border-bottom: 1px solid #F5C9A2; }
.hors-connexion[hidden] { display: none; }
.etapes-app { margin: 0; padding-left: 22px; } .etapes-app li { margin-bottom: 6px; }
body:has(.bandeau-app:not([hidden])) { padding-bottom: 96px; }   /* le pied de page reste atteignable sous la proposition */
/* Élément masqué par l'attribut hidden : toujours caché, même s'il porte une classe qui fixe son affichage (.bouton, .ligne…) */
[hidden] { display: none !important; }
/* Fenêtre « Recevoir les notifications ? » (application installée) */
.voile-push { position: fixed; inset: 0; z-index: 60; background: rgba(8, 36, 20, .5); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.fenetre-push { width: 100%; max-width: 460px; box-shadow: 0 10px 40px rgba(8, 36, 20, .35); }
@media (min-width: 700px) { .voile-push { align-items: center; } }
/* Lettre de motivation : choix de la formule (le prix suit) */
.formules-lettre { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.formule-lettre { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 2px solid var(--trait); border-radius: var(--rayon); background: var(--surface); cursor: pointer; position: relative; transition: border-color .2s, background-color .2s; }
.formule-lettre:hover { border-color: #BFDDC8; }
.formule-lettre input { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; accent-color: var(--vert); }
.formule-lettre:has(input:checked) { border-color: var(--vert); background: var(--primaire-clair); }
.formule-lettre:has(input[value="urgence"]:checked) { border-color: var(--orange); background: var(--ocre-clair); }
.formule-lettre:has(input[value="urgence"]) input { accent-color: var(--orange); }
.formule-nom { font-weight: 800; color: var(--vert-fonce); }
.formule-prix { font-family: var(--titre); font-weight: 800; font-size: 1.45rem; color: var(--orange-fonce); }
/* Partage d'une offre ou d'un avis */
.partager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bouton-partage { display: inline-block; border: 1px solid var(--trait); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; background: var(--surface); color: var(--encre); text-decoration: none; cursor: pointer; }
.bouton-partage.whatsapp { background: #E7F7EE; border-color: #B9E5CB; color: #136C3A; }
.bouton-partage.facebook { background: #E8F0FE; border-color: #C3D6FA; color: #1A4FB5; }
/* Bouton vert WhatsApp (invitation des amis) */
.bouton-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #25D366; color: #06351D; font-weight: 800; text-decoration: none; border: 0; }
.bouton-whatsapp:hover { background: #1EBE5A; color: #06351D; text-decoration: none; }
/* Petite fenêtre « Invitez vos amis » : coin bas gauche (les discussions sont à droite), bas de l'écran au téléphone ; ne bloque rien */
.invitation-amis { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: 320px; max-width: calc(100vw - 24px); box-sizing: border-box;
    display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 12px; background: var(--surface); border: 1px solid var(--trait);
    border-top: 4px solid #25D366; border-radius: 16px; box-shadow: 0 10px 30px rgba(14, 77, 42, .25); animation: invitation-entree .35s ease-out; }
.invitation-amis b { color: var(--vert-fonce); font-size: 1.05rem; padding-right: 26px; }
.invitation-amis p { margin: 0; color: var(--doux); font-size: .92rem; line-height: 1.4; }
.invitation-amis .bouton-whatsapp { width: 100%; box-sizing: border-box; }
.invitation-amis-fermer { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--doux); cursor: pointer; padding: 4px 6px; }
.invitation-amis-liens { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .85rem; }
.invitation-amis-liens button { background: none; border: 0; padding: 0; font: inherit; color: var(--doux); text-decoration: underline; cursor: pointer; }
@keyframes invitation-entree { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) { .invitation-amis { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: 520px; margin: 0 auto; }
  body:has(.discussions-bulles > *) .invitation-amis { bottom: 84px; } }   /* au-dessus des bulles de discussion */
@media (prefers-reduced-motion: reduce) { .invitation-amis { animation: none; } }
body.menu-ouvert .invitation-amis { display: none !important; }

/* ------------------------------------------------------------------ Bienvenue (juste après l'inscription) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bienvenue { max-width: 720px; margin: 0 auto; padding: 24px; position: relative; overflow: hidden; }
.bienvenue::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--vert), var(--orange-vif)); }
.bienvenue h1 { margin: 10px 0 4px; font-size: clamp(1.45rem, 4vw, 1.9rem); }
.choix-bienvenue { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 10px; }
.choix-carte { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 40px 12px 12px; border: 2px solid var(--trait); border-radius: var(--rayon);
  background: #fff; cursor: pointer; font-weight: 800; color: var(--vert-fonce); line-height: 1.3; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.choix-carte:hover { border-color: #BFDDC8; transform: translateY(-1px); }
.choix-carte input { position: absolute; top: 50%; right: 14px; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--vert); }
.choix-carte .icone-rond { width: 46px; height: 46px; }
.choix-carte:has(input:checked) { border-color: var(--vert); background: var(--primaire-clair); box-shadow: 0 8px 20px -14px rgba(14, 77, 42, .8); }
.choix-carte:has(input:focus-visible) { outline: 3px solid var(--orange-vif); outline-offset: 2px; }
/* Pastilles à cocher (sexe, domaines) */
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid #D3E1D7; border-radius: 18px; background: #fff; cursor: pointer; font-weight: 700; font-size: .92rem; transition: border-color .2s, background-color .2s; }
.puce input { margin: 0; accent-color: var(--vert); }
.puce:has(input:checked) { border-color: var(--vert); background: var(--primaire-clair); color: var(--vert-fonce); }
.bloc-profil { padding: 16px; border-radius: var(--rayon); background: linear-gradient(180deg, #F7FBF8, #fff); box-shadow: inset 0 0 0 1.5px #D5E8DB; }
/* Le profil ne s'affiche que pour « freelance » ou « emploi » (navigateurs qui comprennent :has ; sinon toujours visible) */
@supports selector(:has(*)) {
  .bienvenue form:not(:has(input[value="freelance"]:checked, input[value="emploi"]:checked)) .bloc-profil { display: none; }
  .bienvenue form:has(input[value="freelance"]:checked, input[value="emploi"]:checked) .bloc-profil { animation: menu-ouvre .25s ease-out; }
}
/* ------------------------------------------------------------------ Communauté (accueil, annuaire) */
.communaute { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
  background: radial-gradient(420px 180px at 100% 0%, rgba(247, 148, 29, .14), transparent 70%), #fff; }
.communaute-tete { display: flex; gap: 14px; align-items: center; }
.domaines { display: flex; flex-wrap: wrap; gap: 8px; }
.domaine { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; text-decoration: none;
  background: var(--primaire-clair); color: var(--vert-fonce); font-weight: 750; font-size: .92rem; transition: background-color .2s, transform .2s; }
.domaine b { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--orange-fonce); text-align: center; font-weight: 900; }
.domaine:hover { background: #D3EDDB; color: var(--vert-fonce); transform: translateY(-1px); }
.bandeau-communaute { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--rayon); color: #fff;
  background: radial-gradient(420px 160px at 100% 0%, rgba(247, 148, 29, .3), transparent 70%), linear-gradient(120deg, var(--vert-fonce), #13633A); box-shadow: var(--ombre-haute); }
.bandeau-communaute h2 { color: #fff; }
.bandeau-communaute .doux { color: #CFE5D6; }
.bandeau-communaute a { color: #FFB25E; font-weight: 800; }
@media (max-width: 480px) { .bandeau-communaute, .communaute-tete { flex-direction: column; } }
/* ------------------------------------------------------------------ Pages employeurs */
.grille-employeurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.employeur { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.employeur b { color: var(--vert-fonce); font-family: var(--titre); font-size: 1.08rem; line-height: 1.2; }
.entete-employeur { display: flex; gap: 20px; align-items: flex-start; position: relative; overflow: hidden;
  background: radial-gradient(420px 160px at 100% 0%, rgba(247, 148, 29, .14), transparent 70%), #fff; }
.entete-employeur .logo-organisation { border-radius: 18px; box-shadow: var(--ombre); }
@media (max-width: 520px) { .entete-employeur { flex-direction: column; gap: 12px; } }
.grille-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.logo-cadre { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logo-cadre figcaption { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); }
.logo-cadre.propose .logo-organisation { box-shadow: 0 0 0 3px var(--orange-vif); }
/* Impression (factures, CV, lettres) : pas de décor */
@media print {
  body { background: #fff; }
  .entete, .pied, .bandeau-app, .colonne-pubs, .hors-connexion { display: none !important; }
  .carte { box-shadow: none; }
}

/* Boîte à suggestions en bas des pages (anonyme) */
.boite-suggestions { background: var(--surface); border-top: 1px solid var(--trait); margin-top: 32px; }
.boite-suggestions .interieur { max-width: 760px; margin: 0 auto; padding: 18px 16px; }
.boite-suggestions label { display: block; margin-bottom: 8px; }
.boite-suggestions label span { color: var(--doux); font-size: .9rem; }
.boite-suggestions .ligne-envoi { display: flex; gap: 8px; align-items: stretch; }
.boite-suggestions textarea { flex: 1; min-height: 48px; resize: vertical; }
.boite-suggestions .bouton { flex: none; }
.boite-suggestions .merci { margin: 0; }
@media (max-width: 520px) { .boite-suggestions .ligne-envoi { flex-direction: column; } }
/* Boîte à suggestions toujours visible : onglet « Une idée ? » collé au bord droit, qui s'ouvre au clic */
.suggestion-flottante { position: fixed; right: 0; top: 42%; z-index: 45; }
.suggestion-flottante > summary { list-style: none; cursor: pointer; writing-mode: vertical-rl; transform: rotate(180deg); padding: 14px 9px;
  background: var(--vert, #0E4D2A); color: #fff; font-weight: 700; font-size: .95rem; border-radius: 0 10px 10px 0; box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); }
.suggestion-flottante > summary::-webkit-details-marker { display: none; }
.suggestion-flottante > summary span { display: inline-block; transform: rotate(90deg); margin-bottom: 6px; }
.suggestion-flottante[open] > summary { background: var(--doux); }
.suggestion-panneau { position: fixed; right: 46px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100vw - 62px));
  background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; padding: 14px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.4); }
.suggestion-panneau form, .pub-suggestion form { display: flex; flex-direction: column; gap: 8px; }
.suggestion-panneau label span, .pub-suggestion label span { display: block; color: var(--doux); font-size: .85rem; font-weight: 400; }
.suggestion-panneau textarea, .pub-suggestion textarea { width: 100%; min-height: 84px; resize: vertical; }
.suggestion-panneau .merci, .pub-suggestion .merci { margin: 0; }
@media print { .suggestion-flottante { display: none !important; } }.pub-suggestion { background: var(--primaire-clair, #E4F3E8); border: 2px solid var(--vert, #157A3A); border-radius: 14px; padding: 14px; }
/* Ordinateur : la carte de la colonne remplace l'onglet ; téléphone (colonne repoussée sous la page) : l'onglet reste */
@media (min-width: 981px) { body:has(.pub-suggestion) .suggestion-flottante { display: none; } }
@media (max-width: 980px) { .pub-suggestion { display: none; } }
/* « Me tenir informé » : bouton en tête de la colonne de droite, et sa page (cases à cocher, total en direct) */
.pub-informe { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--vert, #157A3A), #0F5C2B); box-shadow: var(--ombre); }
.pub-informe:hover, .pub-informe:focus-visible { color: #fff; filter: brightness(1.08); }
.pub-informe-titre { font-weight: 800; font-size: 1.1rem; }
.pub-informe-texte { font-size: .88rem; opacity: .95; }
@media (max-width: 980px) { .pub-informe { flex: 1 1 260px; } }
.informe-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.informe-case { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 10px; cursor: pointer; background: var(--surface); }
.informe-case:has(input:checked) { border-color: var(--vert, #157A3A); background: var(--primaire-clair, #E4F3E8); }
.informe-case input { width: 20px; height: 20px; flex: none; }
.informe-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-radius: 10px;
  background: var(--primaire-clair, #E4F3E8); }
.informe-total b { font-size: 1.3rem; color: var(--vert, #157A3A); }
/* Personnalisation (back-office → Personnaliser le site) : bandeau d'annonce, pages réécrites, onglets */
.bandeau-annonce { padding: 9px 0; font-weight: 700; font-size: .9rem; text-align: center; }
.bandeau-annonce .interieur { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.bandeau-annonce a { color: inherit; }
.bandeau-annonce.info { background: #E7EEF7; color: #1F3A5F; }
.bandeau-annonce.succes { background: var(--primaire-clair, #E4F3E8); color: var(--vert-fonce, #0E4D2A); }
.bandeau-annonce.alerte { background: #FDEBD8; color: #8A3B00; }
.page-perso h2 { margin: 18px 0 4px; } .page-perso p, .page-perso li { line-height: 1.6; }
a.puce { text-decoration: none; color: inherit; } a.puce.active { background: var(--primaire-clair, #E4F3E8); border-color: var(--vert, #157A3A); font-weight: 700; }
/* Vendre vos services : cartes d'offres, fiche (galerie, formules), boutique du vendeur */
.grille-offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.carte-offre { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.carte-offre .visuel { display: block; aspect-ratio: 4 / 3; background: var(--primaire-clair); }
.carte-offre .visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carte-offre .corps { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 16px 16px; }
.carte-offre .titre-offre { font-weight: 800; color: var(--encre); text-decoration: none; line-height: 1.3; }
.carte-offre .prix { margin-top: auto; font-weight: 800; color: var(--vert-fonce); }
.carte-offre .vendeur { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--doux); }
.carte-offre .vendeur img, .entete-boutique .avatar { border-radius: 50%; object-fit: cover; flex: none; }
.galerie-offre { display: grid; gap: 8px; }
.galerie-offre .principale { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-petit); background: var(--primaire-clair); }
.galerie-offre .miniatures { display: flex; gap: 8px; flex-wrap: wrap; }
.galerie-offre .miniatures button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.galerie-offre .miniatures button[aria-pressed="true"] { border-color: var(--vert); }
.galerie-offre .miniatures img { display: block; width: 72px; height: 54px; object-fit: cover; }
.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.formule { border: 1.5px solid var(--trait); border-radius: var(--rayon-petit); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.formule .prix { font-size: 1.35rem; font-weight: 800; color: var(--vert-fonce); }
.formule ul { margin: 0; padding-left: 18px; }
.entete-boutique { display: flex; gap: 16px; align-items: center; }
.editeur-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.editeur-formules fieldset, .editeur-options fieldset { border: 1.5px solid var(--trait); border-radius: var(--rayon-petit); padding: 12px; margin: 0; min-width: 0; }
.visuels-existants { display: flex; gap: 10px; flex-wrap: wrap; }
.visuels-existants label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.visuels-existants img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
@media (max-width: 600px) { .entete-boutique { flex-direction: column; align-items: flex-start; } }
/* Vendre vos services : commande (choix de formule, récapitulatif, historique) */
.choix-formule { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--trait); border-radius: var(--rayon-petit); cursor: pointer; font-weight: 400; }
.choix-formule input { margin-top: 4px; flex: none; }
.choix-formule:has(input:checked) { border-color: var(--primaire); background: var(--primaire-clair); }
.recap-commande { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.recap-commande dt { margin: 0; }
.recap-commande dd { margin: 0; text-align: right; white-space: nowrap; }
.historique-commande { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
