/*
Theme Name: MTN Guinée Concept
Theme URI: https://example.com/mtn-guinee-concept
Author: Codex
Description: Thème WordPress conceptuel pour un site MTN Guinée avec menus, sous-menus, pages services, MoMo, Business et Assistance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mtn-guinee-concept
*/

:root {
  --yellow: #ffcb05;
  --ink: #141414;
  --muted: #675f4f;
  --paper: #fffdf4;
  --line: #e7dcaa;
  --green: #0a8d52;
  --blue: #1f6f9f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.utility-bar a {
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 253, 244, 0.92);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 38px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 17px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a,
.submenu a {
  color: #252525;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.nav-item,
.menu-item-has-children {
  position: relative;
  padding: 18px 0;
}

.submenu,
.sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  display: grid;
  min-width: 244px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(20, 20, 20, 0.14);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 160ms ease;
}

.submenu a,
.sub-menu a {
  display: block;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}

.submenu a:hover,
.sub-menu a:hover {
  background: #fff3b5;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.primary-btn,
.dark-btn,
.light-btn,
.plan-card button,
.momo-grid button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}

a.primary-btn,
a.dark-btn,
a.light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-btn {
  width: 44px;
  background: white;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.12);
}

.primary-btn,
.light-btn {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 18px;
}

.dark-btn {
  background: var(--ink);
  color: white;
  padding: 0 20px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 102px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  background: var(--yellow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 110px) clamp(22px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #594d00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  color: #2f2a12;
  font-size: 20px;
  line-height: 1.55;
}

.hero-media {
  min-height: 520px;
  background-image: linear-gradient(90deg, rgba(255, 203, 5, 0.82), rgba(255, 203, 5, 0.08) 36%), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
}

.quick-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  background: white;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.quick-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.section,
.service-band,
.support {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.plans,
.business-grid,
.support-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hub-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.plan-card,
.hub-card,
.category-card,
.support-layout article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.plan-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card.featured {
  background: #151515;
  color: white;
  border-color: #151515;
}

.plan-kicker,
.hub-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.featured .plan-kicker {
  color: var(--yellow);
}

.plan-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.hub-card h3,
.category-card h3 {
  margin-top: 34px;
  font-size: 25px;
}

.plan-card p,
.hub-card p,
.category-card p,
.support-layout p {
  color: var(--muted);
  line-height: 1.55;
}

.featured p {
  color: #dfdfdf;
}

.plan-card strong {
  display: block;
  margin: 20px 0;
  font-size: 28px;
}

.plan-card button {
  width: 100%;
  background: var(--yellow);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 8vw, 96px);
  align-items: center;
  background: #f5f1df;
}

.service-band p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.phone-ui {
  width: min(100%, 360px);
  min-height: 560px;
  padding: 20px;
  border: 10px solid #161616;
  border-radius: 34px;
  background: white;
  box-shadow: 0 28px 60px rgba(23, 23, 23, 0.18);
}

.phone-top {
  width: 92px;
  height: 8px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #171717;
}

.balance {
  padding: 22px;
  border-radius: 8px;
  background: var(--yellow);
}

.balance span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.balance strong {
  font-size: 27px;
}

.momo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.momo-grid button {
  min-height: 86px;
  background: #f3f3f3;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  min-height: 420px;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: var(--yellow);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #3f3711;
  font-size: 19px;
  line-height: 1.55;
}

.momo-hero {
  background: #f2d34d;
}

.business-hero {
  background: #d9edf6;
}

.support-hero {
  background: #e8f1dc;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 800;
}

.filter-tabs .active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.wp-content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--muted);
  line-height: 1.7;
}

.site-footer,
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
  font-size: 14px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #dedede;
}

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

.footer-links a,
.site-footer a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }

  .nav-item,
  .menu-item-has-children {
    padding: 0;
  }

  .submenu,
  .sub-menu {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
    order: -1;
  }

  .quick-panel,
  .plans,
  .business-grid,
  .hub-grid,
  .category-grid,
  .support-layout {
    grid-template-columns: 1fr 1fr;
  }

  .service-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .utility-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .topbar {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 58px;
    height: 34px;
    font-size: 15px;
  }

  .primary-btn {
    display: none;
  }

  .hero-copy {
    padding: 34px 18px 44px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-media {
    min-height: 320px;
  }

  .quick-panel,
  .plans,
  .business-grid,
  .hub-grid,
  .category-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .quick-panel a {
    min-height: 76px;
  }

  .section-heading,
  .site-footer,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-ui {
    min-height: 500px;
  }
}
