/*
 * Thème "defaut" — Planimage.fr
 * Feuille de style INDÉPENDANTE : ce thème redéfinit entièrement l'apparence du site
 * public. Un futur thème n'a besoin d'aucun autre fichier CSS que le sien — il doit
 * simplement couvrir le même "contrat" de classes que celui-ci, utilisées par les
 * gabarits partagés (www/includes/public-header.php, public-footer.php, pages
 * publiques). Voir admin/documentation/architecture.md pour la liste du contrat.
 *
 * Palette extraite des logos fournis (_temp_planimage.fr/) :
 *   encre / bleu nuit profond : #1c2434
 *   ivoire chaud (fond)       : #fbf5ea
 *   doré                      : #c4912e
 *   bleu-gris                 : #5b7088
 *   blanc                     : #ffffff
 */

/*
 * Polices auto-hébergées (../fonts/, licence SIL Open Font License — voir OFL.txt) :
 * Cormorant Garamond (titres, élégant/poétique — écho au serif du logo vertical),
 * Jost (texte courant, géométrique — écho au sans du logo horizontal) et
 * Pinyon Script (lettrine décorative, calligraphique). Fichiers variables (un seul
 * fichier par style couvre toute la plage de graisse) sauf Pinyon Script (statique).
 */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/CormorantGaramond-Variable.woff2') format('woff2-variations'), url('../../fonts/CormorantGaramond-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/CormorantGaramond-Italic-Variable.woff2') format('woff2-variations'), url('../../fonts/CormorantGaramond-Italic-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../../fonts/Jost-Variable.woff2') format('woff2-variations'), url('../../fonts/Jost-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pinyon Script';
  src: url('../../fonts/PinyonScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c2434;
  --ink-soft: #34405a;
  --ivory: #fbf5ea;
  --ivory-deep: #f2e9d8;
  --gold: #c4912e;
  --gold-soft: #e0b869;
  --blue-grey: #5b7088;
  --white: #ffffff;

  --font-heading: 'Cormorant Garamond', Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-lettrine: 'Pinyon Script', cursive;

  --container-width: 1120px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(28, 36, 52, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-grey); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- En-tête --- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--ivory-deep);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-logo img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav__link {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.site-nav__link:hover { color: var(--gold); }

.site-nav__toggle { display: none; }

/* Sélecteur de langue (FR | EN) — toujours visible, y compris sur mobile à côté du ☰ */
.site-header__tools { display: flex; align-items: center; gap: 12px; margin-left: 24px; }
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(28, 36, 52, 0.25);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.lang-switch__item {
  padding: 4px 10px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
}
a.lang-switch__item:hover { color: var(--gold); }
.lang-switch__item--active { background: var(--ink); color: var(--ivory); }

@media (max-width: 768px) {
  /* Menu ☰ ouvert : la liste passe sous la ligne logo + FR|EN + ☰ (au lieu de s'intercaler entre eux) */
  .site-header__inner { flex-wrap: wrap; }
  .site-header__tools { margin-left: auto; }
  .site-nav { display: none; order: 3; width: 100%; padding: 8px 0 4px; gap: 18px; }
  .site-nav { display: none; }
  .site-nav__toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--ink-soft);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--ink);
  }
}

/* --- Hero (accueil) --- */
.hero {
  position: relative;
  z-index: 0;
  padding: 96px 24px 72px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-position: center 60%;
  background-size: cover;
  background-image:
    linear-gradient(to bottom, var(--ivory) 0%, rgba(251, 245, 234, 0.72) 18%, rgba(251, 245, 234, 0.72) 82%, var(--ivory) 100%),
    url('/assets/img/hero-bg.jpg');
  background-image:
    linear-gradient(to bottom, var(--ivory) 0%, rgba(251, 245, 234, 0.72) 18%, rgba(251, 245, 234, 0.72) 82%, var(--ivory) 100%),
    image-set(url('/assets/img/hero-bg.webp') type('image/webp'), url('/assets/img/hero-bg.jpg') type('image/jpeg'));
}

.hero__logo { margin: 0 auto 32px; max-width: 300px; }

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Notice / bandeau --- */
.notice {
  display: inline-block;
  background: var(--ivory-deep);
  color: var(--ink-soft);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover { background: var(--ink-soft); color: var(--white); box-shadow: var(--shadow); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { color: var(--gold); border-color: var(--gold); }

.btn--large { padding: 18px 40px; font-size: 1.1rem; }

/* --- Sections / cartes (prêt pour P2 : univers de prestations, réalisations) --- */
.section { padding: 64px 24px; }
.section__title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }

/* --- Pied de page --- */
.site-footer {
  background: var(--ink);
  color: var(--ivory-deep);
  padding: 48px 24px 28px;
  /*margin-top: 64px;*/
}

.site-footer a { color: var(--ivory-deep); }
.site-footer a:hover { color: var(--gold-soft); }

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer__logo img { height: 32px; opacity: 0.92; }

.footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: rgba(251,245,234,0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Contenu légal (mentions légales / politique de confidentialité) --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-content h1 { margin-bottom: 32px; }
.legal-content p { margin: 0 0 16px; color: var(--ink-soft); }
.legal-content strong { color: var(--ink); }
.legal-content h2 { margin-top: 48px; font-size: 1.5rem; }
.legal-content h3 { margin-top: 0; font-size: 1.1rem; color: var(--blue-grey); }
.legal-content ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-soft); }
.legal-content ul li { margin-bottom: 6px; }
.cta-inline { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.cta-inline:hover { color: var(--ink); }

/* --- Page Prestations : intro, sommaire, questionnaire --- */
.prestations-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.prestations-intro p { color: var(--ink-soft); font-size: 1.05rem; }

.sommaire { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto 48px; }
.sommaire a { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--blue-grey); color: var(--blue-grey); font-size: 0.85rem; }
.sommaire a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.prestation-guide { max-width: 760px; margin: 0 auto 56px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; text-align: center; }
.prestation-guide h2 { margin-top: 0; margin-bottom: 8px; }
.prestation-guide > p { color: var(--ink-soft); margin: 0 0 20px; }
.prestation-guide__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--blue-grey);
  background: transparent;
  color: var(--blue-grey);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.prestation-guide__result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ivory-deep); text-align: left; }
.prestation-guide__result[hidden] { display: none; }
.prestation-guide__blurb { color: var(--ink-soft); margin: 0 0 16px; }
.prestation-guide__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.prestation-guide__anchor { font-size: 0.9rem; font-weight: 600; color: var(--gold); }
.prestation-guide__anchor:hover { color: var(--ink); }

.prestation-item {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 28px 0;
}
.prestation-item--right { flex-direction: row-reverse; }
.prestation-item__img {
  flex: 0 0 auto;
  width: 130px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ivory-deep);
}
.prestation-item__img-link { flex: 0 0 auto; display: block; line-height: 0; border-radius: var(--radius); }
.prestation-item__img-link .prestation-item__img { display: block; transition: transform .2s ease, box-shadow .2s ease; }
.prestation-item__img-link:hover .prestation-item__img,
.prestation-item__img-link:focus-visible .prestation-item__img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28, 36, 52, 0.18); }
.prestation-item__body { flex: 1 1 auto; min-width: 0; }
.prestation-item--right .prestation-item__body { text-align: right; }
.prestation-item__body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.prestation-item__body p { margin: 0 0 8px; }
.prestation-item__body p:last-child { margin-bottom: 0; }
.prestation-item__cta { margin-top: 4px; }
@media (max-width: 640px) {
  .prestation-item, .prestation-item--right { flex-direction: column; align-items: flex-start; }
  .prestation-item__img { width: 150px; }
  .prestation-item--right .prestation-item__body { text-align: left; }
}

.prestation-final-cta {
  position: relative;
  z-index: 0;
  text-align: center;
  padding: 88px 24px;
  margin-top: 16px;
  background-position: center 55%;
  background-size: cover;
  background-image:
    linear-gradient(to bottom, var(--ivory-deep) 0%, rgba(242, 233, 216, 0.6) 30%, rgba(242, 233, 216, 0.6) 70%, var(--ivory-deep) 100%),
    url('/assets/img/prestations-cta-bg.jpg');
  background-image:
    linear-gradient(to bottom, var(--ivory-deep) 0%, rgba(242, 233, 216, 0.6) 30%, rgba(242, 233, 216, 0.6) 70%, var(--ivory-deep) 100%),
    image-set(url('/assets/img/prestations-cta-bg.webp') type('image/webp'), url('/assets/img/prestations-cta-bg.jpg') type('image/jpeg'));
}
.prestation-final-cta h2 { margin-bottom: 12px; }
.prestation-final-cta p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 24px; }

/* --- Bandeau tarifs en bas d'une fiche réalisation (2026-08-22) --- */
.realisation-tarifs-cta {
  text-align: center;
  padding: 72px 24px;
  margin-top: 16px;
  background: var(--ivory-deep);
}
.realisation-tarifs-cta h2 { margin-bottom: 12px; }
.realisation-tarifs-cta p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 28px; }

/* --- Page À propos --- */
.apropos-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 48px;
  align-items: start;
}
.apropos-photo img, .apropos-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  display: block;
}
.apropos-photo img { object-fit: cover; }
.apropos-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ivory-deep);
  border: 2px dashed var(--gold-soft);
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 24px;
}
.apropos-text p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.7; }
.apropos-text p:first-of-type {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
}

/* Encart mis en avant dans le texte À propos (ex. duo/équipe) — même vocabulaire visuel que les
   autres encarts du site (bordure dorée, fond ivoire). */
.apropos-encart {
  background: var(--ivory-deep);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 18px;
}
.apropos-encart p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.apropos-encart p + p { margin-top: 12px; }
/* Neutralise .apropos-text p:first-of-type (style "lead" du tout premier paragraphe de la page) :
   le premier <p> de l'encart, dans son propre conteneur, y est involontairement aussi éligible. */
.apropos-text .apropos-encart p:first-of-type {
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .apropos-layout { grid-template-columns: 1fr; }
  .apropos-photo { max-width: 280px; margin: 0 auto; }
}

/* --- Page 404 --- */
.error-page {
  text-align: center;
  padding: 120px 24px;
}
.error-page h1 { font-size: 3rem; color: var(--gold); }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 24px;
}

.container--narrow { max-width: 760px; }

/* --- Portfolio : cartes de réalisation --- */
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.realisation-card {
  display: block;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.realisation-card:hover { transform: translateY(-3px); color: var(--ink); }

.realisation-card__image { position: relative; aspect-ratio: 4 / 3; }

.realisation-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-deep);
  box-shadow: var(--shadow);
}
.realisation-card__media picture, .realisation-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.realisation-card__label-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.realisation-card__label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: max-content;
  max-width: calc(100% - 36px);
  background: var(--white);
  border: 1px solid rgba(28, 36, 52, 0.35);
  border-radius: 0;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.realisation-card:hover .realisation-card__label { transform: translateX(1300px); opacity: 0; }

.lettrine {
  font-family: var(--font-lettrine);
  font-weight: 400;
  font-size: 1.7em;
  line-height: 1;
  color: var(--gold);
  padding-right: 0.05em;
  vertical-align: -0.08em;
}

/* --- Filtres par univers / catégorie --- */
.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 40px;
}

.tag-filters--under-header { margin-top: 32px; }

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--blue-grey);
  color: var(--blue-grey);
  font-size: 0.85rem;
}
.tag:hover, .tag--active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* --- En-tête de page univers / catégorie --- */
.univers-header {
  background: var(--ivory-deep);
  padding: 64px 24px;
  text-align: center;
}
.univers-header h1 { margin-bottom: 12px; }
.univers-header p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

/* --- Ornements (section Mariages) --- */
.ornament { display: block; margin: 0 auto; opacity: 0.85; }
.univers-header--mariages .ornament--header { margin: 4px auto 16px; }
.univers-header--mariages p { margin-top: 0; }
.ornament--divider { margin: 44px auto; }
.ornament--under-title { margin: 10px auto 20px; }
.realisation-detail__title--centre { text-align: center; }

/* --- Fiche réalisation --- */
.realisation-detail { padding: 56px 24px 0; }
.realisation-detail__meta { color: var(--ink-soft); margin: -8px 0 16px; }
.realisation-detail__recit { margin-top: 24px; font-size: 1.05rem; }
.realisation-detail__recit p { margin: 0 0 16px; }

/* --- Galerie plein écran (lightbox) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.gallery-item {
  padding: 0;
  border: none;
  background: var(--ivory-deep);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
}
.gallery-item picture, .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:focus { outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 36, 52, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox__figure { max-width: 90vw; max-height: 88vh; text-align: center; margin: 0; }
.lightbox__image { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox__caption { color: var(--ivory); opacity: 0.8; margin-top: 12px; font-size: 0.9rem; }

.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer;
}
.lightbox__nav {
  background: none; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer;
  padding: 12px 18px; opacity: 0.7;
}
.lightbox__nav:hover { opacity: 1; }

@media (max-width: 640px) {
  .lightbox__nav { font-size: 2rem; padding: 8px 10px; }
}

/* --- Vidéos externes --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--container-width);
  margin: 40px auto 0;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.video-embed__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; color: var(--ink);
  font-size: 1.3rem; cursor: pointer;
}

.video-embed__title {
  position: absolute; bottom: 0; left: 0; right: 0;
  margin: 0; padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white); font-size: 0.85rem;
}

/* --- Formulaires publics (contact...) --- */
.field { margin-bottom: 20px; text-align: left; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=date], .field input[type=url], .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--ivory-deep);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-grey);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[type=file] {
  display: block;
  width: 100%;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.field input[type=file]::file-selector-button {
  padding: 9px 18px;
  margin-right: 12px;
  border: 1px solid var(--ivory-deep);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.field input[type=file]::file-selector-button:hover { background: var(--ivory-deep); }

/* --- Captcha (vérification anti-robot, includes/partials/captcha-field.php) --- */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  background: var(--white);
}
.captcha-checkbox { position: relative; flex-shrink: 0; }
.captcha-checkbox input[type=checkbox] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.captcha-checkbox label {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0;
  cursor: pointer;
}
.captcha-checkbox label::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ivory-deep);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.captcha-checkbox label:hover::before { border-color: var(--blue-grey); }
.captcha-checkbox input[type=checkbox]:checked + label::before {
  border-color: var(--gold);
  background: var(--gold);
}
.captcha-checkbox input[type=checkbox]:checked + label::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 5px;
  width: 7px;
  height: 14px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: captcha-checkmark 0.25s ease forwards;
}
.captcha-checkbox::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 15px;
  width: 0;
  height: 0;
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 49%, var(--gold-soft) 49.5%, var(--gold-soft) 50.5%, transparent 51%),
    linear-gradient(45deg, transparent 49%, var(--gold-soft) 49.5%, var(--gold-soft) 50.5%, transparent 51%),
    linear-gradient(90deg, transparent 49%, var(--gold-soft) 49.5%, var(--gold-soft) 50.5%, transparent 51%),
    linear-gradient(135deg, transparent 49%, var(--gold-soft) 49.5%, var(--gold-soft) 50.5%, transparent 51%);
  mask: radial-gradient(circle, transparent 0%, transparent 35%, black 40%, black 90%, transparent 95%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 0%, transparent 35%, black 40%, black 90%, transparent 95%, transparent 100%);
  opacity: 0;
  pointer-events: none;
}
.captcha-checkbox:has(input[type=checkbox]:checked)::after {
  width: 80px;
  height: 80px;
  animation: captcha-burst 0.5s ease forwards;
}
.captcha-title { margin: 0; font-weight: 500; color: var(--ink); cursor: pointer; }

@keyframes captcha-checkmark {
  0% { height: 0; width: 0; opacity: 0; }
  50% { height: 14px; width: 7px; opacity: 1; }
  100% { height: 14px; width: 7px; opacity: 1; }
}
@keyframes captcha-burst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.1); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(0.85); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes captcha-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}
.captcha-box.captcha-error {
  border-color: #c0574c;
  box-shadow: 0 0 0 3px rgba(192, 87, 76, 0.18);
  animation: captcha-shake 0.5s ease;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 24px;
}

/* --- Civilité (formulaire de contact) : contrôle segmenté, aucune option cochée par défaut --- */
.field-label-optional { font-weight: 400; color: var(--ink-soft); text-transform: none; letter-spacing: normal; }
.civilite-choice {
  display: inline-flex;
  border: 1px solid var(--blue-grey);
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
}
.civilite-choice input[type=radio] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.civilite-choice label {
  padding: 9px 16px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--blue-grey);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.civilite-choice label:not(:last-of-type) { border-right: 1px solid var(--blue-grey); }
.civilite-choice input[type=radio]:checked + label {
  background: var(--ink);
  color: var(--white);
}
.civilite-choice input[type=radio]:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.92rem; }
.alert--success { background: #e8f3ea; color: #2f6a41; border: 1px solid #bfe0c8; }
.alert--error { background: #fbeae8; color: #a3392f; border: 1px solid #f0c4be; }
/* [title] : infobulle d'aide (ex. rate-limit captcha) — indice visuel qu'un survol en dit plus. */
.alert--error[title] { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
/* Révélé au clic sur .alert--error[title] par assets/js/hint-click.js (même contenu que title,
   accessible sans attendre le survol natif, et fonctionne au tactile). */
.hint-reveal {
  margin: -12px 0 20px;
  padding: 12px 16px;
  background: var(--ivory-deep);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  animation: hint-reveal-in 0.22s ease;
}
.hint-reveal--closing { animation: hint-reveal-out 0.16s ease forwards; }
@keyframes hint-reveal-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hint-reveal-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-4px); }
}

.contact-intro { color: var(--ink-soft); margin-bottom: 24px; }
.contact-quick-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.contact-hero {
  position: relative;
  z-index: 0;
}

.contact-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-position: center 30%;
  background-size: cover;
  background-image:
    linear-gradient(160deg, rgba(251, 245, 234, 0.88) 0%, rgba(251, 245, 234, 0.62) 45%, rgba(251, 245, 234, 0.88) 100%),
    url('/assets/img/contact-bg.jpg');
  background-image:
    linear-gradient(160deg, rgba(251, 245, 234, 0.88) 0%, rgba(251, 245, 234, 0.62) 45%, rgba(251, 245, 234, 0.88) 100%),
    image-set(url('/assets/img/contact-bg.webp') type('image/webp'), url('/assets/img/contact-bg.jpg') type('image/jpeg'));
}

.contact-form {
  text-align: left;
  padding: 32px clamp(20px, 4vw, 48px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(251, 245, 234, 0.96);
}

/* --- Réservation d'appel téléphonique (formulaire de contact) --- */
.rdv-booking {
  margin: 8px 0 24px;
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  background: var(--white);
  padding: 4px 20px;
}
.rdv-booking__toggle {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.rdv-booking__toggle::-webkit-details-marker { display: none; }
.rdv-booking__selected {
  font-weight: 400;
  color: var(--gold);
}
.rdv-booking__toggle::after {
  content: '+';
  position: absolute;
  right: 0; top: 14px;
  font-size: 1.3rem;
  color: var(--gold);
}
.rdv-booking[open] .rdv-booking__toggle::after { content: '−'; }
.rdv-booking__content { padding: 0 0 20px; }
.rdv-booking__jours {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.rdv-booking__jour {
  border: 1px solid var(--ivory-deep);
  border-radius: 8px;
  padding: 10px 14px 14px;
  min-width: 190px;
}
.rdv-booking__jour legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-grey);
  padding: 0 4px;
}
.rdv-booking__creneaux { display: flex; flex-wrap: wrap; gap: 8px; }
.rdv-booking__creneaux input[type=radio] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.rdv-booking__creneaux label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-grey);
  color: var(--blue-grey);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rdv-booking__creneaux label:hover { border-color: var(--gold); color: var(--gold); }
.rdv-booking__creneaux input[type=radio]:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.rdv-booking__creneaux input[type=radio]:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Radio "vide" (désélection) : invisible, seul son <label> ci-dessous sert d'affordance. */
.rdv-booking__clear-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
/* N'apparaît que si un vrai créneau est coché — jamais mise en avant, pour ne pas inciter à annuler. */
.rdv-booking__clear-wrap { display: none; margin: 14px 0 0; }
.rdv-booking__content:has(.rdv-booking__jours input[type=radio]:checked) .rdv-booking__clear-wrap {
  display: block;
}
.rdv-booking__clear-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.rdv-booking__clear-label:hover { color: var(--gold); }
.rdv-confirmation { text-align: left; }

/* --- Calendrier de disponibilité (page Contact) --- */
.dispo-calendrier { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.dispo-calendrier__mois { min-width: 220px; }
.dispo-calendrier__titre { text-align: center; font-family: var(--font-heading); font-weight: 500; margin: 0 0 12px; text-transform: capitalize; }
.dispo-calendrier__grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dispo-calendrier__entete { text-align: center; font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }
.dispo-calendrier__vide { }
.dispo-calendrier__jour { text-align: center; padding: 6px 0; border-radius: 6px; font-size: 0.85rem; }
.dispo-calendrier__jour--reserve { background: var(--ivory-deep); color: var(--ink-soft); text-decoration: line-through; }
.dispo-calendrier__legende { width: 100%; text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }
.dispo-calendrier__legende .dispo-calendrier__jour--reserve { display: inline-block; width: 14px; height: 14px; padding: 0; vertical-align: middle; margin-right: 4px; }

/* --- FAQ (accordéon natif <details>) --- */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 14px;
  font-size: 1.3rem;
  color: var(--gold);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item__answer { padding: 0 0 18px; color: var(--ink-soft); }

/* --- Témoignages --- */
.temoignage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.temoignage-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.temoignage-card__note { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.temoignage-card__texte { font-family: var(--font-heading); font-size: 1.15rem; font-style: italic; color: var(--ink); margin: 0 0 16px; }
.temoignage-card__auteur { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

.temoignage-grid--accueil { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.temoignage-card--avatar { text-align: center; }
.temoignage-card__photo { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.temoignage-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.temoignage-card--avatar .temoignage-card__note { justify-content: center; }
.temoignage-card--avatar .temoignage-card__texte { font-size: 1rem; }

/* --- Espace client (Priorité 3, section 7) --- */
.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--ivory-deep);
  margin-bottom: 28px;
}
.client-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.client-tab-btn:hover { color: var(--ink); }
.client-tab-btn.active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.client-tab-panel { display: none; }
.client-tab-panel.active { display: block; }
.client-tab-select { display: none; width: 100%; margin-bottom: 24px; }

@media (max-width: 640px) {
  .client-tabs { display: none; }
  .client-tab-select { display: block; }
}

.client-parrainage {
  padding: 20px 24px;
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: var(--ivory);
}
.client-parrainage h2 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; }
.client-parrainage p { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.9rem; }
.client-parrainage__lien { display: flex; gap: 8px; flex-wrap: wrap; }
.client-parrainage__lien input {
  flex: 1;
  min-width: 220px;
  padding: 8px 12px;
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.client-dossier-card {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--ivory-deep);
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: var(--ink);
  text-decoration: none;
}
.client-dossier-card:hover { border-color: var(--gold); }
.client-dossier-card h3 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; }
.client-dossier-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.client-timeline { list-style: none; margin: 0; padding: 0; }
.client-timeline li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ivory-deep);
}
.client-timeline li:last-child { border-bottom: none; }
.client-timeline .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ivory-deep); flex-shrink: 0; }
.client-timeline li.is-fait .dot { background: var(--gold); }
.client-timeline li.is-en_cours .dot { background: var(--blue-grey); }
.client-timeline li.is-fait { color: var(--ink-soft); }
.client-timeline li.is-en_cours strong { color: var(--ink); }

.client-doc-list { list-style: none; margin: 0; padding: 0; }
.client-doc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--ivory-deep);
  font-size: 0.92rem;
}
.client-doc-list li:last-child { border-bottom: none; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; background: var(--ivory-deep); color: var(--ink-soft); }
.badge--gold { background: #fdf6e9; color: var(--gold); }
.badge--success { background: #e8f3ea; color: #2f6a41; }

/*
 * Carte de visite virtuelle (/carte/{slug}) — gabarit AUTONOME, pas de site-header/site-footer
 * (chargement volontairement minimal, section 11 du cahier des charges cartes-visite-wallet).
 * Contrat : ces classes .bcard-* doivent être couvertes par tout futur thème, au même titre
 * que le reste du contrat listé dans admin/documentation/architecture.md.
 */
/*
 * Tailles fluides via clamp() plutôt que des points de rupture fixes : la carte reste bien
 * proportionnée en continu, d'un petit écran (iPhone SE, 320px) aux grands phablettes, sans
 * "saut" de mise en page à un point de rupture précis. `env(safe-area-inset-*)` couvre
 * l'encoche/l'indicateur d'accueil des iPhone récents (nécessite `viewport-fit=cover`, voir
 * la balise viewport de includes/pages/carte.php).
 */
.bcard-page {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(20px, 6vw, 32px) clamp(12px, 4vw, 16px) calc(clamp(28px, 8vw, 48px) + env(safe-area-inset-bottom));
  padding-left: calc(clamp(12px, 4vw, 16px) + env(safe-area-inset-left));
  padding-right: calc(clamp(12px, 4vw, 16px) + env(safe-area-inset-right));
  background: var(--ivory);
}
.bcard { width: 100%; max-width: 420px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 7vw, 32px) clamp(16px, 5vw, 24px); text-align: center; }
.bcard__logo { height: clamp(24px, 6vw, 30px); margin-bottom: clamp(16px, 5vw, 24px); }
.bcard__identity-row { display: flex; align-items: center; justify-content: center; margin: 0 0 18px; }
.bcard__portrait, .bcard__avatar-fallback { display: block; width: clamp(108px, 32vw, 140px); height: clamp(108px, 32vw, 140px); border-radius: 50%; flex: 0 0 auto; }
.bcard__portrait { overflow: hidden; border: 3px solid var(--ivory-deep); }
.bcard__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__avatar-fallback { background: var(--ink); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: clamp(1.6rem, 6vw, 2.1rem); }
.bcard__name { margin: 0 0 4px; font-size: clamp(1.3rem, 6vw, 1.55rem); overflow-wrap: break-word; }
.bcard__job { margin: 0 0 2px; color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.bcard__tagline { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.9rem; }
.bcard__bio { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.bcard__zone { margin: 0 0 22px; color: var(--blue-grey); font-size: 0.85rem; }
.bcard__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.bcard__actions .btn { width: 100%; min-height: 44px; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { .bcard__actions .btn { transition: none; } .bcard__actions .btn:hover { transform: none; } }
.bcard__qr { margin: 0 0 22px; }
.bcard__qr img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.bcard__qr p { font-size: 0.75rem; color: var(--ink-soft); margin: 8px 0 0; }
.bcard__footer { font-size: 0.75rem; color: var(--blue-grey); border-top: 1px solid var(--ivory-deep); padding-top: 16px; }
.bcard__footer a { color: var(--blue-grey); text-decoration: underline; }
.bcard--inactive p { color: var(--ink-soft); margin: 0 0 20px; }

/* ============================================================
   Page privée "Offre" par prestation (mariage/offre.php et futures
   prestations) — cahier-des-charges-tarifs-prestation-mariage.md.
   Page autonome mais rattachée au thème actif (même feuille de style),
   contrairement à la carte de visite qui charge public-header/footer.
   ============================================================ */

.offer-page { overflow-x: hidden; }

/* --- Barre fixe mobile (téléphone / WhatsApp / disponibilité), section 30 --- */
.offer-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; background: var(--ink); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}
.offer-mobile-bar a {
  flex: 1; text-align: center; color: var(--ivory); font-size: 0.85rem;
  padding: 12px 8px; min-height: 44px; box-sizing: border-box; display: flex;
  align-items: center; justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.offer-mobile-bar a:last-child { border-right: none; }
.offer-mobile-bar a:hover { color: var(--gold-soft); }
@media (min-width: 769px) { .offer-mobile-bar { display: none; } }
body.offer-page { padding-bottom: 60px; }
@media (min-width: 769px) { body.offer-page { padding-bottom: 0; } }

/* --- Hero (section 11) : photo de mariage en fond, logo sur badge ivoire — jamais de invert()
   sur le logo (encre "planimage" bleu nuit fixe, cf. piège déjà rencontré/corrigé sur ce projet) --- */
.offer-hero {
  position: relative; z-index: 0; text-align: center; color: var(--white);
  padding: 88px 24px 64px; background-size: cover; background-position: center;
}
.offer-hero__logo-badge {
  display: inline-block; background: var(--ivory); padding: 12px 24px;
  border-radius: 12px; margin: 0 0 28px; box-shadow: var(--shadow);
}
/* Sélecteur de langue des pages tarifs publiques (pas d'en-tête de site sur ces pages) */
.offer-lang { position: absolute; top: 16px; right: 16px; z-index: 2; }
.offer-lang .lang-switch { background: var(--ivory); border-color: var(--ivory-deep); }
@media print { .offer-lang { display: none; } }
.offer-hero__logo { max-width: 200px; display: block; margin: 0 auto; }
.offer-hero__title { font-family: var(--font-heading); font-weight: 500; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.offer-hero__lead { font-size: 1.15rem; margin: 0 0 6px; }
.offer-hero__duo { font-family: var(--font-heading); font-style: italic; font-size: 1.05rem; color: var(--ivory-deep); margin: 0 0 12px; }
.offer-hero__zone { font-size: 0.95rem; letter-spacing: 0.03em; color: var(--ivory-deep); margin: 0 0 28px; }
.offer-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Fond sombre par défaut (photo) : le btn--secondary par défaut (bordure/texte --ink) est invisible, on repasse en --ivory */
.offer-hero .btn--secondary { border-color: var(--ivory); color: var(--ivory); }
.offer-hero .btn--secondary:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* Variante sans photo de fond (2026-08-22, ex. page tarifs Portrait en attendant une vraie photo) :
   la palette clair/foncé s'inverse, le contenu reste lisible sans image. */
.offer-hero--no-photo { background: var(--ivory-deep); color: var(--ink); }
.offer-hero--no-photo .offer-hero__title { color: var(--ink); }
.offer-hero--no-photo .offer-hero__lead,
.offer-hero--no-photo .offer-hero__duo,
.offer-hero--no-photo .offer-hero__zone { color: var(--ink-soft); }
.offer-hero--no-photo .btn--secondary { border-color: var(--ink); color: var(--ink); }
.offer-hero--no-photo .btn--secondary:hover { color: var(--gold); border-color: var(--gold); }

/* --- Navigation d'ancres discrète (section 29) --- */
.offer-anchors {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  padding: 14px 24px; background: var(--white); border-bottom: 1px solid var(--ivory-deep);
  font-size: 0.85rem; position: sticky; top: 0; z-index: 10;
}
.offer-anchors a { color: var(--ink-soft); }
.offer-anchors a:hover { color: var(--gold); }
@media (max-width: 640px) { .offer-anchors { display: none; } }

/* --- Grille tarifaire (section 9 : 3 colonnes desktop, 1 colonne mobile) --- */
.offer-pricing {
  display: grid; gap: 28px; max-width: var(--container-width); margin: 0 auto; padding: 0 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .offer-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .offer-pricing { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 26px; text-align: center; display: flex; flex-direction: column;
  border: 1px solid var(--ivory-deep);
}
.pricing-card--featured { border-color: var(--gold); box-shadow: 0 10px 30px rgba(196, 145, 46, 0.18); }
.pricing-card__badge {
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin: 0 0 10px;
}
.pricing-card__name { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; }
.pricing-card__price { font-family: var(--font-heading); font-size: 2.4rem; color: var(--ink); margin: 0 0 4px; }
.pricing-card__duration { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 18px; }
.pricing-card__includes { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; }
.pricing-card__includes li { padding: 5px 0 5px 22px; position: relative; color: var(--ink-soft); font-size: 0.92rem; }
.pricing-card__includes li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.pricing-card__photo-min {
  display: inline-block; align-self: center; background: var(--ivory-deep); color: var(--ink);
  font-weight: 600; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; margin: 0 0 20px;
}
.pricing-card__film {
  border-top: 1px dashed var(--ivory-deep); border-bottom: 1px dashed var(--ivory-deep);
  padding: 16px 0; margin: 0 0 18px;
}
.pricing-card__film-title { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 2px; }
.pricing-card__film-price { font-family: var(--font-heading); font-size: 1.3rem; margin: 0 0 2px; }
.pricing-card__film-duration { font-size: 0.82rem; color: var(--blue-grey); margin: 0; }
.pricing-card__total { font-weight: 600; font-size: 1.05rem; margin: 0 0 22px; }
.pricing-card__cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.pricing-card__cta .btn { min-height: 44px; box-sizing: border-box; }

.offer-pricing__zone { text-align: center; font-size: 0.92rem; color: var(--ink-soft); margin: 22px auto 0; max-width: var(--container-width); padding: 0 24px; }
.offer-pricing__zone a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.offer-pricing__validite { text-align: center; font-size: 0.78rem; color: var(--ink-soft); opacity: 0.8; margin: 18px auto 0; max-width: var(--container-width); padding: 0 24px; }

/* --- Listes / récapitulatifs (sections Inclus, Photos, Film) --- */
.offer-included-list { list-style: none; padding: 0; margin: 0 0 20px; }
.offer-included-list li { padding: 8px 0 8px 26px; position: relative; }
.offer-included-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }

.offer-recap { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0; padding: 0; }
@media (min-width: 640px) { .offer-recap { grid-template-columns: repeat(3, 1fr); } }
.offer-recap__item {
  background: var(--white); border: 1px solid var(--ivory-deep); border-radius: var(--radius);
  padding: 14px 16px; text-align: center; margin: 0;
}
.offer-recap__item dt { font-weight: 600; margin: 0 0 4px; }
.offer-recap__item dd { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* --- Étapes de réservation (section 22) --- */
.offer-steps { list-style: none; counter-reset: offer-step; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.offer-steps li { position: relative; padding-left: 44px; counter-increment: offer-step; }
.offer-steps li::before {
  content: counter(offer-step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem;
}

/* --- Contact / CTA final (section 27) --- */
.offer-contact { background: var(--ink); color: var(--ivory); padding: 64px 24px; text-align: center; }
.offer-contact .section__title { color: var(--ivory); }
.offer-contact__lead { font-family: var(--font-heading); font-size: 1.3rem; margin: 0 0 24px; }
.offer-contact__phone { margin: 0 0 24px; }
.offer-contact__phone a { color: var(--gold-soft); font-size: 1.5rem; font-weight: 600; }
.offer-contact .btn--secondary { border-color: var(--ivory); color: var(--ivory); }
.offer-contact .btn--secondary:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* --- Pied de page (section 29) --- */
.offer-footer { text-align: center; padding: 32px 24px 80px; font-size: 0.8rem; color: var(--ink-soft); }
.offer-footer a { color: var(--ink-soft); text-decoration: underline; }
@media (min-width: 769px) { .offer-footer { padding-bottom: 32px; } }

/* --- QR : jamais affiché à l'écran (demande explicite), uniquement sur la version imprimable --- */
.offer-print-qr { display: none; }

@media print {
  .offer-mobile-bar, .offer-anchors, .pricing-card__cta, .offer-hero__actions, .offer-contact { display: none !important; }
  body.offer-page { padding-bottom: 0; }
  .offer-print-qr { display: block; margin-top: 24px; }
  .offer-print-qr svg { width: 140px; height: 140px; margin: 0 auto; }
  .offer-hero { background: none !important; color: var(--ink); padding: 24px; }
  .offer-hero__logo-badge { background: none; box-shadow: none; padding: 0; }
}

/* --- Encart "sélection" portfolio / catégorie / réalisation (2026-09-29) --- */
.selection-note {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 18px 22px;
  background: var(--ivory);
  border: 1px solid var(--ivory-deep);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  text-align: left;
}
.selection-note__title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.selection-note__text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.selection-note--after-gallery-wrap .selection-note { margin: 36px auto 0; }
