/* =========================================================
   Manoir de la Perrière — feuille de style
   Reprise fidèle du design Lovable (Tailwind v4 compilé),
   réduite aux seules classes utilisées par le site.
   ========================================================= */

/* ---------- Couleurs et réglages du thème ---------- */
:root {
  --background: oklch(97.2% .012 85);
  --foreground: oklch(24.5% .023 140);
  --card: oklch(98.8% .008 85);
  --primary: oklch(31.8% .045 148);
  --primary-foreground: oklch(97.2% .012 85);
  --secondary: oklch(93.2% .018 85);
  --muted-foreground: oklch(48.2% .021 120);
  --accent: oklch(72% .086 78);
  --accent-foreground: oklch(22% .02 140);
  --border: oklch(87.8% .018 85);
  --gold: oklch(72% .086 78);
  --gold-soft: oklch(86% .05 82);

  --gradient-veil: linear-gradient(to top, oklab(20% -.0254414 .0158976 / .82), oklab(20% -.0254414 .0158976 / .25) 55%, transparent);
  --gradient-gold: linear-gradient(100deg, var(--gold-soft), var(--gold));
  --shadow-manor: 0 24px 60px -30px oklab(24.5% -.017619 .0147841 / .45);
  --shadow-card: 0 2px 20px -12px oklab(24.5% -.017619 .0147841 / .4);

  --font-sans: "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  --spacing: .25rem;
  --container-xl: 36rem;
  --container-2xl: 42rem;
  --container-3xl: 48rem;
  --container-4xl: 56rem;
  --container-5xl: 64rem;
  --container-7xl: 80rem;

  --text-xs: .75rem;   --text-xs--lh: calc(1 / .75);
  --text-sm: .875rem;  --text-sm--lh: calc(1.25 / .875);
  --text-base: 1rem;   --text-base--lh: 1.5;
  --text-xl: 1.25rem;  --text-xl--lh: calc(1.75 / 1.25);
  --text-2xl: 1.5rem;  --text-2xl--lh: calc(2 / 1.5);
  --text-3xl: 1.875rem; --text-3xl--lh: calc(2.25 / 1.875);
  --text-4xl: 2.25rem; --text-4xl--lh: calc(2.5 / 2.25);
  --text-5xl: 3rem;    --text-5xl--lh: 1;
  --text-6xl: 3.75rem; --text-6xl--lh: 1;
  --text-7xl: 4.5rem;  --text-7xl--lh: 1;
}

/* ---------- Base ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid var(--border); margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; line-height: 1.5; font-family: var(--font-sans); -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body { background-color: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
h1, h2, h3, h4, .font-display { font-family: var(--font-display); letter-spacing: .005em; font-weight: 300; }
a { color: inherit; text-decoration: inherit; }
ul { list-style: none; }
img, svg { vertical-align: middle; display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: transparent; cursor: pointer; }

/* ---------- Composants maison ---------- */
.eyebrow { font-family: var(--font-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-size: .6875rem; font-weight: 600; }
.veil { background-image: var(--gradient-veil); }
.rule-gold-center { position: relative; }
.rule-gold-center::after { content: ""; background-image: var(--gradient-gold); width: 3.5rem; height: 1px; margin: 1.25rem auto 0; display: block; }
.shadow-manor { box-shadow: var(--shadow-manor); }
.shadow-card { box-shadow: var(--shadow-card); }
.aspect-4-3 { aspect-ratio: 4 / 3; }

@keyframes manor-rise { 0% { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.animate-rise { animation: .9s cubic-bezier(.22, 1, .36, 1) both manor-rise; }

/* Parallaxe : l'image dépasse de son cadre et glisse au défilement (voir script.js) */
.parallax > img { position: absolute; left: 0; top: 50%; width: 100%; object-fit: cover; will-change: transform; transform: translate3d(0, -50%, 0); }

/* Menu mobile */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height 350ms ease; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Utilitaires (mêmes noms que Tailwind) ---------- */
.absolute { position: absolute; } .relative { position: relative; }
.inset-0 { inset: 0; } .inset-x-0 { inset-inline: 0; } .top-0 { top: 0; }
.isolate { isolation: isolate; } .z-50 { z-index: 50; }
.col-span-2 { grid-column: span 2 / span 2; } .row-span-2 { grid-row: span 2 / span 2; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: calc(var(--spacing) * 2); } .mt-3 { margin-top: calc(var(--spacing) * 3); }
.mt-4 { margin-top: calc(var(--spacing) * 4); } .mt-5 { margin-top: calc(var(--spacing) * 5); }
.mt-6 { margin-top: calc(var(--spacing) * 6); } .mt-8 { margin-top: calc(var(--spacing) * 8); }
.mt-10 { margin-top: calc(var(--spacing) * 10); } .mt-14 { margin-top: calc(var(--spacing) * 14); }
.flex { display: flex; } .grid { display: grid; } .hidden { display: none; } .inline-flex { display: inline-flex; }
.h-3\.5 { height: calc(var(--spacing) * 3.5); } .h-4 { height: calc(var(--spacing) * 4); }
.h-5 { height: calc(var(--spacing) * 5); } .h-6 { height: calc(var(--spacing) * 6); }
.h-11 { height: calc(var(--spacing) * 11); } .h-14 { height: calc(var(--spacing) * 14); }
.h-20 { height: calc(var(--spacing) * 20); } .h-52 { height: calc(var(--spacing) * 52); }
.h-80 { height: calc(var(--spacing) * 80); } .h-full { height: 100%; }
.min-h-92vh { min-height: 92vh; } .min-h-screen { min-height: 100vh; }
.w-3\.5 { width: calc(var(--spacing) * 3.5); } .w-4 { width: calc(var(--spacing) * 4); }
.w-5 { width: calc(var(--spacing) * 5); } .w-6 { width: calc(var(--spacing) * 6); }
.w-11 { width: calc(var(--spacing) * 11); } .w-auto { width: auto; } .w-full { width: 100%; } .w-px { width: 1px; }
.max-w-xl { max-width: var(--container-xl); } .max-w-2xl { max-width: var(--container-2xl); }
.max-w-3xl { max-width: var(--container-3xl); } .max-w-4xl { max-width: var(--container-4xl); }
.max-w-5xl { max-width: var(--container-5xl); } .max-w-7xl { max-width: var(--container-7xl); }
.shrink-0 { flex-shrink: 0; }
.scroll-mt-24 { scroll-margin-top: calc(var(--spacing) * 24); }
.auto-rows-220 { grid-auto-rows: 220px; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-2 { gap: calc(var(--spacing) * 2); } .gap-3 { gap: calc(var(--spacing) * 3); }
.gap-4 { gap: calc(var(--spacing) * 4); } .gap-6 { gap: calc(var(--spacing) * 6); }
.gap-8 { gap: calc(var(--spacing) * 8); } .gap-9 { gap: calc(var(--spacing) * 9); }
.gap-10 { gap: calc(var(--spacing) * 10); }
.gap-x-8 { column-gap: calc(var(--spacing) * 8); } .gap-x-10 { column-gap: calc(var(--spacing) * 10); }
.gap-y-3 { row-gap: calc(var(--spacing) * 3); }
.space-y-2 > :not(:last-child) { margin-bottom: calc(var(--spacing) * 2); }
.space-y-20 > :not(:last-child) { margin-bottom: calc(var(--spacing) * 20); }
.overflow-hidden { overflow: hidden; } .rounded-full { border-radius: 9999px; }
.border { border-width: 1px; } .border-y { border-block-width: 1px; }
.border-t { border-top-width: 1px; } .border-b { border-bottom-width: 1px; }
.border-accent-20 { border-color: color-mix(in oklab, var(--accent) 20%, transparent); }
.border-accent-30 { border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.border-border { border-color: var(--border); }
.border-primary { border-color: var(--primary); }
.border-primary-foreground-15 { border-color: color-mix(in oklab, var(--primary-foreground) 15%, transparent); }
.border-primary-foreground-25 { border-color: color-mix(in oklab, var(--primary-foreground) 25%, transparent); }
.bg-accent-40 { background-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-primary-85 { background-color: color-mix(in oklab, var(--primary) 85%, transparent); }
.bg-secondary-60 { background-color: color-mix(in oklab, var(--secondary) 60%, transparent); }
.object-cover { object-fit: cover; }
.p-6 { padding: calc(var(--spacing) * 6); }
.px-5 { padding-inline: calc(var(--spacing) * 5); } .px-6 { padding-inline: calc(var(--spacing) * 6); }
.px-7 { padding-inline: calc(var(--spacing) * 7); } .px-8 { padding-inline: calc(var(--spacing) * 8); }
.py-2\.5 { padding-block: calc(var(--spacing) * 2.5); } .py-4 { padding-block: calc(var(--spacing) * 4); }
.py-5 { padding-block: calc(var(--spacing) * 5); } .py-8 { padding-block: calc(var(--spacing) * 8); }
.py-12 { padding-block: calc(var(--spacing) * 12); } .py-16 { padding-block: calc(var(--spacing) * 16); }
.py-20 { padding-block: calc(var(--spacing) * 20); }
.pt-4 { padding-top: calc(var(--spacing) * 4); } .pt-10 { padding-top: calc(var(--spacing) * 10); }
.pt-24 { padding-top: calc(var(--spacing) * 24); }
.text-center { text-align: center; }
.text-xs { font-size: var(--text-xs); line-height: var(--text-xs--lh); }
.text-sm { font-size: var(--text-sm); line-height: var(--text-sm--lh); }
.text-base { font-size: var(--text-base); line-height: var(--text-base--lh); }
.text-xl { font-size: var(--text-xl); line-height: var(--text-xl--lh); }
.text-2xl { font-size: var(--text-2xl); line-height: var(--text-2xl--lh); }
.text-3xl { font-size: var(--text-3xl); line-height: var(--text-3xl--lh); }
.text-4xl { font-size: var(--text-4xl); line-height: var(--text-4xl--lh); }
.text-5xl { font-size: var(--text-5xl); line-height: var(--text-5xl--lh); }
.text-07 { font-size: .7rem; } .text-065 { font-size: .65rem; }
.leading-105 { line-height: 1.05 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.font-bold { font-weight: 700; } .font-semibold { font-weight: 600; }
.tracking-15 { letter-spacing: .15em; } .tracking-18 { letter-spacing: .18em; }
.tracking-20 { letter-spacing: .2em; } .tracking-22 { letter-spacing: .22em; }
.break-all { word-break: break-all; }
.text-accent { color: var(--accent); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-primary-foreground-50 { color: color-mix(in oklab, var(--primary-foreground) 50%, transparent); }
.text-primary-foreground-70 { color: color-mix(in oklab, var(--primary-foreground) 70%, transparent); }
.text-primary-foreground-85 { color: color-mix(in oklab, var(--primary-foreground) 85%, transparent); }
.lowercase { text-transform: lowercase; } .uppercase { text-transform: uppercase; }
.logo-light { filter: brightness(0) invert(1); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.transition-colors { transition: color .15s, background-color .15s, border-color .15s; }
.transition-opacity { transition: opacity .15s; }
.transition-transform { transition: transform .15s; }
.duration-700 { transition-duration: .7s; }

/* ---------- Survol (souris uniquement) ---------- */
@media (hover: hover) {
  .hover-lift:hover { transform: translateY(calc(var(--spacing) * -.5)); }
  .hover-zoom:hover { transform: scale(1.05); }
  .hover-border-accent:hover { border-color: var(--accent); }
  .hover-bg-primary:hover { background-color: var(--primary); }
  .hover-text-accent:hover { color: var(--accent); }
  .hover-text-primary-foreground:hover { color: var(--primary-foreground); }
  .hover-opacity-70:hover { opacity: .7; }
}

/* ---------- Tablette (640 px et plus) ---------- */
@media (min-width: 40rem) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-text-4xl { font-size: var(--text-4xl); line-height: var(--text-4xl--lh); }
  .sm-text-5xl { font-size: var(--text-5xl); line-height: var(--text-5xl--lh); }
  .sm-text-6xl { font-size: var(--text-6xl); line-height: var(--text-6xl--lh); }
}

/* ---------- Ordinateur (1024 px et plus) ---------- */
@media (min-width: 64rem) {
  .lg-order-2 { order: 2; }
  .lg-flex { display: flex; }
  .lg-hidden { display: none; }
  .lg-h-16 { height: calc(var(--spacing) * 16); }
  .lg-h-26rem { height: 26rem; }
  .lg-h-30rem { height: 30rem; }
  .lg-auto-rows-260 { grid-auto-rows: 260px; }
  .lg-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-gap-16 { gap: calc(var(--spacing) * 16); }
  .lg-px-10 { padding-inline: calc(var(--spacing) * 10); }
  .lg-py-28 { padding-block: calc(var(--spacing) * 28); }
  .lg-text-5xl { font-size: var(--text-5xl); line-height: var(--text-5xl--lh); }
  .lg-text-7xl { font-size: var(--text-7xl); line-height: var(--text-7xl--lh); }
}

/* ---------- Accessibilité : animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-rise { animation: none; }
  .hover-zoom:hover, .hover-lift:hover { transform: none; }
}

/* =========================================================
   FAQ (page d'accueil)
   ========================================================= */
.faq { max-width: 48rem; margin: 3.5rem auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; color: var(--foreground); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-sans); font-size: 1.4rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--primary); }
.faq details p { padding: 0 0 1.5rem; font-size: .95rem; line-height: 1.7; color: var(--muted-foreground); }
.faq details a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Blog (pages secondaires)
   ========================================================= */
.page-top { background: var(--primary); color: var(--primary-foreground); padding: 1rem 1.25rem; }
.page-top-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.page-top img { height: 3.5rem; width: auto; }
.page-top nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.page-top nav a { color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.page-top nav a:hover { opacity: .7; }

.blog-head { max-width: 48rem; margin: 0 auto; padding: 4rem 1.25rem 2rem; text-align: center; }
.blog-head .eyebrow { color: var(--accent); }
.blog-head h1 { margin-top: 1rem; font-size: 2.6rem; line-height: 1.1; }
.blog-head .chapo { margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.7; color: var(--muted-foreground); }
.blog-meta { margin-top: 1.25rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-foreground); }
.breadcrumb { max-width: 48rem; margin: 0 auto; padding: 1.5rem 1.25rem 0; font-size: .75rem; color: var(--muted-foreground); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.blog-cover { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.blog-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-manor); }

.prose { max-width: 44rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; color: var(--foreground); line-height: 1.8; }
.prose h2 { font-size: 2rem; line-height: 1.2; margin: 3rem 0 1rem; }
.prose h3 { font-size: 1.45rem; line-height: 1.3; margin: 2rem 0 .6rem; }
.prose p, .prose li { font-size: 1.02rem; margin-bottom: 1rem; color: oklch(32% .02 140); }
.prose ul { list-style: none; margin: 0 0 1.2rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: .5rem; height: 1px; background: var(--accent); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2.5rem 0; }
.prose figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose figcaption { margin-top: .6rem; font-size: .8rem; color: var(--muted-foreground); text-align: center; }

.blog-cta { max-width: 44rem; margin: 0 auto 5rem; padding: 2.5rem 1.5rem; text-align: center; background: var(--primary); color: var(--primary-foreground); }
.blog-cta h2 { font-size: 1.9rem; line-height: 1.2; }
.blog-cta p { margin-top: 1rem; font-size: .95rem; line-height: 1.7; opacity: .85; }
.blog-cta .btn { display: inline-block; margin-top: 1.5rem; padding: 1rem 1.75rem; border: 1px solid var(--accent); color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.blog-cta .btn:hover { background: var(--accent); color: var(--accent-foreground); }

.blog-list { max-width: 64rem; margin: 0 auto; padding: 1rem 1.25rem 5rem; display: grid; gap: 2rem; }
.blog-card { display: block; background: var(--card); box-shadow: var(--shadow-card); transition: transform .3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card div { padding: 1.5rem; }
.blog-card h2 { font-size: 1.6rem; line-height: 1.25; }
.blog-card p { margin-top: .75rem; font-size: .92rem; line-height: 1.65; color: var(--muted-foreground); }
.blog-card .lire { display: inline-block; margin-top: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }

.page-foot { background: var(--primary); color: var(--primary-foreground); padding: 2.5rem 1.25rem; text-align: center; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.page-foot a { color: var(--accent); }

@media (min-width: 40rem) {
  .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-head h1 { font-size: 3.4rem; }
}
.blog-cta .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.blog-cta .cta-actions .btn { margin-top: 0; }
.blog-cta .btn-ghost { border-color: oklch(97.2% .012 85 / .35); color: var(--primary-foreground); }
.blog-cta .btn-ghost:hover { background: var(--primary-foreground); color: var(--primary); }

/* =========================================================
   La ferme : « Nouveaux résidents » façon une de journal
   ========================================================= */
.gazette { border-bottom: 1px solid var(--border); padding: 5rem 1.25rem; background: var(--background); }
.gazette-inner { max-width: 56rem; margin: 0 auto; text-align: center; border-top: 4px double var(--foreground); border-bottom: 4px double var(--foreground); padding: 2rem 0 2.5rem; }
.gazette-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.gazette-title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--primary); }
.gazette-sub { margin-top: .9rem; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--muted-foreground); }
.gazette-photos { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.gazette-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--secondary); border: 1px solid var(--border); }
.gazette-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.gazette-photo figcaption { position: absolute; inset: auto 0 0 0; padding: .6rem .9rem; background: oklch(31.8% .045 148 / .85); color: var(--primary-foreground); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }
.gazette-text { max-width: 38rem; margin: 2rem auto 0; font-size: 1rem; line-height: 1.75; color: var(--foreground); }
.gazette-link { display: inline-block; margin-top: 1.5rem; padding-bottom: 2px; border-bottom: 1px solid var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); }
.gazette-link:hover { color: var(--accent); }
@media (min-width: 40rem) {
  .gazette-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gazette-title { font-size: 4.5rem; }
}
@media (min-width: 64rem) { .blog-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =========================================================
   Gros bouton visite 360° (accueil, haut et bas)
   ========================================================= */
.btn-360 { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem 2.25rem; background: var(--accent); color: var(--accent-foreground); font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 14px 34px -14px oklch(20% .02 140 / .6); transition: transform .3s, background-color .3s; }
.btn-360 svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.btn-360:hover { transform: translateY(-3px); background: var(--gold-soft); }
.visite-band { padding: 4.5rem 1.25rem; text-align: center; background: var(--primary); color: var(--primary-foreground); }
.visite-band h2 { margin-top: 1rem; font-size: 2.4rem; line-height: 1.15; }
.visite-band-text { max-width: 34rem; margin: 1rem auto 2.25rem; font-size: 1rem; line-height: 1.7; opacity: .85; }
@media (min-width: 40rem) { .visite-band h2 { font-size: 3rem; } .btn-360 { font-size: .95rem; letter-spacing: .18em; padding: 1.4rem 2.75rem; } }

/* =========================================================
   À venir : maison des mariés
   ========================================================= */
.bientot { padding: 0 1.25rem 5rem; }
.bientot-inner { max-width: 44rem; margin: 0 auto; padding: 2.5rem 2rem; text-align: center; border: 1px dashed var(--accent); background: var(--card); }
.bientot-badge { display: inline-block; padding: .35rem .9rem; background: var(--accent); color: var(--accent-foreground); font-size: .65rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.bientot h2 { margin-top: 1.25rem; font-size: 2.3rem; line-height: 1.15; }
.bientot-text { margin-top: 1rem; font-size: 1rem; line-height: 1.75; color: var(--muted-foreground); }

/* =========================================================
   Logo agrandi (en-tête de même hauteur, pied de page)
   ========================================================= */
.header-bar { padding-block: .75rem; }
.logo-header { height: 4rem; }
.logo-footer { height: 6rem; }
@media (min-width: 64rem) { .logo-header { height: 4.5rem; } }

/* =========================================================
   Formulaire de demande (demande.html)
   ========================================================= */
.demande { max-width: 46rem; margin: 0 auto 5rem; padding: 2rem 1.25rem; display: grid; gap: 2rem; }
.demande fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.demande legend { margin-bottom: 1rem; padding-bottom: .6rem; width: 100%; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }
.demande label { display: grid; gap: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--foreground); }
.demande input[type=text], .demande input[type=email], .demande input[type=tel], .demande input[type=date], .demande input[type=number], .demande textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); background: var(--card); font: inherit; font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--foreground); border-radius: 0; }
.demande input:focus, .demande textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.champs-2, .champs-3 { display: grid; gap: 1rem; }
.choix { display: flex; flex-wrap: wrap; gap: .6rem; }
.choix label { display: block; cursor: pointer; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix span { display: inline-block; padding: .65rem 1.1rem; border: 1px solid var(--border); background: var(--card); font-size: .85rem; font-weight: 600; letter-spacing: .04em; transition: background-color .2s, color .2s, border-color .2s; }
.choix label:hover span { border-color: var(--accent); }
.choix input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rgpd { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .75rem !important; font-weight: 400 !important; font-size: .85rem !important; line-height: 1.6; color: var(--muted-foreground) !important; }
.rgpd input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--primary); flex-shrink: 0; }
.rgpd a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.btn-envoyer { justify-self: center; display: inline-block; padding: 1.2rem 3rem; background: var(--primary); color: var(--primary-foreground); border: 0; font-family: var(--font-sans); font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow-manor); transition: transform .3s, background-color .3s; }
.btn-envoyer:hover { transform: translateY(-2px); background: oklch(38% .05 148); }
.cache-bot { position: absolute; left: -9999px; }
.pack { padding: 2rem 1.75rem; background: var(--secondary); border-top: 3px solid var(--accent); }
.pack h2 { font-size: 1.6rem; color: var(--primary); text-align: center; }
.pack ul { margin-top: 1.25rem; display: grid; gap: .7rem; }
.pack li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.pack li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pack h3 { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-family: "Cormorant Garamond", serif; font-size: 1.35rem; color: var(--primary); text-align: center; }
.pack .pack-options li::before { content: "+"; }
.pack-bientot { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border: 1px dashed var(--accent); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); vertical-align: middle; }
.merci .cta-actions { margin-top: 2rem; display: flex; justify-content: center; }
.btn-demande { display: inline-block; margin-top: 2.5rem; padding: 1.2rem 3rem; background: var(--accent); color: var(--accent-foreground); font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; box-shadow: var(--shadow-manor); transition: transform .3s, background-color .3s; }
.btn-demande:hover { transform: translateY(-2px); background: var(--gold-soft); }
@media (min-width: 40rem) {
  .champs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sous-titre de l'accueil, un peu plus grand que les autres surtitres */
.hero-sub { font-size: .85rem; margin-top: 1rem; }
@media (min-width: 64rem) { .hero-sub { font-size: 1rem; } }

/* En-têtes des pages secondaires : logo aligné sur celui de l'accueil */
@media (min-width: 64rem) { .page-top { padding-inline: 2.5rem; } }
.case-plan span { color: var(--foreground); font-size: .9rem; }

/* ---------- Carrousel de la maison des mariés (manuel) ---------- */
.carrousel { position: relative; margin-top: 2rem; }
.carrousel-piste { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste figure { flex: 0 0 85%; margin: 0; scroll-snap-align: center; aspect-ratio: 3 / 4; overflow: hidden; }
.carrousel-piste img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carrousel-fleche { position: absolute; top: calc(50% - 1.6rem); width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--primary); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; padding-bottom: .2rem; }
.carrousel-fleche.precedent { left: .5rem; }
.carrousel-fleche.suivant { right: .5rem; }
.carrousel-fleche[disabled] { opacity: .35; cursor: default; }
.carrousel-points { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.carrousel-points span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--border); transition: background .2s; }
.carrousel-points span.actif { background: var(--accent); }
@media (min-width: 40rem) { .carrousel-piste figure { flex-basis: calc(50% - .375rem); scroll-snap-align: start; } }

/* Galerie : combler automatiquement les trous de la grille */
#galerie .grid { grid-auto-flow: dense; }

/* ---------- Signature du réalisateur du site ---------- */
.credit-mrz { width: 100%; margin: .75rem 0 0; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; opacity: .55; }
.credit-mrz a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; transition: color .2s, opacity .2s; }
.credit-mrz a:hover { color: var(--accent); }
@media (min-width: 64rem) { .credit-mrz { text-align: right; } }
