/* ===========================================================================
   Ourthe & Sens — Feuille de style principale
   Webzine lifestyle wallon · démonstration portfolio (portfolio.luxtech.be)
   Palette restreinte (papier ivoire + encre chaude) et accent terracotta.
   Titres : Fraunces (serif display). Lecture : Inter (sans-serif).
   ========================================================================= */

/* --------------------------------------------------------------- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
img, svg, picture { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
/* L'attribut [hidden] doit toujours l'emporter, même sur .card { display:flex } */
[hidden] { display: none !important; }

/* ------------------------------------------------------------- Tokens --- */
:root {
  --paper:      #F6F2EA;
  --paper-2:    #FBF9F4;
  --surface:    #FFFFFF;
  --ink:        #211D19;
  --ink-2:      #5C544B;
  --ink-3:      #8A8177;
  --line:       rgba(33, 29, 25, .13);
  --line-2:     rgba(33, 29, 25, .07);
  --accent:     #C8482B;
  --accent-ink: #A2361E;
  --accent-wash:#F3E1D8;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --wrap-read: 42rem;
  --gap: clamp(1.1rem, 2.4vw, 2rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(33,29,25,.05), 0 6px 18px rgba(33,29,25,.05);
  --shadow-md: 0 10px 30px rgba(33,29,25,.10), 0 2px 6px rgba(33,29,25,.06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------- Base ------ */
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* --------------------------------------------------- Demo badge (fixe) --- */
.demo-badge {
  position: fixed; z-index: 150; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .42rem .8rem; border-radius: 999px;
  background: rgba(33, 29, 25, .86); color: #F6F2EA;
  font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.demo-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(200,72,43,.25);
}
.demo-badge:hover { background: rgba(33,29,25,.96); }
@media (max-width: 640px) { .demo-badge { font-size: .68rem; padding: .38rem .7rem; } }

/* ------------------------------------------------------------ Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.brand__mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.02em; color: var(--ink); line-height: 1;
}
.brand__mark .amp { color: var(--accent); font-style: italic; }
.brand__tag {
  display: none; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
@media (min-width: 1080px) { .brand__tag { display: inline; } }

.mainnav { margin-left: auto; }
.nav-cats { display: flex; align-items: center; gap: .3rem; list-style: none; padding: 0; }
.nav-cats a {
  display: inline-block; text-decoration: none; color: var(--ink-2);
  font-size: .92rem; font-weight: 500; padding: .5rem .8rem; border-radius: 999px;
  position: relative; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-cats a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .32rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-cats a:hover { color: var(--ink); }
.nav-cats a:hover::after, .nav-cats a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cats a[aria-current="true"] { color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: .4rem; }
.search {
  display: flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .34rem .5rem .34rem .8rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.search svg { width: 17px; height: 17px; color: var(--ink-3); flex-shrink: 0; }
.search input {
  border: 0; background: transparent; width: 8.5rem; padding: .1rem 0;
  font-size: .9rem; outline: none;
}
.search input::placeholder { color: var(--ink-3); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-inner { height: 64px; }
  .burger { display: inline-flex; order: 3; }
  .mainnav {
    position: fixed; inset: 64px 0 auto 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.6rem; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .mainnav.open { transform: translateY(0); visibility: visible; }
  .nav-cats { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-cats a { padding: .8rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav-cats a::after { display: none; }
  .header-tools { order: 2; margin-left: auto; }
  .search input { width: 7rem; }
}
@media (max-width: 460px) {
  .search { padding: .34rem .5rem; }
  .search input { width: 0; padding: 0; }
  .search:focus-within input { width: 6.5rem; padding: .1rem 0; }
}

/* -------------------------------------------------------- Hero / Une ----- */
.hero { padding: clamp(1.6rem, 4vw, 3rem) 0 1rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink);
}
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); }

.feature {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center; margin-top: 1rem;
}
.feature__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 11; box-shadow: var(--shadow-md); background: var(--paper-2);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__body { padding: .4rem 0; }
.feature h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); margin: .5rem 0 .7rem;
}
.feature h2 a { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.feature h2 a:hover { background-size: 100% 2px; }
.feature__excerpt { font-size: 1.12rem; color: var(--ink-2); line-height: 1.6; max-width: 34rem; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { order: -1; aspect-ratio: 16 / 10; }
}

/* -------------------------------------------------------- Meta lignes --- */
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; font-size: .82rem; color: var(--ink-2); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.byline { font-weight: 600; color: var(--ink); }

.cat-badge {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cat, var(--accent-ink)); text-decoration: none;
}
.cat-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--accent)); }

/* ------------------------------------------------------- Sections -------- */
.section { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem); }
.section-head .lede { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; }

/* Filtres catégories */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink-3); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------------------------------- Grille cards ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.2rem); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; position: relative; }
.card__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--paper-2); box-shadow: var(--shadow-sm);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { position: relative; padding: .9rem .1rem 0; display: flex; flex-direction: column; flex: 1; }
.card__body .cat-badge { position: relative; z-index: 2; align-self: flex-start; }
.card h3 { font-size: 1.28rem; line-height: 1.18; margin: .5rem 0 .45rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--accent-ink); }
.card__excerpt { color: var(--ink-2); font-size: .92rem; line-height: 1.55; margin-bottom: .8rem; }
.card__foot { margin-top: auto; }

.reading { display: inline-flex; align-items: center; gap: .35em; }
.reading svg { width: 13px; height: 13px; }

/* --------------------------------------------------- Encart monétisation - */
.ad {
  position: relative; border: 1px dashed var(--line); border-radius: var(--radius);
  background:
    linear-gradient(120deg, transparent 0 49.6%, var(--line-2) 49.6% 50.4%, transparent 50.4%) 0 0 / 22px 22px,
    var(--paper-2);
  padding: 1.3rem; display: flex; align-items: center; gap: 1rem; overflow: hidden;
}
.ad__label {
  position: absolute; top: .6rem; right: .8rem; font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 600;
}
.ad__icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--accent-wash);
  display: grid; place-items: center; color: var(--accent-ink);
}
.ad__icon svg { width: 24px; height: 24px; }
.ad__title { font-family: var(--font-display); font-size: 1.1rem; }
.ad__text { font-size: .86rem; color: var(--ink-2); }
.ad__cta {
  margin-left: auto; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .85rem;
  color: var(--accent-ink); border: 1px solid var(--accent); padding: .5rem .9rem; border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ad__cta:hover { background: var(--accent); color: #fff; }
.ad--rail { flex-direction: column; text-align: center; }
.ad--rail .ad__cta { margin-left: 0; }
@media (max-width: 560px) { .ad { flex-wrap: wrap; } .ad__cta { margin-left: 0; } }

/* --------------------------------------------------------- Newsletter ---- */
.newsletter {
  background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(200,72,43,.5), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.newsletter__inner { position: relative; max-width: 40rem; }
.newsletter h2 { color: var(--paper); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
.newsletter p { color: rgba(246,242,234,.78); margin: .6rem 0 1.3rem; max-width: 34rem; }
.nl-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.nl-form input {
  flex: 1 1 15rem; border: 1px solid rgba(246,242,234,.25); background: rgba(246,242,234,.06);
  color: var(--paper); border-radius: 999px; padding: .85rem 1.2rem; font-size: .95rem; min-width: 0;
}
.nl-form input::placeholder { color: rgba(246,242,234,.55); }
.nl-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn {
  border: 0; cursor: pointer; font-weight: 600; font-size: .95rem; border-radius: 999px;
  padding: .85rem 1.5rem; background: var(--accent); color: #fff;
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.nl-note { font-size: .78rem; color: rgba(246,242,234,.6); margin-top: .9rem; }
.nl-ok {
  display: none; align-items: center; gap: .6rem; margin-top: 1rem;
  background: rgba(246,242,234,.1); border: 1px solid rgba(246,242,234,.2);
  padding: .8rem 1.1rem; border-radius: 12px; font-size: .92rem;
}
.nl-ok.show { display: flex; }
.nl-ok svg { width: 20px; height: 20px; color: #7FD1A6; flex-shrink: 0; }

/* ---------------------------------------------------------- Article ------ */
.article { padding-top: clamp(1.4rem, 4vw, 2.6rem); }
.breadcrumb { font-size: .82rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.breadcrumb a { text-decoration: none; color: var(--ink-2); }
.breadcrumb a:hover { color: var(--accent-ink); }
.article__head { max-width: 52rem; margin-inline: auto; text-align: center; }
.article__head h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); margin: .8rem 0 1rem; }
.article__dek { font-size: 1.2rem; color: var(--ink-2); line-height: 1.55; max-width: 40rem; margin: 0 auto 1.4rem; }
.article__meta { justify-content: center; margin-bottom: 1.6rem; }
.article__cover {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8; background: var(--paper-2); margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Corps typographié — cœur de l'expérience de lecture */
.prose { max-width: var(--wrap-read); margin-inline: auto; }
.prose p, .prose ul, .prose figure, .prose blockquote, .prose h2 { max-width: var(--wrap-read); margin-inline: auto; }
.prose p {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.78; color: #2A251F;
  margin: 0 0 1.4em; hyphens: auto;
}
.prose .lead {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.5; color: var(--ink);
  font-weight: 450; margin-bottom: 1.3em; hyphens: none;
}
.prose .lead + p::first-letter,
.prose .dropcap::first-letter {
  font-family: var(--font-display); font-weight: 600; font-size: 3.4em; line-height: .82;
  float: left; margin: .06em .12em 0 0; color: var(--accent-ink);
}
.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 1.9em auto .6em; line-height: 1.15;
}
.prose h2::before { content: ""; display: block; width: 2rem; height: 3px; background: var(--accent); margin-bottom: .7rem; border-radius: 2px; }
.prose ul { padding-left: 1.3em; margin: 0 auto 1.5em; }
.prose li { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); line-height: 1.65; margin-bottom: .55em; padding-left: .3em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }

.prose blockquote {
  margin: 1.8em auto; padding: .2em 0 .2em 1.4rem; border-left: 3px solid var(--accent);
}
.prose blockquote p {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.35; color: var(--ink); margin-bottom: .3em;
}
.prose blockquote cite { font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.prose blockquote cite::before { content: "— "; }

.prose figure { margin: 2em auto; }
.prose figure.wide { max-width: min(56rem, 92vw); }
.prose figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--paper-2); aspect-ratio: 16/8; object-fit: cover; }
.prose figure.square img { aspect-ratio: 4/3; }
.prose figcaption { font-size: .82rem; color: var(--ink-2); text-align: center; margin-top: .7rem; font-style: italic; }

/* Partage */
.share { max-width: var(--wrap-read); margin: 2.4rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.share span { font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.share a, .share button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; text-decoration: none; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; }

/* Auteur */
.author-card {
  max-width: var(--wrap-read); margin: 2.2rem auto 0; padding: 1.3rem 1.5rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; gap: 1rem;
}
.avatar {
  border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--accent);
}
.author-card .avatar { width: 54px; height: 54px; font-size: 1.3rem; }
.author-card b { font-size: 1.02rem; }
.author-card p { font-size: .86rem; color: var(--ink-2); margin-top: .1rem; }

/* Commentaires */
.comments { max-width: var(--wrap-read); margin: 0 auto; }
.comment { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-2); }
.comment .avatar { width: 42px; height: 42px; font-size: 1rem; }
.comment__body b { font-size: .95rem; }
.comment__body time { font-size: .76rem; color: var(--ink-3); margin-left: .5rem; }
.comment__body p { font-size: .95rem; color: #2A251F; margin-top: .3rem; line-height: 1.6; }
.comment-form { margin-top: 1.4rem; display: grid; gap: .7rem; }
.comment-form textarea, .comment-form input {
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: .8rem 1rem;
  font-size: .95rem; width: 100%; resize: vertical; font-family: inherit;
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.comment-form .row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.comment-form .row input { flex: 1 1 12rem; }
.form-note { font-size: .78rem; color: var(--ink-3); }

/* Articles similaires */
.related { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4rem); }

/* -------------------------------------------------------- Empty state ---- */
.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-2); grid-column: 1 / -1; }
.empty svg { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 1rem; }
.empty b { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); display: block; margin-bottom: .3rem; }

/* ------------------------------------------------------------ Footer ----- */
.site-footer { background: var(--ink); color: rgba(246,242,234,.72); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand__mark { color: var(--paper); font-size: 1.6rem; }
.footer-brand .amp { color: var(--accent); font-style: italic; }
.footer-brand p { font-size: .9rem; margin-top: .8rem; max-width: 22rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,242,234,.5); margin-bottom: .9rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-col a { text-decoration: none; font-size: .92rem; color: rgba(246,242,234,.78); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(246,242,234,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(246,242,234,.6);
}
.footer-bottom a { color: rgba(246,242,234,.85); text-decoration: none; }
.back-portfolio { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; }
.back-portfolio:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Reveal au scroll --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Chargement image (fondu) */
img.lazy-img { opacity: 0; transition: opacity .5s var(--ease); }
img.lazy-img.loaded { opacity: 1; }

/* Utilitaires */
.mt-lg { margin-top: clamp(2rem, 5vw, 3.4rem); }
