      :root {
          --primary: #1F4A38;
          --primary-dark: #163627;
          --accent: #D97706;
          --accent-dark: #B45F04;
          --bg-light: #F8FAFC;
          --text-dark: #1E293B;
          --text-muted: #64748B;
          --border: #E2E8F0;
          --border-input: #CBD5E1;
          --info-bg: #FEF3E2;
          --info-text: #92400E;
          --badge-bg: #DBEAFE;
          --badge-text: #1D4ED8;
          --danger-bg: #FEE2E2;
          --danger-text: #B91C1C;
          --radius-sm: 8px;
          --radius-md: 12px;
          --radius-lg: 16px;
          --radius-pill: 999px;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
      body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
      header { background: var(--primary); color: white; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; }
      .logo { font-size: 1.05rem; font-weight: bold; letter-spacing: 0.3px; color: white; display: flex; align-items: center; gap: 0.6rem; }
      .logo-img { height: 32px; width: auto; }
      .logo span { color: white; }
      nav a { color: var(--border-input); text-decoration: none; margin-left: 1.5rem; font-weight: 500; }
      nav { display: flex; align-items: center; gap: 0.9rem; }
      .btn-pro { background: var(--accent); color: white; padding: 0.5rem 1.2rem; border-radius: 5px; text-decoration: none; font-weight: bold; }
      .icon-btn { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: white; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
      .icon-btn:hover { background: rgba(255,255,255,0.25); }
      .nav-pill { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: white !important; height: 38px; padding: 0 1rem; border-radius: 20px; display: flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: background 0.2s; box-sizing: border-box; }
      .nav-pill:hover { background: rgba(255,255,255,0.25); }
      .dropdown-panel { display: none; position: absolute; right: 5%; top: 64px; background: white; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); overflow: hidden; z-index: 60; min-width: 180px; }
      .dropdown-panel.open { display: flex; flex-direction: column; }
      .dropdown-panel a { color: var(--primary); text-decoration: none; padding: 0.8rem 1.2rem; font-weight: 600; font-size: 0.9rem; }
      .dropdown-panel a:hover { background: var(--bg-light); }
      .submenu-toggle { display: flex !important; align-items: center; justify-content: space-between; }
      .submenu-arrow { transition: transform 0.2s; font-size: 0.75rem; }
      .submenu-toggle.open .submenu-arrow { transform: rotate(180deg); }
      .submenu-panel { display: none; flex-direction: column; background: var(--bg-light); }
      .submenu-panel.open { display: flex; }
      .submenu-panel a { padding: 0.7rem 1.2rem 0.7rem 2rem; font-size: 0.85rem; font-weight: 500; }
      .hero { background: linear-gradient(rgba(31, 74, 56, 0.60), rgba(31, 74, 56, 0.60)), url('/assets/img/hero.jpg') center/cover; color: white; text-align: center; padding: 5rem 1rem; }
      .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
      .search-box {
          background: white;
          padding: 0.6rem;
          border-radius: 999px;
          max-width: 700px;
          margin: 2rem auto 0;
          display: flex;
          align-items: center;
          gap: 0.4rem;
          flex-wrap: wrap;
          box-shadow: 0 20px 45px -10px rgba(0,0,0,0.35), 0 8px 16px -4px rgba(0,0,0,0.15);
      }
      .search-box .field { flex: 1; min-width: 200px; position: relative; display: flex; align-items: center; }
      .search-box input {
          width: 100%;
          border: none;
          background: transparent;
          padding: 0.85rem 1.1rem;
          border-radius: 999px;
          outline: none;
          font-size: 0.95rem;
      }
      .search-box .field + .field { border-left: 1px solid var(--border); }
      .search-box .field input { padding-right: 2.6rem; }
      .geo-btn {
          position: absolute;
          right: 0.6rem;
          top: 50%;
          transform: translateY(-50%);
          background: var(--bg-light);
          border: none;
          width: 32px;
          height: 32px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          font-size: 1rem;
          transition: background 0.2s, transform 0.2s;
      }
      .geo-btn:hover { background: var(--border); transform: translateY(-50%) scale(1.08); }
      .search-suggestions { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: white; border-radius: 16px; box-shadow: 0 16px 36px -8px rgba(0,0,0,0.28); overflow: hidden; z-index: 50; text-align: left; }
      .search-suggestions.open { display: block; }
      .search-suggestions .sugg-label { padding: 0.8rem 1.1rem 0.4rem; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
      .search-suggestions .sugg-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.1rem; cursor: pointer; font-size: 0.9rem; color: var(--text-dark); transition: background 0.15s; }
      .search-suggestions .sugg-item:hover, .search-suggestions .sugg-item.active { background: var(--bg-light); }
      .search-suggestions .sugg-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
      .search-suggestions .sugg-empty { padding: 1rem 1.1rem; font-size: 0.85rem; color: var(--text-muted); }
      .search-box button.search-submit {
          background: var(--primary);
          color: white;
          border: none;
          padding: 0.9rem 1.8rem;
          border-radius: 999px;
          font-weight: bold;
          cursor: pointer;
          font-size: 0.95rem;
          white-space: nowrap;
          transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
          box-shadow: 0 6px 16px -4px rgba(31,74,56,0.5);
      }
      .search-box button.search-submit:hover {
          background: var(--primary-dark, var(--primary-dark));
          transform: translateY(-2px);
          box-shadow: 0 10px 22px -4px rgba(31,74,56,0.6);
      }
      @media (max-width: 640px) {
          .search-box { border-radius: 24px; padding: 0.5rem; }
          .search-box .field + .field { border-left: none; border-top: 1px solid var(--border); }
          .search-box button.search-submit { width: 100%; border-radius: 16px; }
      }
      .quick-nav-title { margin-top: 2.2rem; font-size: 1rem; font-weight: 600; color: var(--border); letter-spacing: 0.5px; }
      .quick-nav { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; background: white; border-radius: 50px; padding: 0.4rem; max-width: 100%; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
      .quick-nav a { color: var(--primary); text-decoration: none; padding: 0.65rem 1.1rem; border-radius: 40px; font-size: 0.85rem; font-weight: 600; transition: background 0.2s, color 0.2s; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
      .quick-nav a .qn-icon { font-size: 1.05rem; }
      .quick-nav a:hover { background: var(--primary); color: white; }
      .container { max-width: 1100px; margin: 4rem auto; padding: 0 1rem; }
      .section-title { text-align: center; font-size: 2rem; color: var(--primary); margin-bottom: 3rem; font-weight: 800; letter-spacing: -0.01em; }
      .row { display: flex; align-items: center; gap: 3rem; margin-bottom: 4rem; flex-wrap: wrap; }
      .row.reverse { flex-direction: row-reverse; }
      .col-text { flex: 1; min-width: 300px; }
      .col-img { flex: 1; min-width: 300px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
      .col-img:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.16); }
      .col-img img { width: 100%; height: 320px; object-fit: cover; display: block; }
      .col-text h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; letter-spacing: -0.01em; }
      .col-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
      .btn-secondary { display: inline-block; border: 2px solid var(--primary); color: var(--primary); padding: 0.6rem 1.2rem; border-radius: 5px; text-decoration: none; font-weight: bold; }
      .how-it-works { background: white; padding: 3.8rem 1rem; }
      .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: 1100px; margin: 2.5rem auto 0; }
      @media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; gap: 2.2rem; } }
      .how-step { text-align: center; position: relative; padding: 0 1rem; }
      .how-step-number { width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; box-shadow: 0 8px 20px -4px rgba(31,74,56,0.4); position: relative; z-index: 2; }
      .how-step-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
      .how-step h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 700; }
      .how-step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
      .how-step:not(:last-child)::after {
          content: '';
          position: absolute;
          top: 30px;
          left: calc(50% + 45px);
          width: calc(100% - 90px);
          height: 2px;
          background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
          z-index: 1;
      }
      @media (max-width: 800px) { .how-step:not(:last-child)::after { display: none; } }
      .featured-pros { background: var(--bg-light); padding: 3.5rem 1rem; }
      .pro-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
      .pro-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.16); }
      .pro-card-photo { width: 100%; height: 190px; object-fit: cover; display: block; }
      .pro-card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
      .pro-card-name { color: var(--primary); font-size: 1.05rem; font-weight: 700; }
      .pro-card-job { color: var(--text-muted); font-size: 0.88rem; margin-top: -0.4rem; }
      .pro-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--badge-bg); color: var(--badge-text); font-size: 0.72rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 20px; width: fit-content; }
      .pro-rating { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--text-dark); }
      .pro-rating .stars { color: var(--accent); letter-spacing: 1px; }
      .pro-rating .count { color: var(--text-muted); font-size: 0.8rem; }
      .pro-cta { margin-top: 0.4rem; width: 100%; background: var(--primary); color: white; border: none; padding: 0.75rem; border-radius: 8px; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: background 0.2s; }
      .pro-cta:hover { background: var(--primary-dark, var(--primary-dark)); }
      .featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 2.2rem auto 0; }
      @media (max-width: 800px) { .featured-grid { grid-template-columns: 1fr; } }
      .guarantees-grid { display: flex; justify-content: space-around; max-width: 1100px; margin: 2rem auto 0; flex-wrap: wrap; gap: 2rem; }
      .testimonials { background: var(--bg-light); padding: 3.5rem 1rem; }
      .testimonials-counter { text-align: center; color: var(--primary); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
      .testimonials-counter span { color: var(--accent); font-size: 1.4rem; }
      .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 2.2rem auto 0; }
      @media (max-width: 800px) { .testimonial-grid { grid-template-columns: 1fr; } }
      .testimonial-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 14px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 0.8rem; }
      .testimonial-head { display: flex; align-items: center; gap: 0.9rem; }
      .testimonial-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
      .testimonial-name { color: var(--primary); font-weight: 700; font-size: 0.98rem; }
      .testimonial-city { color: var(--text-muted); font-size: 0.82rem; }
      .testimonial-stars { color: var(--accent); letter-spacing: 1px; font-size: 0.95rem; }
      .testimonial-text { color: var(--text-dark); font-size: 0.9rem; line-height: 1.55; font-style: italic; }
      .g-card { flex: 1; min-width: 250px; }
      .g-card h4 { color: var(--primary); margin-top: 0.5rem; }
      footer { background: var(--primary); color: var(--border-input); padding: 3.5rem 1rem 1.5rem; margin-top: 4rem; }
      .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.2rem; max-width: 1100px; margin: 0 auto; }
      @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
      @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
      .footer-col h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.02em; }
      .footer-col p { font-size: 0.85rem; line-height: 1.6; color: var(--border-input); }
      .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
      .footer-col ul a { color: var(--border-input); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
      .footer-col ul a:hover { color: white; }
      .footer-payments { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
      .footer-payments span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 0.72rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 8px; }
      .footer-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; background: #25D366; color: white !important; font-weight: 700; padding: 0.6rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-top: 0.3rem; }
      .footer-facebook { display: inline-flex; align-items: center; gap: 0.5rem; background: #1877F2; color: white !important; font-weight: 700; padding: 0.6rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-top: 0.6rem; text-decoration: none; }
      .topbar-facebook { display: inline-flex; align-items: center; gap: 0.35rem; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.78rem; font-weight: 500; flex-shrink: 0; padding: 0 1rem; transition: color 0.2s; }
      .topbar-facebook:hover { color: white; }
      .topbar-facebook svg { width: 15px; height: 15px; flex-shrink: 0; }
      .footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.3rem; text-align: center; font-size: 0.8rem; color: #94A3B8; }
      footer a { color: white; text-decoration: none; margin: 0 0.5rem; }


      /* --- Modal flyer --- */
      .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.75); z-index: 100; align-items: center; justify-content: center; padding: 2rem 1rem; }
      .modal-overlay.active { display: flex; }
      .modal-box { position: relative; max-width: 400px; width: 100%; max-height: 90vh; overflow-y: auto; border-radius: 12px; background: white; }
      .artisan-cat-title { color: var(--primary); font-size: 1.05rem; margin: 1.6rem 0 0.7rem; border-bottom: 2px solid var(--border); padding-bottom: 0.4rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
      .artisan-cat-title:first-of-type { margin-top: 0; }
      .artisan-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
      .artisan-tag { background: var(--bg-light); border: 1px solid var(--border); color: var(--primary); text-decoration: none; padding: 0.6rem 1rem; border-radius: 30px; font-size: 0.86rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
      .artisan-tag:hover { background: var(--info-bg); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(217,119,6,0.18); }

      .modal-switcher { display:flex; gap:0.5rem; overflow-x:auto; margin-bottom:1.4rem; padding-bottom:0.9rem; border-bottom:1px solid var(--border); -ms-overflow-style:none; scrollbar-width:none; }
      .modal-switcher::-webkit-scrollbar { display:none; }
      .modal-switcher-tab { display:flex; align-items:center; gap:0.4rem; background: var(--bg-light); border:1px solid var(--border); color: var(--primary); padding:0.5rem 0.85rem; border-radius:20px; font-size:0.78rem; font-weight:600; white-space:nowrap; cursor:pointer; flex-shrink:0; transition: background 0.2s, border-color 0.2s; }
      .modal-switcher-tab:hover { background:var(--info-bg); border-color: var(--accent); }
      .modal-switcher-tab.active { background: var(--primary); border-color: var(--primary); color:white; }

      .dest-pill { display:flex; align-items:center; gap:0.6rem; background: var(--bg-light); border: 1px solid var(--border); border-radius: 30px; padding: 0.7rem 1.1rem; margin-bottom: 1.2rem; }
      .dest-pill svg { width:18px; height:18px; color: var(--accent); flex-shrink:0; }
      .dest-pill input { flex:1; border:none; background:transparent; outline:none; font-size:0.92rem; color: var(--text-dark); }
      .ride-cards { display:flex; gap:0.9rem; flex-wrap:wrap; margin-bottom:1.1rem; }
      .ride-card { flex:1; min-width:150px; position:relative; border-radius:16px; padding:1.5rem 1rem 1.1rem; cursor:pointer; text-align:center; color:white; overflow:hidden; border:2px solid transparent; transition: transform 0.2s, box-shadow 0.2s; }
      .ride-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.18); }
      .ride-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,6,0.25); }
      .ride-card-voiture { background: linear-gradient(135deg, var(--primary), #2C6B4F); }
      .ride-card-zem { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
      .ride-card-kloboto { background: linear-gradient(135deg, #374151, #1F2937); }
      .ride-badge-left { position:absolute; top:0.6rem; left:0.6rem; background:rgba(255,255,255,0.25); font-size:0.62rem; font-weight:800; padding:0.28rem 0.6rem; border-radius:20px; text-transform:uppercase; letter-spacing:0.03em; }
      .ride-badge-right { position:absolute; top:0.6rem; right:0.6rem; background:white; color: var(--primary); font-size:0.6rem; font-weight:800; padding:0.28rem 0.5rem; border-radius:20px; display:flex; align-items:center; gap:0.2rem; white-space:nowrap; }
      .ride-icon { font-size:2.3rem; margin: 1rem 0 0.7rem; }
      .ride-name { font-weight:700; font-size:0.88rem; margin-bottom:0.3rem; }
      .ride-price { font-size:0.72rem; opacity:0.9; }
      .ride-price strong { font-size:1rem; display:block; margin-top:0.1rem; }
      .artisan-result-card { display:flex; align-items:center; gap:1rem; border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin-bottom: 0.9rem; }
      .artisan-result-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
      .artisan-result-name { color: var(--primary); font-weight: 700; font-size: 0.98rem; }
      .artisan-result-meta { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.15rem; }
      .artisan-result-distance { background: var(--badge-bg); color: var(--badge-text); font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 20px; white-space: nowrap; }
      .biz-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
      .biz-card-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 3px; height: 140px; }
      .biz-card-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; transition: opacity 0.2s; }
      .biz-card-gallery img:hover { opacity: 0.85; }
      .lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 200; align-items: center; justify-content: center; padding: 2rem; }
      .lightbox-overlay.active { display: flex; }
      .lightbox-content { position: relative; max-width: 900px; width: 100%; text-align: center; }
      .lightbox-content img { max-width: 100%; max-height: 78vh; border-radius: 12px; object-fit: contain; }
      .lightbox-caption { color: white; margin-top: 1rem; font-size: 0.95rem; font-weight: 600; }
      .lightbox-close { position: absolute; top: -3rem; right: 0; background: rgba(255,255,255,0.15); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
      .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: white; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
      .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
      .lightbox-prev { left: -1rem; }
      .lightbox-next { right: -1rem; }
      @media (max-width: 700px) { .lightbox-prev { left: 0.2rem; } .lightbox-next { right: 0.2rem; } .lightbox-close { top: 0.5rem; right: 0.5rem; } }
      .biz-card-gallery .biz-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
      .biz-card-body { padding: 0.9rem; }
      .artisan-result-badge { color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-top: 0.2rem; }
      .modal-box img { width: 100%; display: block; border-radius: 12px; }
      .modal-close { position: absolute; top: 0.6rem; right: 0.6rem; background: white; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; font-weight: bold; cursor: pointer; color: var(--primary); box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
      .agency-photo { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; cursor: pointer; display: block; transition: opacity 0.2s, transform 0.2s; }
      .agency-photo:hover { opacity: 0.88; transform: scale(1.02); }
      .agency-photo-wrap { position: relative; margin-bottom: 0.9rem; }
      .agency-photo-hint { position: absolute; bottom: 8px; right: 8px; background: var(--accent); color: white; font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 20px; pointer-events: none; }
      .biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
      @media (max-width: 700px) { .biz-grid { grid-template-columns: 1fr; } }

      /* ===== Agent IA (widget flottant) ===== */
      .ai-agent-launcher {
          position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90;
          width: 66px; height: 66px; border-radius: 50%; border: none; cursor: pointer;
          background: var(--primary); box-shadow: 0 10px 26px -6px rgba(31,74,56,0.55);
          display: flex; align-items: center; justify-content: center; padding: 4px;
          transition: transform 0.2s;
      }
      .ai-agent-launcher:hover { transform: scale(1.06); }
      .ai-agent-launcher svg { width: 100%; height: 100%; }
      .ai-agent-launcher .ai-agent-badge {
          position: absolute; top: -2px; right: -6px; background: var(--accent); color: white;
          font-size: 0.62rem; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 12px;
          white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
      }
      .ai-agent-panel {
          position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 95;
          width: 380px; max-width: calc(100vw - 2rem); height: 560px; max-height: calc(100vh - 3rem);
          background: white; border-radius: 18px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
          display: none; flex-direction: column; overflow: hidden;
      }
      .ai-agent-panel.open { display: flex; }
      .ai-agent-head {
          background: linear-gradient(135deg, var(--primary), #2C6B4F); color: white;
          padding: 1rem 1.1rem; display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0;
      }
      .ai-agent-head .ai-avatar-wrap { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15); flex-shrink: 0; overflow: visible; position: relative; }
      .ai-agent-head .ai-avatar-wrap img { border-radius: 50%; overflow: hidden; }
      .ai-avatar-nod { animation: ai-nod 0.5s ease; }
      @keyframes ai-nod { 0% { transform: rotate(0deg); } 25% { transform: rotate(-8deg) scale(1.05); } 55% { transform: rotate(6deg) scale(1.05); } 100% { transform: rotate(0deg) scale(1); } }
      .ai-reaction-badge {
          position: absolute; top: -6px; right: -6px; font-size: 1.05rem; line-height: 1;
          background: white; border-radius: 50%; width: 24px; height: 24px; display: flex;
          align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
          pointer-events: none; z-index: 5; animation: ai-reaction-pop 1.6s ease forwards;
      }
      .msg.bot, .msg.typing { position: relative; }
      .ai-reaction-badge-msg {
          position: absolute; top: -12px; left: -10px; font-size: 1.3rem; line-height: 1;
          background: white; border-radius: 50%; width: 30px; height: 30px; display: flex;
          align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
          pointer-events: none; z-index: 6; animation: ai-reaction-pop 1.8s ease forwards;
      }
      @keyframes ai-reaction-pop {
          0% { transform: scale(0) translateY(4px); opacity: 0; }
          15% { transform: scale(1.25) translateY(-2px); opacity: 1; }
          25% { transform: scale(1) translateY(0); opacity: 1; }
          75% { transform: scale(1) translateY(0); opacity: 1; }
          100% { transform: scale(0.6) translateY(-6px); opacity: 0; }
      }
      .ai-agent-head .ai-avatar-wrap svg { width: 100%; height: 100%; }
      .ai-agent-head .ai-agent-titles { flex: 1; min-width: 0; }
      .ai-agent-head .ai-agent-name { font-weight: 800; font-size: 0.95rem; }
      .ai-agent-head .ai-agent-outfit { font-size: 0.72rem; opacity: 0.9; display: flex; align-items: center; gap: 0.4rem; }
      .ai-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; position: relative; flex-shrink: 0; }
      .ai-live-dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: #4ADE80; opacity: 0.45; animation: ai-live-pulse 1.6s ease-out infinite; }
      @keyframes ai-live-pulse { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(2.2); opacity: 0; } }
      .ai-agent-launcher { animation: ai-avatar-breathe 3s ease-in-out infinite; }
      @keyframes ai-avatar-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
      .ai-agent-close { background: rgba(255,255,255,0.18); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; }
      .ai-agent-messages { flex: 1; overflow-y: auto; padding: 1rem; background: var(--bg-light); display: flex; flex-direction: column; gap: 0.6rem; }
      .ai-agent-messages .msg { max-width: 82%; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.86rem; line-height: 1.45; white-space: pre-wrap; animation: ai-msg-pop 0.25s ease-out; }
      @keyframes ai-msg-pop { 0% { transform: scale(0.85) translateY(6px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
      .ai-agent-messages .msg.bot { background: white; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
      .ai-agent-messages .msg.user { background: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
      .ai-agent-messages .msg.typing { background: white; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); display: flex; gap: 4px; padding: 0.8rem 1rem; }
      .ai-agent-messages .msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: ai-dot 1.2s infinite ease-in-out; }
      .ai-agent-messages .msg.typing span:nth-child(2) { animation-delay: 0.2s; }
      .ai-agent-messages .msg.typing span:nth-child(3) { animation-delay: 0.4s; }
      @keyframes ai-dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
      .ai-agent-inputbar { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border); background: white; flex-shrink: 0; }
      .ai-agent-inputbar input { flex: 1; border: 1px solid var(--border-input); border-radius: 20px; padding: 0.65rem 1rem; font-size: 0.88rem; outline: none; }
      .ai-agent-inputbar button { background: var(--primary); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
      .ai-mic-btn { background: var(--bg-light) !important; color: var(--primary) !important; border: 1px solid var(--border-input) !important; font-size: 1.05rem; }
      .ai-emoji-picker {
          display: none; position: absolute; bottom: 58px; left: 0.75rem; background: white;
          border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.18);
          padding: 0.6rem; grid-template-columns: repeat(6, 1fr); gap: 0.2rem; z-index: 20; width: 232px;
      }
      .ai-emoji-picker.open { display: grid; }
      .ai-emoji-picker button { background: none !important; border: none !important; width: 32px; height: 32px; font-size: 1.2rem; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
      .ai-emoji-picker button:hover { background: var(--bg-light) !important; }
      .ai-mic-btn.recording { background: #DC2626 !important; color: white !important; border-color: #DC2626 !important; animation: ai-mic-pulse 1.2s infinite; }
      @keyframes ai-mic-pulse { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,0.5); } 70% { box-shadow: 0 0 0 8px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
      .ai-agent-status { padding: 0.4rem 1.1rem; font-size: 0.7rem; color: var(--text-muted); background: white; border-top: 1px solid #F1F5F9; text-align: center; flex-shrink: 0; }
      .ai-agent-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-self: flex-start; max-width: 90%; margin-top: -0.2rem; }
      .ai-agent-option-btn {
          background: white; border: 1.5px solid var(--primary); color: var(--primary);
          padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600;
          cursor: pointer; transition: background 0.15s, color 0.15s;
      }
      .ai-agent-option-btn:hover { background: var(--primary); color: white; }
      .ai-agent-option-btn:disabled { opacity: 0.5; cursor: default; background: white; color: var(--primary); }
      @media (max-width: 480px) {
          .ai-agent-panel { right: 1rem; left: 1rem; width: auto; bottom: 5.5rem; height: calc(100vh - 7rem); }
      }

      /* ===== Profil artisan (Moussa S.) ===== */

.moussa-profile-modal {
  --green: var(--primary);
  --green-dark: var(--primary-dark);
  --green-light: #e6ede9;
  --accent: var(--accent);
  --accent-dark: var(--accent-dark);
  --accent-light: var(--info-bg);
  --blue: var(--badge-text);
  --blue-dark: var(--badge-text);
  --blue-light: var(--badge-bg);
  --bg: var(--bg-light);
  --ink: #1c1f23;
  --muted: #6c757d;
  --line: #e2e5e9;
  --radius: 14px;
}
.moussa-profile-modal * { margin:0; padding:0; box-sizing:border-box; }
.moussa-profile-modal { align-items: stretch !important; justify-content: stretch !important; padding: 0 !important; background: rgba(0,0,0,0.4) !important; }
.moussa-profile-modal .mp-page { background: white; width: 100%; max-width: 560px; margin: 0 auto; min-height: 100vh; overflow-y: auto; position: relative; }
@media (min-width: 560px) { .moussa-profile-modal .mp-page { min-height: auto; max-height: 92vh; margin-top: 4vh; border-radius: 18px; overflow-y: auto; overflow-x: hidden; } }

.moussa-profile-modal {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.moussa-profile-modal h1, .moussa-profile-modal h2, .moussa-profile-modal h3, .moussa-profile-modal .display { font-family: 'Inter', sans-serif; letter-spacing: -0.01em; }
.moussa-profile-modal a { text-decoration:none; color:inherit; }
.moussa-profile-modal img { max-width:100%; display:block; }
.moussa-profile-modal button { font-family: inherit; cursor:pointer; }

.moussa-profile-modal .wrap { max-width: 760px; margin: 0 auto; padding: 0 1.1rem 5.5rem; }

/* ---- Top bar ---- */
.moussa-profile-modal .topbar {
  display:flex; align-items:center; justify-content:space-between;
  padding: 0.9rem 1.1rem; background: white; border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index: 40;
}
.moussa-profile-modal .topbar .back { display:flex; align-items:center; gap:0.5rem; font-weight:600; font-size:0.92rem; color: var(--ink); }
.moussa-profile-modal .topbar .back svg { width:20px; height:20px; }
.moussa-profile-modal .topbar .brand { font-size:0.78rem; color: var(--muted); font-weight:600; letter-spacing:0.02em; }

/* ---- Header profil ---- */
.moussa-profile-modal .profile-header { background: white; padding: 1.6rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.moussa-profile-modal .ph-row { display:flex; gap:1.1rem; align-items:flex-start; }
.moussa-profile-modal .ph-avatar-wrap { position:relative; flex-shrink:0; }
.moussa-profile-modal .ph-avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit:cover;
  border: 3px solid white; box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.moussa-profile-modal .ph-badge {
  position:absolute; bottom:-4px; right:-6px;
  background: var(--blue); color:white; width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; border:3px solid white;
}
.moussa-profile-modal .ph-badge svg { width:15px; height:15px; }
.moussa-profile-modal .ph-info { flex:1; min-width:0; }
.moussa-profile-modal .ph-name { font-size:1.25rem; font-weight:800; letter-spacing:-0.01em; }
.moussa-profile-modal .ph-role { color: var(--muted); font-size:0.9rem; margin-top:0.15rem; font-weight:500; }
.moussa-profile-modal .ph-verified-pill {
  display:inline-flex; align-items:center; gap:0.35rem; background: var(--blue-light); color: var(--blue-dark);
  font-size:0.72rem; font-weight:700; padding:0.3rem 0.6rem; border-radius:20px; margin-top:0.55rem;
}
.moussa-profile-modal .ph-verified-pill svg { width:12px; height:12px; }
.moussa-profile-modal .ph-meta { display:flex; flex-wrap:wrap; gap: 0.9rem; margin-top: 0.85rem; font-size:0.85rem; color: var(--ink); }
.moussa-profile-modal .ph-meta .item { display:flex; align-items:center; gap:0.35rem; }
.moussa-profile-modal .ph-meta svg { width:15px; height:15px; color: var(--muted); flex-shrink:0; }
.moussa-profile-modal .ph-stars { color: #f5a524; font-weight:700; }

.moussa-profile-modal .live-status {
  display:inline-flex; align-items:center; gap:0.5rem; background: var(--green-light); color: var(--green-dark);
  font-weight:700; font-size:0.82rem; padding:0.45rem 0.8rem; border-radius:20px; margin-top:1rem;
}
.moussa-profile-modal .live-dot { width:8px; height:8px; border-radius:50%; background: var(--green); position:relative; }
.moussa-profile-modal .live-dot::after {
  content:''; position:absolute; inset:-4px; border-radius:50%; background: var(--green); opacity:0.35;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { 0%{ transform:scale(0.6); opacity:0.5; } 100%{ transform:scale(2.2); opacity:0; } }

/* ---- Section shell ---- */
.moussa-profile-modal .section { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.moussa-profile-modal .section-title { font-size:1.02rem; font-weight:800; margin-bottom:0.95rem; display:flex; align-items:center; gap:0.5rem; }
.moussa-profile-modal .section-sub { color: var(--muted); font-size:0.85rem; margin-top:-0.6rem; margin-bottom:1rem; }

/* ---- Pricing card (signature element) ---- */
.moussa-profile-modal .quote-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; position:relative; overflow:hidden;
}
.moussa-profile-modal .quote-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}
.moussa-profile-modal .quote-row {
  display:flex; justify-content:space-between; align-items:center;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
}
.moussa-profile-modal .quote-row:last-of-type { border-bottom:none; }
.moussa-profile-modal .quote-row .label { font-size:0.88rem; color: var(--ink); font-weight:500; }
.moussa-profile-modal .quote-row .label small { display:block; color: var(--muted); font-size:0.75rem; font-weight:400; margin-top:0.1rem; }
.moussa-profile-modal .quote-row .amount { font-weight:800; font-size:0.95rem; color: var(--green-dark); white-space:nowrap; }
.moussa-profile-modal .quote-highlight {
  display:flex; justify-content:space-between; align-items:center;
  background: var(--green-light); border-radius: 12px; padding:0.85rem 1rem; margin-bottom:0.4rem;
}
.moussa-profile-modal .quote-highlight .label { font-weight:700; font-size:0.9rem; }
.moussa-profile-modal .quote-highlight .amount { font-size:1.15rem; font-weight:800; color: var(--green-dark); }
.moussa-profile-modal .quote-note { font-size:0.76rem; color: var(--muted); margin-top:0.9rem; display:flex; gap:0.4rem; align-items:flex-start; }
.moussa-profile-modal .quote-note svg { width:14px; height:14px; flex-shrink:0; margin-top:0.1rem; }

/* ---- Portfolio ---- */
.moussa-profile-modal .portfolio-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:0.7rem; }
.moussa-profile-modal .portfolio-item { border-radius:12px; overflow:hidden; position:relative; background:#eee; aspect-ratio:4/3; }
.moussa-profile-modal .portfolio-item img { width:100%; height:100%; object-fit:cover; }
.moussa-profile-modal .portfolio-tag {
  position:absolute; top:0.55rem; left:0.55rem; background: rgba(0,0,0,0.65); color:white;
  font-size:0.68rem; font-weight:700; padding:0.25rem 0.55rem; border-radius: 8px; letter-spacing:0.02em;
}
.moussa-profile-modal .portfolio-tag.after { background: var(--green); }

/* ---- Actions ---- */
.moussa-profile-modal .actions-bar {
  position: fixed; bottom:0; left:0; right:0; background:white; border-top:1px solid var(--line);
  padding: 0.8rem 1.1rem; display:flex; gap:0.7rem; z-index:45;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.moussa-profile-modal .actions-bar .wrap-inner { max-width:760px; margin:0 auto; display:flex; gap:0.7rem; width:100%; }
.moussa-profile-modal .btn { flex:1; border:none; border-radius: 12px; padding:0.85rem 1rem; font-weight:700; font-size:0.9rem; display:flex; align-items:center; justify-content:center; gap:0.5rem; transition: transform 0.15s, box-shadow 0.15s, background 0.2s; }
.moussa-profile-modal .btn svg { width:17px; height:17px; }
.moussa-profile-modal .btn-primary { background: var(--green); color:white; box-shadow: 0 4px 12px rgba(25,135,84,0.35); }
.moussa-profile-modal .btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.moussa-profile-modal .btn-outline { background: var(--accent-light); color: var(--accent-dark); flex:0 0 auto; width:56px; }

/* ---- Reviews ---- */
.moussa-profile-modal .review { padding: 1rem 0; border-bottom:1px solid var(--line); }
.moussa-profile-modal .review:last-child { border-bottom:none; }
.moussa-profile-modal .review-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:0.4rem; }
.moussa-profile-modal .review-author { display:flex; align-items:center; gap:0.55rem; }
.moussa-profile-modal .review-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.moussa-profile-modal .review-name { font-weight:700; font-size:0.87rem; display:flex; align-items:center; gap:0.3rem; }
.moussa-profile-modal .review-name .verified-tick { color: var(--accent); }
.moussa-profile-modal .review-date { color: var(--muted); font-size:0.75rem; }
.moussa-profile-modal .review-stars { color:#f5a524; font-size:0.8rem; white-space:nowrap; }
.moussa-profile-modal .review-text { font-size:0.87rem; color: var(--ink); line-height:1.55; margin-top:0.3rem; }

/* ---- Chat panel ---- */
.chat-overlay {
  display:none; position:fixed; inset:0; background: rgba(0,0,0,0.45); z-index:100;
  align-items:flex-end; justify-content:center;
}
.chat-overlay.active { display:flex; }
.moussa-profile-modal .chat-panel {
  background:white; width:100%; max-width:760px; border-radius: 18px 18px 0 0;
  display:flex; flex-direction:column; height:88vh; max-height:760px;
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp { from{ transform:translateY(30px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
.chat-panel .chat-top {
  background: var(--green); color:white; padding: 0.9rem 1rem; border-radius:18px 18px 0 0;
  display:flex; flex-direction:column; gap:0.6rem; flex-shrink:0;
}
.moussa-profile-modal .chat-top-row { display:flex; align-items:center; justify-content:space-between; }
.moussa-profile-modal .chat-top-id { display:flex; align-items:center; gap:0.6rem; }
.moussa-profile-modal .chat-top-id img { width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,0.5); }
.moussa-profile-modal .chat-top-id .n { font-weight:700; font-size:0.9rem; }
.moussa-profile-modal .chat-top-id .s { font-size:0.72rem; opacity:0.85; }
.moussa-profile-modal .chat-close { background:rgba(255,255,255,0.2); border:none; color:white; width:30px; height:30px; border-radius:50%; font-size:1.1rem; }
.moussa-profile-modal .chat-tools { display:flex; gap:0.5rem; }
.moussa-profile-modal .call-btn {
  flex:1; background: rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.3); color:white;
  padding:0.55rem 0.7rem; border-radius: 8px; font-size:0.78rem; font-weight:700; display:flex; align-items:center; justify-content:center; gap:0.4rem;
}
.moussa-profile-modal .call-btn svg { width:15px; height:15px; }
.moussa-profile-modal .call-btn:hover { background: rgba(255,255,255,0.28); }
.moussa-profile-modal .privacy-note {
  background:#fff8e6; color:#8a6100; font-size:0.72rem; padding:0.5rem 0.8rem; text-align:center; flex-shrink:0;
}
.moussa-profile-modal .chat-messages { flex:1; overflow-y:auto; padding:1rem; display:flex; flex-direction:column; gap:0.6rem; background: var(--bg); }
.moussa-profile-modal .msg { max-width:78%; padding:0.6rem 0.85rem; border-radius: 12px; font-size:0.86rem; line-height:1.4; }
.moussa-profile-modal .msg.in { background:white; align-self:flex-start; border-bottom-left-radius:4px; box-shadow:0 1px 2px rgba(0,0,0,0.06); }
.moussa-profile-modal .msg.out { background: var(--green); color:white; align-self:flex-end; border-bottom-right-radius:4px; }
.moussa-profile-modal .msg-time { font-size:0.65rem; opacity:0.6; margin-top:0.25rem; display:block; }
.moussa-profile-modal .chat-input-bar { display:flex; gap:0.5rem; padding:0.75rem; border-top:1px solid var(--line); flex-shrink:0; background:white; }
.moussa-profile-modal .chat-icon-btn { background: var(--bg); border:none; width:40px; height:40px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; color: var(--muted); }
.moussa-profile-modal .chat-icon-btn svg { width:19px; height:19px; }
.moussa-profile-modal .chat-input-bar input { flex:1; border:1px solid var(--line); border-radius:20px; padding:0.6rem 1rem; font-size:0.86rem; outline:none; }
.moussa-profile-modal .chat-send { background: var(--green); border:none; color:white; width:40px; height:40px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.moussa-profile-modal .chat-send svg { width:17px; height:17px; }

/* ---- Call simulation toast ---- */
.call-toast {
  position:fixed; top:1.2rem; left:50%; transform:translateX(-50%) translateY(-120%);
  background: var(--ink); color:white; padding:0.8rem 1.2rem; border-radius:12px; font-size:0.85rem;
  display:flex; align-items:center; gap:0.6rem; z-index:200; transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.call-toast.show { transform:translateX(-50%) translateY(0); }

@media (max-width: 480px) {
  .moussa-profile-modal .ph-name { font-size:1.1rem; }
  .moussa-profile-modal .portfolio-grid { gap:0.5rem; }
}

/* =====================================================================
 * PAGES DÉDIÉES (ajouts au style d'origine)
 * Les anciennes modales sont devenues des pages : on réutilise leur
 * markup (.modal-box) mais affiché dans le flux de la page.
 * ===================================================================== */
.logo a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }

main.page { padding: 2rem 1rem 4rem; min-height: 60vh; }
.page-box {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.page-box + .page-box { margin-top: 1.5rem; }

/* Barre des univers (remplace les onglets des anciennes modales) */
.univers-nav { max-width: 1200px; margin: 0 auto 1.2rem; border-bottom: none; padding-bottom: 0.2rem; }
.univers-nav a { text-decoration: none; white-space: nowrap; }

/* Fil d'Ariane / lien retour */
.breadcrumb { max-width: 1200px; margin: 0 auto 1rem; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--primary); font-weight: 600; font-size: 0.88rem; text-decoration: none; }

/* Grille de catégories (page Artisanat) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; }
.cat-card { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; text-decoration: none; color: var(--text-dark); background: white; transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 1.6rem; }
.cat-card h3 { color: var(--primary); font-size: 1rem; margin: 0.4rem 0 0.2rem; }
.cat-card p { color: var(--text-muted); font-size: 0.82rem; }

/* Résultats de recherche */
.search-page-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.search-page-form input { flex: 1 1 220px; border: 1px solid var(--border-input); padding: 0.7rem; border-radius: 8px; font-size: 0.92rem; }
.search-page-form button { background: var(--primary); color: white; border: none; padding: 0.7rem 1.3rem; border-radius: 8px; font-weight: 700; cursor: pointer; }
.result-list { display: flex; flex-direction: column; gap: 0.6rem; }
.result-item { display: flex; align-items: center; gap: 0.8rem; border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem 1rem; text-decoration: none; color: var(--text-dark); background: white; }
.result-item:hover { border-color: var(--accent); }
.result-item .r-icon { font-size: 1.4rem; width: 2rem; text-align: center; }
.result-item .r-title { font-weight: 700; color: var(--primary); }
.result-item .r-sub { font-size: 0.8rem; color: var(--text-muted); }

/* Formulaires pleine page (connexion, inscription) */
.auth-wrap { max-width: 460px; margin: 0 auto; }

/* Espace compte */
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; margin-top: 1.2rem; }
.account-tile { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-decoration: none; color: var(--text-dark); background: var(--bg-light); }
.account-tile:hover { border-color: var(--accent); }
.account-tile strong { display: block; color: var(--primary); margin-bottom: 0.2rem; }
.account-tile span { font-size: 0.8rem; color: var(--text-muted); }
.info-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.info-line span:first-child { color: var(--text-muted); }

.notice { background: var(--info-bg); color: var(--info-text); border-radius: 10px; padding: 0.9rem 1rem; font-size: 0.86rem; line-height: 1.55; }
.empty-state { color: var(--text-muted); font-size: 0.92rem; padding: 1rem 0; }

/* Profil prestataire en pleine page */
.moussa-profile-modal.as-page { display: block; position: static; background: var(--bg-light) !important; padding: 0 !important; min-height: 70vh; }
.moussa-profile-modal.as-page .mp-page { min-height: auto; max-height: none; margin: 1.5rem auto 6rem; overflow: visible; border-radius: 18px; box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); }

/* Pied de section "voir tous" */
.see-all { text-align: center; margin-top: 1.6rem; }

/* Page 404 */
.page-404 { text-align: center; padding: 3rem 1rem; }
.page-404 h1 { color: var(--primary); font-size: 3rem; }

/* Boutons "Voir le profil" devenus des liens */
a.pro-cta { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }

/* Photo ronde des résultats artisans (la règle générique .modal-box img l'étirait) */
.modal-box img.artisan-result-photo { width: 60px; height: 60px; }

/* Toast d'appel : réellement masqué tant qu'il n'est pas affiché */
.call-toast { visibility: hidden; }
.call-toast.show { visibility: visible; }

/* Galeries des cartes (agences, entreprises, fournisseurs) : les photos
   restent dans leur cadre de 140px au lieu de déborder sur le texte */
.biz-card-gallery { grid-template-rows: 140px; overflow: hidden; border-radius: 10px; }
.biz-card-gallery .biz-gallery-side { grid-template-rows: repeat(2, minmax(0, 1fr)); min-height: 0; }
.biz-card-gallery img { min-height: 0; height: 100% !important; border-radius: 0 !important; }

/* En-tête sur petit écran : logo sur deux lignes, boutons compacts */
@media (max-width: 480px) {
    header { padding: 0.8rem 4%; gap: 0.5rem; }
    .logo { font-size: 0.82rem; }
    .logo a { gap: 0.4rem; }
    .logo-text { line-height: 1.15; max-width: 115px; }
    .logo-img { height: 28px; }
    nav { gap: 0.45rem; }
    .nav-pill { padding: 0 0.7rem; font-size: 0.78rem; white-space: nowrap; height: 34px; }
    .icon-btn { width: 34px; height: 34px; }
}
.agency-card .biz-card-gallery { margin-bottom: 0.8rem; }
