/**
 * ============================================================
 *  GROUPE MOHA COM — Pages Styles
 *  Fichier : pages.css
 *  Version : 1.0.0
 *  Date    : 2026-03-19
 *
 *  Styles spécifiques à chaque page :
 *  Accueil, Tarifs, Blog, Confirmation, Flotte,
 *  Contact, À propos, Entités.
 *  Dépend de : design-tokens.css, base.css, components.css
 * ============================================================
 */


/* ============================================================
   1. PAGE D'ACCUEIL — HERO SLIDER
   ============================================================ */

/* Indicateurs (dots) du slider hero */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.hero-indicator.active {
  background: #fff;
  transform: scale(1.2);
}

/* Slides hero (crossfade) */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* ============================================================
   2. PAGE D'ACCUEIL — BANDE CTA
   ============================================================ */

.cta-band {
  background: var(--color-signal-red);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: var(--line-height-heading);
}

.cta-band p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

.cta-band .btn-outline-white {
  font-size: 1rem;
}

/* ============================================================
   3. PAGE D'ACCUEIL — POURQUOI NOUS
   ============================================================ */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-us-item {
  text-align: center;
  padding: 2rem 1rem;
}

.why-us-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--color-royal-blue);
  background: linear-gradient(135deg, rgba(36,86,164,.10) 0%, rgba(36,86,164,.20) 100%);
  transition: background 0.35s var(--ease-smooth), transform 0.35s var(--ease-spring), color 0.25s;
}

.why-us-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.why-us-item p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-tower-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .why-us-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   4. PAGE D'ACCUEIL — SECTION ENTITÉS
   ============================================================ */

.entities-section {
  background: var(--color-off-white);
}

.entities-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.entity-card-link {
  text-decoration: none;
  display: block;
}

.entity-card-link:hover .card-title {
  color: var(--color-royal-blue);
}

/* ============================================================
   5. PAGE D'ACCUEIL — SECTION ACTUALITÉS (aperçu)
   ============================================================ */

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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


/* ============================================================
   6. PAGE TARIFS / PRICING
   ============================================================ */

/* En-tête de la page tarifs */
.tarifs-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Onglets de catégorie (ex: Communication, Voyages, Résidences) */
.tarif-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tarif-tab-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--color-silver);
  border-radius: 50px;
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all 0.2s;
}

.tarif-tab-btn.active,
.tarif-tab-btn:hover {
  border-color: var(--color-royal-blue);
  background: var(--color-royal-blue);
  color: #fff;
}

/* Grille des tarifs */
.tarif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Carte tarif individuelle */
.tarif-card {
  border: 2px solid var(--color-silver);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring);
  background: var(--color-white);
  position: relative;
}

.tarif-card:hover {
  border-color: var(--color-royal-blue);
  transform: translateY(-4px);
}

.tarif-card.featured {
  border-color: var(--color-signal-red);
  box-shadow: 0 8px 32px rgba(204, 34, 41, 0.12);
}

.tarif-card.featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-signal-red);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.tarif-name {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-royal-blue);
  margin-bottom: 1rem;
  display: block;
}

.tarif-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  display: block;
}

.tarif-currency {
  font-size: 1.25rem;
  vertical-align: super;
  font-weight: 600;
}

.tarif-period {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-tower-gray);
  display: block;
  margin-top: 0.25rem;
}

.tarif-description {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-tower-gray);
  margin: 1rem 0;
  line-height: 1.5;
}

/* Liste des fonctionnalités */
.tarif-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
}

.tarif-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-light-gray);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tarif-features li:last-child {
  border-bottom: none;
}

.tarif-features li::before {
  content: '✓';
  color: var(--color-safety-green);
  font-weight: 700;
  flex-shrink: 0;
}

.tarif-features li.unavailable {
  color: var(--color-tower-gray);
  opacity: 0.6;
}

.tarif-features li.unavailable::before {
  content: '×';
  color: var(--color-silver);
}

@media (max-width: 1024px) {
  .tarif-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* ============================================================
   7. PAGE BLOG — LISTING
   ============================================================ */

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Filtres de catégories */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.blog-cat-btn {
  padding: 0.4rem 1.25rem;
  border: 2px solid var(--color-silver);
  border-radius: 50px;
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all 0.2s;
}

.blog-cat-btn.active,
.blog-cat-btn:hover {
  border-color: var(--color-royal-blue);
  background: var(--color-royal-blue);
  color: #fff;
}

/* Grille articles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.blog-meta {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-tower-gray);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-meta-sep {
  color: var(--color-silver);
}

/* Article vedette (en pleine largeur) */
.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.blog-featured img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-decoration: none;
  border: 2px solid var(--color-silver);
  background: var(--color-white);
  transition: all 0.2s;
}

.page-link:hover {
  border-color: var(--color-royal-blue);
  color: var(--color-royal-blue);
}

.page-link.active {
  background: var(--color-royal-blue);
  border-color: var(--color-royal-blue);
  color: #fff;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
}

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


/* ============================================================
   8. PAGE ARTICLE — CONTENU BLOG
   ============================================================ */

.article-header {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

/* Partage réseaux sociaux */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-light-gray);
}

.share-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.share-btn-facebook  { background: #1877f2; color: #fff; }
.share-btn-linkedin  { background: #0a66c2; color: #fff; }
.share-btn-whatsapp  { background: #25d366; color: #fff; }
.share-btn-twitter   { background: #1da1f2; color: #fff; }


/* ============================================================
   9. PAGE CONFIRMATION (réservation / contact)
   ============================================================ */

.confirmation-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  background: var(--color-off-white);
  padding: 2rem 1.5rem;
}

.confirmation-box {
  max-width: 600px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.1);
}

.confirmation-icon {
  font-size: 4rem;
  color: var(--color-safety-green);
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
}

.confirmation-box h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.confirmation-box p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-tower-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.confirmation-ref {
  display: inline-block;
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.08em;
  margin: 1rem 0;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}


/* ============================================================
   10. PAGE FLOTTE — VÉHICULES
   ============================================================ */

/* Filtres flotte */
.flotte-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Grille véhicules */
.flotte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.vehicle-card .card-tag {
  font-size: 0.8125rem;
}

/* Badge positionné sur la carte véhicule */
.vehicle-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

/* Détail d'un véhicule */
.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.vehicle-spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-charcoal);
}

.vehicle-spec-item i {
  color: var(--color-steel-blue);
  width: 1rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .flotte-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* ============================================================
   11. PAGE CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-royal-blue-10);
  color: var(--color-royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-method h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact-method p,
.contact-method a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-tower-gray);
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--color-royal-blue);
}

/* Carte contact (formulaire + encadré) */
.contact-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(70px + 1.5rem);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

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

  .contact-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .contact-form-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* ============================================================
   12. PAGE À PROPOS — ÉQUIPE
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.team-member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-light-gray);
  transition: border-color 0.2s;
}

.team-member:hover .team-member-photo {
  border-color: var(--color-royal-blue);
}

.team-member h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.team-member-role {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-royal-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.team-member p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-tower-gray);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* ============================================================
   13. PAGE RÉSERVATION / MULTI-ÉTAPES
   ============================================================ */

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.booking-summary {
  background: var(--color-off-white);
  border: 1px solid var(--color-silver);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: calc(70px + 1.5rem);
}

.booking-summary h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-silver);
}

.booking-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-light-gray);
}

.booking-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
}

@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
    order: -1;
  }
}


/* ============================================================
   14. PAGE RÉSIDENCES — HÉBERGEMENT
   ============================================================ */

.residence-card {
  position: relative;
}

.residence-stars {
  display: flex;
  gap: 2px;
  color: var(--color-solar-gold);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.residence-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.amenity-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-tower-gray);
  background: var(--color-light-gray);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.amenity-tag i {
  font-size: 0.6875rem;
}

/* Disponibilité */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.availability-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.availability-badge.available {
  color: var(--color-safety-green);
}

.availability-badge.available::before {
  background: var(--color-safety-green);
}

.availability-badge.unavailable {
  color: var(--color-tower-gray);
}

.availability-badge.unavailable::before {
  background: var(--color-tower-gray);
}


/* ============================================================
   15. PAGE MENTIONS LÉGALES / POLITIQUE
   ============================================================ */

/* Two-column layout: sticky sidebar + main content */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static !important;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0;
}

.legal-content h2 {
  color: var(--color-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-light-gray);
}

.legal-content h3 {
  color: var(--color-royal-blue);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-charcoal);
}

.legal-updated {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-tower-gray);
  margin-bottom: 2rem;
  display: block;
}


/* ============================================================
   PHOTO GALLERY & IMAGE SECTIONS
   ============================================================ */

/* ---- Photo Grid (2-col text + image layout) ---- */
.photo-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.photo-text-section.reverse {
  direction: rtl;
}

.photo-text-section.reverse > * {
  direction: ltr;
}

.photo-text-section .section-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.12);
}

.photo-text-section .section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.photo-text-section .section-photo:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .photo-text-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .photo-text-section.reverse {
    direction: ltr;
  }
}

/* ---- Photo Showcase (3-image mosaic) ---- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.photo-mosaic .mosaic-main {
  grid-row: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
}

.photo-mosaic .mosaic-side {
  border-radius: 12px;
  overflow: hidden;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.photo-mosaic .mosaic-main:hover img,
.photo-mosaic .mosaic-side:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .photo-mosaic .mosaic-main {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .photo-mosaic .mosaic-side {
    aspect-ratio: 4 / 3;
  }
}

/* ---- Hero with Background Photo ---- */
.hero-photo-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(36, 86, 164, 0.7) 100%);
  z-index: 1;
}

.hero-photo-bg > * {
  position: relative;
  z-index: 2;
}

/* Entity-colored hero overlays */
[data-entity="mohacom"] .hero-photo-bg::before {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(36, 86, 164, 0.75) 100%);
}

[data-entity="svs"] .hero-photo-bg::before {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.88) 0%, rgba(27, 42, 74, 0.75) 100%);
}

[data-entity="residences"] .hero-photo-bg::before {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(204, 34, 41, 0.3) 100%);
}

/* ---- Photo Strip (horizontal scroll on mobile) ---- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.photo-strip .strip-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: zoom-in;
}

.photo-strip .strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-strip .strip-item:hover img {
  transform: scale(1.08);
}

/* Hover overlay with alt text caption */
.photo-strip .strip-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.85) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2rem 0.75rem 0.75rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.02em;
}

.photo-strip .strip-item:hover::after {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Image Card (card with prominent photo) ---- */
.image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.1);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.18);
}

.image-card .image-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.image-card .image-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.image-card:hover .image-card-photo img {
  transform: scale(1.06);
}

.image-card .image-card-body {
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
}

.image-card .image-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.image-card .image-card-body p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-tower-gray);
  line-height: 1.6;
}


/* ============================================================
   REFONTE VISUELLE — VAGUE 1.5 — Pages Premium
   ============================================================ */

/* ============================================================
   A. HOMEPAGE HERO — Ken Burns + Bar indicators
   ============================================================ */

/* Slide background Ken Burns */
.hero-slide .hero-bg img {
  transform-origin: center center;
  animation: kenBurns 10s ease-out forwards;
}

.hero-slide:nth-child(even) .hero-bg img {
  animation-name: kenBurnsAlt;
}

/* Indicateurs barre (remplacent les dots) */
.hero-indicators {
  bottom: 1.75rem;
}

/* Titre hero fluid */
.hero-content h1 {
  font-size: var(--fluid-h1, clamp(2rem, 4.5vw, 3.25rem));
}

/* Lisibilité renforcée sur les slides avec overlay allégé */
.hero-slide .hero-content h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.85), 0 1px 6px rgba(0,0,0,0.70);
}

.hero-slide .hero-subtitle {
  text-shadow: 0 1px 8px rgba(0,0,0,0.75);
}

/* Hero overlay amélioré pour les slides */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-groupe, linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(27,42,74,0.38) 50%, rgba(27,42,74,0.10) 100%));
  z-index: 1;
}

/* La div .hero-overlay est redondante sur les slides (::before gère l'overlay) */
.hero-slide .hero-overlay {
  display: none;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
}


/* ============================================================
   B. HOMEPAGE — Section entités (entity showcase)
   ============================================================ */

/* Entity cards section avec gradient mesh */
.entities-section {
  background-image: var(--gradient-mesh-light);
  position: relative;
}

/* Stats section avec fond dégradé animé */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(36, 86, 164, 0.08) 0%,
    rgba(27, 42, 74, 1) 30%,
    rgba(27, 42, 74, 1) 70%,
    rgba(204, 34, 41, 0.08) 100%
  );
  z-index: 0;
}

.stats-section > * {
  position: relative;
  z-index: 1;
}

/* Photo strip — hover effect */
.photo-strip {
  overflow: hidden;
}

.photo-strip img,
.photo-strip figure img {
  transition: transform 0.6s var(--ease-smooth, cubic-bezier(0.25, 0.46, 0.45, 0.94));
  will-change: transform;
}

.photo-strip figure:hover img {
  transform: scale(1.04);
}

/* Why Us section avec gradient mesh warm */
.why-us-section {
  background-image: var(--gradient-mesh-warm);
}

.why-us-icon {
  background: linear-gradient(135deg, var(--color-royal-blue-10), var(--color-royal-blue-20));
  transition: background 0.3s, transform 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.why-us-item:hover .why-us-icon {
  background: var(--color-royal-blue);
  color: white;
  transform: scale(1.1);
}

/* Partners preview avec ombre au hover */
.partners-preview .partner-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.partners-preview .partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* CTA band gradient mesh */
.cta-band {
  background: linear-gradient(135deg,
    var(--color-signal-red) 0%,
    #b01c22 50%,
    #9B1B21 100%
  );
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}


/* ============================================================
   C. PAGES ENTITÉS — Hero courts améliorés
   ============================================================ */

/* Hero court : hauteur légèrement augmentée */
.hero-short {
  min-height: 45vh;
}

/* Hero court entité : overlay entity-aware */
.entity-mohacom .hero-short .hero-overlay,
.hero-short.entity-mohacom .hero-overlay {
  background: var(--gradient-hero-mohacom);
}

.entity-residences .hero-short .hero-overlay,
.hero-short.entity-residences .hero-overlay {
  background: var(--gradient-hero-residences);
}

.entity-voyages .hero-short .hero-overlay,
.hero-short.entity-voyages .hero-overlay {
  background: var(--gradient-hero-svs);
}

/* Photo mosaic hover */
.photo-mosaic {
  display: grid;
  gap: 0.75rem;
}

.photo-mosaic img {
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.4s;
  border-radius: var(--radius-lg);
}

.photo-mosaic figure:hover img {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}


/* ============================================================
   D. TARIFS — Table redesign + Featured highlight
   ============================================================ */

/* Featured pricing card glow */
.pricing-card.featured,
.tarif-card.featured {
  position: relative;
  z-index: 1;
  box-shadow: var(--glow-blue);
  transform: scale(1.02);
}

.pricing-card.featured::before,
.tarif-card.featured::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--color-royal-blue), var(--color-signal-red));
  border-radius: calc(var(--radius-xl) + 3px);
  z-index: -1;
}

/* Tab buttons slider indicator */
.tarif-tabs {
  position: relative;
}

.tarif-tab-btn {
  position: relative;
  transition: color 0.3s;
}

.tarif-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-royal-blue);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.tarif-tab-btn.active::after,
.tarif-tab-btn[aria-selected="true"]::after {
  transform: scaleX(1);
}

/* Table row hover */
.pricing-table tr:hover td {
  background: var(--color-off-white);
}


/* ============================================================
   E. CONTACT — Formulaire et cartes améliorés
   ============================================================ */

/* Cartes contact méthode avec icon gradient hover */
.contact-method-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-method-card .contact-icon {
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.contact-method-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--color-royal-blue), var(--color-navy));
  color: white;
  transform: scale(1.1);
}

/* Aside card glass morphism */
.aside-card,
.contact-aside .card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: var(--shadow-glass);
}

/* Aside card entity accent bar top */
.entity-mohacom .aside-card,
.entity-mohacom .contact-aside .card {
  border-top: 3px solid var(--entity-mohacom-accent);
}

.entity-residences .aside-card,
.entity-residences .contact-aside .card {
  border-top: 3px solid var(--entity-residences-accent);
}

.entity-voyages .aside-card,
.entity-voyages .contact-aside .card {
  border-top: 3px solid var(--entity-voyages-dark);
}


/* ============================================================
   F. GALERIE — Filter transitions améliorées
   ============================================================ */

/* Filter buttons avec underline slider */
.gallery-filters .filter-btn {
  position: relative;
  transition: color 0.3s, background 0.3s;
}

.gallery-filters .filter-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--entity-accent, var(--color-royal-blue));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.gallery-filters .filter-btn.active::after {
  transform: scaleX(1);
}

/* Gallery items fade during filter transition */
.gallery-item.filtering-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-item.filtering-in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s 0.1s, transform 0.35s 0.1s;
}


/* ============================================================
   G. BLOG — Cards améliorées
   ============================================================ */

/* Blog card image zoom */
.blog-card .card-img img,
.article-card .card-img img {
  transition: transform 0.6s var(--ease-smooth);
}

.blog-card:hover .card-img img,
.article-card:hover .card-img img {
  transform: scale(1.06);
}

/* Article featured (premier article) */
.blog-featured {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.blog-featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(27,42,74,0.85));
  pointer-events: none;
}

/* Blog article prose améliorée */
.blog-article .prose h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--color-signal-red);
  border-radius: var(--radius-full);
  margin-right: 0.75rem;
  vertical-align: text-bottom;
}


/* ============================================================
   H. GROUPE.HTML — Timeline + Organigramme
   ============================================================ */

/* Timeline améliorée */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--color-royal-blue) 10%,
    var(--color-royal-blue) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline-marker {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-royal-blue), var(--color-navy));
  color: white;
  box-shadow: 0 0 0 4px rgba(36, 86, 164, 0.15);
  transition: box-shadow 0.3s;
}

.timeline-item:hover .timeline-marker {
  box-shadow: 0 0 0 8px rgba(36, 86, 164, 0.12), var(--glow-blue);
}

.timeline-content {
  background: var(--color-white);
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-xl);
  transition: box-shadow 0.3s, transform 0.3s;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}


/* ============================================================
   I. 404 PAGE — Design fun amélioré
   ============================================================ */

.error-404 {
  text-align: center;
  padding: 5rem 1.5rem;
}

.error-404-number {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-navy), var(--color-royal-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.error-404-entity-card {
  border-left: 4px solid var(--entity-accent, var(--color-royal-blue));
  background: var(--entity-tint, rgba(36,86,164,0.04));
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 160px;
}

.error-404-entity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--entity-glow, var(--glow-blue));
}


/* ============================================================
   J. PAGES LÉGALES — Sidebar sticky améliorée
   ============================================================ */

.legal-sidebar {
  position: sticky;
  top: calc(70px + 1.5rem);
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-glass);
}

.legal-sidebar h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-tower-gray);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-light-gray);
}

.legal-sidebar a {
  display: block;
  padding: 0.4rem 0.5rem;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.legal-sidebar a:hover,
.legal-sidebar a[aria-current="page"] {
  background: var(--color-royal-blue-10);
  color: var(--color-royal-blue);
  padding-left: 0.875rem;
}


/* ============================================================
   K. COOKIES BANNER — Glassmorphism
   ============================================================ */

.cookie-banner {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(27, 42, 74, 0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
}


/* ============================================================
   L. RESPONSIVE FINAL
   ============================================================ */

@media (max-width: 768px) {
  .hero-short {
    min-height: 35vh;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .hero-slide::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(27,42,74,0.55) 100%);
  }

  .cta-band h2 {
    font-size: 1.625rem;
  }

  .timeline::before {
    left: 20px;
  }

  .pricing-card.featured,
  .tarif-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.625rem;
  }

  .error-404-number {
    font-size: 5rem;
  }
}


/* ============================================================
   HOMEPAGE DENSITY OVERRIDES — body.page-home
   Scoped uniquement à la page d'accueil
   ============================================================ */

/* --- Espacement sections réduit --- */
body.page-home .section { padding: 2rem 0; }
body.page-home .section-sm { padding: 1rem 0; }
body.page-home .section-heading { margin-bottom: 1rem; }
body.page-home .section-heading::after { margin: 0.375rem auto 0; }

/* Supprimer les décorateurs qui ajoutent 40-60px de vide vertical */
body.page-home .section-wave::after { display: none; }
body.page-home .section-diagonal-bottom {
  clip-path: none;
  padding-bottom: 3rem;
}

/* CTA Band plus compact */
body.page-home .cta-band {
  padding: 1.75rem 1.5rem;
}
body.page-home .cta-band p {
  margin-bottom: 1rem;
}

/* Why Us items + grid plus denses */
body.page-home .why-us-item {
  padding: 1rem 1rem;
}
body.page-home .why-us-grid {
  gap: 1rem;
}

/* Blog grid compact */
body.page-home .blog-grid {
  gap: 1rem;
}
body.page-home .blog-card .card-body {
  padding: 1rem;
}

/* Footer compact */
body.page-home .site-footer {
  margin-top: 0;
}
body.page-home .footer-cta-band {
  padding: 1.5rem 1rem;
}

/* Reveals : contenu visible immédiatement sur la homepage
   Les animations de scroll donnent une impression de vide */
body.page-home .reveal,
body.page-home [data-reveal],
body.page-home .gsap-ready > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  translate: none !important;
}

/* --- Cartes Entités avec photo en en-tête --- */
body.page-home .entity-card {
  overflow: hidden;
  padding: 0;
}
body.page-home .entity-card .entity-card-photo {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
body.page-home .entity-card .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
body.page-home .entity-card .logo-original-wrapper {
  display: none;
}

/* --- Cartes Service avec photo en en-tête --- */
body.page-home .service-card {
  overflow: hidden;
  padding: 0;
  text-align: left;
}
body.page-home .service-card .service-card-photo {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
body.page-home .service-card .card-body {
  padding: 1rem 1.25rem 1.25rem;
  text-align: left;
}
body.page-home .service-card .service-icon-circle {
  display: none;
}

/* --- Photo Strip : grille resserrée 4→auto colonnes --- */
body.page-home .photo-strip {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.25rem;
}
body.page-home .photo-strip figure {
  margin: 0;
}

/* --- Mosaïque Vidéo : grille agrandie --- */
body.page-home #video-presentation .video-photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
}
body.page-home #video-presentation .video-photo-mosaic img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
body.page-home #video-presentation .video-photo-mosaic .mosaic-tall {
  grid-row: 1 / 3;
}

/* --- Partners strip plus compact --- */
body.page-home .partners-strip {
  margin-bottom: 1rem;
}

/* ============================================================
   MOBILE RESPONSIVE — Homepage
   ============================================================ */
@media (max-width: 768px) {
  body.page-home .section { padding: 1.5rem 0; }
  body.page-home .section-sm { padding: 0.75rem 0; }
  body.page-home .section-heading { margin-bottom: 0.75rem; }

  body.page-home .entity-card .entity-card-photo { height: 140px; }
  body.page-home .service-card .service-card-photo { height: 120px; }

  body.page-home .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }

  body.page-home #video-presentation .video-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  body.page-home #video-presentation .video-photo-mosaic {
    grid-template-rows: 140px 140px;
  }

  body.page-home .cta-band { padding: 1.25rem 1rem; }
  body.page-home .footer-cta-band { padding: 1.25rem 1rem; }
}

@media (max-width: 480px) {
  body.page-home .section { padding: 1.25rem 0; }
  body.page-home .entity-card .entity-card-photo { height: 120px; }
  body.page-home .service-card .service-card-photo { height: 100px; }
  body.page-home #video-presentation .video-photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  body.page-home #video-presentation .video-photo-mosaic .mosaic-tall {
    grid-row: auto;
  }
}
