/* ============================================================
   MY-WEDDING-PLANNER.COM — Design System Bohème Naturel
   Version 1.0.0
   ============================================================ */

/* === 1. VARIABLES =========================================== */
:root {
  /* Palette */
  --cream:       #FAF7F2;
  --beige:       #F0EBE1;
  --tan:         #E4D9CC;
  --brown-100:   #C8A882;
  --brown-300:   #8B6F47;
  --brown-500:   #5C4433;
  --brown-700:   #3D2B1F;
  --sage-100:    #C5D9C1;
  --sage-300:    #7A9E7E;
  --sage-500:    #507854;
  --rose-soft:   #E8BDB6;
  --rose:        #C97B72;
  --gold:        #C9A24A;
  --gold-light:  #F0D898;
  --white:       #FFFFFF;
  --overlay:     rgba(61, 43, 31, 0.55);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Jost', system-ui, -apple-system, sans-serif;
  --font-script:  'Great Vibes', cursive;

  /* Spacing */
  --s-xs:  0.5rem;
  --s-sm:  1rem;
  --s-md:  1.75rem;
  --s-lg:  2.5rem;
  --s-xl:  4rem;
  --s-2xl: 6rem;
  --s-3xl: 9rem;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(61,43,31,0.07);
  --shadow-sm: 0 3px 12px rgba(61,43,31,0.09);
  --shadow-md: 0 6px 24px rgba(61,43,31,0.13);
  --shadow-lg: 0 12px 48px rgba(61,43,31,0.17);

  /* Transitions */
  --tr:      0.28s ease;
  --tr-slow: 0.5s  ease;

  /* Layout */
  --max-w:    1220px;
  --max-w-md: 860px;
  --max-w-sm: 640px;

  /* Nav height */
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown-700);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === 3. TYPOGRAPHY ========================================== */
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--brown-700);
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p  { margin-bottom: var(--s-sm); color: var(--brown-500); }
p:last-child { margin-bottom: 0; }

.script-title {
  font-family: var(--font-script);
  color: var(--sage-500);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  display: block;
  margin-bottom: var(--s-xs);
  line-height: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: var(--s-xs);
}

/* === 4. LAYOUT ============================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s-md);
}

.section { padding-block: var(--s-2xl); }
.section--sm { padding-block: var(--s-xl); }
.section--lg { padding-block: var(--s-3xl); }

.section-header {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: var(--s-xl);
}
.section-header p { font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }

/* === 5. BUTTONS ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: var(--tr);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--brown-300);
  color: var(--white);
  border-color: var(--brown-300);
}
.btn-primary:hover {
  background: var(--brown-500);
  border-color: var(--brown-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--brown-300);
  border-color: var(--brown-300);
}
.btn-secondary:hover {
  background: var(--brown-300);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--sage-500);
  color: var(--white);
  border-color: var(--sage-500);
}
.btn-sage:hover {
  background: var(--sage-300);
  border-color: var(--sage-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--brown-700);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* === 6. NAVIGATION ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tan);
  z-index: 1000;
  transition: box-shadow var(--tr);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.navbar__logo .logo-script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--brown-300);
}
.navbar__logo .logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-500);
  font-weight: 600;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--s-md);
}
.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-500);
  transition: color var(--tr);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--brown-300);
  transform: scaleX(0);
  transition: transform var(--tr);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--brown-300); }
.navbar__links a:hover::after,
.navbar__links a.active::after { transform: scaleX(1); }

.navbar__cta { margin-left: var(--s-sm); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-700);
  border-radius: var(--r-full);
  transition: var(--tr);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--cream);
  padding: var(--s-md);
  border-bottom: 1px solid var(--tan);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: var(--s-sm);
  z-index: 999;
}
.navbar__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown-700);
  padding: var(--s-xs) 0;
  border-bottom: 1px solid var(--beige);
}
.navbar__mobile.open { display: flex; }

/* === 7. HERO =============================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519741347686-c1e0aadf4611?w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: var(--s-2xl);
}
.hero__content .script-title { color: var(--gold-light); font-size: clamp(2rem,5vw,3.2rem); }
.hero__content h1 { color: var(--white); margin-bottom: var(--s-sm); text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero__content > p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: var(--s-lg); }

.hero__search {
  background: var(--white);
  border-radius: var(--r-full);
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  max-width: 700px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}
.hero__search select,
.hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown-700);
  outline: none;
}
.hero__search select { border-right: 1px solid var(--tan); min-width: 180px; }
.hero__search .btn { flex-shrink: 0; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--s-lg);
  margin-top: var(--s-xl);
}
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--gold-light); }
.hero__stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); letter-spacing: 0.05em; }

/* === 8. CATEGORIES ========================================= */
.categories { background: var(--beige); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-sm);
}

.cat-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s-md) var(--s-sm);
  text-align: center;
  transition: var(--tr);
  border: 1px solid var(--tan);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xs);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brown-100);
}

.cat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-xs);
  transition: background var(--tr);
}
.cat-card:hover .cat-card__icon { background: var(--sage-100); }

.cat-card h4 { font-size: 0.92rem; color: var(--brown-700); margin: 0; }
.cat-card span { font-size: 0.78rem; color: var(--brown-100); }

/* === 9. HOW IT WORKS ======================================= */
.how { background: var(--cream); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(to right, var(--tan), var(--brown-100), var(--tan));
}

.step { text-align: center; position: relative; }
.step__num {
  width: 72px; height: 72px;
  border-radius: var(--r-full);
  background: var(--white);
  border: 2px solid var(--brown-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown-300);
  margin-inline: auto;
  margin-bottom: var(--s-md);
  position: relative;
  z-index: 1;
  background: var(--cream);
}
.step h3 { margin-bottom: var(--s-xs); }

/* === 10. PROVIDER CARDS ==================================== */
.providers { background: var(--beige); }

.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.provider-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  border: 1px solid var(--tan);
}
.provider-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.provider-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.provider-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.provider-card:hover .provider-card__img img { transform: scale(1.06); }

.provider-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--white);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage-500);
  letter-spacing: 0.05em;
}

.provider-card__fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--tr);
  border: none;
}
.provider-card__fav:hover { background: var(--rose-soft); }

.provider-card__body { padding: var(--s-md); }
.provider-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-xs);
}

.stars { color: var(--gold); font-size: 0.85rem; }
.rating-count { font-size: 0.8rem; color: var(--brown-100); margin-left: 4px; }

.provider-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.provider-card__loc { font-size: 0.85rem; color: var(--brown-100); margin-bottom: var(--s-sm); }
.provider-card__loc::before { content: '📍 '; }

.provider-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-sm) var(--s-md);
  border-top: 1px solid var(--beige);
}
.provider-card__price { font-size: 0.85rem; color: var(--brown-100); }
.provider-card__price strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--brown-700); }

/* === 11. TESTIMONIALS ====================================== */
.testimonials { background: var(--cream); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.testi-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  border: 1px solid var(--tan);
  position: relative;
}
.testi-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--tan);
  position: absolute;
  top: 10px; left: var(--s-md);
  line-height: 1;
}

.testi-card__text {
  font-style: italic;
  color: var(--brown-500);
  margin-bottom: var(--s-md);
  padding-top: var(--s-sm);
  position: relative;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}
.testi-card__avatar {
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: 2px solid var(--tan);
}
.testi-card__name { font-weight: 600; font-size: 0.95rem; }
.testi-card__date { font-size: 0.8rem; color: var(--brown-100); }
.testi-card__stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 2px; }

/* === 12. BLOG CARDS ======================================== */
.blog-preview { background: var(--beige); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--tan);
  transition: var(--tr);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card__img {
  height: 200px;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }

.blog-card__body { padding: var(--s-md); }
.blog-card__tag {
  display: inline-block;
  background: var(--sage-100);
  color: var(--sage-500);
  border-radius: var(--r-full);
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--s-xs);
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: var(--s-xs); }
.blog-card p { font-size: 0.88rem; color: var(--brown-100); margin-bottom: var(--s-sm); }
.blog-card__meta { font-size: 0.8rem; color: var(--brown-100); display: flex; gap: var(--s-sm); }

/* === 13. CTA BAND ========================================== */
.cta-band {
  background: linear-gradient(135deg, var(--brown-500) 0%, var(--brown-700) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band .container { position: relative; }
.cta-band .script-title { color: var(--gold-light); }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-sm); }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: var(--s-lg); max-width: 560px; margin-inline: auto; }
.cta-band .btn-group { display: flex; gap: var(--s-sm); justify-content: center; flex-wrap: wrap; }

/* === 14. FOOTER ============================================ */
.footer {
  background: var(--brown-700);
  color: rgba(255,255,255,0.75);
}

.footer__top {
  padding-block: var(--s-2xl);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--s-xl);
}

.footer__brand .logo-script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: var(--s-xs);
}
.footer__brand p { font-size: 0.9rem; margin-bottom: var(--s-md); }
.footer__socials { display: flex; gap: var(--s-sm); }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--tr);
}
.footer__socials a:hover { background: var(--brown-300); }

.footer__col h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
  font-weight: 600;
  font-family: var(--font-body);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--s-xs); }
.footer__col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--tr);
}
.footer__col ul a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--s-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: var(--s-sm);
}
.footer__bottom-links { display: flex; gap: var(--s-md); }
.footer__bottom-links a { color: rgba(255,255,255,0.45); transition: color var(--tr); }
.footer__bottom-links a:hover { color: var(--white); }

/* === 15. FORMS ============================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-md);
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brown-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--tan);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown-700);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brown-300);
  box-shadow: 0 0 0 3px rgba(139,111,71,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input.error,
.form-group select.error { border-color: var(--rose); }
.form-error { color: var(--rose); font-size: 0.8rem; display: none; }
.form-error.visible { display: block; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-md); }

/* === 16. FILTERS =========================================== */
.filters-bar {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s-md);
  display: flex;
  gap: var(--s-sm);
  flex-wrap: wrap;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-lg);
  border: 1px solid var(--tan);
}
.filters-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--beige);
  border: 1px solid var(--tan);
  border-radius: var(--r-full);
  padding: 4px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--tr);
}
.filter-tag.active,
.filter-tag:hover { background: var(--brown-300); color: var(--white); border-color: var(--brown-300); }

/* === 17. GALLERY =========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--s-xs);
  border-radius: var(--r-md);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%; height: 220px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--tr);
}
.gallery-grid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 450px;
}
.gallery-grid img:hover { opacity: 0.88; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-sm); }
.lightbox__close {
  position: absolute;
  top: var(--s-md); right: var(--s-md);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none; border: none;
  transition: var(--tr);
}
.lightbox__close:hover { opacity: 0.7; }

/* === 18. PROFILE PAGE ====================================== */
.profile-header {
  background: linear-gradient(to bottom, var(--beige), var(--cream));
  padding-top: calc(var(--nav-h) + var(--s-xl));
  padding-bottom: var(--s-xl);
}

.profile-meta {
  display: flex;
  align-items: flex-start;
  gap: var(--s-lg);
}
.profile-avatar {
  width: 120px; height: 120px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.profile-info h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: var(--s-xs); }
.profile-badges { display: flex; flex-wrap: wrap; gap: var(--s-xs); margin-top: var(--s-sm); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--r-full);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brown-500);
}
.badge--green { background: var(--sage-100); border-color: var(--sage-300); color: var(--sage-500); }
.badge--gold  { background: var(--gold-light); border-color: var(--gold); color: var(--brown-700); }

.profile-actions { display: flex; gap: var(--s-sm); margin-top: var(--s-md); flex-wrap: wrap; }

.profile-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--s-xl);
  align-items: start;
}

.profile-sidebar {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  border: 1px solid var(--tan);
  position: sticky;
  top: calc(var(--nav-h) + var(--s-sm));
}
.profile-sidebar h4 { margin-bottom: var(--s-md); padding-bottom: var(--s-sm); border-bottom: 1px solid var(--beige); }

.price-range {
  text-align: center;
  padding: var(--s-md);
  background: var(--beige);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-md);
}
.price-range .price-label { font-size: 0.82rem; color: var(--brown-100); margin-bottom: 4px; }
.price-range .price-val { font-family: var(--font-heading); font-size: 1.8rem; color: var(--brown-700); }

.sidebar-info { display: flex; flex-direction: column; gap: var(--s-xs); margin-bottom: var(--s-md); }
.sidebar-info-item { display: flex; align-items: center; gap: var(--s-sm); font-size: 0.88rem; }
.sidebar-info-item .icon { font-size: 1rem; width: 24px; }
.sidebar-info-item span { color: var(--brown-500); }

/* === 19. REVIEW CARD ======================================= */
.review-card {
  border: 1px solid var(--tan);
  border-radius: var(--r-md);
  padding: var(--s-md);
  margin-bottom: var(--s-sm);
}
.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-xs);
}
.review-card__author { display: flex; align-items: center; gap: var(--s-xs); }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  object-fit: cover;
}
.review-card__name { font-weight: 600; font-size: 0.9rem; }
.review-card__date { font-size: 0.78rem; color: var(--brown-100); }
.review-card p { font-size: 0.9rem; color: var(--brown-500); margin-bottom: 0; }

/* === 20. BLOG PAGE ========================================= */
.blog-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding-top: calc(var(--nav-h) + var(--s-2xl));
  padding-bottom: var(--s-xl);
  text-align: center;
}

.blog-featured {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--s-xl);
  border: 1px solid var(--tan);
}
.blog-featured__img { height: 400px; object-fit: cover; width: 100%; }
.blog-featured__content { padding: var(--s-xl) var(--s-lg); display: flex; flex-direction: column; justify-content: center; }
.blog-featured__content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--s-sm); }
.blog-featured__content p { margin-bottom: var(--s-md); }

/* === 21. ARTICLE PAGE ====================================== */
.article-hero {
  padding-top: var(--nav-h);
  height: 50vh;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.article-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}
.article-hero__content { position: relative; padding-bottom: var(--s-xl); color: var(--white); }
.article-hero__content h1 { color: var(--white); max-width: var(--max-w-md); }
.article-meta { display: flex; gap: var(--s-md); font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: var(--s-sm); flex-wrap: wrap; }

.article-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--s-xl);
  align-items: start;
}

.article-content { max-width: 100%; }
.article-content h2 { margin: var(--s-lg) 0 var(--s-sm); }
.article-content h3 { margin: var(--s-md) 0 var(--s-sm); color: var(--brown-300); }
.article-content p { margin-bottom: var(--s-md); }
.article-content ul { padding-left: var(--s-md); margin-bottom: var(--s-md); }
.article-content ul li { margin-bottom: var(--s-xs); color: var(--brown-500); }
.article-content img { width: 100%; border-radius: var(--r-md); margin-block: var(--s-lg); }
.article-content blockquote {
  border-left: 3px solid var(--brown-300);
  padding-left: var(--s-md);
  margin: var(--s-lg) 0;
  font-style: italic;
  color: var(--brown-300);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.toc {
  background: var(--beige);
  border-radius: var(--r-md);
  padding: var(--s-md);
  position: sticky;
  top: calc(var(--nav-h) + var(--s-sm));
}
.toc h5 { margin-bottom: var(--s-sm); color: var(--brown-700); }
.toc ul { display: flex; flex-direction: column; gap: var(--s-xs); }
.toc ul a { font-size: 0.85rem; color: var(--brown-500); transition: color var(--tr); }
.toc ul a:hover { color: var(--brown-300); }

/* === 22. CONTACT PAGE ====================================== */
.contact-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding-top: calc(var(--nav-h) + var(--s-2xl));
  padding-bottom: var(--s-xl);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--s-xl);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  border: 1px solid var(--tan);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--beige);
  padding-block: var(--s-sm);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--brown-700);
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brown-300);
  transition: transform var(--tr);
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-top: var(--s-xs);
  font-size: 0.9rem;
  color: var(--brown-500);
}
.faq-item.open .faq-answer { display: block; }

/* === 23. COOKIE BANNER ===================================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brown-700);
  color: var(--white);
  padding: var(--s-md) var(--s-lg);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  max-width: var(--max-w);
  margin-inline: auto;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-inner a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: var(--s-xs); flex-shrink: 0; }

/* === 24. BREADCRUMB ======================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: 0.82rem;
  color: var(--brown-100);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--brown-100); transition: color var(--tr); }
.breadcrumb a:hover { color: var(--brown-300); }
.breadcrumb span { color: var(--tan); }

/* === 25. PAGINATION ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--s-xs);
  margin-top: var(--s-xl);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--tan);
  font-size: 0.9rem;
  transition: var(--tr);
  color: var(--brown-500);
}
.pagination a:hover { border-color: var(--brown-300); color: var(--brown-300); }
.pagination .active { background: var(--brown-300); border-color: var(--brown-300); color: var(--white); }

/* === 26. MISC ============================================== */
.divider {
  border: none;
  height: 1px;
  background: var(--tan);
  margin-block: var(--s-lg);
}

.tag {
  display: inline-block;
  background: var(--beige);
  color: var(--brown-300);
  border-radius: var(--r-full);
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: var(--s-3xl) 0;
  color: var(--brown-100);
}
.empty-state .icon { font-size: 3rem; margin-bottom: var(--s-sm); }

.back-top {
  position: fixed;
  bottom: var(--s-md); right: var(--s-md);
  width: 46px; height: 46px;
  background: var(--brown-300);
  color: var(--white);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--tr);
  z-index: 100;
  border: none;
  cursor: pointer;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--brown-500); }

/* === 27. NEWSLETTER ======================================== */
.newsletter-form {
  display: flex;
  gap: var(--s-xs);
  max-width: 480px;
  margin-inline: auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--tr);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--gold); }

/* === 28. LEGAL PAGES ======================================= */
.legal-page {
  padding-top: calc(var(--nav-h) + var(--s-2xl));
  padding-bottom: var(--s-3xl);
  max-width: var(--max-w-md);
  margin-inline: auto;
}
.legal-page h1 { margin-bottom: var(--s-lg); }
.legal-page h2 { font-size: 1.4rem; margin: var(--s-lg) 0 var(--s-sm); }
.legal-page p { color: var(--brown-500); }
.legal-page ul { padding-left: var(--s-md); margin-bottom: var(--s-md); }
.legal-page ul li { color: var(--brown-500); margin-bottom: var(--s-xs); }

/* === 29. ANIMATIONS ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* === 30. RESPONSIVE ======================================== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .profile-body { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .article-body { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --s-2xl: 4rem; --s-3xl: 6rem; }

  .navbar__links,
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }

  .hero__search { flex-direction: column; border-radius: var(--r-lg); }
  .hero__search select { border-right: none; border-bottom: 1px solid var(--tan); min-width: auto; }
  .hero__search .btn { border-radius: var(--r-lg); }
  .hero__stats { gap: var(--s-md); }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: var(--s-md); }
  .steps::before { display: none; }
  .providers-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { height: 240px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img:first-child { grid-column: 1 / -1; height: 260px; }
  .gallery-grid img { height: 160px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .profile-meta { flex-direction: column; align-items: center; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .cta-band .btn-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: var(--s-sm); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGES RÉGIONS & CATÉGORIES — v1.1
   ============================================================ */

/* ── Screen-reader only ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── HERO RÉGION ─────────────────────────────────────────── */
.region-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--s-xl);
  overflow: hidden;
}
.region-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.region-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.18) 0%,
    rgba(61,43,31,.78) 100%
  );
}
.region-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
}
.region-hero__content .breadcrumb,
.region-hero__content .breadcrumb a,
.region-hero__content .breadcrumb span {
  color: rgba(255,255,255,.85);
}
.region-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: var(--s-sm);
  color: #fff;
}
.region-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: var(--s-sm);
}
.region-hero h1 em {
  font-style: italic;
  font-family: var(--font-script);
  font-size: 1.2em;
}
.region-hero__desc {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: var(--s-md);
}
.region-stats {
  display: flex;
  gap: var(--s-lg);
  flex-wrap: wrap;
}
.region-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}
.region-stat strong {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.region-stat span {
  font-size: .8rem;
  opacity: .8;
}

/* ── FILTRE BAR ──────────────────────────────────────────── */
.region-filters {
  background: var(--beige);
  padding-block: var(--s-md);
  border-bottom: 1px solid var(--tan);
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
}
.region-filters__inner {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-group label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brown-300);
}

/* ── TABS CATÉGORIES ─────────────────────────────────────── */
.cat-tabs {
  display: flex;
  gap: var(--s-xs);
  flex-wrap: wrap;
}
.cat-tabs--large .cat-tab {
  padding: 10px 20px;
  font-size: .92rem;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--tan);
  background: white;
  color: var(--brown-500);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), color var(--tr), box-shadow var(--tr);
  text-decoration: none;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--brown-300);
  color: var(--brown-300);
  box-shadow: var(--shadow-xs);
}
.cat-tab.active {
  background: var(--brown-300);
  border-color: var(--brown-300);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.cat-tab__count {
  font-size: .74rem;
  opacity: .75;
  font-weight: 400;
}

/* ── SORT SELECT ─────────────────────────────────────────── */
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238B6F47' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--tan);
  border-radius: var(--r-sm);
  font-size: .88rem;
  color: var(--brown-500);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--tr);
}
.sort-select:focus { outline: none; border-color: var(--brown-300); }

/* ── COMPTEUR RÉSULTATS ──────────────────────────────────── */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-lg);
}
.results-header p { margin: 0; font-size: .95rem; }

/* ── TAGS FILTRES ACTIFS ─────────────────────────────────── */
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--beige);
  border: 1px solid var(--tan);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: .82rem;
  color: var(--brown-300);
}
.active-filter-tag a {
  color: var(--brown-100);
  font-size: .8rem;
  line-height: 1;
  transition: color var(--tr);
}
.active-filter-tag a:hover { color: var(--rose); }

/* ── VILLES ──────────────────────────────────────────────── */
.cities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-md);
}
.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: var(--r-full);
  font-size: .88rem;
  color: var(--brown-300);
  text-decoration: none;
  transition: all var(--tr);
  font-weight: 500;
}
.city-tag:hover {
  background: var(--beige);
  border-color: var(--brown-300);
  color: var(--brown-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

/* ── GRILLE RÉGIONS (mini) ───────────────────────────────── */
.regions-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-lg);
}
.region-mini-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: block;
  text-decoration: none;
}
.region-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.region-mini-card:hover img { transform: scale(1.07); }
.region-mini-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.8) 0%, transparent 60%);
}
.region-mini-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-sm);
  color: #fff;
}
.region-mini-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
}
.region-mini-card__count {
  display: block;
  font-size: .72rem;
  opacity: .8;
}

/* ── GRILLE RÉGIONS PRINCIPALE (annuaire) ────────────────── */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-lg);
}
.region-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
}
.region-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.region-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.region-card:hover img { transform: scale(1.06); }
.region-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.85) 0%, rgba(0,0,0,.1) 60%);
}
.region-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-md);
  color: #fff;
}
.region-card__emoji {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.region-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.region-card__count {
  display: block;
  font-size: .78rem;
  opacity: .85;
  margin-top: 3px;
}

/* ── GRILLE RÉGIONS PAR CATÉGORIE ────────────────────────── */
.regions-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s-sm);
  margin-top: var(--s-lg);
}
.region-cat-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: block;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.region-cat-card.active,
.region-cat-card:hover {
  border-color: var(--brown-300);
  box-shadow: var(--shadow-md);
}
.region-cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.region-cat-card:hover img { transform: scale(1.06); }
.region-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.8) 0%, transparent 55%);
}
.region-cat-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  color: #fff;
}
.region-cat-card__name {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ── GRILLE RÉGIONS SEO (featured) ──────────────────────── */
.regions-seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-lg);
  margin-top: var(--s-lg);
}
.region-seo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
}
.region-seo-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.region-seo-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.region-seo-card:hover img { transform: scale(1.06); }
.region-seo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.92) 0%, transparent 55%);
}
.region-seo-card__content {
  position: relative;
  z-index: 1;
  padding: var(--s-md);
  color: #fff;
  width: 100%;
}
.region-seo-card__emoji {
  display: block;
  font-size: 1.6rem;
  margin-bottom: var(--s-xs);
}
.region-seo-card__content h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: #fff;
}
.region-seo-card__content p {
  font-size: .85rem;
  opacity: .8;
  margin-bottom: var(--s-sm);
}
.region-seo-card__count {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: .78rem;
}

/* ── PAGE RÉGIONS — FULL GRID ────────────────────────────── */
.regions-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-lg);
  margin-top: var(--s-lg);
}
.region-full-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex;
  flex-direction: column;
}
.region-full-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.region-full-card__img {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.region-full-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.region-full-card:hover .region-full-card__img img { transform: scale(1.07); }
.region-full-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(61,43,31,.5));
}
.region-full-card__body {
  padding: var(--s-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}
.region-full-card__emoji {
  font-size: 1.5rem;
}
.region-full-card__body h3 {
  font-size: 1.15rem;
  color: var(--brown-500);
  margin: 0;
}
.region-full-card__short {
  font-size: .85rem;
  color: var(--brown-300);
  margin: 0;
}
.region-full-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-top: auto;
  padding-top: var(--s-sm);
  border-top: 1px solid var(--tan);
}
.region-full-card__count {
  font-size: .88rem;
  color: var(--brown-500);
}
.region-full-card__depts {
  font-size: .78rem;
  color: var(--brown-100);
  background: var(--beige);
  padding: 2px 10px;
  border-radius: var(--r-full);
}
.region-full-card__cities {
  font-size: .78rem;
  color: var(--brown-100);
  margin: 0;
}
.region-full-card__cta {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown-300);
  margin-top: var(--s-xs);
  transition: color var(--tr);
}
.region-full-card:hover .region-full-card__cta { color: var(--brown-500); }

/* ── CATÉGORIES — GRILLE BIG CARDS ──────────────────────── */
.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-lg);
}
.cat-big-card {
  background: white;
  border-radius: var(--r-lg);
  padding: var(--s-lg) var(--s-md);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xs);
  border: 1.5px solid var(--tan);
}
.cat-big-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--brown-300);
}
.cat-big-card__icon {
  font-size: 2rem;
  display: block;
}
.cat-big-card h3 {
  font-size: .95rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--brown-500);
  margin: 0;
}
.cat-big-card__count {
  font-size: .78rem;
  color: var(--brown-100);
}

/* ── HERO CATÉGORIE ──────────────────────────────────────── */
.cat-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding-bottom: var(--s-xl);
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--tan) 0%, transparent 70%);
  opacity: .35;
  border-radius: 50%;
}
.cat-hero__icon {
  position: absolute;
  top: calc(var(--nav-h) + 2rem);
  right: 5%;
  font-size: 8rem;
  opacity: .08;
  pointer-events: none;
  user-select: none;
}
.cat-hero__content {
  position: relative;
  z-index: 1;
}
.cat-hero__content h1 {
  margin-top: var(--s-sm);
  font-size: clamp(2rem, 4vw, 3rem);
}
.cat-hero__desc {
  font-size: 1.05rem;
  color: var(--brown-300);
  max-width: 600px;
  margin-top: var(--s-sm);
}
.cat-hero__stats {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-md);
  font-size: .9rem;
  color: var(--brown-300);
  flex-wrap: wrap;
}
.cat-hero__stats strong { color: var(--brown-500); }
.cat-hero__stats span:not(:first-child):not(:last-child) { opacity: .4; }

/* ── ANNUAIRE HERO ───────────────────────────────────────── */
.annuaire-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding-bottom: var(--s-xl);
}
.annuaire-hero__lead {
  font-size: 1.05rem;
  color: var(--brown-300);
  max-width: 680px;
  margin-top: var(--s-sm);
}
.annuaire-search {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-md);
  padding: 6px 6px 6px 0;
  max-width: 700px;
  margin-top: var(--s-lg);
  border: 1.5px solid var(--tan);
  overflow: hidden;
}
.annuaire-search__field {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 var(--s-md);
  gap: 8px;
}
.annuaire-search__icon { font-size: 1.05rem; opacity: .6; flex-shrink: 0; }
.annuaire-search__field input,
.annuaire-search__field select {
  border: none;
  outline: none;
  font-size: .95rem;
  background: transparent;
  color: var(--brown-500);
  width: 100%;
  font-family: var(--font-body);
  appearance: none;
  -webkit-appearance: none;
}
.annuaire-search__field input::placeholder { color: var(--brown-100); }
.annuaire-search__sep {
  width: 1px;
  height: 32px;
  background: var(--tan);
  flex-shrink: 0;
}
.annuaire-search__btn {
  border-radius: var(--r-full) !important;
  flex-shrink: 0;
  margin-right: 2px;
}

/* ── STAT PILL ───────────────────────────────────────────── */
.stat-pill {
  background: white;
  border: 1.5px solid var(--tan);
  border-radius: var(--r-full);
  padding: 8px 20px;
  font-size: .88rem;
  color: var(--brown-300);
  font-weight: 500;
}
.stat-pill strong { color: var(--brown-500); font-size: 1.05rem; }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brown-500) 0%, var(--brown-700) 100%);
  padding: var(--s-xl) var(--s-md);
  color: white;
}
.cta-band h2 { color: white; }
.btn-cta {
  background: white;
  color: var(--brown-500);
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--tr);
  display: inline-block;
  text-decoration: none;
}
.btn-cta:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ── RESPONSIVE — PAGES RÉGIONS ─────────────────────────── */
@media (max-width: 768px) {
  .region-hero { min-height: 340px; }
  .region-hero h1 { font-size: 1.9rem; }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-full-grid { grid-template-columns: 1fr; }
  .regions-seo-grid { grid-template-columns: 1fr; }
  .regions-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero__icon { font-size: 5rem; opacity: .06; }
  .annuaire-search {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: var(--s-sm);
    gap: var(--s-xs);
  }
  .annuaire-search__sep { width: 100%; height: 1px; }
  .annuaire-search__btn { width: 100%; justify-content: center; margin-right: 0; }
  .region-stats { gap: var(--s-md); }
}

@media (max-width: 480px) {
  .regions-grid { grid-template-columns: 1fr; }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .region-full-card__img { height: 140px; }
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 5px 12px; font-size: .8rem; }
}
