/* ============================================
   IAM CONSEIL – Feuille de style principale
   Couleurs : Navy #1B2B6B | Mint #5ED8A4
   ============================================ */

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

:root {
  --navy:        #1B2B6B;
  --navy-dark:   #12205A;
  --navy-light:  #2A3E8C;
  --mint:        #5ED8A4;
  --mint-light:  #7EEAB8;
  --mint-dark:   #3BC489;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --gray-light:  #EEF0F7;
  --gray-mid:    #8B92B0;
  --text-dark:   #0E1A4A;
  --text-body:   #3D4569;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,43,107,0.08);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(27,43,107,0.08); }

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon { width: 42px; height: 42px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}
.logo-text span { color: var(--mint-dark); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--mint);
}
.hero-circle.c1 { width: 600px; height: 600px; top: -100px; right: -150px; }
.hero-circle.c2 { width: 300px; height: 300px; bottom: 50px; left: 5%; }
.hero-circle.c3 { width: 150px; height: 150px; top: 30%; right: 25%; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94,216,164,0.15);
  border: 1px solid rgba(94,216,164,0.3);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.hero-badge span {
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}

h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--mint); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 44px;
}

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

.btn-primary {
  background: var(--mint);
  color: var(--navy-dark);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--mint-light); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.stat-num span { color: var(--mint); }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- SECTION COMMONS ---- */
section { padding: 100px 5%; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 580px;
}

/* ---- OFFRES ---- */
.offres { background: var(--off-white); }
.offres-header { text-align: center; margin-bottom: 72px; }
.offres-header .section-subtitle { margin: 0 auto; }

.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.offre-card {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid rgba(27,43,107,0.07);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.offre-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--mint));
}
.offre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(27,43,107,0.12);
}

.offre-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mint-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.offre-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(27,43,107,0.06), rgba(94,216,164,0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.offre-icon svg { width: 26px; height: 26px; }

h3.offre-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.offre-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 24px;
}
.offre-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--gray-light);
  color: var(--navy);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* ---- APPROCHE ---- */
.approche { background: white; }
.approche-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.approche-visual { position: relative; height: 440px; }

.approche-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 8px 40px rgba(27,43,107,0.1);
  border: 1px solid rgba(27,43,107,0.06);
}
.approche-card.main { left: 0; top: 30px; right: 60px; z-index: 2; }
.approche-card.accent {
  right: 0; bottom: 40px; left: 80px;
  background: var(--navy);
  z-index: 3;
}

.ac-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.ac-title.light { color: rgba(255,255,255,0.5); }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; align-items: center; gap: 14px; }
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-dot.active {
  background: linear-gradient(135deg, var(--navy), var(--mint-dark));
}
.step-dot.mint { background: rgba(94,216,164,0.15); }
.step-dot svg { width: 14px; height: 14px; }
.step-text { font-size: 0.88rem; color: var(--text-body); font-weight: 500; }

.kpi-row { display: flex; gap: 24px; }
.kpi-val {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}
.kpi-val span { color: var(--mint); }
.kpi-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.approche-text .section-subtitle { margin-bottom: 32px; }
.valeur-list { display: flex; flex-direction: column; gap: 20px; }
.valeur-item { display: flex; gap: 16px; align-items: flex-start; }
.valeur-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(94,216,164,0.1);
  border: 1px solid rgba(94,216,164,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.valeur-icon svg { width: 18px; height: 18px; }
.valeur-text h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.valeur-text p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.6; }

/* ---- FONDATEUR ---- */
.fondateur {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.fondateur-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.fondateur-img { position: relative; }
.avatar-frame {
  width: 280px; height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(94,216,164,0.2), rgba(27,43,107,0.4));
  border: 1px solid rgba(94,216,164,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.avatar-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.avatar-initials {
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  opacity: 0.4;
}
.fondateur-badge {
  position: absolute;
  bottom: -16px; right: 20px;
  background: var(--mint);
  color: var(--navy-dark);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

.fondateur-text .section-label { color: var(--mint); }
.fondateur-text .section-title { color: white; }
.fondateur-text .section-subtitle { color: rgba(255,255,255,0.65); margin-bottom: 32px; }

.fondateur-expertise { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.exp-tag {
  background: rgba(94,216,164,0.12);
  border: 1px solid rgba(94,216,164,0.25);
  color: var(--mint);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-linkedin:hover { background: var(--gray-light); transform: translateY(-1px); }
.li-icon {
  width: 20px; height: 20px;
  background: #0A66C2;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- CONTACT ---- */
.contact { background: var(--off-white); }
.contact-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { margin-bottom: 16px; }
.contact-inner .section-subtitle { margin: 0 auto 48px; }

.contact-form {
  background: white;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid rgba(27,43,107,0.07);
  box-shadow: 0 4px 32px rgba(27,43,107,0.06);
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  background: white;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--navy-light); }

.form-msg {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}
.form-msg.success { background: rgba(59,196,137,0.1); color: var(--mint-dark); border: 1px solid rgba(59,196,137,0.3); }
.form-msg.error { background: rgba(220,38,38,0.06); color: #dc2626; border: 1px solid rgba(220,38,38,0.2); }

/* ---- FOOTER ---- */
footer {
  background: var(--text-dark);
  padding: 60px 5% 32px;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.82rem;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .offres-grid { grid-template-columns: 1fr; max-width: 520px; }
  .approche-inner { grid-template-columns: 1fr; gap: 48px; }
  .approche-visual { height: 360px; }
  .fondateur-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .fondateur-img { margin-bottom: 16px; }
  .fondateur-badge { position: static; display: inline-block; margin-top: 16px; }
  .fondateur-expertise { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 5% 32px;
    gap: 4px;
    border-bottom: 1px solid rgba(27,43,107,0.08);
    box-shadow: 0 8px 24px rgba(27,43,107,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
  }
  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 12px !important;
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
  .hero-stats { gap: 32px; }
  .kpi-row { gap: 16px; }
  .approche-card.accent { left: 20px; }
}
