/* ===== VARIABLES ===== */
:root {
  --primary-blue: #004B87;
  --cyan: #00D4FF;
  --black: #111111;
  --white: #FFFFFF;
  --gray: #f5f5f5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 15px;
  --container-width: 1200px;
  --header-height: 80px;
}

/* ===== BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0;
  scroll-behavior: smooth;
}

/* Ensure sections have proper spacing */
section {
  scroll-margin-top: calc(var(--header-height) + 20px);
  padding: 3rem 0;
  position: relative;
}

/* Specific section styles */
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Other sections */
#services,
#methodologie,
#results,
#publics,
#testimonials,
#blog,
#contact {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

/* Specific section: Methodologie */
#methodologie {
  padding-top: calc(var(--header-height) + 3rem);
}

#methodologie .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#methodologie h2.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-blue);
  position: relative;
  padding-bottom: 1rem;
}

#methodologie h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { 
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

a:hover {
  color: var(--cyan);
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  padding: 4rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Hauteur du header + marge */
}

/* Styles pour toutes les sections */
section {
  scroll-margin-top: 80px; /* Compense la hauteur du header fixe */
  padding: 2.5rem 0; /* Réduit de 4rem à 2.5rem */
}

/* Ajustements spécifiques pour chaque section */
#hero {
  padding: 4rem 0 2rem; /* Réduit de 6rem/4rem à 4rem/2rem */
}

#services,
#methodologie,
#results,
#publics,
#testimonials,
#blog,
#contact {
  padding: 2.5rem 0; /* Réduit de 4rem à 2.5rem */
}

/* Réduire l'espacement sur mobile */
@media (max-width: 768px) {
  section {
    padding: 2rem 0;
    scroll-margin-top: 70px;
  }
  
  #hero {
    padding: 3rem 0 2rem;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.logo {
  height: 50px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary-blue);
  transition: var(--transition);
}

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

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

.language-switch {
  background: none;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-left: 1rem;
  transition: var(--transition);
}

.language-switch:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  color: var(--cyan);
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  padding: 100px 5% 80px;
  background: linear-gradient(90deg, rgba(0, 75, 135, 0.95) 0%, rgba(0, 75, 135, 0.8) 50%, rgba(0, 75, 135, 0.4) 100%);
  min-height: 95vh;
  margin-top: calc(-1 * var(--header-height));
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-columns {
  display: flex;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  flex: 1;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.2s forwards;
}

.hero-button-container {
  text-align: center;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.4s forwards;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: 50%;
  width: 50%;
  height: 95%;
  background: url('../images/banniere-hero3.png') right bottom/contain no-repeat;
  background-size: 90% auto;
  z-index: 0;
  opacity: 1;
  background-position: right center;
  pointer-events: none;
  transform: translateY(-50%);
  background-origin: content-box;
  padding: 0 0 20px 0;
}

.hero-logo-container {
  flex-shrink: 0;
  width: 300px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.3s forwards, float 3s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-content {
  flex: 1;
  padding: 2.5rem;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: transform, opacity;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  margin-right: 2rem;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  opacity: 0.9;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 15px 30px;
    min-height: auto;
    flex-direction: column;
    text-align: center;
  }
  
  .hero::before {
    position: relative;
    left: 0;
    width: 100%;
    height: 60vh;
    background: url('../images/banniere-hero3.png') center bottom/contain no-repeat;
    background-size: contain;
    margin: 2rem 0 0;
    transform: none;
    top: auto;
    right: auto;
    padding: 0;
  }
  
  .hero-columns {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text {
    width: 100%;
    margin: 0;
  }
  
  .hero-logo-container {
    width: 200px;
    margin: 0 auto;
  }
  
  .hero-content {
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 100px 20px 0;
    min-height: 70vh;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(rgba(0, 75, 135, 0.95), rgba(0, 75, 135, 0.8));
    align-items: center;
  }
  
  .hero::before {
    position: relative;
    left: 0;
    width: 100%;
    height: 60vh;
    background-size: contain;
    background-position: center bottom;
    margin: 0;
    opacity: 1;
    transform: none;
  }
  
  .hero-content {
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTIONS ===== */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  color: var(--heading-color);
  position: relative;
  display: inline-block;
  width: 100%;
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Methodology Section */
.methodology {
  background: var(--gray);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--cyan);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 0;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  padding-right: 50px;
  left: 0;
}

.timeline-item:nth-child(even) {
  padding-left: 50px;
  left: 50%;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-step {
  background: var(--primary-blue);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  top: 20px;
  right: -30px;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--gray);
}

.timeline-item:nth-child(even) .timeline-step {
  left: -30px;
  right: auto;
}

/* Testimonials Section */
.testimonials {
  background: var(--gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--cyan);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-rating {
  color: #FFD700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--cyan);
  opacity: 0.3;
  position: absolute;
  line-height: 1;
}

.testimonial-text::before {
  top: -15px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -30px;
  right: -10px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1.5rem;
  display: block;
}

/* Blog Section */
.blog {
  background-color: #f8f9fa;
  padding: 2rem 0;
}

.blog .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Les styles du titre de section sont maintenant gérés par .section-title */

.blog p.text-center {
  margin-bottom: 2rem;
  color: #4b5563;
}

/* Grille des articles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Carte d'article */
.blog-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e5e7eb;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image de l'article */
.blog-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

/* Contenu de la carte */
.blog-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Métadonnées (date, temps de lecture) */
.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.blog-meta span:not(:last-child) {
  margin-right: 0.5rem;
}

/* Titre de l'article */
.blog-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
  line-height: 1.4;
}

/* Extrait de l'article */
.blog-excerpt {
  color: #4b5563;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* Lien "Lire l'article" */
.read-more {
  display: inline-flex;
  align-items: center;
  color: #004B87;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.read-more i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.read-more:hover {
  color: #00D4FF;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Bouton "Voir tous les articles" */
.text-center.mt-8 {
  margin-top: 2rem;
}

.text-center.mt-8 a {
  display: inline-block;
  background-color: #004B87;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.text-center.mt-8 a:hover {
  background-color: #003366;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog {
    padding: 1.75rem 0;
  }
  
  .blog .section-title {
    font-size: 1.75rem;
  }
  
  .blog-grid {
    gap: 1rem;
  }
  
  .blog-image {
    height: 150px;
  }
  
  .blog-content {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .blog {
    padding: 1.5rem 0;
  }
  
  .blog .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .blog p.text-center {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .blog-image {
    height: 140px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .blog-excerpt {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .text-center.mt-8 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .blog {
    padding: 1.25rem 0;
  }
  
  .blog .section-title {
    font-size: 1.375rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .blog-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  
  .blog-image {
    height: 180px;
  }
  
  .text-center.mt-8 {
    margin-top: 1.25rem;
  }
}

/* Contact Section */
.contact {
  background: var(--gray);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background: var(--primary-blue);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--cyan);
  transform: translateY(-5px);
}

.contact-text h4 {
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.contact-text a {
  color: var(--black);
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-blue);
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

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

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 1000;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
}

.whatsapp-button:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-about p {
  margin-bottom: 1.5rem;
  color: #bbb;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--cyan);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-links h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--cyan);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul a {
  color: #bbb;
  transition: var(--transition);
  display: inline-block;
  padding: 0.3rem 0;
}

.footer-links ul a:hover {
  color: var(--cyan);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 0 1.2rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

/* Results Section */
.results {
  background-color: #f9f9f9;
  padding: 5rem 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.result-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.result-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  line-height: 1;
}

.result-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.result-card p {
  color: #666;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Audience Section */
.audience {
  padding: 5rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.audience-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.audience-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: #e6f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.audience-card:hover .audience-icon {
  background: var(--primary-blue);
  color: white;
  transform: rotateY(180deg);
}

.audience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.audience-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .audience-card {
    padding: 2rem 1rem;
  }
}

/* Audience Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

audience-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

audience-card:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-10px);
}

audience-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--cyan);
  transition: var(--transition);
}

audience-card:hover .audience-icon {
  color: var(--white);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 70px;
  }
  
  .timeline-step {
    left: 0;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-step {
    left: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-button,
  .submit-button {
    width: 100%;
    text-align: center;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-step {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links h3,
  .footer-newsletter h3 {
    text-align: center;
  }
  
  .footer-links h3::after,
  .footer-newsletter h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
  }
  
  .newsletter-form button {
    margin-top: 0.5rem;
    padding: 0.8rem;
  }
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  padding: 200px 0 150px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../images/banniere-hero2.png') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: transform, opacity;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
  backface-visibility: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Buttons */
.cta-button, .submit-button {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  will-change: transform;
}

.cta-button:hover, .submit-button:hover {
  background: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cards */
.service-card, .audience-card, .testimonial-card, .blog-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  will-change: transform;
}

.service-card:hover, .audience-card:hover, .testimonial-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.services-grid, .audience-grid, .testimonials-grid, .blog-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

/* Style pour les cartes de service dans la page d'introduction */
.service-intro .service-card {
  min-width: 0;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-intro .service-card h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-intro .service-card h2 i {
  font-size: 1rem;
  color: var(--primary-color);
}

.service-intro .service-card p {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  flex-grow: 1;
  line-height: 1.4;
}

.service-intro .service-card .btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.services-grid {
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Liens de service */
.services-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
}

.service-link:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: var(--primary-color);
}

.service-link i:first-child {
  margin-right: 1rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  width: 24px;
  text-align: center;
}

.service-link span {
  flex-grow: 1;
  font-weight: 500;
}

.service-link i:last-child {
  margin-left: 1rem;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.service-link:hover i:last-child {
  transform: translateX(3px);
}

.audience-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.2);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #eee;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #e6f2ff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230056b3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-size: 40px;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-card p::before,
.testimonial-card p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p::before {
  top: -15px;
  left: -5px;
}

.testimonial-card p::after {
  bottom: -25px;
  right: -5px;
}

.testimonial-card strong {
  display: block;
  color: #2c3e50;
  font-weight: 600;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 992px) {
  html { font-size: 15px; }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .services-grid,
  .audience-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.3;
  }
  
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    font-weight: normal;
  }
}

/* Blog Section */
.blog {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e5e7eb;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.blog-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.blog-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  gap: 1rem;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-stats {
  display: flex;
  gap: 1rem;
  color: #888;
  font-size: 0.8rem;
}

.blog-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-stats span:before {
  content: '•';
  color: #ccc;
  margin-right: 0.3rem;
}

.blog-stats span:first-child:before {
  display: none;
}

.blog-title {
  font-size: 1.1rem;
  margin: 0.75rem 0;
  color: #111827;
  line-height: 1.4;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.blog-excerpt {
  color: #4b5563;
  margin: 0.5rem 0 1.25rem;
  flex-grow: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.read-more:hover {
  color: #2563eb;
  text-decoration: underline;
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.read-more:hover {
  color: #003366;
}

.read-more:hover i {
  transform: translateX(5px);
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

.cta-button {
  display: inline-block;
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog {
    padding: 3rem 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .blog-stats span:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .blog-title {
    font-size: 1.3rem;
  }
}
