/* Composants propres à Seensys (ne pas modifier style.css du socle, sauf les jetons).
   Direction 2026 : bleu dominant, violet en soutien (dégradés, détails), verre dépoli, grandes typos, bento. */

/* Titres dégradés : bleu vers violet. Sur fond sombre, versions claires. */
.gradient-text,
h1:has(.gradient-text), h2:has(.gradient-text), h3:has(.gradient-text) {
  background-image: linear-gradient(110deg, var(--brand) 10%, var(--violet) 100%);
}
.section-dark :is(h1, h2, h3):has(.gradient-text) {
  background-image: linear-gradient(110deg, var(--brand-soft) 0%, #B6A4FF 100%);
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-glow)); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }

/* --- Hero : maille de lumière bleue, touche violette, photo + cartes de verre --- */
.hero-2026 { min-height: auto; padding: 150px 0 90px; background: var(--white); }
.hero-2026 .hero-bg::before {
  background:
    radial-gradient(ellipse 760px 520px at 78% 18%, rgba(var(--glow-rgb), .20), transparent 70%),
    radial-gradient(ellipse 520px 420px at 96% 70%, rgba(var(--violet-rgb), .14), transparent 70%),
    radial-gradient(ellipse 620px 420px at 8% 90%, rgba(var(--brand-rgb), .08), transparent 70%);
}
.hero-2026 h1 { font-size: clamp(2.4rem, 4.5vw, 3.9rem); letter-spacing: -.04em; }
.hero-2026 .subtitle { max-width: 52ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--text-secondary); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-visual .hero-media { aspect-ratio: 5 / 6; border-radius: var(--radius-xl); }
.glass {
  position: absolute; z-index: 2; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(var(--brand-rgb), .18);
}
.glass strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.glass span { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 6px; max-width: 18ch; line-height: 1.35; }
.glass--a { left: -28px; bottom: 42px; animation: float 7s ease-in-out infinite; }
.glass--b { right: -20px; top: 38px; animation: float 7s ease-in-out -3s infinite; }
.glass--b strong { color: var(--violet); }

/* Puces de gamme : tout le modern workplace d'un coup d'oeil */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--brand-dark); background: var(--brand-light); border: 1px solid rgba(var(--brand-rgb), .12); }
.chip svg { width: 16px; height: 16px; }

/* --- Bento services : première carte en dégradé bleu, le reste en cartes claires --- */
.bento .card h3 { font-size: 1.2rem; }
.bento .card p { color: var(--text-secondary); font-size: .96rem; }
.bento .card-lead {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 55%, #3B2FA8 120%); border-color: transparent; color: var(--white);
  grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 380px; padding: 44px; overflow: hidden;
}
.bento .card-lead::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 380px 300px at 100% 0%, rgba(var(--violet-rgb), .45), transparent 70%); pointer-events: none; }
.bento .card-lead :is(h3, p) { color: var(--white); position: relative; }
.bento .card-lead p { color: rgba(255,255,255,.82); }
.bento .card-lead .icon-tile { background: rgba(255,255,255,.16); position: relative; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--brand); }
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.card:hover .card-link svg { transform: translateX(4px); }
.card-lead .card-link { color: var(--white); position: relative; }

/* --- Gammes reprises --- */
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.range-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: all .4s var(--ease); }
.range-card:hover { border-color: rgba(var(--brand-rgb), .25); box-shadow: 0 16px 44px rgba(var(--brand-rgb), .08); transform: translateY(-3px); }
.range-card h3 { font-size: 1.05rem; }
.range-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.5; }
.range-card .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.section-surface .range-card { background: var(--white); }

/* --- Étapes numérotées (reprise) --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, var(--brand-soft), #B6A4FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 16px; }
.step h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.6; }

/* --- Bandeau de logos sur fond sombre : logos blancs --- */
.logo-band { padding: 56px 0 48px; }
.logo-item { display: flex; align-items: center; flex-shrink: 0; }
.hero-ctas--center { justify-content: center; }
.logo-band .trust-label { color: rgba(255,255,255,.6); }
.logo-band .trust-track { gap: 64px; }
.logo-band .trust-track img { height: 34px; max-width: 130px; opacity: .72; filter: none; }

.section-dark .stats-row { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.section-dark .stats-note { color: rgba(255,255,255,.55); }
.section-dark::after { content: ''; position: absolute; inset: auto -10% -30% 40%; height: 70%; background: radial-gradient(ellipse at center, rgba(var(--violet-rgb), .16), transparent 65%); pointer-events: none; }

/* --- Bloc de choix par appareil (3 issues) --- */
.outcome { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome .card { padding: 30px; }
.outcome .tag { margin-bottom: 4px; }

/* --- Photo + texte --- */
.split-media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(var(--brand-rgb), .1); box-shadow: 0 30px 70px rgba(var(--brand-rgb), .12); }
.split-media img { width: 100%; height: auto; }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.section-dark .check-list li { color: rgba(255,255,255,.8); }

/* --- Contact --- */
.form { display: grid; gap: 18px; max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.field :is(input, select, textarea) {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--text); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field :is(input, select, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-secondary); }
/* Champ piège anti-robot : hors écran, jamais display:none (certains robots l'ignorent alors) */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-secondary); }
.consent input { margin-top: 3px; flex: none; }
.consent a { color: var(--brand); text-decoration: underline; }
/* Message après envoi : vide tant que l'adresse n'a pas ?envoye=1 ou ?erreur=1 */
.form-status:empty { display: none; }
.form-status:focus { outline: none; }
.form-status { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; border: 1px solid var(--border); }
.form-status.ok { background: #e8f6ee; border-color: #8fd0a8; color: #14532d; }
.form-status.ko { background: #fdecec; border-color: #f0a8a8; color: #7f1d1d; }

@media (max-width: 1024px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .outcome { grid-template-columns: 1fr; }
  .bento .card-lead { grid-column: auto; grid-row: auto; min-height: 280px; }
}
@media (max-width: 768px) {
  .hero-2026 { padding: 110px 0 56px; }
  .hero-visual .hero-media { aspect-ratio: 4 / 3; }
  .glass--a { left: 12px; bottom: 12px; }
  .glass--b { right: 12px; top: 12px; }
  .glass strong { font-size: 1.5rem; }
  .range-grid, .form-row { grid-template-columns: 1fr; }
}

.split-media--overlap { margin-top: -24px; position: relative; z-index: 3; }

.bento .card-lead h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; max-width: 18ch; }
.bento .card-lead p { max-width: 42ch; font-size: 1.05rem; }

@media (min-width: 1025px) { .bento .card:last-child:not(.card-lead) { grid-column: span 2; } }

/* --- Pages de service, blog, références --- */
.related { margin-top: 56px; text-align: center; }
.related .chip-row { justify-content: center; }
a.chip:hover { background: var(--brand); color: var(--white); }
.step p:only-child { margin-top: 0; color: rgba(255,255,255,.9); font-size: 1rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card :is(h2, h3) { font-size: 1.1rem; line-height: 1.35; }
.post-card p { font-size: .92rem; color: var(--text-secondary); }
.post-meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.article { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); }
.article h2 { font-size: 1.6rem; margin: 52px 0 16px; color: var(--text); }
.article h3 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--text); }
.article p, .article ul, .article ol { margin-top: 16px; }
.article ul { list-style: disc; padding-left: 22px; } .article ol { list-style: decimal; padding-left: 22px; }
.article li { margin-top: 6px; }
.article img { border-radius: var(--radius-lg); margin: 28px 0; }
.article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--text); }
.article table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; }
.article :is(th, td) { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.client-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.client-wall span { padding: 12px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; background: var(--white); }
.grade-card :is(h2, h3) { display: flex; align-items: center; gap: 12px; }
.grade-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--violet)); color: var(--white); font-family: var(--font-display); font-weight: 800; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .post-grid { grid-template-columns: 1fr; } }

/* --- En-tête : le logo ne se déforme jamais (docs/CONTROLE-VISUEL.md) --- */
.brand img, .footer-logo img { flex: none; width: auto; max-width: none; }
.brand { flex: none; }

/* --- Pied de page : marque et actions à gauche, colonnes thématiques à droite --- */
.footer { padding: 64px 0 28px; background: var(--surface); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-logo img { height: 44px; }
.footer-brand p { color: var(--text-secondary); font-size: .95rem; max-width: 36ch; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-actions .btn { padding: .7rem 1.2rem; font-size: .85rem; }
.footer-brand .footer-address { font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-col-title { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-secondary); transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 48px; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) {
  .footer { padding: 48px 0 24px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col a { padding: 9px 0; } /* zone tactile >= 37 px */
  .footer-bottom { flex-direction: column; }
}

/* --- Contact : trois façons de nous joindre --- */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-way { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 28px; }
.contact-way p { color: var(--text-secondary); font-size: .95rem; }
.contact-way .btn { margin-top: auto; } .contact-way p { margin-bottom: 8px; }
@media (max-width: 900px) { .contact-ways { grid-template-columns: 1fr; } }

/* Sous 560 px, le bouton d'en-tête passe dans le menu mobile : logo + bouton + burger ne tiennent pas sur 390 px (mesuré par check:layout). */
@media (max-width: 560px) { .header .nav-links { display: none; } }

/* Tablette : le dernier bloc du bento occupe la ligne entière au lieu de rester seul dans une colonne (relevé sur capture 820 px). */
@media (min-width: 769px) and (max-width: 1024px) { .bento .card:last-child:not(.card-lead) { grid-column: span 2; } }
/* Deux colonnes texte et image sont trop serrées sous 900 px : on empile plus tôt que le socle (768 px). */
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; gap: 36px; } }

.blog-intro { margin-bottom: 40px; }

.ref-intro { margin: 0 0 56px; max-width: 72ch; }
.ref-note { margin-top: 40px; max-width: 72ch; }

/* --- Menu par intention (Acheter, Louer, Revendre, Réparer), 2026-10-28 ---
   L'en-tête a un backdrop-filter : il sert de bloc conteneur au panneau fixe, centré sur la page.
   Panneau opaque (un fond translucide laissait lire le titre de l'accueil derrière le menu), grille fixe 2 x 2 : cartes de même hauteur. */
.nav-dropdown--intent::after { left: -40px; right: -40px; height: calc(var(--header-h) / 2 + 4px); }
.nav-dropdown--intent .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.intent-panel {
  position: fixed; top: 100%; left: 50%; margin-top: 0; min-width: 0; width: min(1040px, calc(100vw - 48px));
  display: grid; grid-template-columns: 290px 1fr; gap: 0; padding: 0; overflow: hidden;
  background: var(--white); backdrop-filter: none; transform: translate(-50%, 10px);
}
.nav-dropdown:is(:hover, :focus-within) .intent-panel { transform: translate(-50%, 0); }
.intent-panel a { padding: 0; border-radius: 0; display: inline; gap: 0; }
.intent-panel a:hover { background: none; }
.intent-intro { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border-right: 1px solid var(--border); }
.intent-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: var(--text); }
.intent-text { font-size: .88rem; line-height: 1.55; color: var(--text-secondary); }
.intent-links { display: grid; gap: 2px; }
.intent-panel .intent-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--text); white-space: nowrap; }
.intent-panel .intent-links a:hover { color: var(--brand); }
.intent-links svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
.intent-panel .intent-intro .btn { display: inline-flex; align-self: flex-start; margin-top: auto; padding: .7rem 1.2rem; border-radius: 10px; color: var(--white); }
.intent-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 12px; padding: 20px; }
.intent-target { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.intent-panel .intent-target-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--text); white-space: nowrap; }
.intent-panel .intent-target-head:hover { color: var(--brand); }
.intent-target-head .icon-tile { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.intent-target-head .icon-tile svg { width: 16px; height: 16px; }
.intent-keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.intent-panel .intent-keywords a { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; color: var(--brand-dark); background: var(--brand-light); }
.intent-panel .intent-keywords a:hover { background: var(--brand); color: var(--white); }
/* Menu mobile : plus d'entrées que la hauteur d'écran, il défile. */
.mobile-nav { overflow-y: auto; justify-content: safe center; padding: 72px 24px 40px; gap: 22px; }
.mobile-nav .mobile-group { gap: 14px; }
.mobile-nav .mobile-group a:not(.btn) { font-size: 1.05rem; }

/* --- Besoins par profil et formules --- */
.need-card { display: flex; flex-direction: column; }
.need-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 20px; }
.btn-sm { padding: .62rem 1.1rem; font-size: .85rem; }
.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--brand); }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { text-decoration: underline; }

/* --- Estimation guidée --- */
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.wizard { max-width: none; scroll-margin-top: calc(var(--header-h) + 20px); }
.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.wizard-step + .wizard-step { padding-top: 32px; border-top: 1px solid var(--border); }
.wizard.is-enhanced .wizard-step + .wizard-step { padding-top: 0; border-top: 0; }
.wizard-step[hidden] { display: none; }
.wizard-step legend { margin-bottom: 4px; }
.wizard-step legend:focus { outline: none; }
.wizard-nav { display: none; gap: 12px; flex-wrap: wrap; }
.wizard.is-enhanced .wizard-nav { display: flex; }
.wizard-progress { display: none; gap: 8px; counter-reset: none; }
.wizard.is-enhanced .wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); }
.wizard-progress li { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--text-secondary); padding-top: 10px; border-top: 3px solid var(--border); }
.wizard-progress li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); font-size: .75rem; flex: none; }
.wizard-progress li[aria-current], .wizard-progress li.is-done { color: var(--brand); border-top-color: var(--brand); }
.wizard-progress li[aria-current] span, .wizard-progress li.is-done span { background: var(--brand); color: var(--white); }
.field-label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.choice:hover { border-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
.field .choice input { width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--brand); flex: none; box-shadow: none; }
.choice--card span { font-size: .88rem; font-weight: 400; color: var(--text-secondary); }
.choice--card strong { display: block; font-family: var(--font-display); color: var(--text); font-size: .95rem; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 4px; padding: 32px 20px; text-align: center; border: 2px dashed rgba(var(--brand-rgb), .3); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--brand); background: var(--brand-light); }
.dropzone svg { width: 30px; height: 30px; color: var(--brand); }
.dropzone span { font-size: .85rem; color: var(--text-secondary); }
.dropzone .dropzone-files { color: var(--brand); font-weight: 700; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wizard-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.wizard-aside .form-note { margin-top: 18px; }
.form-note a, .wizard-step a { color: var(--brand); text-decoration: underline; }
@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-aside { position: static; }
}
@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-progress li { font-size: 0; gap: 0; justify-content: center; }
  .wizard-progress li span { font-size: .75rem; }
}

/* --- The Repair Group : cartes des entités (À propos) et bandeau du pied de page --- */
.entity-card { display: flex; flex-direction: column; }
.entity-card--current { border-color: rgba(var(--brand-rgb), .35); }
.entity-logo { display: flex; align-items: center; gap: 10px; height: 40px; margin-bottom: 18px; }
.entity-logo img { height: 40px; width: auto; }
.entity-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.entity-since { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; }
.footer-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--border); }
.footer-group-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.footer-group-brand img { width: 40px; height: auto; }
.footer-group-brand strong { color: var(--text); }
.footer-group-brand:hover strong { color: var(--brand); }
.footer-group-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-group-links a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-secondary); }
.footer-group-links a:hover { color: var(--brand); }
.footer-group + .footer-bottom { margin-top: 8px; }

/* Maillage groupe : cartes entités en sous-grille (logo, année, titre, rôle, lien alignés), ponts contextuels */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.group-grid { row-gap: 24px; }
@supports (grid-template-rows: subgrid) {
  .group-grid > .group-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .group-grid > .group-card .need-links { margin-top: 0; align-self: end; }
}
.group-bridges .eyebrow { margin-bottom: 16px; }
.group-bridge { display: flex; flex-direction: column; }
.group-bridge .need-links { margin-top: auto; }
.group-cta { margin-top: 40px; }

/* --- Partenaire d'effacement (Blancco), 2026-10-28 : bandeau compact sur une ligne (logo + phrase, puis trois preuves).
   La première version (titre h2, quatre cartes) prenait une section entière : on aurait dit la page de Blancco. --- */
.partner { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.partner > * { padding: 24px; }
.partner > * + * { border-left: 1px solid var(--border); }
.partner-intro { display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.partner-intro .eyebrow { margin-bottom: 0; font-size: 11px; }
.partner-logo { display: block; width: fit-content; }
.partner-logo img { height: 34px; width: auto; }
.partner-intro p:last-child { font-size: .86rem; line-height: 1.5; color: var(--text-secondary); }
.partner-cert { display: flex; flex-direction: column; gap: 6px; }
.partner-cert-head { height: 30px; display: flex; align-items: center; margin-bottom: 4px; }
.partner-cert-head img { height: 22px; width: auto; }
.partner-cert-head .icon-tile { width: 30px; height: 30px; border-radius: 9px; }
.partner-cert-head .icon-tile svg { width: 15px; height: 15px; }
.partner-cert h3 { font-size: .95rem; line-height: 1.3; }
.partner-cert p { font-size: .82rem; line-height: 1.5; color: var(--text-secondary); }
.partner-cert a { margin-top: auto; padding-top: 4px; font-size: .78rem; font-weight: 600; color: var(--brand); }
.partner-cert a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .partner { grid-template-columns: repeat(3, 1fr); } .partner-intro { grid-column: 1 / -1; } .partner > .partner-cert:nth-child(2) { border-left: 0; } .partner-intro { border-bottom: 1px solid var(--border); } }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } .partner > * + * { border-left: 0; border-top: 1px solid var(--border); } .partner-intro { border-bottom: 0; } }
.partner-band { margin-top: 64px; }
@media (max-width: 768px) { .partner-band { margin-top: 48px; } }

/* Deuxième bloc dans une même section (cas clients, partenaire) : même écart qu'entre deux sections, sans changer de fond. */
.block-gap { margin-top: 120px; }
@media (max-width: 768px) { .block-gap { margin-top: 80px; } }

/* --- Cas clients (réparation en sous-traitance) : logo couleur nu, hauteur fixe --- */
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-logo { display: inline-flex; align-self: flex-start; height: 56px; margin-bottom: 6px; }
.case-logo img { height: 56px; width: auto; }
.case-also { color: var(--text-secondary); font-weight: 600; }
.case-what { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 600; color: var(--text); }
.case-what svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }

/* --- Accueil : raccourcis par intention sous le chapeau (mêmes entrées que le menu), puis cartes des trois pôles --- */
.hero-intents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.hero-intents a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(var(--brand-rgb), .06); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.hero-intents a:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(var(--brand-rgb), .14); }
.hero-intents .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.hero-intents .icon-tile svg { width: 18px; height: 18px; }
.hero-intents strong { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--text); }
.hero-intents strong svg { width: 14px; height: 14px; color: var(--brand); transition: transform .3s var(--ease); }
.hero-intents a:hover strong svg { transform: translateX(3px); }
.hero-2026 .hero-intents + .hero-ctas { margin-top: 28px; }
@media (max-width: 480px) { .hero-intents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pole-card { display: flex; flex-direction: column; padding: 36px 32px; }
.pole-verb { font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 20px 0 6px; }
.pole-card h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 12px; }
.pole-text { color: var(--text-secondary); font-size: .98rem; }
.pole-links { margin: 22px 0 28px; display: grid; gap: 2px; border-top: 1px solid var(--border); }
.pole-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--text); }
.pole-links a:hover { color: var(--brand); }
.pole-links svg { flex: none; width: 16px; height: 16px; color: var(--brand); }
.pole-cta { margin-top: auto; align-self: flex-start; }
.pole-card--lead { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 55%, #3B2FA8 120%); border-color: transparent; color: var(--white); position: relative; overflow: hidden; }
.pole-card--lead::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 380px 300px at 100% 0%, rgba(var(--violet-rgb), .45), transparent 70%); pointer-events: none; }
.pole-card--lead > * { position: relative; }
.pole-card--lead :is(h3, .pole-verb) { color: var(--white); }
.pole-card--lead .pole-text { color: rgba(255,255,255,.82); }
.pole-card--lead .icon-tile { background: rgba(255,255,255,.16); color: var(--white); }
.pole-card--lead .pole-links { border-color: rgba(255,255,255,.2); }
.pole-card--lead .pole-links a { color: var(--white); border-color: rgba(255,255,255,.2); }
.pole-card--lead .pole-links svg { color: var(--white); }

.pole-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pole-process-col { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pole-process-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.pole-steps { list-style: none; counter-reset: pstep; display: grid; gap: 16px; margin-bottom: 24px; }
.pole-steps li { counter-increment: pstep; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: rgba(255,255,255,.76); font-size: .95rem; line-height: 1.55; }
.pole-steps li::before { content: counter(pstep, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.35; background: linear-gradient(135deg, var(--brand-soft), #B6A4FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pole-process-col .link-arrow { margin-top: auto; color: var(--brand-soft); }
@media (max-width: 1024px) { .pole-grid, .pole-process { grid-template-columns: 1fr; } .pole-card, .pole-process-col { max-width: 720px; } }
@media (max-width: 400px) { .pole-card { padding: 28px 22px; } }

/* --- Contact : questions guidées selon le besoin (une série visible à la fois avec JavaScript) --- */
.guided { display: grid; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.guided legend { padding: 0 8px; margin-left: -8px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.guided[hidden] { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice--chip { align-items: center; padding: 8px 14px; background: var(--white); font-family: var(--font-body); font-weight: 500; font-size: .92rem; }
.field .choice--chip input { margin-top: 0; }
@media (max-width: 560px) { .guided { padding: 18px; } }

/* Rythme des héros (contrôle du 2026-10-28) : le chapeau des pages internes collait aux boutons (0 px d'écart).
   Même écart que sur l'accueil ; sous 480 px, boutons pleine largeur pour éviter deux boutons empilés de largeurs différentes. */
.page-hero .subtitle + .hero-ctas { margin-top: 32px; }
@media (max-width: 480px) {
  :is(.hero, .page-hero) .hero-ctas .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .page-hero .subtitle + .hero-ctas { margin-top: 28px; }
}

/* En-tête en mode burger (561-1080 px) : le bouton d'appel flottait au milieu, entre le logo et le burger. On le colle au burger. */
@media (max-width: 1080px) { .header .nav-links { margin-left: auto; margin-right: 12px; } }

/* En-tête d'ordinateur étroit (1081-1280 px) : avec le bouton le plus long (« Confier mes réparations »), « À propos » passait sur deux lignes à 1100 px.
   Libellés insécables et écart resserré ; mesuré par tools/check-layout.mjs à 1100 px sur la page réparation. */
.nav-links > a, .nav-dropdown-toggle { white-space: nowrap; }
@media (max-width: 1280px) { .header .nav-links { gap: 24px; } }

/* Bandeau de consentement à la mesure d'audience : discret, en bas, boutons de même poids pour accepter et refuser. */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding: 16px 20px; background: var(--dark); color: #fff; border: 1px solid var(--dark-border); border-radius: var(--radius-md); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.cookie-banner p a { color: var(--brand-soft); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn { min-width: 112px; padding: 10px 18px; font: inherit; font-size: .9rem; font-weight: 600; color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--radius-sm); cursor: pointer; transition: background .2s, border-color .2s; }
.cookie-btn:hover, .cookie-btn:focus-visible { background: rgba(255,255,255,.14); border-color: #fff; }
@media (max-width: 560px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; } .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }
