/*
 * Paw Dee Dark — feuille du theme.
 *
 * ATTENTION : la partie 01 est le GOLDEN MASTER, copie telle quelle depuis
 * PAWDEE-DARK-2026-11-30/styles.css, le prototype valide. Ne pas la
 * reecrire, ne pas la "nettoyer", ne pas la reorganiser : toute retouche
 * ici est un ecart de fidelite avec le design valide. La seule
 * modification faite a la copie est la suppression de son @import de
 * polices, que inc/enqueue.php met desormais en file d'attente — un
 * @import serialise le telechargement derriere le CSS et retarde le
 * premier rendu.
 *
 * La partie 02, en fin de fichier, ajoute ce que le prototype ne couvrait
 * pas : il ne contenait que la home. Article, archives, pagination,
 * recherche, 404 et pages legales n'y existaient pas. Ces regles sont
 * construites avec les memes jetons et les memes composants, a intensite
 * decorative reduite.
 */

/* =========================================================================
   01. GOLDEN MASTER — copie conforme du prototype valide
   ========================================================================= */

 :root {
  --bg: #131316;
  --bg-deep: #0B0B0D;
  --surface: #1C1C21;
  --surface-high: #27272E;
  --line: #393941;
  --ink: #F8F6F2;
  --muted: #B9B6BF;
  --pink: #FF329B;
  --pink-hot: #FF007D;
  --pink-dark: #B90058;
  --gold: #E5BB67;
  --gold-light: #FFE5A6;
  --gold-dark: #8E6933;
  --r: 18px;
  --r-large: 28px;
  --space: clamp(48px,6vw,88px);
  --max: 1264px;
  --heading: 'Mitr',system-ui,sans-serif;
  --text: 'Sarabun',system-ui,sans-serif;
  --display: 'Barlow Condensed',system-ui,sans-serif;
  --mx: 50%;
  --my: 50%;
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--text);
  overflow-x:clip
}

a {
  color: inherit;
  text-decoration:none
}

button,input {
  font:inherit
}

button {
  cursor:pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset:4px
}

button:disabled {
  cursor:default
}

img {
  max-width: 100%;
  display:block
}

h1,
h2,
h3,
p {
  margin:0
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
  line-height:1.35
}

h2 {
  font-size: clamp(26px,3vw,42px);
  letter-spacing:-.025em
}

h3 {
  font-size:18px
}

p {
  color:var(--muted)
}

[hidden] {
  display:none!important
}

.container {
  width: min(calc(100% - 64px),var(--max));
  margin-inline:auto
}

.skip {
  position: absolute;
  left:-9999px
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding:12px
}

.eyebrow {
  font: 700 13px/1.2 var(--display);
  letter-spacing: .16em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap:9px
}

.muted {
  color:var(--muted)
}

.site-header {
  background: var(--bg-deep);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #62304b;
  box-shadow:0 4px 24px #0007
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height:86px
}

.brand {
  display: inline-flex;
  flex: none;
  align-items:center
}

.wordmark {
  font: 800 38px/.78 var(--display);
  letter-spacing: -.04em;
  color: var(--ink);
  transform: skew(-6deg);
  display:block
}

.wordmark>span {
  display:block
}

.brand-dot {
  color: var(--pink);
  display:inline!important
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left:auto
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 12px 0;
  white-space:nowrap
}

.desktop-nav a[aria-current],.desktop-nav a:hover {
  color:var(--pink)
}

.desktop-nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
  box-shadow:0 0 12px var(--pink)
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items:center
}

.round {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items:center
}

.round svg {
  width: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap:round
}

.round:hover {
  border-color: var(--pink);
  color:var(--pink)
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding:3px
}

.lang-switch button {
  background: none;
  color: var(--muted);
  font-weight: 700;
  border: 0;
  min-width: 42px;
  min-height: 36px;
  border-radius:999px
}

.lang-switch button[aria-pressed=true] {
  background: var(--pink-dark);
  color:white
}

.menu-toggle {
  display:none
}

.search-panel {
  padding:16px 0 24px
}

.search-panel label {
  display: block;
  font-weight: 600;
  margin-bottom:6px
}

.search-row {
  display: flex;
  gap:12px
}

.search-row input {
  flex: 1;
  min-width:0
}

.mobile-nav {
  padding:0 0 16px
}

.mobile-nav a {
  display: block;
  padding: 12px;
  border-bottom:1px solid var(--line)
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  background:radial-gradient(ellipse at 80% 40%,#38172d 0,transparent 46%),linear-gradient(120deg,#111115 18%,#222128 100%)
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my),#ff007d18,transparent 33%),repeating-linear-gradient(115deg,transparent 0 14px,#ffffff03 14px 15px);
  transform: translate(var(--parallax-x,0px),var(--parallax-y,0px));
  transition:transform .3s ease-out
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 590px;
  gap: 38px;
  padding-block:48px 64px
}

.hero-content {
  position: relative;
  z-index:2
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow:0 0 15px var(--pink)
}

.hero h1 {
  font-size: clamp(35px,4.5vw,70px);
  line-height: 1.2;
  margin:22px 0 12px
}

.hero-headline {
  display: block;
  max-width:16ch
}

.hero-accent {
  display: block;
  font: 800 clamp(78px,9vw,142px)/.86 var(--display);
  letter-spacing: -.045em;
  color: var(--pink);
  text-shadow: 0 3px 0 #7a1643,0 0 42px #ff007d30;
  margin-top:4px
}

.tagline {
  color: var(--gold);
  font-style: italic;
  font-size: clamp(20px,2.2vw,28px);
  font-weight: 600;
  margin:20px 0 12px
}

.hero-description {
  max-width: 49ch;
  font-size: 18px;
  line-height: 1.65;
  color: #e3dce4;
  margin-bottom:28px
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap:wrap
}

.button,.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow:hidden
}

.button {
  background: linear-gradient(105deg,#C90065,var(--pink-dark));
  color: #fff;
  box-shadow: 0 8px 22px #ff007d29;
  border-color:#ff4ba3
}

.button:hover {
  background: #E60073;
  box-shadow:0 0 25px #ff007d55
}

.button:active {
  transform:scale(.98)
}

.shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 30%,#fff4 48%,transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
  transition:transform .6s
}

.shine:hover::after {
  transform:translateX(130%)
}

.arrow {
  font: 700 21px/1 var(--text);
  color: var(--gold);
  flex:none
}

.button .arrow {
  color:white
}

.text-link {
  font-weight: 600;
  color:var(--ink)
}

.text-link:hover {
  color:var(--pink)
}

.hero-visual {
  position: relative;
  min-width: 0;
  transform: translate(var(--art-x,0px),var(--art-y,0px));
  transition:transform .25s ease-out
}

.hero-art-frame {
  position: relative;
  padding: 8px;
  border: 1px solid var(--gold-dark);
  border-radius: 30px;
  background: linear-gradient(135deg,#262027,#131316);
  box-shadow:0 0 48px #ff007d18,0 20px 65px #0007
}

.hero-art-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid var(--pink);
  border-right: 1px solid var(--gold-light);
  pointer-events: none;
  box-shadow:0 -2px 20px #ff007d40
}

.hero-cat {
  aspect-ratio: 8/7;
  min-height:360px
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font: 600 12px/1.3 var(--display);
  letter-spacing: .12em;
  color: var(--muted);
  padding:16px 0
}

.hero-caption strong {
  color: var(--gold);
  font-size:20px
}

.hero-strip {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg,#BD9753,#FFE3A2,#BA8A41);
  color: #23190C;
  padding: 13px 0;
  font: 800 18px/1.3 var(--display);
  letter-spacing: .14em;
  border-block:1px solid #ffdfa1
}

.art-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(ellipse at 70% 15%,#3d263b,transparent 55%),linear-gradient(140deg,#24242a,#111115);
  border: 1px dashed #80627b;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 12px;
  min-width:0
}

.art-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:repeating-linear-gradient(135deg,transparent 0 22px,#ffffff03 22px 23px)
}

.art-slot>* {
  z-index:1
}

.asset-tag {
  font: 700 10px/1.3 var(--display);
  letter-spacing: .13em;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: 5px 8px;
  border-radius: 4px;
  background:#16131a
}

.asset-name {
  font: 600 13px/1.3 var(--text);
  color: var(--ink);
  overflow-wrap:anywhere
}

.asset-size {
  font-size: 11px;
  color:var(--muted)
}

.art-slot.has-art {
  padding: 0;
  border: 0;
  background:none
}

.art-slot.has-art::before {
  display:none
}

.art-slot.has-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius:inherit
}

.hero-cat.has-art img,
.topic-art.has-art img,
.newsletter-art.has-art img {
  object-fit:contain
}

.section {
  padding-block: var(--space);
  border-bottom:1px solid #ffffff0b
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom:28px
}

.section-heading h2 {
  margin:8px 0 4px
}

.section-heading p {
  font-size:16px
}

.section-number {
  font: 800 74px/.75 var(--display);
  color: var(--gold-dark);
  opacity:.7
}

.outline-button {
  border-color: #62616c;
  background: transparent;
  color: var(--ink);
  min-height:44px
}

.outline-button:hover {
  border-color: var(--pink);
  color:var(--pink)
}

.topics-section {
  background:linear-gradient(180deg,#17171c,#131316)
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap:18px
}

.topic,
.story,
.service {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid #49434c;
  overflow: hidden;
  box-shadow: 0 10px 26px #0003;
  transition: transform .16s ease-out,border-color .2s,box-shadow .2s;
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px))
}

.tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--px,50%) var(--py,50%),#ffe5a61a,transparent 48%);
  opacity: 0;
  transition:opacity .2s
}

.tilt:hover,.tilt:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px #ff329b38,0 10px 34px #ff007d16;
  --lift:-3px
}

.tilt:hover::after {
  opacity:1
}

.topic {
  padding: 9px;
  display: flex;
  flex-direction:column
}

.topic-art {
  aspect-ratio: 760/520;
  border-radius: 12px;
  min-height:120px
}

.topic-index {
  position: absolute;
  left: 18px;
  top: 17px;
  z-index: 5;
  font: 800 22px/1 var(--display);
  color: var(--gold-light);
  background: #17171bcc;
  border-radius: 6px;
  padding:5px 8px
}

.topic-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 66px;
  padding:12px 7px 6px
}

.topic-label h3 {
  font-size: 17px;
  line-height:1.35
}

.topic-label .arrow {
  background: #33162a;
  color: var(--pink);
  border: 1px solid #7b3158;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items:center
}

.topic:hover .arrow {
  background: var(--pink-dark);
  color:white
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:18px
}

.story-link {
  display: flex;
  flex-direction: column;
  height:100%
}

.story-lead {
  grid-row:span 2
}

.story-lead .story-art {
  flex: 1;
  min-height: 240px;
  aspect-ratio:1.2
}

.story-art {
  aspect-ratio: 2.05;
  border: 0;
  border-bottom: 1px dashed #80627b;
  border-radius:0
}

.story-copy {
  padding: 17px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap:10px
}

.story-lead .story-copy {
  padding:24px
}

.story-lead h3 {
  font-size:clamp(21px,2vw,30px)
}

.story h3 {
  font-size:17px
}

.story-lead h3 {
  font-size:28px
}

.chip {
  align-self: flex-start;
  background: #382a19;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  border:1px solid #806234
}

.story-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: var(--muted);
  font-size:13px
}

.services-section {
  background: linear-gradient(90deg,#17171b,#21161f,#17171b);
  border-block:1px solid #59374a
}

.services-grid,.latest-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap:20px
}

.service-art {
  aspect-ratio: 4/3;
  border-radius: 0;
  border: 0;
  border-bottom:1px dashed #80627b
}

.service-info {
  padding:20px
}

.service-info h3 {
  margin:7px 0
}

.kicker {
  font: 800 24px/1 var(--display);
  color:var(--pink)
}

.status {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  margin-top: 14px;
  border: 1px solid var(--gold-dark);
  padding: 4px 8px;
  border-radius:5px
}

.local-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--gold-dark);
  border-radius: var(--r-large);
  padding: 28px;
  overflow: hidden;
  box-shadow:0 0 30px #e5bb6709
}

.local-copy {
  padding:16px 12px
}

.local-copy h2 {
  margin:12px 0
}

.local-copy p {
  margin-bottom: 24px;
  max-width:50ch
}

.local-art {
  aspect-ratio:14/9
}

.latest-grid .story-art {
  aspect-ratio:3/2
}

.newsletter {
  display: grid;
  grid-template-columns: 150px 1fr 1.15fr;
  gap: 25px;
  align-items: center;
  background: radial-gradient(ellipse at 0 0,#ff007d22,transparent 60%),var(--surface);
  border: 1px solid #a33a73;
  border-radius: var(--r-large);
  padding: 26px;
  box-shadow:0 0 30px #ff007d16
}

.newsletter-art {
  aspect-ratio:1
}

.newsletter-copy h2 {
  font-size: 25px;
  margin:8px 0
}

.newsletter-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom:8px
}

.newsletter-fields {
  display: flex;
  gap:8px
}

.newsletter-fields input,.search-row input {
  min-width: 0;
  flex: 1;
  padding: 12px;
  border: 1px solid #68636f;
  border-radius: 9px;
  background: #131317;
  color: var(--ink);
  min-height:48px
}

.newsletter-fields .button {
  padding-inline: 13px;
  gap:8px
}

.form-message {
  font-size: 13px;
  margin-top:6px
}

.footer {
  background: var(--bg-deep);
  border-top: 2px solid var(--gold-dark);
  padding:50px 0 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap:28px
}

.footer .tagline {
  font-size:18px
}

.footer h3 {
  font-size: 16px;
  color: var(--gold);
  margin:0 0 12px
}

.footer a:not(.brand) {
  display: block;
  color: var(--muted);
  padding:7px 0
}

.footer a:hover {
  color:var(--pink)
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size:12px
}

.motion-toggle {
  position: fixed;
  z-index: 30;
  right: 12px;
  bottom: 12px;
  border: 1px solid #68636f;
  border-radius: 999px;
  background: #1e1e24;
  color: var(--ink);
  font-size: 12px;
  padding: 8px 12px;
  min-height:36px
}

.motion-toggle:hover {
  border-color:var(--pink)
}

@media(max-width:1024px) {
  .container {
    width:calc(100% - 48px)
  }
  .header-row {
    gap:16px
  }
  .desktop-nav {
    gap:14px
  }
  .desktop-nav a {
    font-size:13px
  }
  .hero-layout {
    gap:20px
  }
  .hero-cat {
    min-height:280px
  }
  .hero {
    min-height:0
  }
  .hero-layout {
    min-height:530px
  }
  .newsletter {
    grid-template-columns:100px 1fr
  }
  .newsletter-form {
    grid-column:2
  }
  .topic-grid {
    gap:12px
  }
  .topic-label h3 {
    font-size:15px
  }
}

@media(max-width:800px) {
  .desktop-nav {
    display:none
  }
  .menu-toggle {
    display:grid
  }
  .header-actions {
    margin-left:auto
  }
  .header-row {
    min-height:70px
  }
  .container {
    width:calc(100% - 36px)
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 40px;
    min-height:auto
  }
  .hero-headline {
    max-width:100%
  }
  .hero h1 {
    font-size:clamp(30px,6vw,48px)
  }
  .hero-accent {
    font-size:clamp(76px,15vw,110px)
  }
  .hero-description {
    font-size:16px
  }
  .hero-cat {
    min-height: 0;
    aspect-ratio:16/11
  }
  .topic-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .featured-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .story-lead {
    grid-column: 1/-1;
    grid-row:auto
  }
  .story-lead .story-art {
    aspect-ratio: 16/9;
    min-height:0
  }
  .services-grid,.latest-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .local-feature {
    grid-template-columns: 1fr;
    padding:18px
  }
  .local-copy {
    padding:4px
  }
  .footer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .hero-strip {
    font-size: 14px;
    justify-content: flex-start;
    padding-inline:18px
  }
  .section-heading {
    align-items:flex-start
  }
  .section-number {
    font-size:52px
  }
}

@media(max-width:480px) {
  .container {
    width:calc(100% - 28px)
  }
  .header-row {
    gap:10px
  }
  .header-actions {
    gap:6px
  }
  .wordmark {
    font-size:32px
  }
  .round {
    width: 42px;
    height:42px
  }
  .lang-switch button {
    min-width:34px
  }
  .hero-layout {
    padding-top:32px
  }
  .hero h1 {
    margin-top:18px
  }
  .hero-actions {
    gap:14px
  }
  .hero-caption {
    font-size:9px
  }
  .hero-caption strong {
    font-size:16px
  }
  .section-heading {
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap:12px
  }
  .section-heading h2 {
    font-size:26px
  }
  .section-number {
    display:none
  }
  .topic {
    padding:6px
  }
  .topic-art {
    min-height:94px
  }
  .topic-index {
    font-size: 16px;
    top: 10px;
    left:10px
  }
  .topic-label {
    min-height: 66px;
    padding: 8px 2px 2px;
    gap:4px
  }
  .topic-label h3 {
    font-size:14px
  }
  .topic-label .arrow {
    width: 30px;
    height: 30px;
    font-size:16px
  }
  .asset-name {
    font-size:11px
  }
  .asset-tag {
    font-size:9px
  }
  .asset-size {
    font-size:10px
  }
.featured-grid,
.services-grid,
.latest-grid {
    grid-template-columns:1fr
  }
  .story-lead {
    grid-column:auto
  }
  .story-lead h3 {
    font-size:23px
  }
  .story-art {
    aspect-ratio:16/9
  }
  .newsletter {
    grid-template-columns: 1fr;
    padding: 19px;
    gap:16px
  }
  .newsletter>div:first-child {
    width:110px
  }
  .newsletter-form {
    grid-column:auto
  }
  .newsletter-fields {
    flex-direction:column
  }
  .footer-grid {
    gap:22px
  }
  .footer-grid>div:first-child {
    grid-column:1/-1
  }
  .footer-bottom {
    flex-wrap:wrap
  }
  .motion-toggle {
    font-size: 10px;
    bottom: 7px;
    right:7px
  }
  .button,.outline-button {
    white-space:normal
  }
  .hero-actions .button {
    padding-inline:16px
  }
}

@media(prefers-reduced-motion:reduce) {
*,
*::before,
*::after {
    scroll-behavior: auto!important;
    transition: none!important;
    animation:none!important
  }
.tilt,
.hero-visual,
.hero-atmosphere {
    transform:none!important
  }
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  scroll-behavior: auto!important;
  transition: none!important;
  animation:none!important
}

.reduce-motion .tilt,
.reduce-motion .hero-visual,
.reduce-motion .hero-atmosphere {
  transform:none!important
}

/* =========================================================================
   02. ANNEXE WORDPRESS — gabarits absents du prototype
   =========================================================================

   Le prototype ne contenait que la home. Tout ce qui suit a ete construit
   avec ses jetons et ses composants, sans en introduire de nouveaux :
   aucune couleur, aucune police, aucun rayon qui ne vienne de la partie 01.
   ========================================================================= */

/* --- surface de lecture d'un article -------------------------- 25 % */

.read-head {
  max-width: 46rem;
  margin-inline: auto
}

.read-head h1 {
  font-size: clamp(30px,4.4vw,52px);
  line-height: 1.12;
  margin: 12px 0 16px
}

.read-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 600 12px/1.3 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase
}

.read-media {
  max-width: var(--max);
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-large);
  overflow: hidden
}

.read-media img {
  width: 100%;
  display: block
}

/*
 * Pas de neon derriere les paragraphes, pas d'animation pendant la
 * lecture : la surface est plate, le rose ne sert plus qu'aux liens.
 */
.prose {
  max-width: 46rem;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.85
}

.prose > * + * {
  margin-top: 24px
}

.prose h2 {
  margin-top: 56px;
  font-size: clamp(24px,3vw,34px)
}

.prose h3 {
  margin-top: 40px;
  font-size: 21px
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 14px
}

.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em
}

.prose a:hover {
  color: var(--pink-hot)
}

.prose strong {
  font-weight: 600
}

.prose ul,
.prose ol {
  padding-inline-start: 24px
}

.prose li + li {
  margin-top: 8px
}

.prose li::marker {
  color: var(--gold)
}

.prose blockquote {
  margin-inline: 0;
  padding: 24px;
  border-inline-start: 3px solid var(--pink);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--surface);
  font-size: 18px
}

.prose blockquote > :last-child {
  margin-bottom: 0
}

.prose figure {
  margin-inline: 0
}

.prose img {
  border-radius: var(--r)
}

.prose figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-high);
  font-size: .92em
}

/* Un tableau doit pouvoir defiler seul plutot que pousser la page. */
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px
}

.prose :is(th,td) {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: start
}

.prose th {
  background: var(--surface-high);
  font-family: var(--heading);
  font-weight: 500
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line)
}

/* --- intro d'archive et de categorie -------------------------- 85 % */

/*
 * Reprend la composition du bloc 04 du prototype : texte a gauche,
 * illustration a droite, meme grille et meme respiration.
 */
.archive-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,420px);
  gap: clamp(28px,4vw,56px);
  align-items: center
}

.archive-intro h1 {
  font-size: clamp(30px,4.4vw,52px);
  line-height: 1.1;
  margin: 12px 0 14px
}

.archive-intro p {
  color: var(--muted);
  margin: 0;
  max-width: 54ch
}

.archive-art {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-large);
  overflow: hidden
}

.archive-art img {
  width: 100%;
  aspect-ratio: 760/520;
  object-fit: cover;
  display: block
}

/* Etat vide : une vraie proposition, pas une phrase seule. */
.empty-state {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(28px,4vw,48px);
  border: 1px dashed var(--gold-dark);
  border-radius: var(--r-large);
  background: var(--surface);
  text-align: center
}

.empty-state h2 {
  margin: 10px 0 12px;
  font-size: clamp(20px,2.6vw,28px)
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 22px
}

/* --- pagination ------------------------------------------------------ */

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px
}

.pager__item {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--heading);
  font-variant-numeric: tabular-nums;
  transition: background .18s, color .18s, border-color .18s
}

a.pager__item:hover {
  background: var(--surface-high);
  color: var(--ink);
  border-color: var(--gold-dark)
}

.pager__item.is-current {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff
}

.pager__item--off {
  border-color: transparent;
  background: none
}

/* --- INTENSITE DECORATIVE -------------------------------------------- */

/*
 * Un seul levier : la densite d'ornement. La palette ne bouge jamais.
 * « Le Bengal peut fumer son cigare sur la categorie ; il n'a pas besoin
 * de venir perturber la lecture d'un article sur l'insuffisance renale. »
 */

/* 45 % et moins : plus d'atmosphere rose en fond. */
.intensite-45 .hero-atmosphere,
.intensite-25 .hero-atmosphere,
.intensite-10 .hero-atmosphere {
  display: none
}

/* 25 % : plus de bascule au survol, plus d'inclinaison. */
.intensite-25 .story:hover,
.intensite-10 .story:hover,
.intensite-25 .service:hover {
  transform: none
}

.intensite-25 .tilt,
.intensite-10 .tilt {
  transform: none !important
}

/* 10 % : page legale, texte seul. */
.intensite-10 .archive-art,
.intensite-10 .read-media {
  display: none
}

.intensite-10 .archive-intro {
  grid-template-columns: minmax(0,1fr);
  max-width: 46rem;
  margin-inline: auto
}

/* --- responsive de l'annexe ------------------------------------------ */

@media (max-width: 900px) {
  .archive-intro {
    grid-template-columns: minmax(0,1fr)
  }

  .archive-art {
    max-width: 34rem
  }
}

/* --- bascule de langue : liens et non boutons ------------------------- */

/*
 * Le prototype utilisait des <button> et permutait le texte en
 * JavaScript. En production Polylang porte les langues par l'URL, donc ce
 * sont deux vrais liens — indexables, ouvrables dans un nouvel onglet, et
 * fonctionnels sans JavaScript. Meme gabarit que .lang-switch button de
 * la partie 01, au pixel pres.
 */
.lang-switch a {
  display: grid;
  place-items: center;
  background: none;
  color: var(--muted);
  font-weight: 700;
  border: 0;
  min-width: 42px;
  min-height: 36px;
  border-radius: 999px;
  text-decoration: none
}

.lang-switch a:hover {
  color: var(--ink)
}

.lang-switch a[aria-current] {
  background: var(--pink-dark);
  color: #fff
}

/* --- classes restantes de l'annexe ------------------------------------ */

/*
 * La section de lecture perd le filet de separation : deux surfaces de
 * lecture consecutives — chapeau puis corps — ne doivent pas etre
 * coupees par un trait au milieu de l'article.
 */
.read-section {
  border-bottom: 0
}

.read-section + .read-section {
  padding-top: 0
}

.read-deck {
  color: var(--muted);
  font-size: 18px;
  margin: 0
}

/* Intro d'archive sans illustration : une seule colonne, centree. */
.archive-intro--seul {
  grid-template-columns: minmax(0, 1fr);
  max-width: 46rem;
  margin-inline: auto
}

/* --- le medaillon comme logo ------------------------------------------ */

/*
 * Divergence assumee avec le golden master, a la demande de
 * l'utilisateur : le logo EST le medaillon, a chaque emplacement. Le
 * prototype portait un wordmark purement typographique ; le favicon, la
 * marque de l'en-tete et celle du pied de page servent desormais le meme
 * asset, donc la meme identite partout.
 *
 * Le mot « Paw Dee. » est deja grave dans le disque : on ne le repete pas
 * a cote, ce serait le dire deux fois.
 */
.brand {
  display: inline-flex;
  align-items: center
}

.brand-mark {
  width: 64px;
  height: 64px;
  display: block;
  /*
   * Le disque est deja detoure et porte son propre filet or. Aucun fond,
   * aucun cadre, aucune ombre ajoutes : ils doubleraient le liseré du
   * medaillon.
   */
  transition: transform .18s cubic-bezier(.2,.6,.25,1)
}

.brand:hover .brand-mark {
  transform: scale(1.04)
}

.brand--footer .brand-mark {
  width: 72px;
  height: 72px
}

@media (max-width: 640px) {
  .brand-mark {
    width: 46px;
    height: 46px
  }
}

.reduce-motion .brand:hover .brand-mark {
  transform: none
}

/* --- PILLNAV : sous-sujets d'une categorie ---------------------------- */

/*
 * Reprise du Hub interactif du 2026-11-23, rhabillee aux jetons sombres.
 * La cible de clic fait 44px de haut au minimum, pastilles comprises : ce
 * sont des liens de navigation, souvent atteints au pouce.
 */
.pillnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 500 15px/1.2 var(--text);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s
}

.pill:hover {
  background: var(--surface-high);
  border-color: var(--gold-dark);
  transform: translateY(-2px)
}

.pill:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px
}

.pill.is-current {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff
}

/* Le compte reste lisible mais second : il informe, il n'appelle pas. */
.pill-count {
  color: var(--muted);
  font-family: var(--heading);
  font-size: 13px;
  font-variant-numeric: tabular-nums
}

.pill:hover .pill-count {
  color: var(--gold-light)
}

.pill.is-current .pill-count {
  color: #ffd9ec
}

.reduce-motion .pill:hover {
  transform: none
}

@media(max-width:640px) {
  .pill {
    padding-inline: 16px;
    font-size:14px
  }
}

/* Espace propre entre l'intro d'archive et les pastilles de sous-sujets. */
.archive-sous {
  margin-top: clamp(24px,3vw,36px)
}


/* ====================================================================== */
/* PARTIE 03 — UNIVERSAL HUB                                              */
/*                                                                        */
/* Extrait tel quel de PAWDEE-HUB-FINAL.html (prototype valide du         */
/* 2026-11-30), regle par regle, par _banc-dark/extraire_hub_css.py.      */
/* Seules les regles PROPRES au hub sont ici : son socle de jetons et de  */
/* composants est deja la partie 01, et le prototype le dit lui-meme en   */
/* tete de sa feuille (« shared Dark tokens and components come from      */
/* base.css »). Recopier ce socle une seconde fois creerait deux sources  */
/* de verite pour les memes valeurs.                                      */
/*                                                                        */
/* Meme consigne que la partie 01 : ne pas reecrire, ne pas « nettoyer ». */
/* Pour mettre a jour, relancer l'extracteur sur un nouveau prototype.    */
/* ====================================================================== */

.hub-banner {position:relative;isolation:isolate;padding:60px 0 36px;background:radial-gradient(ellipse at 88% 0,#58203a55,transparent 50%),linear-gradient(150deg,#111115,#1b1b21);border-bottom:1px solid var(--line)}

.hub-banner::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(125deg,transparent 0 25px,#ffffff03 25px 26px)}

.breadcrumb {display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:22px}

.breadcrumb a:hover {color:var(--pink)}

.hub-intro {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:36px;margin-bottom:32px}

.hub-title {font-size:clamp(34px,4.3vw,65px);letter-spacing:-.035em;line-height:1.15;margin:10px 0 12px}

.hub-intro p {max-width:65ch;font-size:17px}

.hub-intro .section-number {font-size:94px;opacity:.85;line-height:.85}

.hub-art {width:220px;aspect-ratio:760/520;border-radius:16px;object-fit:cover;border:1px solid var(--gold-dark);box-shadow:0 0 30px #ff329b20}

.hub-search {display:flex;align-items:center;gap:12px;padding:8px 10px 8px 18px;background:#101014;border:1px solid #59515d;border-radius:14px;max-width:800px;box-shadow:0 8px 30px #0004}

.hub-search:focus-within {border-color:var(--pink);box-shadow:0 0 0 3px #ff329b20}

.hub-search svg {width:23px;flex:none;stroke:var(--gold);fill:none;stroke-width:1.8}

.hub-search input {min-width:0;width:100%;background:none;border:0;color:var(--ink);padding:12px 0;outline:none;font-size:17px}

.hub-search input:focus-visible {outline:none}

.hub-search .keyhint {font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:3px 7px;white-space:nowrap}

.hub-clear {width:40px;height:40px;background:transparent;color:var(--muted);border:0;border-radius:8px;font-size:24px;line-height:1}

.hub-clear:hover {color:var(--pink)}

.hub-main {padding:32px 0 72px;scroll-margin-top:92px}

.results-head {display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}

.results-head h2 {font-size:clamp(23px,2.5vw,32px)}

.result-count {font-size:14px;color:var(--muted)}

.tools-row {display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0 20px;border-bottom:1px solid var(--line);margin-bottom:24px}

.types {display:flex;gap:6px;flex-wrap:wrap}

.filter {color:var(--muted);background:transparent;border:1px solid transparent;border-radius:999px;padding:9px 14px;min-height:42px;font-weight:600;font-size:14px}

.filter[aria-pressed=true] {background:#382a19;color:var(--gold-light);border-color:var(--gold-dark)}

.filter:hover {color:var(--ink)}

.controls {display:flex;align-items:center;gap:8px}

.hub-select {padding:9px 10px;min-height:44px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:9px;max-width:100%}

.view-switch {display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--bg-deep)}

.view-switch button {display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted)}

.view-switch button[aria-pressed=true] {background:#382039;color:var(--pink)}

.view-switch svg,.save-button svg {width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7}

.saved-toggle {min-height:44px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;color:var(--ink);font-weight:600;display:flex;gap:6px;align-items:center}

.saved-toggle[aria-pressed=true] {border-color:var(--pink);color:var(--pink)}

.saved-toggle span:last-child {color:var(--gold-light)}

.reset {background:none;border:0;color:var(--pink);padding:8px;min-height:36px;font-size:13px}

.hub-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}

.hub-card {position:relative;min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid #49434c;border-radius:var(--r);overflow:hidden;isolation:isolate;transition:transform .18s,border-color .2s,box-shadow .2s}

.hub-card:hover {border-color:var(--pink);transform:translateY(-3px);box-shadow:0 10px 30px #ff329b13}

.hub-card .cover {aspect-ratio:2.05;position:relative;display:flex;align-items:flex-end;padding:18px;overflow:hidden;background:radial-gradient(ellipse at 85% 25%,#5c29494d,transparent 60%),linear-gradient(135deg,#25252d,#131316);border-bottom:1px solid var(--line)}

.cover img {width:100%;height:100%;position:absolute;inset:0;object-fit:cover}

.cover:has(img)::after {content:'';position:absolute;inset:0;background:linear-gradient(0deg,#10101380,transparent 60%);pointer-events:none}

.cover .cover-num {position:absolute;right:14px;top:12px;color:#e5bb672f;font:800 70px/.9 var(--display);letter-spacing:-.04em}

.cover-word {position:relative;z-index:1;font:800 29px/.95 var(--display);text-transform:uppercase;letter-spacing:.01em;color:var(--gold-light);max-width:80%;text-shadow:0 2px 15px #0009}

.cover.has-photo .cover-num,.cover.has-photo .cover-word {display:none}

.hub-card-body {padding:18px 18px 16px;display:flex;flex-direction:column;gap:9px;flex:1}

.hub-card .chip {align-self:flex-start;width:max-content;max-width:100%;font-size:11px}

.hub-card h3 {font-size:19px;line-height:1.45;min-height:2.9em}

.hub-card p {font-size:14px;line-height:1.6}

.card-bottom {display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:10px;color:var(--muted);font-size:13px}

.read-button {border:0;background:none;color:var(--gold-light);font-weight:700;padding:8px 0;min-height:44px}

.read-button:hover {color:var(--pink)}

.save-button {position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;width:42px;height:42px;border:1px solid #79717e;background:#111115dd;color:var(--ink);border-radius:50%;backdrop-filter:blur(8px)}

.save-button[aria-pressed=true] {color:var(--pink);border-color:var(--pink)}

.save-button[aria-pressed=true] svg {fill:var(--pink)}

.save-button:hover {border-color:var(--pink)}

.hub-grid.list {grid-template-columns:1fr}

.hub-grid.list .hub-card {display:grid;grid-template-columns:240px minmax(0,1fr)}

.hub-grid.list .cover {height:100%;min-height:175px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}

.hub-grid.list .hub-card h3 {min-height:0}

.hub-grid.list .save-button {left:186px;right:auto}

.load-area {display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:30px}

.progress-track {width:160px;height:3px;background:var(--line);border-radius:9px;overflow:hidden}

.progress-track span {display:block;height:100%;background:var(--gold);transition:width .2s}

.empty-state {padding:48px 18px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:var(--r)}

.empty-state .empty-symbol {font:800 54px var(--display);color:var(--gold)}

.empty-state h3 {font-size:23px;margin-bottom:8px}

.empty-state .button {margin-top:20px}

.hub-note {font-size:12px;color:var(--muted);margin-top:24px}

.hub-dialog {max-width:min(640px,calc(100% - 32px));width:640px;background:var(--surface);color:var(--ink);border:1px solid var(--gold-dark);border-radius:20px;padding:28px;box-shadow:0 30px 100px #000a}

.hub-dialog::backdrop {background:#000b;backdrop-filter:blur(4px)}

.hub-dialog h2 {font-size:28px;margin:15px 0}

.hub-dialog p {margin:10px 0 20px}

.dialog-close {float:right;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:50%;width:42px;height:42px;font-size:24px}

.hub-dialog .button {white-space:normal}

.hub-footer {padding:32px 0;background:var(--bg-deep);border-top:1px solid var(--gold-dark)}

.hub-footer .container {display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}

.hub-footer p {font-size:13px}

.hub-footer .wordmark {font-size:30px}

.hub-footer a:hover {color:var(--pink)}

@media(max-width:1023px) {
  .hub-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-banner {padding-top:40px}
  .hub-intro .section-number {font-size:72px}
}

@media(max-width:639px) {
  .hub-banner {padding:28px 0 24px}
  .breadcrumb {margin-bottom:15px}
  .hub-intro {gap:12px;align-items:start;margin-bottom:20px}
  .hub-title {font-size:34px}
  .hub-intro p {font-size:15px}
  .hub-intro .section-number {font-size:50px;margin-top:28px}
  .hub-art {width:90px;border-radius:10px;margin-top:18px}
  .hub-search {padding:4px 8px 4px 12px}
  .hub-search input {font-size:16px}
  .keyhint {display:none}
  .hub-main {padding:26px 0 48px}
  .results-head {align-items:flex-start}
  .results-head h2 {font-size:23px}
  .saved-toggle {font-size:13px;white-space:nowrap}
  .types {gap:2px}
  .filter {font-size:13px;padding:8px 10px}
  .controls {width:100%;justify-content:space-between}
  .hub-select {flex:1}
  .hub-grid {grid-template-columns:1fr;gap:14px}
  .hub-card h3 {min-height:0}
  .hub-grid.list .hub-card {grid-template-columns:112px minmax(0,1fr)}
  .hub-grid.list .cover {min-height:160px;padding:10px}
  .hub-grid.list .cover-word {font-size:17px}
  .hub-grid.list .cover-num {font-size:39px}
  .hub-grid.list .save-button {left:69px;top:6px;width:36px;height:36px}
  .hub-grid.list .hub-card-body {padding:12px;gap:5px}
  .hub-grid.list .hub-card h3 {font-size:15px}
  .hub-grid.list .hub-card p {display:none}
  .hub-grid.list .card-bottom {font-size:12px}
  .hub-grid.list .read-button {font-size:12px}
  .hub-footer .container {align-items:flex-start;flex-direction:column}
  .hub-dialog {padding:20px}
  .hub-dialog h2 {font-size:23px}
}

@media(prefers-reduced-motion:reduce) {
  .hub-card,.topic-button,.progress-track span {transition:none!important}
  .hub-card:hover {transform:none}
}

/* Universal Hub: one category selector, no duplicate topic section. */
.hub-banner {padding:32px 0 28px}

.breadcrumb {margin-bottom:14px}

.hub-intro {margin-bottom:18px;gap:24px;align-items:center}

.hub-title {font-size:clamp(30px,3.7vw,54px);margin:7px 0 9px}

.hub-intro p {font-size:16px}

.hub-art {width:180px}

.hub-search {max-width:100%}

.hub-main {padding-top:24px}

.filter-group {display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}

.topic-select {max-width:270px;min-width:170px}

.reset-row {display:flex;justify-content:flex-end;margin:-14px 0 14px}

.hub-card h3 {min-height:0}

.tools-row {margin-bottom:20px}

.reset {min-height:44px}

.view-switch button {width:44px;height:44px}

@media(max-width:639px) {
  .hub-banner {padding:22px 0 20px}
  .hub-intro {gap:12px;margin-bottom:16px}
  .hub-title {font-size:32px}
  .hub-art {width:90px;margin-top:0}
  .hub-main {padding-top:20px}
  .filter-group {width:100%;gap:8px}
  .topic-select {width:100%;max-width:none}
  .types {flex-wrap:wrap}
  .tools-row {gap:8px;padding:8px 0 14px}
  .controls {width:100%}
  .filter {min-height:44px}
  .hub-card-body {padding:16px}
  .reset-row {margin:0 0 10px}
}

/*
 * Le prototype creait .hub-art en JavaScript, donc sans attributs width et
 * height. Nous les posons pour reserver la place et eviter le decalage de
 * mise en page — mais l'attribut height l'emporte alors sur aspect-ratio et
 * etirait l'illustration a 520px de haut. height:auto rend la main au
 * ratio, sans renoncer a la reservation de place.
 */
.hub-art {
  height: auto
}
