/* Tandem — styles des pages intérieures (chargés après styles.css) */

/* ---------- Liens ---------- */
.more { margin-top: 48px; display: flex; justify-content: center; }
.text-link { display: inline-block; margin-top: 28px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: opacity 0.3s; }
.text-link:hover { opacity: 0.7; }
.text-link.dark-link { color: var(--violet); }

/* ---------- Bandeau des pages ---------- */
.page-hero { background: var(--violet); color: #fff; padding: clamp(140px, 18vw, 200px) 0 clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.page-hero .crumb { color: var(--lime); margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(48px, 8.5vw, 120px); letter-spacing: -0.045em; line-height: 0.92; max-width: 14ch; }
.page-hero h1 .hl { color: var(--lime); }
.page-hero .lead { margin-top: 28px; max-width: 620px; font-size: clamp(17px, 1.7vw, 21px); color: rgba(255, 255, 255, 0.85); }
.page-hero .rings { position: absolute; right: -4vw; bottom: -10vw; width: 44vw; max-width: 620px; opacity: 0.22; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chips a { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); transition: background 0.3s, color 0.3s; }
.chips a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ---------- Fiches d'offres ---------- */
.offer-detail { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 88px); padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.offer-detail:first-child { border-top: 0; }
.od-meta { position: sticky; top: 110px; align-self: start; }
.od-meta .label { color: var(--violet); }
.od-meta h2 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 14px; }
.facts { margin: 28px 0 0; padding: 0; display: grid; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.od-body > p:first-child { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--ink); }
.od-body h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 40px 0 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line); }
.flow li::before { content: "0" counter(f); font-family: var(--f-mono); font-size: 13px; color: var(--violet); padding-top: 3px; }
.flow strong { display: block; }
.callout { margin-top: 36px; padding: 22px 24px; border-radius: 14px; background: var(--paper-2); border-left: 4px solid var(--violet); }
.offer-detail.feature { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); border: 0; margin: 24px 0; }
.offer-detail.feature .od-meta .label { color: var(--lime); }
.offer-detail.feature .od-body > p:first-child { color: var(--paper); }
.offer-detail.feature .facts div, .offer-detail.feature .flow li { border-color: var(--line-light); }
.offer-detail.feature .facts dt, .offer-detail.feature .od-body h3 { color: rgba(245, 242, 236, 0.55); }
.offer-detail.feature .flow li::before { color: var(--lime); }
.offer-detail.feature .callout { background: rgba(255, 255, 255, 0.06); border-color: var(--lime); }
.offer-detail.feature + .offer-detail { border-top: 0; }

/* ---------- Ligne du temps (méthode) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--violet), var(--lime)); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr 1fr; gap: 28px; padding: 26px 0; align-items: start; }
.timeline .dot { width: 64px; height: 64px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 22px; position: relative; z-index: 1; }
.timeline li:last-child .dot { background: var(--lime); color: var(--ink); }
.timeline h3 { font-size: clamp(22px, 2.4vw, 30px); padding-top: 14px; }
.timeline .when { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-top: 8px; }
.timeline p { color: var(--ink-2); padding-top: 14px; }

/* ---------- Départements ---------- */
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dept-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); scroll-margin-top: 90px; transition: transform 0.5s var(--ease), border-color 0.4s; }
.dept-card:hover { transform: translateY(-4px); border-color: var(--violet); }
.dept-card .label { color: var(--violet); }
.dept-card h3 { font-size: clamp(26px, 3vw, 36px); }
.dept-card .pain { color: var(--ink-2); }
.dept-card ul { list-style: none; margin: 4px 0 0; padding: 0; }
.dept-card li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.dept-card li::before { content: "→"; position: absolute; left: 0; color: var(--violet); }
.dept-card .eg { margin-top: auto; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.6; background: var(--lime); color: var(--ink); padding: 14px 16px; border-radius: 12px; }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--radius); background: radial-gradient(circle at 30% 25%, #7c62ff, var(--violet) 55%, var(--violet-deep)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; overflow: hidden; }
.portrait .ph { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.portrait .name { font-family: var(--f-display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; margin-top: 6px; }
.portrait svg { position: absolute; top: 14%; left: 50%; width: 70%; transform: translateX(-50%); opacity: 0.35; }
.prose p { font-size: clamp(17px, 1.6vw, 19px); margin-bottom: 20px; color: var(--ink-2); }
.prose p.big { font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); font-weight: 600; }
.prose h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 48px 0 20px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255, 255, 255, 0.03); }
.team-card .label { color: var(--lime); }
.team-card h3 { margin-top: 12px; font-size: 24px; }
.team-card p { margin-top: 10px; color: rgba(245, 242, 236, 0.7); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 61, 245, 0.15); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { margin: 0; font-family: var(--f-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: all 0.2s; }
.pills input:checked + span { background: var(--violet); color: #fff; border-color: var(--violet); }
.pills input:focus-visible + span { box-shadow: 0 0 0 4px rgba(91, 61, 245, 0.25); }
.form button { border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: var(--lime); font-weight: 500; }
.side-card { position: sticky; top: 110px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); }
.side-card .label { color: var(--lime); }
.side-card h3 { margin-top: 14px; }
.side-card ol { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: s; }
.side-card li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-light); color: rgba(245, 242, 236, 0.8); font-size: 15px; }
.side-card li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.side-card .mail { display: block; margin-top: 22px; color: var(--lime); text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--violet); font-size: 22px; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 720px; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .offer-detail, .about-grid, .contact-grid, .dept-grid { grid-template-columns: 1fr; }
  .od-meta, .side-card { position: static; }
  .portrait { position: relative; top: auto; }
  .portrait { max-width: 360px; width: 100%; margin-inline: auto; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 18px; }
  .timeline li p { grid-column: 2; padding-top: 0; }
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .checks, .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dept-card:hover { transform: none; }
}

/* FAQ sur fond sombre */
.dark .faq details { border-color: var(--line-light); }
.dark .faq details p { color: rgba(245, 242, 236, 0.72); }
.dark .faq summary::after { color: var(--lime); }

/* ---------- Menu mobile ---------- */
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.nav.open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav .nav-links {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
    padding: 96px var(--gutter) 40px;
    background: var(--violet); color: #fff;
    font-family: var(--f-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav .nav-links li:not(.keep) { display: block; }
  .nav .nav-links a { opacity: 1; }
  .nav .nav-links a[aria-current="page"] { color: var(--lime); }
  .nav .nav-links .lang { font-size: 16px; margin-top: 12px; }
  .nav .nav-links .btn { display: inline-flex; font-family: var(--f-body); font-size: 16px; letter-spacing: 0; margin-top: 8px; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav.open { color: #fff; }
  .nav.open .logo { position: relative; z-index: 60; }
  .nav.open .logo .wheel-b { stroke: var(--lime); }
  .nav.open.scrolled { background: transparent; border-color: transparent; backdrop-filter: none; }
  .nav.open.scrolled .btn-lime { background: var(--lime); color: var(--ink); }
}

/* ---------- Web + mobile : vitrine d'appareils ---------- */
.page-hero.has-visual .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.devices { position: relative; height: 380px; }
.browser { position: absolute; left: 0; top: 10px; width: 88%; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px rgba(20, 8, 90, 0.4); overflow: hidden; animation: bob 6s ease-in-out infinite; }
.browser .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #ece9f8; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c3ea; }
.browser .bar span { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: #fff; font-family: var(--f-mono); font-size: 9px; color: var(--muted); padding: 2px 8px; }
.screen { background: var(--violet); padding: 26px 22px 30px; color: #fff; }
.screen .l { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.9); margin-bottom: 9px; }
.screen .l.big { height: 22px; width: 70%; }
.screen .l.big.hl { background: var(--lime); width: 52%; }
.screen .l.sm { height: 7px; width: 80%; background: rgba(255, 255, 255, 0.45); }
.screen .pill { display: inline-block; margin-top: 14px; width: 92px; height: 22px; border-radius: 999px; background: var(--lime); }
.screen .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.screen .cards b { height: 52px; border-radius: 8px; background: rgba(255, 255, 255, 0.14); }
.phone { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: var(--ink); padding: 8px; box-shadow: 0 30px 60px rgba(20, 8, 90, 0.5); animation: bob 6s ease-in-out infinite; animation-delay: -3s; }
.phone .screen { height: 100%; border-radius: 19px; padding: 22px 12px; }
.phone .screen .l.big { height: 16px; }
.phone .notch { position: absolute; top: 12px; left: 50%; width: 34%; height: 6px; transform: translateX(-50%); border-radius: 6px; background: var(--ink); z-index: 1; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-box { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat-box .v { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; color: var(--violet); }
.stat-box .k { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.case-band { margin-top: 16px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-band .label { color: var(--lime); }
.case-band h3 { margin-top: 12px; font-size: clamp(24px, 2.8vw, 34px); }
.case-band ul { list-style: none; margin: 0; padding: 0; }
.case-band li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line-light); position: relative; color: rgba(245, 242, 236, 0.85); font-size: 16px; }
.case-band li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

/* Bandeau web + mobile sur l'accueil */
.web-teaser { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius); background: var(--lime); text-decoration: none; transition: transform 0.5s var(--ease); }
.web-teaser:hover { transform: translateY(-4px); }
.web-teaser .label { color: var(--ink); opacity: 0.7; }
.web-teaser h3 { margin-top: 6px; }
.web-teaser .go { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

@media (max-width: 960px) {
  .page-hero.has-visual .wrap { grid-template-columns: 1fr; }
  .devices { height: 300px; max-width: 460px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .case-band { grid-template-columns: 1fr; }
}

/* Portrait avec photo */
.portrait.has-photo { padding: 0; background: var(--ink); }
.portrait.has-photo picture, .portrait.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 17, 21, 0.75), transparent 45%); }
.portrait.has-photo .ph, .portrait.has-photo .name { position: relative; z-index: 1; padding: 0 28px; }
.portrait.has-photo .name { padding-bottom: 26px; font-size: 28px; }

/* Menu : pas de retour à la ligne, espacement réduit sur écrans moyens */
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 961px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .nav .btn { padding: 9px 14px; }
}

/* Booking (Google Agenda embed) */
.booking { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(15, 17, 21, 0.35); }
.booking iframe { display: block; width: 100%; height: 760px; border: 0; }
.section.soft { background: #ebe6dc; }
.section.soft .form { max-width: 920px; }
@media (max-width: 960px) { .booking iframe { height: 900px; } }
@media (max-width: 960px) {
  .side-card .mail { padding: 10px 0; }
}

/* ---------- Pages par secteur ---------- */
.crumb a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pain-list li { position: relative; padding: 24px 24px 24px 60px; background: #fff; border-radius: var(--radius); font-size: 18px; line-height: 1.45; }
.pain-list li::before { content: "✕"; position: absolute; left: 22px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 12px; }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.agent-card { border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.agent-card .label { color: var(--lime); }
.agent-card h3 { margin-top: 12px; }
.agent-card p { margin-top: 10px; color: rgba(245, 242, 236, 0.8); }
.agent-card .human { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: 14px; }
.agent-card .human strong { color: var(--lime); font-weight: 600; }
.payback .source { font-size: 13px !important; color: rgba(15, 17, 21, 0.7); }
.payback .source a { color: inherit; }
.sector-links { margin-top: clamp(40px, 6vw, 64px); }
.sector-links > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sector-links a { font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); transition: background 0.3s, color 0.3s; }
.sector-links a:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sector-card { display: block; background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color 0.3s, transform 0.3s; }
.sector-card:hover { border-color: var(--violet); transform: translateY(-3px); }
.sector-card .label { color: var(--violet); }
.sector-card h3 { margin-top: 12px; }
.sector-card p { margin-top: 10px; color: var(--ink-2); }
.sector-card .eg { font-family: var(--f-mono); font-size: 13px; color: var(--ink); }
.sector-more { margin-top: 36px; font-size: 18px; max-width: 720px; }
@media (max-width: 960px) {
  .pain-list, .agent-grid, .sector-grid { grid-template-columns: 1fr; }
}
.sectors-home { padding-top: 0; }
.sectors-home .sector-links { margin-top: 0; }
.sector-links a.all { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Cartes cliquables (industries, départements) : toute la carte est un lien, une flèche sert d'indice */
.dept-card:has(.card-link), .sector-card { position: relative; cursor: pointer; }
.dept-card .card-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.dept-card .card-link:focus-visible, .sector-card:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.dept-card:has(.card-link)::after, .sector-card::after {
  content: "→"; position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; color: var(--ink); border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.dept-card:has(.card-link):hover::after, .sector-card:hover::after { background: var(--violet); color: #fff; border-color: var(--violet); transform: translateX(3px); }
.dept-card:has(.card-link) .label, .sector-card .label { padding-right: 52px; }

/* Liens vers les offres : marches de l'échelle, cartes d'offres, étapes de la méthode */
a.step { color: inherit; text-decoration: none; cursor: pointer; }
a.step:hover { border-color: var(--lime); background: rgba(212, 255, 79, 0.08); }
a.step:hover .offer { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.offer-card:has(.card-link), .timeline li:has(.card-link) { position: relative; cursor: pointer; }
.offer-card .card-link, .timeline li .card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.offer-card:has(.card-link) { transition: transform 0.4s var(--ease), border-color 0.3s; }
.offer-card:has(.card-link):hover { transform: translateY(-4px); }
.timeline li:has(.card-link):hover h3, .timeline li:has(.card-link):hover .when { color: var(--violet); }
.cross-teaser { margin-top: clamp(32px, 5vw, 56px); background: var(--ink); color: var(--paper); }
.cross-teaser .label { color: var(--lime); opacity: 1; }
.cross-teaser .go { color: var(--lime); }

.sector-card .card-visual { display: block; width: calc(100% + 2 * clamp(24px, 3vw, 34px)); max-width: none; height: auto; aspect-ratio: 1200 / 670; object-fit: cover;
  margin: calc(-1 * clamp(24px, 3vw, 34px)) calc(-1 * clamp(24px, 3vw, 34px)) 18px; border-radius: var(--radius) var(--radius) 0 0; background: #f1ece2; }
.sector-card { overflow: hidden; }
.sector-card:has(.card-visual)::after { top: 14px; right: 14px; background: #fff; }

/* Bandeau avec illustration */
.page-hero.has-visual .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.page-hero.has-visual h1 { font-size: clamp(40px, 5.2vw, 76px); }
.page-hero.has-visual .rings { opacity: 0.35; }
.hero-visual { margin: 0; position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; background: #f1ece2;
  box-shadow: 0 30px 60px -30px rgba(15, 17, 21, 0.55); transform: rotate(1.2deg); }
.hero-visual img { display: block; width: 100%; height: auto; }
@media (max-width: 960px) {
  .page-hero.has-visual .wrap { grid-template-columns: 1fr; }
  .hero-visual { transform: none; max-width: 560px; }
}
