/* ==========================================================================
   PETALERIE — Design system
   Atelier artisanal · bouquets & paniers cadeaux personnalisés · Val d'Oise

   Sommaire
   1.  Design tokens (couleurs, typo, espacements, ombres, transitions)
   2.  Reset / base
   3.  Typographie
   4.  Layout (container, section, grilles)
   5.  Composants — boutons
   6.  Composants — badges d'icônes
   7.  Composants — cadre en arche / placeholders visuels
   8.  Composants — pastilles (pills)
   9.  En-tête / navigation
   10. Hero
   11. Occasions
   12. Comment ça marche
   13. Galerie
   14. Localisation
   15. Pied de page / contact
   16. Utilitaires (accessibilité, animations, reveal)
   17. Media queries générales

   Ce fichier est pensé comme un design system : les classes ci-dessous
   (.section, .section-ivoire, .section-lin, .btn-primary, .card, ...)
   sont réutilisables telles quelles sur toutes les futures pages SEO
   (occasions, villes) sans duplication de styles.
   ========================================================================== */

/* ----------------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --ivoire: #F7F4EE;
  --lin: #E9E2D5;
  --osier: #C8A97E;
  --eucalyptus: #7D8C79;       /* accent décoratif : lavis, fonds légers, grands aplats */
  --eucalyptus-deep: #536052;  /* accent lisible : icônes, liens, boutons (contraste AA) */
  --brun: #3B342C;             /* texte, jamais de noir pur */

  --brun-40: rgba(59, 52, 44, 0.4);
  --brun-14: rgba(59, 52, 44, 0.14);
  --brun-08: rgba(59, 52, 44, 0.08);
  --eucalyptus-14: rgba(125, 140, 121, 0.14);
  --eucalyptus-22: rgba(125, 140, 121, 0.22);
  --osier-30: rgba(200, 169, 126, 0.35);

  /* Typographie */
  --font-display: 'Marcellus', 'Iowan Old Style', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Échelle d'espacement */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 1.75rem;
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
  --space-2xl: 6.5rem;
  --space-3xl: 8.5rem;

  /* Layout */
  --container-w: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 92px;
  --header-h-scrolled: 74px;

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Ombres — teintées chaudes, jamais grises pures */
  --shadow-sm: 0 2px 10px rgba(59, 52, 44, 0.06);
  --shadow-md: 0 10px 30px -8px rgba(59, 52, 44, 0.16);
  --shadow-lg: 0 24px 60px -16px rgba(59, 52, 44, 0.22);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 620ms;
}

/* ----------------------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--ivoire);
  color: var(--brun);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* Ancres sous le header sticky */
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

::selection { background: var(--eucalyptus-22); color: var(--brun); }

:focus-visible {
  outline: 2px solid var(--eucalyptus-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------------
   3. Typographie
   ---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brun);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.35rem, 1.85rem + 2.1vw, 3.75rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.9rem, 1.6rem + 1.3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
}

p { font-weight: 300; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.7;
  color: var(--brun-40);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eucalyptus-deep);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--osier);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.hand-note {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--eucalyptus-deep);
  line-height: 1;
}

/* ----------------------------------------------------------------------
   4. Layout
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 4rem + 4vw, 7.5rem);
}

.section-ivoire { background: var(--ivoire); }
.section-lin { background: var(--lin); }

.section-brun {
  background: var(--brun);
  color: var(--ivoire);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.section-head > .eyebrow { margin-bottom: var(--space-sm); }
.section-head > h2 { margin-bottom: var(--space-sm); }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--osier), transparent);
  margin-block: var(--space-lg);
}

.section-divider--center { margin-inline: auto; }

/* ----------------------------------------------------------------------
   5. Boutons
   ---------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1rem 2.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease-out-soft),
              box-shadow var(--t-base) var(--ease-out-soft),
              background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--eucalyptus-deep);
  color: var(--ivoire);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #454f43;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brun);
  border: 1.5px solid var(--eucalyptus-deep);
}

.btn-outline:hover {
  background: var(--eucalyptus-deep);
  color: var(--ivoire);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  background: transparent;
  color: var(--ivoire);
  border: 1.5px solid rgba(247, 244, 238, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(247, 244, 238, 0.1);
  border-color: var(--osier);
  transform: translateY(-2px);
}

.btn svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out-soft); }
.btn:hover svg { transform: translateX(3px); }

/* ----------------------------------------------------------------------
   6. Badges d'icônes
   ---------------------------------------------------------------------- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--eucalyptus-14);
  color: var(--eucalyptus-deep);
  flex: none;
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease-out-soft);
}

.icon-badge svg { width: 30px; height: 30px; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------------------
   7. Cadre en arche / placeholders visuels
   ---------------------------------------------------------------------- */
.arch-frame {
  position: relative;
  overflow: hidden;
  border-radius: 50% 50% 12px 12px / 20% 20% 5px 5px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out-soft);
}

.arch-frame:hover img { transform: scale(1.04); }

.frame-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  text-align: center;
  padding: var(--space-md);
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(155deg, var(--lin) 0%, var(--osier-30) 55%, var(--eucalyptus-14) 100%);
  transition: transform var(--t-slow) var(--ease-out-soft);
}

.arch-frame:hover .frame-placeholder { transform: scale(1.04); }

.frame-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--brun-40);
  opacity: 0.55;
  margin-bottom: var(--space-3xs);
}

.frame-placeholder span {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--brun-40);
}

.frame-placeholder small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brun-40);
  margin-top: 0.15rem;
}

/* légères variations de teinte pour éviter l'effet "grille répétée" */
.frame-placeholder--alt {
  background:
    radial-gradient(120% 90% at 75% 20%, rgba(255,255,255,0.5), transparent 55%),
    linear-gradient(200deg, var(--eucalyptus-14) 0%, var(--lin) 60%, var(--osier-30) 100%);
}

.frame-placeholder--alt2 {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(255,255,255,0.5), transparent 60%),
    linear-gradient(165deg, var(--osier-30) 0%, var(--eucalyptus-14) 100%);
}

/* ----------------------------------------------------------------------
   8. Pastilles (pills)
   ---------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1.15em;
  border-radius: var(--radius-pill);
  background: var(--ivoire);
  border: 1px solid var(--osier-30);
  font-size: 0.88rem;
  color: var(--brun);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease-out-soft), background var(--t-base) var(--ease);
}

.pill:hover {
  border-color: var(--eucalyptus-deep);
  background: var(--eucalyptus-14);
  transform: translateY(-1px);
}

.pill svg { width: 14px; height: 14px; color: var(--eucalyptus-deep); flex: none; }

/* ----------------------------------------------------------------------
   9. En-tête / navigation
   ---------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 999;
  background: var(--brun);
  color: var(--ivoire);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  border-color: var(--osier-30);
  box-shadow: var(--shadow-sm);
}

/* Le panneau mobile (.main-nav) cale sa hauteur sur --header-h (calc(100vh - ...)) :
   on fige le header à sa hauteur "non réduite" tant que le menu est ouvert pour que
   les deux restent alignés, même si l'ouverture a lieu après un défilement. */
body.nav-open .site-header.is-scrolled {
  height: var(--header-h);
}

body.nav-open .site-header.is-scrolled .logo-mark {
  height: 32px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  transition: opacity var(--t-fast) var(--ease);
}

.logo:hover { opacity: 0.78; }

.logo-mark {
  height: 32px;
  width: auto;
}

.site-header.is-scrolled .logo-mark { height: 27px; }

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding-block: 0.4rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--eucalyptus-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out-soft);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active { color: var(--eucalyptus-deep); }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease);
}

.nav-toggle:hover { background: var(--eucalyptus-14); }

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brun);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), top var(--t-base) var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ----------------------------------------------------------------------
   10. Hero
   ---------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 3rem + 4vw, 6rem) clamp(4rem, 4rem + 3vw, 6.5rem);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 4vw, 5rem);
}

.hero-content { max-width: 560px; }
.hero-content .eyebrow { margin-bottom: var(--space-md); }

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--eucalyptus-deep);
}

.hero-content .lede { margin-bottom: var(--space-lg); max-width: 44ch; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.85rem;
  color: var(--brun-40);
}

.hero-note svg { width: 16px; height: 16px; color: var(--eucalyptus-deep); flex: none; }

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -6% -10% -10% -6%;
  background: var(--lin);
  border-radius: 50% 50% 18px 18px / 24% 24% 6px 6px;
  z-index: -1;
}

.hero-visual .arch-frame {
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  max-width: 420px;
}

.hero-visual-sprig {
  position: absolute;
  top: -34px;
  right: 6%;
  width: 46px;
  height: 46px;
  color: var(--osier);
  opacity: 0.7;
  transform: rotate(12deg);
}

/* ----------------------------------------------------------------------
   11. Occasions
   ---------------------------------------------------------------------- */
.occasion-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.occasion-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: var(--ivoire);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  text-align: left;
  border: 1px solid transparent;
  transition: transform var(--t-base) var(--ease-out-soft), box-shadow var(--t-base) var(--ease-out-soft), border-color var(--t-base) var(--ease);
}

.occasion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--osier-30);
}

.occasion-card:hover .icon-badge {
  background: var(--eucalyptus-deep);
  color: var(--ivoire);
}

.occasion-card .icon-badge { margin-bottom: var(--space-sm); }

.occasion-card h3 { margin-bottom: 0.5rem; }

.occasion-card p {
  font-size: 0.94rem;
  color: var(--brun-40);
  line-height: 1.65;
}

/* ----------------------------------------------------------------------
   12. Comment ça marche
   ---------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16.5%;
  right: 16.5%;
  height: 0;
  border-top: 1.5px dashed var(--osier);
  opacity: 0.6;
}

.step-card { position: relative; text-align: left; }

.step-head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--ivoire);
  border: 1.5px solid var(--osier-30);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--eucalyptus-deep);
  position: relative;
  z-index: 1;
}

.step-head .icon-badge { margin-bottom: 0; }

.step-card h3 { margin-bottom: 0.5rem; }

.step-card p {
  font-size: 0.94rem;
  color: var(--brun-40);
  max-width: 32ch;
}

/* ----------------------------------------------------------------------
   13. Galerie
   ---------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item:nth-child(3n+2) { margin-top: var(--space-xl); }

.gallery-item .arch-frame { aspect-ratio: 4 / 5; }

.gallery-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
}

.gallery-caption h3 { font-size: 1.05rem; }

.gallery-caption span {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--eucalyptus-deep);
  flex: none;
}

.gallery-foot-note {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: 0.92rem;
  color: var(--brun-40);
  max-width: 52ch;
  margin-inline: auto;
}

/* ----------------------------------------------------------------------
   14. Localisation
   ---------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.location-content .lede { color: var(--brun); opacity: 0.85; margin-bottom: var(--space-md); max-width: 50ch; }

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-md);
}

.location-panel {
  background: var(--lin);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.location-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--osier-30), transparent 60%);
}

.location-panel-inner { position: relative; }

.location-panel .icon-badge {
  background: rgba(247, 244, 238, 0.7);
  margin-bottom: var(--space-md);
}

.location-panel h3 { margin-bottom: 0.6rem; }

.location-panel p { font-size: 0.95rem; color: var(--brun-40); margin-bottom: var(--space-md); }

.location-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.92rem;
}

.location-list svg { width: 15px; height: 15px; color: var(--eucalyptus-deep); flex: none; }

/* ----------------------------------------------------------------------
   15. Pied de page / contact
   ---------------------------------------------------------------------- */
.site-footer {
  padding-block: var(--space-2xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -6%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(200,169,126,0.14), transparent 70%);
  pointer-events: none;
}

.footer-intro {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.footer-intro .eyebrow { justify-content: center; margin-bottom: var(--space-sm); }
.footer-intro .eyebrow::before { display: none; }

.footer-intro h2 { color: var(--ivoire); margin-bottom: var(--space-sm); }

.footer-intro p { color: rgba(247,244,238,0.68); font-size: 1.02rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  padding-block: var(--space-xl);
  border-top: 1px solid rgba(247,244,238,0.14);
  border-bottom: 1px solid rgba(247,244,238,0.14);
}

.footer-brand .logo-mark { height: 30px; margin-bottom: var(--space-md); filter: brightness(0) invert(1); opacity: 0.94; }

.footer-brand p {
  color: rgba(247,244,238,0.6);
  font-size: 0.94rem;
  max-width: 34ch;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  width: fit-content;
  font-size: 0.94rem;
  color: var(--ivoire);
  padding-block: 0.2rem;
  position: relative;
}

.footer-link svg { width: 17px; height: 17px; color: var(--osier); flex: none; transition: transform var(--t-base) var(--ease-out-soft); }
.footer-link:hover svg { transform: translateX(3px) rotate(4deg); }

.footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 100%;
  background: var(--osier);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out-soft);
}

.footer-link:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-form-head { margin-bottom: var(--space-md); }
.footer-form-head h3 { color: var(--ivoire); margin-bottom: 0.4rem; }
.footer-form-head p { color: rgba(247,244,238,0.55); font-size: 0.9rem; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
}

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.55);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(247,244,238,0.06);
  border: 1px solid rgba(247,244,238,0.22);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ivoire);
  font-size: 0.95rem;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(247,244,238,0.35); }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: rgba(247,244,238,0.4); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--osier);
  background: rgba(247,244,238,0.1);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C8A97E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.form-field select option { background: var(--brun); color: var(--ivoire); }

.form-field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.form-submit .btn { background: var(--osier); color: var(--brun); box-shadow: none; }
.form-submit .btn:hover { background: #d6bb95; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.form-privacy {
  font-size: 0.8rem;
  color: rgba(247,244,238,0.42);
  max-width: 30ch;
}

.form-success {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border: 1px solid rgba(247,244,238,0.22);
  border-radius: var(--radius-md);
  background: rgba(247,244,238,0.06);
}

.form-success.is-visible { display: flex; }
.contact-form.is-hidden { display: none; }

.form-success .icon-badge { background: rgba(200,169,126,0.18); color: var(--osier); flex: none; }
.form-success h3 { color: var(--ivoire); margin-bottom: 0.3rem; }
.form-success p { color: rgba(247,244,238,0.6); font-size: 0.92rem; }

.honeypot-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(247,244,238,0.45);
}

.footer-bottom-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  color: rgba(247,244,238,0.45);
}

.footer-bottom-mark svg { width: 14px; height: 14px; color: var(--osier); }

/* ----------------------------------------------------------------------
   16. Utilitaires — accessibilité & animations
   ---------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out-soft), transform var(--t-slow) var(--ease-out-soft);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out-soft), transform var(--t-slow) var(--ease-out-soft);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 420ms; }

/* ----------------------------------------------------------------------
   17. Media queries générales
   ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin-inline: auto; width: 100%; }
  .hero-content { max-width: 100%; }
  .hero-content .lede { max-width: 60ch; }

  .location-grid { grid-template-columns: 1fr; }
  .location-content { text-align: left; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+2) { margin-top: 0; }
  .gallery-item:nth-child(2n) { margin-top: var(--space-xl); }
}

@media (max-width: 860px) {
  /* position:fixed ici est contenu par .site-header (position:sticky + backdrop-filter
     créent un nouveau bloc de référence pour les descendants fixes) : on fixe donc une
     hauteur explicite en unités de viewport plutôt que de dépendre de top+bottom. */
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--ivoire); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: var(--space-xl) var(--space-md); gap: var(--space-lg); transform: translateX(100%); transition: transform var(--t-base) var(--ease-out-soft); overflow-y: auto; box-shadow: var(--shadow-lg); }
  body.nav-open .main-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .nav-link { font-size: 1.4rem; font-family: var(--font-display); }
  .nav-cta { width: 100%; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }

  .steps { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .steps::before { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; --header-h-scrolled: 66px; }
  .occasion-grid { gap: var(--space-sm); }
  .occasion-card { flex-basis: 100%; max-width: 420px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(2n) { margin-top: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
  .location-panel { padding: var(--space-lg) var(--space-md); }
}
