:root {
  /* Palette Émeraude */
  --emerald-900: #064e3b; /* fond profond */
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --bg: #f6fbf8; /* arrière-plan global */
  --text: #12372a; /* texte principal */
  --muted: #315a49; /* sous-texte */
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.2;
  color: var(--emerald-900);
}
a {
  color: var(--emerald-700);
  text-decoration: none;
}
a:hover {
  opacity: 0.9;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary {
  background: var(--emerald-900);
  color: var(--white);
  padding: 0.85rem 1.25rem;
}
.btn-primary:hover {
  background: var(--emerald-700);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--emerald-200);
  background: rgba(4, 120, 87, 0.18);
  border: 1px solid rgba(167, 243, 208, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}

/* Top bar */
.topbar {
  background: var(--emerald-900);
  color: #e6f6ed;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}
.topbar p {
  margin: 0;
  opacity: 0.9;
}
.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e6f6ed;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(6, 78, 59, 0.2);
  padding: 0 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  height: 60px;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}
.brand-title {
  font-weight: 800;
  color: var(--emerald-900);
}
nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--text);
}
nav a:hover {
  color: var(--emerald-700);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Mobile menu */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(6, 78, 59, 0.2);
  background: #fff;
  color: var(--emerald-900);
}
.mobile-panel {
  display: none;
  border-top: 1px solid rgba(6, 78, 59, 0.1);
  background: rgba(255, 255, 255, 0.96);
}
.mobile-panel a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text);
}
.mobile-cta {
  margin-top: 0.5rem;
  width: auto;
}
.mobile-cta .btn-primary {
  color: var(--white);
  padding: 0.5rem 1rem;
  text-align: center;
}

/* Hero */
.hero {
  background: linear-gradient(
    135deg,
    var(--emerald-900),
    var(--emerald-800) 50%,
    var(--emerald-900)
  );
  color: var(--emerald-100);
  padding-top: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  align-content: space-between;
  padding: 4rem 1rem;
}
.hero h1 {
  color: #ecfdf5;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0.5rem 0 1rem;
}
.hero p {
  max-width: 58ch;
  text-align: justify;
}
.hero .media {
  border: 1px solid rgba(4, 120, 87, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 80%;
}
.hero .media img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top center;
}

/* Sections */
section {
  padding: 2.5rem 0;
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin: 0 0 2rem;
  text-align: center;
}

/* Values */
.bio {
  background: #fff;
  border-top: 1px solid rgba(4, 120, 87, 0.2);
}

.bio .container {
  padding: 0;
}

.bio .banner {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: center center;
}

.bio p {
  max-width: 75ch;
  margin: 0 auto;
  color: #1b4332;
  text-align: justify;
}

.bio p span {
  font-weight: bold;
}

/* Expertises */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(4, 120, 87, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--emerald-900);
  color: var(--emerald-100);
  border: 1px solid rgba(4, 120, 87, 0.35);
  margin-bottom: 0.75rem;
}
.card h3 {
  margin: 0.25rem 0 0.5rem;
}
.card p {
  margin: 0;
  color: #1b4332;
}

/* Work together */
#work-together {
  background: #fff;
  border-top: 1px solid rgba(4, 120, 87, 0.2);
}
#work-together p {
  max-width: 75ch;
  margin: 0 auto;
  color: #1b4332;
}

#work-together ul {
  list-style-type: none;
  padding-inline-start: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

#work-together li {
  max-width: 75ch;
  margin: 0 auto;
  color: #1b4332;
}

#work-together strong {
  display: block;
}

/* Publications */
.pubs {
  background: var(--emerald-900);
  color: #ecfdf5;
  border-top: 1px solid rgba(4, 120, 87, 0.4);
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 1.5rem;
}
.pub {
  background: var(--emerald-800);
  border: 1px solid rgba(4, 120, 87, 0.35);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.pub h4 {
  margin: 0.25rem 0 0.35rem;
  color: var(--emerald-100);
}
.pub time {
  color: #bbf7d0;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--emerald-900);
  color: #ecfdf5;
  border-top: 1px solid rgba(4, 120, 87, 0.4);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 0 1rem;
}
.badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--emerald-900);
  border: 1px solid rgba(4, 120, 87, 0.3);
}
.foot-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(4, 120, 87, 0.4);
  margin-top: 1.5rem;
  padding-top: 1rem;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: #bbf7d0;
}


.infuero-logo {
  justify-self: end;
  display: block;
  width: 100px;
}

/* Sticky CTA mobile */
.sticky-cta {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(4, 120, 87, 0.35);
  border-radius: 16px;
  padding: 0.6rem 0.75rem;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 960px) {
  nav ul {
    display: none;
  }
  .burger {
    display: inline-grid;
    place-items: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 0;
  }
  .hero .media img {
    height: 360px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .topbar p {
    display: none;
  }
  .brand-logo {
    width: 60px;
  }
  .bio .container,
  .container {
    padding: 0 0.9rem;
  }
  .hero .media img {
    height: 280px;
  }
  .bio .banner {
    height: 10vh;
  }

  .cards,
  .pub-grid,
  #work-together ul {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .sticky-cta {
    display: block;
  }
}
