/* Composants propres à La Fixerie (ne pas modifier style.css du socle). */

/* Logo officiel (SVG) */
.logo { display: block; height: 38px; width: auto; }
.header .brand { display: inline-flex; align-items: center; }
.footer .logo { height: 44px; }

/* Hero : panneau d'accroche à droite */
.hero-visual { display: flex; justify-content: center; }
.hero-panel { max-width: 380px; padding: 36px; border-radius: var(--radius-xl); background: var(--brand-dark); color: var(--white); box-shadow: 0 24px 60px rgba(var(--brand-rgb), .3); position: relative; overflow: hidden; }
.hero-panel::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow-rgb), .5), transparent 70%); }
.hero-panel .icon-tile { background: rgba(255,255,255,.1); color: var(--brand-soft); margin-bottom: 20px; }
.hero-panel-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin-bottom: 10px; }
.hero-panel p { color: rgba(255,255,255,.8); }
.hero-panel .tag { margin-top: 20px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; color: var(--brand); font-size: 15px; }
.card.is-interactive { display: flex; flex-direction: column; gap: 10px; }
.more-link { margin-top: 40px; text-align: center; }

/* Boutiques */
.shop-cards:has(.shop-card:only-child) { grid-template-columns: minmax(0, 560px); }
.shop-card { display: flex; flex-direction: column; gap: 8px; }
.shop-hint { color: var(--text-secondary); font-size: 14px; }
.shop-hours { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.shop-hours li { display: flex; justify-content: space-between; gap: 12px; }
.card-dark .shop-hint { color: rgba(255,255,255,.65); }
.card-dark .shop-hours { border-color: rgba(255,255,255,.12); }
.cta-shops { margin-top: 48px; text-align: left; }
.cta-buttons { justify-content: center; }

/* Derniers arrivages */
.avail-banner { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--brand-dark); font-size: 15px; margin-bottom: 48px; border: 1px solid rgba(111,174,91,.35); }
.arrival-group { margin-bottom: 56px; }
.arrival-group > h2 { margin-bottom: 24px; }
.arrival-card { display: flex; flex-direction: column; gap: 8px; }
.arrival-top { display: flex; justify-content: space-between; align-items: center; }
.arrival-card h3 { font-size: 1.15rem; }
.arrival-detail { color: var(--text-secondary); font-size: 14px; }
.arrival-price { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--brand-dark); }
.arrival-price span { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-secondary); margin-right: 4px; }
.arrival-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--text-secondary); }
.arrival-avail { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand); }
.arrival-cta { margin-top: 10px; width: 100%; justify-content: center; text-align: center; padding: .65rem .9rem; font-size: .88rem; }
.grade { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.grade-a { background: var(--accent-soft); color: var(--brand-dark); }
.grade-b { background: var(--brand-light); color: var(--brand-dark); }
.grade-c { background: #F3EBDD; color: #6B5320; }

/* Tarifs */
.tarif-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; padding: 10px; background: rgba(244,242,238,.92); backdrop-filter: blur(8px); border-radius: 999px; width: fit-content; }
.tarif-nav a { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--brand-dark); background: var(--white); border: 1px solid var(--border); transition: all .2s; }
.tarif-nav a:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.tarif-group { margin-bottom: 48px; }
.tarif-group-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tarif { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.tarif summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; list-style: none; }
.tarif summary::-webkit-details-marker { display: none; }
.tarif summary::after { content: '+'; font-size: 1.4rem; color: var(--brand); margin-left: auto; line-height: 1; }
.tarif[open] summary::after { content: '−'; }
.tarif-count { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-secondary); }
.tarif-rows { border-top: 1px solid var(--border); }
.tarif-rows li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 22px; font-size: 15px; border-bottom: 1px solid var(--surface); }
.tarif-rows li:last-child { border-bottom: 0; }
.tarif-rows strong { font-family: var(--font-display); color: var(--brand-dark); white-space: nowrap; }
.tarif-note { margin-top: 24px; font-size: 14px; color: var(--text-secondary); }

/* Blog et pages de contenu */
.featured-post { padding: 40px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.featured-post h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 28ch; }
.content-prose { max-width: 760px; margin-inline: auto; }
.content-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 16px; }
.content-prose h3 { margin: 32px 0 12px; }
.content-prose p { margin-bottom: 16px; color: var(--text-secondary); }
.content-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; color: var(--text-secondary); }
.content-prose li { margin-bottom: 6px; }

/* Images des articles */
.thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); background: var(--brand-light); margin-bottom: 4px; }
.card:has(.thumb) { padding-top: 16px; }
.featured-post .thumb { aspect-ratio: 21 / 9; }
.cover { max-width: 960px; margin: 0 auto 48px; }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--brand-light); }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 56px; align-items: start; }
.contact-form { display: grid; gap: 16px; padding: 32px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--brand-dark); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brand-glow); border-color: var(--brand); }

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; } /* version mobile allégée : le titre et les deux boutons suffisent */
  .tarif-nav { border-radius: var(--radius-md); }
  .tarif-rows li { padding: 12px 16px; }
  .featured-post { padding: 24px; }
}


/* --- Contact direct : bouton flottant (bureau) et barre fixe (mobile), comme sur The Repair Academy --- */
.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; }
.dc-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.dc-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--dark); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .88rem; box-shadow: 0 10px 30px rgba(27,39,28,.35); transition: transform .3s var(--ease), box-shadow .3s; }
.dc-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(27,39,28,.45); }
.dc-pill svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #0F7B45; fill: #fff; flex: none; }
.dc-bar { display: none; }
.header-rdv { display: none; }
.icon-wa { background: #0F7B45; }
.direct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.direct-card { display: flex; flex-direction: column; gap: 10px; }
.direct-card .btn { margin-top: auto; align-self: flex-start; }
.direct-card small { color: var(--text-secondary); }

/* --- Pied de page --- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 0; }
.sf-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 48px; }
.sf-brand p { margin-top: 14px; color: var(--text-secondary); max-width: 34ch; font-size: .95rem; }
.sf-brand .sf-group { font-size: .85rem; }
.sf-brand .sf-group a { text-decoration: underline; text-underline-offset: 3px; }
.sf-col h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; font-weight: 700; }
.sf-col ul { display: grid; gap: 8px; }
.sf-col li a { color: var(--text-secondary); font-size: .95rem; }
.sf-col li a:hover { color: var(--brand); }
.sf-contact p { color: var(--text-secondary); font-size: .95rem; }
.sf-hours { margin-top: 10px; font-size: .9rem; color: var(--text-secondary); }
.sf-hours span { color: var(--text); font-weight: 500; }
.sf-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; max-width: 340px; }
.sf-actions .btn { width: 100%; justify-content: center; padding: .7rem 1rem; font-size: .9rem; white-space: nowrap; }
.sf-actions .btn-primary { grid-column: 1 / -1; color: #fff; }
.sf-route { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.sf-route + .sf-route { margin-left: 18px; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-secondary); }
.sf-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sf-legal a:hover { color: var(--brand); }

/* --- Contact --- */
.contact-where .two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.venir h2 { margin-bottom: 16px; }
.venir-address { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; margin-bottom: 18px; }
.venir-address svg { flex: none; margin-top: 3px; color: var(--brand); }
.venir-hours { display: grid; gap: 8px; max-width: 360px; margin-bottom: 24px; font-size: .95rem; }
.venir-hours li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.contact-form { padding: 32px; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--brand-dark); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-glow); border-color: var(--brand); }
.field.check label { font-weight: 400; font-size: .85rem; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.field.check input { width: auto; margin-top: 3px; }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 16px; border-radius: var(--radius-sm); background: #FBEDEA; color: #8A2B1C; font-weight: 600; font-size: .92rem; }
.form-error[hidden] { display: none; }
.cta-compact { padding: 72px 0; }
.cta-compact .subtitle { margin-bottom: 28px; }

/* --- Accueil : rangée compacte des services et des atouts --- */
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .contact-where .two-col { grid-template-columns: 1fr; gap: 32px; }
  .sf-grid { grid-template-columns: 1fr; gap: 28px; }
  .sf-actions { max-width: none; }
}
@media (max-width: 768px) {
  /* Contact direct : le bouton flottant laisse la place à la barre fixe en bas de l'écran */
  .dc-float { display: none; }
  .dc-bar { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,254,253,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
  .dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: .75rem .5rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff; }
  .dc-wa { background: #0F7B45; }
  .dc-wa svg { width: 20px; height: 20px; fill: #fff; }
  .dc-tel { background: var(--dark); }
  body { padding-bottom: 72px; }
  .header-rdv { display: inline-flex; margin-left: auto; margin-right: 6px; padding: .5rem .9rem; font-size: .85rem; }
  .header-inner { gap: 0; }
  .direct-cards { grid-template-columns: 1fr; gap: 12px; }
  .direct-card { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; }
  .direct-card .icon-tile { grid-row: span 3; width: 44px; height: 44px; }
  .direct-card .btn { align-self: start; width: fit-content; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  /* Accueil : services en lignes compactes, atouts en petite grille */
  .service-list { grid-template-columns: 1fr; gap: 10px; }
  .service-list .card { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 16px; align-items: center; }
  .service-list .card .icon-tile { grid-row: span 2; width: 40px; height: 40px; }
  .service-list .card h3 { font-size: 1.05rem; }
  .service-list .card p { font-size: .88rem; line-height: 1.45; }
  .service-list .card .card-link { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillars .card { padding: 14px; gap: 6px; }
  .pillars .card .icon-tile { width: 32px; height: 32px; }
  .pillars .card h3 { font-size: .98rem; }
  .pillars .card p { font-size: .8rem; line-height: 1.4; }
  .section { padding: 64px 0; }
  .section--tight-top { padding-top: 32px; }
  .section-header { margin-bottom: 28px; }
  .cta-compact { padding: 56px 0; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .site-footer { padding-bottom: 20px; }
}

/* --- Mobile : accueil plus court, logo et en-tête propres (retour du 2026-10-17) --- */
.header .brand { flex: none; }
@media (max-width: 1080px) { .nav-links .btn { display: none; } .header-rdv { display: inline-flex; margin-left: auto; margin-right: 8px; padding: .55rem 1rem; font-size: .85rem; } }
@media (max-width: 768px) {
  .logo { height: 23px; }
  .footer .logo, .site-footer .logo { height: 40px; }
  .hero .hero-ctas { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .hero .hero-ctas .btn { padding: .8rem 1.1rem; font-size: .92rem; }
  .hero-note { font-size: 13px; margin-top: 14px; }
  .service-list .card { padding: 12px 14px; }
  .service-list .card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pillars .card { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
  .pillars .card p { display: none; }
  .pillars .card h3 { font-size: .92rem; margin: 0; }
  .pillars .card .icon-tile { flex: none; width: 30px; height: 30px; }
  .section-header .subtitle { font-size: .98rem; }
  .arrival-teaser .arrival-card:nth-child(n+4) { display: none; }
  .arrival-card { padding: 16px; gap: 6px; }
  .guides .card { padding: 14px 16px; }
  .guides .card .thumb { display: none; }
  .guides .card p:not(.card-meta) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

@media (max-width: 768px) { .dc-bar { grid-template-columns: 1.3fr 1fr; } }

/* --- Pages de contenu : atouts et étapes --- */
.points { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.points .card { padding: 22px; }
.points .card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.points .card p { font-size: .93rem; }
.steps-list { counter-reset: step; display: grid; gap: 12px; margin: 8px 0 24px; padding: 0; list-style: none; }
.steps-list li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); color: var(--text); }
.steps-list li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark); font-family: var(--font-display); font-weight: 700; }
.entites .card { padding: 24px; }
.stats-note { margin-top: 16px; font-size: .85rem; color: rgba(255,254,253,.7); }
.stats-note a { color: var(--brand-soft); text-decoration: underline; }
@media (max-width: 768px) { .points { grid-template-columns: 1fr 1fr; gap: 10px; } .points .card { padding: 14px; } .points .card p { font-size: .82rem; } .stats-row { grid-template-columns: 1fr 1fr; } .stat-item { padding: 22px 12px; } }

/* --- Photos, logos du groupe et réseaux (retour du 2026-10-17) --- */
.hero-visual { position: relative; }
.hero-art { width: 100%; max-width: 560px; border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(var(--brand-rgb), .3); aspect-ratio: 16 / 11; object-fit: cover; }
.hero-art-tag { position: absolute; left: 14px; bottom: 14px; }
.story { align-items: center; }
.story-photo { width: 100%; max-width: 420px; justify-self: end; border-radius: var(--radius-xl); aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; box-shadow: 0 18px 50px rgba(var(--brand-rgb), .22); }
.story-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-ghost-dark { color: var(--brand-dark); border-color: var(--border); }
.group-band { padding: 72px 0; }
.group-intro { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 40px; align-items: center; }
.group-logo { display: block; }
.group-logo img { width: 100%; height: auto; border-radius: 14px; }
.group-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.group-chips a { display: grid; place-items: center; background: var(--white); border-radius: var(--radius-md); padding: 10px 18px; }
.group-chips img { height: 40px; width: auto; }
.group-links a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.entite-logo { display: grid; place-items: center start; height: 56px; margin-bottom: 6px; }
.entite-logo img { max-height: 48px; max-width: 190px; width: auto; height: auto; }
.stats-light { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-light .card { text-align: center; padding: 24px 16px; }
.stats-light .stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--brand); line-height: 1.1; }
.stats-light .stat-pre { display: block; font-size: .32em; letter-spacing: 0; font-weight: 600; color: var(--text-secondary); margin-bottom: 2px; }
.stat-label { margin-top: 6px; font-size: .92rem; color: var(--text-secondary); }
.stats-note-light { color: var(--text-secondary); }
.stats-note-light a, .qualiopi-line a { text-decoration: underline; text-underline-offset: 3px; }
.qualiopi-line { display: flex; gap: 20px; align-items: center; margin-top: 24px; }
.qualiopi-line img { width: 120px; height: auto; background: var(--white); border-radius: var(--radius-sm); padding: 8px; flex: none; }
.qualiopi-line .stats-note { margin: 0; }
.founders { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 36px; align-items: start; }
.founders-photo { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; }
.founders-cards { display: grid; gap: 16px; }
.sf-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: .88rem; }
.sf-social a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.sf-social a:hover { color: var(--brand); }
.venir-social { margin-top: 18px; font-size: .9rem; color: var(--text-secondary); }
.venir-social a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .group-intro { grid-template-columns: 1fr; gap: 20px; }
  .group-logo { max-width: 120px; }
  .founders { grid-template-columns: 1fr; }
  .founders-photo { max-width: 320px; }
  .stats-light { grid-template-columns: 1fr 1fr; }
  .story-photo { justify-self: start; max-width: 320px; }
}
@media (max-width: 768px) {
  .hero-visual { display: block; margin-top: 8px; }
  .hero-art { aspect-ratio: 16 / 9; }
  .story-photo { display: none; }
  .group-band { padding: 48px 0; }
  .group-chips img { height: 32px; }
  .qualiopi-line { flex-direction: column; align-items: flex-start; }
}

/* --- Bonus Réparation QualiRépar --- */
.bonus-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.bonus-card { text-align: left; padding: 22px; display: grid; gap: 4px; align-content: start; }
.bonus-amount { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--brand); }
.bonus-card h3 { font-size: 1.05rem; margin-top: 6px; }
.bonus-seuil { font-size: .85rem; color: var(--brand-dark); font-weight: 500; }
.bonus-ex { font-size: .85rem; }
.sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px; }
.sim-result { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 8px; padding: 20px 22px; border-radius: var(--radius-md); background: var(--brand-light); }
.sim-line, .sim-total { display: flex; justify-content: space-between; gap: 16px; }
.sim-total { padding-top: 10px; border-top: 1px solid rgba(var(--brand-rgb), .25); font-size: 1.15rem; }
.sim-total strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--brand-dark); line-height: 1; }
.sim-note { font-size: .85rem; color: var(--text-secondary); }
.two-col-bonus { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.bonus-badge { display: grid; gap: 12px; padding: 28px; }
.sub-h { margin: 40px 0 16px; }
.exemples { overflow-x: auto; }
.bonus-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; font-size: .95rem; }
.bonus-table th, .bonus-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.bonus-table th { background: var(--brand-light); font-family: var(--font-display); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.bonus-table td:nth-child(n+2) { white-space: nowrap; }
@media (max-width: 1024px) { .bonus-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .two-col-bonus { grid-template-columns: 1fr; gap: 28px; } .sim { grid-template-columns: 1fr; padding: 20px; } }
@media (max-width: 768px) { .bonus-cards { grid-template-columns: 1fr 1fr; gap: 10px; } .bonus-card { padding: 14px; } .bonus-amount { font-size: 1.8rem; } .bonus-table th, .bonus-table td { padding: 10px; font-size: .85rem; } }

/* --- Bandeau QualiRépar (accueil, tarifs) --- */
.bonus-strip { padding: 0 0 8px; }
.bonus-strip-link { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 22px; border-radius: var(--radius-lg); background: var(--brand-light); border: 1px solid rgba(var(--brand-rgb), .18); color: var(--text); transition: border-color .2s, transform .2s; }
.bonus-strip-link:hover { border-color: var(--brand); transform: translateY(-1px); }
.bonus-strip-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand); color: var(--white); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.bonus-strip-text { flex: 1 1 320px; font-size: .98rem; }
.bonus-strip-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.bonus-inline { margin-bottom: 24px; }
@media (max-width: 768px) { .bonus-strip-link { padding: 12px 14px; gap: 8px 12px; } .bonus-strip-text { font-size: .88rem; flex-basis: 100%; } }

/* --- Pages de contenu : titres d'atouts sans saut de niveau, ligne de mise à jour, formulaires de devis --- */
.point-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: 6px; color: var(--text); }
.meta-line { max-width: 760px; margin: 0 auto 24px; font-size: .85rem; color: var(--text-secondary); }
.container-narrow { max-width: 760px; }
.quote { padding: 30px; display: grid; gap: 18px; }
.quote-head { display: flex; gap: 16px; align-items: center; }
.quote-head h2 { margin: 0; }
.quote-form { display: grid; gap: 14px; }
.quote-hint { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--brand-dark); font-size: .9rem; }
.quote-hint[hidden] { display: none; }
.quote-alt { font-size: .88rem; color: var(--text-secondary); }
.quote-alt a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.quote-section { padding-bottom: 0; }
@media (max-width: 768px) { .quote { padding: 20px; } }
.service-list--3 { grid-template-columns: repeat(3, 1fr); }
.service-list--3 .card { padding: 28px; }
.service-list--3 .card h3 { font-size: 1.4rem; }
.also-row { margin-top: 22px; font-size: .95rem; color: var(--text-secondary); }
.also-row a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .service-list--3 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .service-list--3 .card { padding: 14px 16px; } .service-list--3 .card h3 { font-size: 1.1rem; } .also-row { font-size: .88rem; } }

/* --- Titres de cartes sans balise de titre (hiérarchie propre pour l'audit) --- */
.bonus-label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: 6px; color: var(--text); }
.post-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--text); overflow-wrap: break-word; }
.post-title--lead { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 28ch; line-height: 1.15; letter-spacing: -.02em; }
.device-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 8px; }
.device-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); font-weight: 700; color: var(--brand-dark); transition: border-color .2s, transform .2s; }
.device-links a:hover { border-color: var(--brand); transform: translateY(-1px); }

/* --- Rythme vertical (retours du 2026-10-19, même correctif que The Repair Academy) --- */
.hero { padding: 120px 0 72px; min-height: 0; }
.section { padding: 88px 0; }
.section--tight-top { padding-top: 48px; }
.section-header { margin-bottom: 40px; }
.group-band { padding: 64px 0; }
.subtitle + .hero-ctas { margin-top: 28px; }
.bonus-strip-lead { display: block; font-size: 1.02rem; color: var(--brand-dark); }
.bonus-strip-amounts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: .9rem; color: var(--text-secondary); }
.bonus-strip-amounts strong { color: var(--brand-dark); }
.arrival-photo { width: calc(100% + 2 * var(--card-pad, 24px)); max-width: none; margin: calc(-1 * var(--card-pad, 24px)) calc(-1 * var(--card-pad, 24px)) 8px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); border-bottom: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.arrival-card { --card-pad: 28px; padding: var(--card-pad); overflow: hidden; }
.arrival-family { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
@media (max-width: 768px) {
  .hero { padding: 96px 0 40px; }
  .section { padding: 56px 0; }
  .section--tight-top { padding-top: 28px; }
  .section-header { margin-bottom: 28px; }
  .group-band { padding: 48px 0; }
  .subtitle + .hero-ctas { margin-top: 22px; }
  .bonus-strip-amounts { flex-direction: column; gap: 2px; font-size: .86rem; }
  .arrival-card { --card-pad: 16px; }
  .arrival-photo { aspect-ratio: 16 / 10; }
}

/* --- Dynamisme (2026-10-19) : transitions de page, CTA, héros au défilement, bento, chiffres, estimateur, carrousel, avis --- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.btn-primary { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); box-shadow: 0 6px 20px rgba(var(--brand-rgb), .35); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-deeper), var(--brand-dark)); box-shadow: 0 12px 30px rgba(var(--brand-rgb), .45); }
.btn-primary, .btn-white { transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.hero-visual .hero-badge { font-size: 13px; padding: 10px 14px; color: var(--brand-dark); }
.hero-visual .hero-badge svg { color: var(--brand); }
.hero-visual .hero-badge--tr { top: -14px; right: -10px; }
.hero-visual .hero-badge--bl { bottom: -14px; left: -10px; }
.hero-visual .hero-media.hero-art { aspect-ratio: 16 / 11; max-width: 560px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-art { animation: hero-tilt linear both; animation-timeline: scroll(root); animation-range: 0 70vh; transform-origin: 50% 0; }
    @keyframes hero-tilt { to { transform: perspective(1200px) rotateX(10deg) scale(.92) translateY(40px); opacity: .6; } }
  }
}

@media (min-width: 900px) {
  .bento-services { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .bento-main { grid-row: span 2; justify-content: flex-end; min-height: 340px; background: radial-gradient(circle at 85% 15%, rgba(var(--glow-rgb), .55), transparent 55%), var(--brand-dark); color: var(--white); border-color: transparent; }
  .bento-main h3 { font-size: 2rem; color: var(--white); }
  .bento-main p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 40ch; }
  .bento-main .card-link { color: var(--brand-soft); }
  .bento-main .icon-tile { background: rgba(255,255,255,.12); color: var(--brand-soft); width: 56px; height: 56px; }
}

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 10px; }
.stats-source { margin-bottom: 32px; font-size: .78rem; color: var(--text-secondary); }
.stat { padding: 8px 0 18px; border-bottom: 2px solid var(--brand-soft); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; color: var(--brand-dark); }
/* « jusqu'à » posé au-dessus du chiffre, hors du flux : les quatre chiffres restent alignés sur une même ligne */
.stat-value { position: relative; }
.stat-pre { position: absolute; left: 0; bottom: 100%; display: block; margin: 0 0 2px; line-height: 1.2; font-size: .32em; letter-spacing: 0; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.stat-label { margin-top: 6px; font-size: .95rem; color: var(--text-secondary); }
@media (max-width: 768px) { .stats-band { grid-template-columns: 1fr 1fr; } .chip span { padding: 7px 11px; font-size: .84rem; } .stat-pre { font-size: .5em; } .stats-band { gap: 10px; margin-bottom: 18px; } .stat-value { font-size: 1.45rem; } .stat-label { font-size: .78rem; line-height: 1.35; } }

.estim { display: grid; grid-template-columns: 1fr 360px; gap: 20px 28px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(var(--brand-rgb), .08); }
.estim-steps { display: grid; gap: 22px; }
.estim-step { border: 0; padding: 0; margin: 0; min-width: 0; transition: opacity .2s; }
.estim-step:disabled { opacity: .45; }
.estim-step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.estim-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-dark); color: var(--white); font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-size: .92rem; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--brand); }
.chip input:checked + span { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--brand-glow); outline-offset: 2px; }
.estim-wait { font-size: .9rem; color: var(--text-secondary); }
.estim select { width: 100%; max-width: 480px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); font: inherit; }
.estim-result { align-self: start; position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-lg); background: var(--brand-dark); color: var(--white); }
.estim-result[hidden] { display: none; }
.estim-label { font-size: .88rem; color: rgba(255,255,255,.75); }
.estim-price span { display: block; margin: 6px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1.05; }
.estim-price small { display: block; font-size: .9rem; color: var(--brand-soft); }
.estim-note { margin: 12px 0 16px; font-size: .8rem; color: rgba(255,255,255,.7); }
.estim-result .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.4); }
.estim-assist { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); }
.estim-assist > label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.estim-assist-row { display: flex; gap: 12px; align-items: stretch; }
.estim-assist textarea { flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); font: inherit; resize: vertical; min-height: 52px; }
.estim-assist-msg { margin-top: 10px; font-size: .95rem; color: var(--brand-dark); min-height: 1.2em; }
.estim-assist-legal { margin-top: 4px; font-size: .75rem; color: var(--text-secondary); }
@media (max-width: 900px) {
  .estim { grid-template-columns: 1fr; padding: 18px; }
  .estim-result { position: static; }
  .estim-assist-row { flex-direction: column; }
}

@media (max-width: 768px) {
  .arrival-teaser { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .arrival-teaser::-webkit-scrollbar { display: none; }
  .arrival-teaser .arrival-card, .arrival-teaser .arrival-card:nth-child(n+4) { display: flex; flex: 0 0 78%; scroll-snap-align: start; }
  .hero-visual .hero-badge--tr { display: none; }
  .hero-visual .hero-badge--bl { bottom: 10px; left: 10px; }
}

.reviews-band { padding: 0 0 72px; overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 20px; margin-bottom: 20px; text-align: center; }
.reviews-score { font-size: 1rem; }
.reviews-carousel { position: relative; display: grid; max-width: 760px; margin-inline: auto; }
.review { position: relative; grid-area: 1 / 1; margin: 0; padding: 32px 36px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--white); box-shadow: 0 20px 50px rgba(var(--brand-rgb), .08); opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.review.is-active { opacity: 1; transform: none; pointer-events: auto; }
.review::before { content: '“'; position: absolute; top: 6px; right: 28px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--brand-soft); }
.review-stars { color: #C9A227; letter-spacing: 3px; font-size: 1.15rem; margin-bottom: 10px; }
.review-text { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.review-text p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review-text p { -webkit-line-clamp: unset; display: block; }
.review-more { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .9rem; color: var(--text-secondary); }
.review-author strong { color: var(--text); }
.review-initial { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-dark); color: var(--white); font-weight: 700; }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.reviews-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); font-size: 1.4rem; line-height: 1; color: var(--brand-dark); cursor: pointer; transition: border-color .2s, transform .2s; }
.reviews-arrow:hover { border-color: var(--brand); transform: scale(1.06); }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--brand-soft); cursor: pointer; transition: width .3s, background .3s; }
.reviews-dots button.is-active { width: 26px; background: var(--brand-dark); }
@media (max-width: 768px) { .review { padding: 22px 20px; } .review-text { font-size: .98rem; } .review::before { font-size: 4.5rem; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .review { transition: none; transform: none; } }

/* --- Retours du 2026-10-19 (2) : Blagnac et avis dès le premier écran, QualiRépar expliqué, vignettes, respiration --- */
.hero-place { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--brand-light); color: var(--brand-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hero-place svg { color: var(--brand); }
.hero-proof { display: flex; align-items: center; gap: 6px; width: fit-content; margin-bottom: 18px; font-size: .98rem; color: var(--text); text-decoration: none; }
.hero-proof:hover strong { text-decoration: underline; }
.hero-stars { color: #C9A227; letter-spacing: 2px; font-size: 1.1rem; }
.hero-visual .hero-photo { aspect-ratio: 4 / 5; max-height: 560px; width: auto; max-width: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 768px) { .hero-visual .hero-photo { aspect-ratio: 4 / 3; width: 100%; max-height: none; object-position: 50% 62%; } }
.bonus-strip-why { flex: 1 1 100%; order: 3; font-size: .85rem; color: var(--text-secondary); }
.section { padding: 104px 0; }
.section--tight-top { padding-top: 56px; }
.section-header { margin-bottom: 52px; }
.service-list, .pillars, .grid { gap: 24px; }
.card p { line-height: 1.6; }
.estim { padding: 36px; gap: 28px 36px; }
.estim-steps { gap: 28px; }
.chips { gap: 10px; }
@media (max-width: 768px) {
  .hero-place { font-size: .95rem; }
  .section { padding: 68px 0; }
  .section--tight-top { padding-top: 36px; }
  .section-header { margin-bottom: 32px; }
  .service-list, .pillars, .grid { gap: 14px; }
  .estim { padding: 20px; }
  .guides .card { display: grid; grid-template-columns: 96px 1fr; gap: 4px 14px; align-items: start; }
  .guides .card .thumb { display: block; grid-row: span 4; width: 96px; aspect-ratio: 1; margin: 0; }
  .bonus-strip-why { font-size: .8rem; }
}

/* Maillage du groupe : bandeau de pied de page, cartes des entités, ponts contextuels */
.gfb { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 18px 0; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-secondary); }
.gfb-lead { display: flex; align-items: center; gap: 14px; margin: 0; max-width: none; }
.gfb-logo { display: block; }
.gfb-logo img { display: block; height: 36px; width: auto; border-radius: 22%; }
.gfb-lead a:not(.gfb-logo), .gfb-list a { text-decoration: underline; text-underline-offset: 3px; }
.gfb-list { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.gfb-more { font-weight: 700; color: var(--brand); }
.gcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.gcard-logo { display: flex; align-items: center; height: 56px; }
.gcard-logo img { max-height: 44px; max-width: 190px; width: auto; height: auto; }
.gcard-word { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--brand-dark); }
.gcard-since { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.gcard-role { margin: 0; }
.gcard-foot { margin-top: auto; padding-top: 6px; }
.gcard.is-self { background: var(--accent-soft); border-color: var(--accent); }
.gcard-here { font-weight: 700; color: var(--brand-dark); }
.group-cards--compact .gcard-role { font-size: .9rem; }
.gb-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.gb-grid--2 { grid-template-columns: 1fr 1fr; }
.gb-card h3 { font-size: 1.2rem; }
.gb-card .card-link { margin-top: auto; }
.group-page-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 768px) {
  .gb-grid--2 { grid-template-columns: 1fr; }
  .gfb { padding: 14px 0; }
  .gcard { padding: 16px; }
}
.group-intro { margin-bottom: 32px; }
.group-band .group-intro { margin-bottom: 0; }
.group-links { margin-top: 18px; }
.section-dark .group-links a { color: var(--white); }

/* Barre d'infos du haut de page (audit du 24/10/2026) : téléphone, e-mail, horaires et adresse visibles sur chaque page, repliée dès qu'on défile.
   Statique à toutes les largeurs (un défilement laissait ces informations hors de vue : test 6 de la recette).
   Plus de 960 px : une ligne, téléphone, e-mail et horaires à gauche, adresse à droite. De 641 à 960 px : téléphone, e-mail et horaires, puis l'adresse. 640 px et moins : téléphone et e-mail, puis horaires, puis adresse.
   Elle vit dans l'en-tête fixe : le corps de page est décalé de sa hauteur pour que rien ne passe dessous. Le repli déplace l'en-tête (transform), sans recalcul de mise en page. */
:root { --bar-h: 38px; }
body { padding-top: var(--bar-h); }
.header { transition: transform .3s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.header.scrolled { transform: translateY(calc(var(--bar-h) * -1)); }
.header:has(.info-bar :focus-visible) { transform: none; }
.info-bar { background: var(--dark); color: rgba(255,255,255,.92); font-size: .82rem; line-height: 1.3; }
.info-bar-inner { display: flex; align-items: center; gap: 20px; height: var(--bar-h); }
.info-bar p { margin: 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.info-bar a { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .info-bar a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.info-bar .info-email { font-weight: 400; letter-spacing: .02em; }
/* Une seule ligne de 38 px à toutes les largeurs : téléphone fixe à gauche, le reste défile. Sur grand écran l'e-mail est fixe aussi ; en dessous il entre dans le défilement (pas la place). */
.info-ticker { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.info-group { display: flex; flex: none; align-items: center; justify-content: space-around; gap: 48px; min-width: 100%; padding-right: 48px; box-sizing: border-box; animation: info-scroll 34s linear infinite; }
.info-ticker:hover .info-group, .info-ticker:active .info-group, .info-bar:focus-within .info-group { animation-play-state: paused; }
@keyframes info-scroll { to { transform: translateX(-100%); } }
@media (min-width: 1100px) { .info-bar .info-email--slide { display: none; } }
@media not all and (min-width: 1100px) { .info-bar .info-email--fixed { display: none; } }
@media (max-width: 768px) { .info-group { animation-duration: 30s; } }
@media (max-width: 350px) { .info-phone { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) {
  .header { transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
  .info-ticker { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .info-ticker::-webkit-scrollbar { display: none; }
  .info-group { animation: none; min-width: 0; }
  .info-group + .info-group { display: none; }
}
.sf-phone { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.sf-email { font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.venir-email { display: flex; align-items: center; gap: 8px; margin: 10px 0 16px; font-weight: 500; }
.venir-email a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.direct-phone { font-size: 1.2rem; color: var(--text); }

/* Marque (audit du 24/10/2026) : logo La Fixerie et la mention « Une marque de The Repair Group » dessous (le logo du groupe a été retiré de l'en-tête à la demande de l'utilisateur, 2026-11-02). */
.brand-block { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 3px; margin-right: 10px; }
.brand-row { display: flex; align-items: center; gap: 10px; }
.brand-note { margin: 0; font-size: 11px; line-height: 1.2; color: var(--text-secondary); white-space: nowrap; }
.note-short { display: none; }

/* « Devis gratuit » est plus long que l'ancien « RDV », et la marque du groupe s'ajoute au logo : l'en-tête mobile est resserré pour que le menu reste à l'écran. */
@media (max-width: 470px) {
  .header .brand .logo { height: 28px; width: auto; }
  .header-rdv { padding: .5rem .75rem; font-size: .8rem; margin-right: 2px; }
  .brand-row { gap: 6px; }
  .brand-note { font-size: 10px; }
  .note-long { display: none; }
  .note-short { display: inline; }
}
@media (max-width: 365px) {
  .header .brand .logo { height: 24px; }
  .header .container { padding-inline: 16px; }
  .brand-block { margin-right: 6px; }
  .header-rdv { padding: .4rem .5rem; font-size: .74rem; margin-right: 0; }
  .brand-note { font-size: 9px; }
}

/* Contrast (audit P2, WCAG AA): the three colour pairs axe still flagged once animations had settled. */
.card-meta { color: #3d7a2a; }
.section-dark .eyebrow { color: var(--brand-soft); }
.section-dark .stats-note a { color: var(--brand-soft); }

/* Deux colonnes : de l'air au-dessus de la ligne du bas pour que « jusqu'à » ne touche pas le filet de la rangée précédente */
@media (max-width: 768px) { .stats-band { row-gap: 26px; } }

/* Menu de l'audit (6 entrées) : jamais de retour à la ligne, espacement resserré juste au-dessus du seuil mobile (1080 px) */
.nav-links a, .nav-dropdown-toggle { white-space: nowrap; }
@media (max-width: 1240px) { .nav-links { gap: 20px; } }

/* Titre de l'accueil plus long (promesse de l'audit : réparation, dépannage informatique et reconditionné) : un cran plus petit pour tenir en 4 lignes et garder les boutons dans le premier écran */
@media (min-width: 769px) { .hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.6rem); } }

/* Cartes de besoins (accueil, Informatique, Nos services) : le texte s'affiche en entier sur téléphone, plus de coupure en pleine phrase */
@media (max-width: 768px) { .service-list--3 .card p, .service-list--4 .card p { display: block; overflow: visible; -webkit-line-clamp: unset; } }

/* Cibles tactiles (audit : « taille des boutons », WCAG 2.5.8) : au toucher, les petits contrôles atteignent 44 px sans changer leur apparence (zone cliquable agrandie par un pseudo-élément) */
@media (pointer: coarse) {
  .menu-toggle { min-width: 44px; min-height: 44px; }
  .reviews-arrow { width: 44px; height: 44px; }
  .reviews-dots { gap: 12px; }
  .reviews-dots button, .review-more { position: relative; }
  .reviews-dots button::after { content: ''; position: absolute; inset: -18px -6px; }
  .review-more::after { content: ''; position: absolute; inset: -10px -8px; }
  .tarif-nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* === Ruban vert (demande du 2026-10-28, hors audit) : décoratif, jamais derrière du texte, un seul vert, tracé par Ribbon.astro === */
:root { --ribbon: #A1DC7E; --ribbon-ease: cubic-bezier(0.23, 1, 0.32, 1); }
.ribbon { position: absolute; pointer-events: none; overflow: visible; }
.ribbon-path { fill: none; stroke: var(--ribbon); stroke-width: 38; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* Accueil : derrière la photo, plus grand qu'elle pour que la boucle dépasse */
.ribbon-frame { position: relative; display: flex; max-width: 100%; }
.ribbon-frame > img { position: relative; z-index: 1; }
.ribbon--hero { z-index: 0; left: 50%; top: 50%; width: 150%; height: 130%; transform: translate(-50%, -50%); will-change: transform; }
.hero-visual .hero-badge { z-index: 2; }
/* Pages intérieures : à côté du sous-titre et des boutons (jamais du titre), entre par le bord droit de l'écran et ressort à droite */
.ribbon-host { position: relative; }
.ribbon-host > :not(.ribbon) { position: relative; z-index: 1; }
.ribbon--page { z-index: 0; right: calc(50% - 50vw); top: 50%; transform: translate(26%, -50%); width: clamp(300px, 25vw, 420px); height: auto; }
.ribbon--page .ribbon-path { stroke-width: 30; }
/* Bande finale sombre : fragment dans le coin bas droit */
.ribbon--cta { z-index: 0; right: -30px; bottom: -40px; width: clamp(220px, 24vw, 400px); height: auto; }
.ribbon--cta .ribbon-path { stroke-width: 30; }
@media (max-width: 1199px) { .ribbon--page { display: none; } }
/* Entre 521 et 1279 px les quatre boutons de la bande occupent presque toute la largeur : pas de fragment ; il reste sur téléphone (boutons empilés) et au-delà de 1280 px */
@media (min-width: 521px) and (max-width: 1279px) { .ribbon--cta { display: none; } }
/* Téléphone : pas de ruban dans le héros d'accueil (photo petite, texte juste au-dessus), fragment de la bande plus petit */
@media (max-width: 768px) { .ribbon--hero { display: none; } .ribbon--cta { width: min(24vw, 120px); right: -14px; bottom: -52px; } }
/* Animation : sans JavaScript (classe rb-js absente) ou avec « réduire les animations », les rubans sont dessinés d'emblée et ne bougent pas */
@media (prefers-reduced-motion: no-preference) {
  /* Dessin une seule fois, démarrage rapide puis ralentissement. Accueil : après l'arrivée du texte ; autres : quand le ruban entre à l'écran (fx.js) */
  .rb-js .ribbon--hero .ribbon-path { stroke-dashoffset: 1; animation: ribbon-draw 1.2s var(--ribbon-ease) .35s forwards; }
  .rb-js .ribbon--cta .ribbon-path, .rb-js .ribbon--page .ribbon-path { stroke-dashoffset: 1; }
  .rb-js .ribbon--cta.is-drawn .ribbon-path, .rb-js .ribbon--page.is-drawn .ribbon-path { animation: ribbon-draw 1.1s var(--ribbon-ease) .15s forwards; }
}
/* Un peu d'animation : flottement très lent du seul ruban de l'accueil (transform seulement), en pause hors écran.
   Réservé aux appareils à souris : mesuré avec un processeur ralenti 6 fois, le ruban fixe ne coûte rien (57 images/s) mais le flottement tombait à 8-16 images/s ; téléphones et tablettes gardent donc le ruban fixe. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .rb-js .ribbon--hero { animation: ribbon-float 10s ease-in-out 1.6s infinite alternate; }
  .rb-js .ribbon--hero.is-offscreen { animation-play-state: paused; }
}
@keyframes ribbon-draw { to { stroke-dashoffset: 0; } }
@keyframes ribbon-float { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, calc(-50% - 7px)) rotate(.9deg); } }

/* Bandeau de consentement à la mesure d'audience. Carte sombre aux jetons du site, en bas à gauche (le bouton de contact flottant est à droite), au-dessus de la barre de contact sur mobile.
   Boutons de même poids pour accepter et refuser (CNIL). Apparition une seule fois par visiteur : fondu et légère montée avec la courbe du site ; rien d'autre ne bouge. */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 9000; width: calc(100% - 40px); max-width: 560px; 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(27,39,28,.35); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.cookie-banner[hidden] { display: none; }
@starting-style { .cookie-banner { opacity: 0; transform: translateY(8px); } }
.cookie-banner p { flex: 1 1 260px; margin: 0; font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.9); }
.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: .7rem 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.55); border-radius: var(--radius-sm); cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); }
.cookie-btn:active { transform: scale(.97); }
.cookie-btn:focus-visible, .cookie-banner p a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cookie-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; } }
@media (max-width: 768px) { .cookie-banner { left: 10px; right: 10px; width: auto; max-width: none; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; } .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: opacity .22s linear; } @starting-style { .cookie-banner { transform: none; } } .cookie-btn:active { transform: none; } }
/* Le bouton de contact flottant (bas à droite) couvrait la fin des liens légaux quand on arrive en bas de page : le pied de page lui laisse la place (sur mobile, c'est le padding du body). */
@media (min-width: 769px) { .site-footer { padding-bottom: 92px; } }
