/* Homepage Modern Styles pour Paroisse Saint-Martin */

/* Variables CSS */
:root {
  --primary-blue: #007cba;
  --primary-blue-dark: #005a87;
  --secondary-gold: #f4d35e;
  --accent-orange: #ee964b;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --text-muted: #95a5a6;
  --bg-light: #f8f9fa;
  --bg-section: #ffffff;
  --border-light: #e9ecef;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-dark)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-gold),
    var(--accent-orange)
  );
}

/* Styles personnalisés pour les titres hero de la page d'accueil */
.page-banner__content .headline--large {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner__content .headline--medium {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 300;
  opacity: 0.95;
}

.page-banner__content .headline--small {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive pour les titres */
@media (min-width: 530px) {
  .page-banner__content .headline--large {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .page-banner__content .headline--medium {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .page-banner__content .headline--small {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .page-banner__content .headline--large {
    font-size: 4.5rem;
  }

  .page-banner__content .headline--medium {
    font-size: 2.2rem;
  }

  .page-banner__content .headline--small {
    font-size: 1.4rem;
  }
}

/* Responsive mobile - meilleur espacement */
@media (max-width: 529px) {
  .page-banner__content {
    padding: 2.5rem 1.25rem;
  }

  .page-banner__content .headline--large {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
  }

  .page-banner__content .headline--medium {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
  }

  .page-banner__content .headline--small {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
  }
  
  .page-banner__content .btn {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }
}

/* Hero Section */
.paroisse-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.paroisse-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: 1;
}

.paroisse-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 60, 87, 0.1);
  z-index: 2;
}

.paroisse-hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    );
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  z-index: 2;
}

.paroisse-hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

@media (max-width: 1024px) {
  .paroisse-hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.paroisse-hero__text {
  color: white;
}

.paroisse-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.paroisse-hero__badge i {
  color: var(--secondary-gold);
}

.paroisse-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.paroisse-hero__title .title-accent {
  color: var(--secondary-gold);
  font-weight: 400;
}

.paroisse-hero__title strong {
  font-weight: 700;
  display: block;
}

.paroisse-hero__title .title-location {
  font-size: 0.7em;
  opacity: 0.9;
  font-weight: 400;
}

.paroisse-hero__subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  margin: 0 0 1.5rem 0;
  opacity: 0.95;
  line-height: 1.4;
}

.paroisse-hero__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2.5rem 0;
  opacity: 0.9;
  max-width: 600px;
}

.paroisse-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .paroisse-hero__actions {
    flex-direction: column;
  }
}

/* Hero Buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn--primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-btn--primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn--secondary {
  background: var(--secondary-gold);
  color: var(--text-dark);
}

.hero-btn--secondary:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(238, 150, 75, 0.4);
}

/* Intégration des cards dans la page-banner existante */
.page-banner {
  position: relative;
  padding-bottom: 8rem; /* Espace pour les cards */
}

.paroisse-hero__cards {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 3.5rem; /* Espacement horizontal significativement augmenté */
  justify-content: center;
  z-index: 10;
  width: 100%;
  max-width: 1050px; /* Largeur max augmentée pour accommoder le gap plus large */
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .paroisse-hero__cards {
    display: none; /* Masquer les cartes en version mobile */
  }

  .page-banner {
    padding-bottom: 1rem; /* Réduire le padding puisque les cartes sont masquées */
  }
}

.hero-card {
  background: rgba(0, 0, 0, 0.6); /* Arrière-plan sombre pour meilleure lisibilité */
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  color: white;
  min-width: 180px;
  max-width: 220px;
  flex: 1;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-card:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.75); /* Plus sombre au hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-card__content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-card__content p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* Responsive pour les cards sur très petits écrans - Cards masquées en mobile */
@media (max-width: 480px) {
  .paroisse-hero__cards {
    display: none; /* Cards masquées en mobile */
  }
}

/* Main Content Section - Ajustement espacement avec cards flottantes */
.paroisse-main-content {
  padding: 8rem 0 6rem 0; /* Plus d'espace en haut pour les cards */
  background: var(--bg-section);
}

/* Ajustement mobile sans cards */
@media (max-width: 768px) {
  .paroisse-main-content {
    padding: 3rem 0 4rem 0; /* Moins d'espace en haut car pas de cards */
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.content-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.content-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
}

/* Events List */
.events-list,
.news-list {
  margin-bottom: 2rem;
}

.event-item,
.news-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.event-item:last-child,
.news-item:last-child {
  border-bottom: none;
}

.event-item:hover,
.news-item:hover {
  background: var(--bg-light);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 12px;
}

.event-date,
.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.event-month,
.news-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-day,
.news-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-content,
.news-content {
  flex: 1;
}

.event-title,
.news-title {
  margin: 0 0 0.5rem 0;
}

.event-title a,
.news-title a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.event-title a:hover,
.news-title a:hover {
  color: var(--primary-blue);
}

.event-content p,
.news-excerpt {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.event-link,
.news-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.event-link:hover,
.news-link:hover {
  text-decoration: underline;
}

.event-meta,
.news-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-meta span,
.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Modern Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 124, 186, 0.3);
}

.btn-modern--secondary {
  background: var(--gradient-secondary);
  color: var(--text-dark);
}

.btn-modern--secondary:hover {
  box-shadow: 0 10px 25px rgba(244, 211, 94, 0.3);
}

/* Services Section */
.paroisse-services {
  position: relative;
  padding: 6rem 0;
  background: var(--bg-light);
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 124, 186, 0.05),
    rgba(244, 211, 94, 0.05)
  );
}

.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(0, 124, 186, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(244, 211, 94, 0.1) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
}

.services-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: 2fr 1fr 1fr !important;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.service-card__header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
}

.service-icon--large {
  width: 90px;
  height: 90px;
  font-size: 2.2rem;
  background: var(--gradient-secondary);
  color: var(--text-dark);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.service-card p {
  color: var(--text-light);
  margin: 0;
}

.service-card__content {
  margin-bottom: 2rem;
  text-align: center;
}

.schedule-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.schedule-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 1.5rem;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
}

.schedule-item:hover {
  background: rgba(0, 124, 186, 0.1);
  transform: scale(1.02);
}

.schedule-day {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  flex-direction: row !important;
}

.schedule-day strong {
  display: inline !important;
  margin: 0 !important;
}

.schedule-day i {
  color: var(--primary-blue);
}

.schedule-time {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  min-width: 60px;
  text-align: center;
  display: inline-block !important;
}

.schedule-type {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  min-width: 120px;
  text-align: left;
  display: inline-block !important;
}

.schedule-type {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li:hover {
  color: var(--primary-blue);
  padding-left: 0.5rem;
}

.service-list i {
  color: var(--secondary-gold);
  width: 16px;
  text-align: center;
}

.service-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 124, 186, 0.1);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.service-note i {
  color: var(--primary-blue);
}

/* Service Buttons */
.btn-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 124, 186, 0.3);
}

/* Quote Section */
.paroisse-quote {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.paroisse-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    );
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.quote-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 4rem;
  color: var(--secondary-gold);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.quote-content blockquote {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
}

.quote-content blockquote p {
  margin: 0 0 2rem 0;
}

.quote-content cite {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}

.quote-decoration {
  width: 100px;
  height: 2px;
  background: var(--gradient-secondary);
  margin: 2rem auto 0;
  border-radius: 1px;
}

/* CTA Section */
.paroisse-cta {
  padding: 6rem 0;
  background: white;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem 0;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 3rem 0;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn--primary {
  background: var(--gradient-primary);
  color: white;
}

.cta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 124, 186, 0.3);
}

.cta-btn--secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.cta-btn--secondary:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 124, 186, 0.2);
}

/* No posts message */
.no-posts-message {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
}

.no-posts-message i {
  font-size: 3rem;
  color: var(--secondary-gold);
  margin-bottom: 1rem;
  display: block;
}

/* Section Footer */
.section-footer {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .paroisse-hero {
    min-height: 90vh;
  }

  .paroisse-hero__content {
    min-height: 70vh;
    padding: 2rem 1rem;
  }

  .paroisse-hero__title {
    font-size: 2.5rem;
  }

  .paroisse-hero__subtitle {
    font-size: 1.2rem;
  }

  .paroisse-hero__description {
    font-size: 1rem;
  }

  .content-section {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .quote-content blockquote {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

@media (max-width: 640px) {
  .hero-card {
    min-width: auto;
    padding: 1.75rem 1.5rem;
  }

  .event-item,
  .news-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
  }

  .event-date,
  .news-date {
    align-self: center !important;
    margin: 0 auto 0.75rem !important;
    width: 80px;
    height: 80px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .event-month,
  .news-month {
    text-align: center;
    width: 100%;
  }
  
  .event-day,
  .news-day {
    font-size: 1.75rem;
    text-align: center;
    width: 100%;
  }
  
  .event-content,
  .news-content {
    text-align: center;
    width: 100%;
  }
  
  .event-title,
  .news-title {
    font-size: 1.15rem;
    text-align: center;
  }
  
  .event-excerpt,
  .news-excerpt {
    text-align: center;
  }
  
  .event-meta,
  .news-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .schedule-compact {
    gap: 0.75rem;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .event-meta,
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Animation improvements for better performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================
   AMÉLIORATIONS UX MOBILE SPÉCIFIQUES
   =================================== */

/* Touch targets - Augmentation de la zone cliquable pour mobile */
@media (max-width: 768px) {
  .hero-btn,
  .btn-modern,
  .btn-service,
  .cta-btn {
    min-height: 48px; /* Norme d'accessibilité tactile */
    padding: 0.875rem 1.75rem;
  }
  
  /* Espacement confortable entre éléments cliquables */
  .cta-actions .cta-btn + .cta-btn {
    margin-top: 1rem;
  }
  
  /* Amélioration lisibilité texte mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Zoom sur les cartes pour meilleure interaction */
  .hero-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  /* Optimisation des images pour mobile */
  .page-banner__bg-image {
    background-attachment: scroll; /* Meilleure performance sur mobile */
  }
  
  /* Meilleur contraste texte sur fond */
  .hero-card__content h4,
  .hero-card__content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
}

/* Très petits écrans - optimisation maximale */
@media (max-width: 375px) {
  .page-banner__content {
    padding: 2rem 1rem;
  }
  
  .page-banner__content .headline--large {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .page-banner__content .headline--medium {
    font-size: 1.15rem;
  }
  
  .page-banner__content .headline--small {
    font-size: 0.9rem;
  }
  
  .paroisse-hero__cards {
    padding: 0 0.75rem;
  }
  
  .content-section {
    padding: 1.5rem 1rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
}

/* Landscape mobile - optimisation hauteur */
@media (max-width: 768px) and (orientation: landscape) {
  .page-banner {
    min-height: auto;
  }
  
  .page-banner__content {
    padding: 1.5rem 1rem;
  }
  
  .page-banner__content .headline--large {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .page-banner__content .headline--medium {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .page-banner__content .headline--small {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .paroisse-hero__cards {
    margin-top: 1.5rem;
  }
  
  .hero-card {
    padding: 1.25rem 1rem;
  }
}

/* Amélioration du focus pour navigation au clavier sur mobile */
@media (max-width: 768px) {
  a:focus,
  button:focus,
  .hero-btn:focus,
  .btn-modern:focus,
  .cta-btn:focus {
    outline: 3px solid var(--secondary-gold);
    outline-offset: 3px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .paroisse-hero__background {
    background: #000066;
  }

  .service-card {
    border: 2px solid var(--text-dark);
  }

  .hero-card {
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
}

/* Print styles */
@media print {
  .paroisse-hero,
  .paroisse-services,
  .paroisse-quote,
  .paroisse-cta {
    background: white !important;
    color: black !important;
  }

  .hero-btn,
  .btn-modern,
  .btn-service,
  .cta-btn {
    display: none;
  }
}
