/* ═══════════════════════════════════════
   Metrics — Site Vitrine
   ═══════════════════════════════════════ */

:root {
  --primary: #1B3A5C;
  --accent: #556ee6;
  --green: #34c38f;
  --dark: #212529;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text: #495057;
  --text-light: #6c757d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* ── Navbar ──────────────────────────── */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 40px;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 34px;
}

.navbar .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.2s ease;
}

.navbar.scrolled .nav-link {
  color: var(--primary) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--green) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--accent) !important;
}

.navbar-toggler {
  border: none;
  color: var(--white);
}

.navbar.scrolled .navbar-toggler {
  color: var(--primary);
}

/* ── Hero ────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
}

.hero .btn-hero {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero .btn-hero:hover {
  background: #2dae79;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52,195,143,0.35);
}

.hero .btn-outline-hero {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
}

.hero .btn-outline-hero:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ── Sections ────────────────────────── */
section {
  padding: 100px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

/* ── Feature Cards ───────────────────── */
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: var(--white);
}

.feature-icon.bg-accent { background: var(--accent); }
.feature-icon.bg-green { background: var(--green); }
.feature-icon.bg-warning { background: #f1b44c; }
.feature-icon.bg-danger { background: #f46a6a; }
.feature-icon.bg-info { background: #50a5f1; }
.feature-icon.bg-purple { background: #6f42c1; }

.feature-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── IA Section ──────────────────────── */
.ia-flow {
  position: relative;
}

.ia-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.ia-step-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ia-step-content h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.ia-step-content p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 0;
}

.ia-connector {
  width: 3px;
  height: 30px;
  background: linear-gradient(to bottom, var(--accent), var(--green));
  margin: 0.3rem 0 0.3rem 27px;
  border-radius: 2px;
}

.ia-benefits {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.ia-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ia-benefit-item:last-child {
  margin-bottom: 0;
}

.ia-benefit-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(85,110,230,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
}

.ia-benefit-item h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.ia-benefit-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ── Vision App Section ──────────────── */
.vision-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.vision-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--light-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

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

.vision-section .section-line {
  background: var(--green);
}

.vision-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vision-feature .v-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green);
}

.vision-feature h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.vision-feature p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.phone-img {
  max-height: 500px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ── Timeline ────────────────────────── */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #dee2e6;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
  width: 45%;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-year {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.3rem;
}

/* ── Team ────────────────────────────── */
.team-card {
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  margin-bottom: 1rem;
}

.team-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.team-card .role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ── Contact ─────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info-card .c-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: rgba(85,110,230,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(85,110,230,0.15);
}

.btn-send {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background: #4560d0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(85,110,230,0.3);
  color: var(--white);
}

/* ── Footer ──────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--white);
}

/* ── Responsive ──────────────────────── */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .navbar-collapse .nav-link {
    color: var(--primary) !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
