/* ============================================================================
   MG Photographie — Editorial minimal design system
   ============================================================================ */

/* ---- Design tokens ---- */
:root {
  /* Palette */
  --bg:        #FAFAF7;
  --bg-alt:    #F2EFE8;
  --bg-dark:   #1A1A1A;
  --ink:       #1A1A1A;
  --ink-soft:  #3A3A3A;
  --ink-muted: #8A8A85;
  --accent:    #8B7355;
  --line:      rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.18);

  /* Typography */
  --font-display: "Cormorant Garamond", "Apple Garamond", "EB Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(1.5rem, 4vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease); }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
}

.text-center { text-align: center; }

/* ---- Layout primitives ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Section spacing */
section { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); }
section + section { padding-top: 0; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 400ms var(--ease), color 400ms var(--ease), padding 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.nav.is-over-hero { color: #fff; }
.nav.is-condensed {
  background: rgba(250, 250, 247, 0.88);
  padding-block: 1rem;
  color: var(--ink);
  border-bottom-color: var(--line);
}
/* backdrop-filter on ::before avoids creating a new containing block for position:fixed children (iOS Safari bug) */
.nav.is-condensed::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  z-index: -1;
  pointer-events: none;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nav-logo {
  height: 54px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.nav-menu a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 380ms var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { right: 0; }

.nav-cta {
  margin-left: clamp(0.5rem, 2vw, 1.5rem);
  padding: 0.55rem 1.1rem;
  border: 1px solid currentColor;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: currentColor; }
.is-over-hero .nav-cta:hover { color: var(--bg-dark); }
.is-condensed .nav-cta:hover { color: var(--bg); }

.nav-toggle {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 380ms var(--ease), opacity 200ms;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { bottom: 50%; top: 50%; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    flex-direction: column;
    justify-content: center;
    background: var(--bg);
    color: var(--ink);
    gap: 2.5rem;
    overflow: hidden;
    /* hidden state: off-screen + invisible */
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 600ms var(--ease-out-soft),
                visibility 0ms linear 600ms;
    z-index: 90;
  }
  .nav-menu a { font-size: 1rem; }
  .nav-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 600ms var(--ease-out-soft),
                visibility 0ms linear 0ms;
  }
}

/* ---- Hero (4-image carousel, B&W) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: var(--bg-dark);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transition: opacity 1500ms var(--ease-out-soft);
  filter: grayscale(100%) contrast(1.04) brightness(0.95);
}
.hero-canvas img.is-active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(5rem, 10vw, 8rem);
  z-index: 2;
  padding-inline: var(--gutter);
}
.hero-inner .eyebrow { color: rgba(255,255,255,0.85); }
.hero-inner h1 {
  font-weight: 300;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 1.5rem 0 1.5rem;
  font-style: italic;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 1.05;
}
.hero-inner h1 em { font-style: normal; }
.hero-inner .lede { color: rgba(255,255,255,0.85); max-width: 560px; }

/* Carousel controls */
.hero-counter {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3rem);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 3;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255, 0.85);
}
.hero-counter button {
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
  transition: background 220ms var(--ease);
}
.hero-counter button:hover { background: rgba(255,255,255, 0.15); }
.hero-counter button svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.scroll-cue {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255,255,255, 0.7);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.scroll-cue-line {
  display: block;
  width: 1px;
  height: 48px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: cue 2.4s var(--ease-out-soft) infinite;
}
@keyframes cue {
  0% { top: -50%; }
  60%, 100% { top: 100%; }
}

@media (max-width: 720px) {
  .hero-counter { display: none; }
  .scroll-cue { display: none; }
}

/* ---- Intro ---- */
.intro {
  text-align: center;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}
.intro-rule {
  display: block;
  width: 1px;
  height: 56px;
  background: var(--ink);
  opacity: 0.4;
  margin: 0 auto 2rem;
}
.intro h2 { margin-block: 1.25rem 1.5rem; }
.intro h2 em { font-style: italic; }

/* ---- Portfolio (editorial 4 categories) ---- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
}
.portfolio-item:nth-child(1) { grid-column: 1 / span 7; }
.portfolio-item:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(3rem, 6vw, 5rem); }
.portfolio-item:nth-child(3) { grid-column: 1 / span 5; margin-top: clamp(2rem, 4vw, 3rem); }
.portfolio-item:nth-child(4) { grid-column: 6 / span 7; }
.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-soft), filter 380ms var(--ease);
  filter: saturate(0.95);
}
.portfolio-item:nth-child(2) img,
.portfolio-item:nth-child(3) img { aspect-ratio: 3/4; }
.portfolio-item:hover img { transform: scale(1.04); filter: saturate(1); }

.portfolio-item-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.portfolio-item-caption h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
}
.portfolio-item-link {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 220ms var(--ease);
}
.portfolio-item:hover .portfolio-item-link { color: var(--ink); }

@media (max-width: 880px) {
  .portfolio-item:nth-child(n) {
    grid-column: 1 / -1 !important;
    margin-top: 0;
  }
  .portfolio-item img { aspect-ratio: 3/4 !important; }
}

/* ---- Mariage mini gallery ---- */
.mariage-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}
.mariage-mini-item {
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
}
.mariage-mini-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
  transition: transform 1.4s var(--ease-out-soft), filter 380ms var(--ease);
  filter: saturate(0.95);
}
.mariage-mini-item--portrait img { aspect-ratio: 2/3; }
.mariage-mini-item:hover img { transform: scale(1.04); filter: saturate(1); }

@media (max-width: 720px) {
  .mariage-mini-grid { grid-template-columns: 1fr 1fr; }
  .mariage-mini-item--portrait img { aspect-ratio: 3/2; }
}

/* ---- About teaser ---- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about-teaser-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-teaser-image img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser-text { max-width: 50ch; }
.about-teaser-text h2 { margin: 0.75rem 0 1.25rem; }
.about-teaser-text .lede { margin-bottom: 1.5rem; }

@media (max-width: 880px) { .about-teaser { grid-template-columns: 1fr; } }

/* ---- Témoignages ---- */
.temoignages-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.temoignages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.875rem, 1.6vw, 1.5rem);
}
@media (max-width: 980px) { .temoignages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .temoignages { grid-template-columns: 1fr; } }
.temoignage {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--bg-alt);
}
.temoignage-stars {
  color: var(--accent);
  letter-spacing: 0.25em;
  font-size: 0.625rem;
  margin: 0;
}
.temoignage-text {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.temoignage-author {
  margin: 0;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---- Buttons / links ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.75rem;
  border: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 380ms var(--ease);
  isolation: isolate;
  margin-top: 0.5rem;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 380ms cubic-bezier(.65,0,.35,1);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }

.btn--cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--cta:hover { color: var(--accent); }
.btn--cta::before { background: var(--bg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 1px solid currentColor;
  transition: gap 220ms var(--ease);
}
.link-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 220ms var(--ease);
}
.link-arrow:hover { gap: 0.875rem; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer .footer-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250,250,247, 0.55);
  margin: 0 0 1.5rem;
}
.footer ul li { margin-bottom: 0.65rem; }
.footer ul a {
  font-size: 0.875rem;
  color: rgba(250,250,247, 0.82);
}
.footer ul a:hover { color: var(--accent); }
.footer-logo-link {
  display: inline-block;
}
.footer-logo {
  width: 110px;
  height: auto;
  display: block;
  color: rgba(250, 250, 247, 0.9);
}
.footer-bottom {
  max-width: var(--container);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,250,247,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,250,247, 0.5);
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
@media (min-width: 601px) and (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out-soft), transform 1.1s var(--ease-out-soft);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Gallery tabs ---- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.gallery-tab {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.875rem 1.5rem 0.875rem 0;
  margin-right: 2rem;
  position: relative;
  white-space: nowrap;
  transition: color 220ms var(--ease);
}
.gallery-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}
.gallery-tab:hover { color: var(--ink); }
.gallery-tab[aria-current="page"] {
  color: var(--ink);
}
.gallery-tab[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Page header (galleries / formules / about / contact) ---- */
.gallery-header,
.page-header {
  padding: clamp(8rem, 14vw, 11rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
}
.gallery-header h1,
.page-header h1 {
  font-style: italic;
  font-weight: 300;
  margin-top: 0.75rem;
  text-transform: capitalize;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}
.gallery-header .lede,
.page-header .lede { margin: 1.5rem auto 0; max-width: 56ch; }

/* ---- Gallery grid ---- */
.gallery-grid {
  columns: 2;
  column-gap: clamp(0.625rem, 1.2vw, 1.25rem);
}
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: zoom-in;
  break-inside: avoid;
  margin-bottom: clamp(0.625rem, 1.2vw, 1.25rem);
}
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.4s var(--ease-out-soft), filter 380ms var(--ease);
  filter: saturate(0.95);
}
.gallery-grid figure:hover img { transform: scale(1.03); filter: saturate(1); }
@media (max-width: 720px) {
  .gallery-grid {
    column-gap: 0.5rem;
  }
  .gallery-grid figure {
    margin-bottom: 0.5rem;
  }
}

/* ---- Formules ---- */
.formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 720px) {
  .formules { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .formules { grid-template-columns: repeat(2, 1fr); }
}
.formule { display: flex; flex-direction: column; }
.formule-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--bg-alt);
}
.formule-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out-soft);
}
.formule:hover .formule-image img { transform: scale(1.04); }
.formule-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.formule-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.5rem;
}
.formule-meta {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 0.875rem;
}
.formule-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
}
.formule-duration {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.formule-desc { color: var(--ink-soft); font-size: 0.9375rem; }

/* ── Carte cadeau ──────────────────────────────────────────────────────── */
.carte-cadeau-wrap {
  background: var(--bg-alt);
  padding-block: clamp(5rem, 10vw, 8rem);
  margin-top: clamp(4rem, 8vw, 6rem);
}
.carte-cadeau {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.carte-cadeau-copy .intro-rule { display: block; margin-bottom: 1.5rem; }
.carte-cadeau-copy h2 { margin: 0.5rem 0 1.5rem; }
.carte-cadeau-visual {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.carte-cadeau-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.carte-cadeau-visual:hover img { transform: scale(1.03); }

@media (max-width: 720px) {
  .carte-cadeau { grid-template-columns: 1fr; }
  .carte-cadeau-visual { order: -1; aspect-ratio: 3/2; }
}

.mariage-hint {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.25rem;
}

.mariage-banner {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.mariage-banner-image { position: relative; min-height: 380px; }
.mariage-banner-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.mariage-banner-content {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.mariage-banner-content h2 {
  margin-block: 0.75rem 1.5rem;
  color: #fff;
}
.mariage-banner-content .lede { color: rgba(255,255,255, 0.85); }
.mariage-banner-features {
  margin-block: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 0.875rem;
}
.mariage-banner-features li {
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255,255,255, 0.85);
}
.mariage-banner-features li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
}
@media (max-width: 880px) { .mariage-banner { grid-template-columns: 1fr; } }

/* ---- Process steps ---- */
.process-section {
  background: var(--bg-alt);
  padding-block: clamp(5rem, 10vw, 8rem);
}
.process-section h2 {
  margin-top: 0.5rem;
  font-style: italic;
}
.process-steps {
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.process-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.process-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--accent);
  line-height: 1.1;
  padding-top: 0.1em;
}
.process-step h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 52ch;
}

/* ---- About page ---- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(8rem, 14vw, 11rem);
  align-items: center;
}
.about-hero-image { aspect-ratio: 3/4; overflow: hidden; }
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-text { max-width: 50ch; }
.about-hero-text h1 {
  font-style: italic;
  font-weight: 300;
  margin: 0.75rem 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.about-hero-text p { color: var(--ink-soft); margin-bottom: 1.25rem; }

.about-quote-author {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 1.25rem;
}
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  text-align: center;
  max-width: 24ch;
  margin: clamp(3rem, 8vw, 6rem) auto;
  color: var(--ink);
}

@media (max-width: 880px) { .about-hero { grid-template-columns: 1fr; } }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 10vw, 8rem);
}
.contact-info p {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.contact-info p strong {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.contact-info a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 220ms var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { align-self: flex-start; }

/* Honeypot — hidden from humans, visible to bots */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: -0.5rem;
}
.contact-status.is-success { color: var(--accent); }
.contact-status.is-error   { color: #b71c1c; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- 404 ---- */
.notfound {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--gutter);
}
.notfound h1 {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.9;
}

/* ---- FAQ ---- */
.faq {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 380ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: min(90vw, calc(100vh * 1.5));
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: opacity 220ms var(--ease);
  user-select: none;
}
.lightbox-img.is-loading { opacity: 0; }
.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255, 0.7);
  font-size: 1.25rem;
  font-weight: 300;
  border: 1px solid rgba(255,255,255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
  line-height: 1;
}
.lightbox-close:hover { color: #fff; border-color: rgba(255,255,255, 0.6); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255, 0.7);
  border: 1px solid rgba(255,255,255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: color 200ms, border-color 200ms, background 200ms;
}
.lightbox-prev { left: clamp(0.5rem, 2.5vw, 2.5rem); }
.lightbox-next { right: clamp(0.5rem, 2.5vw, 2.5rem); }
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
@media (max-width: 520px) {
  .lightbox-prev, .lightbox-next { display: none; }
}
.lightbox-counter {
  position: absolute;
  bottom: clamp(1rem, 2.5vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255, 0.4);
  white-space: nowrap;
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--bg-dark);
  color: rgba(250,250,247, 0.9);
  padding: 1.125rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255, 0.08);
  transform: translateY(100%);
  transition: transform 500ms var(--ease-out-soft);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.8125rem;
  color: rgba(250,250,247, 0.65);
  max-width: 64ch;
  flex: 1;
  line-height: 1.5;
}
.cookie-banner p a {
  color: rgba(250,250,247, 0.9);
  border-bottom: 1px solid rgba(250,250,247, 0.25);
  transition: border-color 200ms;
}
.cookie-banner p a:hover { border-color: rgba(250,250,247, 0.7); }
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}
.cookie-accept {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.625rem 1.375rem;
  border: 1px solid rgba(250,250,247, 0.4);
  color: rgba(250,250,247, 0.9);
  cursor: pointer;
  background: transparent;
  transition: background 220ms, border-color 220ms, color 220ms;
  font-family: var(--font-body);
}
.cookie-accept:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.cookie-refuse {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(250,250,247, 0.4);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 200ms;
  font-family: var(--font-body);
  padding: 0.625rem 0;
}
.cookie-refuse:hover { color: rgba(250,250,247, 0.75); }
.footer-legal {
  color: rgba(250,250,247, 0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 200ms;
}
.footer-legal:hover { color: rgba(250,250,247, 0.9); }

/* ---- Mentions légales ---- */
.mentions-content {
  max-width: 72ch;
  margin: 0 auto;
  padding-bottom: clamp(4rem, 10vw, 8rem);
}
.mentions-section {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.mentions-section:last-child { border-bottom: none; }
.mentions-section h2 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.mentions-section p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}
.mentions-section p:last-child { margin-bottom: 0; }
.mentions-section ul {
  margin-block: 1rem;
}
.mentions-section ul li {
  color: var(--ink-soft);
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
}
.mentions-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.mentions-section a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 200ms, border-color 200ms;
}
.mentions-section a:hover { color: var(--accent); border-color: var(--accent); }
