/* ============================================
   MERIDIAN MARKET INTELLIGENCE — Corporate Site
   Charte graphique : teal/émeraude + blanc + gris
   ============================================ */

:root {
  --teal: #0D7C66;
  --teal-dark: #0A6554;
  --teal-light: #E8F5F1;
  --teal-medium: #B8DDD3;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---- HEADER / NAV ---- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-contact {
  padding: 8px 20px;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 4px;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}

.nav-contact:hover {
  background: var(--teal-dark) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px 0;
  max-width: 600px;
  margin-left: auto;
}

.hero-block {
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-block-inner {
  text-align: center;
  color: var(--white);
  padding: 40px;
}

.hero-block-inner h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-block-inner p {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p.hero-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-meta-item h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.hero-meta-item p {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
}

.btn-white:hover {
  background: var(--teal-light);
}

/* ---- SECTIONS ---- */
section {
  padding: 88px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ---- TEAL DIVIDER (like PDF horizontal lines) ---- */
.teal-line {
  width: 48px;
  height: 3px;
  background: var(--teal);
  margin-bottom: 24px;
}

.center .teal-line {
  margin: 0 auto 24px;
}

/* ---- ABOUT INTRO ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-image-text {
  text-align: center;
  color: var(--white);
}

.about-image-text .big-letter {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.2;
}

.about-image-text p {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 8px;
}

.about-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}

.about-text p strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* ---- SERVICES / CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--teal-medium);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.service-card ul {
  margin-top: 14px;
}

.service-card ul li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 1.5px;
  background: var(--teal);
}

/* ---- TEAL BAND SECTION ---- */
.teal-section {
  background: var(--teal);
  color: var(--white);
}

.teal-section .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.teal-section .section-title {
  color: var(--white);
}

.teal-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- VALUES / NUMBERS ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 16px;
}

.value-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.teal-section .value-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.teal-section .value-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Light values (white bg) */
.values-light .value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
}

.values-light .value-number {
  color: var(--teal);
}

.values-light .value-card h3 {
  color: var(--gray-900);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.values-light .value-card p {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- SECTORS ---- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sector-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  transition: all var(--transition);
}

.sector-card:hover {
  border-color: var(--teal);
}

.sector-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sector-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.sector-card p {
  font-size: 13px;
  color: var(--gray-600);
}

/* ---- OFFICES ---- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.office-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.office-image {
  height: 200px;
  background: var(--teal);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-image .city-icon {
  font-size: 48px;
  opacity: 0.25;
}

.office-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  background: var(--white);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
}

.office-info {
  padding: 24px;
}

.office-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.office-info .country {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.office-detail .icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  color: var(--teal);
  margin-top: 2px;
  font-size: 12px;
}

/* ---- MAP ---- */
.map-section {
  background: var(--teal);
  padding: 72px 0;
}

.map-visual {
  text-align: center;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.map-dots {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 32px;
}

.map-dot {
  text-align: center;
}

.map-dot .pulse {
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
}

.map-dot .pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.map-dot h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.map-dot p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.map-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin-top: 24px;
}

.map-caption {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 20px;
}

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 96px;
  height: 96px;
  background: var(--teal);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.team-card .role {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- METHODOLOGY ---- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.method-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 1px;
  background: var(--gray-200);
}

.method-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.method-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.method-step p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--teal);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
}

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

.footer-brand .logo-text {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .logo-text span {
  color: var(--teal);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 140px 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 520px;
}

.page-hero .teal-line {
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb a:hover { opacity: 0.8; }

/* ---- HIGHLIGHTS ---- */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.highlight-card {
  background: var(--teal-light);
  border-radius: 4px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--teal-medium);
}

.highlight-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
}

.highlight-card p {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal-medium);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.timeline-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.timeline-item .year {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-block { min-height: 300px; }
  .hero-content { padding: 120px 24px 48px; max-width: 100%; margin: 0; }
  .services-grid, .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .team-grid, .method-steps, .highlights { grid-template-columns: repeat(2, 1fr); }
  .method-steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 12px;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid, .offices-grid, .sectors-grid { grid-template-columns: 1fr; }
  .values-grid, .team-grid, .highlights { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .map-dots { flex-direction: column; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .values-grid, .team-grid, .highlights { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 16px; }
}
