/* Visuels et parcours éditoriaux — mêmes couleurs et navigation que la V1. */
@layer components {
  [hidden] { display: none !important; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: clamp(3.2rem, 5.9vw, 6rem); max-width: 1000px; }
  .hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: 0; transition: opacity 1s; pointer-events: none; }
  .hero-film.has-frame { opacity: 1; }
  .hero-tag { top: 70px; width: 196px; }
  .film-controls { position: absolute; right: 0; bottom: 103px; display: grid; justify-items: end; gap: 9px; color: #edf2e7; }
  .film-caption { font-size: .75rem; }
  #film-toggle { display: flex; align-items: center; gap: 10px; background: #0c251d8c; border: 1px solid #ffffff55; color: white; border-radius: 30px; padding: 11px 16px; min-height: 44px; font-size: .8rem; backdrop-filter: blur(12px); }
  #film-toggle:hover { background: #0c251dc9; }
  .film-symbol { font-size: 1rem; line-height: 1; width: 16px; }
  .service-card:not(.photo) { min-height: 400px; }
  .card-image { height: 158px; flex: 0 0 158px; overflow: hidden; }
  .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
  .service-card:hover .card-image img { transform: scale(1.04); }
  .service-card:not(.photo) .card-number { margin-bottom: 15px; }
  .service-card:not(.photo) .card-body { padding: 25px; }
  .service-card:not(.photo) h3 { font-size: 1.6rem; }
  .service-card.photo { min-height: 800px; }
  .service-card p { margin-bottom: 19px; }
  .city { display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: background .2s; }
  .city:hover { background: #eaf1de; }
  a.pill:hover { background: var(--lime); }
  .symptom-section { background: #e9efdf; padding-top: 88px; }
  .symptom-tabs { display: none; border-bottom: 1px solid #c4d0b9; margin-bottom: 28px; gap: 8px; }
  .symptom-explorer.enhanced .symptom-tabs { display: flex; }
  .symptom-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 28px; min-height: 58px; color: var(--forest); background: transparent; border-bottom: 3px solid transparent; font-weight: 500; }
  .symptom-tabs button[aria-selected="true"] { border-color: var(--forest); background: #ffffff7a; }
  .symptom-tabs button:hover { background: #ffffff60; }
  .symptom-panel { display: grid; grid-template-columns: 1.03fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: white; margin-top: 25px; }
  .symptom-explorer.enhanced .symptom-panel { animation: panel-enter .35s ease-out; }
  .symptom-photo { position: relative; min-height: 460px; }
  .symptom-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
  .symptom-photo>span { position: absolute; bottom: 17px; left: 20px; border-radius: 20px; background: #0c251dba; padding: 5px 12px; color: white; font-size: .75rem; }
  .symptom-copy { padding: 46px; }
  .symptom-copy h3 { font-size: clamp(2rem, 2.7vw, 2.7rem); line-height: 1.15; }
  .symptom-copy p { color: var(--muted); margin-top: 24px; }
  .symptom-copy ul { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 24px 0 30px; padding: 0; list-style: none; font-size: .83rem; }
  .symptom-copy li { display: flex; gap: 6px; align-items: center; }
  .symptom-copy li .icon { width: 16px; color: #5c7c33; }
  .visual-guides { gap: 40px 25px; }
  .visual-guides .guide-card { border: 0; padding: 0; gap: 15px; }
  .visual-guides .guide-card h3 { font-size: 1.55rem; line-height: 1.25; }
  .visual-guides .guide-image { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16/10; width: 100%; margin: 0 0 7px; }
  .guide-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
  .guide-card:hover .guide-image img { transform: scale(1.04); }
  .visual-guides a { text-decoration: none; color: inherit; }
  .visual-guides .text-link { color: var(--forest); }
  .visual-guides .guide-card p { font-size: .95rem; margin: 0; }
  .illustrated { padding-top: 38px; padding-bottom: 50px; }
  .illustrated .breadcrumb { margin-bottom: 35px; font-size: .75rem; }
  .editorial-hero { display: grid; grid-template-columns: 1.3fr .85fr; gap: 70px; align-items: center; }
  .editorial-hero:not(:has(.editorial-visual)) { display: block; }
  .illustrated h1 { font-size: clamp(2.5rem, 3.75vw, 4rem); line-height: 1.1; }
  .page-hero h1 { hyphens: manual; }
  .illustrated .lead { font-size: 1.04rem; max-width: 630px; }
  .editorial-visual { overflow: hidden; border-radius: 18px; position: relative; aspect-ratio: 1.18; }
  .editorial-visual img { width: 100%; height: 100%; object-fit: cover; }
  .editorial-visual:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#09271bc4, transparent 55%); pointer-events: none; }
  .editorial-visual figcaption { position: absolute; bottom: 23px; left: 25px; right: 20px; z-index: 1; color: white; font-size: .9rem; }
  .editorial-visual small { display: block; font-size: .75rem; opacity: .85; margin-top: 6px; }
  .editorial-body { padding-top: 60px; }
  .answer-summary { padding: 26px 30px; background: #e9efdf; border-radius: 12px; margin: 0 0 28px; border-left: 3px solid #94ad60; }
  .answer-summary .eyebrow { margin-bottom: 12px; font-size: .75rem; color: #476033; }
  .prose .answer-summary p { margin: 0; color: #263f30; line-height: 1.8; font-size: 1.02rem; }
  .article-toc { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px 26px; margin-bottom: 40px; }
  .prose .article-toc>p { margin: 0 0 12px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--forest); }
  .article-toc ol { columns: 2; column-gap: 35px; font-size: .83rem; margin: 0; padding-left: 18px; }
  .article-toc li { margin: 5px 0; break-inside: avoid; line-height: 1.6; padding-left: 2px; }
  .article-toc a { text-decoration: none; color: var(--muted); }
  .article-toc a:hover { text-decoration: underline; color: var(--forest); }
  .prose h2[id], .local-sectors [id] { scroll-margin-top: 115px; }
  .page-faq { margin-top: 50px; }
  .page-faq .faq-list summary { font-size: 1rem; font-weight: 500; }
  .page-faq .faq-list p { margin: 0; padding-bottom: 23px; }
  .next-reading { padding: 55px 0 62px; border-top: 1px solid var(--line); background: #e9efdf; }
  .next-reading h2 { font-size: 2.55rem; margin-bottom: 32px; }
  .reading-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
  .reading-links a { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 26px; min-height: 105px; background: white; border-radius: 10px; border: 1px solid #d3ddc9; font-size: 1.05rem; line-height: 1.45; transition: transform .2s, background .2s; }
  .reading-links a:hover { background: #fafff1; transform: translateY(-3px); }
  .reading-links a>span:last-child { color: #739442; font-size: 1.5rem; }
  .local-sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
  .local-sectors>div { padding: 23px; background: white; border: 1px solid var(--line); border-radius: 12px; }
  .local-sectors h3 { margin: 0; font-size: 1.2rem; }
  .local-sectors p { margin-bottom: 0; font-size: .9rem; }
  .full-editorial .prose { width: 100%; }
  .full-editorial .prose>h2 { margin-top: 60px; }
  .full-editorial .prose>p { max-width: 850px; }
  @keyframes panel-enter { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
}
@layer responsive {
  .page-hero h1 { hyphens: manual; }
  @media (max-width: 1100px) {
    .hero-tag { display: none; }
    .film-controls { bottom: 105px; }
    .hero .lead { max-width: 530px; }
    .editorial-hero { gap: 35px; }
    .symptom-copy { padding: 35px; }
  }
  @media (max-width: 900px) {
    .visual-guides { grid-template-columns: repeat(2,1fr); }
    .film-controls { position: static; justify-items: start; margin-top: 28px; gap: 7px; }
    .hero-inner { padding-bottom: 105px; }
    .hero { min-height: 760px; }
    .hero h1 { font-size: clamp(3rem,7vw,4.6rem); }
    .symptom-tabs button { flex: 1; padding: 17px 16px; }
    .symptom-photo { min-height: 400px; }
    .symptom-copy { padding: 30px; }
    .editorial-hero { grid-template-columns: 1.1fr .8fr; }
    .illustrated h1 { font-size: 2.8rem; }
    .editorial-visual { aspect-ratio: .85; }
    .reading-links a { padding: 22px; font-size: .95rem; }
  }
  @media (max-width: 700px) {
    .visual-guides { grid-template-columns: 1fr; }
    .hero { min-height: 750px; }
    .hero-inner { padding-top: 46px; padding-bottom: 105px; }
    .hero h1 { font-size: clamp(2.65rem, 10.5vw, 4rem); line-height: 1.07; letter-spacing: -.05em; overflow-wrap: break-word; }
    .hero .lead { margin-top: 23px; }
    .hero .eyebrow { margin-bottom: 24px; }
    .hero-film { object-position: center; }
    .hero-foot { bottom: 28px; gap: 20px; align-items: flex-start; }
    .hero-foot span:first-child { max-width: 200px; align-items: flex-start; }
    .film-controls { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .film-caption { max-width: 95px; line-height: 1.4; }
    #film-toggle { font-size: .75rem; padding: 10px 13px; }
    .service-card.photo { min-height: 390px; }
    .service-card:not(.photo) { min-height: 420px; }
    .card-image { height: 180px; flex-basis: 180px; }
    .service-card:not(.photo) .card-body { padding: 24px; }
    .symptom-section { padding-top: 58px; }
    .symptom-tabs { margin-bottom: 15px; gap: 0; }
    .symptom-tabs button { flex-direction: column; gap: 6px; padding: 12px 6px; font-size: .8rem; }
    .symptom-tabs .icon { width: 21px; height: 21px; }
    .symptom-panel { grid-template-columns: 1fr; margin-top: 15px; }
    .symptom-photo { min-height: 230px; height: 230px; }
    .symptom-copy { padding: 27px; }
    .symptom-copy h3 { font-size: 1.95rem; }
    .symptom-copy .eyebrow { font-size: .75rem; letter-spacing: .08em; }
    .symptom-copy p { font-size: .95rem; margin-top: 19px; }
    .symptom-copy ul { gap: 9px 13px; margin: 22px 0; }
    .symptom-copy .button { width: 100%; padding: 14px 13px; font-size: .86rem; }
    .visual-guides { gap: 35px; }
    .visual-guides .guide-image { aspect-ratio: 16/9; }
    .illustrated { padding-top: 26px; padding-bottom: 28px; }
    .illustrated .breadcrumb { margin-bottom: 28px; }
    .editorial-hero { grid-template-columns: 1fr; gap: 30px; }
    .illustrated h1 { font-size: 2.45rem; line-height: 1.12; }
    .illustrated .lead { margin-top: 20px; font-size: 1rem; }
    .editorial-visual { aspect-ratio: 1.65; width: 100%; }
    .editorial-visual figcaption { bottom: 15px; left: 20px; font-size: .85rem; }
    .editorial-visual small { font-size: .75rem; }
    .editorial-body { padding-top: 35px; }
    .answer-summary { padding: 23px; }
    .prose .answer-summary p { font-size: .96rem; }
    .article-toc { padding: 20px 23px; }
    .article-toc ol { columns: 1; font-size: .86rem; }
    .article-toc li { margin: 8px 0; }
    .article-meta { line-height: 1.7; font-size: .77rem; margin-top: 22px; }
    .reading-links { grid-template-columns: 1fr; gap: 12px; }
    .reading-links a { min-height: 80px; font-size: 1rem; }
    .next-reading { padding: 45px 0; }
    .next-reading h2 { font-size: 2.3rem; }
    .local-sectors { grid-template-columns: 1fr; }
    .page-faq .faq-list summary { font-size: .97rem; }
    .full-editorial .prose>h2 { margin-top: 45px; }
  }
  @media (max-width: 360px) {
    .panel-top .brand-name small { display: none; }
    .mobile-panel { padding: 20px; }
    .panel-top { gap: 10px; }
    .hero h1 { font-size: 2.55rem; }
    .hero { min-height: 820px; }
    .hero-foot { font-size: .75rem; gap: 10px; }
    .symptom-copy { padding: 23px; }
    .illustrated h1 { font-size: 2.2rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .symptom-explorer.enhanced .symptom-panel { animation: none; }
    .hero-film,.card-image img,.guide-image img,.reading-links a { transition: none; }
  }
}
