/* =========================================================================
   LUTUMAMA PHOTOGRAPHY — feuille de style
   Principe : la page est un mur blanc de galerie. Les photos parlent, le
   texte se tait. Une seule famille de caracteres (Garamond), pas de
   capitales espacees, pas de couleur d'accent : le noir et le blanc, et les
   couleurs des photographies.
   Les couvertures de mariage s'affichent entieres, a leur format d'origine
   (3:2) : aucun visage coupe.
   ========================================================================= */

:root {
  --paper: #ffffff;
  --stone: #f2f2f0;      /* bandes alternees, a peine teintees */
  --ink: #000000;        /* titres */
  --text: #2b2b2b;       /* texte courant */
  --muted: #6e6e6e;      /* legendes, mentions */
  --rule: #e2e2e2;

  --display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --serif: "EB Garamond", "Garamond", "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --cover: 3 / 2;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
button { font: inherit; color: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 40rem; margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.band { background: var(--stone); }
.band + .section, .section + .band { padding-top: var(--section); }
.center { text-align: center; }

/* ---- Typographie -------------------------------------------------------- */

.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.title-sm {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.15;
}
.lead { font-size: 1.12em; color: var(--text); max-width: 36em; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }

.head { text-align: center; padding-top: clamp(150px, 18vw, 220px); padding-bottom: clamp(56px, 8vw, 96px); }
.head .lead { margin: 1.4rem auto 0; }
.head-back { display: inline-block; margin-bottom: 1.6rem; color: var(--muted); text-decoration: none; font-style: italic; }
.head-back:hover { color: var(--ink); }

/* ---- Boutons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: .85em 2.4em;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

/* ---- En-tete -------------------------------------------------------------
   Trois zones : les pages a gauche, le nom au centre, la langue et la prise
   de contact a droite. Sur l'accueil, il flotte en blanc sur la photo puis
   devient blanc plein au premier defilement. */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav--over:not(.is-stuck) {
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
}

.nav-links { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.nav-link { text-decoration: none; font-size: 1.02rem; }
.nav-link:hover, .nav-link[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em;
}

.nav-mark {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; line-height: 1;
  font-family: var(--display);
  font-size: clamp(1.65rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 500;
  letter-spacing: .01em;
}
.nav-mark small {
  margin-top: .35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .02em;
}

.nav-side { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 1.4rem; }
.nav-cta { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.lang { display: flex; gap: .2rem; }
.lang button {
  background: none; border: 0; padding: .2rem .35rem; cursor: pointer;
  font-size: .95rem; opacity: .55;
}
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.lang button:hover { opacity: 1; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle i { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-mark { grid-column: 1; grid-row: 1; align-items: flex-start; }
  .nav-side { grid-column: 2; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .nav-links .nav-link { font-family: var(--display); font-size: 2.1rem; }
  .nav:has(.nav-links.is-open) { color: var(--ink); background: var(--paper); }
}

/* ---- Accueil : ouverture -------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  color: #fff;
  overflow: hidden;
  background: #1a1a1a;
}
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%),
              linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%);
}
.hero-inner {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding-bottom: clamp(48px, 9vh, 96px);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.3rem, 1.5rem + 3vw, 4.4rem);
  line-height: 1.05;
  text-wrap: balance; /* une seule ligne sur ordinateur ; sur telephone, coupee proprement */
  animation: rise 1.4s var(--ease) .2s both;
}
.hero-sub { margin: 1.1rem 0 2rem; font-size: 1.15rem; animation: rise 1.4s var(--ease) .45s both; }
.hero .btn { animation: rise 1.4s var(--ease) .65s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Accueil : presentation ------------------------------------------- */

.hello {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.hello .title { margin-bottom: 1.6rem; }
.hello-photo img { width: 100%; }
.hello .btn { margin-top: 1.4rem; }

@media (max-width: 820px) {
  .hello { grid-template-columns: 1fr; }
  .hello-photo { order: -1; max-width: 26rem; }
}

/* ---- Mariages : une grande photo chacun --------------------------------------------- */

.features { display: grid; gap: clamp(96px, 13vw, 176px); }
.feature { text-align: center; }
.feature-title {
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.7rem + 2.8vw, 4rem);
  line-height: 1.05;
}
.feature-title a { text-decoration: none; }
.feature-place { margin: .5rem 0 1.6rem; color: var(--muted); font-style: italic; }
.feature-action { margin-bottom: clamp(28px, 4vw, 44px); }
.feature-media { display: block; aspect-ratio: var(--cover); overflow: hidden; background: var(--stone); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.6s var(--ease); }
.feature-media:hover img { transform: scale(1.02); }


.section-head { text-align: center; margin-bottom: clamp(56px, 8vw, 96px); }
.section-head .lead { margin: 1rem auto 0; }
.section-foot { text-align: center; margin-top: clamp(64px, 9vw, 112px); }

/* ---- Lumiere et carnations ------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.split figure { margin: 0; }
.split figure img { width: 100%; }
.split .title { margin-bottom: 1.4rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---- Types de seance ----------------------------------------------------- */

.kinds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px);
}
.kind { display: block; text-align: center; text-decoration: none; }
.kind-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-bottom: 1.2rem; }
.kind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.kind:hover .kind-media img { transform: scale(1.025); }
.kind-title { display: block; font-family: var(--display); font-size: 1.75rem; line-height: 1.2; color: var(--ink); }
.kind-blurb { display: block; margin-top: .3rem; color: var(--muted); font-style: italic; }
@media (max-width: 900px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } }

/* ---- Deroulement ------------------------------------------------------- */

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 80px);
  counter-reset: step;
  margin: 0; padding: 0; list-style: none;
}
.steps li { counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 2.8rem; line-height: 1; color: var(--ink);
  margin-bottom: 1rem;
}
.steps h3 { font-family: var(--display); font-size: 1.65rem; margin-bottom: .7rem; }
.steps p { color: var(--text); max-width: 22em; margin-inline: auto; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---- References -------------------------------------------------------- */

.clients {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.6rem clamp(36px, 6vw, 88px);
  margin: 0; padding: 0; list-style: none;
}
.clients li { text-align: center; }
.clients strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.clients span { color: var(--muted); font-style: italic; font-size: .95rem; }

/* ---- Appel final ------------------------------------------------------- */

.cta { text-align: center; }
.cta .lead { margin: 1.2rem auto 2.2rem; }

/* ---- Galeries : photos a leur format d'origine -------------------------- */

.story { columns: 2; column-gap: clamp(12px, 2vw, 28px); }
.story-item {
  display: block; width: 100%;
  margin: 0 0 clamp(12px, 2vw, 28px);
  padding: 0; border: 0; background: var(--stone);
  break-inside: avoid; cursor: zoom-in;
}
.story-item img { width: 100%; }
.story--3 .story { columns: 3; }
@media (max-width: 900px) { .story--3 .story { columns: 2; } }
@media (max-width: 560px) { .story, .story--3 .story { columns: 1; } }

.filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem 1.6rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.filter {
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  color: var(--muted); font-size: 1.05rem;
  text-decoration: none;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }

.city-nav {
  display: flex; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 2.2rem;
}
.city-nav a { text-decoration: none; }
.city-nav small { display: block; color: var(--muted); font-style: italic; font-size: .95rem; }
.city-nav strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--ink); }
.city-nav .is-next { text-align: right; }

/* ---- Prestations : questions ----------------------------------------------- */

.faq { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--display); font-size: 1.5rem; line-height: 1.25; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.6rem; max-width: 38em; }

/* ---- A propos ------------------------------------------------------------ */

.about {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about-portrait { margin: 0; position: sticky; top: 120px; }
.about-portrait img { width: 100%; }
.about-text p:first-child { font-size: 1.12em; }
.about-text .btn { margin-top: 1.6rem; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 26rem; }
}

/* ---- Contact -------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .6rem 0;
  border: 0; border-bottom: 1px solid #b9b9b9; border-radius: 0;
  background: transparent;
  font: inherit; color: var(--ink);
  transition: border-color .2s;
}
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 0 center / 6px 6px no-repeat; padding-right: 1.5rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea::placeholder { color: #9a9a9a; font-style: italic; }
.form .btn { justify-self: start; }
.form-status { color: var(--muted); font-style: italic; min-height: 1.5em; }

.contact-aside h2 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 1rem; }
.contact-direct { display: grid; gap: .4rem; margin-bottom: 1.6rem; }
.contact-direct a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: .4rem; }
.contact-direct a:hover { border-bottom-color: var(--ink); }

/* ---- Pied de page ------------------------------------------------------ */

.foot { border-top: 1px solid var(--rule); padding-block: clamp(64px, 9vw, 112px) 2.4rem; text-align: center; }
.foot .nav-mark { display: inline-flex; color: var(--ink); }
.foot-based { margin: 1.4rem auto 2rem; color: var(--muted); font-style: italic; max-width: 32em; }
.foot-links, .foot-reach { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.foot-links a, .foot-reach a { text-decoration: none; }
.foot-links a:hover, .foot-reach a:hover { text-decoration: underline; text-underline-offset: .3em; }
.foot-reach { color: var(--muted); }
.foot-rights { margin-top: 2.6rem; font-size: .9rem; color: var(--muted); }

/* ---- Visionneuse --------------------------------------------------------- */

.viewer {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-rows: auto 1fr auto; place-items: center;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer img { max-width: 100%; max-height: calc(100svh - 9rem); width: auto; height: auto; object-fit: contain; }
.viewer-close { justify-self: end; background: none; border: 0; padding: .6rem; cursor: pointer; font-size: 1rem; text-decoration: underline; text-underline-offset: .3em; }
.viewer-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: .8rem; }
.viewer-bar .stamp { margin: 0; color: var(--muted); font-style: italic; }
.viewer-nav { display: flex; gap: .4rem; }
.viewer-nav button { background: none; border: 1px solid var(--rule); width: 3rem; height: 3rem; cursor: pointer; font-size: 1.1rem; }
.viewer-nav button:hover { border-color: var(--ink); }

/* Petit bout de texte genere par le script, laisse sans style particulier. */
.stamp { font-size: .9rem; }
