/* ==========================================================================
   Variables — valeurs par défaut, modifiables dans l'admin (« 🎨 Apparence »)
   ========================================================================== */
:root {
  --bg: #faf8f5;
  --text: #1f1d1a;
  --muted: #7a746c;
  --accent: #a0826d;
  --line: #e7e1d9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --title: 'Caudex', Georgia, serif;
  --display: 'Brasika Display', 'Caudex', Georgia, serif;
  --brand: #452829;
  --heading-color: #1f1d1a;
  --hero-color: #ffffff;
  --featured: #452829;        /* prestation du moment (réglable dans « Apparence ») */
  --text-size: 16px;
  --heading-scale: 1;
  --hero-title-scale: 1;
  --hero-subtitle-scale: 1;
  /* Typographie : 4 niveaux utilisés partout (titres, libellés, prix, texte) */
  --title-case: uppercase;    /* casse des titres (réglable dans « Apparence ») */
  --title-tracking: 0.06em;   /* espacement des titres (plus serré hors majuscules) */
  --label-size: 0.75rem;      /* petits libellés en majuscules : menu, boutons, étiquettes */
  --label-tracking: 0.16em;
  --prose-leading: 1.8;       /* interlignage du texte courant */
  --sans: 'Inter', system-ui, sans-serif;
  --ui: 'Inter', system-ui, sans-serif; /* outils admin : ne suit pas l'Apparence */
  --admin: #2f6fed;
  --danger: #d64545;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--text-size); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 1rem/1.7 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Brasika Display n'est pas sur Google Fonts : déposer le fichier dans public/fonts/
   (brasika-display.woff2, .woff, .otf ou .ttf). En attendant, Caudex prend le relais. */
@font-face {
  font-family: 'Brasika Display';
  src: url('/fonts/brasika-display.woff2') format('woff2'), url('/fonts/brasika-display.woff') format('woff'),
    url('/fonts/brasika-display.otf') format('opentype'), url('/fonts/brasika-display.ttf') format('truetype');
  font-display: swap;
}

/* ==========================================================================
   Site
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  top: calc(var(--admin-bar-h, 0px) + var(--announce-h, 0px));
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  color: var(--hero-color);
  background: linear-gradient(rgba(0, 0, 0, 0.4), transparent);
}
.logo { font: 400 1.5rem var(--title); letter-spacing: 0.02em; text-decoration: none; }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-header nav a {
  text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent;
}
.site-header nav a.active, .site-header nav a:hover { border-color: currentColor; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font-size: 1.5rem; cursor: pointer; }

/* Titres : police de titre, casse et espacement communs (réglables dans « Apparence ») */
.page-header h1, .section-title, .service-card h3, .shoot-card h3, .package-row h3, .news-card h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.15;
  text-transform: var(--title-case); letter-spacing: var(--title-tracking);
}
/* Libellés : petits, en majuscules, espacés */
.site-header nav a, .btn, .page-header p, .service-card .more, .news-card .more, .shoot-category, .shoot-cta, .contact-form label, .back-link {
  font-family: var(--sans); font-size: var(--label-size); font-weight: 500;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
}
/* Prix */
.service-card .price, .package-price { font: 400 1.3rem / 1.3 var(--serif); letter-spacing: 0.02em; color: var(--accent); }

/* Accueil plein écran */
/* Hauteur au format de la vidéo (16:9), au plus 90 % de l'écran pour laisser deviner la suite */
.hero { position: relative; height: min(56.25vw, 90vh); min-height: 440px; background: #1f1d1a; display: grid; place-items: center; color: var(--hero-color); text-align: center; overflow: hidden; }
.hero-bg, .page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-header::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.hero-content, .page-header-content { position: relative; z-index: 1; padding: 0 16px; }
.hero h1 { font: 400 calc(clamp(2.8rem, 8vw, 6rem) * var(--hero-title-scale)) / 1 var(--title); margin: 0 0 0.1em; }
.hero-subtitle {
  font: 700 calc(clamp(1.6rem, 4vw, 2.8rem) * var(--hero-subtitle-scale)) / 1.2 var(--display); text-transform: uppercase; letter-spacing: 0.3em;
  margin: 0;
}

/* Bandeau en haut des autres pages */
.page-header { position: relative; height: 50vh; min-height: 320px; background: #1f1d1a; display: grid; place-items: center; color: var(--hero-color); text-align: center; overflow: hidden; }
.page-header h1 { font-size: calc(clamp(2.4rem, 6vw, 4.5rem) * var(--heading-scale)); margin: 0 0 0.4em; }
.page-header p { margin: 0; letter-spacing: 0.24em; }

.btn {
  display: inline-block;
  padding: 0.8em 2em;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #fff; color: var(--text); }
.btn-dark { color: var(--text); }
.btn-dark:hover { background: var(--text); color: #fff; }

.section { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 48px); }
/* Deux sections qui se suivent : pas de double espace. Une section masquée entre elles (ex. prestation
   du moment absente) est ignorée, et une section qui suit directement un bandeau garde son espace. */
.section:not([hidden]) + .section,
.section:not([hidden]) + .section[hidden] + .section { padding-top: 0; }
.section-title { font-size: calc(clamp(1.9rem, 4.5vw, 2.8rem) * var(--heading-scale)); color: var(--heading-color); text-align: center; margin: 0 0 0.9em; }
.center { text-align: center; margin-top: 48px; }
.prose { white-space: pre-line; color: var(--muted); line-height: var(--prose-leading); }

/* Bloc image + texte */
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split .section-title { text-align: left; }
.split:has(> img[hidden]) { grid-template-columns: 1fr; max-width: 820px; } /* photo retirée : texte seul */
/* Présentation de l'accueil : titre en phrase normale, comme avant l'harmonisation */
[data-slot="about"] .section-title {
  font-size: calc(clamp(2rem, 5vw, 3rem) * var(--heading-scale)); text-transform: none; letter-spacing: normal;
}

/* Actualités + Instagram côte à côte ; si l'un est masqué l'autre prend toute la largeur, si les deux le sont le bloc disparaît */
/* Deux encadrés de même largeur et même hauteur ; boutons alignés en bas, contenu centré verticalement */
.home-duo { display: flex; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.home-duo > .duo-col {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.25);
}
.home-duo > .duo-col > .center { margin-top: auto; padding-top: 32px; }
.home-duo .news-mini-list, .home-duo .insta-grid { flex: 1; justify-content: center; align-content: center; }
.home-duo .news-mini { background: var(--bg); }
.home-duo:not(:has(> .duo-col:not([hidden]))) { display: none; }
@media (max-width: 900px) { .home-duo { flex-direction: column; } .home-duo > .duo-col { width: 100%; } }
.home-duo .reviews > * { flex-basis: 100%; }

/* Accueil : aperçu des 3 dernières actualités (colonne de gauche) */
.news-mini-list { display: flex; flex-direction: column; gap: 16px; }
.news-mini {
  position: relative; display: flex; gap: 18px; align-items: stretch; padding: 14px; background: #fff;
  color: var(--text); text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
}
.news-mini:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06); }
.news-mini img { flex: none; width: 130px; aspect-ratio: 1; object-fit: cover; }
.news-mini > div { display: flex; flex-direction: column; min-width: 0; }
.news-mini time { color: var(--accent); font: 500 var(--label-size) var(--sans); letter-spacing: var(--label-tracking); text-transform: uppercase; }
.news-mini h3 {
  margin: 6px 0; font: 400 calc(1.25rem * var(--heading-scale)) / 1.2 var(--serif); color: var(--heading-color);
  text-transform: var(--title-case); letter-spacing: var(--title-tracking);
}
.news-mini p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-mini .more { margin-top: auto; padding-top: 8px; font: 500 var(--label-size) var(--sans); letter-spacing: var(--label-tracking); text-transform: uppercase; }
.is-admin .news-mini-list > .admin-add { aspect-ratio: auto; min-height: 90px; }
/* Téléphone : chaque article en carte verticale (photo en largeur, texte dessous) pour que le titre ait de la place */
@media (max-width: 620px) {
  .home-duo > .duo-col { padding: 28px 16px; }
  .news-mini { flex-direction: column; gap: 0; padding: 0; }
  .news-mini:hover { transform: none; }
  .news-mini img { width: 100%; aspect-ratio: 16 / 9; }
  .news-mini > div { padding: 14px 16px 16px; }
  .news-mini h3 { margin: 6px 0 8px; font-size: calc(1.2rem * var(--heading-scale)); line-height: 1.25; }
  .news-mini .more { padding-top: 12px; }
}

/* Accueil : avis Google sur toute la largeur, dans un encadré */
.reviews-box {
  position: relative; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); background: #fff;
  border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.25);
}
/* Filet intérieur, comme un cadre photo */
.reviews-box::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.reviews-box .review-card { background: var(--bg); border-color: transparent; }

/* Diaporama des avis : cartes superposées, seule l'active est visible */
.reviews.is-carousel { display: grid; }
.reviews.is-carousel > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
.reviews.is-carousel > .is-active { opacity: 1; visibility: visible; }
.reviews-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.reviews-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.reviews-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.3); }

/* Avis Google */
.reviews-summary { text-align: center; margin: -1.2em 0 2.5em; color: var(--accent); font: 400 1.3rem var(--serif); letter-spacing: 0.02em; }
.reviews-empty { text-align: center; color: var(--muted); font-style: italic; }
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.reviews > * { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 960px) { .reviews > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .reviews > * { flex-basis: 100%; } }
.review-card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); }
.review-stars { margin: 0 0 12px; color: #d4a24c; font-size: 1.1rem; letter-spacing: 0.1em; }
.review-text { margin: 0; color: var(--text); line-height: var(--prose-leading); white-space: pre-line; }
.review-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: 500 0.85rem var(--sans); cursor: pointer; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.review-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-author span { display: flex; flex-direction: column; line-height: 1.3; }
.review-name { font-weight: 500; color: var(--heading-color); text-decoration: none; }
.review-name[href]:hover { text-decoration: underline; }
.review-author small { color: var(--muted); font-size: 0.8rem; }

/* Derniers posts Instagram : 2 cartes façon post Instagram, côte à côte */
.insta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; max-width: 640px; margin: 0 auto; }
.insta-card {
  display: block; overflow: hidden;
  background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; color: #262626; text-decoration: none;
  font: 400 14px/1.4 -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  transition: box-shadow 0.3s, transform 0.3s;
}
.insta-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.insta-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.insta-head strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insta-more { margin-left: auto; color: #262626; letter-spacing: 1px; }
/* Photo de profil avec l'anneau dégradé d'Instagram */
.insta-avatar {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; padding: 2px;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; font-weight: 600;
}
.insta-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.insta-media { aspect-ratio: var(--ratio, 0.8); background: #efefef; }
.insta-media img { width: 100%; height: 100%; object-fit: cover; }
.insta-actions { display: flex; gap: 14px; padding: 10px 12px 6px; }
.insta-save { margin-left: auto; display: flex; }
.insta-caption { margin: 0; padding: 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insta-caption strong { font-weight: 600; }
.insta-card time { display: block; padding: 6px 12px 12px; color: #8e8e8e; font-size: 10px; letter-spacing: 0.02em; text-transform: uppercase; }
.insta-empty { text-align: center; color: var(--muted); font-style: italic; }

/* Prestations */
/* 3 par rangée, la dernière rangée centrée (ex. 5 prestations → 3 + 2) */
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.services > * { flex: 0 1 calc((100% - 64px) / 3); }
@media (max-width: 960px) { .services > * { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 620px) { .services > * { flex-basis: 100%; } }
.service-card { position: relative; display: block; background: #fff; color: var(--text); text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.service-card .more { display: inline-block; margin-top: 16px; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 24px; }
.service-card h3 { font-size: calc(1.5rem * var(--heading-scale)); color: var(--heading-color); margin: 0 0 6px; }
.service-card .price { margin: 0 0 12px; }
.service-card .prose { margin: 0; }

/* Prestation du moment : grand encadré coloré (accueil + page Prestations) */
.featured-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch;
  max-width: 1080px; margin: 0 auto; background: var(--featured); color: #fff; overflow: hidden;
  box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--featured) 60%, transparent);
}
/* Filet décoratif à l'intérieur de l'encadré */
.featured-card::after {
  content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.35); pointer-events: none;
}
.featured-media { overflow: hidden; }
.featured-image { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform 1.2s ease; }
.featured-card:hover .featured-image { transform: scale(1.05); }
.featured-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: clamp(32px, 5vw, 64px); }
.featured-title {
  margin: 6px 0 0; font: 400 calc(clamp(2.2rem, 4.5vw, 3.2rem) * var(--heading-scale)) / 1.05 var(--serif);
  text-transform: var(--title-case); letter-spacing: var(--title-tracking);
}
.featured-note { margin: 0; font-style: italic; opacity: 0.85; }
.featured-price { margin: 4px 0 0; font: 400 1.7rem var(--serif); }
.featured-text { margin: 0 0 14px; opacity: 0.9; line-height: var(--prose-leading); white-space: pre-line; }
.featured-card .btn { position: relative; z-index: 1; }
.featured-empty { text-align: center; color: var(--muted); font-style: italic; max-width: 640px; margin: 0 auto; }
/* Étiquette « Prestation du moment » (encadré + carte de l'accueil), avec un léger scintillement */
.featured-badge {
  position: relative; display: inline-block; overflow: hidden; padding: 6px 14px; border-radius: 999px;
  background: #fff; color: var(--featured); font: 600 0.72rem var(--sans); letter-spacing: var(--label-tracking); text-transform: uppercase;
}
.featured-badge::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  animation: badge-shine 3.5s ease-in-out infinite;
}
@keyframes badge-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.service-card.is-featured { outline: 2px solid var(--featured); outline-offset: -2px; }
.service-card .featured-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--featured); color: #fff; }
.featured-card.no-image { grid-template-columns: 1fr; }
.featured-card.no-image .featured-media { display: none; }
@media (max-width: 760px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .featured-badge::after { animation: none; } }

/* Bandeau d'annonce en haut des pages (prestation du moment) */
.has-announce { --announce-h: 40px; }
.announce-bar {
  position: relative; z-index: 11; display: flex; align-items: center; justify-content: center;
  height: var(--announce-h); padding: 0 44px; background: var(--featured); color: #fff;
}
.announce-link {
  display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none;
  font: 400 0.85rem var(--sans); white-space: nowrap;
}
.announce-link > * { overflow: hidden; text-overflow: ellipsis; }
.announce-label { font-weight: 600; font-size: 0.7rem; letter-spacing: var(--label-tracking); text-transform: uppercase; opacity: 0.85; }
.announce-link strong { font-weight: 600; }
.announce-note { font-style: italic; opacity: 0.85; }
.announce-cta { font-size: 0.7rem; font-weight: 600; letter-spacing: var(--label-tracking); text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.announce-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; color: inherit; font-size: 1.3rem; cursor: pointer; opacity: 0.8; }
.announce-close:hover { opacity: 1; }
@media (max-width: 620px) { .announce-note, .announce-label { display: none; } }

/* Actualités : frise chronologique, un article par ligne.
   Colonnes : rond de date sur la ligne | carte. Étiquette d'année sur la ligne au début de chaque année */
.news-list {
  --when: 124px; --gap: 36px;
  position: relative; display: flex; flex-direction: column; gap: 56px; max-width: 1040px; margin: 0 auto;
}
/* La ligne verticale passe au centre des ronds */
.news-list::before {
  content: ''; position: absolute; top: 10px; bottom: 10px; left: calc(var(--when) / 2);
  width: 1px; background: linear-gradient(var(--accent), var(--line) 85%, transparent);
}
.news-item { position: relative; display: grid; grid-template-columns: var(--when) minmax(0, 1fr); align-items: start; }
/* Étiquette d'année, centrée sur la ligne */
.news-year-tag {
  position: relative; z-index: 1; align-self: flex-start; margin-left: calc(var(--when) / 2); transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 0 0 8px var(--bg);
  font: 600 0.85rem var(--sans); letter-spacing: 0.16em;
}
.news-year-tag + .news-item { margin-top: -24px; }
/* Rond : même style que l'étiquette d'année (fond couleur d'accent, texte blanc, même police) */
.news-date {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: var(--when); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff;
  box-shadow: 0 0 0 8px var(--bg); font-family: var(--sans); font-weight: 600; line-height: 1; text-align: center;
  transition: transform 0.3s;
}
.news-day { font-size: 2.8rem; letter-spacing: 0.02em; }
.news-month { margin-top: 6px; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.news-item:hover .news-date { transform: scale(1.06); }
.news-card { margin-left: var(--gap); }
.news-card {
  position: relative; display: grid; grid-template-columns: 1fr; background: #fff; color: var(--text); text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card.has-image { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.news-card:hover { transform: translateX(4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.news-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.news-card-body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.news-card h3 { font-size: calc(1.6rem * var(--heading-scale)); color: var(--heading-color); margin: 0 0 12px; }
.news-card .prose { margin: 0; }
.news-card .more { margin-top: auto; padding-top: 18px; }
.is-admin .news-list > .admin-add { margin-left: calc(var(--when) + var(--gap)); width: auto; aspect-ratio: auto; min-height: 120px; }
@media (max-width: 760px) {
  /* Téléphone : pastilles plus petites, toujours sur la ligne à gauche */
  .news-list { --when: 84px; --gap: 14px; gap: 40px; }
  .news-year-tag { font-size: 0.75rem; padding: 5px 12px; }
  .news-year-tag + .news-item { margin-top: -16px; }
  .news-day { font-size: 1.9rem; }
  .news-month { margin-top: 4px; font-size: 0.62rem; letter-spacing: 0.1em; }
  .news-card.has-image { grid-template-columns: 1fr; }
  .news-card img { min-height: 0; aspect-ratio: 3 / 2; }
}
.news-empty { text-align: center; color: var(--muted); font-style: italic; }
/* Date sous le titre d'un article : « 24 septembre 2026 », bien lisible */
.page-header p[data-news-date] { font: 400 1.25rem var(--serif); letter-spacing: 0.04em; text-transform: none; }

/* Bouton retour en bas à gauche du bandeau d'un article */
.news-back {
  position: absolute; bottom: clamp(16px, 3vw, 32px); left: clamp(16px, 4vw, 48px); z-index: 2;
  background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(4px); border-color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 620px) { .news-back { padding: 0.6em 1.2em; } }
.news-article { text-align: left; }
.news-article .lead { text-align: center; }
.news-body { margin: 0; font-size: 1.05rem; }
/* Photos d'un article : mosaïque au format d'origine */
.news-photos { columns: 3 240px; column-gap: 12px; max-width: 1080px; margin: 0 auto; }
.news-photo { position: relative; margin: 0 0 12px; break-inside: avoid; }
.news-photo img { width: 100%; cursor: zoom-in; transition: opacity 0.3s; }
.news-photo img:hover { opacity: 0.9; }
.news-photo figcaption { padding: 6px 2px 0; color: var(--muted); font-size: 0.85rem; font-style: italic; }
.is-admin .news-photo img { cursor: grab; }

/* Agrandissement des photos */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 48px 64px; background: rgba(15, 13, 12, 0.94); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; color: rgba(255, 255, 255, 0.8); font-style: italic; }
.lightbox-close { position: absolute; top: 12px; right: 20px; border: 0; background: none; color: #fff; font-size: 2.4rem; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; letter-spacing: 0.1em; }
@media (max-width: 620px) { .lightbox { padding: 48px 12px; } .lightbox-nav { top: auto; bottom: 8px; transform: none; } }

/* Galeries des shootings (sans image) */
.shoots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.shoot-card {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; min-height: 220px; padding: 32px 24px; text-align: center; text-decoration: none;
  background: #fff; border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.shoot-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.shoot-card[href]:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.shoot-category { color: var(--accent); }
.shoot-card h3 { font-size: calc(1.5rem * var(--heading-scale)); color: var(--heading-color); margin: 4px 0; }
.shoot-date { font-size: 0.85rem; color: var(--muted); }
.shoot-cta { margin-top: 12px; }
.shoot-card.is-pending .shoot-cta { color: var(--muted); }

/* Page d'une prestation */
.narrow { max-width: 760px; text-align: center; }
.lead { font: 400 clamp(1.3rem, 2.6vw, 1.6rem) / 1.5 var(--serif); color: var(--heading-color); margin: 0 0 1em; }
/* Formules : l'une sous l'autre, photo et texte en alternance */
.packages { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); max-width: 960px; margin: 0 auto; }
/* Carte encadrée : photo + description */
.package-row {
  position: relative; display: grid; grid-template-columns: 1fr; text-align: center;
  padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line);
}
.package-row.has-image {
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
  align-items: center; text-align: left;
}
.package-row.has-image.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); }
.package-row.has-image.reverse > img { order: 2; }
.package-row > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.package-row h3 { font-size: calc(clamp(1.6rem, 3vw, 2rem) * var(--heading-scale)); color: var(--heading-color); margin: 0; }
.package-price { margin: 8px 0 20px; }
.package-row .prose { margin: 0 0 28px; }

/* Apparition au scroll (classes posées par site.js) */
main { overflow-x: clip; }
.reveal { opacity: 0; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.from-left { transform: translateX(-80px); }
.reveal.from-right { transform: translateX(80px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
.back-link { display: inline-block; margin-top: 24px; color: var(--muted); text-decoration: none; }

/* Contact */
.contact-infos { list-style: none; padding: 0; margin: 24px 0 40px; }
.contact-infos li { margin-bottom: 6px; }
.contact-infos a { color: var(--accent); }
.contact-form label { display: block; margin-bottom: 18px; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  border: 1px solid var(--line); background: #fff; font: 400 1rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--text);
  cursor: text; caret-color: var(--accent); transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form select { cursor: pointer; }
/* Prénom et Nom côte à côte (l'un sous l'autre sur téléphone) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
/* Case active bien visible : on voit où l'on tape */
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.contact-form label:focus-within { color: var(--text); }

.site-footer { padding: 40px 16px; text-align: center; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer p { margin: 4px 0; }
.footer-legal { font-size: 0.8rem; }
.footer-legal a { color: var(--muted); }

/* Pages légales : bandeau sombre sans photo, texte lisible */
.page-header-simple { height: auto; min-height: 0; padding: calc(var(--header-h) + 56px) 16px 56px; }
.legal-page { text-align: left; }
.legal-text h2 {
  margin: 2.2em 0 0.6em; font: 400 calc(1.5rem * var(--heading-scale)) / 1.2 var(--serif); color: var(--heading-color);
  text-transform: var(--title-case); letter-spacing: var(--title-tracking);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin: 0 0 1em; white-space: pre-line; color: var(--text); line-height: var(--prose-leading); }

/* Mention sous les tarifs (ex. « Tous les tarifs sont indiqués TTC. ») */
.price-note { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; font-style: italic; }
.price-note:empty { display: none; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  /* Sur mobile : photo au-dessus, texte en dessous */
  .package-row.has-image, .package-row.has-image.reverse { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .package-row.has-image.reverse > img { order: 0; }
  .package-row > img { aspect-ratio: 3 / 2; }
  .menu-toggle { display: block; }
  .site-header nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(20, 18, 16, 0.95); padding: 8px 16px;
  }
  .site-header.open nav { display: flex; }
  .site-header nav a { padding: 12px 0; }
}

/* ==========================================================================
   Admin (overlay d'édition)
   ========================================================================== */
.is-admin { --admin-bar-h: 44px; padding-top: var(--admin-bar-h); }
.is-admin .admin-draggable img { cursor: grab; }

.admin-bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--admin-bar-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  background: #16181d; color: #fff; font: 500 0.85rem var(--ui);
}
.admin-bar-actions { display: flex; gap: 16px; align-items: center; }
.admin-bar a, .admin-bar button { color: #cfd6e4; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; }
.admin-bar a:hover, .admin-bar button:hover { color: #fff; }

/* Contour pour montrer ce qui est modifiable */
.is-admin [data-slot], .is-admin [data-id] { outline: 2px dashed transparent; outline-offset: -2px; transition: outline-color 0.2s; }
.is-admin [data-slot]:hover, .is-admin [data-id]:hover { outline-color: var(--admin); }

.admin-tools { position: absolute; top: 12px; right: 12px; z-index: 5; display: flex; gap: 6px; }
/* Sous l'en-tête pour les bandeaux, en haut à droite ailleurs */
.is-admin .hero > .admin-tools, .is-admin .page-header > .admin-tools { top: calc(var(--header-h) + 12px); }
.is-admin .contact-infos { position: relative; padding: 8px 56px 8px 8px; }
.is-admin .contact-infos > .admin-tools { top: 4px; right: 4px; }
/* Éléments masqués sur le site mais visibles en admin (data-admin-note posé par site.js) */
.is-admin [data-admin-note] > :not(.admin-tools) { opacity: 0.4; }
.is-admin [data-admin-note]::after {
  content: attr(data-admin-note); position: absolute; left: 8px; bottom: 8px; z-index: 4;
  padding: 2px 8px; border-radius: 4px; background: #16181d; color: #fff; font: 500 0.7rem var(--ui);
}
.admin-tool {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem;
  background: #fff; color: var(--admin); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.admin-tool:hover { transform: scale(1.1); }
.admin-tool.danger { color: var(--danger); }
.admin-tool.featured-on { color: #d4a24c; }
.admin-tool.labeled { width: auto; padding: 0 16px; border-radius: 19px; font: 600 0.8rem var(--ui); }
.admin-tool.labeled:hover { transform: scale(1.05); }
/* Photos et textes d'un bloc : cliquables en admin */
.is-admin .admin-clickable { cursor: pointer; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color 0.2s; }
.is-admin .admin-clickable:hover { outline-color: var(--admin); }
.dragging { opacity: 0.4; }

.admin-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; min-height: 200px; aspect-ratio: 4 / 3; margin-bottom: 16px; break-inside: avoid;
  border: 2px dashed var(--admin); border-radius: 4px; background: rgba(47, 111, 237, 0.05);
  color: var(--admin); font: 500 0.9rem var(--ui); cursor: pointer;
}
.admin-add span { font-size: 2.5rem; line-height: 1; }
.admin-add small { display: block; margin-top: 4px; font-weight: 400; font-size: 0.75rem; opacity: 0.75; }
.admin-add:disabled { cursor: default; opacity: 0.6; }
.admin-add:hover { background: rgba(47, 111, 237, 0.1); }

.admin-modal { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 8px; padding: 24px; font-family: var(--ui); font-size: 16px; color: #1f1d1a; }
.admin-modal-wide { width: min(620px, calc(100vw - 32px)); }
.admin-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
.admin-modal h3 { margin: 0 0 16px; font: 500 1.1rem var(--ui); }
.admin-dropzone {
  display: grid; place-items: center; gap: 8px; min-height: 120px; padding: 12px; margin-bottom: 16px;
  border: 2px dashed var(--line); border-radius: 6px; cursor: pointer; text-align: center; color: var(--muted); font-size: 0.85rem;
}
.admin-extra-link { display: block; margin: 4px 0 12px; color: var(--admin); font-size: 0.85rem; font-weight: 500; }
/* Sous la photo : recadrer / retirer */
.admin-image-tools { display: flex; justify-content: space-between; gap: 12px; margin: -8px 0 16px; }
.admin-image-tools:not(:has(button:not([hidden]))) { display: none; }
.admin-crop { padding: 6px 12px; border: 1px solid var(--admin); border-radius: 4px; background: #fff; color: var(--admin); font: 500 0.8rem var(--ui); cursor: pointer; }
.admin-crop:hover { background: var(--admin); color: #fff; }
.admin-image-tools .admin-remove-image { margin: 0 0 0 auto; }

/* Fenêtre de recadrage (façon Lightroom) : cadre fixe, la photo se déplace et se zoome dessous */
.cropper-modal { width: min(920px, calc(100vw - 24px)); }
.crop-ratios { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.crop-ratios button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #1f1d1a; font: 500 0.8rem var(--ui); cursor: pointer; }
.crop-ratios button.active { border-color: var(--admin); background: var(--admin); color: #fff; }
.crop-stage {
  position: relative; width: 100%; height: min(60vh, 560px); overflow: hidden; border-radius: 6px;
  background: #111; cursor: grab; touch-action: none; user-select: none;
}
.crop-stage:active { cursor: grabbing; }
.crop-stage img { position: absolute; max-width: none; max-height: none; pointer-events: none; }
/* Le cadre : tout ce qui est autour est assombri */
.crop-frame {
  position: absolute; pointer-events: none; outline: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
  background: linear-gradient(90deg, transparent calc(33.33% - 0.5px), rgba(255, 255, 255, 0.45) calc(33.33% - 0.5px), rgba(255, 255, 255, 0.45) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255, 255, 255, 0.45) calc(66.66% - 0.5px), rgba(255, 255, 255, 0.45) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px)),
    linear-gradient(transparent calc(33.33% - 0.5px), rgba(255, 255, 255, 0.45) calc(33.33% - 0.5px), rgba(255, 255, 255, 0.45) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255, 255, 255, 0.45) calc(66.66% - 0.5px), rgba(255, 255, 255, 0.45) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
}
.crop-zoom { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: #1f1d1a; font: 600 1.1rem var(--ui); }
.crop-zoom input { flex: 1; accent-color: var(--admin); cursor: pointer; }
.crop-zoom button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #1f1d1a; font: 500 0.8rem var(--ui); cursor: pointer; }
.crop-hint { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 0.8rem; }
.admin-remove-image { display: block; margin: -8px 0 16px auto; background: none; border: 0; color: var(--danger); font: 500 0.8rem var(--ui); cursor: pointer; }
.admin-chip {
  margin: 6px 6px 0 0; padding: 3px 10px; border: 1px solid var(--admin); border-radius: 999px;
  background: #fff; color: var(--admin); font: 500 0.75rem var(--ui); cursor: pointer;
}
.admin-chip:hover { background: var(--admin); color: #fff; }
.admin-dropzone:hover { border-color: var(--admin); }
/* Fichier glissé au-dessus d'une zone d'ajout */
.admin-dropzone.is-dragover, .admin-add.is-dragover {
  border-color: var(--admin); border-style: solid; background: rgba(47, 111, 237, 0.12); color: var(--admin);
  transform: scale(1.02); transition: transform 0.15s, background 0.15s;
}
.admin-dropzone.is-dragover *, .admin-add.is-dragover * { pointer-events: none; }
.admin-preview { max-height: 220px; object-fit: contain; }
.admin-fields label, .login-card label { display: block; margin-bottom: 12px; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.admin-fields input, .admin-fields textarea, .admin-fields select, .login-card input {
  display: block; width: 100%; margin-top: 4px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 400 0.95rem var(--ui); color: #1f1d1a;
}
.admin-fields select { font-size: 1.1rem; }
.admin-checkbox { display: flex !important; align-items: center; gap: 10px; color: #1f1d1a !important; font-size: 0.9rem !important; cursor: pointer; }
.admin-fields .admin-checkbox input[type=checkbox] { display: inline-block; width: 18px; height: 18px; margin: 0; accent-color: var(--admin); }
.admin-fields input[type=color] { width: 64px; height: 36px; padding: 2px; cursor: pointer; }
/* Curseur de taille + valeur affichée à droite */
.admin-range { display: grid !important; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
.admin-range input { grid-column: 1; accent-color: var(--admin); }
.admin-range output { grid-column: 2; min-width: 56px; text-align: right; font-weight: 600; color: #1f1d1a; }
.admin-field-heading { margin: 20px 0 10px; padding-top: 12px; border-top: 1px solid var(--line); font: 600 0.75rem var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--admin); }
.admin-field-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.admin-reset { margin-right: auto; border: 0 !important; background: none !important; color: var(--muted); text-decoration: underline; }
.admin-fields textarea { min-height: 120px; resize: vertical; }
.admin-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.admin-actions button { padding: 8px 16px; border-radius: 4px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 500 0.85rem var(--ui); }
.admin-actions .primary { background: var(--admin); border-color: var(--admin); color: #fff; }
.admin-actions .primary:disabled { opacity: 0.6; }
.admin-error { color: var(--danger); font-size: 0.85rem; }
/* Résultats de la recherche de fiche Google */
.find-place-results { list-style: none; margin: 16px 0 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.find-place-results li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.find-place-results li > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.find-place-results small { color: var(--muted); }
.find-place-results a { color: var(--admin); font-size: 0.8rem; }
.find-place-results button { flex: none; padding: 8px 14px; border: 0; border-radius: 4px; background: var(--admin); color: #fff; font: 500 0.85rem var(--ui); cursor: pointer; }
.find-place-results .find-place-info { color: var(--muted); font-style: italic; }

/* Page de connexion */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: min(360px, 100%); background: #fff; padding: 32px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }
.login-card h1 { font: 500 2rem var(--serif); margin: 0 0 24px; text-align: center; }
.login-card .btn { width: 100%; margin-top: 8px; }
.login-card .btn:hover { background: var(--text); color: #fff; }
.login-back { display: block; margin-top: 16px; text-align: center; font-size: 0.8rem; color: var(--muted); }
