/* ===================================================
   VALENTINE PARIS - CSS GLOBAL v5.1
   Mode / Lifestyle féminin
   =================================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fafafa;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === ANTI-OVERFLOW GLOBAL === */
img, video, iframe, embed, object, svg, canvas {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

.table-responsive,
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: #c026d3;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a21caf;
}

a:focus-visible {
  outline: 2px solid #c026d3;
  outline-offset: 3px;
  border-radius: 3px;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === UTILITAIRES === */
.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;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c026d3;
  margin-bottom: 10px;
}

.section-label--light {
  color: #e8a0f0;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  color: #1a1a1a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  color: #6b6b6b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle--light {
  color: #d4b0db;
}

/* === ARTICLE TAG === */
.article-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.2s;
}

.article-tag:hover {
  filter: brightness(0.9);
}

/* === ARTICLE META === */
.article-meta-date,
.article-meta-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #8a8a8a;
}

/* === FOCUS VISIBLE GLOBAL === */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c026d3;
  outline-offset: 2px;
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(22px, 3.5vw, 32px);
  }

  .section-subtitle {
    font-size: 15px;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 10px;
  }

  .section-subtitle {
    font-size: 14px;
    max-width: 100%;
  }

  .article-meta-date,
  .article-meta-read {
    font-size: 12px;
  }

  .article-tag {
    font-size: 10px;
    padding: 2px 8px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
    line-height: 1.55;
  }

  .container {
    padding: 0 12px;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-label {
    font-size: 9px;
    letter-spacing: 0.10em;
    margin-bottom: 7px;
  }

  .section-title {
    font-size: clamp(18px, 6vw, 24px);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .section-subtitle {
    font-size: 13px;
    line-height: 1.6;
  }

  .article-meta-date,
  .article-meta-read {
    font-size: 11px;
    gap: 4px;
  }

  .article-tag {
    font-size: 9px;
    padding: 2px 7px;
  }
}