/*
Theme Name: AdopteUnChauve
Theme URI: https://adopteunchauve.com
Author: AdopteUnChauve Team
Author URI: https://adopteunchauve.com
Description: Thème WordPress sur mesure pour le site de rencontres AdopteUnChauve.com — le site dédié aux crânes brillants et aux femmes qui les aiment.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adopteunchauve
Tags: rencontres, dating, custom-background, custom-logo, custom-menu, featured-images, full-width-template
*/

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

:root {
  --rose: #e8527a;
  --rose-light: #fde8ef;
  --rose-dark: #c0375c;
  --gold: #d4a843;
  --gold-light: #fdf3dc;
  --cream: #fdf7f0;
  --dark: #1a1218;
  --text: #3d2b35;
  --muted: #8a7480;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 8px 40px rgba(232, 82, 122, 0.15);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* =============================================
   LAYOUT
============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-main {
  padding-top: 64px; /* nav height */
}

section {
  padding: 5rem 1.5rem;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232, 82, 122, 0.35);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--rose-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 82, 122, 0.45);
}

.btn-secondary {
  display: inline-block;
  background: white;
  color: var(--rose);
  border: 1.5px solid var(--rose);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* =============================================
   NAVIGATION
============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 247, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 82, 122, 0.12);
  height: 64px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--rose);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo:hover { color: var(--rose-dark); }
.logo-icon { font-size: 1.5rem; }

.main-navigation ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-navigation a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--rose);
}

.nav-cta .btn-primary {
  padding: 9px 22px;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* =============================================
   HERO
============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf7f0 0%, #fde8ef 60%, #fdf7f0 100%);
  padding: 120px 1.5rem 5rem;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 82, 122, 0.06);
  pointer-events: none;
}
.hero-bg-circle:nth-child(1) { width: 600px; height: 600px; top: -150px; right: -200px; }
.hero-bg-circle:nth-child(2) { width: 400px; height: 400px; bottom: -100px; left: -150px; }

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 82, 122, 0.25);
  animation: fadeDown .6s ease both;
}

.hero h1 {
  animation: fadeUp .7s ease .1s both;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--rose); }

.hero-desc {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp .7s ease .2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .7s ease .3s both;
}

.hero-search {
  background: white;
  border-radius: 60px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  margin: 2rem auto 0;
  animation: fadeUp .7s ease .35s both;
}

.hero-search select {
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: var(--text);
  flex: 1;
  outline: none;
  cursor: pointer;
}

.hero-search .btn-search {
  background: var(--rose);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  transition: background .2s;
  white-space: nowrap;
}
.hero-search .btn-search:hover { background: var(--rose-dark); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s ease .4s both;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose);
  display: block;
}
.stat-label { font-size: 0.82rem; color: var(--muted); }

/* =============================================
   AVANTAGES
============================================= */
.section-avantages { background: white; }

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.avantage-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(232, 82, 122, 0.1);
  transition: transform .2s, box-shadow .2s;
}
.avantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.avantage-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.avantage-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.avantage-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* =============================================
   CATALOGUE / PROFILS
============================================= */
.section-catalogue { background: var(--cream); }

.catalogue-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: white;
  border: 1px solid rgba(232, 82, 122, 0.2);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: .2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232, 82, 122, 0.1);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.profile-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
  overflow: hidden;
}
.profile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.profile-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--rose);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.profile-info { padding: 1.2rem; }
.profile-name { font-weight: 600; font-size: 1rem; color: var(--dark); margin-bottom: 2px; }
.profile-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.7rem; }

.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.tag {
  background: var(--rose-light);
  color: var(--rose-dark);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 500;
}

.profile-actions { display: flex; gap: 8px; }
.btn-pass, .btn-adopt {
  flex: 1;
  padding: 9px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: .2s;
  border: none;
}
.btn-pass { background: var(--cream); color: var(--muted); border: 1px solid #ddd; }
.btn-pass:hover { background: #f0f0f0; }
.btn-adopt { background: var(--rose); color: white; }
.btn-adopt:hover { background: var(--rose-dark); }

.catalogue-more { text-align: center; margin-top: 2.5rem; }

/* =============================================
   COMMENT ÇA MARCHE
============================================= */
.section-how { background: white; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(232, 82, 122, 0.3);
}
.step h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* =============================================
   TÉMOIGNAGES
============================================= */
.section-temoignages {
  background: linear-gradient(135deg, #1a1218 0%, #2d1a26 100%);
  color: white;
}
.section-temoignages .section-title { color: white; }
.section-temoignages .section-sub { color: rgba(255,255,255,0.5); }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.temoignage-card {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.temoignage-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.temoignage-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.temoignage-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 0.88rem; font-weight: 500; color: white; }
.author-meta { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* =============================================
   TARIFS
============================================= */
.section-tarifs { background: var(--cream); }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.tarif-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid rgba(232, 82, 122, 0.12);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.tarif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tarif-card.featured { border-color: var(--rose); }

.tarif-featured-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: white;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 50px;
  font-weight: 600;
  white-space: nowrap;
}

.tarif-name {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tarif-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tarif-price span { font-size: 1rem; color: var(--muted); }

.tarif-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  text-align: left;
}
.tarif-features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.tarif-features li::before {
  content: '✓';
  color: var(--rose);
  font-weight: 700;
  flex-shrink: 0;
}
.tarif-features li.disabled { color: var(--muted); }
.tarif-features li.disabled::before { content: '–'; color: #ccc; }

.tarif-btn { width: 100%; }

/* =============================================
   BLOG / ACTUALITÉS
============================================= */
.section-blog { background: white; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232, 82, 122, 0.1);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-thumb {
  height: 180px;
  overflow: hidden;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-body { padding: 1.2rem; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-bottom: 0.8rem; }
.blog-meta { font-size: 0.78rem; color: var(--muted); }

/* =============================================
   MODAL
============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0; z-index: 2000;
  background: rgba(26, 18, 24, 0.7);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 440px;
  width: 92%;
  text-align: center;
  position: relative;
  animation: popIn .3s ease;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--cream); }

.modal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal-box h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.modal-box p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; }

.modal-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 50px;
  border: 1.5px solid #ddd;
  font-size: 0.92rem;
  outline: none;
  margin-bottom: 0.8rem;
  color: var(--text);
  transition: border-color .2s;
}
.modal-input:focus { border-color: var(--rose); }

.modal-divider {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.5rem 0 1rem;
  position: relative;
}
.modal-divider::before, .modal-divider::after {
  content: '';
  display: inline-block;
  width: 35%;
  height: 1px;
  background: #eee;
  vertical-align: middle;
  margin: 0 8px;
}

.modal-footer {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-brand .site-logo {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: inline-flex;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 260px; }

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--rose); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s;
  text-decoration: none;
}
.social-btn:hover { background: var(--rose); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--rose); }

/* =============================================
   PAGE PROFIL UNIQUE
============================================= */
.profile-single { background: var(--cream); padding: 3rem 1.5rem 5rem; }

.profile-single-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.profile-single-header {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  border-bottom: 1px solid rgba(232,82,122,0.1);
}

.profile-single-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-single-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-single-info { flex: 1; }
.profile-single-name { font-size: 1.8rem; margin-bottom: 0.3rem; }
.profile-single-meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }

.profile-single-body { padding: 2rem 2.5rem; }

.profile-about { margin-bottom: 1.5rem; }
.profile-about h3 { margin-bottom: 0.5rem; }
.profile-about p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* =============================================
   WIDGETS SIDEBAR
============================================= */
.widget {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232,82,122,0.1);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--rose-light);
}

/* =============================================
   FORMULAIRES
============================================= */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid #e8e0e5;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  margin-bottom: 1rem;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--rose);
}
.wpcf7-form input[type="submit"] {
  background: var(--rose);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 50px;
  transition: background .2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--rose-dark); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu-toggle { display: flex; flex-direction: column; }

  .main-navigation {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid rgba(232,82,122,0.12);
    padding: 1rem;
  }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; }
  .main-navigation li { border-bottom: 1px solid var(--cream); }
  .main-navigation a { display: block; padding: 0.75rem 0.5rem; }

  .nav-cta { display: none; }

  .hero-stats { gap: 1.5rem; }
  .hero-search { flex-direction: column; border-radius: 20px; }
  .hero-search select { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .profile-single-header { flex-direction: column; align-items: center; text-align: center; }
  .profile-single-photo { width: 120px; height: 120px; }
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}

/* =============================================
   WORDPRESS CLASSES
============================================= */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* =============================================
   BARRE D'ADMINISTRATION WORDPRESS
   La barre admin fait 32px (desktop) ou 46px (mobile)
   Le header fixe doit descendre pour ne pas être caché dessous
============================================= */

/* Quand la barre admin est présente */
.admin-bar .site-header {
  top: 32px;
}

/* Sur mobile la barre admin fait 46px */
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Compenser le padding-top du main aussi */
.admin-bar .site-main {
  padding-top: calc(64px + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .site-main {
    padding-top: calc(64px + 46px);
  }
}

/* La section hero doit aussi compenser */
.admin-bar .hero {
  padding-top: calc(120px + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .hero {
    padding-top: calc(120px + 46px);
  }
}

/* Dashboard aussi */
.admin-bar .dashboard-sidebar {
  top: calc(64px + 32px);
  height: calc(100vh - 64px - 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .dashboard-sidebar {
    top: calc(64px + 46px);
    height: calc(100vh - 64px - 46px);
  }
}
