/* ============================================
   NAIC — Nexus Afrik International Consulting
   Style principal
   ============================================ */

/* VARIABLES */
:root {
  --terre: #3d2b1f;
  --savane: #6b7c3a;
  --feuille: #8aab4a;
  --or: #c8a84b;
  --sable: #e8d9b8;
  --creme: #f5f0e8;
  --blanc: #fafaf7;
  --nuit: #1a1a14;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanc);
  color: var(--terre);
  overflow-x: hidden;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--savane);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--or);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--terre);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--savane);
}

.nav-cta {
  background: var(--savane);
  color: var(--blanc) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--terre) !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--nuit);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 5rem 6rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--creme);
  margin-bottom: 1.8rem;
}

.hero-title em {
  font-style: italic;
  color: var(--feuille);
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(232, 217, 184, 0.75);
  max-width: 28rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--or);
  color: var(--nuit);
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--feuille);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(232, 217, 184, 0.35);
  color: var(--creme);
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--or);
  background: rgba(200, 168, 75, 0.08);
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--nuit) 0%, transparent 45%);
}

.hero-badge {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 3;
  background: var(--or);
  color: var(--nuit);
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-radius: 2px;
}

.hero-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.hero-badge .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.8;
}

.hero-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  z-index: 1;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--savane);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 2.2rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--or);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.75);
  font-weight: 400;
  margin-top: 0.3rem;
  display: block;
}

/* ============================================
   SECTIONS — BASE
   ============================================ */
section {
  padding: 7rem 4rem;
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--savane);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--terre);
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(61, 43, 31, 0.7);
  max-width: 42rem;
  font-weight: 300;
}

/* ============================================
   VISION
   ============================================ */
.vision {
  background: var(--creme);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.vision-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(61, 43, 31, 0.1);
}

.value-card {
  background: var(--blanc);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.value-card:hover {
  background: var(--savane);
}

.value-card:hover .value-name {
  color: var(--blanc);
}

.value-card:hover .value-desc {
  color: rgba(255, 255, 255, 0.75);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.value-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terre);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.value-desc {
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(61, 43, 31, 0.65);
  font-weight: 300;
  transition: color 0.3s;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--blanc);
}

.services-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(61, 43, 31, 0.08);
  margin-top: 3rem;
}

.service-card {
  background: var(--blanc);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--or);
  transition: height 0.4s;
}

.service-card:hover {
  background: var(--nuit);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-num {
  color: var(--or);
}

.service-card:hover .service-name {
  color: var(--creme);
}

.service-card:hover .service-text {
  color: rgba(232, 217, 184, 0.65);
}

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(61, 43, 31, 0.08);
  line-height: 1;
  margin-bottom: 1.2rem;
  transition: color 0.35s;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--terre);
  margin-bottom: 1rem;
  transition: color 0.35s;
}

.service-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(61, 43, 31, 0.65);
  font-weight: 300;
  transition: color 0.35s;
}

/* ============================================
   ZONES
   ============================================ */
.zones {
  background: var(--terre);
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

.zones::before {
  content: 'AFRIQUE';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.zones .section-title {
  color: var(--creme);
}

.zones .section-tag {
  color: var(--or);
}

.zones .section-lead {
  color: rgba(232, 217, 184, 0.7);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.zone-card {
  border: 1px solid rgba(200, 168, 75, 0.2);
  padding: 2rem;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}

.zone-card:hover {
  border-color: var(--or);
  background: rgba(200, 168, 75, 0.06);
}

.zone-flag {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.zone-region {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.zone-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--creme);
  margin-bottom: 0.6rem;
}

.zone-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(232, 217, 184, 0.55);
  font-weight: 300;
}

/* ============================================
   ÉQUIPE
   ============================================ */
.team {
  background: var(--creme);
}

.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--blanc);
  padding: 3rem;
  border-left: 4px solid var(--or);
  margin-top: 3rem;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--savane), var(--feuille));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--blanc);
  flex-shrink: 0;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terre);
  margin-bottom: 0.3rem;
}

.team-title {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--savane);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(61, 43, 31, 0.7);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.team-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(107, 124, 58, 0.1);
  color: var(--savane);
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  border-radius: 2px;
  font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--nuit);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.contact-info {
  padding: 7rem 5rem;
}

.contact-info .section-tag {
  color: var(--or);
}

.contact-info .section-title {
  color: var(--creme);
}

.contact-info .section-lead {
  color: rgba(232, 217, 184, 0.65);
  margin-bottom: 3rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.12);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(200, 168, 75, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.95rem;
  color: rgba(232, 217, 184, 0.85);
  font-weight: 300;
}

.contact-form-side {
  background: var(--terre);
  padding: 7rem 5rem;
}

.contact-form-side .section-tag {
  color: var(--or);
}

.contact-form-side .section-title {
  color: var(--creme);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 217, 184, 0.6);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 168, 75, 0.2);
  color: var(--creme);
  padding: 0.85rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--or);
  background: rgba(200, 168, 75, 0.06);
}

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

.form-submit {
  background: var(--or);
  color: var(--nuit);
  border: none;
  padding: 1rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
  background: var(--feuille);
  transform: translateY(-2px);
}



/* États du bouton */
.form-submit.loading {
  background: rgba(200, 168, 75, 0.5);
  cursor: not-allowed;
  transform: none;
}

.form-submit.success {
  background: var(--savane);
  cursor: default;
  transform: none;
}

.form-submit.error {
  background: #8b3a3a;
  cursor: default;
  transform: none;
}

/* Zone de feedback */
.form-feedback {
  padding: 1rem 1.2rem;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 400;
}

.form-feedback--success {
  background: rgba(107, 124, 58, 0.2);
  border: 1px solid rgba(107, 124, 58, 0.4);
  color: var(--feuille);
}

.form-feedback--error {
  background: rgba(139, 58, 58, 0.2);
  border: 1px solid rgba(139, 58, 58, 0.4);
  color: #e09090;
}

.form-feedback--error a {
  color: var(--or);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--nuit);
  border-top: 1px solid rgba(200, 168, 75, 0.15);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--savane);
}

.footer-logo span {
  color: var(--or);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(232, 217, 184, 0.35);
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(232, 217, 184, 0.35);
  font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-title {
  animation: fadeUp 0.7s ease 0.4s both;
}

.hero-subtitle {
  animation: fadeUp 0.7s ease 0.6s both;
}

.hero-actions {
  animation: fadeUp 0.7s ease 0.8s both;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

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

  .hero-right {
    height: 45vh;
  }

  .hero-left {
    padding: 8rem 2rem 4rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .vision,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-side {
    padding: 4rem 2rem;
  }

  .services-grid,
  .zones-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}