/* ============================================================
   JoMa Up – Charte graphique v1.0
   Palette : Navy #1a3461 | Gold #c6a566  (d'après logo)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand colors – extraits du logo JoMa Up */
  --navy:          #1a3461;   /* bleu marine des lettres J/M du logo */
  --navy-deep:     #0f2347;   /* variante plus sombre */
  --navy-soft:     #0d1e38;   /* cartes / sections alt */
  --navy-hero:     #1a3461;   /* fond du hero = couleur logo */
  --navy-dark:     #0a1628;   /* fond de page principal */
  --navy-darkest:  #060e1c;   /* footer */
  --gold:          #c6a566;   /* or de la flèche du logo */
  --gold-light:    rgba(198, 165, 102, 0.15);
  --gold-glow:     rgba(198, 165, 102, 0.30);
  --white:         #ffffff;

  /* Semantic tokens – dark by default */
  --color-bg:          var(--navy-dark);
  --color-bg-alt:      var(--navy-soft);
  --color-bg-card:     var(--navy-soft);
  --color-text:        #ffffff;
  --color-text-muted:  rgba(255,255,255,.60);
  --color-text-faint:  rgba(255,255,255,.35);
  --color-border:      rgba(255,255,255,.08);
  --color-border-hover:rgba(198,165,102,.40);
  --color-accent:      var(--gold);

  /* UI */
  --font-sans:    'Geist', Arial, Helvetica, sans-serif;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-pill:  9999px;
  --shadow-gold:  0 0 20px rgba(198,165,102,.30);
  --shadow-card:  0 8px 32px rgba(6,14,28,.70);
  --transition:   220ms ease;
  --header-h:     70px;
}

/* Light mode */
@media (prefers-color-scheme: light) {
  :root {
    --color-bg:          #ffffff;
    --color-bg-alt:      #eef1f7;
    --color-bg-card:     #ffffff;
    --color-text:        var(--navy);
    --color-text-muted:  #3d5278;
    --color-text-faint:  #7a94b8;
    --color-border:      #ccd4e3;
    --color-border-hover:var(--gold);
  }
}

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: var(--gold); color: var(--navy); }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
p  { max-width: 68ch; }

/* ── Layout ─────────────────────────────────────────────────── */
.container         { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.container--narrow { width: min(780px,  100% - 3rem); margin-inline: auto; }
.section           { padding-block: 96px; }
.section--alt      { background: var(--color-bg-alt); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

/* Primary – Gold pill */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: #d4b87a;
  box-shadow: 0 0 28px rgba(198,165,102,.50);
  transform: scale(1.04);
}

/* Ghost – white transparent */
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.20);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(255,255,255,.18);
  transform: scale(1.02);
}

/* Navy backstage variant */
.btn--navy {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
}
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-1px); }

.btn--large { padding: 1rem 2.5rem; font-size: 1.05rem; height: 56px; }
.btn--full  { width: 100%; }

/* ── Gold text ───────────────────────────────────────────────── */
.text-gold, .logo-accent { color: var(--gold); }

/* ── Hero badge dot ──────────────────────────────────────────── */
.hero__badge-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s cubic-bezier(.4,0,.6,1) infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,22,40,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(2,10,20,.6);
  border-bottom-color: rgba(198,165,102,.15);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  transition: opacity var(--transition);
}
.header__logo:hover { opacity: .8; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav__link {
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.70);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover, .nav__link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.07);
}

.nav__link--cta {
  margin-left: .6rem;
  padding: .55rem 1.25rem;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.nav__link--cta:hover {
  background: #d4b87a !important;
  box-shadow: 0 0 28px rgba(198,165,102,.5);
  transform: scale(1.04);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px 60px;
  background: var(--navy-hero);
  overflow: hidden;
}

/* Gold radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,165,102,.18) 0%, transparent 70%);
  top: 50%; right: 5%;
  transform: translateY(-50%);
  filter: blur(48px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(17,54,97,.5) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: .3rem 1rem;
  background: rgba(198,165,102,.12);
  color: var(--gold);
  border: 1px solid rgba(198,165,102,.28);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__title { margin-bottom: 1.5rem; color: var(--white); }
.hero__title .text-gold {
  background: linear-gradient(90deg, var(--gold), #e8d08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,.60);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Floating cards */
.hero__visual  { position: relative; height: 400px; }

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.hero__card--1 { top: 40px;   left: 10px;  animation-delay: 0s; }
.hero__card--2 { top: 165px;  right: 0;    animation-delay: 2s; }
.hero__card--3 { bottom: 55px;left: 50px;  animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.28);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-dot { animation: scroll-pulse 1.8s ease-in-out infinite; }
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: .3; }
}

/* ── Section header ──────────────────────────────────────────── */
.section__header { text-align: center; margin-bottom: 4rem; }

.section__label {
  display: inline-block;
  margin-bottom: .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__title    { margin-bottom: .85rem; }
.section__subtitle { color: var(--color-text-muted); margin-inline: auto; font-size: 1.05rem; }

/* ── Services ────────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 16px 48px rgba(2,10,20,.8), 0 0 24px rgba(198,165,102,.12);
}
.service-card--featured {
  border-color: rgba(198,165,102,.32);
  background: linear-gradient(135deg, var(--navy-soft) 60%, rgba(198,165,102,.05));
}

.service-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: rgba(198,165,102,.12);
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
  color: var(--gold);
}

.service-card__title { margin-bottom: .65rem; }
.service-card__desc  { color: var(--color-text-muted); font-size: .9rem; margin-bottom: 1.5rem; }

.service-card__features { display: flex; flex-direction: column; gap: .5rem; }
.service-card__features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  color: var(--color-text-muted);
}
.service-card__features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: .7;
}

.service-card__badge {
  position: absolute;
  top: 1.35rem; right: 1.35rem;
  padding: .2rem .75rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ── Process ─────────────────────────────────────────────────── */
.process__steps { display: flex; align-items: flex-start; }

.process__step {
  flex: 1;
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.process__divider {
  flex-shrink: 0;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 3rem;
  align-self: flex-start;
  opacity: .4;
}

.process__number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  opacity: .22;
  margin-bottom: .6rem;
  line-height: 1;
}
.process__step h3 { margin-bottom: .5rem; font-size: 1rem; }
.process__step p  { font-size: .87rem; color: var(--color-text-muted); margin-inline: auto; }

/* ── Portfolio ───────────────────────────────────────────────── */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 56px rgba(2,10,20,.8), 0 0 24px rgba(198,165,102,.12);
}

.portfolio-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy-hero);
}
.portfolio-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.08); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
}

.portfolio-card__category {
  padding: .25rem .8rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.portfolio-card[data-lightbox] { cursor: pointer; }

.portfolio-card__content { padding: 1.35rem; }
.portfolio-card__title   { margin-bottom: .45rem; font-size: 1rem; }
.portfolio-card__desc    { font-size: .84rem; color: var(--color-text-muted); }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.lightbox[hidden] { display: flex !important; }   /* keep flex even when hidden – we animate visibility */
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 28, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox__wrap {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: scale(.92) translateY(20px);
  transition: transform 350ms cubic-bezier(.2,.9,.3,1);
}
.lightbox.is-open .lightbox__wrap { transform: none; }

.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 1px solid rgba(198,165,102,.25);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox__close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

.lightbox__figure {
  background: var(--navy-soft);
  border: 1px solid rgba(198,165,102,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 32px rgba(198,165,102,.08);
}

.lightbox__img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0a1020;
}

.lightbox__caption {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(198,165,102,.12);
}

.lightbox__category {
  display: inline-block;
  padding: .2rem .7rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.lightbox__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--white);
}

.lightbox__desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lightbox__wrap { max-width: 96vw; }
  .lightbox__close { top: 8px; right: 8px; }
  .lightbox__caption { padding: 1rem 1.15rem; }
  .lightbox__img { max-height: 55vh; }
}

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding-block: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,165,102,.14) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.cta-section__title    { color: var(--white); }
.cta-section__subtitle { color: rgba(255,255,255,.55); font-size: 1.05rem; max-width: 55ch; margin-inline: auto; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-darkest);
  color: rgba(255,255,255,.75);
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 60px 44px;
  align-items: start;
}

.footer__logo    { font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.footer__tagline { margin-top: .4rem; font-size: .83rem; color: rgba(255,255,255,.35); }

.footer__nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__nav a  { font-size: .87rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__nav a:hover { color: var(--gold); }

.footer__legal-links { display: flex; flex-direction: column; gap: .55rem; }
.footer__legal-links a { font-size: .82rem; color: rgba(255,255,255,.40); transition: color var(--transition); }
.footer__legal-links a:hover { color: var(--gold); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.05); padding-block: 22px; }
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.26); max-width: none; }

/* ── Page hero ───────────────────────────────────────────────── */
.page-hero {
  background: var(--navy-hero);
  padding-block: 72px 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,165,102,.12) 0%, transparent 70%);
  top: 50%; right: 10%;
  transform: translateY(-50%);
  filter: blur(40px);
  pointer-events: none;
}
.page-hero__title    { margin-top: .6rem; margin-bottom: .75rem; color: var(--white); }
.page-hero__subtitle { color: rgba(255,255,255,.55); font-size: 1rem; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-layout--centered {
  max-width: 640px;
  margin-inline: auto;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-info__block { display: flex; align-items: flex-start; gap: 1.1rem; }

.contact-info__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(198,165,102,.12);
  border: 1px solid rgba(198,165,102,.18);
  border-radius: var(--radius-md);
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .25rem;
}
.contact-info__value { font-size: .95rem; font-weight: 500; }
a.contact-info__value:hover { color: var(--gold); transition: color var(--transition); }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  font-size: .9rem;
  line-height: 1.5;
}
.alert svg { flex-shrink: 0; margin-top: .1rem; }
.alert--success { background: rgba(22,163,74,.12); color: #4ade80; border: 1px solid rgba(22,163,74,.25); }
.alert--error   { background: rgba(220,38,38,.12); color: #f87171; border: 1px solid rgba(220,38,38,.25); }
.alert ul { padding-left: .5rem; }
.alert li { list-style: disc; list-style-position: inside; }

/* ── Contact form ────────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.35rem; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.form-group   { display: flex; flex-direction: column; gap: .45rem; }

.form-label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.form-label span { color: var(--gold); }

.form-input {
  height: 48px;
  padding: 0 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: .92rem;
  color: var(--color-text);
  background: rgba(0,0,0,.30);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,.22); }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,165,102,.18);
}
.form-input.is-invalid { border-color: #f87171; }
.form-input.is-valid   { border-color: #4ade80; }

.form-textarea { height: auto; padding: .85rem 1rem; resize: vertical; min-height: 140px; }

.form-notice   { font-size: .78rem; color: var(--color-text-muted); }
.form-notice a { color: var(--gold); text-decoration: underline; }

/* Light mode form */
@media (prefers-color-scheme: light) {
  .contact-form-wrap { box-shadow: 0 4px 24px rgba(4,31,62,.06); }
  .form-input        { background: #f4f6f9; color: var(--navy); }
  .form-input::placeholder { color: #8a9eb5; }
}

/* ── Legal content ───────────────────────────────────────────── */
.legal-content article h2 {
  margin-top: 2.75rem;
  margin-bottom: .85rem;
  font-size: 1.2rem;
}
.legal-content article p,
.legal-content article ul {
  font-size: .93rem;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}
.legal-content article ul { padding-left: 1.35rem; }
.legal-content article ul li { list-style: disc; margin-bottom: .4rem; }
.legal-content article a { color: var(--gold); text-decoration: underline; }
.legal-back { margin-top: 3rem; }

/* ── 404 ─────────────────────────────────────────────────────── */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-page .container { text-align: center; }
.error-page__code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), #e8d08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .25rem;
}
.error-page__title { font-size: 2rem; margin-bottom: .75rem; }
.error-page__desc  { color: var(--color-text-muted); margin-bottom: 2.5rem; }

/* ── Scroll reveal ───────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-animate].is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid, .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner   { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual  { display: none; }
  .process__steps { flex-wrap: wrap; }
  .process__divider { display: none; }
  .process__step { flex: 0 0 45%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .section { padding-block: 64px; }

  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10,22,40,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 320ms ease;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
  }
  .header__nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .5rem; }
  .nav__link { padding: .9rem 1.1rem; font-size: 1rem; border-radius: var(--radius-md); }
  .nav__link--cta { margin-left: 0; margin-top: .75rem; text-align: center; }
  .header__burger { display: flex; }

  .services__grid, .portfolio__grid { grid-template-columns: 1fr; }
  .process__steps { flex-direction: column; }
  .process__step  { flex: none; width: 100%; }

  .contact-form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ── WhatsApp floating button ───────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}

/* Social icons row in footer */
.footer__socials {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted, #8899b0);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.footer__social-icon:hover {
  background: color-mix(in srgb, var(--sc, #8899b0) 20%, transparent);
  color: var(--sc, #8899b0);
  transform: translateY(-2px);
}

/* ── Hub / Linktree page ────────────────────────────────────── */
.hub-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--navy-dark);
}
.hub-page__inner {
  width: 100%;
  max-width: 540px;
}
.hub-profile {
  text-align: center;
  margin-bottom: 2.5rem;
}
.hub-profile__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1rem;
}
.hub-profile__name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.hub-profile__bio {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.65;
}
.hub-links {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.5rem;
}
.hub-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  text-decoration: none;
  color: #ffffff;
  transition: border-color .2s, background .2s, transform .2s;
}
.hub-link:hover {
  border-color: var(--gold);
  background: rgba(198,165,102,.12);
  transform: translateY(-2px);
}
.hub-link__icon { font-size: 1.4rem; flex-shrink: 0; }
.hub-link__text { flex: 1; }
.hub-link__title { display: block; font-weight: 600; font-size: .95rem; }
.hub-link__desc  { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.hub-link__arrow { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.hub-footer { text-align: center; }
.hub-footer__brand {
  color: var(--color-text-muted);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}
.hub-footer__brand:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   WORD & PICTURES — styles publics
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.wp-hero { background: linear-gradient(135deg,var(--navy-dark,#0a1628) 0%,var(--navy,#1a3461) 100%); padding: 100px 0 80px; text-align: center; border-bottom: 1px solid rgba(198,165,102,.15); }
.wp-hero__badge { display: inline-block; background: rgba(198,165,102,.12); color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(198,165,102,.25); margin-bottom: 20px; }
.wp-hero__title { font-size: clamp(2.4rem,6vw,4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.wp-hero__title span { color: var(--gold); }
.wp-hero__sub { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.btn--gold { background: var(--gold); color: #0a1628; font-weight: 700; }
.btn--gold:hover { background: var(--gold-dark,#a8863d); }
.wp-hero__cta { padding: 14px 32px; font-size: 1rem; border-radius: 999px; }
.wp-hero__cta-price { white-space: nowrap; }

/* ── Succès commande ─────────────────────────────────────────── */
.wp-success { text-align: center; background: rgba(76,175,125,.06); border: 1px solid rgba(76,175,125,.2); border-radius: 16px; padding: 48px 32px; max-width: 520px; margin: 0 auto; }
.wp-success__icon { font-size: 3rem; margin-bottom: 16px; }
.wp-success h2 { font-size: 1.6rem; margin-bottom: 12px; }
.wp-success p { color: var(--muted); line-height: 1.6; }

/* ── Styles cards ────────────────────────────────────────────── */
.wp-styles { padding: 80px 0 60px; }
.wp-styles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
@media (max-width: 700px) { .wp-styles__grid { grid-template-columns: 1fr; } }
.wp-style-card { background: rgba(26,52,97,.4); border: 1px solid rgba(198,165,102,.12); border-radius: 16px; overflow: hidden; transition: transform .2s, border-color .2s; }
.wp-style-card:hover { transform: translateY(-4px); border-color: rgba(198,165,102,.3); }
.wp-style-card--featured { border-color: rgba(198,165,102,.3); }
.wp-style-card__preview { height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(10,22,40,.6); }
.wp-style-card__preview--integral .wp-style-card__letters { display: flex; gap: 6px; }
.wp-style-card__preview--integral .wp-style-card__letters span { width: 48px; height: 64px; border-radius: 8px; background: linear-gradient(135deg,rgba(198,165,102,.25),rgba(198,165,102,.1)); border: 1px solid rgba(198,165,102,.3); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.wp-style-card__preview--ambiance { background: linear-gradient(135deg,#0a1628,#1a3461); }
.wp-style-card__overlay-word { font-size: 3.5rem; font-weight: 900; letter-spacing: .15em; background: linear-gradient(135deg,var(--gold),#fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: .9; }
.wp-style-card__preview-label { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 12px; }
.wp-style-card__body { padding: 24px; }
.wp-style-card__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(198,165,102,.2); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.wp-style-card__tag--gold { color: var(--gold); border-color: rgba(198,165,102,.4); }
.wp-style-card__body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.wp-style-card__body p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.wp-style-card__features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.wp-style-card__features li { font-size: .85rem; color: var(--muted); }

/* ── Prix & processus ────────────────────────────────────────── */
.wp-price-section { background: rgba(10,22,40,.7); border-top: 1px solid rgba(198,165,102,.1); border-bottom: 1px solid rgba(198,165,102,.1); padding: 80px 0; }
.wp-price-section__inner { display: grid; grid-template-columns: minmax(260px,320px) 1fr; gap: 60px; align-items: start; }
@media (max-width: 800px) { .wp-price-section__inner { grid-template-columns: 1fr; gap: 40px; } }
.wp-offers { display: contents; }
.wp-offers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.wp-price-card { background: linear-gradient(135deg,rgba(198,165,102,.12),rgba(198,165,102,.04)); border: 1px solid rgba(198,165,102,.3); border-radius: 20px; padding: 36px 28px; text-align: center; }
.wp-price-card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(198,165,102,.15); }
.wp-price-card__price { font-size: 3.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.wp-price-card__price span { font-size: 1.8rem; }
.wp-price-card__label { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.wp-price-card__includes { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.wp-price-card__includes li { font-size: .9rem; color: var(--muted); }
.wp-process h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; }
.wp-process__steps { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.wp-process__steps li { display: flex; gap: 20px; align-items: flex-start; }
.wp-process__num { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; background: rgba(198,165,102,.15); border: 1px solid rgba(198,165,102,.3); color: var(--gold); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wp-process__steps li strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.wp-process__steps li p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ── Formulaire de commande ──────────────────────────────────── */
.wp-order { padding: 80px 0 100px; }
.wp-errors { background: rgba(224,82,82,.08); border: 1px solid rgba(224,82,82,.3); border-radius: 10px; padding: 14px 18px; margin-bottom: 28px; }
.wp-errors p { color: #e05252; font-size: .9rem; margin-bottom: 4px; }
.wp-errors p:last-child { margin-bottom: 0; }
.wp-form { max-width: 720px; margin: 0 auto; }
.wp-form__fieldset { border: 1px solid rgba(198,165,102,.12); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.wp-form__fieldset legend { font-weight: 600; font-size: .9rem; color: var(--gold); padding: 0 8px; }
.wp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .wp-form__row { grid-template-columns: 1fr; } }
.wp-form__opt { color: var(--muted); font-size: .78rem; font-weight: 400; }
.wp-form__hint { color: var(--muted); font-size: .78rem; margin-top: 5px; }
.wp-form__hint-inline { color: var(--muted); font-size: .78rem; font-weight: 400; }
.wp-form__see-styles { font-size: .78rem; color: var(--gold); text-decoration: none; margin-left: 10px; }
.wp-form__see-styles:hover { text-decoration: underline; }

/* ── Radio cards ─────────────────────────────────────────────── */
.wp-radio-group { display: flex; flex-direction: column; gap: 10px; }
.wp-radio { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(198,165,102,.15); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.wp-radio:hover { border-color: rgba(198,165,102,.35); background: rgba(198,165,102,.04); }
.wp-radio--checked { border-color: var(--gold); background: rgba(198,165,102,.07); }
.wp-radio input[type="radio"] { display: none; }
.wp-radio__icon { font-size: 1.3rem; }
.wp-radio__label { font-size: .9rem; }
.wp-radio__label em { color: var(--muted); font-style: normal; }

/* ── Dropzone photos ─────────────────────────────────────────── */
.wp-dropzone { border: 2px dashed rgba(198,165,102,.3); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s; position: relative; }
.wp-dropzone:hover { border-color: rgba(198,165,102,.6); }
.wp-dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.wp-dropzone__ui { padding: 36px 24px; text-align: center; pointer-events: none; }
.wp-dropzone__icon { font-size: 2.2rem; margin-bottom: 10px; }
.wp-dropzone__text { font-size: .95rem; color: var(--muted); margin-bottom: 6px; }
.wp-dropzone__text span { color: var(--gold); text-decoration: underline; }
.wp-dropzone__formats { font-size: .75rem; color: rgba(136,153,176,.6); }
.wp-dropzone__preview { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 12px 14px; }
.wp-dropzone__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(198,165,102,.2); }
.wp-dropzone__count { width: 100%; font-size: .82rem; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.wp-dropzone__more { font-size: .78rem; color: var(--muted); }

/* ── Footer formulaire ───────────────────────────────────────── */
.wp-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(198,165,102,.06); border: 1px solid rgba(198,165,102,.15); border-radius: 12px; padding: 20px 24px; margin-top: 8px; }
@media (max-width: 600px) { .wp-form__footer { flex-direction: column; align-items: flex-start; } }
.wp-form__total span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.wp-form__total strong { font-size: 2rem; font-weight: 800; color: var(--gold); }
.wp-form__total em { display: block; font-size: .75rem; color: var(--muted); font-style: normal; margin-top: 2px; }
.btn--lg { padding: 14px 36px; font-size: 1rem; }

/* ── Section promo sur la home ───────────────────────────────── */
.wp-promo { padding: 80px 0; }
.wp-promo__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
@media (max-width: 800px) { .wp-promo__inner { grid-template-columns: 1fr; } .wp-promo__visual { display: none; } }
.wp-promo__features { list-style: none; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.wp-promo__features li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); }
.wp-promo__features li span { font-size: 1.2rem; }
.wp-promo__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.wp-promo__price { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.wp-promo__visual { text-align: center; }
.wp-promo__letters { display: flex; gap: 10px; margin-bottom: 12px; }
.wp-promo__letter { width: 64px; height: 88px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 900; border: 1px solid rgba(198,165,102,.3); color: var(--gold); }
.wp-promo__letter--1 { background: linear-gradient(135deg,rgba(198,165,102,.2),rgba(198,165,102,.06)); }
.wp-promo__letter--2 { background: linear-gradient(135deg,rgba(198,165,102,.15),rgba(198,165,102,.04)); transform: translateY(8px); }
.wp-promo__letter--3 { background: linear-gradient(135deg,rgba(198,165,102,.1),rgba(198,165,102,.03)); transform: translateY(4px); }
.wp-promo__letter--4 { background: linear-gradient(135deg,rgba(198,165,102,.2),rgba(198,165,102,.06)); transform: translateY(-2px); }
.wp-promo__caption { font-size: .75rem; color: var(--muted); }

/* ── Word & Pictures — responsive ───────────────────────────── */
.section-title { font-size: clamp(1.5rem,4vw,2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.6; }

@media (max-width: 768px) {
  /* Hero /word-pictures */
  .wp-hero { padding: 60px 0 48px; }
  .wp-hero__sub { font-size: 1rem; }
  .wp-hero__cta { display: block; max-width: 340px; margin-left: auto; margin-right: auto; text-align: center; padding: 14px 20px; }

  /* Sections */
  .wp-styles { padding: 52px 0 40px; }
  .wp-price-section { padding: 52px 0; }
  .wp-order { padding: 52px 0 64px; }

  /* Home promo */
  .wp-promo { padding: 52px 0; }
  .wp-promo__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wp-promo__features { margin: 14px 0 20px; }
}

@media (max-width: 480px) {
  .wp-hero { padding: 48px 0 40px; }
  .wp-hero__cta { max-width: 100%; font-size: .9rem; padding: 13px 16px; }
  .wp-hero__cta-price { display: none; }

  .wp-price-card__price { font-size: 2.8rem; }
  .wp-price-card { padding: 28px 20px; }

  .wp-form__fieldset { padding: 16px; }
  .wp-form__footer { align-items: stretch; }
  .wp-form__footer .btn { width: 100%; text-align: center; justify-content: center; }

  .wp-promo { padding: 40px 0; }
  .wp-promo__actions .btn { width: 100%; text-align: center; }
}
