/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Charte Graphique Laplume)
   ========================================================================== */
:root {
    --primary-color: #00474d;
    /* Vert Foncé officiel */
    --primary-color-rgb: 0, 71, 77;
    --primary-dark: #002f33;
    /* Vert Très Foncé pour pied de page / accents */
    --primary-light: #005f66;
    /* Vert Moyen pour hovers */
    --secondary-color: #97b791;
    /* Vert Sauge officiel */
    --secondary-color-rgb: 151, 183, 145;
    --secondary-light: #eaf1eb;
    /* Vert Sauge très clair pour fonds */
    --dark-text: #1f2d2f;
    /* Anthracite avec nuance verte */
    --light-text: #ffffff;
    --bg-light: #f7faf9;
    /* Gris très clair verdâtre */
    --bg-white: #ffffff;
    --border-color: #e2e9e7;

    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Great Vibes', cursive;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --shadow-sm: 0 4px 6px rgba(0, 71, 77, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 71, 77, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 71, 77, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--bg-light);
    overflow-x: hidden;
    height: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

li {
    list-style: none;
}

/* Common Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 50px auto;
    border-radius: 2px;
}

.divider-light {
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 25px;
    border-radius: 1.5px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* ==========================================================================
   HEADER NAVIGATION (Transparent -> Scrolled Style)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 25px 0;
    transition: var(--transition-smooth);
}

/* Scrolled Header Style */
.main-header.scrolled {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-header.scrolled .logo-img {
    height: 50px;
}

/* Nav Menu Desktop */
.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-text);
    padding: 10px 15px;
    display: block;
    position: relative;
    letter-spacing: 0.5px;
}

/* Nav Link Hover Underline Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.nav-link:hover::after,
.nav-item:hover>.nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dropdown Menu styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 71, 77, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 250px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    padding: 12px 0;
    border-top: 3px solid var(--secondary-color);
    z-index: 100;
}

.dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 24px;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    color: var(--light-text);
    background-color: rgba(151, 183, 145, 0.2);
    padding-left: 28px;
}

.nav-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nested Dropdown (Level 3) */
.nested-dropdown {
    position: relative;
}

.nested-dropdown>a::after {
    content: '\203A';
    float: right;
    font-weight: bold;
    transform: scale(1.3);
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: -12px;
    background-color: rgba(0, 71, 77, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: var(--transition-smooth);
    padding: 12px 0;
    border-left: 3px solid var(--secondary-color);
}

.nested-dropdown:hover>.nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* External Link Icon in Navigation Dropdowns */
.nav-menu .dropdown-menu a[target="_blank"],
.nav-menu .dropdown-menu a[href^="http"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-menu .dropdown-menu a[target="_blank"]::after,
.nav-menu .dropdown-menu a[href^="http"]::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    opacity: 0.85;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.nav-menu .dropdown-menu a[target="_blank"]:hover::after,
.nav-menu .dropdown-menu a[href^="http"]:hover::after {
    opacity: 1;
}

/* Burger Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--light-text);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO DIAPORAMA pleins écran (Fonroche Lighting-style)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Slider Backgrounds */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

/* Dark Gradient Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 20, 22, 0.65) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 71, 77, 0.8) 100%);
    z-index: 2;
}

/* Hero Centered Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-text);
    max-width: 900px;
    padding: 0 20px;
    margin-top: 50px;
}

.hero-title {
    font-size: 5.5rem;
    font-family: var(--font-accent);
    color: var(--light-text);
    margin-bottom: 0px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background-color: var(--light-text);
    margin: 0 auto 30px auto;
    border-radius: 1.5px;
    animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    opacity: 0;
}

/* Slider Manual Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.slider-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.slider-control:hover {
    background: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    width: 25px;
    border-radius: 5px;
}

/* Animated Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: var(--light-text);
    opacity: 0.85;
    transition: var(--transition-fast);
}

.scroll-down-indicator:hover {
    opacity: 1;
    margin-bottom: -5px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--light-text);
    border-radius: 13px;
    position: relative;
    margin-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-out infinite;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--light-text);
    border-bottom: 2px solid var(--light-text);
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
}

/* ==========================================================================
   QUICK LINKS (Accès Rapide) SECTION
   ========================================================================== */
.quick-links-section {
    padding: 100px 0 80px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

/* Floating Card Layout Overlaying Hero slightly */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: -140px;
    /* Overlap effect */
    position: relative;
    z-index: 12;
}

.quick-link-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.quick-link-card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: rotateY(180deg);
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.quick-link-card p {
    font-size: 0.95rem;
    color: rgba(31, 45, 47, 0.8);
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-more {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   ACTUALITÉS (News) SECTION
   ========================================================================== */
.actualites-section {
    padding: 80px 0 100px 0;
    background-color: var(--bg-white);
    scroll-margin-top: 50px;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 450px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
    pointer-events: none;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 77, 0.02);
    transition: var(--transition-smooth);
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.news-card:hover::before {
    background: rgba(0, 71, 77, 0.08);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light-text);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-actu {
    background-color: #0284c7;
}

.badge-event {
    background-color: #d97736;
}

.badge-assoc {
    background-color: #0d9488;
}

.badge-urban {
    background-color: var(--primary-color);
}

.badge-patrimoine {
    background-color: #8b6b55;
}

.badge-doc {
    background-color: var(--secondary-color);
}

.news-content {
    margin-top: auto;
    height: 33.333%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    padding: 18px 24px;
    width: 100%;
    z-index: 2;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card:hover .news-content {
    background: rgba(255, 255, 255, 0.94);
}

.news-meta {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-pinned-badge {
    font-size: 0.72rem;
    background: #fef3c7;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.news-card-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-fast);
}

.news-card:hover .news-card-title {
    color: var(--primary-light);
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(31, 45, 47, 0.85);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-archive-link {
    margin-top: 40px;
}

/* ==========================================================================
   INFO & CONTACT SECTION
   ========================================================================== */
.info-contact-section {
    background-color: var(--bg-light);
}

.info-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 550px;
}

/* Left side: Town Presentation */
.town-presentation {
    flex: 1 1 50%;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    background-color: var(--secondary-light);
    position: relative;
    overflow: hidden;
}

.town-presentation::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(151, 183, 145, 0.15);
    z-index: 0;
}

.presentation-content {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.presentation-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: rgba(31, 45, 47, 0.9);
}

.town-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(31, 45, 47, 0.75);
    letter-spacing: 0.5px;
}

/* Right side: Contact Card container */
.contact-hours-container {
    flex: 1 1 50%;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    color: var(--light-text);
    box-shadow: 0 30px 60px rgba(0, 20, 22, 0.3);
}

.contact-card-title {
    color: var(--light-text);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(151, 183, 145, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-text span,
.contact-text a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 40px 0 24px 0;
    border-top: 4px solid var(--secondary-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}

.footer-identity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.5;
        top: 18px;
    }

    100% {
        opacity: 0;
        top: 18px;
    }
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-6px) rotate(45deg);
    }

    60% {
        transform: translateY(-3px) rotate(45deg);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* Large Screens */
@media (max-width: 1199px) {
    .town-presentation {
        padding: 80px 40px;
    }

    .contact-hours-container {
        padding: 80px 40px;
    }
}

/* Tablets (landscape) */
@media (max-width: 991px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .quick-links-grid {
        margin-top: -80px;
        gap: 20px;
    }

    .town-presentation,
    .contact-hours-container {
        flex: 1 1 100%;
        padding: 80px 30px;
    }
}

/* Tablets (portrait) & Phones */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 55px;
    }

    .main-header.scrolled .logo-img {
        height: 45px;
    }

    /* Navigation drawer overlay on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-dark);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 999;
        transition: var(--transition-smooth);
        display: block;
        padding: 100px 30px 40px 30px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    /* Dropdowns in Mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.04);
        border: none;
        border-left: 2px solid var(--secondary-color);
        box-shadow: none;
        margin: 5px 0 10px 10px;
        padding: 5px 0;
        display: none;
        /* Controlled by JS */
    }

    .nav-item.active>.dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .nested-dropdown>a::after {
        transform: rotate(90deg);
        display: inline-block;
        margin-left: 10px;
    }

    .nested-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        border: none;
        box-shadow: none;
        margin-left: 10px;
        padding: 0;
        display: none;
        /* Controlled by JS */
    }

    .nested-dropdown.active>.nested-menu {
        display: block;
    }

    /* Hamburger Active/Open Animation */
    .mobile-menu-toggle.active .burger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active .burger-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .burger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Responsive */
    .hero-title {
        font-size: 3.25rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .slider-controls {
        bottom: 30px;
        left: 20px;
        right: 20px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
    }

    /* Sections spacing */
    .quick-links-section {
        padding-top: 110px;
    }

    .quick-links-grid {
        margin-top: -60px;
    }

    .town-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   PAGE ARTICLE / SUBPAGES STYLING
   ========================================================================== */
.page-content-container {
    padding: 160px 0 100px 0;
    /* Add top padding to clear fixed header */
    background-color: var(--bg-light);
    min-height: 80vh;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumbs span {
    text-transform: capitalize;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-divider-left {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 0 40px 0;
    border-radius: 2px;
}

.rich-text-content {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.rich-text-content h2,
.rich-text-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.rich-text-content p {
    margin-bottom: 20px;
}

.rich-text-content a,
.article-body-content a {
    color: #0284c7;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.rich-text-content a:hover,
.article-body-content a:hover {
    color: #0369a1;
}

.rich-text-content img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    height: auto;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
}

.rich-text-content th,
.rich-text-content td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.rich-text-content th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.redirect-info {
    text-align: center;
    padding: 40px;
}

.redirect-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-content-container {
        padding-top: 120px;
    }

    .page-title {
        font-size: 2rem;
    }

    .rich-text-content {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   SUBPAGE HERO BANNER WITH SLIDESHOW
   ========================================================================== */
.subpage-hero {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.subpage-hero+.page-content-container {
    padding-top: 25px;
}

.subpage-hero+.page-content-container .page-title,
.subpage-hero+.page-content-container .section-divider-left {
    display: none;
}

.subpage-hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-text);
    max-width: 900px;
    padding: 0 20px;
    margin-top: 50px;
}

.subpage-hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--light-text);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .subpage-hero {
        height: 220px;
    }

    .subpage-hero-title {
        font-size: 1.8rem;
    }

    .subpage-hero+.page-content-container {
        padding-top: 25px;
    }
}

/* ==========================================================================
   LE PETIT PENNAVIEN - ARCHIVE PDF GRID & MODAL VIEWER
   ========================================================================== */

/* Search Container */
.pdf-search-section {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.pdf-search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.pdf-search-container input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-text);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    outline: none;
}

.pdf-search-container input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(151, 183, 145, 0.15);
}

.pdf-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(31, 45, 47, 0.4);
    pointer-events: none;
    transition: var(--transition-fast);
}

.pdf-search-container input:focus+.search-icon {
    color: var(--primary-color);
}

/* Featured Section */
.pdf-featured-section {
    margin-bottom: 50px;
}

.pdf-featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.pdf-featured-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.pdf-featured-card {
    background: linear-gradient(135deg, rgba(0, 71, 77, 0.04) 0%, rgba(151, 183, 145, 0.08) 100%);
    border: 1px solid rgba(0, 71, 77, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pdf-featured-card::before {
    content: 'Nouveau';
    position: absolute;
    top: 25px;
    right: -35px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 100px;
    height: 100px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0, 71, 77, 0.25);
    transition: var(--transition-smooth);
}

.featured-icon-wrapper svg {
    width: 50px;
    height: 50px;
}

.pdf-featured-card:hover .featured-icon-wrapper {
    transform: scale(1.05) rotate(-5deg);
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(151, 183, 145, 0.4);
}

.featured-content {
    flex-grow: 1;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.featured-meta {
    font-size: 1rem;
    color: rgba(31, 45, 47, 0.75);
    margin-bottom: 20px;
    font-weight: 500;
}

.featured-actions {
    display: flex;
    gap: 15px;
}

/* Archives Grid */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    transition: opacity 0.3s ease;
}

.pdf-card {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 400px;
    background-color: var(--bg-light);
    /* Fallback */
    cursor: pointer;
    /* Clickable */
}

.pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 77, 0.02);
    transition: var(--transition-smooth);
    z-index: 1;
}

.pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.pdf-card:hover::before {
    background: rgba(0, 71, 77, 0.08);
}

/* Glassmorphic card content drawer */
.pdf-card-glass {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    padding: 24px;
    width: 100%;
    z-index: 2;
    transition: var(--transition-smooth);
}

.pdf-card:hover .pdf-card-glass {
    background: rgba(255, 255, 255, 0.94);
}

.pdf-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.pdf-card .pdf-meta {
    font-size: 0.9rem;
    color: rgba(31, 45, 47, 0.75);
    margin-bottom: 20px;
    font-weight: 500;
}

.pdf-grid-item {
    transition: all 0.3s ease;
}

.pdf-card-actions {
    display: flex;
    gap: 10px;
}

.pdf-card-actions .btn,
.featured-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    flex: 1;
}

.btn-view-pdf {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-view-pdf:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-download-pdf {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-download-pdf:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Empty search state */
.pdf-empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pdf-empty-state .empty-icon {
    font-size: 3rem;
    color: rgba(31, 45, 47, 0.2);
}

.pdf-empty-state h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.pdf-empty-state p {
    color: rgba(31, 45, 47, 0.6);
    max-width: 400px;
}

/* Modal PDF Viewer */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 47, 51, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pdf-modal-container {
    position: relative;
    background-color: var(--bg-white);
    width: 92%;
    height: 90%;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2002;
}

.pdf-modal.active .pdf-modal-container {
    transform: translateY(0);
}

.pdf-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.pdf-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-btn-download {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn-download:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.modal-btn-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: rgba(31, 45, 47, 0.5);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    padding: 0 5px;
}

.modal-btn-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.pdf-modal-body {
    flex-grow: 1;
    position: relative;
    background-color: #525659;
    /* Standard browser PDF viewer bg */
}

.pdf-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .pdf-featured-card {
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .pdf-featured-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .pdf-featured-card::before {
        top: 15px;
        right: -40px;
        font-size: 0.75rem;
    }

    .featured-actions {
        flex-direction: column;
        width: 100%;
    }

    .featured-actions .btn {
        width: 100%;
    }

    .pdf-modal-container {
        width: 96%;
        height: 94%;
    }

    .pdf-modal-header {
        padding: 12px 16px;
    }

    .pdf-modal-header h3 {
        font-size: 1rem;
    }

    .modal-btn-download {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   NOUVEL ARRIVANT (Welcome Page for Newcomers)
   ========================================================================== */

.newcomer-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.newcomer-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(31, 45, 47, 0.85);
}

.newcomer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .newcomer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.newcomer-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.newcomer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.newcomer-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.newcomer-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.newcomer-card-icon svg {
    width: 26px;
    height: 26px;
}

.newcomer-card:hover .newcomer-card-icon {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.newcomer-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.newcomer-card-list {
    margin-bottom: 0;
    flex-grow: 1;
}

.newcomer-card-list li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(31, 45, 47, 0.8);
}

.newcomer-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.newcomer-card-list li strong {
    color: var(--primary-color);
}

.newcomer-card-list a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.newcomer-card-list a:hover {
    color: var(--secondary-color);
}

/* Contact and Town Hall Section */
.newcomer-contact-section {
    background: linear-gradient(135deg, rgba(0, 71, 77, 0.03) 0%, rgba(151, 183, 145, 0.05) 100%);
    border: 1px solid rgba(0, 71, 77, 0.08);
    border-radius: 24px;
    padding: 45px;
    margin-top: 60px;
    box-shadow: var(--shadow-sm);
}

.newcomer-contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .newcomer-contact-section {
        padding: 30px 20px;
    }

    .newcomer-contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.newcomer-contact-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newcomer-contact-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(31, 45, 47, 0.8);
    margin-bottom: 25px;
}

.newcomer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.contact-info-content p {
    font-size: 0.95rem;
    color: rgba(31, 45, 47, 0.85);
    line-height: 1.5;
}

.contact-info-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--secondary-light);
    border-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0, 71, 77, 0.25);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: rgba(31, 45, 47, 0.3);
}

.pagination-btn.nav-btn {
    border-radius: 20px;
    padding: 0 16px;
}

/* ==========================================================================
   PAGE ÉLUS & COMMISSIONS MUNICIPALES (/vie-communale/elus/)
   ========================================================================== */
.elus-intro-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.elus-intro-text {
    flex: 1 1 500px;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.65;
}

.elus-intro-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.elus-btn-pv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.elus-btn-pv:hover {
    background: var(--primary-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 71, 77, 0.2);
}

.elus-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 14px;
}

.elus-nav-pill {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    border-radius: 10px;
    background: transparent;
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
}

.elus-nav-pill:hover,
.elus-nav-pill.active {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Carte prestige Madame le Maire */
.mayor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7faf9 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 71, 77, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.mayor-photo-wrap {
    position: relative;
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    margin: 0 auto;
}

.mayor-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 71, 77, 0.18);
}

.mayor-badge-echarpe {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #002664 0%, #ffffff 50%, #ed2939 100%);
    height: 6px;
    width: 70px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.mayor-info {
    flex: 1 1 400px;
}

.mayor-role-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.mayor-name {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.mayor-desc {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.mayor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mayor-tag {
    background: var(--secondary-light);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(151, 183, 145, 0.4);
}

/* Grilles des élus */
.elus-subheading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 36px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-light);
}

.elus-subheading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--secondary-light);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1.1rem;
}

.elus-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.elus-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.elu-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 71, 77, 0.04);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.elu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 71, 77, 0.1);
    border-color: var(--secondary-color);
}

.elu-card-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--secondary-color);
}

.elu-card.is-adjoint .elu-card-header-bar {
    background: var(--primary-color);
}

.elu-card.is-delegue .elu-card-header-bar {
    background: #0284c7;
}

.elu-avatar-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 14px;
    position: relative;
}

.elu-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.elu-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.elu-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    background: #f1f5f9;
    color: #475569;
}

.elu-card.is-adjoint .elu-role {
    background: #e0f2fe;
    color: #0369a1;
}

.elu-card.is-delegue .elu-role {
    background: #e0f7ef;
    color: #065f46;
}

.elu-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.elu-delegation {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
    margin-top: 4px;
}

/* Section Commissions */
.commissions-container {
    margin-top: 45px;
}

.commission-alert-presidence {
    background: var(--secondary-light);
    border-left: 4px solid var(--secondary-color);
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 26px;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.commissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.commission-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.commission-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 71, 77, 0.08);
    border-color: var(--secondary-color);
}

.commission-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.commission-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.commission-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.commission-responsable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.commission-members-list {
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.commission-members-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.commission-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.commission-member-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Section Délégations Extérieures */
.delegations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.delegation-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.delegation-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 22px rgba(0, 71, 77, 0.08);
}

.delegation-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.delegation-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 14px;
}

.delegation-members-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .mayor-card {
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }
    .mayor-tags {
        justify-content: center;
    }
    .elus-intro-box {
        padding: 18px;
    }
    .elus-grid-4,
    .elus-grid-3,
    .commissions-grid,
    .delegations-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PAGE DÉMARCHES ADMINISTRATIVES
   ========================================================================== */
.demarches-header {
    margin-bottom: 24px;
}

.demarches-intro {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 820px;
}

.demarches-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 36px;
}

.demarches-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.demarches-pill {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.demarches-pill:hover {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.demarches-toggle-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.demarches-section {
    margin-bottom: 48px;
    scroll-margin-top: 90px;
}

.demarches-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.demarches-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--light-text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.demarches-section-heading h2 {
    margin: 0;
    font-size: 1.55rem;
    color: var(--primary-color);
}

.demarches-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.demarche-accordion {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.demarche-accordion[open] {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.demarche-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    padding-right: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background-color 0.2s ease;
}

.demarche-accordion summary::-webkit-details-marker {
    display: none;
}

.demarche-accordion summary:hover {
    background: var(--bg-light);
}

.demarche-accordion summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
}

.demarche-accordion[open] summary::after {
    content: '−';
}

.demarche-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-color);
}

.demarche-question {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

.demarche-body {
    padding: 4px 22px 22px;
    border-top: 1px solid var(--border-color);
    color: var(--dark-text);
    line-height: 1.7;
}

.demarche-body p {
    margin: 14px 0 10px;
}

.demarche-steps,
.demarche-list {
    margin: 10px 0 14px;
    padding-left: 20px;
}

.demarche-steps li,
.demarche-list li {
    margin-bottom: 8px;
}

.demarche-steps ul {
    margin-top: 6px;
    padding-left: 20px;
}

.demarche-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 14px 0;
}

.demarche-subcard {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
}

.demarche-subcard h4 {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 1rem;
}

.demarche-subcard p,
.demarche-subcard ul {
    margin: 0;
    font-size: 0.94rem;
}

.demarche-subcard ul {
    padding-left: 18px;
}

.demarche-subcard li {
    margin-bottom: 6px;
}

.demarche-callout {
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0;
    font-size: 0.95rem;
    border-left: 4px solid var(--primary-color);
    background: var(--secondary-light);
    color: var(--dark-text);
}

.demarche-callout-warning {
    border-left-color: #d97706;
    background: #fef3c7;
    color: #78350f;
}

.demarche-meta {
    font-size: 0.95rem;
    color: #475569;
}

.demarche-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Location de salle & Tarifs */
.salle-highlight-card,
.demarche-static-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.demarche-static-card h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.demarche-static-card p {
    margin: 0;
    line-height: 1.7;
}

.salle-highlight-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.salle-highlight-header h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: var(--primary-color);
}

.salle-highlight-header p {
    margin: 0;
    color: #475569;
}

.salle-capacity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.capacity-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--secondary-light);
    color: var(--primary-dark);
    border: 1px solid var(--secondary-color);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.tarifs-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.94rem;
}

.tarifs-table thead th {
    background: var(--primary-color);
    color: var(--light-text);
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
}

.tarifs-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid var(--border-color);
    vertical-align: middle;
}

.tarifs-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.tarif-cell {
    font-weight: 600;
    color: var(--dark-text);
}

.tarif-muted {
    font-weight: 400;
    color: #64748b;
    font-size: 0.88rem;
}

.tarif-note {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

.tarif-badge-free {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tarifs-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.tarif-extra-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tarif-extra-label {
    font-size: 0.88rem;
    color: #475569;
    font-weight: 600;
}

.tarif-extra-value {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.salle-pieces-box {
    background: var(--secondary-light);
    border-radius: 12px;
    padding: 18px 20px;
}

.salle-pieces-box h4 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.02rem;
}

.salle-pieces-box ul {
    margin: 0;
    padding-left: 20px;
}

.salle-pieces-box li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .demarche-grid-2,
    .tarifs-extras-grid {
        grid-template-columns: 1fr;
    }

    .demarches-nav {
        padding: 12px;
    }

    .salle-highlight-card,
    .demarche-static-card {
        padding: 18px;
    }
}

/* ==========================================================================
   Page Horaires / Informations de la mairie (2 colonnes)
   ========================================================================== */
.mairie-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-top: 28px;
}

.mairie-contact-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 66, 74, 0.12);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 32px rgba(0, 42, 47, 0.06);
    display: flex;
    flex-direction: column;
}

.mairie-contact-card-title {
    color: var(--primary-color);
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.mairie-divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin-bottom: 28px;
}

.mairie-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mairie-contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mairie-contact-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(0, 66, 74, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mairie-contact-icon svg {
    width: 20px;
    height: 20px;
}

.mairie-contact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.mairie-contact-text span,
.mairie-contact-text a {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.55;
    text-decoration: none;
}

.mairie-contact-text a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.mairie-map-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 66, 74, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 42, 47, 0.06);
    min-height: 420px;
    display: flex;
}

.mairie-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .mairie-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mairie-contact-card {
        padding: 26px;
    }

    .mairie-map-card,
    .mairie-map-card iframe {
        min-height: 340px;
    }
}

/* ==========================================================================
   PAGE FRANCE SERVICES
   ========================================================================== */
.france-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.france-services-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
}

.france-services-visual img {
    margin: 0;
    box-shadow: none;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .france-services-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .france-services-visual {
        order: -1;
        padding: 1.5rem;
    }
}

