/*
 Theme Name:   Andance Child
 Theme URI:    https://andance.fr
 Description:  Thème enfant Kadence pour la Mairie d'Andance
 Author:       Mairie d'Andance
 Template:     kadence
 Version:      1.3.4
 Text Domain:  andance-child
*/

/* =============================================
   VARIABLES GLOBALES
   ============================================= */
:root {
  --rhone:        #1B6CA8;
  --rhone-mid:    #2D88CC;
  --rhone-light:  #5AAEE8;
  --rhone-pale:   #E0F2FF;
  --soleil:       #F5A623;
  --soleil-light: #FFD166;
  --vert:         #27A468;
  --ciel:         #F0F8FF;
  --blanc:        #FFFFFF;
  --texte:        #12293A;
  --gris:         #5C7A8E;
  --border:       #CBE6F8;
  --nav-h:        75px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    14px;
  --radius-xl:    28px;
  --shadow-sm:    0 2px 8px rgba(27,108,168,0.08);
  --shadow-md:    0 6px 20px rgba(27,108,168,0.15);
  --shadow-lg:    0 10px 32px rgba(27,108,168,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--blanc);
  color: var(--texte);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  background: #12293A;
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 11.5px;
}

.site-nav {
  position: fixed;
   position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 200;
  background: rgba(27,108,168,0.97);
  backdrop-filter: blur(12px);
  height: var(--nav-h);
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(27,108,168,0.3);
  /* overflow: hidden; ← supprimé car coupe les dropdowns */
}
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
 
}
.nav-logo > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.nav-logo-icon {
  width: 30px; height: 36px;
  border-radius: 50%;
  background: var(--soleil);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 18px;
  line-height: 1.2;
}

.nav-logo-sub {
  color: rgba(255,255,255,0.6);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  line-height: 1.4;
  margin-top: 1px;
}

/* Logo PNG dans la navbar */
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  }

/* Desktop nav */
.nav-desktop {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-burger {
  display: flex !important;
}

.nav-desktop a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}

.nav-desktop a:hover { color: var(--soleil-light); }

.nav-cta-btn {
  background: var(--soleil);
  color: var(--texte) !important;
  padding: 7px 14px;
  border-radius: 16px;
  font-weight: 800 !important;
}
/* Liens du menu principal */

.nav-desktop > li > a {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px 10px;  /* plus d'espace en haut qu'en bas */
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
  display: block;
}
.nav-desktop > li > a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}

.nav-desktop > li.current-menu-item > a {
  color: var(--soleil-light);
}
/* current-page-ancestor supprimé — colorait "Découvrir" en jaune depuis l'accueil */

/* APRÈS — cible la classe explicite (robuste) */
.nav-desktop > li.nav-cta-contact > a {
  background: var(--soleil);
  color: var(--texte) !important;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
}
.nav-desktop > li.nav-cta-contact > a:hover {
  background: var(--soleil-light);
}

/* Sous-menu déroulant */
.nav-desktop li { position: relative; }
/* APRÈS — transition douce, largeur mieux contrôlée */
.nav-desktop .sub-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--texte);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 0;
  width: max-content;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 500;
  list-style: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-desktop li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Les liens dans les sous-menus : autoriser le retour à la ligne */

.nav-desktop .sub-menu li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  transition: all .2s;
  white-space: nowrap;
  line-height: 1.35;
}
.nav-desktop .sub-menu li a:hover {
  color: var(--soleil-light);
  background: rgba(255,255,255,0.06);
  padding-left: 22px;
}
/* Burger */
.nav-burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(27,108,168,0.98);
  backdrop-filter: blur(12px);
  padding: 16px 4% 24px;
  z-index: 199;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile.open { display: block; }

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background .2s;
}

.nav-mobile a:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-mobile .nav-cta-btn {
  background: var(--soleil);
  color: var(--texte) !important;
  margin-top: 8px;
  text-align: center;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 16px) 4% 72px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,35,55,0.2) 0%,
    rgba(15,35,55,0.1) 40%,
    rgba(15,35,55,0.6) 70%,
    rgba(15,35,55,0.82) 100%
  );
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--blanc);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: fadeUp .9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 28px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px,12vw,92px);
  color: white;
  line-height: .95;
  margin-bottom: 12px;
  text-shadow: 0 3px 40px rgba(0,0,0,0.4);
}

.hero-title em {
  color: var(--soleil-light);
  font-style: italic;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(14px,3.5vw,18px);
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-credit {
  position: absolute;
  bottom: 72px; right: 12px;
  z-index: 3;
  color: rgba(255,255,255,0.4);
  font-size: 9px;
  letter-spacing: 1px;
}

/* =============================================
   BOUTONS
   ============================================= */
.btn-soleil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soleil);
  color: var(--texte);
  padding: 13px 22px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(245,166,35,0.5);
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-soleil:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.65);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 13px 22px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-ghost:hover { background: rgba(255,255,255,0.28); }

.btn-fb-hero {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(24,119,242,0.22);
  backdrop-filter: blur(8px);
  color: white;
  border: 1.5px solid rgba(24,119,242,0.5);
  padding: 13px 18px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 13px;
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-fb-hero em { font-style: normal; font-weight: 800; }
.btn-fb-hero:hover {
  background: rgba(24,119,242,0.45);
  border-color: rgba(24,119,242,0.8);
}

.btn-rhone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rhone);
  color: white;
  padding: 13px 24px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 20px rgba(27,108,168,0.3);
  transition: all .2s;
}

.btn-rhone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(27,108,168,0.45);
}

.btn-aides {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--vert);
  padding: 13px 24px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-aides:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}

/* =============================================
   STATS
   ============================================= */
.stats-band {
  background: var(--rhone);
  padding: 20px 4%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}

.stat { text-align: center; min-width: 80px; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px,5vw,36px);
  color: white;
  display: block;
  line-height: 1;
}

.stat-label {
  color: white;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
  display: block;
}

/* =============================================
   AGENDA DÉFILANT
   ============================================= */
.agenda-band {
  background: var(--rhone-pale);
  padding: 14px 4%;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  border-bottom: 2px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.agenda-band::-webkit-scrollbar { height: 3px; }
.agenda-band::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.agenda-label {
  color: var(--rhone);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 6px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.agenda-date { color: var(--rhone); font-weight: 700; font-size: 12px; }
.agenda-event { color: var(--gris); font-size: 12px; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 48px 4%; }
.section-alt { padding: 48px 4%; background: var(--ciel); }

.section-label {
  color: var(--rhone-mid);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px,5vw,38px);
  color: var(--texte);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 10px;
  flex-wrap: wrap;
}

.see-all {
  color: var(--rhone);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid var(--rhone-pale);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color .2s;
}

.see-all:hover { border-color: var(--rhone); }

/* =============================================
   ACTUALITÉS
   ============================================= */
.actu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.actu-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
}

.actu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rhone-light);
}

.actu-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.actu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.img-bleu  { background: linear-gradient(135deg,#B0D8F5,#E0F2FF); }
.img-vert  { background: linear-gradient(135deg,#A8EDD1,#E6F8F0); }
.img-or    { background: linear-gradient(135deg,#FFE9A0,#FFF8E0); }
.img-rouge { background: linear-gradient(135deg,#FFCCCB,#FFF0EF); }

.actu-body { padding: 16px 18px 18px; }

.actu-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rhone);
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.actu-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--texte);
  line-height: 1.35;
  margin-bottom: 6px;
}

.actu-date { font-size: 11px; color: var(--gris); }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin-top: 24px;
}

.svc-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
  transition: transform .2s;
}

.svc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--texte);
  transition: color .2s;
  line-height: 1.3;
}

/* =============================================
   INFOS RAPIDES
   ============================================= */
.ir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.ir-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.ir-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--rhone);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity .2s;
}

.ir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--rhone-light); }
.ir-card:hover::before { opacity: 1; }

.ir-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--rhone-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ir-ico.fb    { background: #e7f0fd; }
.ir-ico.alert { background: #FFF3CD; }

.ir-body { flex: 1; }

.ir-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 700;
  margin-bottom: 3px;
  display: block;
}

.ir-title { font-weight: 800; color: var(--texte); font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
.ir-desc  { font-size: 12px; color: var(--gris); line-height: 1.5; }

.ir-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  background: var(--rhone);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 16px;
  transition: all .2s;
}

.ir-btn:hover { background: var(--rhone-mid); }
.ir-btn.fb-btn { background: #1877F2; }
.ir-btn.fb-btn:hover { background: #166FE5; }

.ir-badge-alert {
  position: absolute;
  top: 14px; right: 14px;
  background: #DC3545;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =============================================
   COMMERCES APERÇU
   ============================================= */
.commerce-apercu {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.ca-card {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
  cursor: pointer;
}

.ca-card:hover { background: var(--soleil); border-color: var(--soleil); }
.ca-card:hover .ca-name { color: var(--texte); }
.ca-icon { font-size: 20px; flex-shrink: 0; }
.ca-name { font-size: 12px; color: white; font-weight: 700; line-height: 1.3; }

/* =============================================
   ATOUTS
   ============================================= */
.atouts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.atout {
  background: var(--ciel);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: all .2s;
}

.atout:hover { border-color: var(--rhone-light); background: var(--rhone-pale); }

.atout-ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--rhone);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.atout-title { font-weight: 700; color: var(--texte); font-size: 13px; }
.atout-sub   { font-size: 11px; color: var(--gris); margin-top: 2px; line-height: 1.4; }

/* =============================================
   SECTION AIDES (VERTE)
   ============================================= */
.aides-band {
  background: linear-gradient(135deg, var(--vert) 0%, #1E8A58 100%);
  padding: 48px 4%;
  text-align: center;
}

.aides-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 18px;
  margin-bottom: 14px;
}

.aides-band .section-title { color: white; text-align: center; }

.aides-desc {
  color: rgba(255,255,255,0.8);
  max-width: 420px;
  margin: 10px auto 24px;
  font-size: 14px;
  line-height: 1.7;
}

/* =============================================
   VIVRE À ANDANCE
   ============================================= */
.vivre-section {
  padding: 52px 4%;
  background: linear-gradient(160deg, #EAF5FF 0%, var(--blanc) 100%);
}

.vivre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.vivre-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .2s;
}

.vivre-item:hover { border-color: var(--rhone-light); box-shadow: var(--shadow-sm); }

.vivre-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--rhone);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.vivre-title { font-weight: 800; color: var(--texte); font-size: 14px; }
.vivre-sub   { font-size: 12px; color: var(--gris); line-height: 1.4; margin-top: 2px; }

.vivre-cta { text-align: center; margin-top: 28px; }

/* =============================================
   REPÈRES ANDANCE
   ============================================= */
.reperes-section {
  padding: 52px 4%;
  background: var(--texte);
}

.reperes-section .section-label { color: var(--soleil); }
.reperes-section .section-title { color: white; }

.reperes-lead {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 520px;
}

.reperes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.repere-item {
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background .2s;
}

.repere-item:hover { background: rgba(255,255,255,0.07); }

.repere-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--soleil-light);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  text-align: right;
}

.repere-title { font-weight: 800; color: white; font-size: 14px; line-height: 1.3; }
.repere-desc  { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6; margin-top: 3px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--texte);
  padding: 40px 4% 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-name { font-family: 'Playfair Display', serif; color: white; font-size: 22px; }

.footer-sub {
  color: var(--soleil);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.footer-desc { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.7; }

.footer-col-title {
  color: var(--rhone-light);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links li { margin-bottom: 7px; }

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover { color: var(--soleil-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 18px;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
}

.footer-bottom a { color: rgba(255,255,255,0.35); }

.social-links { display: flex; gap: 10px; margin-top: 14px; }

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s;
}

.social-link:hover { background: var(--rhone); }

/* =============================================
   PAGE INTÉRIEURE — HERO
   ============================================= */
.page-hero {
  padding: calc(var(--topbar-h, 36px) + var(--nav-h) + 40px) 4% 40px;
  background: linear-gradient(135deg, var(--rhone) 0%, #1a5a8e 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 40px;
  background: var(--blanc);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.page-hero-label {
  color: var(--soleil);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px,7vw,52px);
  color: white;
  line-height: 1.1;
  margin-bottom: 10px;
}

.page-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 500px;
  line-height: 1.6;
}

/* =============================================
   TABLEAUX & CONTENUS INTÉRIEURS
   ============================================= */
.content-block {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.content-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--texte);
  margin-bottom: 12px;
}

.content-block p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Elu card */
.elu-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: all .2s;
}

.elu-card:hover { border-color: var(--rhone-light); box-shadow: var(--shadow-sm); }

.elu-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--rhone-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  border: 3px solid var(--border);
}

.elu-name  { font-weight: 800; color: var(--texte); font-size: 14px; }
.elu-role  { font-size: 11px; color: var(--rhone); font-weight: 700; margin-top: 3px; }
.elu-extra { font-size: 11px; color: var(--gris); margin-top: 4px; line-height: 1.4; }

/* Association card */
.asso-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all .2s;
}

.asso-card:hover { border-color: var(--rhone-light); box-shadow: var(--shadow-sm); }

.asso-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--rhone-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.asso-name    { font-weight: 800; color: var(--texte); font-size: 14px; }
.asso-cat     { font-size: 10px; color: var(--rhone); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; display: block; }
.asso-desc    { font-size: 12px; color: var(--gris); margin-top: 6px; line-height: 1.5; }
.asso-contact { font-size: 11px; color: var(--rhone); margin-top: 6px; }

/* Commerce card */
.commerce-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all .2s;
}

.commerce-card:hover { border-color: var(--rhone-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.commerce-ico {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.commerce-name { font-weight: 800; color: var(--texte); font-size: 14px; }
.commerce-type { font-size: 10px; color: var(--rhone); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; display: block; }
.commerce-info { font-size: 12px; color: var(--gris); margin-top: 6px; line-height: 1.5; }

/* Formulaire de contact */
.contact-form { max-width: 600px; }

.form-row { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--texte);
  background: white;
  transition: border-color .2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--rhone); }

.form-textarea { min-height: 120px; resize: vertical; }

/* =============================================
   UTILITAIRES
   ============================================= */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }

/* =============================================
   RESPONSIVE — TABLETTE & DESKTOP
   ============================================= */
@media (min-width: 600px) {
  .actu-grid        { grid-template-columns: repeat(2,1fr); }
  .ir-grid          { grid-template-columns: repeat(2,1fr); }
  .vivre-grid       { grid-template-columns: repeat(2,1fr); }
  .reperes-grid     { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 600px) {
  .site-nav     { padding: 0 5%; }
  .nav-desktop  { display: flex !important; }
  .nav-burger   { display: none !important; }

  .section,
  .section-alt,
  .vivre-section,
  .reperes-section { padding: 64px 5%; }

  .aides-band { padding: 60px 5%; }

  .hero {
    padding: calc(var(--nav-h) + 20px) 5% 90px;
  }

  .hero::after { height: 80px; }

  .actu-grid    { grid-template-columns: repeat(3,1fr); }
  .ir-grid      { grid-template-columns: repeat(2,1fr); }
  .vivre-grid   { grid-template-columns: repeat(3,1fr); }
  .reperes-grid { grid-template-columns: repeat(2,1fr); }
  .atouts-grid  { grid-template-columns: repeat(4,1fr); }
  .services-grid { grid-template-columns: repeat(4,1fr); }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: start;
  }

  .page-hero {
    padding: calc(var(--topbar-h, 36px) + var(--nav-h) + 70px) 5% 60px;
  }
}

@media (min-width: 1024px) {
  .section,
  .section-alt,
  .vivre-section,
  .reperes-section { padding: 72px 6%; }
  .site-nav { padding: 0 6%; }
  .hero { padding: calc(var(--nav-h) + 24px) 6% 100px; }
  .actu-grid { grid-template-columns: repeat(3,1fr); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================
   RESPONSIVE — TOPBAR
   ============================================= */
.topbar { font-size: 11.5px; }
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
}
.topbar-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .15s;
}
.topbar-link:hover { color: var(--soleil); }
.topbar-spacer { flex: 1; }
.topbar-urgences {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #FF6B6B;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.topbar-urgences:hover { color: #FF8E8E; }

@media (max-width: 767px) {
  /* Topbar mobile — masquée */
  .topbar { display: none !important; }
  .topbar-hide-mobile { display: none !important; }
  .topbar-spacer { display: none; }
  .topbar-urgences { margin-left: auto; }
  .topbar-inner { gap: 10px; padding: 7px 4%; flex-wrap: nowrap; overflow-x: auto; }

  /* Page Contact — grilles 2 colonnes → 1 colonne */
  .contact-grid-2 { grid-template-columns: 1fr !important; }
  .contact-acces-grid { grid-template-columns: 1fr !important; }
  .contact-conseils-grid { grid-template-columns: 1fr !important; }
  .contact-urgences-locales { grid-template-columns: 1fr !important; }
  .contact-form-grid { grid-template-columns: 1fr !important; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 80px) 4% 32px !important; }
  .page-hero-title { font-size: 28px !important; }

  /* Nav topbar */
  .site-nav { top: 0; }
  .admin-bar .site-nav { top: 46px; }
  body { padding-top: 0; }
}

@media (max-width: 480px) {
  .topbar { font-size: 10.5px; }
}

/* =============================================
   RESPONSIVE — PAGE CONTACT
   ============================================= */
@media (max-width: 767px) {
  /* Iframe carte pleine largeur */
  .contact-map-iframe { height: 220px !important; }
}

/* =============================================
   RESPONSIVE — PAGE SERVICES
   ============================================= */
.services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) {
  .services-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .services-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .services-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================
   COMMERCES — Grille responsive
   ============================================= */
.commerces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .commerces-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .commerces-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ============================================================
   PAGE ÉCOLES & PETITE ENFANCE
   À coller dans style.css du thème andance-theme
   ============================================================ */

/* ---- Grille chiffres clés ---- */
.ecoles-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 10px;
}
.stat-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: white;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 9px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---- Grille des écoles ---- */
.ecoles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 0;
}

/* ---- Carte école ---- */
.ecole-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all .2s;
}
.ecole-card:hover {
    border-color: var(--rhone-light, #5AAEE8);
    box-shadow: 0 6px 20px rgba(27,108,168,0.1);
    transform: translateY(-2px);
}
.ecole-top {
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.ecole-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.ecole-pub  { background: linear-gradient(135deg, #B0D8F5, var(--rhone-pale, #E0F2FF)); }
.ecole-priv { background: linear-gradient(135deg, #F0E4CC, #DCC5A0); }

.ecole-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--texte);
    margin-bottom: 3px;
}
.ecole-type {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}
.ecole-body {
    padding: 0 18px 18px;
}
.ecole-detail {
    font-size: 13px;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ---- MAM (Maison d'Assistantes Maternelles) ---- */
.mam-card {
    background: linear-gradient(135deg, #F5B8D4, #FFD6E8);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}
.mam-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.mam-emoji { font-size: 32px; }
.mam-nom {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--texte);
}
.mam-type {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #A0306A;
}
.mam-desc {
    font-size: 13px;
    color: var(--texte);
    line-height: 1.7;
    margin-bottom: 12px;
}
.mam-info-box {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    color: var(--texte);
    line-height: 1.8;
    margin-bottom: 12px;
}
.btn-mam-tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #A0306A;
    font-weight: 800;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 16px;
    transition: all .2s;
    text-decoration: none;
}
.btn-mam-tel:hover {
    background: #A0306A;
    color: white;
    transform: translateY(-2px);
}

/* ---- Bloc assistantes maternelles individuelles ---- */
.asm-bloc {
    background: #FFF0F6;
    border: 1.5px solid #F5C6DC;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}
.asm-titre {
    font-size: 11px;
    font-weight: 700;
    color: #A0306A;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.asm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.asm-card {
    background: white;
    border: 1.5px solid #F5C6DC;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.asm-nom {
    font-weight: 700;
    font-size: 13px;
    color: var(--texte);
}
.asm-adresse {
    font-size: 11px;
    color: var(--gris);
}
.asm-tel {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFF0F6;
    color: #A0306A;
    font-weight: 700;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #F5C6DC;
    text-decoration: none;
    transition: all .2s;
}
.asm-tel:hover {
    background: #A0306A;
    color: white;
}
.asm-avertissement {
    font-size: 11px;
    color: #C080A0;
    margin-top: 10px;
    font-style: italic;
}

/* ---- RAM ---- */
.ram-card {
    background: var(--vert-pale, #E8F8F1);
    border: 1.5px solid #B0E8CC;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ram-emoji { font-size: 26px; flex-shrink: 0; }
.ram-titre {
    font-weight: 800;
    color: var(--texte);
    font-size: 14px;
    margin-bottom: 4px;
}
.ram-desc {
    font-size: 13px;
    color: var(--gris);
    line-height: 1.6;
    margin-bottom: 6px;
}
.ram-horaires {
    font-size: 12px;
    color: var(--vert, #27A468);
    font-weight: 600;
}

/* ---- Bandeau CTA ---- */
.cta-band {
    background: var(--rhone);
    padding: 40px 4%;
}
.cta-band-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.cta-band-title {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: clamp(20px, 4vw, 28px);
    margin-bottom: 6px;
}
.cta-band-sub {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}
.cta-band-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--soleil);
    color: var(--texte);
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 24px;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}
.cta-band-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ============================================================
   RESPONSIVE — Écoles
   ============================================================ */
@media (min-width: 600px) {
    .ecoles-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .ecoles-grid       { grid-template-columns: repeat(2, 1fr); }
    .asm-grid          { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cta-band-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ============================================================
   CLASSES COMMUNES — Service cards (sc-*) & icônes (ic-*)
   Utilisées sur page-ecoles.php, page-demarches.php, etc.
   ============================================================ */

/* Carte service générique */
.service-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all .2s;
}
.service-card:hover {
    border-color: #5AAEE8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27,108,168,0.1);
}

/* Icône carrée dans une service-card */
.sc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.ic-blue   { background: #E0F2FF; }
.ic-green  { background: #E8F8F1; }
.ic-orange { background: #FFF3CC; }
.ic-pink   { background: #FFF0F6; }

/* Textes dans une service-card */
.sc-title {
    font-weight: 800;
    color: var(--texte);
    font-size: 14px;
    margin-bottom: 4px;
}
.sc-text {
    font-size: 12px;
    color: var(--gris);
    line-height: 1.6;
}

/* Bouton téléphone */
.sc-tel {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #E0F2FF;
    color: var(--rhone);
    font-weight: 700;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 6px;
    text-decoration: none;
    transition: all .2s;
}
.sc-tel:hover {
    background: var(--rhone);
    color: white;
}

/* Bouton lien externe */
.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--ciel);
    color: var(--gris);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 6px;
    margin-left: 4px;
    text-decoration: none;
    transition: all .2s;
}
.sc-link:hover {
    background: #E0F2FF;
    color: var(--rhone);
}
/* ============================================================
   PAGE DÉMARCHES ADMINISTRATIVES
   À coller à la fin de style.css du thème andance-theme
   ============================================================ */

/* ---- En-tête de catégorie ---- */
.dem-cat-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.dem-cat-header .sc-icon {
    flex-shrink: 0;
    font-size: 26px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
}
.dem-cat-desc {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.7;
    margin-top: 4px;
}

/* ---- Grille des démarches ---- */
.dem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* ---- Carte démarche ---- */
.dem-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    transition: all .2s;
}
.dem-card:hover {
    border-color: #5AAEE8;
    box-shadow: 0 4px 14px rgba(27,108,168,0.08);
    transform: translateY(-2px);
}
.dem-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.dem-card-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.dem-card-titre {
    font-weight: 800;
    font-size: 14px;
    color: var(--texte);
    line-height: 1.3;
}
.dem-card-texte {
    font-size: 13px;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 12px;
}
.dem-card-lien {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rhone);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 14px;
    text-decoration: none;
    transition: all .2s;
}
.dem-card-lien:hover {
    background: #2D88CC;
    transform: translateY(-1px);
}

/* ---- Grille liens rapides (info-card) ---- */
/* Les classes .info-grid, .info-card, .info-ico, .info-title,
   .info-sub et .info-arrow sont communes à plusieurs pages.
   On les ajoute ici si elles ne sont pas encore dans style.css. */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.info-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.info-card:hover {
    border-color: #5AAEE8;
    background: #E0F2FF;
}
.info-ico {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #E0F2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.info-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--texte);
}
.info-sub {
    font-size: 11px;
    color: var(--gris);
    margin-top: 2px;
}
.info-arrow {
    margin-left: auto;
    color: var(--rhone);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — Démarches
   ============================================================ */
@media (min-width: 600px) {
    .dem-grid  { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .dem-grid  { grid-template-columns: repeat(3, 1fr); }
    .info-grid { grid-template-columns: repeat(3, 1fr); }
}
/* =============================================
   ASSOCIATIONS — Grille responsive
   À ajouter à la fin de style.css
   ============================================= */
.asso-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .asso-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .asso-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ============================================================
   MASQUER LE HEADER NATIF DE KADENCE
   On utilise notre propre header.php à la place
   ============================================================ */
#masthead {
    display: none !important;
}
/* Décalage barre admin WordPress */
.admin-bar .topbar {
    top: 32px;
}
.admin-bar .site-nav {
    top: 68px;
}

@media screen and (max-width: 782px) {
    .admin-bar .topbar {
        top: 46px;
    }
    .admin-bar .site-nav {
        top: 82px;
    }
}
/* =============================================
   FOOTER — Bloc communauté de communes
   ============================================= */
.footer-comcom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.footer-comcom-text {
  font-size: 0.78rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-comcom-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-comcom-link:hover {
  opacity: 1;
  transform: scale(1.03);
}

.footer-comcom-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
}

@media (max-width: 480px) {
  .footer-comcom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Logo Département de l'Ardèche --- */
.footer-dept {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.footer-dept-text {
  font-size: 0.78rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-dept-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-dept-link:hover {
  opacity: 1;
  transform: scale(1.03);
}

.footer-dept-logo {
  width: 160px;
  height: auto;
  display: block;
}

/* =============================================
   HERO VIDÉO
   ============================================= */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  pointer-events: none;
}

.hero-video--fading  { opacity: 0; }
.hero-video--hidden  { display: none; }
/* =============================================
   ARTICLE INDIVIDUEL (single.php)
   ============================================= */
.article-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--texte);
}
.article-content p {
  margin-bottom: 20px;
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--texte);
  margin: 32px 0 12px;
}
.article-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--rhone);
  margin: 24px 0 8px;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li {
  margin-bottom: 6px;
}
.article-content strong {
  color: var(--texte);
  font-weight: 800;
}
.article-content a {
  color: var(--rhone);
  text-decoration: underline;
}
.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}
.article-content blockquote {
  border-left: 4px solid var(--rhone-light);
  padding: 12px 20px;
  background: var(--ciel);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gris);
}

/* ── Grille conseillers municipaux ── */
.conseillers-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 400px) {
  .conseillers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
