/* =====================================================================================
   EcoDesign — style.css
   Accessibilité : tailles en rem (agrandissement du texte), contrastes ≥ 4,5:1, focus visible,
   lien d'évitement, réduction des animations, cibles tactiles.
   Écoconception : polices Roboto auto-hébergées (3 graisses, sous-ensemble latin, ~66 Ko au total)
   à la place d'un appel à Google Fonts.
   ===================================================================================== */

@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/roboto-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/roboto-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/roboto-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* Icônes en SVG inline (voir src/icons.json) — pas de police d'icônes à charger */
.icon-svg{width:1em;height:1em;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

:root{
  --bg:#fdfcfa;
  --tint:#e3ecd5;
  --green:#2f6b4f;
  --green-dark:#24533d;
  --ink:#333333;
  --text-2:#555555;   /* texte courant secondaire : 7,5:1 sur blanc */
  --muted:#595959;    /* méta-informations : ≥ 6,2:1 sur tous les fonds du site */
  --white:#ffffff;
  --focus:#111111;
  --radius:14px;
  --max:1160px;
  --font:'Roboto',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem;}
body{margin:0;font-family:var(--font);font-size:1rem;color:var(--ink);background:var(--bg);line-height:1.6;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{list-style:none;margin:0;padding:0;}
p{margin:0 0 .75rem;}
blockquote{margin:0;}
main:focus{outline:none;}

.wrap{max-width:var(--max);margin:0 auto;padding:0 1.5rem;}

/* Utilitaires d'accessibilité */
.sr-only{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;}
.skip-link{position:absolute;left:1rem;top:-4rem;z-index:200;background:var(--ink);color:#fff;padding:.75rem 1.25rem;border-radius:0 0 .5rem .5rem;font-weight:700;transition:top .15s;}
.skip-link:focus{top:0;}

/* Focus visible : anneau noir + halo blanc, lisible sur fond clair comme sur fond foncé */
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 2px #fff;}

/* Titres */
h1,h2,h3{font-weight:700;margin:0;}
h1{font-size:clamp(1.75rem,4vw,2.25rem);color:var(--green);margin-bottom:.75rem;line-height:1.25;}
h3{font-weight:600;font-size:.9375rem;color:var(--green);}
.big{font-size:clamp(1.5rem,3.5vw,2rem);font-weight:700;color:var(--ink);line-height:1.25;margin:0;}
.big .accent{color:var(--green);}
h2.sub{font-size:1rem;font-weight:600;color:var(--green);margin:1.75rem 0 .5rem;}
.detail-columns .main > h2.sub:first-child{margin-top:0;}
h2.side-title{font-size:1rem;font-weight:600;color:var(--green);margin-bottom:.5rem;}

/* Boutons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.375rem;border-radius:30px;font-weight:600;font-size:.9375rem;cursor:pointer;border:1px solid transparent;transition:background .15s,color .15s;}
.btn-primary{background:var(--green-dark);color:#fff;}
.btn-primary:hover{background:var(--green);}
.btn-outline{background:transparent;border-color:var(--ink);color:var(--ink);font-family:inherit;}
.btn-outline:hover{background:var(--ink);color:#fff;}
.btn-sm{padding:.5rem 1rem;font-size:.875rem;}

/* En-tête */
.site-header{position:sticky;top:0;z-index:50;background:rgba(253,252,250,.95);backdrop-filter:blur(6px);border-bottom:1px solid #e6e6e3;}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;gap:.5rem 1rem;}
.logo{display:inline-flex;align-items:center;}
.logo img{height:40px;width:auto;}
.main-nav ul{display:flex;gap:1.75rem;font-size:.9375rem;font-weight:500;}
.main-nav a{padding:.25rem 0;}
.main-nav a:hover{color:var(--green-dark);text-decoration:underline;text-underline-offset:4px;}
.main-nav a[aria-current="page"]{color:var(--green-dark);text-decoration:underline;text-underline-offset:4px;}
.header-actions{display:flex;align-items:center;gap:.875rem;}
.lang-switch{display:flex;border:1px solid var(--ink);border-radius:20px;overflow:hidden;font-size:.8125rem;font-weight:700;}
.lang-switch a{display:flex;align-items:center;justify-content:center;min-width:2.5rem;min-height:2rem;padding:.25rem .75rem;color:var(--ink);}
.lang-switch a[aria-current="true"]{background:var(--ink);color:#fff;}
.lang-switch a:not([aria-current]):hover{background:var(--tint);}
.lang-switch a:focus-visible{outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff;}
.menu-toggle{display:none;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;background:none;border:1px solid transparent;border-radius:.5rem;font-size:1.5rem;color:var(--ink);cursor:pointer;}

@media (max-width:820px){
  .header-inner{flex-wrap:wrap;}
  .main-nav{order:3;flex-basis:100%;}
  .main-nav ul{flex-wrap:wrap;gap:.25rem 1.25rem;}
  /* Avec JavaScript : menu repliable. Sans JavaScript : liens toujours visibles sous le logo. */
  .js .menu-toggle{display:inline-flex;}
  .js .main-nav{display:none;position:absolute;left:0;right:0;top:100%;height:calc(100vh - var(--hdr,4rem));height:calc(100dvh - var(--hdr,4rem));background:var(--bg);padding:1.5rem;overflow-y:auto;z-index:100;}
  .js .main-nav.open{display:block;}
  .js .main-nav ul{flex-direction:column;gap:1.25rem;font-size:1.125rem;}
  .js .header-inner{flex-wrap:nowrap;}
}
@media (max-width:480px){
  .header-inner{padding:.75rem 1rem;}
  .logo img{height:28px;}
}

/* Hero */
.hero{padding:4rem 0 2.5rem;}
.hero-grid{display:grid;grid-template-columns:280px 1fr;gap:3.5rem;align-items:center;}
.hero-photo{position:relative;width:260px;}
.hero-photo .frame{position:absolute;inset:14px -14px -14px 14px;border:2px solid var(--ink);border-radius:4px;z-index:0;}
.hero-photo .photo-box{position:relative;z-index:1;background:var(--green);border-radius:4px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.hero-photo .photo-box img{width:100%;height:100%;object-fit:cover;object-position:center;}
.greeting{font-size:.9375rem;color:var(--muted);margin-bottom:.25rem;}
.hero-title{font-size:clamp(1.625rem,4vw,2.5rem);font-weight:600;color:var(--ink);margin:0 0 .375rem;line-height:1.3;}
.hero-title .highlight{background:var(--tint);color:var(--green-dark);padding:2px 10px;border-radius:6px;}
.hero-bio{margin:1rem 0 1.375rem;color:var(--text-2);max-width:520px;}
.hero-ctas{display:flex;gap:.875rem;flex-wrap:wrap;margin-bottom:1.375rem;}
.follow{display:flex;align-items:center;gap:.625rem;font-size:.875rem;color:var(--muted);}
.follow p{margin:0;}
.follow ul{display:flex;gap:.625rem;}
.follow a{width:2.5rem;height:2.5rem;border-radius:50%;background:var(--tint);color:var(--green-dark);display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:700;}
.follow a:hover{background:var(--green-dark);color:#fff;}
@media (max-width:820px){.hero-grid{grid-template-columns:1fr;gap:2rem;max-width:480px;margin:0 auto;}.hero-photo{margin:0 auto;}}

/* Sections */
section{padding:3.75rem 0;}
.alt{background:#fbfbf9;}
.section-head{text-align:center;margin-bottom:2.5rem;}

/* Compétences */
.skills-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.skill-card{background:#f6f6f4;border-radius:var(--radius);padding:1.5rem;}
.skill-head{display:flex;align-items:center;gap:.625rem;margin-bottom:.875rem;}
.skill-head .icon{font-size:1.375rem;color:var(--green-dark);}
.skill-head h3{font-size:1rem;color:var(--ink);font-weight:700;}
.skill-tags,.tags,.detail-meta{display:flex;flex-wrap:wrap;gap:.5rem;}
.skill-tags .tag{background:#fff;border:1px solid #d6d6d2;}
@media (max-width:820px){.skills-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.skills-grid{grid-template-columns:1fr;}}

/* À propos */
.about-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;margin-bottom:2.25rem;}
.about-intro p{color:var(--text-2);font-size:1rem;}
.about-philosophy{background:var(--ink);color:#fff;border-radius:var(--radius);padding:1.75rem;position:relative;}
.about-philosophy .quote-mark{display:block;width:34px;height:26px;color:var(--green);margin-bottom:.625rem;}
.philosophy-quote{font-size:1.0625rem;font-weight:600;font-style:italic;margin-bottom:.75rem;}
.philosophy-quote p{margin:0;}
.philosophy-quote .q-accent{color:var(--tint);font-weight:700;}
.philosophy-author{font-size:.875rem;font-weight:700;color:var(--tint);margin:0 0 .75rem;}
.philosophy-sub{font-size:.9375rem;color:#d9d9d9;margin:0;}
.pillars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem;}
.pillar-card{background:#fff;border:1px solid #e6e6e3;border-radius:var(--radius);padding:1.375rem;display:flex;flex-direction:column;}
.pillar-card h3{font-size:1.0625rem;color:var(--green-dark);margin-bottom:.5rem;}
.pillar-card p{font-size:.9375rem;color:var(--text-2);margin-bottom:.875rem;flex:1;}
.pillar-card .pillar-metric{display:inline-block;align-self:flex-start;flex:none;margin:auto 0 0;background:var(--tint);color:var(--green-dark);font-weight:700;font-size:.875rem;padding:.375rem .75rem;border-radius:10px;}
@media (max-width:900px){.about-grid{grid-template-columns:1fr;}.pillars-grid{grid-template-columns:1fr;}}

/* Cartes projets */
.projects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem;}
.project-card{position:relative;height:100%;background:#fff;border:1px solid #e6e6e3;border-radius:var(--radius);overflow:hidden;transition:box-shadow .15s;}
.project-card:hover{box-shadow:0 10px 30px rgba(0,0,0,.08);}
.project-card .thumb{aspect-ratio:16/9;background:var(--green-dark);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;text-align:center;overflow:hidden;}
.project-card .thumb img{width:100%;height:100%;object-fit:cover;object-position:center;}
.project-card .body{padding:1.25rem 1.375rem 1.5rem;}
.project-card .status{font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:var(--green-dark);font-weight:700;margin-bottom:.375rem;}
.project-card .title{font-weight:600;font-size:1.0625rem;color:var(--ink);margin-bottom:.375rem;}
.project-card .company{color:var(--green-dark);font-size:.875rem;font-weight:600;margin-bottom:.625rem;}
.project-card .tags{margin-top:.75rem;}
.tag{background:var(--tint);color:var(--green-dark);font-size:.8125rem;padding:.25rem .625rem;border-radius:12px;font-weight:600;}
@media (max-width:760px){.projects-grid{grid-template-columns:1fr;}}

/* Lien "étendu" : toute la carte est cliquable, mais le lien garde un nom court et explicite */
.stretched::after{content:"";position:absolute;inset:0;border-radius:var(--radius);}
.stretched:focus-visible{outline:none;box-shadow:none;}
.stretched:focus-visible::after{outline:3px solid var(--focus);outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff;}

.center-link{text-align:center;margin:2.25rem 0 0;}
.center-link a{font-weight:600;color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;}
.center-link a:hover{color:var(--green);}

/* Contributions */
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.article-card{position:relative;height:100%;background:#f6f6f4;border-radius:var(--radius);padding:1.625rem;display:flex;flex-direction:column;min-height:220px;}
.article-card:hover{background:#efefec;}
.article-card-top{display:flex;align-items:center;justify-content:space-between;gap:.625rem;margin-bottom:.5rem;}
.article-card .date{font-size:.8125rem;color:var(--muted);margin:0;}
.type-chip{font-size:.75rem;text-transform:uppercase;letter-spacing:.4px;}
.type-chip-tool{background:var(--green-dark);color:#fff;}
.article-card h2,.article-card h3{font-size:1.0625rem;margin-bottom:.625rem;color:var(--ink);}
.article-card .excerpt{font-size:.9375rem;color:var(--text-2);flex:1;}
.article-card .readmore{margin:.875rem 0 0;color:var(--green-dark);font-weight:700;font-size:.9375rem;}
.article-card .readmore a{text-decoration:underline;text-underline-offset:3px;}
@media (max-width:820px){.articles-grid{grid-template-columns:1fr;}}

/* Témoignages */
.testi-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;align-items:start;}
.testi-card{margin:0;background:#fff;border:1px solid #e6e6e3;border-radius:var(--radius);padding:1.375rem;height:100%;display:flex;flex-direction:column;}
.testi-card .quote{font-size:.9375rem;color:var(--text-2);margin-bottom:1rem;}
.testi-card .quote p:last-child{margin-bottom:0;}
.testi-person{display:flex;align-items:center;gap:.625rem;margin-top:auto;padding-top:.875rem;}
.avatar{width:34px;height:34px;border-radius:50%;background:var(--tint);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--green-dark);font-size:.8125rem;overflow:hidden;flex:none;}
.avatar img{width:100%;height:100%;object-fit:cover;}
.testi-person .name{display:block;font-weight:700;font-size:.9375rem;}
.testi-person .name a{color:var(--green-dark);text-decoration:underline;text-underline-offset:2px;}
.testi-person .name a:hover{color:var(--green);}
.testi-person .role{display:block;font-size:.8125rem;color:var(--muted);}
@media (max-width:820px){.testi-grid{grid-template-columns:1fr;}}

/* Contact */
.contact-grid{display:grid;grid-template-columns:280px 1fr;gap:2.25rem;}
.contact-info{display:flex;flex-direction:column;gap:1.25rem;background:#f6f6f4;border-radius:var(--radius);padding:1.5rem;align-self:start;}
.contact-info .item{display:flex;gap:.75rem;font-size:.9375rem;}
.contact-info .item .ico{width:1.25rem;font-size:1.125rem;color:var(--green-dark);flex:none;margin-top:.15rem;}
.contact-info .label{display:block;color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.3px;}
.contact-info .value{display:block;overflow-wrap:anywhere;}
.contact-info a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;}
form{background:#fff;border:1px solid #e6e6e3;border-radius:var(--radius);padding:1.75rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;}
.field{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem;}
.form-row .field{margin-bottom:0;}
.field label{font-size:.875rem;font-weight:600;color:var(--text-2);}
.field input,.field textarea{border:1px solid #767676;border-radius:8px;padding:.625rem .75rem;font-family:inherit;font-size:1rem;color:var(--ink);background:#fff;}
.field input::placeholder,.field textarea::placeholder{color:#6b6b6b;opacity:1;}
.field textarea{min-height:7rem;resize:vertical;}
.form-hint{font-size:.875rem;color:var(--muted);margin:0 0 1rem;}
.form-submit{text-align:center;margin-top:.5rem;}
@media (max-width:820px){.contact-grid{grid-template-columns:1fr;}.form-row{grid-template-columns:1fr;}}

/* Pied de page */
.site-footer{padding:2.25rem 0;border-top:1px solid #e6e6e3;text-align:center;font-size:.875rem;color:var(--muted);}
.site-footer .flogo{display:inline-flex;margin-bottom:.875rem;}
.site-footer p{margin:0;}

/* Pages intérieures */
.page-hero{padding:3rem 0 1.875rem;text-align:center;}
.page-hero .portfolio-download{margin:1.125rem 0 0;}
.breadcrumb{font-size:.875rem;color:var(--muted);margin-bottom:1.125rem;}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;}
.page-hero .breadcrumb ol{justify-content:center;}
.breadcrumb li + li::before{content:"/";margin-right:.5rem;}
.breadcrumb a{color:var(--green-dark);font-weight:600;text-decoration:underline;text-underline-offset:3px;}

.detail-hero{padding:2.25rem 0 1.25rem;}
.detail-hero.centered{text-align:center;}
.detail-hero .status{font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:var(--green-dark);font-weight:700;margin-bottom:.375rem;}
.detail-hero .subtitle{color:var(--text-2);max-width:640px;}
.detail-hero.centered .subtitle{margin-inline:auto;}
.detail-meta{margin:.875rem 0 1.25rem;}
.detail-cover{aspect-ratio:21/9;background:var(--green-dark);border-radius:var(--radius);margin-bottom:2.25rem;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.25rem;overflow:hidden;}
.detail-cover img{width:100%;height:100%;object-fit:cover;object-position:center;}
.detail-columns{display:grid;grid-template-columns:2fr 1fr;gap:3rem;}
.detail-columns .side{background:#f6f6f4;border-radius:var(--radius);padding:1.5rem;height:fit-content;}
.side .block{padding:0;margin-bottom:1.375rem;}
.side .block:last-child{margin-bottom:0;}
.side-list{list-style:disc;padding-left:1.125rem;}
.side-list li{font-size:.9375rem;color:var(--text-2);padding:.125rem 0;}
.side-list.links{list-style:none;padding-left:0;}
.side-list.links a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;}
.process-step{margin-bottom:1.625rem;display:flex;gap:1rem;align-items:flex-start;}
.process-step .step-num{flex:none;width:38px;height:38px;border-radius:50%;background:var(--tint);color:var(--green-dark);font-weight:700;font-size:.875rem;display:flex;align-items:center;justify-content:center;}
.process-step .step-label{color:var(--green-dark);font-weight:700;font-size:.8125rem;margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.5px;}
.process-step h3{font-size:1.0625rem;color:var(--ink);margin-bottom:.375rem;}
.process-step > div{min-width:0;}
.step-quote{border-left:3px solid var(--green);background:var(--tint);padding:.75rem 1rem;margin:.625rem 0 .875rem;font-style:italic;color:var(--green-dark);font-size:.9375rem;border-radius:0 8px 8px 0;}
.step-quote p{margin:0;}
.step-quote cite{display:block;margin-top:.375rem;font-style:normal;font-weight:700;font-size:.8125rem;color:var(--green-dark);}

/* Captures projet */
.project-figure{margin:1rem 0 .25rem;}
.project-figure img,.project-figure video{display:block;width:100%;height:auto;max-width:100%;border-radius:var(--radius);border:1px solid #e3e3e0;background:var(--tint);}
.project-figure figcaption{margin-top:.5rem;font-size:.875rem;line-height:1.5;color:var(--muted);font-style:italic;}
.figure-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0 .25rem;}
.figure-gallery .project-figure{margin:0;}
@media (max-width:640px){.figure-gallery{grid-template-columns:1fr;}}
.stats-callouts{display:flex;gap:1.25rem;flex-wrap:wrap;margin-bottom:1.25rem;}
.stat-callout{background:#f6f6f4;border-radius:var(--radius);padding:1.125rem 1.375rem;min-width:140px;max-width:100%;}
.stat-callout .stat-value{display:block;font-size:1.625rem;font-weight:700;color:var(--green-dark);line-height:1.2;}
.stat-callout .stat-label{display:block;font-size:.875rem;color:var(--muted);margin-top:.25rem;}
.achievements{margin-top:.375rem;display:flex;flex-wrap:wrap;gap:.625rem;}
.achievements .ach-item{font-size:.9375rem;color:var(--text-2);background:#fff;border:1px solid #d6d6d2;border-radius:999px;padding:.5625rem 1rem .5625rem .75rem;display:inline-flex;align-items:center;gap:.5rem;}
.achievements .ach-item .icon-svg{color:var(--green-dark);width:18px;height:18px;flex:none;}
@media (max-width:900px){.detail-columns{grid-template-columns:1fr;}}

.article-body{max-width:760px;margin:0 auto;font-size:1.0625rem;color:#444;}
.article-body p{margin-bottom:1.125rem;}
.article-body .skill-name{color:var(--green-dark);font-weight:700;}
.article-links{max-width:760px;margin:0 auto;display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center;}

.decl{max-width:760px;margin:0 auto;}
.decl-lead{font-size:1.0625rem;color:var(--text-2);}
.decl-section{padding:0;margin-top:2rem;}
.decl h2{font-size:1.25rem;color:var(--green-dark);margin-bottom:.625rem;}
.decl h3{font-size:1rem;color:var(--ink);margin:1rem 0 .375rem;}
.decl ul{list-style:disc;padding-left:1.25rem;margin:0 0 1rem;}
.decl li{margin-bottom:.375rem;color:var(--text-2);}
.decl p{color:var(--text-2);}
.decl a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;}
.decl-pages{columns:1;}
.site-footer a{text-decoration:underline;text-underline-offset:3px;}
.back{text-align:center;margin:2.5rem 0 0;}
.back-link{display:inline-block;font-weight:600;color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;}

.legacy{padding-top:4rem;padding-bottom:4rem;}
.legacy a{color:var(--green-dark);text-decoration:underline;}

/* Préférences utilisateur */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{transition:none !important;animation:none !important;}
}
@media (pointer:coarse){
  .lang-switch a{min-height:2.75rem;}
  .main-nav a{padding:.5rem 0;}
}
@media (forced-colors:active){
  .btn,.tag,.pillar-metric,.avatar,.follow a{border:1px solid ButtonText;}
  .hero-title .highlight{border:1px solid CanvasText;}
  .stretched:focus-visible::after{outline-color:Highlight;}
}
@media print{
  .site-header,.skip-link,.menu-toggle,.hero-ctas,form{display:none !important;}
  .alt{background:none;}
}
