/*
Theme Name: Kompaz Logistique
Theme URI: https://kompazlogistique.com
Author: Kompaz Logistique
Author URI: https://kompazlogistique.com
Description: Thème officiel de Kompaz Logistique — Solutions logistiques en Guinée Conakry. Compatible Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: kompaz
Tags: business, logistics, one-page, elementor, custom-colors, custom-logo
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2E7D32;
  --green-light: #E8F5E9;
  --green-dark:  #1B5E20;
  --gold:        #C8960C;
  --gold-light:  #FFF8E1;
  --charcoal:    #1C1C1C;
  --ink:         #2D2D2D;
  --muted:       #6B6B6B;
  --border:      #E0E0E0;
  --sand:        #F5F5F2;
  --white:       #FFFFFF;
  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w:       1140px;
  --radius:      10px;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

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

/* ── NAVIGATION ── */
#site-navigation {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo img { height: 70px; width: auto; display: block; }
.site-logo .text-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
}
.site-logo .text-logo span { color: var(--green); }

.main-navigation ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-navigation a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.main-navigation a:hover { color: var(--green); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ── HERO ── */
.hero-section {
  padding: 148px 0 100px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,50,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--green); margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700; color: var(--charcoal);
  line-height: 1.12; letter-spacing: -1px;
  max-width: 720px; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--green); }
.hero-subtitle {
  font-size: 18px; color: var(--muted);
  max-width: 560px; line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--ink);
  padding: 13px 24px; border-radius: 8px;
  font-weight: 500; font-size: 15px;
  display: inline-block; transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: var(--charcoal); line-height: 1; margin-bottom: 4px;
}
.stat-num.gold { color: var(--gold); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ── VISION BAND ── */
.vision-band { background: var(--charcoal); padding: 18px 0; }
.vision-inner { display: flex; align-items: center; gap: 16px; }
.vision-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); white-space: nowrap; flex-shrink: 0;
}
.vision-text { font-size: 13px; color: rgba(255,255,255,0.55); }
.vision-text strong { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── SECTIONS GÉNÉRALES ── */
.kompaz-section { padding: 96px 0; }
.kompaz-section.bg-sand { background: var(--sand); }
.kompaz-section.bg-white { background: var(--white); }
.kompaz-section.bg-dark { background: var(--charcoal); }

.section-eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; color: var(--charcoal);
  line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--green); }
.section-title.light { color: var(--white); }
.section-body { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 560px; }
.section-body.light { color: rgba(255,255,255,0.55); }

/* ── DIVISIONS ── */
.divisions-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start; margin-top: 64px;
}
.div-cards { display: flex; flex-direction: column; gap: 16px; }
.div-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.div-card:hover { border-color: var(--green); box-shadow: 0 4px 24px rgba(46,125,50,0.08); }
.div-card.active { border-color: var(--green); border-left: 4px solid var(--green); background: #FAFFFE; }
.div-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.div-content h3 {
  font-family: var(--font-display); font-size: 17px;
  font-weight: 600; color: var(--charcoal); margin-bottom: 6px;
}
.div-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  border-radius: 4px; padding: 2px 7px; margin-top: 8px;
}
.badge-soon { color: var(--muted); background: var(--sand); }
.badge-active { color: var(--green-dark); background: var(--green-light); }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.service-card:hover { border-color: var(--green); transform: translateY(-2px); }
.service-icon { font-size: 28px; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 600; color: var(--charcoal); margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── ZONE ── */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zone-active {
  background: var(--green-light); border: 1px solid rgba(46,125,50,0.25);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 24px;
  display: flex; align-items: center; gap: 16px;
}
.zone-flag { font-size: 32px; }
.zone-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green); margin-bottom: 3px;
}
.zone-name {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: var(--charcoal);
}
.zone-future { margin-top: 28px; }
.zone-future-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px;
}
.zone-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.zone-pill {
  font-size: 13px; padding: 5px 13px; border-radius: 99px;
  border: 1px solid var(--border); color: var(--muted); background: var(--white);
}
.map-wrap {
  background: var(--sand); border-radius: 16px;
  height: 380px; border: 1px solid var(--border); overflow: hidden;
}
.map-wrap svg { width: 100%; height: 100%; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,0.07);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 4px;
}
.contact-value { font-size: 16px; color: var(--white); }
.contact-value a { color: var(--white); }
.contact-value a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-input, .form-textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 12px 16px; font-size: 15px;
  color: var(--white); font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-textarea:focus { border-color: var(--green); background: rgba(255,255,255,0.09); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit {
  background: var(--green); color: var(--white); border: none;
  padding: 15px 32px; border-radius: 8px; font-size: 15px;
  font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: background 0.2s, transform 0.15s; align-self: flex-start;
}
.form-submit:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── FOOTER ── */
#colophon { background: #111; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

/* ── ELEMENTOR OVERRIDES ── */
.elementor-page .hero-section,
.elementor-page .kompaz-section { padding: 96px 0; }
.elementor-section.elementor-section-full_width > .elementor-container { max-width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .divisions-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .main-navigation { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { justify-content: center; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
