/* ==========================================================================
   L'ART DE DÉCORER - STYLES ULTRA-MODERNES & ÉDITORIAUX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette de couleurs de la marque */
  --bg-cream: #FAF7F2;
  --bg-card: #FFFFFF;
  --purple-electric: #7B2CBF;
  --purple-light: #9D4EDD;
  --pink-fuchsia: #E01E5A;
  --orange-coral: #FF6B35;
  --yellow-bright: #FFD166;
  --mint-green: #06D6A0;
  --text-dark: #111111;
  --text-muted: #555555;
  --border-light: rgba(17, 17, 17, 0.08);
  --border-bold: 2px solid #111111;
  
  /* Dégradés signature */
  --grad-vibrant: linear-gradient(135deg, #7B2CBF 0%, #E01E5A 50%, #FF6B35 100%);
  --grad-soft-pink: linear-gradient(135deg, rgba(224, 30, 90, 0.12) 0%, rgba(255, 107, 53, 0.12) 100%);
  --grad-sunset: linear-gradient(45deg, #FF6B35, #FFD166);
  --grad-mint-purple: linear-gradient(135deg, #06D6A0, #7B2CBF);

  /* Glassmorphism & Ombres */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.6);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-pop: 6px 6px 0px #111111;
  --shadow-glow: 0 15px 35px rgba(123, 44, 191, 0.2);

  /* Typographie & Rayons */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Typographie */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

/* Mot surligné & Effet Gradient */
.text-gradient {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-underline-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.text-underline-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 38%;
  background-color: var(--yellow-bright);
  z-index: -1;
  transform: rotate(-1deg);
  border-radius: 4px;
}

/* Structural Layout */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Scroll reveal system */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-light);
  padding: 18px 0;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-vibrant);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
  transform: rotate(-3deg);
  transition: var(--transition);
}

.logo-brand:hover .logo-icon {
  transform: rotate(0deg) scale(1.08);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pink-fuchsia);
  letter-spacing: 0.05em;
  display: block;
  margin-top: -3px;
}

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

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-vibrant);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Boutons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--text-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: var(--purple-electric);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-vibrant {
  background: var(--grad-vibrant);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(224, 30, 90, 0.3);
}

.btn-vibrant:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(224, 30, 90, 0.4);
}

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

.btn-outline:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

.badge-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

/* Hero Section */
.hero-editorial {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(224,30,90,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-editorial::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,44,191,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.3rem);
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Card Feature Hero */
.hero-card-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: var(--border-light);
  background: #FFFFFF;
  transition: var(--transition);
}

.hero-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.hero-card-img-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.hero-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-featured:hover .hero-card-img-wrapper img {
  transform: scale(1.06);
}

.hero-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.hero-card-content {
  padding: 28px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

/* Section Title Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 16px;
}

.section-title {
  position: relative;
  font-size: 2.2rem;
}

/* Cards Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(123, 44, 191, 0.12);
  border-color: rgba(123, 44, 191, 0.3);
}

.card-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-img-box img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  transition: var(--transition);
  line-height: 1.35;
}

.article-card:hover .card-title {
  color: var(--purple-electric);
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Banner Interactif / Banner CTA */
.vibrant-banner {
  background: var(--grad-vibrant);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin: 60px 0;
}

.vibrant-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.banner-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.banner-title {
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.banner-text {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.95;
}

/* Interactive Simulator Container */
.simulator-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--text-dark);
  box-shadow: var(--shadow-pop);
  margin: 40px 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-cream);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--purple-electric);
  box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.15);
  background: #FFFFFF;
}

.range-slider {
  width: 100%;
  accent-color: var(--purple-electric);
  height: 8px;
  cursor: pointer;
}

/* Result Box Glassmorphism */
.result-box {
  background: var(--grad-soft-pink);
  border: 2px dashed var(--pink-fuchsia);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.price-display {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--pink-fuchsia);
}

/* Palette Color Swatches */
.palette-swatches {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.swatch {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.swatch:hover {
  transform: scale(1.15) rotate(3deg);
}

/* Article Page Details */
.article-header {
  padding: 40px 0 30px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 500px;
  width: 100%;
  margin: 30px 0 40px;
  box-shadow: var(--shadow-soft);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #222222;
}

.article-content-body p {
  margin-bottom: 24px;
}

.article-content-body h2 {
  margin: 40px 0 20px;
  color: var(--purple-electric);
}

.pro-tip-box {
  background: #FFF;
  border-left: 6px solid var(--mint-green);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 30px 0;
  box-shadow: var(--shadow-soft);
}

.pro-tip-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--mint-green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: #FFFFFF;
  padding: 70px 0 30px;
  margin-top: 100px;
  position: relative;
  border-top: 6px solid var(--pink-fuchsia);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer-desc {
  color: #AAAAAA;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--yellow-bright);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #CCCCCC;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--orange-coral);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888888;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--text-dark);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}