/* ReTexto · thème « atelier » (13 nov. 2026)
   Demande de Quentin : moins « tech SaaS ». Fond beige clair, texte bleu nuit, touches de bleu et d'orange,
   vraies photos (vignettes des métiers, photo dans le hero). Chargé APRÈS v5.css sur l'accueil : v5.css garde
   la mise en page et les animations, ce fichier change l'ambiance. Plus de halos lumineux, plus de vidéo floutée,
   plus de verre. Les téléphones dessinés restent sombres (ce sont des téléphones). */

:root {
  --beige: #f3ece1;          /* fond principal */
  --beige-2: #ebe2d3;        /* bandes plus soutenues */
  --cream: #fbf7f0;          /* cartes */
  --blue-soft: #dfe6ee;      /* panneaux bleus */
  --blue-mid: #3d5a80;       /* bleu acier (accents) */
  --orange-ink: #b8400b;     /* orange lisible sur fond clair */

  --text: #14243d;
  --text-2: #46536a;
  --text-3: #5d6779;
  --line: rgba(20, 36, 61, .12);
  --line-2: rgba(20, 36, 61, .2);
  --paper: #fbf7f0;
  color-scheme: light;
}
html { background: var(--beige); }
body { background: var(--beige); color: var(--text); }
/* plus de halos lumineux */
html::before, html::after, body::before { content: none; display: none; animation: none; }

/* Les téléphones dessinés gardent leur écran sombre et leur texte clair */
.ph { --text: #fbf7f0; --text-2: #dfe6ee; --text-3: #dfe6ee; --line: rgba(251, 247, 240, .1); --line-2: rgba(251, 247, 240, .18); color: #fbf7f0;
  box-shadow: inset 0 0 0 1px rgba(251, 247, 240, .2), inset 0 0 0 4px #14243d, 0 50px 90px -40px rgba(20, 36, 61, .55), 0 18px 36px -22px rgba(20, 36, 61, .45); }

.accent { color: var(--orange-ink); }
.note, .fine { color: var(--text-3); }
.mute { color: #3d5a80; }
:focus-visible { outline-color: var(--orange-ink); }

/* Boutons */
.btn-primary { box-shadow: inset 0 1px 0 rgba(251, 247, 240, .35), 0 14px 28px -16px rgba(184, 64, 11, .55); }
.btn-glass { background: #fbf7f0; color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(20, 36, 61, .04); }
@media (hover: hover) and (pointer: fine) { .btn-glass:hover { background: #fbf7f0; border-color: rgba(20, 36, 61, .38); } }

/* En-tête */
.brand { --logo-ink: #14243d; --wm-texto: #14243d; }
.hdr.is-solid { background: rgba(243, 236, 225, .94); border-bottom-color: var(--line); }
.hdr-nav a { color: var(--text-2); }
.hdr-nav a:hover { color: var(--text); }

/* ---------- Hero : fond beige, une vraie photo derrière le téléphone ---------- */
.hero-media { display: none; }
.hero::after { content: none; }
.tag { background: var(--cream); border-color: var(--line-2); color: var(--text-2); }
.hero-title { color: var(--text); }
.hero-sub { color: var(--text-2); }
.hero-phone .tilt::after { background: radial-gradient(closest-side, rgba(20, 36, 61, .35), transparent); }

/* ---------- Chiffres : panneau bleu clair ---------- */
.sheet { border-top: 0; box-shadow: none; }
.sheet-solid { background: linear-gradient(180deg, var(--blue-soft) 0, var(--blue-soft) calc(100% - 200px), rgba(223, 230, 238, 0) 100%); }
.glass { background: var(--cream); border: 1px solid rgba(20, 36, 61, .08); box-shadow: 0 30px 60px -40px rgba(20, 36, 61, .45); }
.nb-big > span:first-child, .nb-big .pct, .nb-facts li:nth-child(3) .nb-num { color: var(--orange-ink); }
.nb-txt { color: var(--text-2); }
.nb-facts li, .nb-facts li:first-child { border-top-color: rgba(20, 36, 61, .14); }
.nb-main::before { background: linear-gradient(90deg, var(--orange), rgba(255, 107, 26, 0) 70%); }

/* ---------- Comment ça marche : sur le beige, halo bleu très léger ---------- */
.how::before { background: radial-gradient(closest-side, rgba(61, 90, 128, .14), transparent); }
.hs-time { color: var(--orange-ink); }
.how-prog button { color: var(--text-3); }
.how-prog button.is-on { color: var(--text); }
.how-prog button::before { background: rgba(20, 36, 61, .16); }
.how-prog button.is-past::before { background: rgba(255, 107, 26, .5); }
.duo-cap { color: var(--text-3); }
.ph-dim { background: rgba(243, 236, 225, .42); }
.flow-base { stroke: #5d6779; }
.flow-label { color: var(--text-2); }
.how-arrow { background: var(--cream); border-color: var(--line-2); color: var(--text); }
.how-arrow:active { background: #fbf7f0; }
.how-hint { color: var(--text-3); }

/* ---------- Métiers : vignettes photo ---------- */
.metiers { padding-top: calc(var(--sec) * .5); }
.metiers .h2 { margin-bottom: 36px; }
.mt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 699px) { .mt-card { aspect-ratio: 4 / 5; } .mt-ico { top: 40%; width: 36%; } }
.mt-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); background: var(--beige-2);
  box-shadow: 0 1px 0 rgba(20, 36, 61, .05), 0 20px 40px -32px rgba(20, 36, 61, .5); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mt-card picture, .mt-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mt-card img { object-fit: cover; transition: transform .6s var(--ease); }
.mt-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 36, 61, 0) 52%, rgba(20, 36, 61, .62)); pointer-events: none; }
.mt-name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: #fbf7f0; }
.mt-name .icon { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); stroke-width: 2.4; }
.mt-tile::after { content: none; }
.mt-tile .mt-name { color: var(--text); }
.mt-blue { background: var(--blue-soft); }
.mt-orange { background: #ebe2d3; }
.mt-ico { position: absolute; left: 50%; top: 42%; width: 42%; transform: translate(-50%, -50%); fill: none; stroke: var(--blue-mid); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mt-orange .mt-ico { stroke: var(--orange-ink); }
@media (hover: hover) and (pointer: fine) {
  .mt-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(20, 36, 61, .05), 0 28px 50px -30px rgba(20, 36, 61, .55); }
  .mt-card:hover img { transform: scale(1.04); }
}
.mt-card:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; }
@media (min-width: 700px) { .mt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) {
  .metiers .h2 { margin-bottom: 48px; }
  .mt-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .mt-name { font-size: 16px; left: 16px; right: 12px; bottom: 16px; }
}

/* ---------- Questions : carte crème sur le beige ---------- */
.faq.sheet { background: var(--cream); box-shadow: 0 1px 0 rgba(20, 36, 61, .05), 0 40px 80px -60px rgba(20, 36, 61, .4); margin-top: 0; }
@media (min-width: 1024px) { .faq-list { background: #fbf7f0; } }

/* ---------- Pied de page : appel final dans un panneau bleu nuit, le reste sur le beige ---------- */
.foot::before { content: none; }
.foot-cta { background: #14243d; border: 0; box-shadow: 0 40px 80px -50px rgba(20, 36, 61, .7); color: #fbf7f0; }
.foot-cta::before { background: radial-gradient(90% 120% at 100% 0%, rgba(61, 90, 128, .55), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(255, 107, 26, .16), transparent 70%); }
.foot-cta .h2 { color: #fbf7f0; }
.foot-cta .mute { color: #dfe6ee; }
.foot-cta .fine { color: #dfe6ee; }
.foot-contact, .foot-contact a { color: var(--text-2); }
.foot-legal, .foot-legal a { color: var(--text-3); }
.foot-contact a:hover, .foot-legal a:hover { color: var(--text); }

/* ---------- Bannière cookies : carte claire ---------- */
.cookie { background: var(--cream); color: var(--text); border-color: var(--line-2); box-shadow: 0 30px 60px -28px rgba(20, 36, 61, .45); }
.cookie p { color: var(--text-2); }
.cookie a { color: var(--text); }
.cookie .btn { background: #fbf7f0; color: var(--text); border-color: var(--line-2); }
.cookie .btn:hover { border-color: rgba(20, 36, 61, .45); }

/* Barre mobile : ombre plus douce sur fond clair */
@media (max-width: 1023px) { .mbar .btn-block { box-shadow: inset 0 1px 0 rgba(251, 247, 240, .35), 0 -10px 28px -14px rgba(20, 36, 61, .4); } }

@media (prefers-reduced-transparency: reduce) {
  .glass, .cookie, .hdr.is-solid, .btn-glass, .tag { background: var(--cream); }
  .notif { background: #14243d; }
}

/* ---------- 14 nov. : plus de photo derrière le téléphone, plus de tuile Couvreurs (inclus dans « Autres artisans ») ---------- */
.mt-name small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
/* 5 cartes : la tuile « Autres artisans » prend la largeur restante */
@media (max-width: 699px) { .mt-grid > li:has(.mt-orange) { grid-column: 1 / -1; } .mt-orange { aspect-ratio: auto; min-height: 92px; } .mt-orange .mt-ico { display: none; } .mt-orange .mt-name { top: 50%; bottom: auto; transform: translateY(-50%); left: 18px; right: 16px; } }
@media (min-width: 700px) and (max-width: 1023px) { .mt-grid > li:has(.mt-orange) { grid-column: span 2; } .mt-orange { aspect-ratio: auto; height: 100%; } .mt-orange .mt-ico { top: 44%; width: 22%; } }
@media (min-width: 1024px) { .mt-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Mobile : pas de photo sous « Vos questions » */
@media (max-width: 1023px) { .faq-photo { display: none; } .faq.sheet { padding-bottom: calc(var(--sec) * .45); } }
@media (max-width: 400px) { .mt-name { font-size: 14.5px; left: 12px; right: 10px; bottom: 12px; } .mt-name .icon { width: 26px; height: 26px; padding: 6px; } }

/* ---------- 14 nov. : chiffres resserrés + carte « Comment ça marche » (la démo a sa propre page)
   Deux cartes de même taille : même rayon, mêmes marges intérieures, même hauteur sur ordinateur. ---------- */
.numbers .h2 { margin-bottom: 28px; }
.nb-grid { display: grid; gap: 16px; }
.nb-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 24px; overflow: hidden; }
.nb-main::before { left: 22px; right: 22px; }
.nb-top { display: flex; align-items: center; gap: 18px; }
.nb-big { flex: none; font-size: 76px; }
.nb-lead { margin-top: 0; font-size: 17px; line-height: 1.35; }
.nb-main .note { margin-top: 14px; font-size: 13px; }
.nb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.nb-facts li, .nb-facts li:first-child { padding: 14px 0 0; border-top: 1px solid rgba(20, 36, 61, .14); }
.nb-num { font-size: 24px; }
.nb-txt { margin-top: 6px; font-size: 13.5px; line-height: 1.35; }

.how-card { background: #14243d; color: #fbf7f0; isolation: isolate; box-shadow: 0 30px 60px -36px rgba(20, 36, 61, .7); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.how-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, rgba(61, 90, 128, .6), transparent 65%), radial-gradient(70% 60% at 0% 100%, rgba(255, 107, 26, .16), transparent 70%); }
.how-card::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, var(--orange), rgba(255, 107, 26, 0) 75%); }
.hc-title { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; color: #fbf7f0; }
.hc-sub { margin-top: 8px; font-size: 15.5px; line-height: 1.4; color: #dfe6ee; max-width: 24em; }
.hc-steps { position: relative; display: grid; gap: 12px; margin-top: 20px; }
.hc-steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: rgba(251, 247, 240, .2); }
.hc-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 15.5px; line-height: 1.35; }
.hc-time { position: relative; justify-self: start; padding: 2px 0; background: #14243d; font-size: 13px; font-weight: 600; color: #ff6b1a; font-variant-numeric: tabular-nums; }
.hc-foot { display: grid; gap: 12px; margin-top: 22px; }
/* bouton clair (le bouton orange reste réservé à « Réserver ma place ») ; toute la carte est cliquable */
.hc-go { white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 6px 6px 22px; border-radius: 999px; background: #fbf7f0; color: #14243d; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; transition: background-color .25s; }
.hc-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hc-orb { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); transition: transform .3s var(--ease); }
.hc-orb .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.hc-setup { font-size: 13.5px; color: #dfe6ee; text-align: center; }
.how-card:has(.hc-go:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.hc-go:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .how-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -36px rgba(20, 36, 61, .8); }
  .how-card:hover .hc-go { background: #fbf7f0; }
  .how-card:hover .hc-orb { transform: translateX(3px); }
}
.how-card:active .hc-go { background: #fbf7f0; }
@media (max-width: 400px) { .hc-go { padding-left: 18px; font-size: 15.5px; } .hc-title { font-size: 26px; } }
@media (min-width: 600px) and (max-width: 899px) { .nb-big { font-size: 92px; } .nb-lead { font-size: 19px; } }
@media (min-width: 900px) {
  .numbers .h2 { margin-bottom: 40px; }
  .nb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
  .nb-card { padding: 36px 36px 32px; border-radius: 28px; }
  .nb-main::before, .how-card::after { left: 36px; right: 36px; }
  .nb-top { display: block; }
  .nb-big { font-size: 104px; }
  .nb-lead { margin-top: 14px; font-size: 20px; }
  .nb-main .note { margin-top: 12px; font-size: 14px; }
  .nb-facts { gap: 20px; margin-top: auto; padding-top: 28px; }
  .nb-facts li, .nb-facts li:first-child { padding: 16px 0 0; }
  .nb-num { font-size: 30px; }
  .nb-txt { font-size: 14.5px; }
  .hc-title { font-size: 38px; }
  .hc-sub { font-size: 17px; }
  .hc-steps { gap: 14px; margin-top: 24px; flex: 1 1 auto; align-content: center; }
  .hc-steps li { font-size: 17px; }
  .hc-foot { margin-top: 24px; }
  .hc-go { min-height: 58px; font-size: 17px; }
}
@media (min-width: 1200px) { .hc-foot { grid-template-columns: auto 1fr; align-items: center; gap: 18px; } .hc-setup { text-align: left; } }
/* Ordinateur : la feuille garde la hauteur d'un écran (elle recouvre le hero), le contenu est centré dedans */
@media (min-width: 1024px) and (min-height: 720px) {
  .numbers { display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) + 40px); padding-bottom: 56px; }
  .numbers > .wrap { width: 100%; }
}

/* ---------- Page « Comment ça marche » ---------- */
.pg-head { padding: calc(var(--hdr) + 20px) 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--text-3); }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pg-title { margin-top: 6px; font-size: clamp(36px, 10vw, 46px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.pg-lead { margin-top: 14px; max-width: 34em; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.pg-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 760px; }
.pg-keys li { padding-top: 12px; border-top: 1px solid rgba(20, 36, 61, .16); }
.pg-keys b { display: block; font-size: 19px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.pg-keys li:first-child b { color: var(--orange-ink); }
.pg-keys span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.how-page { padding-top: calc(var(--sec) * .42); }
.how-page .h2 { margin-bottom: 4px; }
.install { padding-top: calc(var(--sec) * .55); padding-bottom: calc(var(--sec) * .6); }
.install .h2 { max-width: 20em; }
.inst-steps { display: grid; gap: 12px; margin-top: 32px; }
.inst { padding: 24px 22px; border-radius: 22px; background: var(--cream); border: 1px solid rgba(20, 36, 61, .08); box-shadow: 0 24px 50px -40px rgba(20, 36, 61, .45); }
.inst-when { font-size: 14px; font-weight: 600; color: var(--orange-ink); }
.inst-title { margin-top: 8px; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.inst-txt { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.inst-notes { display: grid; gap: 0; margin-top: 24px; max-width: 46em; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.inst-notes li { padding: 12px 0; border-top: 1px solid rgba(20, 36, 61, .12); }
.inst-notes li:last-child { color: var(--text-3); font-size: 14px; }
@media (min-width: 600px) {
  .pg-title { font-size: 52px; }
  .pg-lead { font-size: 19px; }
  .pg-keys b { font-size: 24px; }
  .pg-keys span { font-size: 14px; }
}
@media (min-width: 900px) {
  .inst-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
  .inst { padding: 30px 28px; }
}
@media (min-width: 1024px) {
  .pg-head { padding-top: calc(var(--hdr) + 40px); }
  .pg-title { font-size: 64px; }
  }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hdr-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Charte (14 nov.) : uniquement les couleurs de la charte ----------
   bleu nuit #14243d · ardoise #46536a · gris bleu #5d6779 · bleu acier #3d5a80 · bleu clair #dfe6ee
   beige #f3ece1 · beige soutenu #ebe2d3 · crème #fbf7f0 · orange #ff6b1a · orange foncé #b8400b
   Texte toujours opaque (pas de gris obtenu par transparence). Transparence permise seulement pour les traits, ombres et voiles. */
.mt-orange { background: #14243d; }
.mt-orange .mt-name { color: #fbf7f0; }
.mt-orange .mt-name small { color: #dfe6ee; }
.mt-orange .mt-ico { stroke: #ff6b1a; }
