/* =========================================================
   Fleurs de Louba · feuille de style principale
   ========================================================= */

@font-face { font-family: "Bagel Fat One"; src: url(../fonts/bagel-fat-one-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url(../fonts/josefin-sans-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url(../fonts/josefin-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url(../fonts/josefin-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --pink: #E14171;
  --pink-deep: #C92F5E;
  --pink-soft: #F3C6CF;
  --blush: #F7DDE0;
  --navy: #202A45;
  --navy-2: #2C3757;
  --cream: #F4E4D7;
  --cream-light: #FAF3EC;
  --paper: #FFFBF7;
  --ink: var(--navy);

  --f-display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Josefin Sans", "Century Gothic", system-ui, sans-serif;

  --radius: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 18px 50px -24px rgba(32, 42, 69, .35);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 .8em; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: var(--cream); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; }

/* ---------- Typographie ---------- */
.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.005em;
  font-size: clamp(2.2rem, 1.3rem + 4vw, 4.6rem);
}
.display--md { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); }
.display--sm { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
.kicker {
  font-family: var(--f-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 1rem;
}
.kicker--light { color: var(--cream); }
.kicker--pill { display: inline-block; padding: .55em 1.1em .4em; border-radius: 99px; background: var(--navy); color: var(--cream); }
.script, .lead em, .signature { font-style: italic; }
.script { color: var(--pink); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.25; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.prose p:last-child { margin-bottom: 0; }

.wordmark {
  font-family: var(--f-sans);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .95rem;
  white-space: nowrap;
}
.wordmark em {
  font-family: var(--f-serif);
  text-transform: none;
  letter-spacing: 0;
  color: var(--pink);
  font-size: 1.25em;
  font-weight: 500;
  margin: 0 .05em;
}
.wordmark--light { color: var(--cream); font-size: 1.15rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.7em .8em;
  border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--bg);
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn svg { width: 1.2em; height: 1.2em; margin-top: -.15em; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(32, 42, 69, .6); }
.btn-navy { --bg: var(--navy); --fg: var(--cream); }
.btn-pink { --bg: var(--pink); --fg: var(--cream); }
.btn-cream { --bg: var(--cream); --fg: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s var(--ease), box-shadow .4s, color .4s;
}
.site-header.scrolled {
  background: rgba(250, 243, 236, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  padding-block: 10px;
  box-shadow: 0 10px 30px -20px rgba(32, 42, 69, .3);
}
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease), background .4s, padding .4s var(--ease), box-shadow .4s, color .4s; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mono { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.main-nav a {
  position: relative;
  font-family: var(--f-sans); font-size: .78rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .16em; text-decoration: none;
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current] { font-weight: 600; }
.nav-insta { display: inline-flex; align-items: center; }
.nav-insta svg { width: 22px; height: 22px; }
.nav-insta span { display: none; }
.burger { display: none; }

/* thème foncé : en-tête clair tant qu'on est en haut */
.theme-navy .site-header:not(.scrolled) { color: var(--cream); }
.theme-navy .site-header:not(.scrolled) .brand-mono,
.theme-navy .site-header:not(.scrolled) .wordmark em { filter: none; }
.theme-navy .site-header:not(.scrolled) .brand-mono { filter: brightness(0) invert(.92) sepia(.2); }

@media (max-width: 1080px) {
  .burger {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); border: 0; cursor: pointer; z-index: 60;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .4s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 10px;
    background: var(--pink); color: var(--cream);
    clip-path: circle(0 at calc(100% - 46px) 40px);
    transition: clip-path .7s var(--ease);
  }
  .menu-open .main-nav { clip-path: circle(150% at calc(100% - 46px) 40px); }
  .main-nav a { font-family: var(--f-display); font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: 0; color: var(--cream); }
  .main-nav a[aria-current] { color: var(--navy); }
  .nav-insta span { display: inline; margin-left: 10px; }
  .nav-insta svg { width: 32px; height: 32px; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .wordmark { font-size: .78rem; letter-spacing: .18em; } .brand-mono { height: 30px; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 130px var(--gutter) 90px;
  text-align: center;
  isolation: isolate;
}
.hero-inner { max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 1.2rem + 6.4vw, 7rem); margin-bottom: 1.4rem; }
.hero-sub { max-width: 640px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); font-style: italic; line-height: 1.3; }
.hero-intro { max-width: 640px; margin-top: .6rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.hero .btn-row { justify-content: center; }
.hero-figure {
  position: absolute; bottom: -2%; z-index: -1;
  width: clamp(150px, 22vw, 330px);
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-figure--left { left: -3%; }
.hero-figure--right { right: -3%; transform: scaleX(-1); animation-delay: -3.5s; animation-name: floaty-r; }
@keyframes floaty { 50% { translate: 0 -14px; rotate: -1.5deg; } }
@keyframes floaty-r { 50% { translate: 0 -14px; rotate: 1.5deg; } }

.hero-home { background: var(--pink); }
.hero-home .tone-cream { color: var(--cream); }
.hero-home .tone-navy { color: var(--navy); }
.hero-home .hero-sub { color: var(--navy); }
.hero-home .kicker { margin-bottom: 1.6rem; }

.theme-pink .hero-page { background: var(--pink); color: var(--cream); }
.theme-pink .hero-page .script { color: var(--navy); }
.theme-blush .hero-page { background: var(--blush); }
.theme-blush .hero-page .hero-title { color: var(--navy); }
.theme-navy .hero-page { background: var(--navy); color: var(--cream); }
.theme-navy .hero-page .kicker--pill { background: var(--pink); }
.theme-navy .hero-page .script { color: var(--pink-soft); }
.theme-navy .hero-figure, .theme-navy .footer-figure { filter: brightness(0) invert(.92) sepia(.25); opacity: .9; }
.theme-cream .hero-page { background: var(--cream); }
.hero-journal { min-height: 62svh; background: var(--cream); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid currentColor; border-radius: 99px; opacity: .7;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-home .scroll-hint { color: var(--navy); }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--navy); color: var(--cream); overflow: hidden; padding: 18px 0 14px; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--pink); margin: 0 1.2em; font-size: 1.2em; line-height: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 140px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section-head .display { margin-bottom: .5em; }

/* ---------- Carrousel ---------- */
.carousel-section { max-width: none; padding-inline: 0; }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: clamp(14px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px var(--gutter) 30px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.dragging * { pointer-events: none; }
.slide { flex: 0 0 clamp(250px, 30vw, 400px); scroll-snap-align: start; }
.slide-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slide:hover .slide-media img { transform: scale(1.06); }
.slide:nth-child(even) .slide-media { border-radius: 200px 200px var(--radius) var(--radius); }
.slide-text { padding: 20px 6px 0; }
.slide-text h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.35rem; margin-bottom: .3em; }
.slide-text p { font-style: italic; opacity: .85; }
.carousel-ui { display: flex; align-items: center; gap: 18px; max-width: 520px; margin: 10px auto 0; padding: 0 var(--gutter); }
.car-btn { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover { background: var(--navy); color: var(--cream); transform: scale(1.06); }
.car-progress { flex: 1; height: 3px; background: rgba(32, 42, 69, .15); border-radius: 3px; overflow: hidden; }
.car-progress span { display: block; height: 100%; width: 20%; background: var(--pink); border-radius: 3px; transition: transform .3s, width .3s; transform-origin: left; }

/* ---------- La fleuriste ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about-media { position: relative; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about-sticker {
  position: absolute; right: -24px; bottom: 40px; width: 110px; height: 110px; object-fit: contain;
  padding: 18px; border-radius: 50%; background: var(--cream); box-shadow: var(--shadow);
  animation: spin-soft 12s ease-in-out infinite;
}
@keyframes spin-soft { 50% { transform: rotate(10deg) scale(1.04); } }
.about-text .display { margin-bottom: .7em; }
.signature { font-size: 2.2rem; color: var(--pink); margin-top: 1rem; }

/* ---------- Univers ---------- */
.univers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2vw, 24px); }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 5; text-decoration: none; color: var(--cream);
  box-shadow: var(--shadow); background: var(--navy);
}
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 11; }
.tile figure, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img { transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(32, 42, 69, .82)); transition: opacity .5s; }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.4vw, 30px); }
.tile-text h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); }
.tile-text p { font-style: italic; margin: .3em 0 0; max-width: 32ch; }
.tile-arrow { position: absolute; right: clamp(18px, 2.4vw, 30px); bottom: clamp(18px, 2.4vw, 30px); width: 46px; height: 46px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.tile-arrow svg { width: 20px; height: 20px; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile-arrow { transform: translateX(6px) rotate(-12deg); }

/* ---------- Journal (posts) ---------- */
.feed { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.feed--home { grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; }
.page-journal .feed { max-width: 620px; margin: 0 auto; }
.post { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.post-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; padding: 7px; background: var(--cream); border: 1.5px solid var(--pink); }
.post-head strong { display: block; font-family: var(--f-sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.post-head time { font-size: .95rem; font-style: italic; opacity: .7; }
.post-media { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px 20px 6px; flex: 1; }
.post-body h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.25rem; margin-bottom: .4em; }
.post-foot { padding: 4px 14px 14px; }
.like { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 8px; font-family: var(--f-sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.like svg { width: 24px; height: 24px; transition: transform .4s var(--ease), color .3s; }
.like[aria-pressed="true"] svg { color: var(--pink); fill: var(--pink); transform: scale(1.15); }
.like[aria-pressed="true"] svg path { fill: var(--pink); }
.like.pop svg { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }

/* ---------- Instagram ---------- */
.insta-band { background: var(--pink); color: var(--cream); padding: clamp(70px, 9vw, 120px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.insta-band::before, .insta-band::after { content: "✿"; position: absolute; font-size: clamp(8rem, 20vw, 18rem); color: rgba(250, 243, 236, .12); line-height: 1; }
.insta-band::before { left: -2%; top: -10%; }
.insta-band::after { right: -1%; bottom: -18%; }
.insta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.insta-icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--cream); color: var(--pink); margin-bottom: 1.4rem; animation: spin-soft 6s ease-in-out infinite; }
.insta-icon svg { width: 40px; height: 40px; }
.insta-band .display { margin-bottom: .5em; }
.insta-band .btn-row, .insta-band .btn { margin-top: 1rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--radius);
  background: var(--paper); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
a.contact-card:hover { transform: translateY(-6px) rotate(-1deg); background: var(--navy); color: var(--cream); }
.cc-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--pink); color: var(--cream); display: grid; place-items: center; margin-bottom: 12px; }
.cc-icon svg { width: 24px; height: 24px; }
.contact-card small { font-family: var(--f-sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; opacity: .7; }
.contact-card strong { font-weight: 600; font-size: 1.2rem; line-height: 1.3; word-break: break-word; }

/* ---------- Comment ça marche (abonnement) ---------- */
.how { text-align: center; }
.how .section-head .display { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); margin-bottom: .2em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 40px; }
.step { padding: 10px clamp(16px, 3vw, 40px); position: relative; }
.step + .step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; translate: -50% 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 200' preserveAspectRatio='none'%3E%3Cpath d='M8 0 C 16 40, 0 60, 8 100 S 16 160, 8 200' fill='none' stroke='%23202A45' stroke-opacity='.45' stroke-width='1.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.step h3 { font-family: var(--f-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.35rem; margin-bottom: 1.2rem; }
.step-num { color: var(--pink); }
.step p { font-size: 1.3rem; line-height: 2; }
.how-note { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }

/* ---------- Catalogue en rangées alternées ---------- */
.rows { display: flex; flex-direction: column; gap: clamp(60px, 9vw, 140px); }
.row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.row:nth-child(even) .row-media { order: 2; }
.row-media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--cream); box-shadow: var(--shadow);
}
.row:nth-child(3n+1) .row-media { border-radius: 999px 999px var(--radius) var(--radius); }
.row:nth-child(3n+2) .row-media { border-radius: var(--radius) 160px var(--radius) 160px; }
.row-media img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.02); will-change: transform; }
.row-num { font-family: var(--f-serif); font-size: 2.6rem; color: var(--pink); font-weight: 600; display: block; margin-bottom: .2em; }
.row-text .display { margin-bottom: .6em; }
.tag {
  display: inline-block; margin-bottom: 1.4rem; padding: .5em 1em .35em; border-radius: 99px;
  background: var(--pink-soft); color: var(--navy);
  font-family: var(--f-sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.theme-navy .tag { background: var(--navy); color: var(--cream); }

/* ---------- Galerie horizontale épinglée ---------- */
.hscroll { position: relative; background: var(--navy); color: var(--cream); }
.theme-navy .hscroll { background: var(--navy-2); }
.hscroll-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 40px); }
.hscroll-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); }
.hscroll-hint { font-style: italic; color: var(--pink-soft); margin: 0; }
.hscroll-track { display: flex; gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hcard { flex: 0 0 auto; width: clamp(240px, 28vw, 400px); }
.hcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.hcard:nth-child(odd) { margin-top: 6vh; }
.hcard:nth-child(3n) img { border-radius: 999px 999px var(--radius) var(--radius); }
.hcard figcaption { font-style: italic; font-size: 1.25rem; padding: 14px 6px 0; }
/* repli : défilement horizontal natif (mobile, mode édition, mouvement réduit) */
.hscroll.native { height: auto !important; padding: 80px 0; }
.hscroll.native .hscroll-sticky { position: static; height: auto; }
.hscroll.native .hscroll-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; padding-bottom: 10px; }
.hscroll.native .hscroll-track::-webkit-scrollbar { display: none; }
.hscroll.native .hcard { scroll-snap-align: center; width: clamp(220px, 72vw, 340px); }
.hscroll.native .hcard:nth-child(odd) { margin-top: 0; }

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  position: relative; overflow: hidden;
  margin: clamp(70px, 10vw, 130px) var(--gutter);
  border-radius: clamp(28px, 4vw, 56px);
  background: var(--pink-soft);
  padding: clamp(50px, 8vw, 110px) var(--gutter);
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner .display { margin-bottom: .5em; }
.cta-inner .btn-row { justify-content: center; }
.cta-figure { position: absolute; left: -20px; bottom: -30px; width: clamp(110px, 16vw, 220px); opacity: .9; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); padding: clamp(60px, 8vw, 100px) var(--gutter) 24px; }
.footer-figure { position: absolute; right: -30px; bottom: -40px; width: clamp(140px, 18vw, 260px); filter: brightness(0) invert(.92) sepia(.25); opacity: .25; transform: scaleX(-1); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; position: relative; }
.footer-tagline { font-family: var(--f-sans); text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--pink-soft); margin: 14px 0 22px; }
.footer-text { max-width: 40ch; font-style: italic; opacity: .9; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h3 { font-family: var(--f-display); text-transform: uppercase; color: var(--pink); font-size: 1.15rem; margin-bottom: 10px; }
.footer-col a { text-decoration: none; opacity: .9; transition: opacity .3s, transform .3s var(--ease); width: fit-content; }
.footer-col a:hover { opacity: 1; transform: translateX(4px); color: var(--pink-soft); }
.footer-col p { margin-top: 10px; opacity: .75; font-size: 1rem; }
.footer-bottom { max-width: var(--max); margin: 60px auto 0; padding-top: 20px; border-top: 1px solid rgba(244, 228, 215, .18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .95rem; opacity: .75; position: relative; }
.footer-admin { text-decoration: none; font-family: var(--f-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(32, 42, 69, .92); padding: 24px; animation: fade .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(92vw, 900px); text-align: center; color: var(--cream); animation: zoom .5s var(--ease); }
.lightbox img { max-height: 80svh; width: auto; margin: 0 auto; border-radius: 20px; }
.lightbox figcaption { font-style: italic; font-size: 1.3rem; margin-top: 14px; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--pink); color: var(--cream); font-size: 2rem; line-height: 1; cursor: pointer; }
.zoomable { cursor: zoom-in; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { transform: scale(.92); opacity: 0; } }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.js .reveal--left { transform: translateX(-60px); }
.js .reveal--right { transform: translateX(60px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .row .row-media { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js .row .row-text { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) .25s, transform 1.1s var(--ease) .25s; }
.js .row.is-in .row-media { clip-path: inset(0 0 0 0 round 0); }
.js .row.is-in .row-text { opacity: 1; transform: none; }
.js .hero-inner > * { opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) forwards; }
.js .hero-inner > *:nth-child(2) { animation-delay: .12s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .24s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .row .row-text, .js .hero-inner > * { opacity: 1; transform: none; }
  .js .row .row-media { clip-path: none; }
}

/* ---------- Connexion ---------- */
.login-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; background: var(--cream); }
.login-card { width: min(420px, 100%); background: var(--paper); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; gap: 14px; }
.login-logo { width: 180px; margin: 0 auto 6px; }
.login-card label { text-align: left; font-family: var(--f-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; display: flex; flex-direction: column; gap: 8px; }
.login-card input { font: inherit; font-size: 1.1rem; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--pink-soft); background: var(--cream-light); color: var(--navy); }
.login-card input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.login-card .btn { justify-content: center; }
.login-error { color: var(--pink-deep); font-weight: 600; }
.login-back { font-size: 1rem; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about, .row { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-media { order: 0; }
  .row-media { max-width: 560px; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .feed--home { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .univers-grid { grid-template-columns: 1fr 1fr; }
  .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .tile:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .feed--home, .contact-cards, .univers-grid { grid-template-columns: 1fr; }
  .tile, .tile:nth-child(1) { aspect-ratio: 5 / 4; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step + .step::before { left: 20%; right: 20%; top: -14px; bottom: auto; width: auto; height: 1px; translate: 0; background: rgba(32, 42, 69, .25); }
  .hero-figure { width: 120px; opacity: .55; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-sticker { width: 84px; height: 84px; right: -6px; }
  .hscroll-head { flex-direction: column; gap: 4px; }
}

/* « de » du logo lisible sur les héros roses */
:is(.page-home, .theme-pink) .site-header:not(.scrolled) .wordmark em { color: var(--cream); }
