/* Charlotte Goffin — DA reprise du site Framer : fond blanc, Inter, noir, vidéo plein écran */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #000;
  --muted: #8a8a8a;
  --line: #d9d9d9;
  --bg: #fff;
  --soft: #f3f2f0;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: opacity .35s ease;
}
body.leaving { opacity: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter);
  color: #fff;
  transition: background .3s, color .3s;
}
.site-header.solid { background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(8px); }
.brand { font-weight: 700; font-size: 15px; letter-spacing: 0; }
.site-nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; }
.site-nav a:hover { opacity: .6; }

/* ---------- Bannière vidéo + bouton à deux choix ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #222; }
.hero video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,0) 30%, rgba(0,0,0,.25)); pointer-events: none; }

.switch {
  position: absolute; z-index: 5; left: 50%; bottom: 9vh; transform: translateX(-50%);
  display: flex; padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.switch a {
  min-width: 128px; padding: 10px 22px; border-radius: 999px; text-align: center;
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.switch a:hover { background: rgba(255,255,255,.18); }
.switch a[aria-current="page"] { background: rgba(255,255,255,.88); color: var(--ink); }

.scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 3vh; transform: translateX(-50%); color: #fff; font-size: 11px; letter-spacing: 3px; opacity: .8; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 12vw, 140px) var(--gutter); scroll-margin-top: 44px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 640px; margin: 0 auto; }

.label { display: block; text-align: center; font-size: 25px; font-weight: 300; letter-spacing: 2.5px; color: var(--muted); margin-bottom: clamp(40px, 7vw, 80px); }

h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; letter-spacing: -1.6px; line-height: 1.08; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -1.1px; line-height: 1.15; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -1.1px; line-height: 1.2; }
.meta { font-size: 13px; font-weight: 600; letter-spacing: -0.3px; color: var(--muted); margin-top: 4px; }
p { font-size: 15px; line-height: 1.65; letter-spacing: .1px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin-top: 24px; }
.places { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

.intro { text-align: center; }

.rule { border: 0; border-top: 1px solid var(--line); width: min(240px, 50%); margin: 0 auto; }

/* ---------- Séries (Paris, Bretagne…) ---------- */
.series { margin-bottom: clamp(80px, 12vw, 150px); }
.series:last-child { margin-bottom: 0; }
.series header { margin-left: 30%; margin-bottom: 20px; }
.cluster { display: flex; gap: 10px; align-items: center; justify-content: center; }
.cluster > * { flex: 0 1 auto; }
.cluster .p { width: 13%; }   /* portrait */
.cluster .l { width: 24%; }   /* paysage */
.cluster img { width: 100%; }
.series .note { margin-left: 30%; margin-top: 18px; max-width: 420px; font-size: 14px; color: #333; }
.series a.more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; border-bottom: 1px solid; }

/* Cadres de remplacement (en attendant les photos de mariage) */
.ph { background: var(--soft); display: flex; align-items: flex-end; padding: 8px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.ph.p { aspect-ratio: 2/3; } .ph.l { aspect-ratio: 3/2; }

/* ---------- Approche ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.steps span { display: block; font-size: 12px; letter-spacing: 3px; color: var(--muted); margin-bottom: 10px; }
.steps h3 { font-size: 20px; letter-spacing: -.6px; margin-bottom: 10px; }
.steps p { font-size: 14px; }

/* ---------- Formules ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
.offer { border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.offer.main { border-color: var(--ink); }
.offer h3 { font-size: 20px; letter-spacing: -.6px; }
.offer .price { font-size: 28px; font-weight: 600; letter-spacing: -1px; }
.offer .price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.offer ul { list-style: none; font-size: 14px; line-height: 1.9; }
.offer .tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.extras { margin-top: 28px; font-size: 14px; color: #333; text-align: center; }

/* ---------- Deux régions ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin-top: 48px; }
.regions p { margin-top: 12px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 16px; font-weight: 600; letter-spacing: -.3px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 14px; color: #333; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; max-width: 860px; margin: 0 auto; }
.about p + p { margin-top: 14px; }
.about p { font-size: 14px; }

/* ---------- Contact ---------- */
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
form.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
form.contact .full { grid-column: 1 / -1; }
form.contact input, form.contact select, form.contact textarea {
  font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 400;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: transparent; color: var(--ink); border-radius: 0;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: none; border-color: var(--ink); }
form.contact button {
  justify-self: start; margin-top: 12px; padding: 14px 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer;
}
form.contact button:hover { background: #fff; color: var(--ink); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.mail { display: inline-block; margin-top: 18px; font-weight: 600; border-bottom: 1px solid; }

/* ---------- Pied de page ---------- */
footer { padding: 60px var(--gutter) 24px; }
.big-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.big-links a { font-size: clamp(34px, 8vw, 96px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: #c9c9c9; transition: color .3s; }
.big-links a:hover { color: var(--ink); }
.legal { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .site-nav a:not(.keep) { display: none; }
  .switch a { min-width: 0; padding: 10px 18px; letter-spacing: 2px; font-size: 12px; }
  .series header, .series .note { margin-left: 0; }
  .cluster { flex-wrap: wrap; }
  .cluster .p { width: calc(40% - 5px); }
  .cluster .l { width: 100%; }
  .steps, .offers, .regions { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 220px; }
  form.contact { grid-template-columns: 1fr; }
}

/* ---------- Pages Univers et galeries ---------- */
.subpage main { padding-top: 48px; }
.page-head { text-align: center; padding-bottom: clamp(40px, 6vw, 72px); }
.page-head .lead { margin-top: 18px; }
.page-head .meta { margin-top: 8px; }
.back { display: inline-block; margin-bottom: 28px; font-size: 13px; font-weight: 500; color: var(--muted); }
.back:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom: 1px solid; }
.gallery-wrap { padding-top: 0; }

.gallery { max-width: 1280px; margin: 0 auto; columns: 3; column-gap: 12px; }
.g-item { display: block; margin-bottom: 12px; break-inside: avoid; cursor: zoom-in; }
.g-item img { width: 100%; transition: opacity .3s; }
.g-item:hover img { opacity: .85; }

.tiles { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(14px, 2vw, 28px); }
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: opacity .3s; }
.tile:hover img { opacity: .85; }
.tile h2 { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); }

.series-nav { display: flex; justify-content: space-between; gap: 12px; padding: 40px var(--gutter) 20px; max-width: 1280px; margin: 0 auto; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); }
.series-nav a:hover { opacity: .6; }

.series h3 a:hover, a.cluster:hover { opacity: .85; }

/* Agrandissement d'une photo */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.97); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; font: inherit; font-size: 28px; font-weight: 300; cursor: pointer; padding: 12px 16px; color: var(--ink); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

@media (max-width: 760px) {
  .gallery { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .series-nav { font-size: 13px; }
}

/* ---------- Reportages de mariage ---------- */
.tile-ph { aspect-ratio: 4/5; width: 100%; }
.gallery .ph { width: 100%; margin-bottom: 12px; break-inside: avoid; }
.credits { padding-top: 0; text-align: center; }
.credits h2 { font-size: 22px; letter-spacing: -.6px; margin-bottom: 12px; }
.credits p { font-size: 14px; color: #333; }
.cta-line { margin-top: 28px; }
@media (max-width: 760px) { .gallery .ph { margin-bottom: 8px; } }

/* ---------- Défilement des récents (comme le ticker Framer d'origine) ---------- */
.cluster.ticker { display: block; overflow: hidden; }
.ticker-track { display: flex; gap: 10px; align-items: center; width: max-content; will-change: transform; }
.cluster.ticker .ticker-track > img,
.cluster.ticker .ticker-track > .ph { flex: none; width: auto; }
.cluster.ticker .ticker-track > .ph.p { aspect-ratio: 2/3; }
.cluster.ticker .ticker-track > .ph.l { aspect-ratio: 3/2; }

/* Hauteurs irrégulières, centrées, comme sur le site d'origine (152 / 117 / 151 / 182 px) */
.cluster.ticker .ticker-track { --h: clamp(120px, 15vw, 190px); }
.cluster.ticker .ticker-track > * { height: var(--h); }
.cluster.ticker .ticker-track > :nth-child(4n+2) { height: calc(var(--h) * .77); }
.cluster.ticker .ticker-track > :nth-child(4n+3) { height: calc(var(--h) * .99); }
.cluster.ticker .ticker-track > :nth-child(4n+4) { height: calc(var(--h) * 1.2); }

/* Mentions légales */
.legal-text h2 { font-size: 20px; letter-spacing: -.5px; margin: 36px 0 10px; }
.legal-text p { font-size: 14px; margin-top: 8px; }
.legal-text a { border-bottom: 1px solid; }
