/*
Theme Name: De Mot-Couvreur — École Secondaire
Theme URI: https://www.institutdemotcouvreur.be
Author: Votre nom
Description: Thème vitrine moderne pour école secondaire. Couleurs, contenus et informations entièrement configurables via Apparence → Personnaliser. Sections pédagogiques via un type de contenu dédié. Actualités via les articles WordPress standards.
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
Text Domain: demot-couvreur
Tags: education, school, modern, customizer, french
*/

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

:root {
  --forest:      #0c3b35;
  --forest-mid:  #165c52;
  --gold:        #c9963a;
  --gold-light:  #e8b86d;
  --cream:       #faf7f2;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #767676;
  --border:      #e5e0d8;
  --section-alt: #f4f1ec;
  /* These two are overridden by the Customizer */
  --color-primary: var(--forest);
  --color-accent:  var(--gold);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
  background: rgba(12, 59, 53, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,150,58,0.2);
  transition: all 0.3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--forest);
  letter-spacing: -1px;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.nav-logo-text {
  color: white;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.nav-logo-text span {
  display: block;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 300;
}

/* Primary menu (WordPress nav_menu) */
#primary-menu {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}
#primary-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
#primary-menu a:hover { color: var(--gold-light); }
#primary-menu .menu-cta > a,
#primary-menu li:last-child > a {
  background: var(--gold);
  color: var(--forest) !important;
  font-weight: 600 !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
#primary-menu .menu-cta > a:hover,
#primary-menu li:last-child > a:hover {
  background: var(--gold-light) !important;
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; color: white;
  padding: 4px;
}
.mobile-menu-open #primary-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--forest);
  padding: 2rem;
  gap: 1rem;
  border-top: 1px solid rgba(201,150,58,0.2);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--forest);
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201,150,58,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(22,92,82,0.6) 0%, transparent 50%),
    linear-gradient(160deg, #0a2e29 0%, #0c3b35 50%, #0e4a42 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg, var(--gold) 0, var(--gold) 1px,
    transparent 0, transparent 50%
  );
  background-size: 24px 24px;
}
.hero-image-area {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  overflow: hidden;
}
.hero-image-area img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--forest) 0%, rgba(12,59,53,0.3) 40%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem 7rem;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.3);
  color: var(--gold-light);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.0; color: white;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.15rem; font-weight: 300;
  color: rgba(255,255,255,0.75); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 480px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}
.btn-primary {
  background: var(--gold); color: var(--forest);
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,150,58,0.3);
  color: var(--forest);
}
.btn-secondary {
  background: rgba(255,255,255,0.08); color: white;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 500; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); color: white; }

.hero-stats {
  position: absolute; bottom: 0; right: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none; border-right: none;
  border-radius: 12px 0 0 0;
  padding: 2rem 2.5rem;
  display: flex; gap: 3rem; z-index: 2;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--gold-light); line-height: 1;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ─────────────────────────────────────────────
   TRUST BAND
───────────────────────────────────────────── */
.trust-band {
  background: var(--gold);
  padding: 1rem 4rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  overflow: hidden; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--forest); font-weight: 600; font-size: 14px;
  white-space: nowrap;
}
.trust-sep { color: rgba(12,59,53,0.3); font-size: 20px; }

/* ─────────────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────────────── */
section { padding: 6rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.1;
  color: var(--forest); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; font-weight: 300; }
.section-lead {
  font-size: 1.1rem; color: var(--text-mid);
  line-height: 1.75; max-width: 600px; font-weight: 300;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.section-about { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-card {
  background: var(--forest); border-radius: 16px;
  padding: 3rem; color: white;
  position: relative; overflow: hidden; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.about-card::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-conic-gradient(rgba(201,150,58,0.06) 0% 25%, transparent 0% 50%) 0 0 / 40px 40px;
}
.about-card-quote {
  position: relative; z-index: 1;
  font-family: 'Fraunces', serif; font-size: 1.5rem;
  font-style: italic; font-weight: 300; line-height: 1.5;
  color: var(--gold-light); margin-bottom: 1.5rem;
}
.about-card-tag { position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,0.5); }
.about-badge {
  position: absolute; top: 2rem; right: 2rem;
  background: var(--gold); color: var(--forest);
  font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 800;
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1; z-index: 1;
}
.about-badge span { font-size: 11px; font-weight: 500; font-family: 'Outfit', sans-serif; display: block; }

.about-values { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.value-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: white;
  border-radius: 12px; border: 1px solid var(--border);
  transition: all 0.2s;
}
.value-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,150,58,0.1); }
.value-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(201,150,58,0.1); border-radius: 10px;
  display: grid; place-items: center; font-size: 20px;
}
.value-text h4 { font-size: 15px; font-weight: 600; color: var(--forest); margin-bottom: 4px; }
.value-text p { font-size: 14px; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ─────────────────────────────────────────────
   SECTIONS PÉDAGOGIQUES
───────────────────────────────────────────── */
.section-options { background: var(--section-alt); }
.options-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.option-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.option-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(12,59,53,0.12);
  border-color: var(--gold);
}
.option-card-top {
  padding: 2rem; background: var(--forest);
  position: relative; overflow: hidden;
}
.option-card-top::before {
  content: ''; position: absolute; right: -20px; top: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(201,150,58,0.1);
}
.option-number {
  font-family: 'Fraunces', serif; font-size: 3.5rem; font-weight: 800;
  color: rgba(255,255,255,0.06); line-height: 1;
  position: absolute; right: 1rem; bottom: 0.5rem;
}
.option-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.option-title {
  font-family: 'Fraunces', serif; font-size: 1.2rem;
  font-weight: 600; color: white; position: relative;
}
.option-subtitle { font-size: 12px; color: var(--gold-light); margin-top: 4px; }
.option-card-body { padding: 1.5rem 2rem; }
.option-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 1.25rem; }
.option-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(12,59,53,0.06); color: var(--forest-mid);
  font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px;
}

/* ─────────────────────────────────────────────
   VIE SCOLAIRE
───────────────────────────────────────────── */
.section-vie { background: var(--cream); }
.vie-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}
.vie-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.vie-feature {
  display: flex; gap: 1rem; padding: 1.25rem;
  border-radius: 12px; transition: background 0.2s;
}
.vie-feature:hover { background: white; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.vie-feature-dot {
  width: 10px; height: 10px; background: var(--gold);
  border-radius: 50%; margin-top: 6px; flex-shrink: 0;
}
.vie-feature h4 { font-size: 15px; font-weight: 600; color: var(--forest); margin-bottom: 4px; }
.vie-feature p { font-size: 14px; color: var(--text-light); line-height: 1.5; margin: 0; }
.vie-gallery {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto; gap: 1rem;
}
.gallery-item {
  border-radius: 12px; overflow: hidden; position: relative;
  background: var(--forest-mid);
}
.gallery-item:first-child { grid-column: 1 / -1; height: 240px; }
.gallery-item:not(:first-child) { height: 160px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.5); color: white;
  font-size: 12px; padding: 4px 10px;
  border-radius: 100px; backdrop-filter: blur(8px);
}
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 13px; min-height: 160px;
}

/* ─────────────────────────────────────────────
   ACTUALITÉS (WordPress Posts)
───────────────────────────────────────────── */
.section-news { background: var(--section-alt); }
.news-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(12,59,53,0.1); }
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; }
.news-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  position: relative; overflow: hidden;
}
.news-card.featured .news-image { aspect-ratio: auto; min-height: 280px; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-category {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--forest);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.news-body { padding: 1.5rem; }
.news-date { font-size: 12px; color: var(--text-light); margin-bottom: 0.75rem; }
.news-title {
  font-family: 'Fraunces', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--forest);
  line-height: 1.3; margin-bottom: 0.75rem;
}
.news-card.featured .news-title { font-size: 1.6rem; }
.news-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.news-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 600; font-size: 14px;
  text-decoration: none; margin-top: 1rem; transition: gap 0.2s;
}
.news-link:hover { gap: 10px; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.section-contact { background: var(--forest); }
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 5rem; align-items: start;
}
.section-contact .section-title { color: white; }
.section-contact .section-eyebrow { color: var(--gold-light); }
.section-contact .section-lead { color: rgba(255,255,255,0.65); }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contact-item {
  display: flex; gap: 1rem; padding: 1.25rem;
  background: rgba(255,255,255,0.05); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(201,150,58,0.15); border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
}
.contact-item-text h4 { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a {
  font-size: 15px; color: white; font-weight: 500; text-decoration: none;
  margin: 0;
}
.contact-item-text a:hover { color: var(--gold-light); }
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2.5rem;
}
.contact-form h3 {
  font-family: 'Fraunces', serif; color: white;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.6); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 12px 14px;
  color: white; font-family: 'Outfit', sans-serif;
  font-size: 15px; transition: border-color 0.2s; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--forest); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* WP Comment form inside .contact-form */
.comment-form p { margin-bottom: 1.25rem; }
.comment-form label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 12px 14px;
  color: white; font-family: 'Outfit', sans-serif; font-size: 15px;
}
.comment-form input[type="submit"] {
  background: var(--gold); color: var(--forest);
  border: none; padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer; width: 100%;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#site-footer {
  background: #071e1b;
  padding: 3rem 4rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  border-top: 1px solid rgba(201,150,58,0.2);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-text { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.4; }
.footer-brand-text strong { color: white; display: block; font-size: 14px; }
.footer-nav ul { display: flex; gap: 2rem; list-style: none; }
.footer-nav a { color: rgba(255,255,255,0.4); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ─────────────────────────────────────────────
   INNER PAGES (single, page, archive)
───────────────────────────────────────────── */
.page-hero {
  background: var(--forest);
  padding: 9rem 4rem 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, var(--gold) 0, var(--gold) 1px,
    transparent 0, transparent 50%
  );
  background-size: 24px 24px; opacity: 0.03;
}
.page-hero .eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; color: white; line-height: 1.1;
}
.page-hero .cat-badge {
  display: inline-block; background: var(--gold); color: var(--forest);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 1rem;
}
.page-hero .post-meta { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 1rem; }

.content-area {
  max-width: 860px; margin: 0 auto; padding: 5rem 4rem;
}
.content-area .entry-content { color: var(--text-mid); line-height: 1.85; }
.content-area .entry-content h2,
.content-area .entry-content h3 { color: var(--forest); font-family: 'Fraunces', serif; margin: 2rem 0 1rem; }
.content-area .entry-content p { margin-bottom: 1.25rem; }
.content-area .entry-content img { border-radius: 12px; margin: 2rem 0; }

.archive-grid { padding: 5rem 4rem; }
.archive-grid-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

/* ─────────────────────────────────────────────
   ANIMATIONS & SCROLL REVEAL
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  #site-header { padding: 0 2rem; }
  section { padding: 5rem 2rem; }
  .hero-content { padding: 0 2rem 5rem; }
  .hero-image-area { width: 45%; }
  .trust-band { padding: 1rem 2rem; justify-content: center; }
  .about-grid, .vie-layout, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .archive-grid-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #primary-menu { display: none; }
  .nav-toggle { display: block; }
  .hero-image-area { display: none; }
  .hero-content { padding: 0 1.5rem 5rem; max-width: 100%; }
  .hero-stats { position: static; border-radius: 12px; margin: 0 1.5rem; }
  section { padding: 4rem 1.5rem; }
  .options-grid, .news-grid, .archive-grid-inner { grid-template-columns: 1fr; }
  .news-card.featured { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  #site-footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .footer-nav ul { flex-wrap: wrap; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .vie-gallery { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .content-area { padding: 3rem 1.5rem; }
  .archive-grid { padding: 3rem 1.5rem; }
}

/* ─────────────────────────────────────────────
   WP ADMIN BAR OFFSET
───────────────────────────────────────────── */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
