/* ============================================================
   style.css, Laurent Dimberton | Vidéaste Corporate & Mariage
   Feuille principale, toutes les pages
   ============================================================ */

/* ── TOKENS ── */
:root {
  /* ── Fonds sombres (thème principal) ── */
  --color-bg:            #100C08;   /* Noir chaud, fond principal */
  --color-bg-alt:        #4A2E1A;   /* Marron, sections alternées, dark sections */
  --color-surface:       #1A1210;   /* Très sombre, cards, panneaux */

  /* ── Fonds clairs (accents, zones de respiration) ── */
  --color-bg-light:      #FDFAF6;   /* Blanc chaud */
  --color-bg-cream:      #F5EDE0;   /* Crème */

  /* ── Marque ── */
  --color-primary:       #E8620A;   /* Orange vif, CTA, accents forts */
  --color-primary-dark:  #B5612A;   /* Orange sombre, hover */
  --color-primary-light: #D47A3E;   /* Terracotta, accents secondaires */

  /* ── Texte ── */
  --color-text-on-dark:       #F5EDE0;   /* Texte principal sur fond sombre */
  --color-text-on-dark-muted: #D4B89A;   /* Texte secondaire sur fond sombre */
  --color-text:               #2C1A0A;   /* Texte sur fond clair (sections lumineuses) */

  /* ── Neutres ── */
  --color-border:        rgba(212, 184, 154, 0.15);   /* Bordures subtiles sur sombre */
  --color-shadow:        rgba(0, 0, 0, 0.45);

  --color-success:      #5A8A5E;
  --color-error:        #C0392B;

  /* ── Typographie ── */
  --font-display: 'Oswald', sans-serif;              /* Titres, uppercase, impact */
  --font-accent:  'Cormorant Garamond', Georgia, serif; /* Accroches émotionnelles, italic rare */
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:    clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.85rem + 0.25vw, 1rem);
  --text-base:  clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1.05rem + 0.4vw,  1.375rem);
  --text-xl:    clamp(1.375rem, 1.2rem  + 0.9vw,  1.875rem);
  --text-2xl:   clamp(1.875rem, 1.5rem  + 1.5vw,  2.75rem);
  --text-3xl:   clamp(2.5rem,   2rem    + 2.5vw,  4rem);
  --text-hero:  clamp(3rem,     2.5rem  + 3vw,    5.5rem);

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  --leading-tight:   1.2;
  --leading-normal:  1.6;
  --leading-relaxed: 1.8;

  --tracking-tight:   -0.02em;
  --tracking-normal:   0;
  --tracking-wide:     0.05em;
  --tracking-widest:   0.12em;

  /* Espacements */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-8:  3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 6rem;
  --space-20: 8rem;

  --section-padding-y: clamp(var(--space-10), 8vw, var(--space-20));
  --section-padding-x: clamp(var(--space-5),  5vw, var(--space-10));

  --container-max:    1200px;
  --container-narrow: 780px;
  --container-wide:   1440px;

  /* Effets */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px var(--color-shadow);
  --shadow-md:  0 4px 16px var(--color-shadow);
  --shadow-lg:  0 12px 40px var(--color-shadow);

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-reveal: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-on-dark);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── UTILITAIRES ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-on-dark);
}

/* Accroches émotionnelles, Cormorant italic, usage rare */
h1 em, h2 em, h3 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: var(--weight-light);
  text-transform: none;
  letter-spacing: var(--tracking-normal);
  color: var(--color-primary);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--color-text-on-dark-muted);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

/* Ligne de mot-clé nichée en fin de H1, pour le SEO, sans alourdir le titre éditorial */
.h1-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  margin-top: var(--space-3);
}

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(16, 12, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-base);
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Glint lumineux qui traverse le logo toutes les 5s */
.site-header__logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  animation: logoGlint 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoGlint {
  0%, 50%  { transform: skewX(-18deg) translateX(-100%); }
  70%      { transform: skewX(-18deg) translateX(600%); }
  100%     { transform: skewX(-18deg) translateX(600%); }
}

.site-header__logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.site-header__logo:hover .site-header__logo-img {
  transform: scale(1.04);
  filter: brightness(1.15) sepia(0.25) saturate(1.8) hue-rotate(-5deg);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.site-nav__list {
  display: none;
  gap: 18px;
  align-items: center;
}

.site-nav__link {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.site-nav__link:hover {
  color: var(--color-text-on-dark);
}

.site-nav__link:hover::after {
  width: 100%;
}

/* ── Lien actif (page courante) ── */
.site-nav__link--active {
  color: var(--color-text-on-dark);
}

.site-nav__link--active::after {
  width: 100%;
  background-color: var(--color-primary);
}

/* CTA header masqué sur mobile (spécificité "a." nécessaire pour battre .btn de components.css, chargé après) */
a.site-header__cta {
  display: none;
}

.js-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2) var(--space-3);
  min-width: 44px;                /* cible tactile ≥ 44px */
  min-height: 44px;
  z-index: 110;
}

.js-nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-text-on-dark);
  transform-origin: center;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
}

/* Hamburger → X */
.js-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.js-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.js-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile, slide down */
.site-nav__list--open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) var(--section-padding-x) var(--space-8);
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: nav-open 0.3s ease forwards;
}

@keyframes nav-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fermeture animée */
.site-nav__list--closing {
  animation: nav-close 0.22s ease forwards !important;
  pointer-events: none;
}

@keyframes nav-close {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* Lien nav mobile, taille plus grande, cible ≥ 44px */
.site-nav__list--open .site-nav__link {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  padding-block: var(--space-3);
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

/* Lien actif dans le menu mobile */
.site-nav__list--open .site-nav__link--active {
  color: var(--color-primary);
}

.site-nav__list--open .site-nav__link::after {
  display: none;
}

/* CTA dans le menu mobile */
.site-nav__cta-mobile {
  display: none;
}

.site-nav__list--open .site-nav__cta-mobile {
  display: block;
  margin-top: var(--space-3);
}

/* Overlay derrière le menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(16, 12, 8, 0.35);
  z-index: 99;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-overlay--visible {
  display: block;
  animation: overlay-in 0.25s ease forwards;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── PLACEHOLDER HERO (fond sombre avant chargement de l'image réelle) ── */
.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-bg) 100%);
}

/* ── HERO ── */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 98px;
  padding-bottom: var(--space-8);
  padding-inline: var(--section-padding-x);
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 12, 8, 0.90) 0%,
    rgba(16, 12, 8, 0.35) 60%,
    rgba(16, 12, 8, 0.10) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__title {
  font-size: clamp(1.7rem, 1.4rem + 2.2vw, 3rem);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-5);
  line-height: 1.25;
}

.hero__role {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__secondary-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: rgba(253, 250, 246, 0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: var(--space-2) 0;
  transition: color var(--transition-base);
}
.hero__secondary-link:hover {
  color: rgba(253, 250, 246, 0.85);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  right: var(--section-padding-x);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.45);
}

.hero__scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: currentColor;
}

/* ── SECTIONS COMMUNES ── */
.section {
  padding-block: var(--section-padding-y);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-alt);
  color: var(--color-text-on-dark);
}

.section__header {
  margin-bottom: var(--space-10);
}

.section__header--centered {
  text-align: center;
}

.section__title {
  color: inherit;
}

.section--dark .section__title {
  color: var(--color-text-on-dark);
}

.section--dark .eyebrow {
  color: var(--color-primary-light);
}

.section--dark p {
  color: rgba(253, 250, 246, 0.65);
}

/* ── OFFRES ── */

/* En-tête section offres : titre à gauche, description à droite sur lg */
.offres__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 1024px) {
  .offres__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-12);
  }
}

.offres__header-desc {
  max-width: 360px;
  flex-shrink: 0;
}

.offres__grid {
  display: grid;
  gap: var(--space-5);
}

/* Wrapper pour la carte featured (permet le badge absolu au-dessus) */
.offre-card-wrap {
  position: relative;
}

/* Badge "Recommandé" flottant au-dessus de la carte */
.offre-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-light);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.offre-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base);

  /* Variables pour l'effet spotlight curseur */
  --spot-x: -9999px;
  --spot-y: -9999px;
}

/* Bordure lumineuse qui suit le curseur (1px ring, gradient orange) */
.offre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    circle 460px at var(--spot-x) var(--spot-y),
    rgba(232, 98, 10, 0.6),
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.offre-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Carte mariage (featured) : fond légèrement plus chaud */
.offre-card--featured {
  background-color: var(--color-bg-alt);
}

.offre-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  display: inline-block;
  margin-bottom: var(--space-5);
}

.offre-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-4);
  color: var(--color-text-on-dark);
}

.offre-card__desc {
  margin-bottom: var(--space-6);
}

.offre-card__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-6);
}

/* Lignes de features : icône circulaire + divider entre items */
.offre-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark-muted);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
  position: static;
  padding-left: 0;
}

/* Cercle check orange */
.offre-card__list li::before {
  content: '';
  position: static;
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 1px solid rgba(232, 98, 10, 0.35);
  background-color: rgba(232, 98, 10, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(232%2C98%2C10%2C0.9)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.offre-card__accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, var(--color-primary-light), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* ── VIDÉO EMBED ── */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── PORTFOLIO, LECTEUR & BANDE DE MINIATURES ──────────────────
   Lecteur "spotlight" (poster + lecture iframe à la demande) et
   bande de miniatures défilante. La miniature active est mise en
   évidence par un liseré et un halo orange.
   ─────────────────────────────────────────────────────────────── */
.portfolio-player {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface);
}

.portfolio-player__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}

/* Légère surbrillance au survol pour signaler que l'image est cliquable */
.portfolio-player__media:hover .portfolio-player__poster {
  filter: brightness(1.08);
}

.portfolio-player__poster {
  transition: filter 0.3s ease;
}

.portfolio-player__poster,
.portfolio-player__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.portfolio-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  background-color: rgba(16, 12, 8, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(253%2C250%2C246%2C0.95)'%3E%3Cpath d='M8 5.14v14l11-7-11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 52% 50%;
  background-size: 26px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 24px var(--color-primary);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-player__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 36px var(--color-primary);
}

/* Trait lumineux orange, écho du rideau ouvert */
.portfolio-player__glow {
  display: block;
  height: 2px;
  background-color: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary), 0 0 24px var(--color-primary);
}

.portfolio-player__info {
  padding: var(--space-4) var(--space-5);
}

.portfolio-player__cat {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-1);
}

.portfolio-player__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-on-dark);
  line-height: var(--leading-tight);
}

.portfolio-strip {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-bottom: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.portfolio-strip::-webkit-scrollbar {
  height: 4px;
}

.portfolio-strip::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.portfolio-strip__item {
  flex: 0 0 152px;
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-strip__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

.portfolio-strip__name {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-on-dark);
  background: linear-gradient(to top, rgba(16, 12, 8, 0.9), transparent);
  text-align: left;
}

.portfolio-strip__item:hover img {
  opacity: 0.85;
}

.portfolio-strip__item.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 16px var(--color-primary);
}

.portfolio-strip__item.is-active img {
  opacity: 1;
}

/* ── PORTFOLIO, SÉLECTEUR D'UNIVERS ── */
.portfolio-selector {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.portfolio-selector__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

/* Onglets — style "tab underline" */
.portfolio-choice {
  position: relative;
  padding: var(--space-3) var(--space-5) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  background-color: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color var(--transition-base);
}

/* Indicateur actif : trait orange sous l'onglet */
.portfolio-choice::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.portfolio-choice:hover {
  color: var(--color-text-on-dark);
}

.portfolio-choice[aria-pressed="true"] {
  color: var(--color-text-on-dark);
  background-color: transparent;
  border: none;
}

.portfolio-choice[aria-pressed="true"]::after {
  transform: scaleX(1);
}

/* ── PORTFOLIO, ÉCRAN & RIDEAU ─────────────────────────────────
   Deux panneaux verticaux qui couvrent l'écran ; au choix d'un
   univers ils glissent chacun vers leur bord pour révéler les
   films. Grille sombre + ligne lumineuse orange à la jonction
   (esthétique Tron).
   ─────────────────────────────────────────────────────────────── */
.portfolio-screen {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: clamp(360px, 46vw, 640px);
}

.portfolio-curtain {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
}

.portfolio-curtain__panel {
  flex: 1 0 50%;
  height: 100%;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(232, 98, 10, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 98, 10, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.portfolio-curtain__panel--left {
  border-right: 2px solid var(--color-primary);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), inset -32px 0 40px -30px var(--color-primary);
}

.portfolio-curtain__panel--right {
  border-left: 2px solid var(--color-primary);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), inset 32px 0 40px -30px var(--color-primary);
}

.portfolio-screen.is-open .portfolio-curtain__panel--left  { transform: translateX(-100%); }
.portfolio-screen.is-open .portfolio-curtain__panel--right { transform: translateX(100%); }

.portfolio-screen.is-open .portfolio-curtain {
  pointer-events: none;
}

.portfolio-curtain__hint {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: var(--space-6);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-soft);
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.portfolio-screen.has-selected .portfolio-curtain__hint {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-curtain__panel {
    transition: none;
  }
}

/* ── PROCESSUS ── */
.processus__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: steps;
}

.processus__step {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  counter-increment: steps;
}

.processus__step:last-child {
  border-bottom: none;
}

.processus__step-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
  color: var(--color-primary-light);
  line-height: 1;
}

.processus__step-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-3);
}

.processus__step-desc {
  font-size: var(--text-sm);
}

/* ── TEMOIGNAGES ── */
.temoignages__banner {
  width: 100%;
  height: clamp(260px, 40vw, 440px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-10);
}

.temoignages__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

.temoignages__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.temoignage-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.temoignage-card__quote {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-5);
}

.temoignage-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.temoignage-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-on-dark-muted);
}

.temoignage-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── ILS M'ONT FAIT CONFIANCE ── */
.clients-band__label {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-soft);
  margin-bottom: var(--space-8);
}

.clients-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.clients-band__card {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-bg-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.clients-band__card img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 600px) {
  .clients-band__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .clients-band__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .clients-band__card {
    height: 116px;
    padding: var(--space-4) var(--space-5);
  }

  .clients-band__card img {
    max-height: 78px;
  }
}

.temoignage-card__name {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-on-dark);
  line-height: var(--leading-tight);
}

.temoignage-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-tight);
}

/* Séparateurs de groupe (Corporate / Mariage) */
.temoignages__sep {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.temoignages__sep:first-child {
  margin-top: 0;
}

.temoignages__sep-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.temoignages__sep--corporate .temoignages__sep-label {
  color: var(--color-primary);
}

.temoignages__sep--mariage .temoignages__sep-label {
  color: var(--color-text-on-dark-muted);
  opacity: 0.6;
}

.temoignages__sep-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Carte corporate : mise en avant (priorité B2B) */
.temoignage-card--corporate {
  border-color: rgba(232, 98, 10, 0.45);
  background: linear-gradient(145deg, var(--color-surface) 55%, rgba(232, 98, 10, 0.06) 100%);
}

.temoignage-card__avatar--corporate {
  background-color: rgba(232, 98, 10, 0.15);
  border-color: rgba(232, 98, 10, 0.4);
  color: var(--color-primary-light);
}

/* Carte mariage : standard, pas d'accent orange */
.temoignage-card--mariage {
  border-color: rgba(212, 184, 154, 0.1);
}

/* ── GOOGLE AVIS ── */
.google-avis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding: var(--space-6) var(--space-8);
  border: 1px solid rgba(253, 250, 246, 0.08);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
}

.google-avis__icon {
  display: block;
}

.google-avis__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark-muted);
}

.google-avis__btns {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── CTA BANDE ── */
.cta-band {
  background-color: var(--color-primary);
  padding-block: var(--space-12);
  text-align: center;
}

.cta-band__title {
  color: var(--color-bg-light);
  margin-bottom: var(--space-5);
}

.cta-band__sub {
  color: rgba(253, 250, 246, 0.8);
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
}

/* ── CONTACT ── */
.contact__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.contact__intro h2 {
  margin-bottom: var(--space-4);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
}

.contact__detail-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-1);
}

.contact__partner {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.contact__partner p {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

/* ── PREUVE SOCIALE CONTACT ── */
.contact__proof {
  border-left: 2px solid var(--color-primary);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-10);
  background-color: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.contact__proof-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.contact__proof-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.contact__proof-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-on-dark);
}

.contact__proof-role {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
}

.contact__proof-name::after {
  content: '—';
  margin-left: var(--space-3);
  color: var(--color-border);
}

/* ── FORMULAIRE ── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form__row {
  display: grid;
  gap: var(--space-4);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

.form__optional {
  font-weight: var(--weight-light);
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}

.form__consent {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-light);
  line-height: var(--leading-normal);
  color: var(--color-text-on-dark-soft);
}

.form__consent a {
  color: var(--color-text-on-dark-muted);
  text-decoration: underline;
}

.form__consent a:hover {
  color: var(--color-primary-light);
}

.form__input,
.form__select,
.form__textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  outline: none;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-on-dark-muted);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* Champ en erreur de validation */
.form__input--error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* ── ÉTATS FORMULAIRE (Formspree) ──────────────────────────────

   .form--sent     : masque les champs après envoi réussi
   .form__feedback : zone de retour (succès ou erreur)
   .btn--loading   : spinner dans le bouton pendant l'envoi
   ─────────────────────────────────────────────────────────── */

/* Quand le formulaire est envoyé, masquer les champs */
.form--sent .form__row,
.form--sent .form__group,
.form--sent > .btn {
  display: none;
}

/* Spinner dans le bouton */
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(253, 250, 246, 0.35);
  border-top-color: var(--color-bg-light);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.btn--loading .btn__spinner {
  display: block;
}

.btn--loading .btn__label {
  opacity: 0.75;
}

@media (prefers-reduced-motion: no-preference) {
  .btn--loading .btn__spinner {
    animation: form-spin 0.65s linear infinite;
  }

  @keyframes form-spin {
    to { transform: rotate(360deg); }
  }
}

/* Zone de retour, cachée par défaut via l'attribut [hidden] */
.form__feedback--success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background-color: rgba(90, 138, 94, 0.07);
  border: 1px solid rgba(90, 138, 94, 0.22);
  border-radius: var(--radius-lg);
}

/* Coche animée */
.form__feedback-check {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: rgba(90, 138, 94, 0.12);
  border: 1.5px solid var(--color-success);
  position: relative;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.form__feedback-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%) rotate(45deg);
  width: 9px;
  height: 16px;
  border-right: 2px solid var(--color-success);
  border-bottom: 2px solid var(--color-success);
}

.form__feedback-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-3);
}

.form__feedback-body {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-relaxed);
  max-width: 400px;
}

/* Message d'erreur */
.form__feedback--error {
  padding: var(--space-4) var(--space-5);
  background-color: rgba(192, 57, 43, 0.05);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.form__feedback--error .form__feedback-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-error);
  margin-bottom: var(--space-2);
}

.form__feedback--error .form__feedback-body {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-normal);
}

.form__feedback--error .form__feedback-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--color-primary-light);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: var(--leading-relaxed);
}

/* ── FOOTER ── */
.site-footer {
  background-color: var(--color-bg);
  color: var(--color-text-on-dark);
  padding-block: var(--space-10);
  padding-inline: var(--section-padding-x);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: var(--space-5);
}

.site-footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* logo blanc sur fond sombre, aucun filtre nécessaire */
  transition: opacity var(--transition-base);
}

.site-footer__brand:hover .site-footer__logo-img {
  opacity: 0.75;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: rgba(253, 250, 246, 0.5);
}

.site-footer__nav-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.35);
  margin-bottom: var(--space-4);
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: rgba(253, 250, 246, 0.6);
  transition: color var(--transition-fast);
}

.site-footer__nav-link:hover {
  color: var(--color-text-on-dark);
}

.site-footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(253, 250, 246, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: rgba(253, 250, 246, 0.35);
}

.site-footer__socials {
  display: flex;
  gap: var(--space-5);
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.45);
  transition: color var(--transition-fast);
}

.site-footer__social svg {
  flex-shrink: 0;
  display: block;
}

.site-footer__social:hover {
  color: var(--color-primary-light);
}

/* ── TABLETTE ── */
@media (min-width: 768px) {
  .offres__grid {
    grid-template-columns: 1fr 1fr;
  }

  .processus__step {
    grid-template-columns: 80px 1fr;
    align-items: start;
  }

  .temoignages__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .temoignages__sep {
    grid-column: 1 / -1;
  }

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── DESKTOP NAV ──
   Seuil séparé (1280px) car le header (logo + 6 liens + CTA) ne tient
   pas dans une largeur d'ordinateur portable courante (1280-1366px)
   sous 1024px : en dessous de 1280px, le menu hamburger reste affiché. ── */
@media (min-width: 1280px) {
  .site-nav__list {
    display: flex;
  }

  .js-nav-toggle {
    display: none;
  }

  a.site-header__cta {
    display: inline-flex;
  }

  .site-header__logo-img {
    height: clamp(68px, 5.3vw, 114px);
  }

  .hero {
    padding-top: 156px;
  }
}

/* ── DESKTOP ── */
@media (min-width: 1024px) {
  /* Cartes offres, même hauteur */
  .offres__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .offre-card {
    display: flex;
    flex-direction: column;
  }

  .offre-card__list {
    flex: 1;
  }

  .temoignages__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Les séparateurs de groupe s'étendent sur toute la largeur */
  .temoignages__sep {
    grid-column: 1 / -1;
  }

  .contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ── GRAIN CINÉMATIQUE ── */
.hero__grain { opacity: 0.038; }

/* ── SCROLL REVEAL ── */
.fade-in,
.slide-left,
.slide-right,
.card-pop {
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--stagger-i, 0) * 100ms);
}

.fade-in     { transform: translateY(30px); }
.slide-left  { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }
.card-pop    { transform: scale(0.95); }

.fade-in.is-revealed,
.slide-left.is-revealed,
.slide-right.is-revealed,
.card-pop.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .slide-left,
  .slide-right,
  .card-pop {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── ANIMATIONS (mouvement réduit respecté) ── */
@media (prefers-reduced-motion: no-preference) {
  /* Grain animé */
  .hero__grain {
    animation: grain-shift 0.7s steps(3) infinite;
  }

  @keyframes grain-shift {
    0%   { transform: translate(0,    0)   }
    33%  { transform: translate(-2%,  2%)  }
    66%  { transform: translate( 2%, -1%)  }
    100% { transform: translate(-1%,  1%)  }
  }

  /* Hero entrée */
  .hero__title,
  .hero__ctas {
    opacity: 0;
    transform: translateY(22px);
    animation: fade-up 1s var(--transition-reveal) forwards;
  }

  .hero__ctas { animation-delay: 0.3s; }

  @keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
  }

}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE, MOBILE (≤ 767px)
   Référence : iPhone SE 375px · min 16px texte · 44px tap targets
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── 1. Espacements : réduction de moitié ── */
  :root {
    --section-padding-y: var(--space-6);     /* clamp 64px → 32px */
  }

  .cta-band {
    padding-block: var(--space-8);           /* 80px → 48px */
  }

  .section__header {
    margin-bottom: var(--space-6);           /* 64px → 32px */
  }

  /* ── 2. Cards : padding réduit ── */
  .offre-card {
    padding: var(--space-5);                 /* 48px → 24px */
  }

  .temoignage-card {
    padding: var(--space-4) var(--space-5);  /* 32px → 16/24px */
  }

  .contact__proof {
    padding: var(--space-4);
    margin-bottom: var(--space-6);
  }

  /* ── 3. Textes : minimum 16px sur contenus lisibles ── */

  /* iOS Safari zoom automatique si font-size < 16px dans un input */
  .form__input,
  .form__select,
  .form__textarea {
    font-size: 1rem;
  }

  /* Listes et descriptions : contenu lu par l'utilisateur */
  .offre-card__list li,
  .processus__step-desc {
    font-size: var(--text-base);
  }

  /* ── 4. Hero : masquer scroll hint (redondant sur mobile) ── */
  .hero__scroll-hint {
    display: none;
  }
}

/* ── COOKIE BANNER ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - var(--space-8));
  max-width: 720px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(16, 12, 8, 0.5);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#cookie-banner.cookie-banner--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-light);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-normal);
  margin: 0;
}

.cookie-banner__link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-banner__btn {
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
}

.cookie-banner__btn--accept:hover { opacity: 0.85; }

.cookie-banner__btn--refuse {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 1.5px solid var(--color-text-on-dark-muted);
}

.cookie-banner__btn--refuse:hover {
  color: var(--color-text-on-dark);
  border-color: var(--color-primary-light);
}

