/* ============================================================
   style.css — Portfolio Paméla Novais
   Polices : Playfair Display (titres serif) · Poppins (tout le reste)
   CSS scopé par ID de section
   ============================================================ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── Tokens CSS ─────────────────────────────────────────────── */
:root {
  --cream:       #FFFBF4;
  --white:       #FFFBF4;
  --card:        #FCFBF9;
  --field:       #F6F1E7;
  --placeholder: #E9E2D6;
  --ink:         #2A0A14;
  --bordeaux:    #5A1024;
  --pink:        #FF2E8C;
  --coral:       #F15A2B;
  --rose:        #DC4F86;
  --gold:        #EBA53C;
  --green:       #1F7A4D;
  --txt-2:       #5A3A42;
  --txt-3:       #9A6A52;
  --muted:       #9A8A80;
  --shadow-sm:   0 14px 30px rgba(42,10,20,.10);
  --shadow-md:   0 30px 70px rgba(42,10,20,.18);
  --radius-pill: 100px;
  --radius-card: 14px;
  --radius-lg:   22px;
  --max-w:       1280px;
  --pad-x:       44px;
  --pad-section: 90px;
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--pink); color: var(--card); }

/* ── Utilitaires typographiques ─────────────────────────────── */
.serif         { font-family: 'Playfair Display', serif; }
.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;      /* +2px — plus lisible sur grand écran */
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.chip {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── Dégradé sunset (meadow) ────────────────────────────────── */
.meadow {
  position: absolute;
  inset: -12%;
  filter: blur(46px);
  background:
    radial-gradient(42% 38% at 30% 12%, #F4592B 0%, rgba(244,89,43,0) 60%),
    radial-gradient(36% 40% at 84% 24%, #F2899F 0%, rgba(242,137,159,0) 64%),
    radial-gradient(46% 48% at 70% 60%, #F2702E 0%, rgba(242,112,46,0) 58%),
    radial-gradient(48% 50% at 88% 88%, #F4A6B6 0%, rgba(244,166,182,0) 66%),
    radial-gradient(40% 44% at 96% 92%, #EE6F8E 0%, rgba(238,111,142,0) 66%),
    radial-gradient(40% 40% at 46% 40%, #FBEAD3 0%, rgba(251,234,211,0) 60%),
    radial-gradient(60% 50% at 55% 70%, #FBE3CE 0%, rgba(251,227,206,0) 72%),
    #FBE6D2;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Boutons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover   { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(42,10,20,.15); }
.btn:active  { transform: scale(.98); }
.btn-bordeaux { background: var(--bordeaux); color: var(--cream); }
.btn-white    { background: var(--white);    color: var(--bordeaux); }
.btn-outline  { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

/* ── Champs formulaire ──────────────────────────────────────── */
.field {
  width: 100%;
  background: var(--field);
  border: 1.5px solid rgba(42,10,20,.10);
  border-radius: 14px;
  padding: 17px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field::placeholder { color: var(--muted); }
.field:focus {
  border-color: var(--pink);
  background: var(--white);
}

/* ── Reveal au scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Keyframes globaux ──────────────────────────────────────── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes blink   { 0%,50%{opacity:1} 50.01%,100%{opacity:0} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes wip-stripes { from{background-position:0 0} to{background-position:48px 0} }
@keyframes wip-gear    { to{transform:rotate(360deg)} }
@keyframes wip-up      { from{transform:translate(-50%,160%);opacity:0} to{transform:translate(-50%,0);opacity:1} }

/* ================================================================
   #site-header
   ================================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad-x);
  background: var(--white);
  border-bottom: 1px solid rgba(42,10,20,.10);
  transition: box-shadow .3s ease;
}
#site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(42,10,20,.08);
}
#site-header .logo {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity .2s;
}
#site-header .logo:hover { opacity: .75; }
#site-header .logo .dot { color: var(--pink); }

#site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 13px;      /* +2px — navigation lisible sur grand écran */
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
#site-header nav a {
  color: var(--ink);
  opacity: .6;
  transition: opacity .2s, color .2s;
}
#site-header nav a:hover  { opacity: 1; }
#site-header nav a.active { opacity: 1; color: var(--pink); }
#site-header nav .nav-connexion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#site-header nav .nav-contact {
  background: var(--bordeaux);
  color: var(--cream) !important;
  opacity: 1 !important;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease !important;
}
#site-header nav .nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(90,16,36,.25);
}

/* Burger mobile */
#site-header .burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
#site-header .burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
#site-header .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#site-header .burger.open span:nth-child(2) { opacity: 0; }
#site-header .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   #hero  (accueil)
   ================================================================ */
#hero {
  position: relative;
  padding: 100px var(--pad-x) 110px;
  overflow: hidden;
  background: #FBE6D2;
}
#hero .postcard {
  position: relative;
  max-width: min(1180px, 96vw);      /* plus large, quasi plein écran */
  margin: 0 auto;
  background: rgba(252,251,249,0.80);
  backdrop-filter: blur(2px);
  border: none;                       /* pas de bordure noire */
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(42,10,20,.14), 0 4px 16px rgba(42,10,20,.08);
  padding: clamp(24px, 3vw, 44px);
}
#hero .postcard-inner-border {
  display: none; /* tirets supprimés */
}
#hero .postcard-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 34px;
  align-items: start;
}
#hero .hero-left {
  position: relative;
  margin-top: 6px;
  padding-right: 8px;
  z-index: 2;
}
#hero .hero-eyebrow {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}
#hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(46px, 5.5vw, 88px);
  line-height: .92;
  color: var(--ink);
}
#hero h1 .dot { color: var(--pink); }
#hero .typewriter-wrap {
  display: flex;
  align-items: center;
  min-height: clamp(36px, 4vw, 60px);
  margin-top: clamp(14px, 1.5vw, 26px);
}
#hero .hero-typewriter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 52px);   /* 3vw → 57px à 1920px */
  color: var(--coral);
}
#hero .cursor {
  display: inline-block;
  width: 2px;
  height: clamp(26px, 3vw, 46px);
  background: var(--coral);
  margin-left: 3px;
  animation: blink 1s step-end infinite;
}
#hero .hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 30px);
  color: var(--txt-2);
  margin-top: clamp(14px, 1.5vw, 22px);
  line-height: 1.3;
}

/* Photo épinglée */
#hero .hero-photo-wrap {
  position: relative;
  margin-top: 8px;
}
#hero .pin {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 4px 8px rgba(42,10,20,.3), inset 0 2px 3px rgba(255,255,255,.55);
}
#hero .photo-frame {
  background: var(--card);
  padding: 12px 12px 48px;
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
  transform: rotate(3deg);
}
#hero .photo-frame img,
#hero .photo-frame .photo-placeholder {
  width: 100%;
  height: clamp(180px, 18vw, 320px);  /* légèrement dézoomé */
  object-fit: cover;
  object-position: center 60%;        /* cadrage sur le visage */
  border-radius: 2px;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

/* Bas de la carte : Portfolio + badge */
#hero .postcard-bottom {
  position: relative;
  margin-top: -52px;   /* badge chevauche la photo */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
#hero .hero-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(68px, 8vw, 130px);   /* 8vw → 153px à 1920px, plafonné à 130 */
  line-height: .88;
  color: var(--ink);
}
#hero .hero-wordmark sup {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 24px);
  letter-spacing: .08em;
  vertical-align: super;
}
#hero .hero-badge {
  position: relative;
  width: clamp(90px, 8vw, 130px);
  height: clamp(90px, 8vw, 130px);
  flex: none;
  margin-top: 24px;
}
#hero .hero-badge svg {
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}
#hero .badge-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hero .badge-dot::after {
  content: '';
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--pink);
}

/* ================================================================
   #concept
   ================================================================ */
#concept {
  padding: var(--pad-section) var(--pad-x);
  background: var(--cream);
}
#concept .concept-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
#concept .concept-eyebrow {
  color: var(--pink);
  margin-bottom: 24px;
}
#concept h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(46px, 4.5vw, 64px);
  line-height: 1.0;
  color: var(--ink);
}
#concept h2 em {
  font-style: italic;
  color: var(--coral);
}
#concept .concept-lead {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
  color: var(--ink);
}
#concept .concept-lead em {
  font-style: italic;
  color: var(--rose);
}
#concept .concept-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt-2);
  margin-top: 22px;
}
#concept .chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ================================================================
   #outils
   ================================================================ */
#outils {
  position: relative;
  padding: 86px 0 92px;
  background: #FFFFFF;  /* fond blanc pur */
  overflow: hidden;
}
#outils .outils-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 var(--pad-x);
}
#outils .outils-eyebrow {
  color: var(--pink);
  margin-bottom: 14px;
}
#outils h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.02;
  color: var(--ink);
}
#outils h2 em { font-style: italic; }
#outils .outils-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt-2);
  max-width: 500px;
  margin: 12px auto 0;
}

/* Marquee — gap:0 sur le conteneur pour éviter le saut à la jointure */
#outils .marquee-track {
  display: flex;
  gap: 0;              /* PAS de gap entre les deux séries, sinon le -50% ne tombe pas juste */
  width: max-content;
  animation: marquee 26s linear infinite;
}
#outils .marquee-track:hover { animation-play-state: paused; }
#outils .tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  flex: none;
}
#outils .tool-tile {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 28px;
  box-shadow: 0 12px 26px rgba(42,10,20,.16);
  transition: transform .25s ease;
}
#outils .tool-item:hover .tool-tile {
  transform: translateY(-8px) rotate(-3deg);
}
#outils .tool-label {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-2);
  font-weight: 500;
  white-space: nowrap;
}

/* ================================================================
   #realisations
   ================================================================ */
#realisations-track {
  position: relative;
  height: calc(100vh + 80px);  /* sticky + 80px de marge pour l'animation scroll */
  background: var(--cream);
}
#realisations {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
#realisations .real-header {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 7;
}
#realisations .real-eyebrow {
  color: var(--pink);
  margin-bottom: 14px;
}
#realisations h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.02;
  color: var(--ink);
}
#realisations h2 em { font-style: italic; }

/* Folder stage */
#realisations .folder-stage {
  position: absolute;
  left: 50%;
  top: 118px;
  transform: translateX(-50%);
  width: 820px;
  max-width: 94%;
  height: calc(100vh - 156px);
  max-height: 580px;
}
#realisations .folder-back {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 720px;
  height: 470px;
  background: linear-gradient(180deg, #E7D2E4, #DCC2DA);
  border-radius: 20px 20px 16px 16px;
}
#realisations .photo {
  position: absolute;
  left: 50%;
  bottom: 160px;
  margin-left: -115px;
  width: 230px;
  z-index: 1;
  opacity: 0;
  transform: translate(0px, 130px);
  transition: none;
  will-change: transform, opacity;
}
#realisations .photo:hover {
  z-index: 100 !important;
  cursor: pointer;
}
#realisations .photo-inner {
  background: var(--card);
  padding: 12px 12px 40px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(42,10,20,.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#realisations .photo:hover .photo-inner {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 22px 44px rgba(42,10,20,.28);
}
#realisations .photo-inner img,
#realisations .photo-img-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--placeholder);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}
#realisations .photo-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  text-align: center;
  margin-top: 8px;
}
/* Folder front */
#realisations .folder-front {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 720px;
  height: 220px;
  z-index: 6;
  background: linear-gradient(180deg, #EBD8E8, #E2C9DF);
  border-radius: 14px 14px 16px 16px;
  box-shadow: 0 -2px 0 rgba(255,255,255,.5) inset, 0 24px 50px rgba(42,10,20,.18);
  overflow: hidden;
}
#realisations .folder-tab {
  position: absolute;
  top: -26px;
  left: 44px;
  width: 200px;
  height: 30px;
  background: #EBD8E8;
  border-radius: 10px 10px 0 0;
}
#realisations .folder-content {
  position: relative;
  padding: 30px 40px;
}
#realisations .folder-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
#realisations .folder-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  max-width: 560px;
}
#realisations .folder-chip {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(252,251,249,.7);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* CTA portfolio */
#realisations-cta {
  background: var(--cream);
  padding: 16px var(--pad-x) 48px;
  text-align: center;
}

/* ================================================================
   #apropos-dark  (section bordeaux accueil)
   ================================================================ */
#apropos-dark {
  position: relative;
  padding: 90px var(--pad-x);
  background: var(--bordeaux);
  color: var(--card);
  overflow: hidden;
}
#apropos-dark .grain { opacity: .22; }
#apropos-dark .about-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
#apropos-dark .about-photo-wrap {
  position: relative;
}
#apropos-dark .about-photo-wrap img {
  width: 100%;
  height: clamp(380px, 42vw, 560px);
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
#apropos-dark .about-photo-placeholder {
  width: 100%;
  height: clamp(380px, 42vw, 560px);
  border-radius: 22px;
  background: rgba(252,251,249,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: rgba(252,251,249,.35);
}
#apropos-dark .about-tag {
  position: absolute;
  bottom: -18px;
  left: -10px;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  background: var(--gold);
  padding: 8px 20px 6px;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.30);
}
#apropos-dark .about-eyebrow {
  color: var(--coral);    /* coral comme dans le Figma, pas or */
  margin-bottom: 22px;
}
/* Pas de H2 dans cette section — le about-lead fait office de titre */
#apropos-dark .about-lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--card);
  max-width: 520px;
  margin-top: 0;
}
#apropos-dark .about-body {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: rgba(252,251,249,.80);
  max-width: 520px;
  margin-top: 20px;
}
/* Bouton outline crème sur fond bordeaux */
.btn-apropos-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--bordeaux);
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-apropos-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

/* ================================================================
   #footer-cta  (bloc sunset au-dessus du footer)
   ================================================================ */
#footer-cta {
  position: relative;
  padding: 100px var(--pad-x) 96px;
  text-align: center;
  overflow: hidden;
  background: #FBE6D2;
}
#footer-cta .meadow {
  position: absolute;
  inset: -14%;
  filter: blur(50px);
  background:
    radial-gradient(40% 40% at 18% 20%, #F4592B 0%, rgba(244,89,43,0) 60%),
    radial-gradient(38% 42% at 82% 18%, #F2899F 0%, rgba(242,137,159,0) 64%),
    radial-gradient(46% 48% at 72% 84%, #F2702E 0%, rgba(242,112,46,0) 58%),
    radial-gradient(42% 44% at 14% 88%, #F4A6B6 0%, rgba(244,166,182,0) 66%),
    radial-gradient(40% 44% at 96% 92%, #EE6F8E 0%, rgba(238,111,142,0) 66%),
    radial-gradient(50% 46% at 50% 50%, #FBEAD3 0%, rgba(251,234,211,0) 66%),
    #FBE6D2;
}
#footer-cta .cta-inner { position: relative; }
#footer-cta .cta-eyebrow {
  color: var(--pink);   /* rose partout où cette section apparaît */
  margin-bottom: 20px;
}
#footer-cta h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(52px, 5.5vw, 74px);
  line-height: 1.0;
  color: var(--ink);
}
#footer-cta h2 em { font-style: italic; }
#footer-cta .btn-bordeaux { margin-top: 36px; }

/* ================================================================
   #site-footer
   ================================================================ */
#site-footer {
  padding: 70px var(--pad-x) 40px;
  background: var(--white);
  color: var(--ink);
}
#site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  padding-bottom: 40px;
}
#site-footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1;
  color: var(--ink);
}
#site-footer .footer-logo .dot { color: var(--pink); }
#site-footer .footer-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
#site-footer .footer-email-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  margin-bottom: 8px;
}
#site-footer .footer-email {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--ink);
  transition: color .2s;
}
#site-footer .footer-email:hover { color: var(--pink); }

#site-footer .footer-divider {
  border: none;
  border-top: 1px solid rgba(42,10,20,.14);
}
#site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 50px;
}
#site-footer .footer-col-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
#site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 15px;
}
#site-footer .footer-links a {
  color: var(--ink);
  transition: color .2s;
}
#site-footer .footer-links a:hover { color: var(--pink); }
#site-footer .footer-tagline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
}
#site-footer .footer-tagline em {
  font-style: italic;
  color: var(--coral);
}

/* Bannière WIP */
#wip-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 160%);
  opacity: 0;
  width: min(480px, 90vw);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(42,10,20,.16);
  z-index: 999;
  transition: transform .42s cubic-bezier(.2,.9,.3,1.2), opacity .42s ease;
}
#wip-banner.open {
  transform: translate(-50%, 0);
  opacity: 1;
}
#wip-banner .wip-stripes {
  height: 9px;
  background: repeating-linear-gradient(45deg,#2A0A14 0 12px,#EBA53C 12px 24px);
  background-size: 48px 9px;
  animation: wip-stripes .7s linear infinite;
}
#wip-banner .wip-body {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
#wip-banner .wip-gear {
  flex: none;
  animation: wip-gear 4s linear infinite;
  transform-origin: center;
  color: var(--coral);
}
#wip-banner .wip-text strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
#wip-banner .wip-text span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}
#wip-banner .wip-close {
  margin-left: auto;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  padding: 2px 6px;
  transition: color .2s;
}
#wip-banner .wip-close:hover { color: var(--ink); }

/* ================================================================
   Barre légale
   ================================================================ */
#site-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ================================================================
   PORTFOLIO — #portfolio-page
   ================================================================ */
#portfolio-page {
  padding: 80px var(--pad-x) 100px;
  background: var(--cream);
}
#portfolio-page .port-intro {
  max-width: var(--max-w);
  margin: 0 auto 52px;
}
#portfolio-page .port-eyebrow {
  color: var(--pink);
  margin-bottom: 16px;
}
#portfolio-page h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .96;
  color: var(--ink);
}
#portfolio-page h1 em { font-style: italic; }
#portfolio-page .port-sub {
  font-size: 16px;
  color: var(--txt-2);
  margin-top: 18px;
  max-width: 520px;
}
#portfolio-page .port-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
#portfolio-page .filter-btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
#portfolio-page .filter-btn:not(.active) { opacity: .55; }
#portfolio-page .filter-btn:hover { transform: translateY(-2px); opacity: 1; }

#portfolio-page .port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
#portfolio-page .project-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s;
}
#portfolio-page .project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
#portfolio-page .project-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
#portfolio-page .card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
#portfolio-page .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
#portfolio-page .card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
#portfolio-page .card-domaine-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
#portfolio-page .card-body {
  padding: 22px 22px 26px;
}
#portfolio-page .card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
#portfolio-page .card-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ================================================================
   PROJET — #projet-page
   ================================================================ */
#projet-page {
  padding: 60px var(--pad-x) 100px;
  background: var(--cream);
  max-width: var(--max-w);
  margin: 0 auto;
}
#projet-page .breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
#projet-page .breadcrumb a { color: var(--muted); transition: color .2s; }
#projet-page .breadcrumb a:hover { color: var(--pink); }
#projet-page .projet-header { margin-bottom: 40px; }
#projet-page h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  margin-top: 14px;
}
#projet-page .projet-visual {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--placeholder);
  margin-bottom: 44px;
}
#projet-page .projet-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#projet-page .projet-desc {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 780px;
}

/* Couche académique */
#projet-page .academique {
  background: var(--bordeaux);
  color: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 50px;
}
#projet-page .academique .acad-eyebrow {
  color: var(--gold);
  margin-bottom: 20px;
}
#projet-page .academique h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--card);
  margin-bottom: 24px;
}
#projet-page .acad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#projet-page .acad-item label {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(252,251,249,.55);
  display: block;
  margin-bottom: 6px;
}
#projet-page .acad-item span {
  font-size: 15px;
  color: var(--card);
  font-weight: 500;
}

/* Commentaires */
#projet-page .commentaires { margin-top: 60px; }
#projet-page .commentaires h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 34px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
#projet-page .commentaires h2 em { font-style: italic; }
#projet-page .commentaires h2 .count {
  background: var(--coral);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}
#projet-page .comment-form {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
#projet-page .comment-form .form-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
#projet-page .comment-item {
  border-bottom: 1px solid rgba(42,10,20,.08);
  padding: 22px 0;
}
#projet-page .comment-item:last-child { border-bottom: none; }
#projet-page .comment-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
#projet-page .comment-date {
  font-size: 12px;
  color: var(--muted);
  margin-left: 10px;
}
#projet-page .comment-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--txt-2);
  margin-top: 8px;
}

/* ================================================================
   À PROPOS — #apropos-page
   ================================================================ */
#apropos-hero {
  position: relative;
  padding: 80px var(--pad-x);
  overflow: hidden;
  background: #FBE6D2;
}
#apropos-hero .apropos-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
#apropos-hero .photo-pinned-wrap {
  position: relative;
}
#apropos-hero .pin {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 4px 8px rgba(42,10,20,.3), inset 0 2px 3px rgba(255,255,255,.55);
}
#apropos-hero .photo-pinned {
  background: var(--card);
  padding: 14px 14px 50px;
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
#apropos-hero .photo-pinned img,
#apropos-hero .photo-pinned .photo-ap-placeholder {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: var(--placeholder);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
#apropos-hero .photo-annotation {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  text-align: center;
  margin-top: 8px;
}
#apropos-hero .apropos-text p.apropos-eyebrow {
  font-family: 'Poppins', sans-serif;
  color: var(--coral);
  margin-bottom: 20px;
}
#apropos-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.05;
  color: var(--ink);
}
#apropos-hero .apropos-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--txt-2);
  margin-top: 18px;
}
#apropos-hero .apropos-text p:first-child:not(.eyebrow) {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--ink);
}

/* Anecdotes */
#anecdotes {
  padding: var(--pad-section) var(--pad-x);
  background: var(--cream);
}
#anecdotes .anec-eyebrow {
  text-align: center;
  color: var(--pink);
  margin-bottom: 14px;
}
#anecdotes h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, 52px);
  text-align: center;
  color: var(--ink);
  margin-bottom: 54px;
}
#anecdotes h2 em { font-style: italic; }
#anecdotes .anec-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 24px;
}
#anecdotes .anec-row-bot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
#anecdotes .anec-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s;
  cursor: default;
}
#anecdotes .anec-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-md);
}
#anecdotes .anec-card:hover .anec-img img { transform: scale(1.05); }
#anecdotes .anec-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}
#anecdotes .anec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;  /* visage + tasse visibles */
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
#anecdotes .anec-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
#anecdotes .anec-body { padding: 22px; }
#anecdotes .anec-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--coral);
  margin-bottom: 8px;
}
#anecdotes .anec-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
#anecdotes .anec-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--txt-2);
}

/* ================================================================
   CONTACT — #contact-page
   ================================================================ */
#contact-page {
  padding: 80px var(--pad-x) 100px;
  background: var(--cream);
}
#contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
#contact-page .contact-eyebrow {
  color: var(--coral);
  margin-bottom: 16px;
}
#contact-page h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.0;
  color: var(--ink);
}
#contact-page h1 em { font-style: italic; }
#contact-page .contact-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--txt-2);
  margin-top: 20px;
}
#contact-page .contact-email {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--pink);
  margin-top: 24px;
  display: block;
  transition: opacity .2s;
}
#contact-page .contact-email:hover { opacity: .75; }
#contact-page .social-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
#contact-page .form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
#contact-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
#contact-page .form-group { margin-bottom: 18px; }
#contact-page .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
#contact-page .form-success {
  background: rgba(31,122,77,.12);
  border: 1.5px solid var(--green);
  color: var(--green);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}
#contact-page .form-success.show { display: block; }

/* ================================================================
   CONNEXION / INSCRIPTION — #auth-page
   ================================================================ */
#auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #FBE6D2;
}
#auth-page .auth-card {
  position: relative;
  width: min(480px, 94vw);
  margin: auto;
  padding: 50px 44px 44px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
#auth-page .auth-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--cream);
}
#auth-page .auth-eyebrow {
  text-align: center;
  color: var(--coral);
  margin-bottom: 10px;
}
#auth-page h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 36px;
  text-align: center;
  color: var(--ink);
  margin-bottom: 26px;
  line-height: 1.1;
}
#auth-page h1 em { font-style: italic; }
#auth-page .auth-notice {
  background: #FBE6D2;
  border-left: 3px solid var(--bordeaux);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--txt-2);
  margin-bottom: 28px;
}
#auth-page .form-group { margin-bottom: 18px; }
#auth-page .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
#auth-page .auth-link {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
#auth-page .auth-link a { color: var(--bordeaux); font-weight: 600; }
#auth-page .auth-error {
  background: rgba(241,90,43,.12);
  border: 1.5px solid var(--coral);
  color: var(--coral);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}
#auth-page .auth-error.show { display: block; }

/* ================================================================
   BACK-OFFICE — #admin-layout
   ================================================================ */
#admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
#admin-sidebar {
  background: #180610;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 36px 0 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
#admin-sidebar .sidebar-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  padding: 0 28px 6px;
  line-height: 1.1;
}
#admin-sidebar .sidebar-logo .dot { color: var(--pink); }
#admin-sidebar .sidebar-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(252,251,249,.3);
  padding: 0 28px;
  margin-bottom: 36px;
}
#admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(252,251,249,.55);
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
#admin-sidebar nav a:hover { background: rgba(255,255,255,.06); color: var(--cream); }
#admin-sidebar nav a.active {
  background: var(--bordeaux);
  color: var(--cream);
}
#admin-sidebar .sidebar-back {
  margin-top: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(252,251,249,.4);
  transition: color .2s;
  cursor: pointer;
}
#admin-sidebar .sidebar-back:hover { color: var(--cream); }

#admin-content {
  background: var(--cream);
  padding: 56px 52px;
}
#admin-content .admin-eyebrow {
  color: var(--coral);
  margin-bottom: 10px;
}
#admin-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 40px;
}
#admin-content h1 em { font-style: italic; }

/* Tableau admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42,10,20,.12);
}
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(42,10,20,.06);
  color: var(--ink);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,.5); }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.badge-actif     { background: rgba(31,122,77,.15); color: var(--green); }
.badge-attente   { background: rgba(241,90,43,.15); color: var(--coral); }
.badge-refuse    { background: rgba(90,16,36,.12);  color: var(--bordeaux); }

/* Formulaire trace (admin) */
.admin-form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
  max-width: 720px;
}
.admin-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form-card .form-group { margin-bottom: 18px; }
.admin-form-card .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ================================================================
   RESPONSIVE — 3 breakpoints UX/UI
   900px : tablettes · 640px : téléphones · 420px : petits écrans
   Principes : touch targets ≥ 44px · texte ≥ 16px · 1 colonne
               espacement progressif · ordre visuel logique
   ================================================================ */

/* ── 900px : tablettes & petits laptops ──────────────────────── */
@media (max-width: 900px) {
  :root {
    --pad-x:       28px;
    --pad-section: 64px;
  }

  /* Header — burger menu */
  #site-header { padding: 18px var(--pad-x); }
  #site-header nav { display: none; }
  #site-header nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--white);
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-size: 15px;
    letter-spacing: .22em;
    z-index: 99;
  }
  #site-header .burger { display: flex; }

  /* Hero — 1 colonne, photo cachée */
  #hero { padding: 60px var(--pad-x) 68px; }
  #hero .postcard-grid { grid-template-columns: 1fr; gap: 24px; }
  #hero .hero-photo-wrap { display: none; }
  #hero .postcard-bottom {
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  #hero .hero-badge { margin-top: 0; }

  /* Concept */
  #concept .concept-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Réalisations — désactive le sticky, affichage statique */
  #realisations-track { height: auto; }
  #realisations { position: relative; height: auto; overflow: visible; }
  #realisations .folder-stage {
    position: relative;
    left: auto; bottom: auto;
    transform: none;
    width: 100%;
    height: auto;
  }

  /* À propos dark — texte d'abord, photo en dessous */
  #apropos-dark .about-grid { grid-template-columns: 1fr; gap: 36px; }
  #apropos-dark .about-photo-wrap { order: 2; }

  /* À propos page */
  #apropos-hero .apropos-grid { grid-template-columns: 1fr; }

  /* Footer CTA */
  #footer-cta { padding: 72px var(--pad-x) 66px; }

  /* Footer */
  #site-footer .footer-top { flex-direction: column; gap: 20px; }
  #site-footer .footer-email-label { text-align: left; }
  #site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Portfolio */
  #portfolio-page .port-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Contact */
  #contact-page .contact-grid { grid-template-columns: 1fr; }

  /* Divers */
  #anecdotes .anec-row-top { grid-template-columns: 1fr; }
  #anecdotes .anec-row-bot { grid-template-columns: 1fr; }
  #projet-page .acad-grid   { grid-template-columns: 1fr; }
  #admin-layout              { grid-template-columns: 1fr; }
  #admin-sidebar             { height: auto; position: relative; }
}

/* ── 640px : téléphones ──────────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --pad-x:       18px;
    --pad-section: 48px;
  }

  /* Header */
  #site-header { padding: 14px var(--pad-x); }
  #site-header .logo { font-size: 22px; }

  /* Hero */
  #hero { padding: 40px var(--pad-x) 48px; }
  #hero .postcard { padding: 18px; }
  #hero h1 { font-size: clamp(36px, 10vw, 52px); }
  #hero .hero-wordmark { font-size: clamp(48px, 14vw, 76px); }
  #hero .postcard-bottom { margin-top: 16px; }

  /* Concept */
  #concept h2 { font-size: clamp(34px, 9vw, 48px); }
  #concept .concept-lead { font-size: clamp(18px, 4.5vw, 22px); }

  /* Réalisations — masquer le dossier, carousel swipe */
  #realisations .folder-back,
  #realisations .folder-front  { display: none !important; }
  /* Supprimer le min-height desktop qui crée l'espace vide */
  #realisations { min-height: 0 !important; }
  /* Remettre le titre en flux normal (il est absolute sur desktop) */
  #realisations .real-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    padding-top: 32px;
  }
  /* Carousel horizontal */
  #realisations .folder-stage  {
    display: flex !important;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 20px 0;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    scrollbar-width: none;
  }
  #realisations .folder-stage::-webkit-scrollbar { display: none; }
  #realisations .photo {
    position: relative !important;
    flex: 0 0 100%;
    scroll-snap-align: start;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    width: 100% !important;
    padding: 0 var(--pad-x);
    box-sizing: border-box;
    bottom: auto !important;
    left: auto !important;
  }
  #realisations .photo-inner   { border-radius: 10px; overflow: hidden; }
  #realisations .photo img     { height: 220px !important; width: 100% !important; object-fit: cover !important; }
  #realisations .photo-label   { font-size: 12px; padding: 8px 12px; }

  /* Réalisations CTA */
  #realisations-cta { padding: 32px var(--pad-x) 40px; }
  #realisations-cta .btn { width: 100%; justify-content: center; }

  /* À propos dark */
  #apropos-dark { padding: 52px var(--pad-x); }
  #apropos-dark .about-photo-wrap img,
  #apropos-dark .about-photo-placeholder { height: clamp(220px, 58vw, 300px); }
  #apropos-dark .about-tag { font-size: 16px; padding: 6px 14px 4px; }

  /* Footer CTA */
  #footer-cta { padding: 56px var(--pad-x) 52px; }
  #footer-cta h2 { font-size: clamp(32px, 9vw, 46px); }
  #footer-cta .btn-bordeaux { width: 100%; justify-content: center; }

  /* Footer */
  #site-footer { padding: 48px var(--pad-x) 28px; }
  #site-footer .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  #site-footer .footer-logo { font-size: 34px; }
  #site-footer .footer-tagline { font-size: 20px; }
  #site-footer .footer-email { font-size: 20px; }
  #site-footer .footer-legal { flex-direction: column; text-align: center; gap: 8px; }

  /* Portfolio */
  #portfolio-page { padding: 48px var(--pad-x) 60px; }
  #portfolio-page .port-grid { grid-template-columns: 1fr; }
  #portfolio-page .port-filters { gap: 8px; }

  /* Contact */
  #contact-page .form-row { grid-template-columns: 1fr; }

  /* Admin */
  #admin-content { padding: 30px 18px; }
}

/* ── 420px : très petits téléphones ─────────────────────────── */
@media (max-width: 420px) {
  :root {
    --pad-x:       14px;
    --pad-section: 40px;
  }

  #site-header .logo { font-size: 20px; }
  #hero .postcard { padding: 14px; }
  #hero h1 { font-size: clamp(32px, 11vw, 42px); }
  #hero .hero-wordmark { font-size: clamp(40px, 15vw, 58px); }
  #footer-cta h2 { font-size: clamp(28px, 10vw, 38px); }
  #site-footer .footer-logo { font-size: 28px; }
  #site-footer .footer-email { font-size: 17px; }
}

/* ── Accessibilité : pas d'animations si préférence système ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
