@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ========================================
   LYRA DESIGN SYSTEM
======================================== */

:root {
  /* Colors */
  --background:           #050505;
  --background-secondary: #0A0A0A;
  --surface:              #0A0A0A;
  --surface-hover:        #111111;

  --text-primary:   #F5F2ED;
  --text-secondary: #B8B2AA;
  --text-muted:     #7A746D;

  --accent:       #B83018;
  --accent-hover: #C03818;
  --accent-dark:  #781808;
  --accent-deep:  #780800;
  --accent-soft:  rgba(184, 48, 24, 0.15);

  --border:       rgba(245, 242, 237, 0.08);
  --border-hover: rgba(245, 242, 237, 0.16);

  --jellyfish-glow:      #B83018;
  --jellyfish-glow-soft: rgba(184, 48, 24, 0.25);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --nav-h: 76px;
  --max-w: 1280px;
  --side:  60px;
}

/* ── Scrollbar ── */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #0A0A0A;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ========================================
   NAV
======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
  max-width: none;
  padding: 0 40px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* Links */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* CTA nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-cta svg { transition: transform .25s; }
.nav-cta:hover svg { transform: translateX(3px); }

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--text-primary); transition: .3s; }

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* ── Left column ── */
.hero-content {
  padding: 0 var(--side);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 6.5vw, 86px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}
.hero-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 44px;
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn-secondary:hover { border-color: var(--border-hover); background: var(--surface); }

/* ── Right column — visual ── */
.hero-visual {
  position: relative;
  height: calc(100vh - var(--nav-h));
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

/* Glow radial ambiance — calque qui pulse via opacity (peu coûteux) */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 55% 45%,
    rgba(184,48,24,.38) 0%,
    rgba(184,48,24,.12) 38%,
    transparent 68%
  );
  pointer-events: none;
  animation: jelly-glow 6s ease-in-out infinite;
  will-change: opacity;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Halo fixe (non animé) pour rester fluide au scroll */
  filter: drop-shadow(0 0 50px rgba(184,48,24,.45))
          drop-shadow(0 0 20px rgba(184,48,24,.30));
  animation: jelly-float 11s cubic-bezier(.45,0,.55,1) infinite;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes jelly-float {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -14px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes jelly-glow {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* ========================================
   STATS
======================================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  width: 100%;
}

.stat-item {
  padding: 48px 56px;
  text-align: center;
}

.stat-item:first-child { padding-left: 40px; }
.stat-item:last-child  { padding-right: 40px; }

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.08;
  display: block;
  margin-bottom: 18px;
}

.stat-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   PORTFOLIO
======================================== */
.portfolio {
  padding: 80px 0 60px;
  background: var(--background);
}

/* Header 2 colonnes */
.portfolio-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 0 40px;
  margin-bottom: 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.05;
}

.portfolio-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* Grille 3 cartes */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 40px;
  margin-bottom: 40px;
}

/* Carte */
.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}

.portfolio-card:hover img { transform: scale(1.04); }

/* Dégradé overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(5,5,5,.55) 55%,
    rgba(5,5,5,.92) 100%
  );
}

/* Contenu texte en bas */
.card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.card-brand {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: .02em;
}

.card-category {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.card-service {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 6px;
}

.card-tags {
  list-style: none;
}
.card-tags li {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}
.card-tags li::before { content: '• '; }

/* Bouton flèche */
.card-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245,242,237,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  align-self: flex-end;
  transition: background .25s, border-color .25s;
}
.card-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* CTA bas */
.portfolio-cta {
  text-align: center;
  padding-top: 8px;
}
.portfolio-cta-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: gap .3s;
}
.portfolio-cta-link:hover { gap: 20px; }

/* ========================================
   MODAL
======================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
}

/* Backdrop */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Panel */
.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  transform: translateY(20px) scale(.98);
  transition: transform .35s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.modal-panel::-webkit-scrollbar { width: 4px; }
.modal-panel::-webkit-scrollbar-track { background: transparent; }
.modal-panel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}
.modal-panel::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}
.modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Bouton fermer */
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, color .25s;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }

/* Body 2 colonnes */
.modal-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Galerie */
.modal-main-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.modal-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s;
}

/* Grille miniatures */
.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.modal-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .25s, opacity .25s;
  opacity: .65;
}
.modal-thumb:hover { opacity: 1; }
.modal-thumb.active { border-color: var(--accent); opacity: 1; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Infos */
.modal-info { padding-top: 8px; }
.modal-category {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.02;
  margin-bottom: 24px;
}
.modal-desc {
  margin-bottom: 32px;
}
.modal-section {
  margin-bottom: 20px;
}
.modal-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.modal-section-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
}
.modal-meta { display: flex; flex-direction: column; gap: 20px; }
.modal-meta-group {}
.modal-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.modal-meta-tags { display: flex; flex-direction: column; gap: 6px; }
.modal-meta-tag {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
}
.modal-meta-tag::before { content: '• '; color: var(--accent); }

/* ========================================
   À PROPOS
======================================== */
.about {
  padding: 64px 40px;
  background: var(--background);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-label {
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: 43% 57%;
  gap: 64px;
  align-items: center;
}

/* Photo */
.about-photo {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}
.about-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: grayscale(100%);
  transition: filter .4s;
}
.about-photo:hover img { filter: grayscale(60%); }

/* Texte */
.about-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.02;
  margin-bottom: 36px;
}
.about-title em {
  color: var(--accent);
  font-style: italic;
}

.about-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 22px;
}
.about-body p:last-child { margin-bottom: 0; }

/* ========================================
   MÉTHODE
======================================== */
.methode {
  border-top: 1px solid var(--border);
  padding: 64px 40px;
  background: var(--background);
}

.methode-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.85fr 1.5fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Titre */
.methode-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 14px;
}
.methode-title em {
  color: var(--accent);
  font-style: italic;
}

/* Description */
.methode-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
}

/* Méduse */
.methode-col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.methode-jellyfish {
  width: 90%;
  max-width: 200px;
  display: block;
  filter: drop-shadow(0 0 40px rgba(184,48,24,.45));
  animation: jelly-float 11s cubic-bezier(.45,0,.55,1) infinite;
}

/* Checklist */
.methode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.methode-list li {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 14px;
}
.methode-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 8L6.5 12L13.5 4' stroke='%23B83018' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ========================================
   CTA BAND
======================================== */
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 40px;
  background: var(--background);
}

.cta-band-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Titre */
.cta-band-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}
.cta-band-title em {
  color: var(--accent);
  font-style: italic;
}

/* Méduse */
.cta-band-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-band-visual img {
  width: 100%;
  max-width: 130px;
  display: block;
  filter: drop-shadow(0 0 40px rgba(184,48,24,.45));
  animation: jelly-float 11s cubic-bezier(.45,0,.55,1) infinite;
}

/* Description */
.cta-band-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
}

/* Bouton */
.cta-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
  transition: background .25s;
}
.cta-band-btn:hover { background: var(--accent-hover); }
.cta-band-btn svg { flex-shrink: 0; transition: transform .25s; }
.cta-band-btn:hover svg { transform: translateX(3px); }

/* ========================================
   FOOTER
======================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 40px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: center;
}

.footer-col {
  padding: 0 40px;
}
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child  { padding-right: 0; border-right: none; }
.footer-col:not(:last-child) {
  border-right: 1px solid var(--border);
}

/* Logo */
.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Nav */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--text-primary); }

/* Email */
.footer-email {
  font-size: 14px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 16px;
  transition: color .25s;
}
.footer-email:hover { color: var(--text-primary); }

/* Icônes sociales */
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color .25s, color .25s;
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Dot déco */
.footer-col--deco {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-dot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
}

.footer-dot {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 6px 2px rgba(184,48,24,.5);
}

.dot-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,48,24,.5);
  width: 8px;
  height: 8px;
  animation: ring-expand 3.2s ease-out infinite;
}
.dot-ring:nth-child(2) { animation-delay: 0s; }
.dot-ring:nth-child(3) { animation-delay: .8s; }
.dot-ring:nth-child(4) { animation-delay: 1.6s; }
.dot-ring:nth-child(5) { animation-delay: 2.4s; }

@keyframes ring-expand {
  0%   { width: 8px;   height: 8px;   opacity: .55; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

/* ── Fade-in animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .32s; }
[data-delay="4"] { transition-delay: .44s; }
[data-delay="5"] { transition-delay: .56s; }

/* ========================================
   MENU MOBILE (overlay)
======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 5, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: var(--nav-h) 32px 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu-links a {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  transition: color .25s;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:active { color: var(--accent); }
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 3px;
}
.mobile-menu-socials {
  display: flex;
  gap: 28px;
}
.mobile-menu-socials a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color .25s;
}
.mobile-menu-socials a:hover { color: var(--accent); }

/* Burger animé en croix quand ouvert */
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========================================
   RESPONSIVE — 1100px (tablette paysage)
======================================== */
@media (max-width: 1100px) {
  .methode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
  .methode-col--visual { display: none; }
  .cta-band-grid {
    grid-template-columns: 1fr auto;
    gap: 32px 40px;
    align-items: center;
  }
  .cta-band-visual { display: none; }
  .cta-band-title { grid-column: 1 / -1; }
}

/* ========================================
   RESPONSIVE — 1024px
======================================== */
@media (max-width: 1024px) {
  :root { --side: 40px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav .container { padding: 0 var(--side); gap: 20px; }

  /* Hero en colonne */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: 0 var(--side) 40px;
    margin-top: -10vw;
    order: 2;
  }
  .hero-visual {
    order: 1;
    min-height: 62vw;
    height: 62vw;
    margin-top: var(--nav-h);
  }

  /* Stats : 2 colonnes */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item {
    padding: 36px 28px;
    border-left: none !important;
  }
  .stat-item:nth-child(odd)  { padding-left: var(--side); }
  .stat-item:nth-child(even) { padding-right: var(--side); border-left: 1px solid var(--border) !important; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }

  /* Portfolio header */
  .portfolio-header { grid-template-columns: 1fr; padding: 0 var(--side); }
  .portfolio-grid { padding: 0 var(--side); }

  /* About */
  .about-grid { gap: 40px; }

  /* Footer 2x2 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .footer-col { padding: 0 32px; }
  .footer-col:nth-child(odd)  { padding-left: 0; }
  .footer-col:nth-child(even) { padding-right: 0; border-right: none; }
  .footer-col:nth-child(1) { border-right: 1px solid var(--border); }
  .footer-col--deco { justify-content: flex-start; }
}

/* ========================================
   RESPONSIVE — 900px (tablette portrait)
======================================== */
@media (max-width: 900px) {
  /* Portfolio : 2 colonnes */
  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  /* Méthode : 1 colonne */
  .methode-grid { grid-template-columns: 1fr; gap: 32px; }

  /* CTA : empilé */
  .cta-band-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .cta-band-btn { width: 100%; }

  /* Modal en colonne */
  .modal-body { grid-template-columns: 1fr; gap: 28px; }
  .modal-panel { padding: 36px; }
  .modal-thumbs { grid-template-columns: repeat(5, 1fr); }
}

/* ========================================
   RESPONSIVE — 768px (grand téléphone)
======================================== */
@media (max-width: 768px) {
  :root { --side: 24px; }

  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-visual { min-height: 78vw; height: 78vw; }
  .hero-actions { gap: 12px; }

  /* About en colonne */
  .about { padding: 56px var(--side); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 320px; }

  /* Méthode / CTA / Footer paddings */
  .methode { padding: 56px var(--side); }
  .cta-band { padding: 40px var(--side); }
  .footer { padding: 40px var(--side); }
}

/* ========================================
   RESPONSIVE — 560px (téléphone)
======================================== */
@media (max-width: 560px) {
  /* Stats : 1 colonne */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item,
  .stat-item:nth-child(odd),
  .stat-item:nth-child(even) {
    padding: 28px var(--side);
    border-left: none !important;
  }
  .stat-item + .stat-item { border-top: 1px solid var(--border); }

  /* Portfolio : 1 colonne */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { aspect-ratio: 4/5; }

  /* Boutons hero pleine largeur */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  /* Footer : 1 colonne */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col,
  .footer-col:nth-child(1) { padding: 0; border-right: none !important; }
  .footer-col:not(:first-child) { border-top: 1px solid var(--border); padding-top: 28px; }
  .footer-col--deco { display: none; }

  /* Modal */
  .modal { padding: 12px; }
  .modal-panel { padding: 24px 20px; max-height: 92vh; }
  .modal-thumbs { grid-template-columns: repeat(4, 1fr); }

  /* Menu mobile */
  .mobile-menu-links a { font-size: 28px; }
}

/* ========================================
   RESPONSIVE — 400px (petit téléphone)
======================================== */
@media (max-width: 400px) {
  :root { --side: 18px; }
  .nav-logo { font-size: 20px; }
  .hero-title { font-size: clamp(34px, 11vw, 48px); }
  .hero-tagline { font-size: 12px; }
  .portfolio-card { aspect-ratio: 3/4; }
  .card-content { padding: 20px; }
  .card-brand { font-size: 22px; }
  .mobile-menu-links a { font-size: 24px; }
  .mobile-menu-links { gap: 22px; }
}

/* ── Réduit les animations si demandé ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
