/* =========================================
   CSS – Page Propriétaire d'Agence
   agence-proprietaire.css | omratok.com
   ========================================= */

/* ── Variables locales ── */
:root {
  --ap-green:       #00796B;
  --ap-green-dark:  #004D40;
  --ap-green-light: #E0F2F1;
  --ap-gold:        #D4AF37;
  --ap-gold-light:  #FFFDE7;
  --ap-text:        #1F2D2A;
  --ap-text-light:  #637066;
  --ap-border:      #E0E5E3;
  --ap-bg:          #F7F9F8;
  --ap-white:       #FFFFFF;
  --ap-radius:      16px;
  --ap-shadow:      0 6px 28px rgba(0,0,0,.10);
  --ap-trans:       .25s ease;
}

/* =========================================
   HERO — Bannière principale
   ========================================= */
.ap-hero {
  position: relative;
  background: linear-gradient(135deg, #003D33 0%, #00695C 40%, #00897B 100%);
  padding: 110px 0 80px;
  overflow: hidden;
  direction: rtl;
}

.ap-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ap-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: center;
}

.ap-hero-content { color: #fff; }

.ap-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.45);
  color: #f0d060;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.ap-hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.ap-hero-title span {
  color: #f0d060;
  display: block;
}

.ap-hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
}

.ap-hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #D4AF37, #f0c030);
  color: #1a1a1a;
  font-weight: 800;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 18px rgba(212,175,55,.45);
  font-family: inherit;
}
.ap-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,175,55,.55);
}

.ap-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, border-color .18s;
  font-family: inherit;
}
.ap-btn-outline:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
}

/* Carte stats dans le hero */
.ap-hero-stats-card {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ap-hero-stat {
  text-align: center;
  color: #fff;
}
.ap-hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #f0d060;
  display: block;
  line-height: 1;
}
.ap-hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  margin-top: 4px;
}

.ap-hero-stat-badge {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 12px;
  padding: 10px 16px;
  color: #f0d060;
  font-size: .82rem;
  font-weight: 700;
}

/* =========================================
   SECTION : Pourquoi rejoindre ?
   ========================================= */
.ap-why {
  padding: 80px 0;
  background: var(--ap-bg);
  direction: rtl;
}

.ap-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.ap-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ap-green-light);
  color: var(--ap-green);
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.ap-section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ap-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ap-section-sub {
  font-size: 1rem;
  color: var(--ap-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.ap-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ap-why-card {
  background: var(--ap-white);
  border-radius: var(--ap-radius);
  padding: 28px 24px;
  border: 1.5px solid var(--ap-border);
  transition: box-shadow var(--ap-trans), transform var(--ap-trans), border-color var(--ap-trans);
  position: relative;
  overflow: hidden;
}
.ap-why-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ap-green), #26A69A);
  opacity: 0;
  transition: opacity var(--ap-trans);
}
.ap-why-card:hover {
  box-shadow: 0 12px 40px rgba(0,121,107,.14);
  transform: translateY(-4px);
  border-color: var(--ap-green-light);
}
.ap-why-card:hover::before { opacity: 1; }

.ap-why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ap-green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--ap-green);
  margin-bottom: 18px;
}

.ap-why-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ap-text);
  margin-bottom: 8px;
}

.ap-why-desc {
  font-size: .87rem;
  color: var(--ap-text-light);
  line-height: 1.65;
}

/* =========================================
   SECTION : Comment ça marche (étapes)
   ========================================= */
.ap-how {
  padding: 80px 0;
  background: var(--ap-white);
  direction: rtl;
}

.ap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ap-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--ap-green-light), var(--ap-green), var(--ap-green-light));
}

.ap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.ap-step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--ap-white);
  border: 3px solid var(--ap-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ap-green);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,121,107,.2);
}

.ap-step-num i { font-size: 1.3rem; }

.ap-step-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--ap-text);
  margin-bottom: 8px;
}

.ap-step-desc {
  font-size: .82rem;
  color: var(--ap-text-light);
  line-height: 1.6;
}

/* =========================================
   SECTION : Fonctionnalités du tableau de bord
   ========================================= */
.ap-features {
  padding: 80px 0;
  background: var(--ap-bg);
  direction: rtl;
}

.ap-features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ap-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ap-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--ap-white);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--ap-border);
  transition: border-color var(--ap-trans), box-shadow var(--ap-trans);
}
.ap-feature-item:hover {
  border-color: var(--ap-green-light);
  box-shadow: var(--ap-shadow);
}

.ap-feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ap-green-light);
  color: var(--ap-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ap-feature-icon.gold {
  background: var(--ap-gold-light);
  color: var(--ap-gold);
}

.ap-feature-text h4 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--ap-text);
  margin-bottom: 4px;
}
.ap-feature-text p {
  font-size: .83rem;
  color: var(--ap-text-light);
  line-height: 1.6;
}

/* Carte mockup du tableau de bord */
.ap-dashboard-mock {
  background: var(--ap-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  overflow: hidden;
  border: 1px solid var(--ap-border);
}

.ap-mock-bar {
  background: linear-gradient(135deg, #003D33, #00695C);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.ap-mock-dot.red   { background: #ff5f56; }
.ap-mock-dot.orange{ background: #ffbd2e; }
.ap-mock-dot.green { background: #27c93f; }

.ap-mock-url {
  flex: 1;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  font-family: monospace;
}

.ap-mock-body {
  padding: 20px;
}

.ap-mock-agency-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ap-border);
}

.ap-mock-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ap-green), #26A69A);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.ap-mock-name { font-size: .92rem; font-weight: 800; color: var(--ap-text); }
.ap-mock-meta { font-size: .76rem; color: var(--ap-text-light); margin-top: 2px; }

.ap-mock-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.ap-mock-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.ap-mock-stat {
  background: var(--ap-bg);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.ap-mock-stat-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ap-green);
}

.ap-mock-stat-lbl {
  font-size: .68rem;
  color: var(--ap-text-light);
}

.ap-mock-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ap-mock-score-big {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ap-text);
  line-height: 1;
}

.ap-mock-stars { color: #FDD835; font-size: .85rem; }

.ap-mock-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.ap-mock-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--ap-text-light);
}

.ap-mock-bar-track {
  flex: 1;
  height: 6px;
  background: var(--ap-border);
  border-radius: 6px;
  overflow: hidden;
}

.ap-mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ap-green), #26A69A);
  border-radius: 6px;
}

/* =========================================
   SECTION : Tarifs / Plans
   ========================================= */
.ap-pricing {
  padding: 80px 0;
  background: var(--ap-white);
  direction: rtl;
}

.ap-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.ap-plan {
  background: var(--ap-white);
  border-radius: 20px;
  border: 2px solid var(--ap-border);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--ap-trans), transform var(--ap-trans);
}

.ap-plan:hover {
  box-shadow: 0 14px 48px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.ap-plan.featured {
  border-color: var(--ap-green);
  box-shadow: 0 12px 40px rgba(0,121,107,.22);
  transform: translateY(-6px);
}

.ap-plan-badge {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--ap-green), #26A69A);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .5px;
}

.ap-plan-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: var(--ap-green-light);
  color: var(--ap-green);
}

.ap-plan.featured .ap-plan-icon {
  background: var(--ap-green);
  color: #fff;
}

.ap-plan-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ap-text);
  margin-bottom: 4px;
}

.ap-plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ap-green);
  line-height: 1;
  margin-bottom: 4px;
}

.ap-plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ap-text-light);
}

.ap-plan-period {
  font-size: .78rem;
  color: var(--ap-text-light);
  margin-bottom: 20px;
}

.ap-plan-divider {
  height: 1px;
  background: var(--ap-border);
  margin-bottom: 20px;
}

.ap-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ap-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: var(--ap-text);
}

.ap-plan-features li i {
  font-size: .8rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.ap-plan-features li i.fa-check { color: #2E7D32; }
.ap-plan-features li i.fa-times  { color: #ccc; }

.ap-plan-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
  transition: all var(--ap-trans);
}

.ap-plan-cta.outline {
  background: transparent;
  border: 2px solid var(--ap-green);
  color: var(--ap-green);
}
.ap-plan-cta.outline:hover {
  background: var(--ap-green);
  color: #fff;
}

.ap-plan-cta.solid {
  background: linear-gradient(135deg, var(--ap-green), #26A69A);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,121,107,.3);
}
.ap-plan-cta.solid:hover {
  box-shadow: 0 8px 24px rgba(0,121,107,.45);
  transform: translateY(-1px);
}

.ap-plan-cta.gold {
  background: linear-gradient(135deg, #D4AF37, #f0c030);
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(212,175,55,.35);
}
.ap-plan-cta.gold:hover {
  box-shadow: 0 8px 24px rgba(212,175,55,.5);
  transform: translateY(-1px);
}

/* =========================================
   SECTION : Témoignages
   ========================================= */
.ap-testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #003D33, #00695C);
  direction: rtl;
}

.ap-testimonials .ap-section-title,
.ap-testimonials .ap-section-sub { color: #fff; }
.ap-testimonials .ap-section-tag { background: rgba(212,175,55,.18); color: #f0d060; }

.ap-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ap-testi-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 24px 22px;
  color: #fff;
  transition: background var(--ap-trans), transform var(--ap-trans);
}
.ap-testi-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.ap-testi-stars { color: #FDD835; font-size: .85rem; margin-bottom: 14px; }

.ap-testi-quote {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  margin-bottom: 18px;
  font-style: italic;
}

.ap-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.ap-testi-name {
  font-weight: 800;
  font-size: .88rem;
}

.ap-testi-role {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  margin-top: 2px;
}

.ap-testi-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(212,175,55,.2);
  border: 1px solid rgba(212,175,55,.4);
  color: #f0d060;
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

/* =========================================
   SECTION : FAQ
   ========================================= */
.ap-faq {
  padding: 80px 0;
  background: var(--ap-bg);
  direction: rtl;
}

.ap-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-faq-item {
  background: var(--ap-white);
  border-radius: 14px;
  border: 1.5px solid var(--ap-border);
  overflow: hidden;
  transition: border-color var(--ap-trans);
}
.ap-faq-item.open { border-color: var(--ap-green-light); }

.ap-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ap-text);
  gap: 12px;
  transition: color var(--ap-trans);
}
.ap-faq-item.open .ap-faq-q { color: var(--ap-green); }

.ap-faq-q i {
  font-size: .75rem;
  color: var(--ap-green);
  transition: transform .25s;
  flex-shrink: 0;
}
.ap-faq-item.open .ap-faq-q i { transform: rotate(180deg); }

.ap-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .88rem;
  color: var(--ap-text-light);
  line-height: 1.75;
  padding: 0 22px;
}
.ap-faq-item.open .ap-faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* =========================================
   SECTION : CTA Final
   ========================================= */
.ap-cta-final {
  padding: 80px 0;
  background: var(--ap-white);
  direction: rtl;
}

.ap-cta-box {
  background: linear-gradient(135deg, #003D33 0%, #00695C 60%, #00897B 100%);
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ap-cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(212,175,55,.08);
}
.ap-cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.ap-cta-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ap-cta-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.ap-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.ap-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================================
   SECTION : Liens rapides / Ressources
   ========================================= */
.ap-resources {
  padding: 60px 0;
  background: var(--ap-bg);
  direction: rtl;
}

.ap-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ap-resource-card {
  background: var(--ap-white);
  border-radius: 14px;
  border: 1.5px solid var(--ap-border);
  padding: 22px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--ap-trans), transform var(--ap-trans), border-color var(--ap-trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ap-resource-card:hover {
  box-shadow: var(--ap-shadow);
  transform: translateY(-3px);
  border-color: var(--ap-green-light);
}

.ap-resource-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

.ap-resource-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--ap-text);
}

.ap-resource-desc {
  font-size: .78rem;
  color: var(--ap-text-light);
  line-height: 1.5;
}

/* Flèche sur les cartes ressources */
.ap-resource-arrow {
  margin-top: auto;
  font-size: .8rem;
  color: var(--ap-green);
  opacity: 0;
  transition: opacity var(--ap-trans), transform var(--ap-trans);
}
.ap-resource-card:hover .ap-resource-arrow {
  opacity: 1;
  transform: translateX(-4px);
}

/* Catégorie label dans la section ressources */
.ap-res-category {
  margin-bottom: 48px;
}
.ap-res-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--ap-green);
  background: var(--ap-green-light);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* =========================================
   CLUB CTA — section dédiée pour agences
   ========================================= */
.ap-club-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #1a0533 0%, #2D0052 50%, #003D33 100%);
  direction: rtl;
  position: relative;
  overflow: hidden;
}
.ap-club-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ap-club-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ap-club-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}
.ap-club-title span {
  color: #f0d060;
}

.ap-club-sub {
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 28px;
}

.ap-club-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ap-club-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ap-club-benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ap-club-benefit strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}
.ap-club-benefit p {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin: 0;
}

/* Aperçu club — côté droit */
.ap-club-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ap-club-stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-around;
  backdrop-filter: blur(8px);
}
.ap-club-stat {
  text-align: center;
}
.ap-club-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #f0d060;
  line-height: 1;
}
.ap-club-stat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

.ap-club-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap-club-post-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(6px);
  transition: background var(--ap-trans);
}
.ap-club-post-item:hover {
  background: rgba(255,255,255,.12);
}

.ap-club-post-cat {
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.ap-club-post-cat.tawsiya  { background: rgba(46,125,50,.35);  color: #81C784; }
.ap-club-post-cat.suaal    { background: rgba(21,101,192,.35);  color: #90CAF9; }
.ap-club-post-cat.tajriba  { background: rgba(230,81,0,.35);    color: #FFCC80; }

.ap-club-post-body {
  flex: 1;
}
.ap-club-post-title {
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}
.ap-club-post-meta {
  display: flex;
  gap: 14px;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}
.ap-club-post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ap-club-badge-strip {
  background: rgba(240,208,96,.12);
  border: 1px solid rgba(240,208,96,.25);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: .8rem;
  font-weight: 700;
  color: #f0d060;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  justify-content: center;
}

/* =========================================
   CONTACT RAPIDE — bande flottante
   ========================================= */
.ap-contact-strip {
  background: linear-gradient(135deg, var(--ap-gold), #f0c030);
  padding: 18px 0;
  direction: rtl;
}

.ap-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ap-contact-text {
  font-size: .92rem;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ap-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: all .18s;
}

.ap-contact-btn.whatsapp {
  background: #25D366;
  color: #fff;
}
.ap-contact-btn.whatsapp:hover { background: #1ebe5d; }

.ap-contact-btn.email {
  background: rgba(0,0,0,.12);
  color: #1a1a1a;
  border: 1.5px solid rgba(0,0,0,.15);
}
.ap-contact-btn.email:hover { background: rgba(0,0,0,.2); }

/* =========================================
   FOOTER
   ========================================= */
.ap-footer {
  background: #0a1a17;
  color: rgba(255,255,255,.65);
  padding: 40px 0 24px;
  direction: rtl;
}

.ap-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ap-footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ap-footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85rem;
  transition: color .18s;
}
.ap-footer-links a:hover { color: #fff; }

.ap-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .78rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .ap-hero-inner { grid-template-columns: 1fr; }
  .ap-hero-stats-card { max-width: 380px; }
  .ap-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-steps { grid-template-columns: repeat(2, 1fr); }
  .ap-steps::before { display: none; }
  .ap-features-layout { grid-template-columns: 1fr; }
  .ap-dashboard-mock { max-width: 420px; margin: 0 auto; }
  .ap-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ap-plan.featured { transform: none; }
  .ap-testi-grid { grid-template-columns: 1fr; }
  .ap-resources-grid { grid-template-columns: repeat(2, 1fr); }
  /* Club section */
  .ap-club-inner { grid-template-columns: 1fr; gap: 40px; }
  .ap-club-preview { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .ap-hero { padding: 90px 0 60px; }
  .ap-hero-title { font-size: 1.9rem; }
  .ap-section-title { font-size: 1.6rem; }
  .ap-why-grid { grid-template-columns: 1fr; }
  .ap-steps { grid-template-columns: 1fr 1fr; }
  .ap-cta-box { padding: 40px 24px; }
  .ap-cta-title { font-size: 1.5rem; }
  .ap-contact-inner { flex-direction: column; align-items: flex-start; }
  .ap-club-title { font-size: 1.6rem; }
  .ap-club-stat-num { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .ap-hero-cta-row { flex-direction: column; }
  .ap-steps { grid-template-columns: 1fr; }
  .ap-resources-grid { grid-template-columns: 1fr 1fr; }
  .ap-hero-stats-card { grid-template-columns: 1fr 1fr; }
  .ap-club-stat-card { flex-direction: column; gap: 14px; padding: 16px; }
  .ap-club-benefit { flex-direction: column; }
  .ap-club-benefit-icon { width: 36px; height: 36px; font-size: .88rem; }
}
