/* ==============================
   VARIABLES & RESET
   ============================== */
:root {
  --orange:       #F57C00;
  --orange-light: #FF9800;
  --orange-dark:  #E65100;
  --bleu-clair:   #29B6F6;
  --bleu-fonce:   #1A3568;
  --blanc:        #FFFFFF;
  --gris-clair:   #F8F9FA;
  --gris:         #6C757D;
  --texte:        #2C2C2C;
  --ombre:        0 4px 20px rgba(0,0,0,0.10);
  --ombre-hover:  0 8px 30px rgba(0,0,0,0.18);
  --radius:       10px;
  --transition:   all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==============================
   NAVIGATION
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--blanc);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 60px;
}

.nav-logo img {
  height: 88px;
  width: auto;
  margin: -14px -8px;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--bleu-fonce);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(245, 124, 0, 0.10);
  color: var(--orange);
}

.nav-app {
  background: transparent !important;
  color: var(--bleu-fonce) !important;
  padding: 9px 20px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  border: 2px solid var(--bleu-fonce) !important;
}
.nav-app:hover {
  background: var(--bleu-fonce) !important;
  color: var(--blanc) !important;
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--blanc) !important;
  padding: 9px 20px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,124,0,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--bleu-fonce);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==============================
   HERO
   ============================== */
.hero {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, #0d2348 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../IMG-20250126-WA0037.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text .badge {
  display: inline-block;
  background: rgba(245,124,0,0.20);
  color: var(--orange-light);
  border: 1px solid rgba(245,124,0,0.40);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--blanc);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--orange-light);
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.hero-card .phone-number {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--orange-light);
  display: block;
  margin: 12px 0;
}

.hero-card p {
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
}

.hero-card .badge-24 {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.hero-service-item {
  background: rgba(41,182,246,0.15);
  border: 1px solid rgba(41,182,246,0.30);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bleu-clair);
}

.hero-service-item i {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

/* ==============================
   BOUTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--blanc);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,124,0,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.50);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--blanc);
}

.btn-blue {
  background: var(--bleu-fonce);
  color: var(--blanc);
  border-color: var(--bleu-fonce);
}

.btn-blue:hover {
  background: #122a56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,53,104,0.35);
}

/* ==============================
   SECTIONS COMMUNES
   ============================== */
section {
  padding: 90px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--bleu-fonce);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--orange), var(--bleu-clair));
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ==============================
   CARDS
   ============================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--ombre);
  transition: var(--transition);
  border: 1px solid #EFEFEF;
}

.card:hover {
  box-shadow: var(--ombre-hover);
  transform: translateY(-5px);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

/* Centrage des cards dans la grille des services */
.cards-grid .card {
  text-align: center;
}

.cards-grid .card a {
  justify-content: center;
}

.card-icon.orange { background: rgba(245,124,0,0.12); color: var(--orange); }
.card-icon.blue   { background: rgba(41,182,246,0.12); color: var(--bleu-clair); }
.card-icon.dark   { background: rgba(26,53,104,0.12);  color: var(--bleu-fonce); }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bleu-fonce);
  margin-bottom: 12px;
}

.card p {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==============================
   AVANTAGES (checklist)
   ============================== */
.avantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--gris-clair);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}

.avantage-item:hover {
  background: rgba(245,124,0,0.06);
}

.avantage-item i {
  color: var(--orange);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.avantage-item span {
  font-weight: 500;
  color: var(--texte);
  font-size: 0.97rem;
}

/* ==============================
   STATS
   ============================== */
.stats-band {
  background: linear-gradient(135deg, var(--bleu-fonce), #0d2348);
  padding: 60px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange-light);
  display: block;
  line-height: 1;
}

.stat-item .label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ==============================
   CTA BAND
   ============================== */
.cta-band {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 70px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blanc);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-band .btn-blanc {
  background: var(--blanc);
  color: var(--orange-dark);
  border-color: var(--blanc);
}

.cta-band .btn-blanc:hover {
  background: rgba(255,255,255,0.90);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
}

/* ==============================
   PAGE HERO (sous-pages)
   ============================== */
.page-hero {
  padding-top: 70px;
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, #0d2348 100%);
  padding-bottom: 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 30px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blanc);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.80);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--bleu-clair); }
.breadcrumb a:hover { color: var(--blanc); }
.breadcrumb span { color: rgba(255,255,255,0.40); }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--bleu-fonce);
  color: rgba(255,255,255,0.80);
  padding: 70px 24px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand img {
  height: 100px;
  margin: -16px -10px 4px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--orange-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.93rem;
}

.footer-contact-item i {
  color: var(--orange-light);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: var(--orange-light);
}

/* ==============================
   BANDEAU PLEINE LARGEUR
   ============================== */
.bandeau-section {
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.bandeau-section img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (max-width: 768px) {
  .bandeau-section img { height: 140px; }
}

/* ==============================
   RÉSEAUX SOCIAUX
   ============================== */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.social-btn.facebook {
  background: rgba(24, 119, 242, 0.18);
  color: #5B9FFF;
}
.social-btn.facebook:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-2px);
}

.social-btn.linkedin {
  background: rgba(0, 119, 181, 0.18);
  color: #5BAADC;
}
.social-btn.linkedin:hover {
  background: #0077B5;
  color: white;
  transform: translateY(-2px);
}

/* Lien téléphone cliquable */
.tel-link {
  color: inherit;
  transition: var(--transition);
}
.tel-link:hover {
  color: var(--orange-light);
}

/* ==============================
   ANIMATIONS
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==============================
   UTILITAIRES
   ============================== */
.bg-gris { background: var(--gris-clair); }
.text-center { text-align: center; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-orange { background: rgba(245,124,0,0.12); color: var(--orange); }
.tag-blue   { background: rgba(41,182,246,0.12); color: var(--bleu-clair); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    gap: 4px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 50px 20px 60px;
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-services {
    grid-template-columns: repeat(3, 1fr);
  }

  section {
    padding: 55px 20px;
  }

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

  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .avantages-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .page-hero-inner {
    padding: 50px 20px 28px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 560px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-services {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-service-item {
    font-size: 0.75rem;
    padding: 10px 6px;
  }

  .hero-card .phone-number {
    font-size: 1.6rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    padding: 50px 20px;
  }

  .cta-band .btn {
    width: 100%;
    justify-content: center;
  }
}
