/* ================================================================
   style.css · Wa Studio · Thème japonais zen premium
   ================================================================ */

/* ── Variables CSS ── */
:root {
  /* Palette */
  --ink:          #0a0a0b;         /* Noir encre profond */
  --charcoal:     #141416;         /* Fond principal */
  --graphite:     #1e1e22;         /* Fond carte */
  --graphite-lt:  #28282e;         /* Hover fond */
  --smoke:        #3a3a42;         /* Bordures subtiles */
  --ash:          #6a6a74;         /* Texte secondaire */
  --silk:         #b8b8c2;         /* Texte corps */
  --parchment:    #e8e4db;         /* Blanc cassé */
  --ivory:        #f5f1ea;         /* Presque blanc */
  --red-seal:     #c0392b;         /* Rouge sceau japonais */
  --red-glow:     rgba(192, 57, 43, 0.15);
  --gold-faint:   rgba(212, 175, 90, 0.08);

  /* Typographie */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-jp:      'Shippori Mincho', 'Noto Serif JP', serif;
  --font-body:    'Noto Serif JP', serif;

  /* Espacements */
  --nav-h:        72px;
  --section-pad:  clamp(5rem, 10vw, 9rem);
  --inner-w:      1160px;
  --gap:          clamp(1.5rem, 3vw, 3rem);

  /* Transitions */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.15, 1);
  --t-fast:       180ms;
  --t-med:        360ms;
  --t-slow:       600ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Curseur normal visible sur tous les appareils */
body, a, button, [role="button"] { cursor: auto; }
a, button, [role="button"] { cursor: pointer; }

/* Sélection de texte */
::selection { background: var(--red-seal); color: var(--ivory); }

/* ── Canvas particules ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Fond japonais - paysage féodal ── */
body {
  background-color: var(--charcoal);
  color: var(--silk);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  /* Texture grain subtile via SVG inline */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Background paysage japonais féodal (SVG inline) ── */
#bg-japan {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#bg-japan svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
/* Overlay pour assurer lisibilité du contenu */
#bg-japan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.72) 0%,
    rgba(10, 10, 11, 0.55) 40%,
    rgba(10, 10, 11, 0.70) 100%
  );
}

/* ── Pétales de sakura (traînée curseur) ── */
.sakura-petal {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50% 0 50% 0; /* forme organique de pétale */
  will-change: transform, opacity;
  animation: petalFall var(--duration, 1.2s) var(--delay, 0s) ease-out forwards;
}

@keyframes petalFall {
  0% {
    opacity: var(--opacity-start, 0.85);
    transform: translate(0, 0) rotate(var(--rot-start, 0deg)) scale(1);
  }
  60% {
    opacity: calc(var(--opacity-start, 0.85) * 0.5);
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift-x, 20px), var(--drift-y, 60px)) rotate(var(--rot-end, 180deg)) scale(0.3);
  }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  transition: background var(--t-slow) ease, backdrop-filter var(--t-slow) ease,
              box-shadow var(--t-slow) ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--smoke);
}

/* Logo navbar */
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 8px rgba(192,57,43,0.3));
  opacity: 0.92;
  transition: opacity var(--t-fast) ease, filter var(--t-fast) ease;
}
.nav-brand:hover .nav-logo-img {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 14px rgba(192,57,43,0.5));
}
@media (max-width: 768px) {
  .nav-logo-img { height: 28px; }
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  z-index: 2;
}
.nav-kanji {
  font-family: var(--font-jp);
  font-size: 1.5rem;
  color: var(--ivory);
  line-height: 1;
}
.nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  position: relative;
  transition: color var(--t-fast) ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red-seal);
  transition: width var(--t-med) var(--ease-out);
}
.nav-link:hover,
.nav-link.active {
  color: var(--ivory);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Chevron dropdown */
.chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--t-med) var(--ease-out);
}
.nav-dropdown.open .chevron { transform: rotate(180deg); }

/* Menu déroulant */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(20, 20, 22, 0.97);
  border: 1px solid var(--smoke);
  border-radius: 4px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              visibility var(--t-med);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.04) inset;
}
/* Flèche au-dessus */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: var(--graphite);
  border-left: 1px solid var(--smoke);
  border-top: 1px solid var(--smoke);
}

/* Ouverture au hover (desktop) */
@media (hover: hover) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
/* Ouverture au clic (toujours actif, y compris mobile) */
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ash);
  text-decoration: none;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, padding-left var(--t-fast) ease;
}
.dropdown-menu li a:hover {
  color: var(--ivory);
  background: rgba(255,255,255,0.04);
  padding-left: 1.8rem;
}
.drop-icon {
  font-family: var(--font-jp);
  font-size: 1rem;
  color: var(--red-seal);
  width: 1.2rem;
  text-align: center;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--silk);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── SECTION HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 2rem 4rem;
  overflow: hidden;
  z-index: 1;
}

/* Lignes décoratives */
.deco-lines { position: absolute; inset: 0; pointer-events: none; }
.deco-line {
  position: absolute;
  background: var(--smoke);
  opacity: 0.4;
}
.deco-line--v1 { width: 1px; height: 40%; top: 0; left: 12%; animation: lineGrow 2s var(--ease-out) 0.5s both; }
.deco-line--v2 { width: 1px; height: 30%; bottom: 0; right: 10%; animation: lineGrow 2s var(--ease-out) 0.8s both; transform-origin: bottom; }
.deco-line--h1 { height: 1px; width: 15%; top: 30%; left: 0; animation: lineGrowH 2s var(--ease-out) 1s both; }

@keyframes lineGrow   { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lineGrowH  { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Logo */
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  will-change: transform;
}

.logo-halo {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 70%);
  animation: haloPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes haloPulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.15); opacity: 0.4; }
}

/* Animation d'apparition du logo */
.hero-logo {
  position: relative;
  max-width: min(220px, 45vw);
  height: auto;
  /* Filtres pour s'intégrer au fond sombre */
  filter: drop-shadow(0 0 30px rgba(192,57,43,0.2))
          drop-shadow(0 4px 24px rgba(0,0,0,0.6));
  opacity: 0;
  animation: logoReveal 1.2s var(--ease-out) 0.2s forwards;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); filter: drop-shadow(0 0 0px rgba(192,57,43,0)) drop-shadow(0 0 0 rgba(0,0,0,0)); }
  100% { opacity: 1; transform: translateY(0)   scale(1);     filter: drop-shadow(0 0 30px rgba(192,57,43,0.2)) drop-shadow(0 4px 24px rgba(0,0,0,0.6)); }
}

/* Fallback si logo absent */
.logo-fallback {
  display: none;
  font-family: var(--font-jp);
  font-size: clamp(6rem, 18vw, 12rem);
  color: var(--ivory);
  line-height: 1;
  opacity: 0;
  animation: logoReveal 1.2s var(--ease-out) 0.2s forwards;
  filter: drop-shadow(0 0 40px rgba(192,57,43,0.3));
}

/* Texte hero */
.hero-text { position: relative; z-index: 1; }

.hero-sub {
  font-family: var(--font-jp);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.3em;
  color: var(--ash);
  margin-bottom: 1rem;
}
.jp-text { display: block; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 228, 219, 0.55);
}

.hero-body {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  color: var(--ash);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}

/* Boutons */
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background var(--t-med) ease, color var(--t-med) ease,
              border-color var(--t-med) ease, transform var(--t-fast) ease,
              box-shadow var(--t-med) ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-seal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-primary {
  background: var(--red-seal);
  color: var(--ivory);
  border-color: var(--red-seal);
}
.btn-primary:hover {
  background: #a93226;
  border-color: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,57,43,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ash);
  border-color: var(--smoke);
}
.btn-ghost:hover {
  color: var(--ivory);
  border-color: var(--silk);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* Sceau décoratif */
.seal {
  position: absolute;
  bottom: clamp(3rem, 7vh, 5rem);
  right: clamp(2rem, 6vw, 5rem);
  width: 52px;
  opacity: 0.65;
  transition: opacity var(--t-med) ease, transform var(--t-med) ease;
}
.seal:hover { opacity: 1; transform: rotate(5deg); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: clamp(2rem, 5vh, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ash), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(0.4); opacity: 0.3; }
}

/* ── ANIMATIONS D'APPARITION (révèle au scroll) ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Hero animations (déclenchées dès le chargement) */
.hero .reveal-up {
  animation: revealHeroUp 0.9s var(--ease-out) both;
}
@keyframes revealHeroUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS ── */
.section {
  position: relative;
  padding: var(--section-pad) clamp(1.5rem, 4vw, 3.5rem);
  z-index: 1;
}
.section-inner {
  max-width: var(--inner-w);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-seal);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 228, 219, 0.5);
}

/* ── À PROPOS ── */
.section--apropos { background: var(--ink); }
.section--apropos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--smoke), transparent);
}

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.apropos-text p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--ash);
  margin-bottom: 1.2rem;
  line-height: 1.9;
}
.apropos-text strong { color: var(--silk); font-weight: 400; }

.ink-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 30vw, 300px);
  height: clamp(200px, 30vw, 300px);
  border-radius: 50%;
  border: 1px solid var(--smoke);
  margin: 0 auto;
  position: relative;
  transition: border-color var(--t-slow) ease;
}
.ink-circle::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid var(--graphite-lt);
}
.ink-circle:hover { border-color: rgba(192,57,43,0.4); }
.ink-kanji {
  font-family: var(--font-jp);
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--ivory);
  line-height: 1;
}
.ink-meaning {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── SERVICES ── */
.section--services { background: var(--charcoal); }
.section--services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--smoke), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--smoke);
  border: 1px solid var(--smoke);
}
.service-card {
  background: var(--charcoal);
  padding: clamp(2rem, 3.5vw, 2.8rem) clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: background var(--t-med) ease;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-seal);
  transition: width var(--t-slow) var(--ease-out);
}
.service-card:hover { background: var(--graphite); }
.service-card:hover::after { width: 100%; }

.service-icon {
  font-family: var(--font-jp);
  font-size: 2rem;
  color: var(--red-seal);
  margin-bottom: 1.2rem;
  line-height: 1;
  transition: transform var(--t-med) var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.1) translateY(-2px); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--parchment);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.7;
}
.service-line {
  width: 24px;
  height: 1px;
  background: var(--smoke);
  margin-top: 1.5rem;
  transition: width var(--t-med) var(--ease-out), background var(--t-med) ease;
}
.service-card:hover .service-line { width: 40px; background: var(--red-seal); }

/* ── CONTACT ── */
.section--contact { background: var(--ink); }
.section--contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--smoke), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-text p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--ash);
  margin-bottom: 2rem;
  line-height: 1.9;
}
.contact-infos { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--silk);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--t-fast) ease;
  position: relative;
  display: inline-block;
}
.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red-seal);
  transition: width var(--t-med) var(--ease-out);
}
.contact-link:hover { color: var(--ivory); }
.contact-link:hover::after { width: 100%; }

/* Formulaire */
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-group { position: relative; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--graphite);
  border: 1px solid var(--smoke);
  border-radius: 2px;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--silk);
  outline: none;
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) ease;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ash); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(192,57,43,0.5);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

/* Labels flottants (esthétiques, non fonctionnels comme fallback) */
.form-group label {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  font-size: 0.85rem;
  color: var(--ash);
  pointer-events: none;
  display: none; /* visibles si JS désactivé */
}

.form-status {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.5em;
  transition: opacity var(--t-med) ease;
}
.form-status.success { color: #27ae60; }
.form-status.error   { color: var(--red-seal); }

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--smoke);
  padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
  background: var(--ink);
}
.footer-inner {
  max-width: var(--inner-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ash);
}
.footer-brand .nav-kanji { font-size: 1.1rem; color: var(--ivory); }
.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.footer-links a:hover { color: var(--ivory); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--smoke);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) ease;
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { font-size: 1.1rem; letter-spacing: 0.2em; }

  /* Dropdown mobile */
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: var(--graphite);
    border: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow) var(--ease-out);
  }
  .dropdown-menu::before { display: none; }
  .nav-dropdown.open .dropdown-menu { max-height: 400px; }

  /* Sections */
  .apropos-grid    { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }

  .ink-circle { width: 200px; height: 200px; }

  /* Seal */
  .seal { right: 1.5rem; bottom: 2rem; width: 42px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Responsive autres */
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }
  .btn { padding: 0.75rem 1.6rem; }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* Saut de ligne desktop uniquement */
.br-desktop { display: inline; }
@media (max-width: 600px) {
  .br-desktop { display: none; }
}
