/* ============================================
   test-aromatherapie.fr — Dark Neon Aromatherapy
   Archivo Black + Work Sans | Neon on #0a0a0a
   ============================================ */

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

:root {
  --bg: #0a0a0a;
  --bg-card: #111113;
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff2df1;
  --neon-green: #39ff14;
  --neon-lavender: #b57aff;
  --neon-amber: #ffb800;
  --text: #e8e8e8;
  --text-muted: #8a8a8a;
  --radius: 14px;
  --glow-cyan: 0 0 20px rgba(0, 240, 255, .35);
  --glow-magenta: 0 0 20px rgba(255, 45, 241, .35);
  --glow-green: 0 0 20px rgba(57, 255, 20, .35);
  --gradient-hero: linear-gradient(135deg, rgba(0,240,255,.08), rgba(255,45,241,.08));
  --gradient-cyan-magenta: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  --gradient-green-cyan: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  --gradient-magenta-amber: linear-gradient(135deg, var(--neon-magenta), var(--neon-amber));
  --gradient-lavender-cyan: linear-gradient(135deg, var(--neon-lavender), var(--neon-cyan));
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Archivo Black', sans-serif;
  line-height: 1.15;
}

a { color: var(--neon-cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--neon-magenta); }

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

/* --- Floating Pill Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-top: 18px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 17, 19, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 240, 255, .15);
  border-radius: 60px;
  padding: 10px 14px 10px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55), var(--glow-cyan);
  max-width: 94vw;
}

.nav-logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: .95rem;
  background: var(--gradient-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 40px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(0, 240, 255, .1);
  color: var(--neon-cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon-cyan);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-pill {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 12px 18px;
    justify-content: space-between;
  }

  .hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
    gap: 2px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 10px 16px;
    font-size: .9rem;
  }

  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --- Hero Section — Split 2 columns --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,240,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  background: var(--gradient-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Archivo Black', sans-serif;
  font-size: .95rem;
  color: var(--bg);
  background: var(--gradient-cyan-magenta);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan), var(--glow-magenta);
  color: var(--bg);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 0 40px rgba(0, 240, 255, .12);
}

.hero-visual .hero-emoji-fallback {
  font-size: 10rem;
  line-height: 1;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, .3));
}

@media (max-width: 768px) {
  .hero { padding: 100px 6vw 40px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 320px; }
  .hero-visual .hero-emoji-fallback { font-size: 6rem; }
}

/* --- Intro / Présentation --- */
.intro {
  padding: 80px 5vw;
  max-width: 860px;
  margin: 0 auto;
}

.intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 28px;
  background: var(--gradient-green-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.intro p:last-child { margin-bottom: 0; }

/* --- Articles — Horizontal Scroll Snap --- */
.articles-section {
  padding: 60px 0 80px;
  position: relative;
}

.articles-section > h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 40px;
  padding: 0 5vw;
  background: var(--gradient-lavender-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.articles-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 5vw 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) var(--bg-card);
}

.articles-track::-webkit-scrollbar { height: 6px; }
.articles-track::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 3px; }
.articles-track::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 3px; }

.article-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .05);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5), var(--glow-cyan);
}

.article-card:nth-child(1) { border-top: 3px solid; border-image: var(--gradient-cyan-magenta) 1; }
.article-card:nth-child(2) { border-top: 3px solid; border-image: var(--gradient-green-cyan) 1; }
.article-card:nth-child(3) { border-top: 3px solid; border-image: var(--gradient-magenta-amber) 1; }

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, .03) 100%);
}

.article-card-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2.6rem;
  background: var(--gradient-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.article-card:nth-child(2) .article-card-number {
  background: var(--gradient-green-cyan);
  -webkit-background-clip: text;
  background-clip: text;
}

.article-card:nth-child(3) .article-card-number {
  background: var(--gradient-magenta-amber);
  -webkit-background-clip: text;
  background-clip: text;
}

.article-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.article-card-body h3 a {
  color: inherit;
  transition: color .2s;
}

.article-card-body h3 a:hover { color: var(--neon-cyan); }

.article-card-body p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
  flex: 1;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--neon-cyan);
  transition: gap .2s;
}

.article-card-link:hover { gap: 10px; color: var(--neon-magenta); }

/* Scroll indicators */
.scroll-hint {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: .4;
  transition: opacity .2s, background .2s;
}

.scroll-dot.active {
  opacity: 1;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

@media (max-width: 768px) {
  .article-card { flex: 0 0 85vw; }
}

/* --- Footer — Strip band --- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: .85rem;
  background: var(--gradient-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .82rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--neon-cyan); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 8px;
  opacity: .6;
}

@media (max-width: 768px) {
  .site-footer { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* --- Article Content Pages (for future articles) --- */
.article-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 5vw 60px;
}

.article-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 24px;
  background: var(--gradient-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-page h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--neon-cyan);
}

.article-page h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--neon-lavender);
}

.article-page p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-page ul, .article-page ol {
  color: var(--text-muted);
  margin: 0 0 20px 24px;
  line-height: 1.8;
}

.article-page li { margin-bottom: 6px; }

.article-page img {
  width: 100%;
  border-radius: var(--radius);
  margin: 28px 0;
  object-fit: cover;
}

.article-page blockquote {
  border-left: 3px solid var(--neon-magenta);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(255, 45, 241, .05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}

.article-page a { border-bottom: 1px solid rgba(0, 240, 255, .3); }
.article-page a:hover { border-bottom-color: var(--neon-magenta); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--neon-cyan); border: none; }
.breadcrumb a:hover { color: var(--neon-magenta); }
.breadcrumb .separator { opacity: .4; }

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
