/* CCII-ICI — Chambre de Commerce, Industrie et Innovation Israël–Côte d'Ivoire */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0f2a4a;
  --navy-dark: #0d3466;
  --gold: #c9a227;
  --gold-light: #e4c766;
  --orange: #f77f00;
  --green: #009e49;
  --off-white: #faf9f6;
  --text: #1d1d1d;
  --text-muted: #5a6472;
  --border: #e3e0d8;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--navy);
  border-radius: 20px;
  overflow: hidden;
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.lang-toggle button.active {
  background: var(--navy);
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-portal {
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  padding: 9px 16px;
  white-space: nowrap;
}

.btn-portal:hover { background: var(--navy-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(201,162,39,0.25);
}

.hero-inner { max-width: 720px; }

.hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.flag-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #0038b8 0 33%, #f77f00 33% 66%, #009e49 66% 100%);
}

/* Sections */
section { padding: 76px 0; }

section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

.section-head .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.section-head h2 { font-size: 2rem; }

.section-head p { color: var(--text-muted); font-size: 1.02rem; }

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 26px;
}

section.alt .card { background: var(--off-white); }

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Two-column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split ul { padding-left: 20px; margin: 0; }
.split li { margin-bottom: 10px; color: var(--text-muted); }

.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-row .stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
}

.stat-row .stat span { color: var(--text-muted); font-size: 0.88rem; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 28px; }

/* Membership tiers */
.tier {
  border-top: 4px solid var(--gold);
  text-align: left;
}

.tier .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--navy);
  margin: 6px 0 18px;
}

.tier .price span { font-size: 0.85rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }

.tier ul { list-style: none; padding: 0; margin: 0 0 22px; }
.tier li { padding: 7px 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); font-size: 0.92rem; }
.tier li:before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Timeline / priorities list */
.priority {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.priority:last-child { border-bottom: none; }

.priority .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  min-width: 50px;
}

.priority h3 { margin-bottom: 6px; font-size: 1.1rem; }
.priority p { margin: 0; color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info .item { margin-bottom: 22px; }
.contact-info .item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-info .item span, .contact-info .item a { color: var(--text-muted); }

.placeholder-note {
  background: #fff8e6;
  border: 1px solid var(--gold-light);
  color: #6b5a10;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 10px;
}

form.contact-form { display: flex; flex-direction: column; gap: 14px; }

form.contact-form input,
form.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: #fff;
}

form.contact-form textarea { min-height: 130px; resize: vertical; }

/* News */
.news-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.news-card .tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.news-card .body { padding: 24px; }
.news-card .date { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 8px; display: block; }

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 { color: #fff; font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 16px; }

footer .brand-text, footer p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.5);
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}

.page-hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-hero h1 { color: #fff; margin-top: 10px; font-size: 2.2rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; order: 2; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
}

@media (max-width: 560px) {
  .header-inner { padding: 10px 16px; gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text { font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text span { display: none; }
  .header-actions { gap: 8px; }
  .lang-toggle button { padding: 5px 10px; font-size: 0.72rem; }
  .btn-portal { padding: 8px 12px; font-size: 0.72rem; }
}
