/* ========================================
   HYPE OUTFIT — Blog Mode Urbaine & Style
   Mobile-first, responsive, modern
   ======================================== */

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

:root {
  --accent: #7c3aed;
  --accent-hover: #5b21b6;
  --dark: #111111;
  --text: #1a1a1a;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8f8fa;
  --card-bg: #ffffff;
  --shadow: rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s ease;
  --wrap: 1200px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title p {
  color: var(--text-light);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 560px;
  margin: 0 auto;
}
.section-title .bar {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

section { padding: clamp(48px, 8vw, 80px) 0; }
section.alt { background: var(--bg-alt); }

.entete {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--dark);
  transition: box-shadow var(--transition);
}
.entete.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.entete .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px, 8vw, 72px);
}
.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav ul { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav a:hover, .nav a.active { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.burger i {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.burger.active i:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active i:nth-child(2) { opacity: 0; }
.burger.active i:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 999;
  opacity: 0; transition: opacity var(--transition);
}
.overlay.active { display: block; opacity: 1; }

.hero {
  position: relative;
  min-height: clamp(400px, 60vw, 600px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin-top: clamp(56px, 8vw, 72px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.50) 20%,
    rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.50) 60%,
    rgba(0,0,0,0.60) 80%, rgba(0,0,0,0.70) 100%);
}
.hero-content {
  position: relative; z-index: 1; color: #fff;
  padding: clamp(24px, 5vw, 48px); max-width: 720px;
}
.hero-content .tag-inline {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.9; margin-bottom: 28px; line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 32px);
  font-size: 0.9rem; font-weight: 600; border-radius: 50px;
  transition: all var(--transition); white-space: nowrap; text-align: center;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; transform: translateY(-2px); }

.grid { display: grid; gap: clamp(20px, 3vw, 28px); }
.cols-1 { grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px var(--shadow-md); }
.card .thumb {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
}
.card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .thumb img { transform: scale(1.06); }
.card .thumb .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 4px 12px; border-radius: 50px;
}
.card .body { padding: clamp(16px, 3vw, 24px); }
.card .meta {
  display: flex; gap: 12px;
  font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700; margin-bottom: 8px; line-height: 1.35;
}
.card h3 a:hover { color: var(--accent); }
.card .excerpt {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.6;
  margin-bottom: 16px; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .read-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.card .read-more:hover { color: var(--accent-hover); }

.card.featured { grid-column: 1 / -1; }
.card.featured .thumb { aspect-ratio: 21/9; }
.card.featured h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 20px); }
.cat-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1; display: block;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.08); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(12px, 2vw, 20px); color: #fff;
}
.cat-overlay h3 { font-family: var(--font-heading); font-size: clamp(0.95rem, 2vw, 1.1rem); font-weight: 700; }
.cat-overlay span { font-size: 0.8rem; opacity: 0.8; }

.newsletter { background: var(--dark); color: #fff; text-align: center; }
.newsletter h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 8px; }
.newsletter p { opacity: 0.8; margin-bottom: 28px; font-size: clamp(0.95rem, 2vw, 1.05rem); }
.nl-form { display: flex; max-width: 480px; margin: 0 auto; gap: 12px; }
.nl-form input {
  flex: 1; padding: 14px 20px; border: none; border-radius: 50px;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 0.9rem;
  outline: none; transition: background var(--transition);
}
.nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.nl-form input:focus { background: rgba(255,255,255,0.18); }
.nl-form button {
  padding: 14px 28px; background: var(--accent); color: #fff;
  border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  white-space: nowrap; transition: background var(--transition);
}
.nl-form button:hover { background: var(--accent-hover); }

.breadcrumb {
  padding: clamp(12px, 2vw, 16px) 0;
  margin-top: clamp(56px, 8vw, 72px);
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb li::after { content: '/'; margin-left: 8px; opacity: 0.4; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a:hover { color: var(--accent); }

.art-page { padding-bottom: clamp(48px, 8vw, 80px); }
.art-header {
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 32px);
  max-width: 780px; margin: 0 auto;
}
.art-header .tag-inline {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 14px;
  border-radius: 50px; margin-bottom: 16px;
}
.art-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.art-header .meta {
  display: flex; justify-content: center; gap: 16px;
  font-size: 0.85rem; color: var(--text-light);
}
.art-hero {
  max-width: 900px; margin: 0 auto clamp(32px, 5vw, 48px);
  border-radius: var(--radius); overflow: hidden;
}
.art-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.art-body { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.art-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700; margin: clamp(32px, 5vw, 48px) 0 16px;
}
.art-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700; margin: 24px 0 12px;
}
.art-body p { margin-bottom: 16px; font-size: clamp(0.95rem, 2vw, 1.02rem); line-height: 1.8; }
.art-body ul, .art-body ol { margin: 0 0 16px 24px; }
.art-body ul { list-style: disc; }
.art-body ol { list-style: decimal; }
.art-body li { margin-bottom: 8px; font-size: clamp(0.95rem, 2vw, 1.02rem); line-height: 1.7; }
.art-body figure { margin: clamp(24px, 4vw, 40px) 0; border-radius: var(--radius); overflow: hidden; }
.art-body figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.art-body figcaption {
  text-align: center; font-size: 0.85rem; color: var(--text-light);
  padding: 12px 16px; background: var(--bg-alt);
}
.art-body blockquote {
  border-left: 4px solid var(--accent); padding: 16px 24px; margin: 24px 0;
  background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--text);
}

.toc {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); margin-bottom: clamp(24px, 4vw, 40px);
}
.toc h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; list-style: decimal; }
.toc li { margin-bottom: 6px; font-size: 0.9rem; }
.toc a { color: var(--accent); }
.toc a:hover { text-decoration: underline; }

.tip {
  background: rgba(124,58,237,0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: clamp(16px, 3vw, 24px); margin: 24px 0;
}
.tip strong { display: block; margin-bottom: 6px; color: var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 4vw, 40px) 0; }
.tags a {
  padding: 6px 16px; background: var(--bg-alt); border-radius: 50px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-light);
  transition: all var(--transition);
}
.tags a:hover { background: var(--accent); color: #fff; }

.related {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.related h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700; margin-bottom: clamp(20px, 3vw, 32px);
}

.legal {
  margin-top: clamp(56px, 8vw, 72px);
  padding: clamp(40px, 6vw, 64px) 0;
}
.legal .wrap { max-width: 800px; }
.legal h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800; margin-bottom: 8px;
}
.legal .subtitle { color: var(--text-light); font-size: clamp(0.95rem, 2vw, 1.05rem); margin-bottom: clamp(32px, 5vw, 48px); }
.legal h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700; margin: clamp(28px, 4vw, 40px) 0 12px; color: var(--text);
}
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 20px 0 8px; }
.legal p { margin-bottom: 12px; font-size: clamp(0.92rem, 2vw, 0.98rem); line-height: 1.75; color: #444; }
.legal ul { list-style: disc; margin: 0 0 16px 24px; }
.legal li { margin-bottom: 6px; font-size: clamp(0.92rem, 2vw, 0.98rem); line-height: 1.7; color: #444; }
.info-box { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin: 20px 0; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 48px); margin-top: clamp(56px, 8vw, 72px);
  padding: clamp(40px, 6vw, 64px) 0;
}
.contact-grid .wrap {
  max-width: 1000px; grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 48px);
}
.contact-form { width: 100%; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.08); border-radius: var(--radius-sm);
  font-size: 0.95rem; transition: border-color var(--transition);
  background: var(--bg); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info { padding-top: 8px; }
.contact-info h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.contact-info p { margin-bottom: 16px; color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.contact-info strong { display: block; color: var(--text); font-size: 0.85rem; margin-bottom: 4px; }

footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: clamp(40px, 6vw, 64px) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(32px, 5vw, 48px);
}
.footer-col h4 {
  color: #fff; font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.footer-col p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.88rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent); }

.cookies {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--dark); color: rgba(255,255,255,0.9);
  z-index: 2000; transform: translateY(100%); transition: transform .4s ease;
}
.cookies.show { transform: translateY(0); }
.cookies .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.cookies p { flex: 1; font-size: 0.85rem; line-height: 1.5; min-width: 240px; }
.cookies p a { color: var(--accent); text-decoration: underline; }
.cookies .btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookies .btn-ok {
  padding: 10px 24px; background: var(--accent); color: #fff;
  border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  transition: background var(--transition);
}
.cookies .btn-ok:hover { background: var(--accent-hover); }
.cookies .btn-no {
  padding: 10px 24px; background: rgba(255,255,255,0.12); color: #fff;
  border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  transition: background var(--transition);
}
.cookies .btn-no:hover { background: rgba(255,255,255,0.2); }

.to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; z-index: 1500;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent-hover); transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
    background: var(--dark); z-index: 1000; padding: 80px 32px 32px;
    transition: right var(--transition);
  }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 12px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .contact-grid .wrap { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .card.featured .thumb { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero { min-height: 360px; }
}
