/*
Theme Name: Opération Cartables
Theme URI: https://operationcartables.com
Author: Opération Cartables
Description: Thème WordPress personnalisé pour l'initiative solidaire "Opération Cartables". Design moderne et ludique avec support complet de Gutenberg.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: operation-cartables
Tags: education, solidarity, custom-blocks, block-patterns
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FAFAF9;
  color: #1C1917;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.7s ease;
  padding: 1.5rem 1rem;
}

#masthead > div {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: white;
  border-bottom: 4px solid #E7E5E4;
  border-radius: 2.5rem;
  box-shadow: 0 10px 0 0 rgba(0,0,0,0.05);
  transition: all 0.5s ease;
}

#masthead.scrolled {
  padding: 0.75rem 1rem;
}

#masthead.scrolled > div {
  transform: scale(0.98);
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
}

.site-header .flex {
  display: flex;
}

.site-header .items-center {
  align-items: center;
}

.site-header .gap-3 {
  gap: 0.75rem;
}

.site-header .gap-2 {
  gap: 0.5rem;
}

.site-header .gap-4 {
  gap: 1rem;
}

.site-branding img {
  padding: 0.5rem;
  background: #2563EB;
  border-radius: 1rem;
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.site-branding:hover img {
  transform: rotate(0deg);
}

.site-title {
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  font-size: 1.25rem;
  color: #1E3A8A;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}

.site-title span:last-child {
  color: #F97316;
}

/* Navigation */
nav.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  nav.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

nav.nav-menu li {
  list-style: none;
}

nav.nav-menu a {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 900;
  color: #57534E;
  transition: color 0.3s ease;
  display: block;
}

nav.nav-menu a:hover {
  color: #1E3A8A;
}

nav.nav-menu a span:first-child {
  position: relative;
  z-index: 10;
}

nav.nav-menu a span:last-child {
  position: absolute;
  inset: 0;
  background: #FDE047;
  opacity: 0;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  z-index: 0;
  transform: scale(0.75) rotate(-2deg);
}

nav.nav-menu a:hover span:last-child {
  opacity: 1;
  transform: scale(1) rotate(-2deg);
}

.header-cta {
  background: #F97316;
  color: white;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  box-shadow: 4px 4px 0 0 #c2410c;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-cta:hover {
  background: #ea580c;
}

.header-cta:active {
  box-shadow: none;
  transform: translate(2px, 2px);
}

#mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 2.75rem;
  height: 2.75rem;
  background: #F5F5F4;
  border-radius: 0.75rem;
}

@media (min-width: 1024px) {
  #mobile-menu-toggle {
    display: none;
  }
}

#mobile-menu-toggle span {
  width: 1.25rem;
  height: 0.25rem;
  background: #1E3A8A;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

#mobile-menu {
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  margin-top: 1rem;
  transition: all 0.5s ease;
  transform: translateY(-2.5rem);
  opacity: 0;
  pointer-events: none;
}

#mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

#mobile-menu > div {
  background: white;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border: 4px solid rgba(37, 99, 235, 0.1);
  padding: 2rem;
}

#mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-menu li {
  margin-bottom: 1rem;
}

#mobile-menu a {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #292524;
  padding: 0.5rem;
  border-bottom: 2px dashed #F5F5F4;
  transition: color 0.3s ease;
}

#mobile-menu a:hover {
  color: #F97316;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  padding: 14rem 1.5rem 11rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.6);
  mix-blend-mode: multiply;
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #FAFAF9, transparent, rgba(30, 58, 138, 0.4));
}

.hero-overlay-3 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 138, 0.2), transparent);
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 900;
  color: white;
  line-height: 0.85;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 10rem;
  }
}

.hero-title .highlight {
  color: #FDE047;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: white;
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-weight: 500;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  width: 100%;
  background: #F97316;
  color: white;
  font-size: 1.25rem;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 1.5rem 3rem;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(234, 88, 12, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
}

@media (min-width: 640px) {
  .btn-primary {
    width: auto;
  }
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-4px);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.25rem;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 1.5rem 3rem;
  border-radius: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

@media (min-width: 640px) {
  .btn-secondary {
    width: auto;
  }
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   MANIFESTE SECTION
   ============================================ */

.manifeste-section {
  max-width: 72rem;
  margin: 0 auto -5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 20;
}

.manifeste-card {
  background: white;
  border-radius: 3.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid #F5F5F4;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .manifeste-card {
    grid-template-columns: repeat(12, 1fr);
  }
}

.manifeste-image {
  position: relative;
  height: 16rem;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .manifeste-image {
    height: auto;
    grid-column: span 5;
  }
}

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

.manifeste-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.1);
}

.manifeste-content {
  padding: 2rem;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .manifeste-content {
    padding: 4rem;
    grid-column: span 7;
  }
}

.manifeste-bar {
  width: 5rem;
  height: 0.5rem;
  background: #F97316;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.manifeste-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #1E3A8A;
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .manifeste-title {
    font-size: 3rem;
  }
}

.manifeste-text {
  font-size: 1.25rem;
  color: #57534E;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.manifeste-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: #F97316;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #A8A29E;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   MISSIONS SECTION
   ============================================ */

.missions-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.missions-header {
  text-align: center;
  margin-bottom: 5rem;
}

.missions-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1E3A8A;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: #FDE047;
  text-decoration-thickness: 8px;
  text-underline-offset: 8px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .missions-title {
    font-size: 3.75rem;
  }
}

.missions-subtitle {
  font-size: 1.25rem;
  color: #78716C;
  max-width: 42rem;
  margin: 0 auto;
}

.missions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.mission-card {
  transition: all 0.3s ease;
}

.mission-image {
  position: relative;
  height: 20rem;
  border-radius: 3.125rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.mission-card:hover .mission-image {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transform: translateY(-0.5rem);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s ease;
}

.mission-card:hover .mission-image img {
  filter: grayscale(0%);
}

.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.4);
  transition: background 0.3s ease;
}

.mission-card:hover .mission-overlay {
  background: rgba(30, 58, 138, 0.1);
}

.mission-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

.mission-badge h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1E3A8A;
  margin: 0;
}

.mission-description {
  color: #78716C;
  font-size: 1.125rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.mission-link {
  color: #2563EB;
  font-weight: 900;
  padding: 0 1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.mission-link:hover {
  text-decoration: underline;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  max-width: 80rem;
  margin: 5rem auto 8rem;
  padding: 0 1.5rem;
}

.cta-card {
  background: #2563EB;
  border-radius: 5rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@media (min-width: 768px) {
  .cta-card {
    padding: 6rem;
  }
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url('https://www.transparenttextures.com/patterns/graphy.png');
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 6rem;
  }
}

.cta-subtitle {
  color: #DBEAFE;
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto 3rem;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .cta-subtitle {
    font-size: 1.875rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-yellow {
  width: 100%;
  background: #FDE047;
  color: #1E3A8A;
  font-size: 1.25rem;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 1.5rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

@media (min-width: 640px) {
  .btn-yellow {
    width: auto;
  }
}

.btn-yellow:hover {
  background: #facc15;
  transform: scale(1.05);
}

.btn-yellow:active {
  transform: scale(0.95);
}

.btn-outline {
  width: 100%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 1.25rem;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 1.5rem 3rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}

@media (min-width: 640px) {
  .btn-outline {
    width: auto;
  }
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  position: relative;
  background: #292524;
  padding: 8rem 0 3rem;
  overflow: hidden;
  margin-top: 5rem;
}

.footer-tape {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: #FDE047;
  transform: rotate(-1deg);
  transform-origin: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-tape-content {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-tape span {
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  color: #1E3A8A;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 5;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.footer-logo-icon {
  width: 4rem;
  height: 4rem;
  background: #2563EB;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-icon {
  transform: rotate(0deg);
}

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

.footer-logo-text span:first-child {
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  font-size: 2.25rem;
  color: white;
  letter-spacing: -0.05em;
}

.footer-logo-text span:last-child {
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  font-size: 2.25rem;
  color: #F97316;
  letter-spacing: -0.05em;
}

.footer-description {
  color: #A8A29E;
  font-size: 1.25rem;
  line-height: 1.75;
  max-width: 28rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-stat {
  background: #44403C;
  padding: 1.5rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(120, 113, 108, 0.5);
  flex: 1;
  min-width: 200px;
}

.footer-stat-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.25rem;
}

.footer-stat-label {
  color: #78716C;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-menu {
  grid-column: span 1;
  padding-top: 1rem;
}

@media (min-width: 1024px) {
  .footer-menu {
    grid-column: span 3;
  }
}

.footer-menu-title {
  color: #F97316;
  font-weight: 900;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid rgba(249, 115, 22, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-menu nav a {
  color: #D6D3D1;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu nav a:hover {
  color: white;
  padding-left: 0.5rem;
}

.footer-newsletter {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-newsletter {
    grid-column: span 4;
  }
}

.newsletter-card {
  background: white;
  border-radius: 3rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
  position: relative;
}

.newsletter-card:hover {
  transform: rotate(0deg);
}

.newsletter-holes {
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 2rem 0;
  pointer-events: none;
}

.newsletter-hole {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #F5F5F4;
  box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.1);
}

.newsletter-content {
  padding-left: 1.5rem;
}

.newsletter-title {
  color: #1E3A8A;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.newsletter-subtitle {
  color: #78716C;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  width: 100%;
  background: #FAFAF9;
  border: 2px solid #F5F5F4;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.3s ease;
  font-weight: 700;
  color: #292524;
}

.newsletter-input:focus {
  border-color: #2563EB;
}

.newsletter-input::placeholder {
  color: #D6D3D1;
}

.newsletter-submit {
  width: 100%;
  background: #2563EB;
  color: white;
  font-family: 'Fredoka', cursive;
  font-weight: 900;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.newsletter-submit:hover {
  background: #1d4ed8;
}

.newsletter-submit:active {
  transform: scale(0.95);
}

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2.5rem;
  border-top: 1px solid #44403C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  transition: all 0.3s ease;
  color: white;
}

.social-facebook {
  background: #1877F2;
  box-shadow: 4px 4px 0 0 #0e4ea1;
}

.social-facebook:hover {
  transform: rotate(-6deg) translateY(-4px);
}

.social-facebook:active {
  box-shadow: none;
  transform: translateY(0);
}

.social-instagram {
  background: #E4405F;
  box-shadow: 4px 4px 0 0 #a62d44;
  font-style: italic;
}

.social-instagram:hover {
  transform: rotate(6deg) translateY(-4px);
}

.social-instagram:active {
  box-shadow: none;
  transform: translateY(0);
}

.social-twitter {
  background: white;
  color: #292524;
  box-shadow: 4px 4px 0 0 #d1d1d1;
}

.social-twitter:hover {
  transform: rotate(-3deg) translateY(-4px);
}

.social-twitter:active {
  box-shadow: none;
  transform: translateY(0);
}

.footer-legal {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-legal {
    text-align: right;
  }
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #57534E;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  color: #57534E;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   CONTENT STYLES
   ============================================ */

.site-main {
  background: #FAFAF9;
  padding-bottom: 5rem;
  overflow-x: hidden;
}

article {
  margin-bottom: 4rem;
}

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

.entry-content {
  line-height: 1.75;
  color: #44403C;
}

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

.entry-content h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #1E3A8A;
  margin: 3rem 0 1.5rem;
}

.entry-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1E3A8A;
  margin: 2rem 0 1rem;
}

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

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content img {
  border-radius: 2rem;
  margin: 2rem 0;
}

.entry-content a {
  color: #2563EB;
  font-weight: 700;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #1d4ed8;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .visible-mobile {
    display: none;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* ============================================
   RESPONSIVE MOBILE FIXES
   ============================================ */

.hidden-mobile {
    display: inline-flex;
}

@media (max-width: 1024px) {
    .hidden-mobile {
        display: none !important;
    }
    
    .header-cta {
        display: none !important;
    }
}

/* Amélioration du menu mobile */
#mobile-menu ul li:last-child a {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    color: white;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
    font-weight: 900;
    border-bottom: none;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

#mobile-menu ul li:last-child a:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.4);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem !important;
    }
    
    .manifeste-card {
        grid-template-columns: 1fr !important;
    }
    
    .manifeste-content {
        padding: 2rem !important;
    }
    
    .missions-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cta-title {
        font-size: 2.5rem !important;
    }
    
    .cta-subtitle {
        font-size: 1.125rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive Header */
@media (max-width: 640px) {
    #masthead {
        padding: 1rem 0.5rem;
    }
    
    #masthead > div {
        padding: 0.5rem 1rem;
    }
    
    .site-title {
        font-size: 0.875rem;
    }
    
    .site-branding img {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   MAILCHIMP FORM STYLES
   ============================================ */

/* Styliser le formulaire Mailchimp pour correspondre au thème */
.newsletter-content .mc4wp-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-content .mc4wp-form p {
    margin: 0;
}

.newsletter-content .mc4wp-form input[type="email"] {
    width: 100%;
    background: #FAFAF9;
    border: 2px solid #F5F5F4;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-weight: 700;
    color: #292524;
    font-family: 'Nunito', sans-serif;
}

.newsletter-content .mc4wp-form input[type="email"]:focus {
    border-color: #2563EB;
}

.newsletter-content .mc4wp-form input[type="email"]::placeholder {
    color: #D6D3D1;
}

.newsletter-content .mc4wp-form input[type="submit"],
.newsletter-content .mc4wp-form button[type="submit"] {
    width: 100%;
    background: #2563EB;
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 900;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.newsletter-content .mc4wp-form input[type="submit"]:hover,
.newsletter-content .mc4wp-form button[type="submit"]:hover {
    background: #1d4ed8;
}

.newsletter-content .mc4wp-form input[type="submit"]:active,
.newsletter-content .mc4wp-form button[type="submit"]:active {
    transform: scale(0.95);
}

/* Messages de succès/erreur Mailchimp */
.newsletter-content .mc4wp-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.newsletter-content .mc4wp-success {
    background: #DEF7EC;
    color: #03543F;
    border: 2px solid #84E1BC;
}

.newsletter-content .mc4wp-error {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 2px solid #F98080;
}

/* Masquer les labels par défaut */
.newsletter-content .mc4wp-form label {
    display: none;
}

/* Style pour les champs requis */
.newsletter-content .mc4wp-form .mc4wp-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   ESPACEMENT SECTIONS
   ============================================ */

/* Ajouter un grand espacement entre Manifeste et Missions */
.missions-section {
    margin-top: 8rem !important;
}

/* Sur mobile, réduire l'espacement */
@media (max-width: 768px) {
    .missions-section {
        margin-top: 5rem !important;
    }
}

/* ============================================
   MISSIONS - ARTICLES DYNAMIQUES
   ============================================ */

/* Variations de couleurs pour les overlays des articles */
.mission-overlay-blue {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0.8) 100%);
}

.mission-overlay-orange {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.4) 0%, rgba(249, 115, 22, 0.8) 100%);
}

.mission-overlay-yellow {
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.4) 0%, rgba(234, 179, 8, 0.8) 100%);
}

/* Message si aucun article */
.no-posts-message {
    grid-column: 1 / -1;
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PAGE CONTACT & NEWSLETTER
   ============================================ */

/* Hero des pages */
.page-hero {
    background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
    padding: 8rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-hero {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.page-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Containers */
.contact-container,
.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #F5F5F4;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #6B7280;
    line-height: 1.6;
    margin: 0.25rem 0;
}

.info-hours {
    font-size: 0.875rem;
    font-style: italic;
}

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

.social-icon {
    width: 3rem;
    height: 3rem;
    background: #2563EB;
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(37, 99, 235, 0.3);
}

/* Formulaires */
.contact-form-wrapper,
.form-wrapper {
    background: white;
    border-radius: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-card {
    padding: 3rem;
}

.form-card h2,
.form-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    color: #1F2937;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-intro,
.form-header p {
    color: #6B7280;
    margin-bottom: 2rem;
}

.contact-form,
.newsletter-form,
.fallback-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: #FAFAF9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
    background: white;
}

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

.btn-submit {
    background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Messages */
.contact-message,
.alert {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-message.success,
.alert-success {
    background: #DEF7EC;
    color: #03543F;
    border: 2px solid #84E1BC;
}

.contact-message.error,
.alert-error {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 2px solid #F98080;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 2px solid #F59E0B;
}

.alert-info {
    background: #E0F2FE;
    color: #075985;
    border: 2px solid #7DD3FC;
}

/* Newsletter Page */
.newsletter-form-section {
    max-width: 600px;
    margin: 3rem auto;
}

.form-header {
    padding: 3rem 3rem 1.5rem;
    text-align: center;
}

.mailchimp-form-container,
.fallback-form {
    padding: 0 3rem 3rem;
}

.form-footer {
    padding: 2rem 3rem;
    background: #F9FAFB;
    text-align: center;
}

.privacy-note {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
}

/* Benefits Grid */
.newsletter-benefits {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #1F2937;
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #F5F5F4;
    transition: all 0.3s ease;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid #F5F5F4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #F5F5F4;
    position: relative;
}

.testimonial-quote {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    color: #FDE047;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #1F2937;
    font-weight: 700;
}

.testimonial-author span {
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card,
    .form-header,
    .mailchimp-form-container,
    .fallback-form {
        padding: 2rem;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
}

/* ============================================
   MAILCHIMP - PAGE NEWSLETTER
   ============================================ */

/* Styles spécifiques pour le formulaire Mailchimp dans la page Newsletter */
.newsletter-page .mailchimp-form-container .mc4wp-form,
.newsletter-page .fallback-form form {
    max-width: 100%;
}

.newsletter-page .mc4wp-form p,
.newsletter-page .fallback-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-page .mc4wp-form input[type="email"],
.newsletter-page .fallback-form input[type="email"] {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid #E5E7EB;
    border-radius: 1.5rem;
    background: #FAFAF9;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #1F2937;
    transition: all 0.3s ease;
}

.newsletter-page .mc4wp-form input[type="email"]:focus,
.newsletter-page .fallback-form input[type="email"]:focus {
    outline: none;
    border-color: #F97316;
    background: white;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.newsletter-page .mc4wp-form input[type="email"]::placeholder,
.newsletter-page .fallback-form input[type="email"]::placeholder {
    color: #9CA3AF;
}

.newsletter-page .mc4wp-form input[type="submit"],
.newsletter-page .mc4wp-form button[type="submit"],
.newsletter-page .fallback-form button[type="submit"],
.newsletter-page .btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.newsletter-page .mc4wp-form input[type="submit"]:hover,
.newsletter-page .mc4wp-form button[type="submit"]:hover,
.newsletter-page .fallback-form button[type="submit"]:hover,
.newsletter-page .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.4);
}

.newsletter-page .mc4wp-form input[type="submit"]:active,
.newsletter-page .mc4wp-form button[type="submit"]:active,
.newsletter-page .fallback-form button[type="submit"]:active,
.newsletter-page .btn-submit:active {
    transform: translateY(0);
}

/* Messages Mailchimp dans la page Newsletter */
.newsletter-page .mc4wp-alert {
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.newsletter-page .mc4wp-success {
    background: #DEF7EC;
    color: #03543F;
    border: 2px solid #84E1BC;
}

.newsletter-page .mc4wp-error {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 2px solid #F98080;
}

/* Cacher les labels dans le formulaire newsletter */
.newsletter-page .mc4wp-form label,
.newsletter-page .fallback-form label {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* Style de la carte formulaire */
.newsletter-page .form-wrapper {
    background: white;
    border-radius: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 3px solid #F97316;
}

.newsletter-page .form-header {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    padding: 3rem;
    text-align: center;
    color: white;
}

.newsletter-page .form-header h2 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.newsletter-page .form-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 0;
}

.newsletter-page .mailchimp-form-container,
.newsletter-page .fallback-form {
    padding: 3rem;
    background: white;
}

.newsletter-page .form-footer {
    background: #FFF7ED;
    padding: 2rem 3rem;
    text-align: center;
    border-top: 2px solid #FFEDD5;
}

.newsletter-page .privacy-note {
    font-size: 0.9375rem;
    color: #92400E;
    margin: 0;
    line-height: 1.7;
}

/* Animation du formulaire */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-page .form-wrapper {
    animation: slideInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-page .form-header h2 {
        font-size: 2rem;
    }
    
    .newsletter-page .form-header p {
        font-size: 1rem;
    }
    
    .newsletter-page .mailchimp-form-container,
    .newsletter-page .fallback-form,
    .newsletter-page .form-header,
    .newsletter-page .form-footer {
        padding: 2rem;
    }
}

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

/* Formulaire centré */
.contact-form-centered {
    max-width: 700px;
    margin: 2rem auto;
}

.contact-form-centered .form-card {
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #2563EB;
}

.contact-form-centered .form-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    color: #1F2937;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-form-centered .form-intro {
    color: #6B7280;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-centered {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-form-centered .form-card {
        padding: 2rem;
    }
    
    .contact-form-centered .form-card h2 {
        font-size: 2rem;
    }
}

/* ============================================
   PAGE BLOG - TOUS LES ARTICLES
   ============================================ */

/* Hero Blog */
.blog-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563EB 100%);
}

/* Container */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Stats */
.blog-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #F5F5F4;
}

.stat-number {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: #2563EB;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grille d'articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Carte article */
.blog-card {
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #F5F5F4;
    transition: all 0.3s ease;
}

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

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
}

.blog-card-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #2563EB;
}

.blog-card-excerpt {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563EB;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    gap: 1rem;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.blog-pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    list-style: none;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 1rem;
    background: white;
    color: #2563EB;
    font-weight: 700;
    text-decoration: none;
    border-radius: 1rem;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.blog-pagination .current {
    background: #2563EB;
    color: white;
    border-color: #2563EB;
}

/* Message si aucun article */
.no-articles {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    border-radius: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-articles-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.no-articles h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

.no-articles p {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.btn-create-article {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    border-radius: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-create-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

/* Section CTA */
.blog-cta {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.blog-cta .cta-card {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    border-radius: 3rem;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.blog-cta .cta-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.blog-cta .cta-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.blog-cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-cta .btn-yellow {
    background: #FDE047;
    color: #92400E;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    padding: 1.25rem 2.5rem;
    border-radius: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(253, 224, 71, 0.4);
    transition: all 0.3s ease;
}

.blog-cta .btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(253, 224, 71, 0.5);
}

.blog-cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    padding: 1.25rem 2.5rem;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-cta .btn-outline:hover {
    background: white;
    color: #F97316;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .blog-cta .cta-title {
        font-size: 2rem;
    }
    
    .blog-cta .cta-subtitle {
        font-size: 1.125rem;
    }
    
    .blog-cta .cta-card {
        padding: 3rem 2rem;
    }
    
    .blog-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   CONTACT FORM 7 - STYLES PERSONNALISÉS
   ============================================ */

/* Container du formulaire CF7 */
.contact-page .wpcf7 {
    margin: 0;
}

.contact-page .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Labels */
.contact-page .wpcf7-form label {
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Champs input */
.contact-page .wpcf7-form input[type="text"],
.contact-page .wpcf7-form input[type="email"],
.contact-page .wpcf7-form input[type="tel"],
.contact-page .wpcf7-form input[type="url"],
.contact-page .wpcf7-form input[type="number"],
.contact-page .wpcf7-form input[type="date"],
.contact-page .wpcf7-form select,
.contact-page .wpcf7-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: #FAFAF9;
}

.contact-page .wpcf7-form input:focus,
.contact-page .wpcf7-form select:focus,
.contact-page .wpcf7-form textarea:focus {
    outline: none;
    border-color: #2563EB;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Textarea */
.contact-page .wpcf7-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Bouton submit */
.contact-page .wpcf7-form input[type="submit"],
.contact-page .wpcf7-form button[type="submit"] {
    background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    width: 100%;
}

.contact-page .wpcf7-form input[type="submit"]:hover,
.contact-page .wpcf7-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.contact-page .wpcf7-form input[type="submit"]:active,
.contact-page .wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Messages de validation */
.contact-page .wpcf7-not-valid-tip {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.contact-page .wpcf7-form-control-wrap {
    display: block;
}

/* Messages de réponse */
.contact-page .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
}

.contact-page .wpcf7-mail-sent-ok {
    background: #DEF7EC;
    color: #03543F;
    border: 2px solid #84E1BC;
}

.contact-page .wpcf7-mail-sent-ng,
.contact-page .wpcf7-validation-errors,
.contact-page .wpcf7-acceptance-missing {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 2px solid #F98080;
}

.contact-page .wpcf7-spam-blocked {
    background: #FEF3C7;
    color: #92400E;
    border: 2px solid #F59E0B;
}

/* Spinner de chargement */
.contact-page .wpcf7-spinner {
    margin: 0 0 0 1rem;
}

.contact-page .wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 1rem;
}

/* Checkbox et Radio */
.contact-page .wpcf7-form .wpcf7-list-item {
    margin: 0 0 0.5rem 0;
}

.contact-page .wpcf7-form .wpcf7-list-item-label {
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}

.contact-page .wpcf7-form input[type="checkbox"],
.contact-page .wpcf7-form input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Acceptance (RGPD) */
.contact-page .wpcf7-form .wpcf7-acceptance {
    margin: 1rem 0;
}

.contact-page .wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
}

.contact-page .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 0.25rem;
}

/* Grille pour 2 colonnes */
.contact-page .wpcf7-form .form-row-cf7 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Bouton d'installation plugin */
.btn-install-plugin {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-install-plugin:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page .wpcf7-form .form-row-cf7 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MESSAGES NEWSLETTER FOOTER
   ============================================ */

/* Messages dans le footer */
.newsletter-content .newsletter-message {
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.newsletter-content .newsletter-message.success {
    background: #DEF7EC;
    color: #03543F;
    border: 2px solid #84E1BC;
}

.newsletter-content .newsletter-message.error {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 2px solid #F98080;
}

.newsletter-content .newsletter-message.info {
    background: #E0F2FE;
    color: #075985;
    border: 2px solid #7DD3FC;
}

/* Messages dans la page newsletter */
.newsletter-messages {
    padding: 0 3rem;
}

.newsletter-messages .alert {
    margin-bottom: 0;
}
