/* =================================================================
   PAGES PAYS — styles communs (gabon.html, pays-modele.html, …)
   Ne contient que la mise en forme : le contenu propre à chaque pays
   vit dans la page. Les couleurs et typographies viennent de global.css.
   ================================================================= */
/* HERO */
.page-hero {
  padding: 165px 0 80px;
  background:
    radial-gradient(circle at 15% 30%, rgba(155,89,182,.22), transparent 50%),
    radial-gradient(circle at 85% 10%, rgba(255,107,53,.18), transparent 50%),
    radial-gradient(circle at 60% 90%, rgba(233,30,140,.12), transparent 50%),
    var(--bg);
  text-align: center;
}
.hero-tagline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(155,89,182,.12);
  border: 1px solid rgba(155,89,182,.30);
  color: var(--primary);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--text);
}
.page-hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 880px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.hero-proof {
  margin-top: 20px;
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: .93rem;
}
.hero-proof span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  color: var(--muted);
}
.hero-proof i { color: var(--primary); }

/* SECTIONS */
section { padding: 85px 0; }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  color: var(--text);
}
.section-title h2:after {
  content: "";
  position: absolute;
  width: 60px; height: 4px;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--grad);
}
.section-title p {
  margin: 26px auto 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* PROCESS */
.process {
  background: var(--bg);
  text-align: center;
}
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  position: relative;
  gap: 16px;
}
.process-steps:before {
  content: '';
  position: absolute;
  top: 38px; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.4;
  z-index: 1;
}
.process-step {
  position: relative; z-index: 2;
  flex: 1; text-align: center;
}
.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--glow);
}
.step-title { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); font-weight: 700; }
.step-description { color: var(--muted); padding: 0 12px; line-height: 1.7; font-size: .95rem; }
@media (max-width: 992px) {
  .process-steps { flex-direction: column; gap: 36px; }
  .process-steps:before { display: none; }
}

/* CTA */
.cta {
  background: var(--grad);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.10), transparent 60%);
}
.cta-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta p { opacity: .92; font-size: 1.08rem; margin: 0 auto 28px; max-width: 760px; }
.cta .btn {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.30);
  color: #fff; font-weight: 700;
  cursor: pointer;
}
.cta .btn:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

@media (max-width: 992px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 60px; }
  section { padding: 65px 0; }
}

/* BLOCS DES PAGES PAYS */
.gb-section { padding: 70px 0; }
.gb-section.alt { background: var(--bg-section); }
.gb-flag { display: inline-flex; gap: 0; height: 6px; width: 72px; border-radius: 999px; overflow: hidden; margin: 0 auto 18px; }
.gb-flag span { flex: 1; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.why-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(155,89,182,.10); color: var(--primary); font-size: 1.2rem; margin-bottom: 14px; }
.why-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--text); }
.why-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .95rem; }
.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.offer { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.offer i { color: var(--primary); font-size: 1.15rem; margin-top: 3px; width: 22px; text-align: center; }
.offer h3 { margin: 0 0 4px; font-size: 1rem; color: var(--text); }
.offer p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.offer .from { display: inline-block; margin-top: 8px; font-weight: 800; color: var(--primary); font-size: .88rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(155,89,182,.18); display: block; }
.split h2 { margin-top: 0; }
.split ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 9px; }
.split li { display: flex; gap: 10px; color: var(--text); }
.split li i { color: var(--primary); margin-top: 4px; }
.refs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: stretch; }
.ref-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ref-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg,#2A1240,#9B59B6 55%,#E91E8C); }
.ref-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-media .ref-visual { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 20px; }
.ref-media .ref-visual i { font-size: 2.4rem; }
.ref-body { padding: 20px 22px 24px; }
.ref-body .meta { color: var(--primary); font-weight: 700; font-size: .86rem; margin: 0 0 6px; }
.ref-body h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--text); }
.ref-body p { margin: 0 0 12px; color: var(--muted); line-height: 1.6; font-size: .93rem; }
.ref-body a { font-weight: 700; color: var(--primary); text-decoration: none; }
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; max-width: 900px; margin: 0 auto; }
.founder img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 16px 40px rgba(155,89,182,.25); }
.founder h2 { margin: 0 0 6px; }
.founder .role { color: var(--primary); font-weight: 700; margin: 0 0 12px; }
.founder p { color: var(--muted); line-height: 1.7; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.contact-row a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 900px) {
  .why-grid, .offer-list, .split, .refs { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .gb-section { padding: 50px 0; }
}

/* --- Hero pays : texte + visuel, contacts locaux dès le haut --- */
.pays-hero { padding: 130px 0 60px; background: radial-gradient(1200px 500px at 85% 0%, rgba(233,30,140,.10), transparent 60%), radial-gradient(900px 500px at 0% 20%, rgba(155,89,182,.12), transparent 60%); }
.pays-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.pays-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: 10px 0 16px; }
.pays-hero .hero-tagline { margin-bottom: 4px; }
.pays-hero p.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0 0 22px; }
.pays-hero .gb-flag { margin: 0 0 14px; }
.pays-hero .hero-actions { justify-content: flex-start; }
.pays-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pays-contacts a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: .9rem; text-decoration: none;
}
.pays-contacts a i { color: var(--primary); }
.pays-contacts a:hover { border-color: rgba(155,89,182,.45); }
.pays-hero-media { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(155,89,182,.22); background: #2A1240; }
.pays-hero-media video, .pays-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pays-hero-media figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; color: #fff; font-size: .8rem; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.pays-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pays-figures div { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; text-align: center; }
.pays-figures b { display: block; font-size: 1.35rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pays-figures span { font-size: .8rem; color: var(--muted); }
.offer .offer-cta { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--primary); font-size: .88rem; text-decoration: none; }
.refs.trois { grid-template-columns: repeat(3, 1fr); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1000px) {
  .pays-hero-grid { grid-template-columns: 1fr; }
  .refs.trois { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pays-hero { padding: 96px 0 40px; }
  .pays-contacts a { flex: 1 1 auto; justify-content: center; }
}
