 @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Mystery+Quest&family=Playwrite+DE+SAS:wght@100..400&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');

 
 /* NOUVELLE PALETTE DE COULEURS */
    :root {
      --primary: #C6A85A;   /* Or / Doré */
      --dark: #000000;      /* Noir */
      --dark-soft: #1A1A1A; /* Fond secondaire */
      --light: #D9D9D9;     /* Gris clair */
      --text-light: #F5F5F5;
      --white: #FFFFFF;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: var(--dark-soft);
      color: var(--light);
      scroll-behavior: smooth;
    }

    /* HEADER – NAVBAR MODERNE AVEC LOGO & PALETTE NOIR/DORÉ */
    .header-main {
      background: var(--dark);
      padding: 0 5%;
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid rgba(198, 168, 90, 0.3);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      padding: 16px 0;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .logo-img {
      height: 54px;
      width: auto;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .logo-text-main {
      font-size: 1.7rem;
      font-weight: 800;
      letter-spacing: 1px;
      background: linear-gradient(135deg, var(--primary), #E6C87A);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .logo-sub {
      font-size: 0.7rem;
      letter-spacing: 2px;
      font-weight: 500;
      color: var(--primary);
      margin-top: 2px;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      flex-wrap: wrap;
      list-style: none;
    }

    .nav-links a {
      color: var(--light);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-links a i {
      font-size: 0.9rem;
      color: var(--primary);
    }

    .nav-links a:hover {
      color: var(--primary);
      transform: translateY(-2px);
    }

    .btn-outline-light {
      border: 1.5px solid var(--primary);
      padding: 6px 18px;
      border-radius: 40px;
      background: transparent;
      color: var(--primary);
      transition: 0.2s;
    }

    .btn-outline-light:hover {
      background: var(--primary);
      color: var(--dark);
      border-color: var(--primary);
    }

    /* ===== DROPDOWN MODERNE ET ÉLÉGANT ===== */
    .dropdown {
      position: relative;
    }

    .dropdown > a {
      cursor: pointer;
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 15px);
      left: 0;
      background: rgba(10, 10, 10, 0.98);
      backdrop-filter: blur(12px);
      list-style: none;
      padding: 0.8rem 0;
      margin: 0;
      border-radius: 20px;
      min-width: 260px;
      border: 1px solid rgba(198, 168, 90, 0.3);
      box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(0.98);
      transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      z-index: 1050;
    }

    .dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .dropdown-menu li {
      padding: 0;
      margin: 0;
    }

    .dropdown-menu li a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: #e0e0e0;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .dropdown-menu li a i,
    .dropdown-menu li a [class*="fa-"] {
      width: 24px;
      font-size: 1rem;
      color: var(--primary);
      text-align: center;
    }

    .dropdown-menu li a:hover {
      background: rgba(198, 168, 90, 0.12);
      color: var(--primary);
      padding-left: 1.8rem;
    }

    /* Flèche décorative sous l'élément parent */
    .dropdown > a::after {
      content: '\f0d7';
      font-weight: 900;
      font-size: 0.75rem;
      margin-left: 6px;
      color: var(--primary);
      transition: transform 0.2s ease;
      display: inline-block;
    }

    .dropdown:hover > a::after {
      transform: rotate(180deg);
    }

    /* HERO SECTION AVEC OVERLAY NOIR + ACCENT DORÉ */
    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.7)), url('../Follio/Img/Ampa3.jpg');
      background-size: cover;
      background-position: center 30%;
      min-height: 88vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
    }

    .hero-content {
      max-width: 950px;
    }

    .hero-content h2 {
      font-size: 3.2rem;
      font-weight: 700;
      color: var(--white);
      text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
      margin-bottom: 1rem;
    }

    .hero-content p {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 2rem;
    }

    .search-card {
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(6px);
      border-radius: 28px;
      padding: 1.8rem 2rem;
      box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(198, 168, 90, 0.5);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
    }

    .search-group {
      flex: 1;
      min-width: 160px;
      display: flex;
      flex-direction: column;
      text-align: left;
      gap: 6px;
    }

    .search-group label {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .search-group input, .search-group select {
      padding: 12px 16px;
      border-radius: 40px;
      border: 1px solid #333;
      background: #111;
      color: white;
      outline: none;
      transition: 0.2s;
    }

    .search-group input:focus, .search-group select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(198, 168, 90, 0.3);
    }

    .btn-search {
      background: var(--primary);
      color: var(--dark);
      border: none;
      padding: 0 32px;
      border-radius: 50px;
      font-weight: 800;
      font-size: 1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
      margin-top: 22px;
    }

    .btn-search:hover {
      background: #e0b45a;
      transform: scale(1.02);
      box-shadow: 0 5px 15px rgba(198, 168, 90, 0.4);
    }

    /* CATEGORIES (TYPE DE BIENS) fond sombre */
    .categories {
      padding: 4rem 5%;
      text-align: center;
      background: var(--dark-soft);
      border-top: 1px solid rgba(198, 168, 90, 0.2);
    }

    .section-title {
      font-size: 2.2rem;
      margin-bottom: 0.8rem;
      color: var(--primary);
    }

    .section-sub {
      color: #b0b0b0;
      margin-bottom: 3rem;
      font-weight: 400;
    }

    .cat-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 28px;
      margin-top: 20px;
    }

    .cat {
      background: #0a0a0a;
      border-radius: 28px;
      padding: 28px 20px;
      width: 170px;
      text-align: center;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
      transition: all 0.25s;
      border: 1px solid rgba(198, 168, 90, 0.3);
      cursor: default;
    }

    .cat i {
      font-size: 2.8rem;
      color: var(--primary);
      margin-bottom: 12px;
    }

    .cat h4 {
      font-size: 1.2rem;
      font-weight: 600;
      margin: 10px 0 5px;
      color: var(--white);
    }

    .cat p {
      font-size: 0.8rem;
      color: #b7b7b7;
    }

    .cat:hover {
      transform: translateY(-8px);
      border-color: var(--primary);
      background: #111111;
    }

    /* LISTINGS – CARTES IMMOBILIERES (SANS PRIX) */
    .listings {
      padding: 3rem 5% 5rem;
      background: var(--dark);
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .section-header h2 {
      font-size: 2rem;
      color: var(--primary);
    }

    .view-all {
      color: var(--primary);
      font-weight: 500;
      text-decoration: none;
    }

    .cards {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .card {
      background: #0f0f0f;
      border-radius: 28px;
      overflow: hidden;
      width: 330px;
      transition: 0.25s ease;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(198, 168, 90, 0.25);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 35px rgba(0, 0, 0, 0.5);
      border-color: var(--primary);
    }

    .card-img {
      height: 220px;
      width: 100%;
      object-fit: cover;
      transition: 0.3s;
    }

    .card-content {
      padding: 1.3rem 1.3rem 1.5rem;
    }

    .card-badge {
      display: inline-block;
      background: rgba(198, 168, 90, 0.2);
      color: var(--primary);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 30px;
      margin-bottom: 12px;
    }

    .card h3 {
      font-size: 1.45rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: white;
    }

    /* PRIX SUPPRIMÉ - plus de .price */

    .features {
      display: flex;
      gap: 16px;
      margin: 12px 0;
      color: #bdbdbd;
      font-size: 0.85rem;
      border-top: 1px solid #2a2a2a;
      padding-top: 12px;
    }

    .features i {
      margin-right: 5px;
      color: var(--primary);
    }

    .btn-detail {
      display: inline-block;
      margin-top: 16px;
      background: transparent;
      border: 1.5px solid var(--primary);
      padding: 8px 20px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.8rem;
      color: var(--primary);
      transition: 0.2s;
      text-decoration: none;
    }

    .btn-detail:hover {
      background: var(--primary);
      color: var(--dark);
    }

    /* SLIDER */
    .slider {
      position: relative;
      width: 100%;
      height: 400px;
      overflow: hidden;
      margin-top: 3rem;
    }

    .slides {
      position: relative;
      height: 100%;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: 0.8s ease-in-out;
    }

    .slide.active {
      opacity: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .caption {
      position: absolute;
      bottom: 40px;
      left: 50px;
      color: white;
      background: rgba(0,0,0,0.5);
      padding: 20px;
      border-radius: 10px;
    }

    .caption h2 {
      color: #C6A85A;
    }

    /* SECTION SERVICES COMPLETE */
    .services-full {
      background: var(--dark-soft);
      padding: 5rem 5%;
      border-top: 1px solid rgba(198, 168, 90, 0.25);
      border-bottom: 1px solid rgba(198, 168, 90, 0.25);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      margin: 3rem 0 2.5rem;
    }

    .service-card {
      background: #0c0c0c;
      border-radius: 24px;
      padding: 1.8rem 1.5rem;
      text-align: center;
      border: 1px solid rgba(198, 168, 90, 0.2);
      transition: 0.2s;
    }

    .service-card i {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .service-card h3 {
      color: white;
      font-size: 1.3rem;
      margin-bottom: 0.8rem;
      font-weight: 600;
    }

    .service-card p {
      color: #bfbfbf;
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .why-choose {
      background: #0a0a0a;
      border-radius: 32px;
      padding: 2.5rem;
      margin: 2rem 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      border-left: 4px solid var(--primary);
    }

    .why-col {
      flex: 1;
      min-width: 180px;
    }

    .why-col h4 {
      color: var(--primary);
      margin-bottom: 0.8rem;
      font-size: 1.2rem;
    }

    .why-col ul {
      list-style: none;
      padding-left: 0;
    }

    .why-col li {
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #ddd;
    }

    .why-col li i {
      color: var(--primary);
      font-size: 0.9rem;
    }

    /* CTA SECTION AGENCE */
    .cta-section {
      background: linear-gradient(95deg, #000000 0%, #1a1205 100%);
      padding: 4rem 5%;
      text-align: center;
      color: white;
      border-top: 1px solid rgba(198, 168, 90, 0.3);
    }

    .cta-inner h3 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    .btn-cta {
      background: var(--primary);
      border: none;
      padding: 12px 38px;
      border-radius: 50px;
      font-weight: bold;
      color: #000;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.2s;
    }

    /* FOOTER avec logo et palette */
    footer {
      background: #030303;
      color: #ccc;
      padding: 2rem 5% 1.5rem;
      border-top: 1px solid rgba(198, 168, 90, 0.3);
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
      margin-bottom: 1.5rem;
      text-align: left;
    }

    .footer-col p {
      margin-top: 12px;
      font-size: 0.85rem;
      max-width: 260px;
      color: #aaa;
    }

    .footer-col h4 {
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .social-icons a {
      color: var(--primary);
      margin-right: 18px;
      font-size: 1.4rem;
      transition: 0.2s;
    }

    .social-icons a:hover {
      transform: translateY(-3px);
      opacity: 0.8;
    }

    .copyright {
      border-top: 1px solid #2a2a2a;
      padding-top: 1.5rem;
      font-size: 0.8rem;
      text-align: center;
    }

    /* BOUTON RETOUR VERS LE HAUT */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: var(--primary);
      color: var(--dark);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 999;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      border: none;
      font-size: 1.4rem;
    }

    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      background: #e0b45a;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(198, 168, 90, 0.4);
    }

    @media (max-width: 780px) {
      .navbar {
        flex-direction: column;
        gap: 1rem;
      }
      .hero-content h2 {
        font-size: 2.2rem;
      }
      .search-card {
        flex-direction: column;
      }
      .why-choose {
        flex-direction: column;
      }
      .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
      }
      
      /* Responsive dropdown */
      .dropdown-menu {
        position: static;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
      }
      .dropdown:hover .dropdown-menu {
        display: block;
      }
      .dropdown > a::after {
        display: none;
      }
    }

    