/*
======================================
MANAZELRIM THEME - MAIN CSS CORRIGÉ
======================================
Theme: ManazelRim
Description: CSS principal pour le thème immobilier ManazelRim
Version: 1.0.2 - CORRIGÉE
Author: ManazelRim Team

CORRECTIONS INTÉGRÉES :
✅ Étoiles en Unicode au lieu de Font Awesome
✅ Icônes contact personnalisées en SVG
✅ Emojis pour les propriétés
✅ Support RTL complet
======================================
*/

/* ====================================
   1. VARIABLES CSS GLOBALES
==================================== */
:root {
  /* === COULEURS PRINCIPALES === */
  --primary-color: #1a365d;
  --secondary-color: #2d5a87;
  --accent-color: #e67e22;
  --gold-accent: #f39c12;
  
  /* === COULEURS DE TEXTE === */
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  
  /* === DÉGRADÉS === */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--gold-accent));
  
  /* === OMBRES === */
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
  
  /* === ESPACEMENTS === */
  --section-padding: 6rem 0;
  --container-padding: 0 2rem;
  --border-radius: 15px;
  --border-radius-large: 20px;
  --border-radius-small: 10px;
  
  /* === TRANSITIONS === */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ====================================
   2. RESET ET BASE
==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Cairo', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--white);
  padding-top: 80px;
}

/* Support RTL */
body[dir="rtl"] {
  font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* Liens */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Listes */
ul, ol {
  list-style: none;
}

/* Boutons de base */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ====================================
   3. TYPOGRAPHIE
==================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Cairo', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.8rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.2rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Typographie RTL */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p {
  font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* ====================================
   4. CLASSES UTILITAIRES
==================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* Classes d'animation */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   5. BOUTONS
==================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

/* ====================================
   6. LANGUAGE SWITCHER
==================================== */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--white);
  border-radius: 25px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-dark);
  font-size: 14px;
}

.lang-btn.active {
  background: var(--gradient-primary);
  color: white;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

/* RTL Support pour Language Switcher */
body[dir="rtl"] .language-switcher {
  right: auto;
  left: 20px;
}

/* ====================================
   7. HEADER / NAVIGATION
==================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary-color);
}

.logo-ar {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-right: 10px;
  font-family: 'Cairo', sans-serif;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  display: block;
}

.main-menu a:hover {
  color: var(--accent-color);
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.main-menu a:hover::after {
  width: 100%;
}

/* Active menu item */
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
  color: var(--accent-color);
}

.main-menu .current-menu-item > a::after,
.main-menu .current_page_item > a::after {
  width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* Navbar scroll effect */
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* ====================================
   8. HERO SECTION
==================================== */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

.hero-content {
  max-width: 600px;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: white;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero RTL */
body[dir="rtl"] .hero-content {
  text-align: right;
}

/* ====================================
   9. SECTIONS GÉNÉRALES
==================================== */
.section {
  padding: var(--section-padding);
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Section RTL */
body[dir="rtl"] .section-header {
  text-align: right;
}

/* ====================================
   10. ABOUT SECTION
==================================== */
.about-section {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* ====================================
   11. PROPERTIES SECTION
==================================== */
.properties-section {
  padding: var(--section-padding);
  background: white;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.property-card {
  background: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.property-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.property-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26,54,93,0.9);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
}

.property-content {
  padding: 2rem;
}

.property-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.property-location {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature span:first-child {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.view-details-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26,54,93,0.3);
}

/* Properties RTL */
body[dir="rtl"] .property-features {
  flex-direction: row-reverse;
}

body[dir="rtl"] .property-badge {
  left: auto;
  right: 1rem;
}

body[dir="rtl"] .property-price {
  right: auto;
  left: 1rem;
}

/* ====================================
   12. TESTIMONIALS SECTION
==================================== */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--gradient-primary);
  color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.testimonial-role {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ====================================
   13. ÉTOILES CORRIGÉES
==================================== */

.stars {
  font-family: Arial, sans-serif !important;
  color: #f39c12 !important;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

/* Animation pour les étoiles */
.stars:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Pour les témoignages avec background sombre */
.testimonials-section .stars {
  color: #f39c12;
  text-shadow: 0 0 3px rgba(243, 156, 18, 0.5);
}

/* ====================================
   14. CONTACT SECTION
==================================== */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-small);
  font-family: inherit;
  transition: var(--transition);
  font-size: 1rem;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.contact-info {
  padding: 2rem 0;
}

/* ====================================
   15. ICÔNES CONTACT PERSONNALISÉES
==================================== */

/* Style de base pour les icônes personnalisées */
.custom-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  border-radius: 50%;
}

.custom-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

/* Icônes SVG */
.custom-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
  position: relative;
  z-index: 1;
}

/* Styles spécifiques pour chaque icône */
.location-icon {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

.phone-icon {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

.email-icon {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

.clock-icon {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

/* Contact item amélioré */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #e67e22;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-details h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-details p {
  color: #7f8c8d;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Contact RTL */
body[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
  text-align: right;
  border-left: none;
  border-right: 4px solid #e67e22;
}

/* ====================================
   16. FOOTER
==================================== */
.site-footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--gold-accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-color);
}

/* ====================================
   17. ANIMATIONS
==================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ====================================
   18. RESPONSIVE DESIGN
==================================== */

/* Tablettes (1024px et moins) */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

/* Tablettes portrait et mobiles (768px et moins) */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --container-padding: 0 1rem;
  }

  body {
    padding-top: 70px;
  }

  /* Navigation mobile */
  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Header mobile */
  .header-container {
    padding: 0 1rem;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .logo-ar {
    font-size: 1.3rem;
    margin-right: 8px;
  }

  /* Language switcher mobile */
  .language-switcher {
    top: 15px;
    right: 15px;
    padding: 6px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Hero mobile */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  /* Sections mobiles */
  .section-title {
    font-size: 2.2rem;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Propriétés mobiles */
  .property-card {
    margin: 0 1rem;
  }

  .property-features {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Contact mobile */
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .custom-icon {
    width: 50px;
    height: 50px;
  }
  
  .custom-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobiles petits (480px et moins) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .logo a {
    font-size: 1.3rem;
  }

  .logo-ar {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .property-card {
    margin: 0;
  }

  .properties-grid {
    gap: 1.5rem;
  }

  .stars {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

/* ====================================
   19. RTL SUPPORT COMPLET
==================================== */

body[dir="rtl"] .main-menu {
  flex-direction: row-reverse;
}

body[dir="rtl"] .logo-ar {
  margin-right: 0;
  margin-left: 10px;
}

body[dir="rtl"] .main-menu a::after {
  left: auto;
  right: 0;
}

body[dir="rtl"] .language-switcher {
  right: auto;
  left: 20px;
}

body[dir="rtl"] .hero-content {
  text-align: right;
}

body[dir="rtl"] .section-header {
  text-align: right;
}

/* ====================================
   20. PRINT STYLES
==================================== */
@media print {
  .language-switcher,
  .site-header,
  .mobile-menu-toggle,
  .btn,
  .contact-form {
    display: none !important;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }

  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }

  .property-card,
  .testimonial-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  .stars {
    color: #000 !important;
  }

  .custom-icon {
    background: #e67e22 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* ====================================
   FIN DU CSS PRINCIPAL CORRIGÉ
==================================== */