/*
Theme Name: MonPenisEtMoi Premium
Template: astra
Version: 1.0.0
Author: MPM
*/

/* ===== OVERRIDE ASTRA - Design premium partout ===== */
body {
  background: #080c14 !important;
  color: #f0f0f0 !important;
  font-family: 'Source Sans 3', system-ui, sans-serif !important;
}

/* Cache TOUT le header/footer Astra (doublons) */
.site-header, #masthead, .ast-desktop-header, .ast-main-header-wrap, .ast-header-wrap,
.ast-mobile-header-wrap, .ast-header-break-point, .ast-above-header, .ast-below-header,
.ast-header-widget-area, .ast-primary-header, .ast-header-bar {
  display: none !important;
}
.site-footer, #colophon, .ast-footer-copyright, .site-below-footer-wrap,
.ast-footer-widget-area, .ast-small-footer, .ast-footer-overlay {
  display: none !important;
}

/* Marges globales */
.site-content, #content, #primary, .ast-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ast-container, .ast-container-fluid {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Titres */
h1, h2, h3, h4, h5, h6,
.site-title, .site-title a,
.entry-title, .entry-title a,
.page-title, .archive-title, .ast-archive-title {
  font-family: 'Fraunces', Georgia, serif !important;
  color: #f0f0f0 !important;
}

a { color: #c8956c !important; }
a:hover { color: #e8c9a0 !important; }

/* ===== HERO CATÉGORIE ===== */
.mpm-cat-hero {
  background: linear-gradient(135deg, #0c1220 0%, #1a2436 100%);
  border-bottom: 1px solid rgba(200,149,108,0.15);
  padding: 8rem 2rem 3rem;
  text-align: center;
}
.mpm-cat-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.mpm-cat-badge {
  display: inline-block;
  background: rgba(184,115,51,0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.mpm-cat-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f0f0f0;
}
.mpm-cat-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SECTIONS ===== */
.mpm-section {
  padding: 4rem 1.5rem;
}
.mpm-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.mpm-section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.mpm-section-title h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.mpm-section-title p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== GRILLE ===== */
.mpm-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.mpm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* ===== CARTES ARTICLES ===== */
.mpm-article-card {
  background: #0c1220;
  border: 1px solid rgba(200,149,108,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.mpm-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(200,149,108,0.3);
}
.mpm-article-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px 12px 0 0;
}
.mpm-article-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(184,115,51,0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.mpm-article-body {
  padding: 1.4rem;
}
.mpm-article-body h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.mpm-article-body h4 a {
  color: #f0f0f0;
  text-decoration: none;
}
.mpm-article-body h4 a:hover {
  color: #c8956c;
}
.mpm-article-body p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.mpm-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}
.mpm-article-meta a {
  color: #c8956c;
  font-weight: 600;
  text-decoration: none;
}
.mpm-article-meta a:hover {
  color: #e8c9a0;
}

/* ===== PAGINATION ===== */
.mpm-pagination {
  margin-top: 3rem;
  text-align: center;
}
.mpm-pagination .page-numbers {
  display: inline-block;
  color: #c8956c;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(200,149,108,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 0.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.mpm-pagination .page-numbers:hover {
  background: rgba(200,149,108,0.1);
}
.mpm-pagination .page-numbers.current {
  background: rgba(200,149,108,0.15);
  color: #f0f0f0;
}
.mpm-pagination .prev, .mpm-pagination .next {
  font-weight: 600;
}

/* ===== TRUST ===== */
.mpm-trust-section {
  background: linear-gradient(180deg, #080c14 0%, #0c1220 100%);
  border-top: 1px solid rgba(200,149,108,0.1);
}
.mpm-trust-item {
  text-align: center;
}
.mpm-trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(200,149,108,0.1);
  border: 1px solid rgba(200,149,108,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #c8956c;
}
.mpm-trust-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #f0f0f0;
}
.mpm-trust-item p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ===== HEADER PREMIUM ===== */
.mpm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(8,12,20,0.98) 0%, rgba(8,12,20,0.9) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,149,108,0.2);
}
.mpm-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.mpm-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mpm-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #c8956c;
}
.mpm-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.mpm-logo-text strong {
  font-family: 'Fraunces', Georgia, serif;
  color: #f0f0f0;
  font-size: 1.35rem;
  font-weight: 600;
}
.mpm-logo-text span {
  font-size: 0.78rem;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mpm-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.mpm-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  position: relative;
  padding-bottom: 4px;
  text-decoration: none;
}
.mpm-nav a:hover {
  color: #c8956c;
}
.mpm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.mpm-btn-primary {
  background: linear-gradient(135deg, #b87333 0%, #c8956c 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,115,51,0.3);
}
.mpm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,115,51,0.45);
  color: #fff;
}
.mpm-btn-ghost {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.15);
}
.mpm-btn-ghost:hover {
  border-color: #c8956c;
  color: #c8956c;
}

/* ===== FOOTER PREMIUM ===== */
.mpm-footer {
  background: linear-gradient(180deg, #080c14 0%, #04060a 100%);
  border-top: 1px solid rgba(200,149,108,0.15);
  padding: 4rem 2rem 2rem;
}
.mpm-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.mpm-footer-col h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  color: #f0f0f0;
}
.mpm-footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  text-decoration: none;
}
.mpm-footer-col a:hover {
  color: #c8956c;
}
.mpm-footer-col p {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.mpm-footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,149,108,0.15);
  text-align: center;
  color: #94a3b8;
  font-size: 0.78rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mpm-nav {
    display: none;
  }
  .mpm-header-inner {
    min-height: 70px;
    padding: 0.75rem 1rem;
  }
  .mpm-logo img {
    width: 44px;
    height: 44px;
  }
  .mpm-logo-text strong {
    font-size: 1.1rem;
  }
  .mpm-logo-text span {
    font-size: 0.7rem;
  }
  .mpm-cat-hero {
    padding: 6rem 1rem 2rem;
  }
  .mpm-section {
    padding: 2.5rem 1rem;
  }
  .mpm-grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .mpm-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .mpm-article-img {
    height: 180px;
  }
  .mpm-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
