/* ============================
   INVEST PRODUCTION S.A.R.L
   Style inspiré de TGCC
   ============================ */

:root {
  /* Palette brand - Bleu du logo IP */
  --brand-primary: #0B3B91;
  --brand-secondary: #1C76EE;
  --brand-accent: #63B8FF;
  --brand-light: #A0BFFF;
  --brand-gradient: linear-gradient(135deg, #0B3B91 0%, #1C76EE 50%, #63B8FF 100%);
  
  /* Couleurs principales - Thème BLEU FONCÉ comme le logo */
  --bg-dark: #0a1628;
  --bg-card: #0f1e34;
  --text-light: #FFFFFF;
  --text-secondary: #E8F0FF;
  --text-muted: #15449f;
  --border-subtle: rgba(0,212,255,.15);
  --shadow-strong: 0 10px 40px rgba(0,102,255,.25);
  
  /* Typographie */
  --font-primary: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Poppins', var(--font-primary);
  
  /* Layout */
  --max-width: 1200px;
  --radius: 16px;
  --gap: 24px;
  
  /* Animation */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #0B3B91;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p { 
  margin-bottom: 1rem; 
  color: #2C3E50;
  line-height: 1.8;
}

.trust-number1{
  color: white;
    font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.text-gradient {
  color: #0B3B91;

}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ============================
   LAYOUT UTILITIES
   ============================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

/* Section avec fond bleu - texte blanc */
.section-blue {
  background: linear-gradient(135deg, rgba(11, 59, 145, 0.95) 0%, rgba(28, 118, 238, 0.90) 100%);
  color: #FFFFFF;
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4,
.section-blue h5,
.section-blue h6 {
  color: #FFFFFF;
}

.section-blue p,
.section-blue li {
  color: #FFFFFF;
}

/* .section-blue .section-label {
  color: #63B8FF;
} */

.section-blue .card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-blue .card-title {
  color: #FFFFFF;
}

.section-blue .card-text {
  color: rgba(255, 255, 255, 0.9);
}

.section-blue .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.section-blue .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.section-blue .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.section-blue .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(123, 63, 242, 0.3);
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================
   HEADER & NAVIGATION
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0B3B91 0%, #1C76EE 100%);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(99, 184, 255, 0.5);
  box-shadow: 0 4px 20px rgba(28, 118, 238, 0.4);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-gradient);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(123, 63, 242, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-main {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #63B8FF 0%, #A0BFFF 100%);
  box-shadow: 0 0 8px rgba(99, 184, 255, 0.6);
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #FFFFFF;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 73px);
    background: rgba(11, 13, 23, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    border-left: 1px solid var(--border-subtle);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================
   BUTTONS & LINKS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {  border: 1px solid rgba(99, 184, 255, 0.3);
  box-shadow: 0 4px 16px rgba(28, 118, 238, 0.4), 0 0 20px rgba(99, 184, 255, 0.2);
}
.colorblue{
  color: #0B3B91;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 118, 238, 0.5), 0 0 30px rgba(99, 184, 255, 0.3);
  background: linear-gradient(135deg, #1C76EE 0%, #63B8FF 50%, #A0BFFF 100%);
}

.btn-secondary {
  background: rgba(11, 59, 145, 0.1);
  border: 1px solid rgba(99, 184, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================
   CARDS
   ============================ */
.card {
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 184, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28, 118, 238, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  border-color: rgba(99, 184, 255, 0.5);
  box-shadow: 0 12px 32px rgba(28, 118, 238, 0.25), 0 0 20px rgba(99, 184, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(123, 63, 242, 0.15);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(123, 63, 242, 0.25);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0B3B91;
  font-weight: 700;
}

.card-text {
  color: #4A5568;
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    135deg,
    rgba(11, 59, 145, 0.92) 0%,
    rgba(28, 118, 238, 0.85) 50%,
    rgba(99, 184, 255, 0.70) 100%
  ), url('../images/flotte-mercedes-bennes.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: inset 0 0 100px rgba(99, 184, 255, 0.15);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;

  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-group {
    justify-content: center;
  }
}

.hero-title {
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #FFFFFF;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-features {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #FFFFFF;
  font-weight: 500;
}

.hero-features .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(123, 63, 242, 0.15);
  border: 1px solid rgba(123, 63, 242, 0.4);
  display: grid;
  place-items: center;
  color: #7B3FF2;
  font-size: 0.875rem;
  margin-top: 2px;
}

/* ============================
   TRUST BAR (chiffres clés)
   ============================ */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.trust-item {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: var(--transition);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.trust-number {
  color: #0B3B91;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-label1 {
  font-size: 0.875rem;
  color: white;
  font-weight: 500;
}


/* ============================
   SERVICES GRID
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}

/* ============================
   CLIENTS / REFERENCES
   ============================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.client-logo {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

.client-logo:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  color: var(--text-light);
}

/* ============================
   FORMULAIRE DE CONTACT
   ============================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #7B3FF2;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.15);
}

.form-control::placeholder {
  color: rgba(180, 184, 208, 0.5);
}

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

select.form-control {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-small {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.section-label span:nth-child(2) {
  color: #0B3B91;
}
.text-center div:nth-child(2) {
  color: #0B3B91;
}

/* ============================
   FAQ / ACCORDION
   ============================ */
.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: #7B3FF2;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: linear-gradient(180deg, rgba(123, 63, 242, 0.02) 0%, rgba(255,255,255,0) 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-about h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-about p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  /* color: var(--text-light); */
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  /* color: var(--text-light); */
  padding-left: 4px;
}

.footer-contact {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-contact strong {
  color: #0B3B91;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   UTILITIES
   ============================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 640px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-group {
    flex-direction: column;
  }
}
