/* ============================================================
   28INK — Mobile CSS v5.0 — Refonte complète finale
   Breakpoints: ≤420px | ≤768px | 769-1024px | ≥1400px
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   DRAPEAUX — Inline SVG data URIs
══════════════════════════════════════════════════════════════ */
.lang-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.6);
  vertical-align: middle;
}
.flag-fr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23002395'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23ED2939'/%3E%3C/svg%3E");
}
.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M0 0h60v30H0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}
.flag-it {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23009246'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23CE2B37'/%3E%3C/svg%3E");
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL ANTI-OVERFLOW — empêche tout débordement horizontal
══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-x: hidden !important;
  max-width: 100%;
}
img, video, svg, canvas, iframe {
  max-width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════════════════
   EQUIPMENT SCHEMA — Base desktop (hors media query)
══════════════════════════════════════════════════════════════ */
.equip-schema-section {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  padding: 5rem 0 3rem;
}
.equip-schema-grid {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  align-items: start;
}
.equip-col-left,
.equip-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.equip-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 10px;
  padding: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.equip-item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: #C9A84C;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.equip-item-card:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.28); }
.equip-item-card:hover::before { transform: scaleY(1); }
.equip-item-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 7px;
}
.equip-item-icon svg {
  width: 42px; height: 42px;
  display: block;
  flex-shrink: 0;
}
.equip-item-text { flex: 1; min-width: 0; }
.equip-item-text h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: #C9A84C;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.equip-item-text p {
  font-size: 0.76rem;
  color: #888;
  line-height: 1.55;
  margin-bottom: 0.6rem;
}
.equip-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.equip-item-tags span {
  font-size: 0.6rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  color: #C9A84C;
  letter-spacing: 0.03em;
  font-family: 'Cinzel', serif;
  white-space: nowrap;
}

/* Centre logo animé desktop */
.schema-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1rem;
  gap: 1rem;
  position: sticky;
  top: 80px;
}
.schema-center-logo {
  position: relative;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  animation: schemaPulse 4s ease-in-out infinite;
}
.schema-center-logo img {
  width: 80px; height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(201,168,76,0.4));
  position: relative; z-index: 2;
}
.schema-center-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  animation: ringExpand 3s ease-in-out infinite;
}
.schema-ring-1 { width: 90px; height: 90px; animation-delay: 0s; }
.schema-ring-2 { width: 116px; height: 116px; animation-delay: 0.5s; border-style: dashed; }
.schema-ring-3 { width: 140px; height: 140px; animation-delay: 1s; opacity: 0.35; }
@keyframes ringExpand {
  0%,100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.04); }
}
@keyframes schemaPulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(201,168,76,0.25)); }
  50% { filter: drop-shadow(0 0 20px rgba(201,168,76,0.55)); }
}
.schema-center-label {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: #C9A84C;
  letter-spacing: 0.07em;
  line-height: 1.7;
  text-transform: uppercase;
  opacity: 0.75;
}
.schema-connectors {
  display: flex; flex-direction: column;
  gap: 5px; align-items: center;
}
.connector-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #C9A84C; opacity: 0.35;
  animation: dotPulse 2s ease-in-out infinite;
}
.connector-dot:nth-child(2) { animation-delay: 0.25s; }
.connector-dot:nth-child(3) { animation-delay: 0.5s; }
@keyframes dotPulse {
  0%,100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* Barre certifications desktop */
.equip-certs {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 1.2rem;
  padding: 2rem 3rem 0;
  border-top: 1px solid rgba(201,168,76,0.1);
  max-width: 1200px; margin: 0 auto;
}
.equip-cert-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: #888;
}
.equip-cert-item i { color: #C9A84C; font-size: 0.9rem; }

/* Logo mobile caché par défaut */
.equip-mobile-logo { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   QUIZ — Base styles
══════════════════════════════════════════════════════════════ */
#tattoo-quiz { background: #0a0a0a; padding: 5rem 0; }
.quiz-inner { max-width: 860px; margin: 0 auto; padding: 0 3rem; }
.quiz-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.quiz-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizFadeIn 0.35s ease; }
.quiz-result { display: none; text-align: center; padding: 1.5rem 0; }
.quiz-result.active { display: block; animation: quizFadeIn 0.4s ease; }
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem;
}
.quiz-step-num {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; color: #C9A84C;
  letter-spacing: 0.1em; white-space: nowrap;
}
.quiz-progress {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: #C9A84C;
  transition: width 0.4s ease;
}
.quiz-question {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem; color: #f5f5f5;
  margin-bottom: 1.8rem; line-height: 1.4;
}
.quiz-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.quiz-option {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px; cursor: pointer;
  transition: all 0.25s ease;
  text-align: left; color: #888;
  font-size: 0.82rem; font-family: 'Inter', sans-serif;
}
.quiz-option:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.35); color: #f5f5f5;
}
.quiz-option.selected {
  background: rgba(201,168,76,0.14);
  border-color: #C9A84C; color: #f5f5f5;
}
.quiz-opt-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(201,168,76,0.06);
  border-radius: 7px; display: flex; align-items: center; justify-content: center; padding: 5px;
}
.quiz-opt-icon svg { width: 30px; height: 30px; }
.quiz-result-icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; }
.quiz-result-icon svg { width: 72px; height: 72px; }
#quiz-result-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; color: #C9A84C; margin-bottom: 0.8rem;
}
#quiz-result-desc {
  color: #888; font-size: 0.88rem; line-height: 1.7;
  max-width: 480px; margin: 0 auto 1.8rem;
}
.quiz-result-actions {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.8rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(201,168,76,0.08);
}

/* ══════════════════════════════════════════════════════════════
   VIDEO GALLERY
══════════════════════════════════════════════════════════════ */
.gallery-video-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}
.gallery-video-wrap video {
  width: 100%;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.gallery-video-wrap .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: opacity 0.3s;
}
.gallery-video-wrap .play-overlay .play-btn-circle {
  width: 54px; height: 54px;
  background: rgba(201,168,76,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #000;
  transition: transform 0.25s ease;
}
.gallery-video-wrap:hover .play-btn-circle { transform: scale(1.12); }
.gallery-video-wrap.playing .play-overlay { opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — max-width: 768px
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Base typography ── */
  html { font-size: 14px; }
  body { overflow-x: hidden !important; }

  /* ── Navbar ── */
 #navbar {
  padding: 0.75rem 1rem !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}
  .nav-links { display: none !important; }

  .nav-logo {
    gap: 0.4rem !important;
    flex-shrink: 0;
    text-decoration: none;
  }
  .nav-logo img {
    height: 30px !important;
    width: 30px !important;
  }
  /* Logo image réel crabe — taille mobile */
 .nav-logo-img {
  height: 42px !important;
  width: 42px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 1px solid rgba(201,168,76,0.4) !important;
}
.logo-svg-icon {
  height: 42px !important;
  width: 42px !important;
}
  .nav-logo-text {
  font-size: 0.85rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
}
.nav-logo-text span {
  font-size: 0.5rem !important;
  letter-spacing: 0.25em !important;
}

  /* Nav right — icônes + lang + hamburger alignés */
  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex: 1 !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Icônes sociales VISIBLES sur mobile */
  .nav-social {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex-shrink: 0 !important;
  }
  .nav-social a {
    font-size: 1rem !important;
    color: #888 !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }
  .nav-social a:hover { color: #C9A84C !important; }

  /* Bouton réserver — masqué sur mobile */
  .btn-reserve { display: none !important; }

  /* Lang switcher compact avec drapeaux */
  .lang-switcher {
    display: flex !important;
    gap: 0.18rem !important;
    flex-shrink: 0 !important;
  }
  .lang-btn {
    padding: 0.18rem 0.38rem !important;
    font-size: 0.52rem !important;
    border-radius: 3px !important;
    gap: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  .lang-flag {
    width: 13px !important;
    height: 8px !important;
    flex-shrink: 0 !important;
  }

  /* Hamburger visible */
  /* Hamburger visible — plus grand et plus lisible */
.nav-hamburger {
  display: flex !important;
  padding: 0.5rem !important;
  flex-shrink: 0 !important;
  margin-left: 0.3rem !important;
  gap: 6px !important;
}
.nav-hamburger span {
  width: 26px !important;
  height: 2px !important;
}
  /* ── Sections globales ── */
  section { padding: 2rem 0 !important; }
  .section-header,
  [style*="text-align:center"],
  [style*="text-align: center"] {
    padding: 0 1rem !important;
  }

  .section-title {
  font-size: clamp(1.2rem, 5.5vw, 1.7rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 0.6rem !important;
  padding: 0 0.5rem !important;
  word-wrap: break-word !important;
}
  .section-subtitle {
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
  }
  .section-desc {
    font-size: 0.76rem !important;
    line-height: 1.7 !important;
    padding: 0 1rem !important;
    max-width: 100% !important;
    margin: 0.6rem auto 0 !important;
  }
  .gold-line { margin: 0.8rem auto !important; }

  /* ── Hero ── */
  #hero { min-height: 100svh; min-height: 100vh; }
  .hero-content {
    padding: 0 1.2rem !important;
    padding-top: 75px !important;
    /* Forcer la visibilité même si animation pas encore déclenchée */
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-desc,
  .hero-actions {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .hero-title {
    font-size: clamp(2.2rem, 12vw, 3.5rem) !important;
    line-height: 1.0 !important;
    letter-spacing: 0.04em !important;
  }
 .line-outline {
  color: #C9A84C !important;
  -webkit-text-stroke: 1px #9A7A2E !important;
}
  .hero-desc {
    font-size: 0.78rem !important;
    max-width: 100% !important;
    line-height: 1.55 !important;
    margin: 0.8rem 0 1.3rem !important;
    color: rgba(255,255,255,0.75) !important;
  }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-top: 1.2rem !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    display: flex !important;
    opacity: 1 !important;
  }

  /* Stats hero — en flux dans le contenu, pas absolute */
  .hero-stats {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 1.5rem 0 0 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    background: rgba(10,10,10,0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(201,168,76,0.25) !important;
    padding: 0.65rem 0.3rem !important;
    border-radius: 8px !important;
    /* forcer la visibilité — annule l'animation opacity:0 */
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    flex-direction: row !important;
    text-align: center !important;
  }
  .hero-stat {
    border-right: 1px solid rgba(201,168,76,0.18) !important;
    padding: 0 0.3rem !important;
    text-align: center !important;
    flex-direction: column !important;
  }
  .hero-stat:last-child { border-right: none !important; }
  .hero-stat .number {
    font-size: 1.25rem !important;
    opacity: 1 !important;
    animation: none !important;
    color: #C9A84C !important;
  }
  .hero-stat .label {
    font-size: 0.42rem !important;
    letter-spacing: 0.04em !important;
    color: rgba(255,255,255,0.7) !important;
    opacity: 1 !important;
  }
  .hero-scroll, .hero-eyebrow { display: none !important; }

  /* Hero — layout mobile : contenu en colonne centré verticalement */
  #hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: hidden !important;
    height: 100svh !important;
    height: 100vh !important;
  }
  .hero-content {
    position: relative !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex: 1 !important;
    min-height: 0 !important;
    padding: 80px 1.2rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Masquer les nav-arrows et indicateurs sur mobile */
  .hero-nav-arrows { display: none !important; }
  .hero-indicators {
    bottom: 1rem !important;
    right: 1rem !important;
  }

  /* ── Intro ── */
  #intro {
    grid-template-columns: 1fr !important;
    padding: 1.5rem 1rem !important;
    gap: 1.5rem !important;
  }
  .intro-quote { font-size: 0.95rem !important; }
  .intro-body { font-size: 0.76rem !important; }
  /* Grille visuelle intro : 3 images bien structurées */
  .intro-visual-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 160px 130px !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }
  .intro-visual-img:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    height: 160px !important;
    overflow: hidden !important;
  }
  .intro-visual-img {
    height: 130px !important;
    overflow: hidden !important;
    grid-row: 2 !important;
  }
  .intro-visual-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
  .intro-tags { gap: 0.3rem !important; flex-wrap: wrap !important; }
  .intro-tag { font-size: 0.6rem !important; padding: 0.18rem 0.55rem !important; }
  .intro-badge { font-size: 0.52rem !important; padding: 0.28rem 0.55rem !important; }

  /* ── Styles grid ── */
  .styles-header { padding: 0 1rem !important; }
  #styles { padding: 2.5rem 0 !important; }
  .styles-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    padding: 0.8rem 0.8rem 0 !important;
    max-width: 100% !important;
  }
  /* Cartes styles — hauteur réduite, pas trop grandes */
  .style-card {
  aspect-ratio: 1/1 !important;
  border-radius: 6px !important;
}
  .style-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .style-card-desc { display: none !important; }
  .style-card h3 { font-size: 0.72rem !important; }
  .style-card-tag { font-size: 0.55rem !important; }
  .style-card-overlay { padding: 0.7rem !important; }

  /* ── Featured works ── */
  .featured-header {
  padding: 0 1rem 1rem !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.8rem !important;
  text-align: center !important;
}
#featured-works { padding: 2rem 0.8rem !important; }
.featured-grid { grid-template-columns: repeat(3, 1fr) !important; }
.featured-item.large,
.featured-item { 
  aspect-ratio: 1/1 !important;
  height: auto !important;
}
.featured-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
  .featured-item-info span { font-size: 0.52rem !important; }
  .featured-item-info { font-size: 0.68rem !important; }

  /* ── Process ── */
  #process { padding: 2rem 0 !important; }
  .process-inner { padding: 0 1rem !important; }
  .process-steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.8rem !important;
    margin-top: 1.5rem !important;
  }
  .process-step { padding: 1rem 0.75rem !important; }
  .step-number { font-size: 1.6rem !important; }
  .step-title { font-size: 0.72rem !important; }
  .step-desc { font-size: 0.7rem !important; }

  /* ── Reviews ── */
  #reviews { padding: 2rem 0 !important; }
  .review-card {
    min-width: 230px !important;
    max-width: 230px !important;
    padding: 0.9rem !important;
  }
  .review-text { font-size: 0.72rem !important; }
  .review-author strong { font-size: 0.73rem !important; }
  .review-author span { font-size: 0.6rem !important; }

  /* ── Blog preview ── */
  #blog-preview { padding: 2rem 0 !important; }
  .blog-preview-header {
    padding: 0 1rem 1rem !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    text-align: center !important;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
    gap: 0.8rem !important;
  }
  .blog-card-img { height: 170px !important; overflow: hidden !important; }
  .blog-card-img img { width: 100%; height: 100%; object-fit: cover !important; }
  .blog-card-title { font-size: 0.88rem !important; }
  .blog-card-excerpt { font-size: 0.73rem !important; }

  /* ══════════════════════════
     ÉQUIPEMENTS — Mobile complet
     PROBLÈME PRINCIPAL CORRIGÉ
  ══════════════════════════ */
  #equipment { padding: 2rem 0 !important; }
  .equip-schema-section { padding: 2rem 0 1.5rem !important; }

  /* En-tête section */
  .equip-schema-section > .equipment-inner > div:first-child {
    padding: 0 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .equip-schema-section .section-title {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem) !important;
  }
  .equip-schema-section .section-desc {
    font-size: 0.72rem !important;
    padding: 0 !important;
    line-height: 1.65 !important;
  }

  /* Grille : 1 seule colonne, centre masqué */
  .equip-schema-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    padding: 0 1rem !important;
  }

  /* Centre logo — CACHÉ sur mobile */
  .schema-center-col { display: none !important; }

  /* Logo badge mobile au-dessus des cartes */
  .equip-mobile-logo {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 1.2rem !important;
    padding: 0 !important;
  }
  .equip-mobile-logo img {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.35)) !important;
  }

  /* Colonnes gauche + droite : gap réduit */
  .equip-col-left,
  .equip-col-right {
    gap: 0.65rem !important;
  }

  /* Carte équipement — compacte mobile */
  .equip-item-card {
    padding: 0.8rem !important;
    gap: 0.7rem !important;
    border-radius: 7px !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  /* Icône SVG — TAILLE FIXE CONTRAINTE */
  .equip-item-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 5px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    overflow: hidden !important;
  }
  .equip-item-icon svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  /* Texte équipement */
  .equip-item-text {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .equip-item-text h4 {
    font-size: 0.73rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.3 !important;
  }
  .equip-item-text p {
    font-size: 0.67rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.4rem !important;
    color: #888 !important;
  }
  .equip-item-tags {
    gap: 0.22rem !important;
    flex-wrap: wrap !important;
  }
  .equip-item-tags span {
    font-size: 0.52rem !important;
    padding: 0.08rem 0.32rem !important;
    white-space: nowrap !important;
  }

  /* Certifications bar */
  .equip-certs {
    gap: 0.5rem !important;
    padding: 1rem 1rem 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    margin-top: 1.5rem !important;
  }
  .equip-cert-item {
    font-size: 0.62rem !important;
    gap: 0.3rem !important;
  }
  .equip-cert-item i { font-size: 0.72rem !important; }

  /* ── Quiz ── */
  #tattoo-quiz { padding: 2rem 0 !important; }
  .quiz-inner { padding: 0 1rem !important; }
  .quiz-card { padding: 1.1rem !important; border-radius: 10px !important; }
  .quiz-question {
    font-size: 0.88rem !important;
    margin-bottom: 1rem !important;
  }
  .quiz-options {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .quiz-option {
    padding: 0.72rem 0.8rem !important;
    font-size: 0.75rem !important;
    gap: 0.6rem !important;
  }
  .quiz-opt-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  .quiz-opt-icon svg { width: 24px !important; height: 24px !important; }
  .quiz-nav {
    flex-direction: column-reverse !important;
    gap: 0.45rem !important;
    margin-top: 1.2rem !important;
  }
  .quiz-nav .btn-primary,
  .quiz-nav .btn-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.7rem !important;
  }
  .quiz-result-actions { flex-direction: column !important; align-items: center !important; }
  .quiz-result-actions a,
  .quiz-result-actions button {
    width: 100% !important;
    max-width: 270px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── FAQ preview ── */
  #faq-preview { padding: 2rem 0 !important; }
  .faq-inner { padding: 0 1rem !important; }
  .faq-question span { font-size: 0.8rem !important; }
  .faq-answer p { font-size: 0.74rem !important; }

  /* ── Mini CTA ── */
  #mini-cta { padding: 2rem 0 !important; }
  .mini-cta-inner {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
    gap: 1.2rem !important;
    text-align: center !important;
  }
  .mini-cta-text h2 { font-size: 1.2rem !important; }
  .mini-cta-text p { font-size: 0.76rem !important; }
  .mini-cta-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
  }
  .mini-cta-actions a {
    width: 100% !important;
    max-width: 250px !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.8rem 1rem !important;
  }
  .mini-cta-inner > div:last-child img {
    max-width: 160px !important;
    margin: 0 auto !important;
  }

  /* ── Page header (pages internes) ── */
  .page-header { height: 38vh !important; min-height: 210px !important; }
  .page-header-content h1 {
    font-size: clamp(1.5rem, 7.5vw, 2.3rem) !important;
  }
  .breadcrumb { font-size: 0.63rem !important; }

  /* ── Gallery page ── */
  .gallery-intro-text { padding: 1.8rem 1rem 1rem !important; }
  .gallery-intro-text h2 { font-size: 1.4rem !important; }
  .gallery-intro-text p { font-size: 0.74rem !important; }
  .gallery-filters {
    gap: 0.3rem !important;
    padding: 0 1rem 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .filter-btn { font-size: 0.63rem !important; padding: 0.32rem 0.65rem !important; }
  .gallery-grid {
    columns: 2 !important;
    gap: 0.45rem !important;
    padding: 0 0.7rem !important;
  }
  .gallery-item { margin-bottom: 0.45rem !important; }
  .gallery-item-label {
    font-size: 0.58rem !important;
    padding: 0.28rem 0.45rem !important;
  }

  /* Videos gallery mobile */
  .gallery-video-thumb video {
    max-height: 175px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .play-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
  }

  /* ── Video cards section ── */
  .gallery-videos-section { padding: 0 0.7rem 1.8rem !important; }
  .gallery-videos-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
  }
  .gallery-videos-title {
    font-size: 0.62rem !important;
    margin-bottom: 0.9rem !important;
  }
  .video-card .video-play-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.85rem !important;
  }

  /* ── Contact ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
    gap: 1.3rem !important;
  }
  .contact-map iframe { height: 190px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .contact-info-item { font-size: 0.78rem !important; }

  /* ── Blog page ── */
  .blog-layout {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
  }
  .blog-sidebar { display: none !important; }
  .blog-post-card { margin-bottom: 1.2rem !important; }
  .blog-post-img { height: 175px !important; overflow: hidden !important; }

  /* ── About ── */
  .artist-story {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
    padding: 0 1rem !important;
  }
  .artist-img-wrap { max-height: 280px !important; overflow: hidden !important; }
  .artist-img-wrap img { width: 100%; object-fit: cover !important; }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
    gap: 0.8rem !important;
  }
  .service-card { padding: 1.2rem !important; }
  .service-card h3 { font-size: 0.9rem !important; }
  .service-card p { font-size: 0.73rem !important; }

  /* ── Footer ── */
  footer { padding: 1.8rem 1rem 1rem !important; }
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 1.3rem !important;
    text-align: center !important;
  }
  .footer-social { justify-content: center !important; }
  .footer-brand p { max-width: 100% !important; font-size: 0.73rem !important; }
  .footer-col h4 { font-size: 0.7rem !important; }
  .footer-col ul li a { font-size: 0.73rem !important; }
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.35rem !important;
    font-size: 0.63rem !important;
    padding-top: 0.9rem !important;
    text-align: center !important;
  }

  /* ── Chatbot & floating buttons ── */
  .chatbot-window {
    width: calc(100vw - 1.4rem) !important;
    right: 0.7rem !important;
    bottom: 4.8rem !important;
    max-height: 62vh !important;
  }
  .chatbot-btn {
    right: 0.7rem !important;
    bottom: 0.7rem !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
  }
  .whatsapp-float {
    right: 0.7rem !important;
    bottom: 3.8rem !important;
    width: 44px !important;
    height: 44px !important;
  }
  .whatsapp-float svg { width: 22px !important; height: 22px !important; }
  /* Instagram float — décalé au-dessus de WhatsApp */
  .instagram-float {
    right: 0.7rem !important;
    bottom: 7rem !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
  }

  /* ── Particles ── */
  #particles-canvas { opacity: 0.35 !important; }

  /* ── Mobile menu ── */
  .mobile-menu a { font-size: 0.9rem !important; }
}

/* ══════════════════════════════════════════════════════════════
   ULTRA SMALL — max 420px
══════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  html { font-size: 13px; }

  .hero-title { font-size: clamp(1.9rem, 14vw, 2.6rem) !important; }
  .styles-grid { grid-template-columns: 1fr !important; }
  .featured-grid { grid-template-columns: 1fr !important; }
  .featured-item.large,
  .featured-item { height: 190px !important; }
  .process-steps { grid-template-columns: 1fr !important; }
  .gallery-grid { columns: 1 !important; }
  .gallery-videos-grid { grid-template-columns: 1fr !important; }

  .hero-stats {
    position: relative !important;
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 1rem !important;
  }
  .hero-stat .number { font-size: 1.05rem !important; }
  .hero-stat .label { font-size: 0.4rem !important; }

  .lang-btn {
    padding: 0.15rem 0.3rem !important;
    font-size: 0.48rem !important;
  }
  .lang-flag {
    width: 11px !important;
    height: 7px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   TABLETTE — 769px à 1024px
══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .equip-schema-grid {
    grid-template-columns: 1fr 140px 1fr !important;
    gap: 1.2rem !important;
    padding: 0 2rem !important;
  }
  .schema-center-logo {
    width: 100px !important;
    height: 100px !important;
  }
  .schema-center-logo img {
    width: 64px !important;
    height: 64px !important;
  }
  .schema-ring-3 { display: none; }

  .quiz-options { grid-template-columns: 1fr 1fr !important; }
  .blog-grid { grid-template-columns: 1fr 1fr !important; }
  .blog-grid .blog-card:nth-child(3) { grid-column: 1 / -1 !important; }
  .styles-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .featured-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr !important; }
  .btn-reserve { padding: 0.42rem 0.85rem !important; font-size: 0.63rem !important; }
  .nav-social { gap: 0.6rem !important; }

  .equip-item-icon { width: 48px !important; height: 48px !important; }
  .equip-item-icon svg { width: 36px !important; height: 36px !important; }
  .equip-item-text h4 { font-size: 0.78rem !important; }
  .equip-item-text p { font-size: 0.72rem !important; }
}

/* ══════════════════════════════════════════════════════════════
   LARGE DESKTOP — 1400px+
══════════════════════════════════════════════════════════════ */
@media (min-width: 1400px) {
  .equip-schema-grid {
    max-width: 1380px;
    grid-template-columns: 1fr 210px 1fr;
  }
  .schema-center-logo { width: 150px; height: 150px; }
  .schema-center-logo img { width: 100px; height: 100px; }
}
/*========================!*/
@media (max-width: 768px) {
  #featured-works {
    padding: 2rem 0.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .featured-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }
  .featured-item,
  .featured-item.large {
    grid-column: span 1 !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .featured-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}