/* FAB Tatouages - Tattoo Studio - style.css?v=1 */
:root {
  --primary: #c41e3a;
  --primary-dark: #8b1528;
  --accent: #e63946;
  --dark: #0a0a0a;
  --darker: #050505;
  --card-bg: #111111;
  --card-border: #1a1a1a;
  --text: #e0e0e0;
  --text-muted: #888888;
  --text-light: #cccccc;
  --white: #ffffff;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Oswald', 'Impact', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 1rem; }

p { margin-bottom: 1rem; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; max-width: var(--max-width); margin: 0 auto; width: 90%;
}

.logo-link { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-link img { height: 45px; width: auto; }
.logo-link span {
  font-family: var(--font-heading);
  font-size: 1.4rem; color: var(--white);
  text-transform: uppercase; letter-spacing: 3px;
}

.main-nav ul {
  display: flex; list-style: none; gap: 1.5rem; align-items: center;
}

.main-nav a {
  color: var(--text-light); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 500; padding: 0.5rem 0;
  position: relative; transition: color var(--transition);
}

.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary) !important; color: var(--white) !important;
  padding: 0.6rem 1.2rem !important; border-radius: 4px;
}
.nav-cta:hover { background: var(--accent) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 28px; height: 2px;
  background: var(--white); margin: 6px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 350px; height: 100vh;
    background: var(--darker); padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    border-left: 1px solid var(--card-border);
  }
  .main-nav.active { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--card-border); }
  .main-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-cta { text-align: center; margin-top: 1rem; display: block !important; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  .nav-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7); z-index: 998; display: none;
  }
  .nav-overlay.active { display: block; }
}

/* Hero Video */
.hero-video {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-video video,
.hero-video .hero-fallback {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.hero-video::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 0 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content h1 span { color: var(--primary); }

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-light); margin-bottom: 2rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.9rem 2rem;
  font-family: var(--font-heading); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 2px;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; text-align: center;
}

.btn-primary {
  background: var(--primary); color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--darker); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.section-header .line {
  width: 60px; height: 3px; background: var(--primary);
  margin: 1rem auto;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(196, 30, 58, 0.1); }

.card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-img-wrapper { overflow: hidden; }

.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center; padding: 3rem 0;
}
.stat-item h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.stat-item p { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

/* Image section */
.img-text-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.img-text-section.reverse { direction: rtl; }
.img-text-section.reverse > * { direction: ltr; }
.img-text-img { border-radius: 8px; overflow: hidden; }
.img-text-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; }

@media (max-width: 768px) {
  .img-text-section, .img-text-section.reverse { grid-template-columns: 1fr; direction: ltr; }
  .img-text-img img { height: 280px; }
}

/* Page hero */
.page-hero {
  position: relative; padding: 10rem 0 5rem;
  background-size: cover; background-position: center;
  text-align: center;
}
.page-hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; }

.breadcrumb { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; transition: transform var(--transition); }
.blog-card:hover { transform: translateY(-5px); }
.blog-card-img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.blog-card-body h3 a { color: var(--white); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.read-more { color: var(--primary); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* Blog article */
.article-content { max-width: 800px; margin: 0 auto; }
.article-content h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.article-content h3 { margin: 2rem 0 0.8rem; font-size: 1.3rem; }
.article-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-light); }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content img { border-radius: 8px; margin: 2rem 0; width: 100%; }
.article-content blockquote {
  border-left: 4px solid var(--primary); padding: 1rem 1.5rem;
  margin: 1.5rem 0; background: var(--card-bg); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text-muted);
}

.article-meta { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.article-tags { margin-top: 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.article-tag {
  background: var(--card-bg); border: 1px solid var(--card-border);
  padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; color: var(--text-muted);
}

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; margin-bottom: 0.5rem; font-weight: 600;
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--text-light);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.9rem 1rem; background: var(--card-bg);
  border: 1px solid var(--card-border); border-radius: 4px;
  color: var(--white); font-size: 1rem; font-family: var(--font-main);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 150px; resize: vertical; }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem; padding: 1rem;
  background: var(--card-bg); border-radius: 8px; border: 1px solid var(--card-border);
}
.contact-info-icon {
  width: 40px; height: 40px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--darker);
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-family: var(--font-heading); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 1.5rem; color: var(--white);
}
.footer-col p { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 3rem; padding: 1.5rem 0;
  border-top: 1px solid var(--card-border);
  text-align: center; font-size: 0.85rem; color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center; padding: 4rem 0;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 2rem; }

/* Process steps */
.process-steps { counter-reset: step; }
.process-step {
  display: flex; gap: 2rem; align-items: flex-start;
  margin-bottom: 2.5rem; padding: 1.5rem;
  background: var(--card-bg); border-radius: 8px;
  border: 1px solid var(--card-border);
}
.process-step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-heading); font-size: 2rem;
  color: var(--primary); font-weight: 700;
  min-width: 50px; text-align: center;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Plan du site */
.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 0.8rem; }
.sitemap-list li a { color: var(--text-light); font-size: 1.05rem; }
.sitemap-list li a:hover { color: var(--primary); }
.sitemap-list ul { margin-left: 1.5rem; margin-top: 0.5rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Print */
@media print {
  .site-header, .site-footer, .hero-video { display: none; }
  body { background: white; color: black; }
}
