/* ========================================
   CLEM&NATHA — Design System
   Direction : éditoriale, japonisante, art-house
   ======================================== */


:root {
  /* Palette */
  --ink: #0f0e0c;
  --ink-soft: #0a0a0a;
  --paper: #f5f1ea;
  --paper-warm: #ebe5da;
  --paper-deep: #050505;
  --vermillon: #c8442c;
  --vermillon-deep: #a8341f;
  --sumi: #1c1a18;
  --stone: #8b8378;
  --stone-light: #c4bcb0;

  /* Typo */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-jp: 'Noto Serif JP', serif;

  /* Espacement */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-xxl: 12rem;

  /* Transitions */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* Coins arrondis — toutes les photos sauf le hero plein écran */
img:not(.hero-img) { border-radius: 12px; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--stone);
  display: inline-block;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--vermillon);
  vertical-align: middle;
  margin-right: 12px;
}

.kanji {
  font-family: var(--font-jp);
  color: var(--vermillon);
}

.italic-display {
  font-style: italic;
  font-family: var(--font-display);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* ========================================
   NAVIGATION
   ======================================== */

/* Offset ancres pour compenser la nav fixe */
[id] {
  scroll-margin-top: 5rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s var(--ease);
  mix-blend-mode: difference;
}

.nav.scrolled,
.nav.menu-open {
  mix-blend-mode: normal;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem var(--space-md);
  border-bottom: 1px solid rgba(15, 14, 12, 0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-shadow: 0 0 40px rgba(200, 68, 44, 0.4);
}

.nav.scrolled .nav-logo {
  color: var(--ink);
}

.nav-logo span {
  color: var(--vermillon);
  font-style: italic;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--paper);
  position: relative;
}

.nav.scrolled .nav-menu a {
  color: var(--ink);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--vermillon);
  transition: width 0.3s var(--ease);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--vermillon);
  color: var(--paper) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 0;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--vermillon-deep);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.nav-toggle span {
  width: 28px;
  height: 1.5px;
  background: var(--paper);
  transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-toggle span {
  background: var(--ink);
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--vermillon);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--vermillon-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(168, 52, 31, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
}

.btn-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

/* Image hero : plein écran par défaut (mobile / tablette) */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1815 0%, #2a2622 50%, #1c1a18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,0.3) 0%, rgba(15,14,12,0.5) 70%, rgba(15,14,12,0.85) 100%);
}

/* Desktop : deux colonnes — fond sombre stylé, image portrait à droite */
@media (min-width: 1025px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper-deep);
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 65% 85% at 78% 48%, rgba(200,68,44,0.55) 0%, transparent 65%),
      radial-gradient(ellipse 40% 60% at 6% 88%, rgba(200,68,44,0.20) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
  }

  .hero-image {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem 2rem 0.5rem;
    background: none;
    z-index: 1;
  }

  .hero-image::after {
    display: none;
  }

  /* width:100% remplit la colonne, max-height évite tout débordement vertical */
  .hero-img {
    position: relative;
    inset: auto;
    width: 78%;
    height: auto;
    max-height: calc(100vh - 8rem);
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    transform: rotate(-1.5deg);
    box-shadow: 0 30px 70px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.05);
  }

  /* Texte : placement grid + centrage vertical */
  .hero-content {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    z-index: 2;
    justify-content: center;
    padding-top: 6rem;
  }

  .scroll-indicator {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--space-md) var(--space-lg);
  max-width: 1440px;
  margin: 0 auto;
}

/* Override desktop — doit venir APRÈS la règle de base pour gagner la cascade */
@media (min-width: 1025px) {
  .hero-content {
    justify-content: center;
    padding-top: 6rem;
    padding-left: 8rem;
    margin: 0;
    max-width: none;
  }
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--stone-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-eyebrow .kanji {
  font-size: 1rem;
  letter-spacing: normal;
}

.hero-audience {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.8rem 1.4rem;
  background: rgba(245, 241, 234, 0.08);
  border: 1px solid rgba(245, 241, 234, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 0.8s forwards;
}

.hero-audience-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  font-weight: 500;
}

.hero-audience-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermillon);
  display: inline-block;
}

.hero-audience-divider {
  width: 1px;
  height: 16px;
  background: rgba(245, 241, 234, 0.3);
}

@media (max-width: 600px) {
  .hero-audience {
    gap: 1rem;
    padding: 0.6rem 1rem;
  }
  .hero-audience-item {
    font-size: 0.75rem;
  }
}

.hero h1 {
  color: var(--paper);
  max-width: 900px;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 0.5s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--vermillon);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--stone-light);
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 0.7s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 0.9s forwards;
}

.hero-meta {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-md);
  z-index: 2;
  text-align: right;
  color: var(--stone-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 1.1s forwards;
}

.hero-meta .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--paper);
  display: block;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--paper));
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.5s forwards, scrollPulse 2s var(--ease) 2.5s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: translateX(-50%) scaleY(1); }
  50% { transform: translateX(-50%) scaleY(1.3); }
}

/* ========================================
   PLACEHOLDERS PHOTOS
   ======================================== */

.photo-placeholder {
  background: linear-gradient(135deg, #d4cdc0 0%, #c4bcb0 50%, #b5ac9e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink-soft);
  overflow: hidden;
  font-family: var(--font-body);
  border-radius: 12px;
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.04) 35px, rgba(255,255,255,0.04) 36px);
}

.photo-placeholder .ph-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  z-index: 1;
  font-style: italic;
}

.photo-placeholder .ph-name {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  z-index: 1;
  opacity: 0.7;
  text-align: center;
  padding: 0 1rem;
}

.photo-placeholder.dark {
  background: linear-gradient(135deg, #2a2622 0%, #1c1a18 100%);
  color: var(--stone-light);
}

.photo-placeholder.dark .ph-num,
.photo-placeholder.dark .ph-name {
  color: var(--stone-light);
}

/* ========================================
   SECTION INTRO
   ======================================== */

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-lg);
}

.section-header.center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
}

.section-header.center p {
  margin: 1.5rem auto 0;
}

/* ========================================
   CHIFFRES CLÉS
   ======================================== */

.stats {
  background: var(--paper-warm);
  padding: 3rem 0;
  border-top: 1px solid rgba(15, 14, 12, 0.08);
  border-bottom: 1px solid rgba(15, 14, 12, 0.08);
}

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

.stat {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(15, 14, 12, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.stat-num em {
  font-style: italic;
  color: var(--vermillon);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ========================================
   PRO BLOCK
   ======================================== */

.pro-block {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.pro-block::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--vermillon);
  opacity: 0.08;
  filter: blur(80px);
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}

.pro-text .eyebrow {
  color: var(--stone-light);
}

.pro-text h2 {
  color: var(--paper);
  margin: 1.5rem 0 1.5rem;
}

.pro-text h2 em {
  color: var(--vermillon);
  font-style: italic;
}

.pro-text p {
  color: var(--stone-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.pro-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pro-benefits li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
  font-size: 0.95rem;
}

.pro-benefits li .num {
  font-family: var(--font-display);
  color: var(--vermillon);
  font-style: italic;
  font-size: 1.2rem;
  min-width: 30px;
}

.pro-image-stack {
  position: relative;
  aspect-ratio: 4/5;
}

.pro-image-stack .photo-placeholder {
  position: absolute;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pro-image-stack .ph-1 {
  inset: 0 30% 30% 0;
  z-index: 2;
}

.pro-image-stack .ph-2 {
  inset: 30% 0 0 30%;
  z-index: 1;
}

/* Desktop : survol de la photo de derrière → elle passe devant */
@media (hover: hover) {
  .pro-image-stack .ph-2:hover {
    z-index: 3;
    box-shadow: 0 12px 40px rgba(15,14,12,0.22);
  }
}

/* ========================================
   GALERIE / PORTFOLIO
   ======================================== */

.gallery {
  background: var(--paper);
}

/* Grille uniforme 3 colonnes pour la section Œuvres récentes (index) */
.gallery .gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery .gallery-item.size-md,
.gallery .gallery-item.size-lg,
.gallery .gallery-item.size-tall,
.gallery .gallery-item.size-wide {
  grid-column: span 1;
  aspect-ratio: 3/4;
}

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid rgba(15, 14, 12, 0.15);
  background: transparent;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: transform 0.6s var(--ease);
  border-radius: 12px;
}

.gallery-item .photo-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover .photo-placeholder {
  transform: scale(1.04);
}

.gallery-item .item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(15,14,12,0.85));
  color: var(--paper);
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.gallery-item:hover .item-info {
  transform: translateY(0);
  opacity: 1;
}

.item-info h4 {
  color: var(--paper);
  margin-bottom: 0.3rem;
}

.item-info span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-light);
}

/* Layout asymétrique galerie */
.gallery-item.size-md { grid-column: span 4; }
.gallery-item.size-lg { grid-column: span 6; aspect-ratio: 4/3; }
.gallery-item.size-tall { grid-column: span 4; aspect-ratio: 3/5; }
.gallery-item.size-wide { grid-column: span 8; aspect-ratio: 16/10; }

/* ========================================
   STYLES SIGNATURES
   ======================================== */

.styles-section {
  background: var(--paper-warm);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.style-card {
  background: var(--paper);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.style-card:hover {
  transform: translateY(-6px);
}

.style-card .photo-placeholder {
  aspect-ratio: 1/1.2;
}

.style-card-body {
  padding: 1.5rem;
}

.style-card h4 {
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 400;
}

.style-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.style-card .style-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--paper);
  background: var(--vermillon);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ========================================
   STYLES MINI (galerie intro)
   ======================================== */

.styles-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(15, 14, 12, 0.08);
}

.style-mini {
  position: relative;
}

.style-mini::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--vermillon);
}

.style-mini-label {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 1rem 0 0.5rem;
}

.style-mini p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .styles-mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .styles-mini {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========================================
   PROCESS
   ======================================== */

.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-lg);
}

.process-step {
  padding: 2.5rem 1.5rem;
  position: relative;
  border-right: 1px solid rgba(15, 14, 12, 0.08);
}

.process-step:last-child { border-right: none; }

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--vermillon);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}

.process-step h4 {
  margin-bottom: 0.8rem;
}

.process-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   TÉMOIGNAGES
   ======================================== */

.testimonials {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "「";
  position: absolute;
  top: 4rem;
  left: 4rem;
  font-family: var(--font-jp);
  font-size: 12rem;
  color: var(--vermillon);
  opacity: 0.15;
  line-height: 1;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: 2.5rem;
}

.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-light);
}

.testimonial-author strong {
  color: var(--vermillon);
  font-weight: 500;
}

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
  background: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.cta-final h2 em {
  font-style: italic;
  color: var(--vermillon);
}

.cta-final p {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--sumi);
  color: var(--stone-light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-brand .logo em {
  color: var(--vermillon);
  font-style: italic;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

footer h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

footer ul a:hover {
  color: var(--vermillon);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* ========================================
   ANIMATIONS SCROLL
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ========================================
   PAGES INTÉRIEURES
   ======================================== */

.page-hero {
  height: 70vh;
  min-height: 500px;
  background: var(--paper-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1815, #2a2622);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,0.2) 0%, rgba(15,14,12,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.page-hero h1 {
  color: var(--paper);
  max-width: 800px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--vermillon);
}

.page-hero .breadcrumb {
  color: var(--stone-light);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.page-hero .breadcrumb a:hover {
  color: var(--vermillon);
}

/* ========================================
   FORMULAIRE DEVIS
   ======================================== */

.form-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

.form-aside {
  position: sticky;
  top: 120px;
}

.form-aside h2 {
  margin-bottom: 1.5rem;
}

.form-aside p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.reassurance {
  list-style: none;
  border-top: 1px solid rgba(15, 14, 12, 0.1);
  padding-top: 2rem;
}

.reassurance li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 14, 12, 0.06);
  font-size: 0.95rem;
}

.reassurance li::before {
  content: "✓";
  color: var(--vermillon);
  font-weight: 600;
  font-size: 1.1rem;
}

.form-card {
  background: var(--paper);
  padding: var(--space-md);
  border: 1px solid rgba(15, 14, 12, 0.08);
}

.form-row {
  margin-bottom: 1.8rem;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.form-row label .required {
  color: var(--vermillon);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: none;
  border-bottom: 1px solid rgba(15, 14, 12, 0.2);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--vermillon);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
  padding: 0.9rem 0;
}

.styles-pick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.style-pick {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
}

.style-pick.active {
  border-color: var(--vermillon);
}

.style-pick .photo-placeholder {
  width: 100%;
  height: 100%;
}

.style-pick span {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  background: rgba(15,14,12,0.85);
  color: var(--paper);
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.upload-zone {
  border: 2px dashed rgba(15, 14, 12, 0.2);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.upload-zone:hover {
  border-color: var(--vermillon);
  background: rgba(200, 68, 44, 0.03);
}

.upload-zone .upload-icon {
  font-size: 2rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
}

.upload-zone p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.upload-zone span {
  color: var(--stone);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.3rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-pill {
  flex: 1;
  padding: 1rem;
  border: 1px solid rgba(15, 14, 12, 0.15);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.radio-pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 14, 12, 0.1);
}

.faq-question {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.faq-question:hover {
  color: var(--vermillon);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--vermillon);
  transition: transform 0.4s var(--ease);
  font-family: var(--font-display);
  font-style: italic;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 2rem;
}

.faq-answer p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 720px;
}

/* ========================================
   PORTFOLIO PAGE
   ======================================== */

.portfolio-page .gallery-grid {
  margin-top: var(--space-md);
}

/* Portfolio desktop : grille uniforme 3 colonnes */
@media (min-width: 1025px) {
  .portfolio-page .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .portfolio-page .gallery-item.size-md,
  .portfolio-page .gallery-item.size-lg,
  .portfolio-page .gallery-item.size-tall,
  .portfolio-page .gallery-item.size-wide {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }
}

/* ========================================
   À PROPOS
   ======================================== */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-intro .photo-placeholder {
  aspect-ratio: 4/5;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h2 em {
  font-style: italic;
  color: var(--vermillon);
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  font-style: italic;
  float: left;
  line-height: 0.85;
  margin-right: 0.5rem;
  color: var(--vermillon);
}

.techniques {
  background: var(--paper-warm);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.tech-item {
  text-align: center;
}

.tech-item .photo-placeholder {
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
}

.tech-item h3 {
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 400;
}

.tech-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   SERVICES
   ======================================== */

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.service-item {
  padding: var(--space-md);
  background: var(--paper-warm);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  position: relative;
}

.service-item:hover {
  background: var(--paper);
  border-color: var(--vermillon);
  transform: translateY(-4px);
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--vermillon);
  font-size: 1.2rem;
}

.service-item h3 {
  margin-bottom: 1rem;
  max-width: 80%;
}

.service-item p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-item ul {
  list-style: none;
  font-size: 0.9rem;
}

.service-item ul li {
  padding: 0.5rem 0;
  color: var(--ink-soft);
  border-top: 1px solid rgba(15, 14, 12, 0.06);
}

.service-item ul li::before {
  content: "—";
  color: var(--vermillon);
  margin-right: 0.7rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

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

.contact-block {
  padding: 2rem 0;
  border-top: 1px solid rgba(15, 14, 12, 0.1);
}

.contact-block h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.contact-block .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

.contact-block .value:hover {
  color: var(--vermillon);
}

.socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.socials a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.socials a:hover {
  color: var(--vermillon);
  border-bottom-color: var(--vermillon);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .pro-grid,
  .form-section,
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  section .reveal[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .form-aside { position: static; }

  .stats-grid,
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2)::after { display: none; }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    border-bottom: 1px solid rgba(15, 14, 12, 0.08);
  }

  .tech-grid,
  .services-list {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.size-md,
  .gallery-item.size-lg,
  .gallery-item.size-tall,
  .gallery-item.size-wide { grid-column: span 6; }

  .section-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Inline 3-col → 2-col sur tablette */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 700px) {
  :root {
    --space-xl: 5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 100%;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-menu a { color: var(--paper) !important; font-size: 1.5rem; font-family: var(--font-display); }

  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--paper) !important; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--paper) !important; }

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

  .stat::after { display: none !important; }

  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 14, 12, 0.08);
  }
  .process-step:last-child { border-bottom: none; }

  .gallery-item.size-md,
  .gallery-item.size-lg,
  .gallery-item.size-tall,
  .gallery-item.size-wide { grid-column: span 12; }

  .form-row.split {
    grid-template-columns: 1fr;
  }

  .styles-pick {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .testimonials::before {
    font-size: 6rem;
    top: 1rem;
    left: 1rem;
  }

  .hero-meta {
    display: none;
  }

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

  /* Inline grids → 1 colonne sur mobile */
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(12, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Réduction du gap pour les études de cas empilées */
  div[style*="grid-template-columns: 1fr 1fr"] {
    gap: 2rem !important;
  }
  /* Enfants de la grille atelier (about.html) → pleine largeur */
  div[style*="grid-template-columns: repeat(12, 1fr)"] > div[style*="grid-column"] {
    grid-column: auto !important;
  }
}

/* ========================================
   BANDE TRUST (clients qui font confiance)
   ======================================== */

.trust-bar {
  background: var(--paper-warm);
  padding: 4rem 0 4.5rem;
  border-top: 1px solid rgba(15, 14, 12, 0.08);
  border-bottom: 1px solid rgba(15, 14, 12, 0.08);
  overflow: hidden;
  position: relative;
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-label::before,
.trust-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--vermillon);
}

.trust-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.trust-track {
  display: flex;
  gap: 4rem;
  animation: trust-scroll 40s linear infinite;
  width: max-content;
}

.trust-track:hover {
  animation-play-state: paused;
}

.trust-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4rem;
  letter-spacing: -0.01em;
}

.trust-item::after {
  content: "·";
  color: var(--vermillon);
  font-size: 1.8rem;
  font-style: normal;
  opacity: 0.7;
}

.trust-item .location {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-left: 0.6rem;
  font-weight: 500;
}

@keyframes trust-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .trust-bar {
    padding: 3rem 0;
  }
  .trust-track {
    gap: 2.5rem;
    animation-duration: 30s;
  }
  .trust-item {
    gap: 2.5rem;
  }
  .trust-label::before,
  .trust-label::after {
    width: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .trust-track-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .hero-audience {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: 0 40px 120px rgba(0,0,0,0.9), 0 0 140px rgba(200,68,44,0.7) !important;
  z-index: 10;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid .gallery-item {
    grid-column: span 1 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 700px) {
  section > div[style*="border-radius: 50%"] {
    width: 200px !important;
    height: 200px !important;
    filter: blur(40px) !important;
  }
}

@media (max-width: 700px) {
  h1, h2, h3, h4 {
    letter-spacing: 0;
  }
}

@media (max-width: 700px) {

  /* Overlay sombre renforcé sur l'image hero */
  .hero-image::after {
    background: linear-gradient(
      180deg,
      rgba(15, 14, 12, 0.55) 0%,
      rgba(15, 14, 12, 0.7) 50%,
      rgba(15, 14, 12, 0.92) 100%
    ) !important;
  }

  /* Ombre portée discrète sur tous les textes du hero */
  .hero h1,
  .hero-sub,
  .hero-eyebrow,
  .hero-audience-item {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  }

  /* Badge audience particuliers/pros : fond plus opaque */
  .hero-audience {
    background: rgba(15, 14, 12, 0.45) !important;
    border-color: rgba(245, 241, 234, 0.3) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* Sous-titre : couleur légèrement renforcée */
  .hero-sub {
    color: var(--paper) !important;
    opacity: 0.95;
  }
}
