/* Brio Events : styles partages (charte V4 « Tablee », maquette Claude Design du 28/09/2026).
   Chaque page ajoute ses regles propres dans un <style> de son <head>. */

:root {
  --ink: #3f2332;
  --ink-2: #2a1521;
  --cream: #fbf6ef;
  --jaune: #fff18e;
  --jaune-2: #ffe95a;
  --lilas: #e3d8f1;
  --rose: #ffbde4;
  --olive: #8a7a22;
  --white: #ffffff;
  --gutter: 56px;
  --font: "Outfit", "Avenir Next", "Century Gothic", sans-serif;
  --script: "Reenie Beanie", "Bradley Hand", cursive;
}
@media (max-width: 1024px) { :root { --gutter: 32px; } }
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); font-family: var(--font); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--jaune); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; color: var(--jaune); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Typo */
.big { font-weight: 800; text-transform: uppercase; line-height: 0.94; letter-spacing: -0.015em; text-wrap: balance; }
.script { font-family: var(--script); font-size: 44px; line-height: 1; font-weight: 400; }
@media (max-width: 640px) { .script { font-size: 36px; } }

/* Photos en plan lent */
.shot { position: relative; overflow: hidden; background: var(--ink); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.drift-a img { animation: drift-a 28s ease-in-out infinite alternate; }
.drift-b img { animation: drift-b 34s ease-in-out infinite alternate; }
.drift-c img { animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: scale(1.06) translate(1.2%, 0.8%); } to { transform: scale(1.18) translate(-1.6%, -1.2%); } }
@keyframes drift-b { from { transform: scale(1.12) translate(-2%, 0); } to { transform: scale(1.12) translate(2%, -0.6%); } }
@keyframes drift-c { from { transform: scale(1.2); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .shot img { animation: none !important; } }

/* Boutons, etiquettes */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; }
.pill-ink { background: var(--ink); color: var(--jaune); }
.pill-ink:hover { background: var(--ink-2); color: var(--jaune); }
.pill-jaune { background: var(--jaune); color: var(--ink); }
.pill-jaune:hover { background: var(--jaune-2); color: var(--ink); }
.pill-line { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.pill-line:hover { background: var(--ink); color: var(--jaune); }
.pill-line-jaune { border: 2px solid var(--jaune); color: var(--jaune); background: transparent; }
.pill-line-jaune:hover { background: var(--jaune); color: var(--ink); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(63, 35, 50, 0.08); font-size: 14px; font-weight: 600; }
.link { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.crumbs { font-size: 14px; font-weight: 700; }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { height: 48px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 0 14px; background: var(--white); font-family: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; font-weight: 700; padding: 16px; }

/* En-tete */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); }
.site-header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; display: block; }
.brand span { font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; padding-bottom: 3px; }
.nav { display: flex; gap: 36px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"], .nav a.on { font-weight: 800; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .pill { height: 44px; padding: 0 22px; font-size: 15px; font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform 0.2s; }
@media (max-width: 1180px) { .nav { gap: 22px; } }
@media (max-width: 1024px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 28px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: fixed; inset: 64px 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px; overflow-y: auto; }
  .nav a { font-size: 24px; font-weight: 700; padding: 14px 0; border-bottom: 1.5px solid rgba(63, 35, 50, 0.15); }
  .nav .pill { margin-top: 24px; height: 52px; font-size: 16px; border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Appel final (bandeau olive) */
.cta-final { background: var(--olive); color: var(--jaune); }
.cta-final .wrap { padding-top: 56px; padding-bottom: 56px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta-final .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-final h2 { margin: 0; font-size: clamp(48px, 7vw, 88px); color: var(--jaune); }
.cta-final .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
@media (max-width: 640px) { .cta-final .actions { align-items: stretch; width: 100%; } }

/* Pied de page */
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.footer-grid .col-brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 16px; }
.footer-grid .col-brand .brand img { height: 44px; }
.footer-grid .col-brand .brand span { font-size: 18px; padding-bottom: 4px; }
.footer-grid .col-brand p { margin: 0; font-size: 14px; line-height: 1.5; }
.footer-grid .col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.footer-grid .col-contact { grid-column: 6 / span 3; }
.footer-grid .col-pages { grid-column: 9 / span 2; }
.footer-grid .col-legal { grid-column: 11 / span 2; }
.footer-grid .col-title { font-weight: 700; }
.footer-grid .col-contact a.write { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
@media (max-width: 1024px) {
  .footer-grid .col-brand { grid-column: 1 / -1; }
  .footer-grid .col-contact { grid-column: 1 / span 6; }
  .footer-grid .col-pages { grid-column: 7 / span 3; }
  .footer-grid .col-legal { grid-column: 10 / span 3; }
}
@media (max-width: 640px) {
  .footer-grid .col-contact { grid-column: 1 / -1; }
  .footer-grid .col-pages { grid-column: 1 / span 6; }
  .footer-grid .col-legal { grid-column: 7 / span 6; }
}
