/*
Theme Name: Maisonwow
Theme URI: https://maisonwow.fr
Author: Maisonwow
Description: Thème WordPress personnalisé pour Maisonwow — déco & maison.
Version: 1.0
Text Domain: maisonwow
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
:root {
  --cream:       #FAF8F3;
  --cream-warm:  #F4EFE4;
  --cream-deep:  #EDE6D6;
  --ink:         #1C1A17;
  --ink-mid:     #4A4640;
  --ink-soft:    #8A857C;
  --ink-faint:   #C4BEB4;
  --gold:        #B8904A;
  --gold-light:  #D4AE72;
  --gold-pale:   #F5EDD8;
  --teal:        #3D6B6B;
  --teal-light:  #5A9090;
  --teal-pale:   #E8F0EF;
  --white:       #FFFFFF;
  --terracotta: #c1694a;

  --ff-display:  'Poppins', Georgia, serif;
  --ff-body:     'DM Sans', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* CURSOR */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: multiply;
}
.cursor.hovering { width: 36px; height: 36px; background: var(--gold-light); }

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28,26,23,0.08);
}

/* Etat par defaut (en haut, avant scroll) : texte clair sur fond sombre */
.logo {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
}
.logo span {
  font-weight: 700;
  color: var(--gold-light, var(--terracotta));
}
.nav-main > li > a {
  color: rgba(255,255,255,0.85);
}
.nav-main > li:hover > a,
.nav-main > li > a:hover {
  color: #fff;
}

/* Etat scrolled : on repasse aux couleurs sombres d'origine */
.site-header.scrolled .logo {
  color: var(--ink);
}
.site-header.scrolled .logo span {
  color: var(--terracotta);
}
.site-header.scrolled .nav-main > li > a {
  color: var(--ink-mid);
}
.site-header.scrolled .nav-main > li:hover > a,
.site-header.scrolled .nav-main > li > a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  background: var(--ink);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--gold); }

/* ═══════════════════════════════════════════
   NAVIGATION — catégories + sous-menu au survol
═══════════════════════════════════════════ */
.nav-main {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main > li {
  position: relative;
}

.nav-main > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 28px 0;
  position: relative;
  transition: color 0.25s;
}

/* soulignement au survol pour les liens simples (sans sous-menu) */
.nav-main > li:not(.menu-item-has-children) > a::after {
  content: '';
  position: absolute;
  bottom: 22px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}
.nav-main > li:not(.menu-item-has-children) > a:hover::after { width: 100%; }

/* petit chevron pour les catégories ayant des sous-éléments */
.nav-main > li.menu-item-has-children > a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  order: 2;
  transition: transform 0.25s var(--ease-out);
}
.nav-main > li.menu-item-has-children:hover > a::before {
  transform: rotate(225deg);
}

/* sous-menu (dropdown) */
.nav-main .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  display: flex;
  flex-direction: column;

  min-width: 220px;
  padding: 12px 0;
  margin: 0;
  list-style: none;

  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(28,26,23,0.12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 999;
}

/* petite flèche décorative au-dessus du dropdown */
.nav-main .sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--white);
  border-radius: 2px;
}

/* apparition au survol de la catégorie */
.nav-main > li.menu-item-has-children:hover > .sub-menu,
.nav-main > li.menu-item-has-children > .sub-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-main .sub-menu li {
  display: block;
  width: 100%;
}

.nav-main .sub-menu li a {
  display: block;
  width: 100%;
  padding: 12px 22px;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-mid);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.nav-main .sub-menu li a:hover {
  background: var(--cream-warm);
  color: var(--gold);
  padding-left: 26px;
}

/* ═══════════════════════════════════════════
   MENU MOBILE — bouton burger (SVG) + panneau plein ecran
   Un seul breakpoint pour tout le comportement mobile du header : 900px
═══════════════════════════════════════════ */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  position: relative;
}
.nav-burger-icon {
  display: block !important;
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.2s;
}
.site-header:not(.scrolled) .nav-burger-icon { stroke: #fff; }
.site-header.scrolled .nav-burger-icon { stroke: var(--ink); }
.nav-burger-icon--close {
  opacity: 0 !important;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.nav-burger.is-open .nav-burger-icon--open {
  opacity: 0 !important;
  transform: translate(-50%, -50%) rotate(90deg);
}
.nav-burger.is-open .nav-burger-icon--close {
  opacity: 1 !important;
  transform: translate(-50%, -50%) rotate(0);
}
.site-header:not(.scrolled) .nav-burger { color: #fff; }
.site-header.scrolled .nav-burger { color: var(--ink); }

@media (max-width: 900px) {
  .site-header { padding: 0 24px; }

  .nav-burger { display: flex; }

  .nav-cta { display: none; }

  .nav-main {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--white, #fff);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 100px 32px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out, ease);
    z-index: 150;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-main.is-open {
    transform: translateX(0);
  }

  .nav-main > li {
    width: 100%;
  }
  .nav-main > li > a {
    padding: 14px 0;
    color: var(--ink-mid) !important;
    width: 100%;
  }
  .nav-main > li.menu-item-has-children > a::before {
    order: 0;
  }

  /* sous-menus en accordeon simple sur mobile, plus de dropdown flottant */
  .nav-main .sub-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
    display: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    width: 100%;
    padding: 0 0 8px 20px;
  }
  .nav-main .sub-menu li a {
    white-space: normal !important;
  }
  .nav-main .sub-menu::before { display: none; }
  .nav-main > li.menu-item-has-children.is-open > .sub-menu {
    display: flex;
  }

  /* voile derriere le panneau
     IMPORTANT : z-index doit rester INFERIEUR a celui de .site-header (100)
     car .nav-main est un descendant positionne de .site-header et hérite
     de son contexte d'empilement — un z-index plus haut ici passerait
     par-dessus le menu et interceptait les clics dessus. */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 90;
  }
  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.nav-is-open {
    overflow: hidden;
  }
}

/* HERO */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left { background: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 64px 80px 64px; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 20px; opacity: 0; animation: slideUp 0.8s var(--ease-out) 0.2s both; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--ff-display); font-size: clamp(2rem, 5.5vw, 3rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 28px; opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.35s both; }
.hero-title em { font-style: italic; color: var(--teal); font-weight: 300; }
.hero-title strong { font-weight: 700; font-style: italic; }
.hero-sub { font-size: 1rem; color: var(--ink-mid); max-width: 400px; line-height: 1.7; margin-bottom: 44px; font-weight: 300; opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.5s both; }
.hero-actions { display: flex; align-items: center; gap: 28px; opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.65s both; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--white); background: var(--terracotta); padding: 14px 32px; border-radius: 2px; transition: background 0.25s, transform 0.25s var(--ease-out), gap 0.25s; }
.btn-primary:hover { background: var(--ink); gap: 16px; }
.btn-primary .arrow { font-size: 1.1rem; }
.btn-ghost { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-mid); border-bottom: 1px solid var(--ink-faint); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.hero-right { position: relative; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: zoomOut 1.4s var(--ease-out) 0.1s both; filter: brightness(0.92) saturate(0.9); }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(250,248,243,0.35) 0%, transparent 40%); }
.hero-stats { position: absolute; bottom: 40px; left: 64px; right: 64px; display: flex; gap: 40px; opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.8s both; z-index: 3; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; color: var(--ink); line-height: 1; }
.hero-stat-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.hero-badge { position: absolute; bottom: 48px; right: 48px; z-index: 3; background: rgba(250, 248, 243, 0.9); backdrop-filter: blur(12px); border: 1px solid rgba(184, 144, 74, 0.3); border-radius: 4px; padding: 16px 20px; text-align: right; opacity: 0; animation: slideUp 1s var(--ease-out) 1s both; }
.hero-badge-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.hero-badge-text { font-family: var(--ff-display); font-size: 1rem; font-weight: 600; color: var(--ink); font-style: italic; }

/* TICKER */
.ticker { background: var(--ink); overflow: hidden; padding: 14px 0; position: relative; }
.ticker-track { display: flex; gap: 0; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item { display: flex; align-items: center; gap: 32px; padding-right: 64px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 400; }
.ticker-item strong { color: rgba(255,255,255,0.9); }
.ticker-dot { color: var(--gold); font-size: 0.5rem; }

/* FEATURED ARTICLES */
.section-featured { padding: 100px 64px; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.section-label { display: flex; align-items: center; gap: 12px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.section-title em { font-style: italic; color: var(--teal); }
.section-link { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mid); border-bottom: 1px solid var(--ink-faint); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; flex-shrink: 0; align-self: flex-end; margin-bottom: 8px; }
.section-link:hover { color: var(--gold); border-color: var(--gold); }
.articles-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 2px; }
.article-card { position: relative; overflow: hidden; cursor: pointer; }
.article-card.featured { grid-row: span 2; }
.article-card-img { width: 100%; overflow: hidden; background: var(--cream-deep); }
.article-card.featured .article-card-img { height: 620px; }
.article-card:not(.featured) .article-card-img { height: 300px; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.7s var(--ease-out), filter 0.5s; filter: brightness(0.9) saturate(0.85); }
.article-card:hover .article-card-img img { transform: scale(1.1); filter: brightness(0.96) saturate(1); }
.article-card-body { background: var(--white); padding: 24px 28px 28px; border-top: 2px solid transparent; transition: border-color 0.3s; }
.article-card:hover .article-card-body { border-color: var(--gold); }
.article-card.featured .article-card-body { padding: 28px 36px 36px; }
.article-cat { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-bottom: 10px; }
.article-cat.gold { color: var(--gold); }
.article-title { font-family: var(--ff-display); font-weight: 600; line-height: 1.2; color: var(--ink); transition: color 0.25s; }
.article-card.featured .article-title { font-size: 1.6rem; margin-bottom: 14px; }
.article-card:not(.featured) .article-title { font-size: 1.15rem; }
.article-card:hover .article-title { color: var(--teal); }
.article-excerpt { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; margin-top: 10px; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card.featured .article-excerpt { -webkit-line-clamp: 3; font-size: 0.92rem; }
.article-read { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 500; transition: gap 0.25s; }
.article-card:hover .article-read { gap: 12px; }

/* CATEGORIES */
.section-categories { background: var(--ink); padding: 80px 64px; }
.section-categories .section-label { color: var(--gold-light); }
.section-categories .section-label::before { background: var(--gold-light); }
.section-categories .section-title { color: var(--white); }
.section-categories .section-title em { color: var(--gold-light); }
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 48px; }
.cat-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; background: rgba(255,255,255,0.05); }
.cat-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 0.7s var(--ease-out), opacity 0.5s; opacity: 0.8; filter: grayscale(30%); }
.cat-card:hover .cat-card-bg { transform: scale(1.12); opacity: 0.75; filter: grayscale(0%); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,26,23,0.9) 0%, transparent 60%); }
.cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 22px; }
.cat-name { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 6px; font-style: italic; }
.cat-count { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cat-card-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.cat-card:hover .cat-card-line { transform: scaleX(1); }

/* SELECTIONS */
.section-selections { padding: 64px 64px 60px 64px; max-width: 1400px; margin: auto; }
.selections-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 56px; margin-bottom: 56px; }
.sel-card { background: var(--cream-warm); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: background 0.35s; cursor: pointer; }
.sel-card:hover { background: var(--cream-deep); }
.sel-card-img { height: 500px; overflow: hidden; }
.sel-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.7s var(--ease-out); filter: saturate(0.8); }
.sel-card:hover .sel-card-img img { transform: scale(1.1); filter: saturate(1); }
.sel-card-body { padding: 28px 32px 36px; flex: 1; display: flex; flex-direction: column; }
.sel-tag { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sel-tag::after { content: ''; flex: 1; height: 1px; background: var(--cream-deep); }
.sel-card-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--ink); margin-bottom: 12px; font-style: italic; }
.sel-card-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 24px; flex: 1; }
.sel-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--ink-faint); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s, gap 0.25s; }
.sel-card:hover .sel-cta { color: var(--gold); border-color: var(--gold); gap: 14px; }

/* ABOUT */
.section-about { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.about-img { position: relative; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.95); transition: transform 12s ease, filter 1s; }
.about-img:hover img { transform: scale(1.04); filter: saturate(0.9) brightness(1); }
.about-img-caption { position: absolute; bottom: 24px; left: 24px; background: rgba(250,248,243,0.85); backdrop-filter: blur(8px); padding: 10px 16px; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-mid); border-left: 2px solid var(--gold); }
.about-content { background: var(--cream-warm); display: flex; flex-direction: column; justify-content: center; padding: 80px 72px; }
.about-title { font-family: var(--ff-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.01em; }
.about-title em { font-style: italic; color: var(--teal); }
.about-text { font-size: 0.95rem; line-height: 1.8; color: var(--ink-mid); margin-bottom: 16px; font-weight: 300; }
.about-text strong { color: var(--ink); font-weight: 500; }
.about-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--white); background: var(--terracotta); padding: 14px 28px; border-radius: 2px; align-self: flex-start; transition: background 0.25s, gap 0.25s; }
.about-cta:hover { background: var(--ink); gap: 16px; }

/* FOOTER (basic) */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto 32px; }
footer a { color: rgba(255,255,255,0.6); transition: color .2s; }
footer a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* Widget "Categories" WordPress en liste deroulante, dans le footer */
.footer-col select,
.footer-col select#cat {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  max-width: 240px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 10px 36px 10px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;

  /* petit chevron dore en background, remplace la fleche native */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AE72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.footer-col select:hover,
.footer-col select:focus {
  border-color: var(--gold-light, #D4AE72);
  outline: none;
}
.footer-col select option {
  background: var(--ink);
  color: #fff;
}
/* le widget core WP entoure le select d'un <form>/<div>, on retire les marges parasites */
.footer-col form,
.footer-col form > div {
  margin: 0;
}
.footer-col .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ANIMATIONS */
@keyframes slideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomOut { from { transform: scale(1.15); } to { transform: scale(1.06); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 1; transform: translateY(32px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* RESPONSIVE (reste du site, header exclu — gere plus haut) */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 40px 60px; }
  .hero-right { height: 50vw; }
  .hero-stats { left: 40px; bottom: 20px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: span 2; grid-row: span 1; }
  .article-card.featured .article-card-img { height: 400px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .about-content { padding: 60px 48px; }
  .section-featured, .section-selections { padding: 80px 40px; }
}
@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
  .hero-left { padding: 100px 24px 48px; }
  .hero-stats { display: none; }
  .section-featured, .section-selections { padding: 60px 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: span 1; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .selections-grid { grid-template-columns: 1fr; }
  .section-categories { padding: 60px 24px; }
  .section-about { grid-template-columns: 1fr; }
  .about-img { height: 56vw; }
  .about-content { padding: 48px 24px; }
  footer { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cursor { display: none; }
}