/* ============================================
   DESIGN MINIMALISTE PREMIUM - STYLE APPLE
   ============================================ */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* COULEURS OCLOCHER - Style exact */
:root {
    --color-primary: #4A7C59;      /* Vert OClocher */
    --color-accent: #FF9500;       /* Orange OClocher */
    --color-text: #1D1D1F;         /* Texte principal */
    --color-text-secondary: #6B7280; /* Texte secondaire */
    --color-background: #FFFFFF;   /* Fond principal */
    --color-background-alt: #F8F9FA; /* Fond alternatif */
    --color-border: rgba(0, 0, 0, 0.05); /* Bordures subtiles */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - Style minimaliste avec backdrop-blur
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.logo i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav a:hover {
    color: var(--color-primary);
    background-color: rgba(74, 124, 89, 0.08);
}

.nav a.active {
    background-color: var(--color-primary);
    color: white;
}

.nav a.cta-link {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
    background: rgba(74, 124, 89, 0.05);
}

.nav a.cta-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

.nav a.cta-link.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(74, 124, 89, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ============================================
   HERO SECTION - Style épuré et moderne
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BOUTONS - Style premium Apple
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(74, 124, 89, 0.25);
}

.btn-primary:hover {
    background: #3A6B47;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.35);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   MAIN CONTENT - Layout moderne
   ============================================ */

.main-content {
    padding-top: 72px; /* Hauteur du header fixe */
    min-height: calc(100vh - 72px);
    padding-bottom: 40px; /* Ajouter de l'espace en bas */
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 16px 0 32px;
}

.content-main {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-main h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.section-intro {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 400;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================
   WIDGETS - Style cards premium
   ============================================ */

.widget {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.widget:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.widget h3 i {
    color: var(--color-primary);
    font-size: 1rem;
}

.widget-content {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Widget Oclocher */
.widget-oclocher iframe {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================
   HORAIRES PERSONNALISÉS - Design Apple moderne scrollable
   ============================================ */

.horaires-container {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Container principal des horaires personnalisés */
.horaires-custom-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Style pour la scrollbar */
.horaires-custom-container::-webkit-scrollbar {
    width: 6px;
}

.horaires-custom-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horaires-custom-container::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
    opacity: 0.7;
}

.horaires-custom-container::-webkit-scrollbar-thumb:hover {
    background: #3A6B47;
}

/* Chaque horaire - Style OClocher Cards */
.horaire-item {
    background: var(--color-background-alt);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.horaire-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.horaire-item:last-child {
    margin-bottom: 0;
}

/* Date de la messe - Style OClocher avec accent orange */
.horaire-date {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Container des détails - Style OClocher */
.horaire-details {
    padding-left: 16px;
    border-left: 3px solid var(--color-primary);
}

/* Heure de la messe */
.horaire-time {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Lieu de la messe */
.horaire-lieu {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Footer avec lien vers messes.info */
.horaires-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.horaires-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.horaires-footer a:hover {
    text-decoration: underline;
    transform: translateY(-1px);
}

.horaires-footer a i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.EgliseInfo-container a:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTIONS - Style épuré
   ============================================ */

.hero-small {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.03) 0%, transparent 50%);
}

.hero-small .hero-content {
    position: relative;
}

.hero-small h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-small h2 i {
    color: var(--color-primary);
    font-size: 0.8em;
}

.hero-small p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* ============================================
   PAGE CONTENT - Layout spacieux
   ============================================ */

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 0;
}

.intro-section {
    text-align: center;
    margin-bottom: 64px;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
}

/* ============================================
   GRILLE DES SACREMENTS - Cards premium
   ============================================ */

.sacrements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.sacrement-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.sacrement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #3A6B47);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sacrement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.sacrement-card:hover::before {
    opacity: 1;
}

.sacrement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.sacrement-card:hover .sacrement-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    transform: scale(1.05);
}

.sacrement-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.sacrement-card:hover .sacrement-icon i {
    color: white;
}

.sacrement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.sacrement-card > p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.sacrement-info {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sacrement-info p {
    margin-bottom: 16px;
}

.sacrement-info ul {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.sacrement-info li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.sacrement-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.sacrement-info strong {
    color: var(--color-text);
    font-weight: 600;
}

/* CTA pour les cards cliquables */
.sacrement-cta {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sacrement-cta i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.sacrement-card:hover .sacrement-cta {
    color: #3A6B47;
}

.sacrement-card:hover .sacrement-cta i {
    transform: translateX(4px);
}

/* ============================================
   CONTACT PAGE - Layout moderne Apple
   ============================================ */

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Section contact principal - Mise en avant */
.main-contact-section {
    margin-bottom: 32px;
}

.main-contact-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    color: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.main-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.main-contact-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.main-contact-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.main-contact-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

.main-contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    position: relative;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-item i {
    color: white;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.contact-detail-item strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-detail-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.horaires-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horaires-grid div {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.time {
    font-weight: 500;
    color: white;
}

/* Section carte */
.map-section {
    margin: 48px 0;
}

.map-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.map-container h3 i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

#interactive-map {
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #64748b;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.map-placeholder small {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Section permanences modernes */
.permanences-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.permanences-section h3 i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.permanences-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.permanence-modern-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.permanence-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #3A6B47);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.permanence-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.permanence-modern-card:hover::before {
    opacity: 1;
}

.permanence-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.permanence-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.permanence-modern-card:hover .permanence-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    transform: scale(1.05);
}

.permanence-icon i {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.permanence-modern-card:hover .permanence-icon i {
    color: white;
}

.permanence-header h4 {
    color: var(--color-text);
    font-weight: 600;
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.permanence-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.permanence-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.permanence-details i {
    color: var(--color-primary);
    min-width: 16px;
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTIONS - Call-to-action premium
   ============================================ */

.contact-cta,
.cta-section {
    margin: 64px 0;
}

.cta-box {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.cta-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.cta-box h3 i {
    color: var(--color-primary);
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ============================================
   FOOTER - Style minimal
   ============================================ */

.footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-section p {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 16px;
}

.footer-section a {
    padding: 8px 0;
    display: inline-block;
    min-height: 44px;
    line-height: 1.5;
}

.footer-section a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--color-primary);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - Mobile first
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        height: 64px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: auto;
        right: 0;
        width: 280px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0 0 0 16px;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .nav a {
        text-align: center;
        padding: 12px 16px;
        min-height: 44px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    /* Tailles de police minimales pour accessibilité mobile */
    .permanence-compact-details p,
    .contact-compact-item p,
    .horaires-compact div,
    .permanence-details p,
    .permanence-info div {
        font-size: 1rem;
    }
    
    /* Hauteur iframe adaptative sur mobile */
    .widget-oclocher iframe {
        height: 600px;
    }
    
    /* Menu mobile ouvert */
    .nav.nav-mobile-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: slideDown 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translateY(0) !important;
    }
    
    /* Animation du bouton mobile */
    .mobile-menu-btn.active {
        color: var(--color-primary);
        transform: rotate(90deg);
    }
    
    /* Animation d'apparition du menu */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-content {
        padding-top: 64px;
    }

    .main-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0;
    }

    .content-main {
        padding: 32px 24px;
    }

    .widget {
        padding: 24px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-small {
        padding: 100px 0 60px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero-small h2 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .main-contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .permanences-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-contact-card {
        padding: 32px 24px;
    }

    .permanence-modern-card {
        padding: 24px 20px;
    }

    .map-container {
        padding: 24px 20px;
    }

    .map-placeholder {
        padding: 40px 20px;
        min-height: 300px;
    }

    .sacrements-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sacrement-card {
        padding: 32px 24px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        gap: 32px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .content-main {
        padding: 24px 20px;
    }

    .widget {
        padding: 20px;
    }

    .sacrement-card {
        padding: 24px 20px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-small h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .main-contact-card {
        padding: 24px 20px;
    }

    .main-contact-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .contact-detail-item {
        padding: 20px;
    }

    .permanence-modern-card {
        padding: 20px 16px;
    }

    .map-container {
        padding: 20px 16px;
    }

    .map-placeholder {
        padding: 30px 16px;
        min-height: 250px;
    }

    .map-placeholder i {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS ET MICRO-INTERACTIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sacrement-card {
    animation: fadeInUp 0.6s ease-out;
}

.sacrement-card:nth-child(2) { animation-delay: 0.1s; }
.sacrement-card:nth-child(3) { animation-delay: 0.2s; }
.sacrement-card:nth-child(4) { animation-delay: 0.3s; }
.sacrement-card:nth-child(5) { animation-delay: 0.4s; }
.sacrement-card:nth-child(6) { animation-delay: 0.5s; }
.sacrement-card:nth-child(7) { animation-delay: 0.6s; }

/* Focus states pour l'accessibilité */
.btn:focus,
.nav a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Améliorations pour les liens */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3A6B47;
}

/* Style pour les éléments de formulaire si besoin */
input, textarea {
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* ============================================
   PAGES DÉTAIL SACREMENTS - Style premium
   ============================================ */

.sacrement-detail {
    max-width: 800px;
    margin: 0 auto;
}

.detail-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 48px;
}

.intro-sacrement {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    font-style: italic;
}

.detail-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.detail-section h3 i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.detail-section p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.detail-list {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--color-text);
    line-height: 1.5;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Groupes d'âge pour communion/confirmation */
.age-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.age-group {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--color-primary);
}

.age-group h4 {
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.age-group p {
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Section contact dans les détails */
.detail-section.contact-section {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: none;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--color-text);
}

.contact-info i {
    color: var(--color-primary);
    min-width: 16px;
    font-size: 0.9rem;
}

/* Section importante (pour mariage) */
.detail-section.important-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 16px;
    padding: 24px;
}

.warning-text {
    color: #856404;
    font-weight: 500;
    margin: 0;
}

.detail-section.important-notice h3 {
    color: #856404;
}

.detail-section.important-notice h3 i {
    color: #ffc107;
}

/* Responsive pour les pages de détail */
@media (max-width: 768px) {
    .detail-content {
        padding: 32px 24px;
    }

    .age-groups {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .intro-sacrement {
        font-size: 1.1rem;
        padding: 20px;
    }

    .detail-section {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .detail-content {
        padding: 24px 20px;
    }

    .intro-sacrement {
        font-size: 1rem;
        padding: 16px;
    }
}

/* ============================================
   PAGE CONTACT - Styles compacts restaurés
   ============================================ */

/* Hero compact pour la page Contact */
.hero-contact-compact {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 95px 0 40px; /* Descendre encore plus le titre */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contact-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.05) 0%, transparent 50%);
}

.hero-contact-compact .hero-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-contact-compact h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-contact-compact p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* Layout côte à côte Contact */
.contact-layout-sidebyside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* Card du secrétariat principal */
.contact-compact-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-compact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-compact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-compact-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-compact-header p {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.contact-compact-grid {
    display: grid;
    gap: 20px;
    flex: 1;
}

.contact-compact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-compact-item i {
    color: var(--color-primary);
    font-size: 1rem;
    margin-top: 2px;
    min-width: 16px;
}

.contact-compact-item strong {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
}

.contact-compact-item p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-compact-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-compact-item a:hover {
    text-decoration: underline;
}

/* Container de la carte interactive */
.map-compact-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-compact-container h3,
.map-compact-container h4 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

#interactive-map {
    flex: 1;
    height: 100%;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

/* Marqueurs de carte personnalisés - Plus visibles avec icônes */
.custom-church-marker {
    background: var(--color-primary);
    border: 3px solid white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.custom-church-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.6);
}

/* Popup de carte personnalisée */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
}

/* Permanences */
.permanences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.permanence-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.permanence-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.permanence-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.permanence-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.permanence-card h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.permanence-info {
    display: grid;
    gap: 12px;
}

.permanence-info div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.permanence-info i {
    color: var(--color-primary);
    margin-top: 2px;
    min-width: 14px;
}

.permanence-info a {
    color: var(--color-primary);
    text-decoration: none;
}

.permanence-info a:hover {
    text-decoration: underline;
}

/* Horaires compacts dans le secrétariat - Améliorés */
.horaires-compact {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.horaires-compact div {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 122, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.time {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

/* Section permanences compactes */
.permanences-compact-section {
    margin-top: 32px;
}

.permanences-compact-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.permanences-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.permanence-compact-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.permanence-compact-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.permanence-compact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.permanence-compact-header i {
    color: var(--color-primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.permanence-compact-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.permanence-compact-details {
    display: grid;
    gap: 8px;
}

.permanence-compact-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.permanence-compact-details i {
    color: var(--color-primary);
    font-size: 0.85rem;
    min-width: 14px;
}

.permanence-compact-details a {
    color: var(--color-primary);
    text-decoration: none;
}

.permanence-compact-details a:hover {
    text-decoration: underline;
}

/* Popups de carte personnalisées */
.map-popup-compact {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.map-popup-compact h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-popup-compact p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-popup-compact i {
    color: var(--color-primary);
    font-size: 0.8rem;
    min-width: 12px;
}

.map-popup-compact a {
    color: var(--color-primary);
    text-decoration: none;
}

.map-popup-compact a:hover {
    text-decoration: underline;
}

.map-popup-compact.primary {
    border-left: 3px solid var(--color-primary);
    padding-left: 8px;
}

 /* ============================================
   TITRES DE PAGES - Style discret sans hero
   ============================================ */

.page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 16px 20px 32px 20px;
}

.page-title h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-title p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.oclocher-logo-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
}

/* ============================================
   PAGE OCLOCHER - Style premium Apple
   ============================================ */

/* Hero Oclocher */
.hero-oclocher {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 95px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-oclocher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.08) 0%, transparent 60%);
}

.hero-oclocher .hero-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.oclocher-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
}

.hero-oclocher h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-oclocher p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* Layout principal Oclocher */
.oclocher-content {
    display: grid;
    gap: 40px;
    padding: 40px 0;
}

/* Section de présentation */
.app-presentation {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-description h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: rgba(0, 122, 255, 0.02);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature:hover {
    background: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
}

.feature i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Section de téléchargement */
.download-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.download-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.download-method {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-method h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-method p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Boutons store */
.store-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid;
    min-width: 180px;
    justify-content: center;
}

.store-btn.apple {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.store-btn.apple:hover {
    background: #2d2d2f;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(29, 29, 31, 0.2);
}

.store-btn.google {
    background: #34a853;
    color: white;
    border-color: #34a853;
}

.store-btn.google:hover {
    background: #2d8e47;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(52, 168, 83, 0.2);
}

.store-btn i {
    font-size: 1.2rem;
}

.store-btn div {
    text-align: left;
}

.store-btn span {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.store-btn strong {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Section d'aide */
.help-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.help-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.help-item {
    text-align: center;
    padding: 24px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.help-item:hover {
    background: rgba(0, 122, 255, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.help-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
}

.help-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.help-item p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-contact {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.help-contact p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

 /* Responsive titres de pages */
 @media (max-width: 768px) {
     .page-title {
         padding: 12px 16px 24px 16px;
         margin-bottom: 32px;
     }
     
     .page-title h2 {
         font-size: 1.4rem;
     }
     
     .page-title p {
         font-size: 0.9rem;
     }
 }

 /* Responsive Oclocher */
 @media (max-width: 768px) {
    
    .oclocher-content {
        gap: 32px;
        padding: 32px 0;
    }
    
    .app-presentation,
    .download-section,
    .help-section {
        padding: 32px 24px;
    }
    
    .features-grid,
    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .store-links {
        flex-direction: column;
    }
}

 /* Responsive Contact */
 @media (max-width: 768px) {
     .contact-layout-sidebyside {
         grid-template-columns: 1fr;
         gap: 24px;
     }
     
     .hero-contact-compact {
         padding: 70px 0 30px; /* Ajustement mobile */
     }
     
     #interactive-map {
         min-height: 250px;
     }
     
      .permanences-compact-grid {
          grid-template-columns: 1fr;
          gap: 16px;
      }
      
      .horaires-compact div {
          font-size: 0.85rem;
          padding: 4px 8px;
      }
      
      .time {
          font-size: 0.85rem;
      }
 }

/* ============================================
   PAGE HORAIRES - Affichage des 3 paroisses
   ============================================ */

.horaires-page-content {
    padding: 20px 0;
}

.horaires-unified-section {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.horaires-unified-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.horaires-unified-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.horaires-unified-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A6B47 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
}

.horaires-unified-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.horaires-unified-info p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.horaires-unified-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 122, 255, 0.1);
    max-height: 600px;
    overflow-y: auto;
}

/* Style spécial pour les jours */
.horaire-jour {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Responsive pour la page horaires */
@media (max-width: 768px) {
    .horaires-page-content {
        padding: 16px 0;
    }
    
    .horaires-unified-section {
        padding: 24px 20px;
    }
    
    .horaires-unified-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .horaires-unified-info h3 {
        font-size: 1.2rem;
    }
    
    .horaires-unified-container {
        padding: 20px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .horaires-unified-section {
        padding: 20px 16px;
    }
    
    .horaires-unified-header {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .horaires-unified-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .horaires-unified-info h3 {
        font-size: 1.1rem;
    }
    
    .horaires-unified-info p {
        font-size: 0.9rem;
    }
    
    .horaires-unified-container {
        padding: 16px;
        max-height: 400px;
    }
}  