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

body {
  font-family: system-ui, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #1a1e2b;
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* ============================
   CONTENU DU SERVICE
============================ */

.service-content{
    width: 100%;
    display: block;
    margin-top: 20px;
}

/* ============================
   IMAGE DU SERVICE
============================ */

.service-images{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;

    /* Bordures arrondies */
    border-radius: 24px;
    overflow: hidden;

    /* Ombre moderne */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Animation fluide */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    margin-bottom: 25px;
}

/* Effet au survol (PC) */
.service-images:hover{
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
}

/* ============================
   TEXTE
============================ */

.service-texte{
    width: 100%;
}

.service-texte p,
.service-texte li{
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* ============================
   TABLETTE
============================ */

@media screen and (max-width: 1024px){

    .service-images{
        border-radius: 22px;
    }

    .service-texte p,
    .service-texte li{
        font-size: 15px;
    }

}

/* ============================
   MOBILE
============================ */

@media screen and (max-width: 768px){

    .service-images{
        width: 100%;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .service-texte p,
    .service-texte li{
        font-size: 15px;
        line-height: 1.7;
    }

}


/* ===== HEADER / NAVIGATION ===== */

.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.2rem 2rem;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);

    border-radius: 35px;

    border: 1px solid rgba(0,0,0,0.05);

    box-shadow:
      0 10px 30px rgba(0,0,0,0.06),
      0 2px 10px rgba(0,0,0,0.03);

    z-index: 1000;
}

/* Logo */

.brand img {
    height: 95px;
    width: auto;
}

.brand img:hover {
    transform: scale(1.03);
}

/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2563eb;
}

/* Menu Hamburger */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #374151;
    border-radius: 10px;
}

/* ===== ESPACE SOUS LE HEADER - CORRECTION ===== */
/* Ajout d'un padding-top pour compenser le header fixe sur toutes les pages */

.hero,
.page-hero,
.contact-simple {
    padding-top: 160px;  /* ← MODIFIÉ : 140px → 160px */
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn.primary {
  background-color: #2563eb;
  color: white;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn.primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: #2563eb;
  color: #2563eb;
}

.btn.ghost:hover {
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* ===== ANIMATIONS REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #ffffff;

  margin-top: 2rem;
  color: #475569;
  font-size: 0.9rem;
}

/* PAGE ACCUEIL (index.html) */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  color: #334155;
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.split {
  text-align: center;
  background: #ffffff;
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.split h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 1000px;
  margin: 0 auto;
  color: #0f172a;
}

.split u {
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: #2563eb;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 3rem 2rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem 1.8rem;
  flex: 1 1 280px;
  max-width: 340px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eef2ff;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
  border-color: #cbdffc;
}

.icon {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(145deg, #1e3a8a, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0.75rem 0 0.75rem;
}

.feature-card p {
  color: #475569;
}

.cta-section {
  background: linear-gradient(105deg, #0f172a 0%, #1e293b 100%);
  margin: 2rem 2rem 3rem;
  padding: 4rem 3rem;
  border-radius: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: white;
}

.cta-section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 0.5rem;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
}

.cta-section .btn.primary {
  background-color: white;
  color: #0f172a;
  box-shadow: none;
}

.cta-section .btn.primary:hover {
  background-color: #eef2ff;
  transform: scale(1.02);
}

/* PAGE SERVICES (services.html)  */

.page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  padding: 10rem 2rem 5rem 2rem;  /* ← MODIFIÉ : 8rem → 10rem */
  text-align: center;
  margin-top: 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  font-size: 1.2rem;
  color: #334155;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  flex: 1 1 350px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eef2ff;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
  border-color: #cbdffc;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.service-card h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0f172a;
}

.service-card > p {
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  padding-top: 1rem;
  border-top: 2px solid #eef2ff;
}

.service-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #334155;
}

.service-card li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 600;
}

.process-section {
  background: linear-gradient(105deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 2rem;
}

.process-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3rem;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.timeline-item {
  flex: 1 1 280px;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.timeline-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.timeline-item p {
  color: #475569;
  line-height: 1.5;
}

/* ==================================== */
/* PAGE CONTACT - VERSION SIMPLIFIÉE    */
/* ==================================== */

.contact-simple {
  max-width: 900px;
  margin: 0 auto;
  padding: 10rem 2rem 4rem 2rem;  /* ← MODIFIÉ : 8rem → 10rem */
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.8rem;
}

.contact-header p {
  font-size: 1.2rem;
  color: #475569;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  flex: 1 1 250px;
  max-width: 320px;
  min-width: 200px;
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  color: #1e293b;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #eef2ff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: all 0.3s ease;
}

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

.contact-card:hover .card-action {
  transform: translateX(6px);
  opacity: 1;
}

/* Carte Email */
.email-card {
  border-color: #dbeafe;
}

.email-card::before {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.email-card:hover {
  border-color: #2563eb;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.email-card .card-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Carte WhatsApp */
.whatsapp-card {
  border-color: #d1fae5;
}

.whatsapp-card::before {
  background: linear-gradient(90deg, #25D366, #128C7E);
}

.whatsapp-card:hover {
  border-color: #25D366;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.12);
}

.whatsapp-card .card-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem auto;
  color: white;
}

.contact-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.contact-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.card-action {
  display: inline-block;
  font-size: 1.2rem;
  color: #94a3b8;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.contact-footer {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-footer p {
  color: #64748b;
  font-size: 0.95rem;
  background: white;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  border: 1px solid #eef2ff;
}

/* RESPONSIVE (toutes les pages)  */

@media (max-width: 768px) {

.site-header{
    width:95%;
    padding:1rem 1.3rem;
    border-radius:30px;
}

.brand img{
    height:55px;
}

.nav-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.main-nav{
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:#fff;
    border-radius:25px;
    padding:2rem;

    flex-direction:column;
    gap:1.5rem;

    box-shadow:0 15px 30px rgba(0,0,0,0.08);

    opacity:0;
    visibility:hidden;
    transform:translateY(-20px);

    transition:0.3s;
}

.main-nav.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

  /* Accueil responsive */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .cta-section {
    flex-direction: column;
    text-align: center;
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }

  .feature-grid {
    gap: 1.5rem;
    padding: 1rem 1rem 4rem;
  }

  /* Services responsive */
  .page-hero {
    padding: 9rem 1.5rem 4rem 1.5rem;  /* ← MODIFIÉ : 7rem → 9rem */
  }

  .services-grid {
    padding: 3rem 1.5rem;
    gap: 1.5rem;
  }

  .service-card {
    flex: 1 1 100%;
  }

  .timeline {
    flex-direction: column;
    gap: 1.5rem;
  }

  .timeline-item {
    max-width: 100%;
  }

  /* Contact responsive */
  .contact-simple {
    padding: 9rem 1.5rem 3rem 1.5rem;  /* ← MODIFIÉ : 7rem → 9rem */
  }

  .contact-cards {
    gap: 1.2rem;
  }

  .contact-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .contact-footer {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .contact-footer p {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  /* Accueil */
  .hero-content {
    padding: 5rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }
  
  /* Services */
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .service-card h2 {
    font-size: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .process-section {
    padding: 3rem 1.2rem;
  }

  .timeline-item h3 {
    font-size: 1.2rem;
  }
  
  /* Contact */
  .contact-simple {
    padding: 8rem 1rem 2rem 1rem;  /* ← MODIFIÉ : 6rem → 8rem */
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  .contact-card h2 {
    font-size: 1.2rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    border-radius: 16px;
  }
}

/* ===== FOOTER AVEC RÉSEAUX SOCIAUX ===== */
.site-footer {
  text-align: center;
  padding: 2rem 2rem 1.5rem 2rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
  color: #475569;
  font-size: 0.9rem;
  background: #ffffff;
  width: 100%;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.footer-content p {
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

/* ===== RÉSEAUX SOCIAUX ===== */
.footer-social {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid transparent;
  min-width: auto;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: currentColor;
}

.social-link .social-icon {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-link .social-label {
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ===== FACEBOOK ===== */
.social-facebook {
  color: #1877F2;
}

.social-facebook:hover {
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.2);
}

.social-facebook:hover .social-icon {
  transform: scale(1.15) rotate(-3deg);
}

/* ===== TIKTOK ===== */
.social-tiktok {
  color: #000000;
}

.social-tiktok:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

.social-tiktok:hover .social-icon {
  transform: scale(1.15) rotate(3deg);
}

/* ==================================== */
/* RESPONSIVE - CORRECTION CENTRAGE    */
/* ==================================== */

@media (max-width: 768px) {
  .footer-social {
    gap: 0.2rem;
  }

  .social-link {
    padding: 0.15rem 0.4rem;
    gap: 0.15rem;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 0.15rem;
  }

  .social-link {
    padding: 0.1rem 0.3rem;
    gap: 0.1rem;
    min-width: auto;
  }
}

/* ==================================== */
/* VARIANTE BOUTONS COLORÉS            */
/* ==================================== */

/*
.social-link {
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: none;
}

.social-facebook {
  background: #1877F2;
}

.social-facebook:hover {
  background: #0d65d9;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(24, 119, 242, 0.35);
}

.social-tiktok {
  background: #000000;
}

.social-tiktok:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.social-link .social-label {
  color: white;
}
*/