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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 80px; /* Pour le header fixe */
}

/* Variables CSS pour les couleurs principales */
:root {
  /* Couleurs principales */
  --primary-blue: #354c70;
  --primary-coral: #e66c6c;
  --primary-coral-hover: #d55c5c;
  --overlay-blue: rgba(26, 42, 69, 0.25);
  --footer-bg: #364159;

  /* Couleurs secondaires */
  --secondary-beige: #e9b8a1;
  --secondary-purple: #7d6789;
  --secondary-coral-light: #e57373;
  --secondary-coral-dark: #d32f2f;

  /* Couleurs de texte */
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --text-light: #555;
  --text-accent: #444;

  /* Couleurs de fond */
  --bg-white: #fff;
  --bg-light: #f5f5f5;
  --bg-gray: #f0f0f0;
  --bg-gray-light: #f8f8f8;
  --bg-gray-dark: #f9f9f9;

  /* Couleurs des bordures */
  --border-light: #eee;
  --border-gray: #ddd;
  --border-gray-dark: #d9d9d9;

  /* Couleurs des réseaux sociaux */
  --social-facebook: #3b5998;
  --social-twitter: #1da1f2;
  --social-linkedin: #0077b5;

  /* Espacement */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;

  /* Ombres */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* Animations */
  --transition-speed: 0.3s;
  --transition-fast: 0.2s;
  --transition-slow: 0.4s;

  /* Menu mobile */
  --menu-overlay-bg: rgba(0, 0, 0, 0.7);
  --menu-item-delay: 0.1s;
  --menu-bg: rgba(255, 255, 255, 0.98);
}
/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Variables CSS pour les couleurs principales */
:root {
  /* Couleurs principales */
  --primary-blue: #354c70;
  --primary-coral: #e66c6c;
  --primary-coral-hover: #d55c5c;
  --overlay-blue: rgba(26, 42, 69, 0.25);
  --footer-bg: #364159;

  /* Couleurs secondaires */
  --secondary-beige: #e9b8a1;
  --secondary-purple: #7d6789;
  --secondary-coral-light: #e57373;
  --secondary-coral-dark: #d32f2f;

  /* Couleurs de texte */
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --text-light: #555;
  --text-accent: #444;

  /* Couleurs de fond */
  --bg-white: #fff;
  --bg-light: #f5f5f5;
  --bg-gray: #f0f0f0;
  --bg-gray-light: #f8f8f8;
  --bg-gray-dark: #f9f9f9;

  /* Couleurs des bordures */
  --border-light: #eee;
  --border-gray: #ddd;
  --border-gray-dark: #d9d9d9;

  /* Couleurs des réseaux sociaux */
  --social-facebook: #3b5998;
  --social-twitter: #1da1f2;
  --social-linkedin: #0077b5;

  /* Espacement */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;

  /* Ombres */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* Animations */
  --transition-speed: 0.3s;
  --transition-fast: 0.2s;
  --transition-slow: 0.4s;

  /* Menu mobile */
  --menu-overlay-bg: rgba(0, 0, 0, 0.7);
  --menu-item-delay: 0.1s;
  --menu-bg: rgba(255, 255, 255, 0.98);
}

/* Header styles - navigation sticky */
header {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 95;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: white;
  position: relative;
  z-index: 15;
  transition: padding var(--transition-speed) ease;
}

/* Réduction de taille au scroll */
header.scrolled .header-container {
  padding: 12px 50px;
}

header.scrolled .logo h1 {
  font-size: 20px;
}

header.scrolled .logo p {
  font-size: 12px;
}

/* Logo styles */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-speed) ease;
}

.logo h1 {
  color: var(--primary-blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  transition: font-size var(--transition-speed) ease;
}

.logo p {
  color: var(--primary-blue);
  font-size: 14px;
  transition: font-size var(--transition-speed) ease;
}

/* Navigation styles */
.main-nav {
  display: flex;
  align-items: center;
  height: 40px;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0 20px 0 0;
  padding: 0;
  height: 100%;
}

.nav-links li {
  margin: 0 15px;
  height: 100%;
}

.nav-links a {
  display: inline-block;
  line-height: 40px;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-speed);
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--primary-coral);
}

/* Nav wrapper pour desktop */
.nav-wrapper {
  display: flex;
  align-items: center;
}

/* Overlay pour le menu mobile */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--menu-overlay-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed),
    visibility var(--transition-speed);
  z-index: 85;
}

.body-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger Menu Styles - masqué par défaut */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-speed);
}

.mobile-nav-toggle:hover {
  background-color: rgba(53, 76, 112, 0.1);
}

/* Icône X pour la fermeture du menu */
.mobile-nav-toggle.active {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 102;
  box-shadow: var(--shadow-sm);
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-icon::before {
  content: "";
  top: -9px;
  left: 0;
}

.hamburger-icon::after {
  content: "";
  top: 9px;
  left: 0;
}

.mobile-nav-toggle.active .hamburger-icon {
  background-color: transparent;
}

.mobile-nav-toggle.active .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--primary-blue);
}

.mobile-nav-toggle.active .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--primary-blue);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-coral);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  height: 40px;
  line-height: 40px;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-coral-hover);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 0;
}

.btn-primary:hover {
  background-color: var(--primary-coral);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

/* Hero section styles */
.hero-section {
  background-image: url("/image/backgroundHeader.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero-creche {
  background-image: url("/image/img_3_page_pourQuipourQuoi.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/* Overlay pour meilleure lisibilité du texte */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-blue);
  z-index: 1;
}

.hero-section h1,
.hero-section h3,
.hero-section button {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 50px;
  margin-bottom: 20px;
  max-width: 80%;
}

.hero-section h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 40px;
  max-width: 60%;
}

/* Footer styles */
.site-footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 50px 0 30px;
}

.site-footer .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-column {
  width: 30%;
  padding: 0 15px;
}

.footer-column:first-child {
  padding-left: 0;
}

.footer-column:nth-child(2) {
  text-align: center;
}

.footer-column:last-child {
  padding-right: 0;
  text-align: right;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  padding: 8px;
  margin-right: 15px;
}

.logo-text h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.logo-text p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--social-facebook);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

.footer-column h5 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

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

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-speed);
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--primary-coral);
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

/* Responsive Design - Breakpoints Bootstrap */
@media (max-width: 1199.98px) {
  .header-container {
    padding: 15px 30px;
  }

  header.scrolled .header-container {
    padding: 8px 30px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .logo p {
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .header-container {
    padding: 15px 25px;
  }

  header.scrolled .header-container {
    padding: 8px 25px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo p {
    font-size: 12px;
  }

  .site-footer {
    padding: var(--spacing-xl) 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-column {
    margin-bottom: var(--spacing-lg);
    width: 100%;
  }

  .footer-column h5 {
    margin-bottom: var(--spacing-sm);
  }

  .footer-column p {
    margin-bottom: var(--spacing-xs);
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .logo-image {
    margin-right: var(--spacing-sm);
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .footer-nav li {
    margin-bottom: var(--spacing-xs);
  }

  .footer-copyright {
    margin-top: var(--spacing-lg);
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .header-container {
    padding: var(--spacing-sm) var(--spacing-lg);
    justify-content: space-between;
    align-items: center;
  }

  header.scrolled .header-container {
    padding: var(--spacing-xs) var(--spacing-lg);
  }

  .logo {
    align-items: flex-start;
    text-align: left;
  }

  header.scrolled .logo h1 {
    font-size: 18px;
  }

  header.scrolled .logo p {
    font-size: 10px;
  }

  .main-nav {
    position: relative;
  }

  /* Afficher le menu burger seulement sur mobile */
  .mobile-nav-toggle {
    display: block;
  }

  /* Transformer la navigation en menu mobile */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--menu-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: right var(--transition-slow)
      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-links li,
  .btn-primary {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .nav-wrapper.active .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-wrapper.active .nav-links li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-wrapper.active .nav-links li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-wrapper.active .nav-links li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-wrapper.active .nav-links li:nth-child(5) {
    animation-delay: 0.5s;
  }

  .nav-wrapper.active .btn-primary {
    animation-delay: 0.6s;
  }

  .nav-wrapper.active .nav-links li,
  .nav-wrapper.active .btn-primary {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    height: auto;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    margin: 0;
    height: auto;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid rgba(53, 76, 112, 0.1);
    line-height: normal;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
  }

  .nav-links a:hover {
    background-color: rgba(53, 76, 112, 0.05);
    color: var(--primary-coral);
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-coral);
    transition: width var(--transition-speed), left var(--transition-speed);
  }

  .nav-links a:hover::after {
    width: 80%;
    left: 10%;
  }

  .nav-links a[aria-current="page"] {
    color: var(--primary-coral);
  }

  .nav-links a[aria-current="page"]::after {
    width: 80%;
    left: 10%;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 16px;
    font-weight: 600;
    min-width: unset;
    height: 50px;
    line-height: 1;
    border-radius: var(--border-radius-md);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
  }

  .hero-section .btn-primary {
    font-size: 14px;
    max-width: 280px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
  }

  .site-footer {
    padding: var(--spacing-lg) 0;
  }

  .footer-content {
    gap: var(--spacing-md);
  }

  .footer-column {
    margin-bottom: var(--spacing-md);
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-logo {
    flex-direction: column;
    align-items: center;
  }

  .footer-column h5 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
  }

  .footer-column p {
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
  }

  .footer-nav {
    gap: var(--spacing-xs);
  }

  .footer-nav li {
    margin-bottom: var(--spacing-xs);
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: var(--spacing-sm);
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo p {
    font-size: 12px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .hamburger-icon,
  .hamburger-icon::before,
  .hamburger-icon::after {
    width: 24px;
    height: 2px;
  }

  .hamburger-icon::before {
    top: -8px;
  }

  .hamburger-icon::after {
    top: 8px;
  }

  .nav-wrapper {
    width: 280px;
    padding: 70px var(--spacing-sm) var(--spacing-sm);
  }

  .nav-links a {
    font-size: 16px;
    padding: var(--spacing-sm) 0;
  }

  .btn-primary {
    height: 45px;
    font-size: 14px;
  }

  .site-footer {
    padding: 25px 0 15px;
  }

  .footer-content {
    margin-bottom: 10px;
  }

  .footer-column {
    margin-bottom: 15px;
  }

  .footer-logo {
    flex-direction: column;
  }

  .logo-image {
    margin-right: 0;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
  }
}

.presentation-section {
  background-color: var(--secondary-beige);
  padding: var(--spacing-xxl) var(--spacing-lg);
  margin: 0;
  max-width: 100%;
  width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.profile-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-hover);
  margin: 0;
}

.profile-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.profile-content {
  padding-left: 40px;
}

/* Ajustement pour une meilleure harmonie */
.presentation-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.presentation-section .col-md-5 {
  padding-left: 0;
}

.presentation-section .col-lg-8 {
  padding-left: 30px;
}

h2 {
  color: var(--text-accent);
  font-size: 2.2rem;
  margin-bottom: var(--spacing-xs);
}

.qualifications-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: var(--spacing-sm);
  margin-left: 15px;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.qualifications-list li {
  padding: var(--spacing-xs) 0;
  display: flex;
  align-items: center;
}

.qualifications-list li::before {
  content: "•";
  color: var(--text-primary);
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  font-size: 1.2em;
}

.quote-box {
  background-color: var(--secondary-purple);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-lg);
  box-shadow: var(--shadow);
  font-style: italic;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.quote-box p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-btn {
  background-color: var(--secondary-coral-light);
  border: none;
  padding: 0.75rem var(--spacing-lg);
  margin-top: var(--spacing-lg);
  color: white;
  font-weight: bold;
  border-radius: var(--border-radius-sm);
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.contact-btn:hover {
  background-color: var(--secondary-coral-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Styles pour le header */
header.bg-primary {
  background-color: var(--secondary-purple);
  box-shadow: var(--shadow-sm);
}

header .display-4 {
  font-weight: 600;
  font-size: 2.5rem;
}

header .lead {
  font-size: 1.2rem;
}

header nav .list-inline-item {
  margin-right: var(--spacing-sm);
}

header nav a {
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  padding: var(--spacing-xs);
}

header nav a:hover {
  color: var(--primary-coral);
  text-decoration: underline;
}

/* Section bienvenue */
.py-5.bg-light {
  background-color: var(--bg-light);
  padding: var(--spacing-xl) 0;
}

/* Container full width */
.container-full {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

/* Ajustements responsives */
@media (max-width: 992px) {
  .profile-box {
    flex-direction: column;
  }

  .profile-content {
    padding-left: 0;
    margin-top: 30px;
  }
}

/* Footer ajustements */
footer {
  margin-top: 3rem;
}

.question-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 20px;
}

.question-page a {
  text-decoration: none;
}

#titlequestion {
  font-size: 38px;
  color: #354c70;
}

.question {
  background-color: rgba(235, 172, 138, 0.8);
  color: #1e1e1e;
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  min-height: 333px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
details {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background: rgba(235, 172, 138, 0.1);
  border-left: 4px solid #ebac8a;
  border-radius: 8px;
  line-height: 1.5;
}
details p {
  margin: 0.75em 0;
  font-size: 1rem;
  color: #333;
}
details > summary {
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 0.5em 0;
  list-style: none;
}
details > summary::before {
  content: ">";
  display: inline-block;
  margin-right: 0.5em;
  transition: transform 0.2s ease;
}
details[open] > summary::before {
  content: "▼";
}
details details {
  margin-left: 1.5em;
  background: rgba(235, 172, 138, 0.05);
  border-left: 3px solid #d9d9d9;
}
details > summary + * {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
details[open] > summary + * {
  opacity: 1;
  max-height: 100vh;
}

.card-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}

.cards {
  width: 298px;
  height: 393px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
}

.cards p {
  z-index: 1;
}

.cards img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  z-index: 0;
  position: absolute;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: #d9d9d9;
  /* Couleur et opacité de l'overlay */
  opacity: 0.5;
  /* Opacité de l'overlay */
  z-index: 1;
  border-radius: 8px;
}

.creches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

@media (min-width: 1440px) {
  .card-container {
    justify-content: space-around;
  }

  .question {
    width: 60%;
  }

  .open {
    font-size: 1.8rem;
  }

  summary {
    font-size: 1.4rem;
  }

  #titlequestion {
    font-size: 50px;
    color: #354c70;
  }
}

/* Styles pour le blog */
.blog-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.blog-main-title,
.page-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

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

.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed),
    box-shadow var(--transition-speed);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.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);
}

.placeholder-image {
  background-color: #f0f0f0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: #666;
}

.category-name {
  background-color: var(--primary-coral);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  display: inline-block;
}

.blog-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary-dark-blue);
  font-weight: 600;
}

.blog-excerpt {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.blog-read-more {
  display: flex;
  align-items: center;
  color: var(--primary-coral);
  font-weight: 500;
}

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

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

.blog-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.pagination-custom {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.5rem;
}

.pagination-custom li {
  margin: 0 0.2rem;
}

.pagination-custom a,
.pagination-custom span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--primary-dark-blue);
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
}

.pagination-custom a:hover {
  background-color: var(--primary-coral);
  color: white;
  border-color: var(--primary-coral);
  transform: translateY(-1px);
}

.pagination-custom li.active span {
  background-color: var(--primary-dark-blue);
  color: white;
  border-color: var(--primary-dark-blue);
  font-weight: 600;
}

.pagination-custom li.disabled span {
  color: #999;
  cursor: not-allowed;
  background-color: #e9e9e9;
}

.blog-alert {
  text-align: center;
  padding: 2rem;
  background-color: #f8f8f8;
  border-radius: 8px;
  color: #666;
}

/* Article individuel */
.blog-article-single {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2.2rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #666;
}

.date-badge,
.category-badge,
.update-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 0.85rem;
}

.date-badge i,
.category-badge i,
.update-badge i {
  margin-right: 0.4rem;
}

.category-badge {
  background-color: var(--primary-coral);
  color: white;
}

.blog-featured-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.blog-content-full {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
}

.blog-content-full p {
  margin-bottom: 1.5rem;
}

.blog-content-full h2,
.blog-content-full h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark-blue);
}

.blog-content-full ul,
.blog-content-full ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content-full img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 5px;
}

.blog-share {
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.blog-share h5 {
  margin-bottom: 1rem;
  color: var(--primary-dark-blue);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-buttons .social-link {
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 500;
  min-width: 120px;
  justify-content: center;
}

.share-buttons .social-link i {
  margin-right: 0.6rem;
  font-size: 1.1rem;
}

.share-buttons .social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

.facebook-link {
  background-color: var(--social-facebook);
}

.twitter-link {
  background-color: var(--social-twitter);
}

.linkedin-link {
  background-color: var(--social-linkedin);
}

.blog-author {
  background-color: var(--bg-gray-dark);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-xl);
}

.blog-author h5 {
  margin-bottom: 1rem;
  color: var(--primary-dark-blue);
}

.author-box {
  display: flex;
  align-items: center;
}

.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
}

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

.author-info h6 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark-blue);
}

.author-info p {
  color: #666;
  margin-bottom: 0.8rem;
}

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

.author-info .social-links .social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.author-info .social-links .social-link i {
  font-size: 1.2rem;
  color: white;
}

.author-info .social-links .social-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-info .social-links .social-link[aria-label="Facebook"] {
  background-color: var(--social-facebook);
}

.author-info .social-links .social-link[aria-label="LinkedIn"] {
  background-color: var(--social-linkedin);
}

.related-posts {
  margin-bottom: 2rem;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-dark-blue);
  text-align: center;
}

.blog-back-button {
  display: flex;
  justify-content: center;
}

/* Blog responsive */
@media (max-width: 992px) {
  .article-title {
    font-size: 1.8rem;
  }

  .blog-content-full {
    font-size: 1rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-image img {
    max-height: 300px;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .date-badge,
  .category-badge,
  .update-badge {
    width: fit-content;
  }
}

@media (max-width: 576px) {
  .blog-article-single {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-buttons .social-link {
    min-width: 200px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .author-info .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* Modal improvements */
.modal {
  z-index: 1055;
}

.modal-backdrop {
  z-index: 1050;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: none;
}

/* Ensure modal closes properly */
.modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}

/* Admin link styling in modals */
.modal-body .btn {
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.modal-body .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ===== HEADER STYLES ===== */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
  padding: 1rem 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  transition: padding var(--transition-speed) ease;
}

/* Réduction de taille au scroll */
header.scrolled .header-container {
  padding: 0.5rem 2rem;
}

header.scrolled .logo h1 {
  font-size: 1.8rem;
}

header.scrolled .logo p {
  font-size: 0.9rem;
}

/* Logo styles */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-speed) ease;
}

.logo h1 {
  color: var(--primary-blue);
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  font-family: 'Arial', sans-serif;
  transition: font-size var(--transition-speed) ease;
}

.logo p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  font-family: 'Arial', sans-serif;
  transition: font-size var(--transition-speed) ease;
}

/* Navigation styles */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-speed) ease;
  font-family: 'Arial', sans-serif;
}

.nav-links a:hover {
  color: var(--primary-coral);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-coral);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: 'Arial', sans-serif;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-coral-hover);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 0;
}

.btn-primary:hover {
  background-color: var(--primary-coral);
  transform: translateY(-1px);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

/* Mobile navigation */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-speed);
}

.mobile-nav-toggle:hover {
  background-color: rgba(53, 76, 112, 0.1);
}

/* Icône X pour la fermeture du menu */
.mobile-nav-toggle.active {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 102;
  box-shadow: var(--shadow-sm);
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-icon::before {
  content: "";
  top: -9px;
  left: 0;
}

.hamburger-icon::after {
  content: "";
  top: 9px;
  left: 0;
}

.mobile-nav-toggle.active .hamburger-icon {
  background-color: transparent;
}

.mobile-nav-toggle.active .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--primary-blue);
}

.mobile-nav-toggle.active .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--primary-blue);
}

/* Overlay pour le menu mobile */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--menu-overlay-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed),
    visibility var(--transition-speed);
  z-index: 85;
}

.body-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Nav wrapper pour desktop */
.nav-wrapper {
  display: flex;
  align-items: center;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background-image: url("/image/backgroundHeader.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-creche {
  background-image: url("/image/img_3_page_pourQuipourQuoi.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Overlay pour meilleure lisibilité du texte */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-blue);
  z-index: 1;
}

.hero-section h1,
.hero-section h3,
.hero-section button {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 50px;
  margin-bottom: 20px;
  max-width: 80%;
}

.hero-section h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 40px;
  max-width: 60%;
}

/* ===== PRESENTATION SECTION ===== */
.presentation-section {
  background-color: var(--secondary-beige);
  padding: var(--spacing-xxl) var(--spacing-lg);
  margin: 0;
  max-width: 100%;
  width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.profile-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-hover);
  margin: 0;
}

.profile-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.profile-content {
  padding-left: 40px;
}

/* Ajustement pour une meilleure harmonie */
.presentation-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.presentation-section .col-md-5 {
  padding-left: 0;
}

.presentation-section .col-lg-8 {
  padding-left: 30px;
}

h2 {
  color: var(--text-accent);
  font-size: 2.2rem;
  margin-bottom: var(--spacing-xs);
}

.qualifications-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: var(--spacing-sm);
  margin-left: 15px;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.qualifications-list li {
  padding: var(--spacing-xs) 0;
  display: flex;
  align-items: center;
}

.qualifications-list li::before {
  content: "•";
  color: var(--text-primary);
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  font-size: 1.2em;
}

.quote-box {
  background-color: var(--secondary-purple);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-lg);
  box-shadow: var(--shadow);
  font-style: italic;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.quote-box p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-btn {
  background-color: var(--secondary-coral-light);
  border: none;
  padding: 0.75rem var(--spacing-lg);
  margin-top: var(--spacing-lg);
  color: white;
  font-weight: bold;
  border-radius: var(--border-radius-sm);
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.contact-btn:hover {
  background-color: var(--secondary-coral-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 4rem 0;
  background-color: #fff;
}

.services-category {
  color: #d05959;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  display: block;
  width: 100%;
  position: relative;
}

.service-card {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: auto;
  margin-bottom: 20px;
  background-color: #fff;
}

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

.service-card .card-img-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.service-card .card-body {
  padding: 25px;
}

.service-card .card-title {
  color: #444;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card .card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.voir-plus {
  border: 2px solid #d05959;
  color: #d05959;
  padding: 0.5rem 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.voir-plus:hover {
  background-color: #d05959;
  color: white;
  border-color: #d05959;
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.blog-main-title,
.blog-category-title {
  margin-bottom: 2rem;
  color: var(--primary-blue);
  text-align: center;
}

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

.blog-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.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);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.blog-excerpt {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 50px 0 30px;
  margin-top: 3rem;
}

.site-footer .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-column {
  width: 30%;
  padding: 0 15px;
}

.footer-column:first-child {
  padding-left: 0;
}

.footer-column:nth-child(2) {
  text-align: center;
}

.footer-column:last-child {
  padding-right: 0;
  text-align: right;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  padding: 8px;
  margin-right: 15px;
}

.logo-text h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.logo-text p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--social-facebook);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

.footer-column h5 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

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

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-speed);
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--primary-coral);
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
  .header-container {
    padding: 0 1.5rem;
  }

  header.scrolled .header-container {
    padding: 0.5rem 1.5rem;
  }

  .logo h1 {
    font-size: 1.8rem;
  }

  .logo p {
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .header-container {
    padding: 0 1.25rem;
  }

  header.scrolled .header-container {
    padding: 0.5rem 1.25rem;
  }

  .logo h1 {
    font-size: 1.6rem;
  }

  .logo p {
    font-size: 0.8rem;
  }

  .profile-box {
    flex-direction: column;
  }

  .profile-content {
    padding-left: 0;
    margin-top: 30px;
  }

  .site-footer {
    padding: var(--spacing-xl) 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-column {
    margin-bottom: var(--spacing-lg);
    width: 100%;
  }

  .footer-column h5 {
    margin-bottom: var(--spacing-sm);
  }

  .footer-column p {
    margin-bottom: var(--spacing-xs);
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .logo-image {
    margin-right: var(--spacing-sm);
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .footer-nav li {
    margin-bottom: var(--spacing-xs);
  }

  .footer-copyright {
    margin-top: var(--spacing-lg);
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .header-container {
    padding: 0 1rem;
    justify-content: space-between;
    align-items: center;
  }

  header.scrolled .header-container {
    padding: 0.5rem 1rem;
  }

  .logo {
    align-items: flex-start;
    text-align: left;
  }

  header.scrolled .logo h1 {
    font-size: 1.4rem;
  }

  header.scrolled .logo p {
    font-size: 0.7rem;
  }

  .main-nav {
    position: relative;
  }

  /* Afficher le menu burger seulement sur mobile */
  .mobile-nav-toggle {
    display: block;
  }

  /* Transformer la navigation en menu mobile */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--menu-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: right var(--transition-slow)
      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-links li,
  .btn-primary {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .nav-wrapper.active .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-wrapper.active .nav-links li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-wrapper.active .nav-links li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-wrapper.active .nav-links li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-wrapper.active .nav-links li:nth-child(5) {
    animation-delay: 0.5s;
  }

  .nav-wrapper.active .btn-primary {
    animation-delay: 0.6s;
  }

  .nav-wrapper.active .nav-links li,
  .nav-wrapper.active .btn-primary {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    height: auto;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    margin: 0;
    height: auto;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid rgba(53, 76, 112, 0.1);
    line-height: normal;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
  }

  .nav-links a:hover {
    background-color: rgba(53, 76, 112, 0.05);
    color: var(--primary-coral);
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-coral);
    transition: width var(--transition-speed), left var(--transition-speed);
  }

  .nav-links a:hover::after {
    width: 80%;
    left: 10%;
  }

  .nav-links a[aria-current="page"] {
    color: var(--primary-coral);
  }

  .nav-links a[aria-current="page"]::after {
    width: 80%;
    left: 10%;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 16px;
    font-weight: 600;
    min-width: unset;
    height: 50px;
    line-height: 1;
    border-radius: var(--border-radius-md);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo p {
    font-size: 0.8rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
  }

  .site-footer {
    padding: var(--spacing-lg) 0;
  }

  .footer-content {
    gap: var(--spacing-md);
  }

  .footer-column {
    margin-bottom: var(--spacing-md);
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-logo {
    flex-direction: column;
    align-items: center;
  }

  .footer-column h5 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
  }

  .footer-column p {
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
  }

  .footer-nav {
    gap: var(--spacing-xs);
  }

  .footer-nav li {
    margin-bottom: var(--spacing-xs);
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

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

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .logo p {
    font-size: 0.7rem;
  }

  .site-footer {
    padding: 25px 0 15px;
  }

  .footer-content {
    margin-bottom: 10px;
  }

  .footer-column {
    margin-bottom: 15px;
  }

  .footer-logo {
    flex-direction: column;
  }

  .logo-image {
    margin-right: 0;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
  }

  .presentation-wrapper {
    padding: 2rem 1rem;
  }
}

/* ===== UTILITIES ===== */
.container-full {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

.py-5.bg-light {
  background-color: var(--bg-light) !important;
  padding: 3rem 0 !important;
}

.fixed-height {
  height: auto;
}

.fixed-height .card-img-top {
  height: 250px;
  object-fit: cover;
}

.fixed-height .card-body {
  height: auto;
  overflow: visible;
}
