/*
Theme Name: ManazelRim
Theme URI: https://manazelrim.com
Description: Thème WordPress professionnel pour agence immobilière ManazelRim. Design moderne, responsive et multilingue (Français/Arabe) avec support RTL complet.
Author: ManazelRim Team
Author URI: https://manazelrim.com
Version: 1.0.2
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manazelrim
Domain Path: /languages
Tags: real-estate, business, responsive, rtl-language-support, custom-header, custom-menu, featured-images, threaded-comments, translation-ready

ManazelRim WordPress Theme, Copyright 2025 ManazelRim Team
ManazelRim is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* ====================================
   STYLE.CSS - VERSION CORRIGÉE 1.0.2
   ====================================
   
   CORRECTIONS APPLIQUÉES :
   1. Import conditionnel de main.css
   2. Fallbacks pour les navigateurs anciens
   3. CSS critique optimisé
   4. Support WordPress amélioré
   5. Integration Contact Form 7
   6. Correction boutons arrondis
==================================== */

/* ====================================
   1. VÉRIFICATION ET IMPORT DE MAIN.CSS
==================================== */

/* Import du CSS principal si disponible */
@import url('./assets/css/main.css');

/* Fallback si main.css n'est pas disponible */
@supports not (background-clip: text) {
  @import url('./assets/css/main.css') layer(main);
}

/* ====================================
   2. GOOGLE FONTS - CHARGEMENT CRITIQUE
==================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ====================================
   3. FONT AWESOME - ICONS
==================================== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ====================================
   4. CSS CRITIQUE - AU-DESSUS DE LA LIGNE DE FLOTTAISON
==================================== */

/* Prévention du flash de contenu non stylé (FOUC) */
html {
  visibility: visible;
  opacity: 1;
}
html.wf-active,
html.wf-inactive,
html.fonts-loaded {
  visibility: visible;
  opacity: 1;
}

/* Variables critiques répétées pour la performance */
:root {
  --primary-color: #1a365d;
  --secondary-color: #2d5a87;
  --accent-color: #e67e22;
  --gold-accent: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --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);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--gold-accent));
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --border-radius: 15px;
  --border-radius-large: 20px;
  --border-radius-small: 10px;
}

/* Reset critique pour éviter les sauts de layout */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', 'Cairo', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--white);
}

/* RTL Support */
body[dir="rtl"] {
  font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* Header fixe - CSS critique */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

/* Espace pour header fixe */
body {
  padding-top: 80px;
}

/* Navigation critique */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.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); /* Fallback */
}

.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;
}

/* Menu principal critique */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.main-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  display: block;
}

/* Language switcher critique */
.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;
}

/* ====================================
   5. CORRECTION BOUTONS - PRIORITÉ ÉLEVÉE
==================================== */

/* Forcer les bordures arrondies pour tous les boutons */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.hero-cta .btn-primary,
.hero-cta .btn-secondary,
a.btn-primary,
a.btn-secondary,
button.btn-primary,
button.btn-secondary,
input[type="submit"],
button[type="submit"] {
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-family: 'Montserrat', 'Cairo', sans-serif !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Bouton primaire */
.btn-primary,
.hero-cta .btn-primary,
a.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
    background: linear-gradient(135deg, #e67e22, #f39c12) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3) !important;
}

.btn-primary:hover,
.hero-cta .btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4) !important;
    color: white !important;
}

/* Bouton secondaire */
.btn-secondary,
.hero-cta .btn-secondary,
a.btn-secondary,
button.btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.btn-secondary:hover,
.hero-cta .btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover {
    background: white !important;
    color: #1a365d !important;
}

/* Bouton outline */
.btn-outline {
    background: transparent !important;
    color: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
}

.btn-outline:hover {
    background: var(--accent-color) !important;
    color: white !important;
}

/* Correction spécifique pour Elementor */
.elementor-widget-button .elementor-button {
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-button .elementor-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4) !important;
}

/* Mobile responsive pour boutons */
@media (max-width: 768px) {
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.8rem 2rem !important;
        font-size: 0.9rem !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-cta .btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ====================================
   6. OVERRIDES WORDPRESS SPÉCIFIQUES
==================================== */

/* Admin Bar Support */
.admin-bar .site-header {
  top: 32px;
}

.admin-bar body {
  padding-top: 112px; /* 80px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  
  .admin-bar body {
    padding-top: 126px; /* 80px header + 46px admin bar mobile */
  }
}

/* WordPress Core Alignments */
.alignwide {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  clear: both;
}

.alignleft {
  float: left;
  margin: 0 1rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1rem;
}

.aligncenter {
  display: block;
  margin: 0 auto 1rem;
  text-align: center;
}

.alignnone {
  margin: 0 0 1rem;
  max-width: 100%;
}

/* WordPress Blocks Support */
.wp-block-group {
  margin-bottom: 2rem;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.wp-block-column {
  flex: 1;
  min-width: 0;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-image img {
  height: auto;
  max-width: 100%;
  border-radius: var(--border-radius-small);
}

.wp-block-quote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

.wp-block-quote cite {
  color: var(--text-dark);
  font-style: normal;
  font-weight: 600;
}

.wp-block-pullquote {
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.wp-block-button .wp-block-button__link {
  background: var(--gradient-accent) !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-block !important;
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3) !important;
}

/* ====================================
   7. CONTACT FORM 7 - STYLES MANAZELRIM
==================================== */

/* === CONTENEUR PRINCIPAL === */
.wpcf7 {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

/* === CHAMPS DE FORMULAIRE === */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid #e9ecef !important;
    border-radius: var(--border-radius-small) !important;
    font-family: 'Montserrat', 'Cairo', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    transition: var(--transition) !important;
    background: white !important;
    color: var(--text-dark) !important;
    margin-bottom: 1rem !important;
    box-sizing: border-box !important;
}

/* Focus des champs */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1) !important;
}

/* === LABELS === */
.wpcf7 label {
    display: block !important;
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    font-family: 'Montserrat', 'Cairo', sans-serif !important;
}

/* === BOUTON SUBMIT CF7 === */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
    background: var(--gradient-accent) !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-family: 'Montserrat', 'Cairo', sans-serif !important;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3) !important;
    width: auto !important;
    display: inline-block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4) !important;
    background: var(--gradient-accent) !important;
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-submit:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* === MESSAGES D'ERREUR === */
.wpcf7-not-valid-tip {
    color: #dc3545 !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
    display: block !important;
    font-weight: 500 !important;
}

/* === MESSAGES DE RÉPONSE === */
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0 1em !important;
    padding: 1rem 1.5rem !important;
    border-radius: var(--border-radius-small) !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', 'Cairo', sans-serif !important;
}

/* Message de succès */
.wpcf7 form.sent .wpcf7-response-output {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
}

/* Messages d'erreur */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: #fff3cd !important;
    color: #856404 !important;
    border: 2px solid #ffeaa7 !important;
}

.wpcf7 form.spam .wpcf7-response-output {
    background: #fdecea !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
}

/* === SPINNER DE CHARGEMENT === */
.wpcf7-spinner {
    background-color: var(--accent-color) !important;
    margin: 0 10px !important;
}

.wpcf7-spinner::before {
    background-color: white !important;
}

/* === CHAMPS DE FICHIER === */
.wpcf7 input[type="file"] {
    padding: 0.8rem !important;
    border: 2px dashed #e9ecef !important;
    border-radius: var(--border-radius-small) !important;
    background: #f8f9fa !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.wpcf7 input[type="file"]:hover {
    border-color: var(--accent-color) !important;
    background: rgba(230, 126, 34, 0.05) !important;
}

/* === CHECKBOXES ET RADIO === */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: auto !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0 !important;
    transform: scale(1.2) !important;
    accent-color: var(--accent-color) !important;
}

.wpcf7-list-item {
    margin: 0.5rem 0 !important;
    display: block !important;
}

.wpcf7-list-item label {
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

/* === RESPONSIVE CF7 === */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 2rem !important;
        margin: 1rem 0 !important;
    }
    
    .wpcf7-form input[type="submit"],
    .wpcf7-submit {
        width: 100% !important;
        padding: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea,
    .wpcf7 select {
        font-size: 16px !important; /* Évite le zoom sur iOS */
    }
}

/* === SUPPORT RTL === */
body[dir="rtl"] .wpcf7 input[type="text"],
body[dir="rtl"] .wpcf7 input[type="email"],
body[dir="rtl"] .wpcf7 input[type="tel"],
body[dir="rtl"] .wpcf7 textarea,
body[dir="rtl"] .wpcf7 select,
body[dir="rtl"] .wpcf7 label {
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
    text-align: right !important;
}

body[dir="rtl"] .wpcf7 input[type="checkbox"],
body[dir="rtl"] .wpcf7 input[type="radio"] {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* === INTÉGRATION AVEC LE THÈME === */
.contact-section .wpcf7 {
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
}

.contact-form .wpcf7 {
    background: white !important;
    padding: 3rem !important;
    border-radius: var(--border-radius-large) !important;
    box-shadow: var(--shadow) !important;
}

/* === WRAPPER POUR COLONNES === */
.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

/* Deux colonnes sur desktop */
.cf7-two-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {
    .cf7-two-columns {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* === STYLES POUR ELEMENTOR === */
.elementor-widget-wp-widget-wpcf7_contact_form_selector .wpcf7 {
    background: white !important;
    padding: 2rem !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-light) !important;
}

/* ====================================
   8. ACCESSIBILITÉ AMÉLIORÉE
==================================== */

/* Focus Styles améliorés */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip Links */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  z-index: 100000;
  font-weight: 600;
  transition: var(--transition);
}

.skip-link:focus {
  top: 6px;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ====================================
   9. RESPONSIVE CRITICAL
==================================== */

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-container {
    padding: 0 1rem;
  }

  .logo a {
    font-size: 1.6rem;
  }

  .logo-ar {
    font-size: 1.4rem;
    margin-right: 8px;
  }

  .language-switcher {
    top: 15px;
    right: 15px;
    padding: 6px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ====================================
   10. PRINT STYLES
==================================== */

@media print {
  /* Masquer les éléments non imprimables */
  .site-header,
  .language-switcher,
  .mobile-menu-toggle,
  .hero-cta,
  .btn,
  .contact-form,
  .social-links,
  .back-to-top {
    display: none !important;
  }
  
  /* Ajuster pour l'impression */
  body {
    padding-top: 0;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: white;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .property-card,
  .testimonial-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }
}

/* ====================================
   11. FIXES CROSS-BROWSER
==================================== */

/* Fix pour Safari */
@supports (-webkit-backdrop-filter: blur(20px)) {
  .site-header {
    -webkit-backdrop-filter: blur(20px);
  }
}

/* Fix pour Firefox */
@-moz-document url-prefix() {
  .logo a {
    background: var(--primary-color);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--primary-color);
  }
}


/* ===================================
   AJUSTEMENT TAILLE LOGO MANAZEL
   ================================= */

/* Ajouter ce CSS dans style.css ou main.css pour agrandir le logo */

/* === LOGO PLUS GRAND === */
.custom-logo {
  max-width: 400px !important;  /* Augmenté de 280px à 350px */
  max-height: 120px !important; /* Augmenté de 80px à 100px */
}

/* Logo texte plus grand aussi */
.logo-text {
  font-size: 2.4rem !important; /* Augmenté de 2rem à 2.4rem */
}

.logo-ar {
  font-size: 2.2rem !important; /* Augmenté de 1.8rem à 2.2rem */
}

/* Container logo avec plus d'espace */
.logo-container {
  gap: 15px !important; /* Augmenté de 12px à 15px */
}

/* Header scrollé - garder une taille décente */
.site-header.scrolled .custom-logo {
  max-height: 75px !important; /* Augmenté de 60px à 75px */
}

.site-header.scrolled .logo-text {
  font-size: 2rem !important; /* Augmenté de 1.6rem à 2rem */
}

.site-header.scrolled .logo-ar {
  font-size: 1.8rem !important; /* Augmenté de 1.4rem à 1.8rem */
}

/* === RESPONSIVE AJUSTÉ === */

/* Tablette */
@media (max-width: 1024px) {
  .custom-logo {
    max-width: 300px !important;
    max-height: 85px !important;
  }
  
  .logo-text {
    font-size: 2.2rem !important;
  }
  
  .logo-ar {
    font-size: 2rem !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .custom-logo {
    max-width: 250px !important;
    max-height: 75px !important;
  }
  
  .logo-text {
    font-size: 1.8rem !important;
  }
  
  .logo-ar {
    font-size: 1.6rem !important;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .custom-logo {
    max-width: 200px !important;
    max-height: 60px !important;
  }
  
  .logo-text {
    font-size: 1.6rem !important;
  }
  
  .logo-ar {
    font-size: 1.4rem !important;
  }
}

/* === AJUSTEMENTS HEADER POUR COMPENSER === */

/* Si le header devient trop serré, on peut l'ajuster */
.header-container {
  padding: 1rem 2rem !important; /* Un peu plus d'espace vertical */
}

/* Ajuster le menu pour qu'il reste équilibré */
.main-menu {
  gap: 2rem !important; /* Réduire légèrement l'espace entre les items */
}

.main-menu a {
  font-size: 1rem !important; /* Garder une taille cohérente */
  font-weight: 500 !important;
}

/* Bouton CTA proportionnel */
.header-cta {
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
}

/* === VARIANTES OPTIONNELLES === */

/* Option 1: Logo encore plus grand (si tu veux) */
/*
.custom-logo {
  max-width: 400px !important;
  max-height: 120px !important;
}

.logo-text {
  font-size: 2.8rem !important;
}

.logo-ar {
  font-size: 2.5rem !important;
}
*/

/* Option 2: Logo avec plus d'impact visuel */
.logo-link {
  padding: 0.8rem !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.logo-link:hover {
  background: rgba(230, 126, 34, 0.1) !important;
  transform: scale(1.02) !important;
}

/* Option 3: Ombre subtile pour faire ressortir le logo */
.custom-logo {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
  transition: all 0.3s ease !important;
}

.logo-link:hover .custom-logo {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)) !important;
  transform: scale(1.05) !important;
}

/* === COMPENSATION MOBILE MENU === */
/* S'assurer que le menu mobile reste bien positionné */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    margin-left: auto !important;
  }
  
  .header-container {
    padding: 0.8rem 1rem !important;
  }
}

/* ====================================
   FIN DU STYLE.CSS CORRIGÉ 1.0.2
==================================== */