/* ============================================================
   Abidjan Online — Site vitrine
   Couleurs du drapeau ivoirien : Orange #FF8C00, Blanc, Vert #00994D
   ============================================================ */

:root {
  --orange: #FF8C00;
  --orange-dark: #e67e00;
  --green: #00994D;
  --green-dark: #007a3d;
  --ink: #1a1c1e;
  --muted: #5c6470;
  --line: #e8ebef;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
  --max: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,140,0,.28); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 26px rgba(255,140,0,.36); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(16,24,40,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-name { letter-spacing: -.02em; }
.brand-accent { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--muted); font-size: .98rem; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 88% -10%, rgba(0,153,77,.10), transparent 60%),
    radial-gradient(900px 460px at -5% 10%, rgba(255,140,0,.12), transparent 55%),
    var(--bg);
  padding: 72px 0 84px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  color: var(--green-dark); font-weight: 600; font-size: .9rem;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero .highlight { color: var(--orange); position: relative; }
.hero-sub { font-size: 1.15rem; color: var(--muted); margin: 20px 0 28px; max-width: 540px; }

.hero-search { display: flex; gap: 10px; max-width: 560px; margin-bottom: 30px; align-items: center; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px; box-shadow: var(--shadow); transition: border-color .15s; }
.hero-search:hover .search-field { border-color: #ffd9a8; }
.search-placeholder { flex: 1; font-size: 1rem; color: var(--muted); padding: 12px 0; }
.search-icon { opacity: .7; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: .9rem; color: var(--muted); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 280px; background: #0e1116; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-notch { width: 120px; height: 22px; background: #0e1116; border-radius: 0 0 16px 16px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { background: linear-gradient(180deg, #fff7ec, #fff); border-radius: 30px; padding: 40px 16px 22px; min-height: 480px; }
.mock-search { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; box-shadow: 0 4px 12px rgba(16,24,40,.05); }
.mock-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(16,24,40,.05); }
.mock-avatar { width: 44px; height: 44px; border-radius: 12px; background: #fff2df; display: grid; place-items: center; font-size: 1.4rem; }
.mock-lines b { display: block; font-size: .95rem; }
.mock-lines small { color: var(--muted); font-size: .82rem; }
.phone-mock-sm { width: 250px; }
.mock-logo { width: 56px; height: 56px; border-radius: 14px; margin: 8px auto 6px; }
.mock-title { text-align: center; font-weight: 800; margin-bottom: 16px; }
.mock-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.mock-tags span { background: #eafaf1; color: var(--green-dark); font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag { display: inline-block; color: var(--orange); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-tag.light { color: #ffe0b8; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; position: relative; transition: transform .18s, box-shadow .18s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), #ffb347); color: #fff; font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 18px; text-align: center; transition: transform .16s, box-shadow .16s, border-color .16s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ffd9a8; }
.cat-ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.cat-card b { display: block; font-size: .98rem; }
.cat-card small { color: var(--muted); font-size: .8rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .16s, box-shadow .16s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-ico { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cta-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-text p { color: rgba(255,255,255,.9); margin-bottom: 20px; }
.cta-list { margin-bottom: 28px; }
.cta-list li { padding-left: 30px; position: relative; margin-bottom: 10px; color: rgba(255,255,255,.95); }
.cta-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }

.cta-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 24px; position: relative; }
.plan-pro { background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -12px; right: 16px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-name { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.plan-price { display: block; font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.plan ul li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: .92rem; }
.plan ul li::before { content: "•"; position: absolute; left: 6px; color: var(--orange); font-weight: 700; }
.plan:not(.plan-pro) ul li::before { color: #ffd9a8; }

/* Download */
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.download-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 12px; }
.download-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 26px; max-width: 460px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 20px; transition: transform .16s, box-shadow .16s; }
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-btn[aria-disabled="true"] { opacity: .72; cursor: default; }
.store-btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.store-ico { font-size: 1.4rem; }
.store-txt { display: flex; flex-direction: column; line-height: 1.1; }
.store-txt small { font-size: .72rem; opacity: .8; }
.store-txt b { font-size: 1.05rem; }
.store-note { margin-top: 16px; font-size: .92rem; color: var(--muted); max-width: 420px; }
.download-visual { display: flex; justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
  font-weight: 400;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,140,0,.14); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: .92rem; font-weight: 600; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #d64545; }

.contact-info { display: flex; flex-direction: column; gap: 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item span:first-child { font-size: 1.3rem; }
.info-item b { display: block; font-size: .95rem; }
.info-item a, .info-item div span { color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--orange); }

/* Footer */
.site-footer { background: #12151a; color: #c7cdd6; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding: 60px 24px 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: .95rem; color: #99a1ac; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-nav a { display: block; color: #99a1ac; font-size: .92rem; margin-bottom: 10px; transition: color .15s; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .88rem; color: #7c848f; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner, .cta-inner, .download-inner { grid-template-columns: 1fr; }
  .hero-visual, .download-visual { order: -1; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .28s ease; z-index: 40;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; border: none; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .steps, .cta-plans, .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
}
