/* ===================================================================
   GEOSPACE TOGO - FEUILLE DE STYLE PRINCIPALE
   Charte Graphique Officielle
   Devise : "La Terre est notre demeure, l'Espace est notre avenir"
   =================================================================== */

/* ===================================================================
   1. VARIABLES CSS - COULEURS OFFICIELLES DE LA CHARTE
   =================================================================== */
:root {
  /* Couleurs principales (Charte Graphique) */
  --bleu-profond: #002B5B;      /* Bleu institutionnel - rigueur, fiabilité */
  --vert-orbital: #00C853;       /* Vert durable - innovation, jeunesse */
  --jaune-solaire: #FFD200;      /* Jaune énergie - lumière, optimisme */
  --blanc-lunaire: #FFFFFF;      /* Blanc pur - clarté, exploration */
  
  /* Couleurs secondaires et nuances */
  --gris-fonce: #333333;         /* Texte principal */
  --gris-moyen: #666666;         /* Texte secondaire */
  --gris-clair: #F5F5F5;         /* Arrière-plans clairs */
  --bleu-clair: #E3F2FD;         /* Arrière-plan bleu léger */
  
  /* Polices officielles (Charte Graphique Section XI) */
  --police-titres: 'Poppins', 'Arial Black', sans-serif;
  --police-corps: 'Poppins', 'Arial', sans-serif;
  --police-devise: 'Exo 2', 'Poppins', sans-serif;
  
  /* Espacements réduits */
  --espacement-xs: 0.5rem;
  --espacement-sm: 1rem;
  --espacement-md: 1.5rem;
  --espacement-lg: 1.5rem;
  --espacement-xl: 3.5rem;
  
  /* Ombres */
  --ombre-legere: 0 2px 8px rgba(0, 43, 91, 0.1);
  --ombre-moyenne: 0 4px 16px rgba(0, 43, 91, 0.15);
  --ombre-forte: 0 8px 24px rgba(0, 43, 91, 0.2);
  
  /* Transitions */
  --transition-rapide: 0.2s ease;
  --transition-normale: 0.3s ease;
  --transition-lente: 0.5s ease;
}

/* ===================================================================
   2. RESET ET STYLES DE BASE
   =================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--police-corps);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gris-fonce);
  background-color: var(--blanc-lunaire);
  overflow-x: hidden;
}

/* ===================================================================
   3. TYPOGRAPHIE - SELON CHARTE GRAPHIQUE SECTION XI
   =================================================================== */

/* H1 - Titres principaux : Poppins Bold, Bleu profond */
h1 {
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--bleu-profond);
  line-height: 1.3;
  margin-bottom: var(--espacement-md);
  letter-spacing: 0.05em; /* +5% comme dans la charte */
}

/* H2 - Sous-titres : Montserrat/Poppins Semibold, Vert orbital */
h2 {
  font-family: var(--police-titres);
  font-weight: 600;
  font-size: 2rem;
  color: var(--vert-orbital);
  line-height: 1.4;
  margin-bottom: var(--espacement-sm);
}

/* H3 - Encadrés/Sections : Exo 2 Medium, Bleu profond */
h3 {
  font-family: var(--police-devise);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--bleu-profond);
  line-height: 1.5;
  margin-bottom: var(--espacement-sm);
}

/* H4 - Sous-sections */
h4 {
  font-family: var(--police-corps);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--bleu-profond);
  margin-bottom: var(--espacement-xs);
}

/* Corps de texte : Poppins Regular, Gris foncé */
p {
  font-family: var(--police-corps);
  font-weight: 400;
  font-size: 1rem;
  color: var(--gris-fonce);
  line-height: 1.7;
  margin-bottom: var(--espacement-sm);
}

/* Légendes et devises : Exo 2 Italic, Jaune solaire */
.devise,
.slogan,
.legend {
  font-family: var(--police-devise);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--jaune-solaire);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Liens */
a {
  color: var(--vert-orbital);
  text-decoration: none;
  transition: var(--transition-rapide);
}

a:hover {
  color: var(--bleu-profond);
  text-decoration: underline;
}

/* ===================================================================
   4. COMPOSANTS RÉUTILISABLES
   =================================================================== */

/* Container - Largeur maximale avec marges centrées */
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.btn-container {
    display: flex;
    justify-content: center; /* centre horizontalement */
    margin-top: var(--espacement-md);
}
.see-more-btn {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Section - Espacement vertical réduit */
.section {
  padding: var(--espacement-lg) 0;
}

/* Section avec fond gris */
.bg-grey {
  background-color: var(--gris-clair);
}

/* Section avec fond bleu clair */
.bg-blue-light {
  background-color: var(--bleu-clair);
}

/* Titre de section avec soulignement (style GEOSPACE) */
.section-title {
  text-align: center;
  margin-bottom: var(--espacement-md);
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--bleu-profond);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Soulignement décoratif (ligne sous les titres) */
.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--vert-orbital), var(--jaune-solaire));
  margin: var(--espacement-sm) auto;
  border-radius: 2px;
}

/* Boutons - Style uniforme selon charte */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--police-corps);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blanc-lunaire);
  background: linear-gradient(135deg, var(--vert-orbital), var(--bleu-profond));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normale);
  box-shadow: var(--ombre-legere);
}

.btn:hover {
  background: linear-gradient(135deg, var(--bleu-profond), var(--vert-orbital));
  transform: translateY(-2px);
  box-shadow: var(--ombre-moyenne);
  text-decoration: none;
  color: var(--blanc-lunaire);
}

.btn-primary {
  background: var(--vert-orbital);
}

.btn-primary:hover {
  background: var(--bleu-profond);
}

/* Clearfix pour les floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ===================================================================
   5. old-banner / old-carousel - Section d'accueil
   =================================================================== */
.old-banner {
  position: relative;
  background: linear-gradient(135deg, var(--bleu-profond) 0%, #003d7a 100%);
  padding: var(--espacement-lg) 0;
  overflow: hidden;
  margin-bottom: 0;
}

/* old-carousel Bootstrap personnalisé */
.old-carousel-inner {
  border-radius: 8px;
  overflow: hidden;
}

.old-carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Indicateurs du old-carousel - couleurs de la charte */
.old-carousel-indicators li {
  background-color: var(--vert-orbital);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

.old-carousel-indicators .active {
  background-color: var(--jaune-solaire);
}

/* Contrôles du old-carousel */
.old-carousel-control-prev-icon,
.old-carousel-control-next-icon {
  background-color: var(--vert-orbital);
  border-radius: 50%;
  padding: 15px;
}

/* Image du old-banner */
.old-banner-img {
  flex: 1;
  min-width: 300px;
}

.old-banner-picture-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--ombre-forte);
}

.old-banner-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-lente);
}

.old-banner-picture:hover {
  transform: scale(1.05);
}

/* Informations du old-banner */
.old-banner-info {
  flex: 1;
  min-width: 300px;
  padding: var(--espacement-md);
  color: var(--blanc-lunaire);
}

.old-banner-title h3 {
  font-size: 1.2rem;
  color: var(--jaune-solaire);
  font-weight: 400;
  margin-bottom: var(--espacement-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.old-banner-title h2 {
  font-size: 2.5rem;
  color: var(--blanc-lunaire);
  font-weight: 700;
  margin-bottom: var(--espacement-sm);
}

.old-banner-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--espacement-sm);
}

/* ===================================================================
   6. PUBLICATIONS SPÉCIALES - Section "À découvrir"
   =================================================================== */
.popular-post {
  /* padding: var(--espacement-lg) 0; */
  background-color: var(--blanc-lunaire);
}

.popular-post-link {
  text-decoration: none;
  color: inherit;
}

/* Grille de projets - 3 colonnes sur desktop */
.projects-center {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espacement-md);
  /* margin-top: var(--espacement-md); */
}

/* Carte de projet */
.project {
  position: relative;
  background-color: var(--blanc-lunaire);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ombre-legere);
  transition: var(--transition-normale);
  cursor: pointer;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: var(--ombre-forte);
}

/* Image du projet */
.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-lente);
}

.project:hover .project-img {
  transform: scale(1.1);
}

/* Informations du projet */
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--espacement-sm);
  background: linear-gradient(to top, rgba(0, 43, 91, 0.95), transparent);
  color: var(--blanc-lunaire);
  /* SUPPRIMER transform et transition */
  /* transform: translateY(100%); */
  /* transition: var(--transition-normale); */
}

/* plus besoin de cette partie :
.project:hover .project-info {
  transform: translateY(0);
} */


.project:hover .project-info {
  transform: translateY(0);
}

.project-info h4 {
  font-size: 1.2rem;
  color: var(--blanc-lunaire);
  margin-bottom: 0.3rem;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--jaune-solaire);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================================================================
   7. LISTE DES DOMAINES - Section services
   =================================================================== */
.categori-list {
  /* padding: var(--espacement-lg) 0; */
}

/* Grille de services - 3 colonnes sur desktop */
.services-center {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espacement-md);
  margin-top: var(--espacement-md);
}

/* Carte de service */
.service {
  background-color: var(--blanc-lunaire);
  padding: var(--espacement-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--ombre-legere);
  transition: var(--transition-normale);
  border: 2px solid transparent;
}

.service:hover {
  border-color: var(--vert-orbital);
  transform: translateY(-5px);
  box-shadow: var(--ombre-moyenne);
}

/* Icône de service */
.ser-icon {
  font-size: 3rem;
  color: var(--vert-orbital);
  margin-bottom: var(--espacement-sm);
  transition: var(--transition-normale);
}

.service:hover .ser-icon {
  color: var(--jaune-solaire);
  transform: scale(1.1);
}

.service h4 {
  font-size: 1.3rem;
  color: var(--bleu-profond);
  margin-bottom: var(--espacement-sm);
}

.service .underline {
  width: 60px;
  height: 3px;
}

.service p {
  color: var(--gris-moyen);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===================================================================
   8. BLOG - Section articles
   =================================================================== */
.blog {
  padding: var(--espacement-lg) 0;
  background-color: var(--gris-clair);
}

#blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espacement-md);
  margin-top: var(--espacement-md);
}

/* Carte de blog */
.blog-card {
  background-color: var(--blanc-lunaire);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ombre-legere);
  transition: var(--transition-normale);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* Image du blog */
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-lente);
}

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

/* Contenu du blog */
.blog-content {
  padding: var(--espacement-sm);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Top section (catégorie + date) */
.blog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--espacement-xs);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--vert-orbital);
  color: var(--blanc-lunaire);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-date {
  color: var(--gris-moyen);
  font-size: 0.85rem;
  font-style: italic;
}

/* Titre du blog */
.blog-content h3 {
  font-size: 1.3rem;
  color: var(--bleu-profond);
  margin-bottom: var(--espacement-xs);
  line-height: 1.4;
}

/* Description du blog */
.blog-description {
  color: var(--gris-moyen);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--espacement-sm);
  flex-grow: 1;
}

/* Bottom section (auteur + bouton) */
.blog-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--espacement-sm);
  border-top: 1px solid var(--gris-clair);
}

.blog-author {
  color: var(--gris-moyen);
  font-size: 0.9rem;
  font-style: italic;
}

.blog-bottom .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===================================================================
   9. PARTENAIRES - Section logos avec layout zig-zag responsive
   =================================================================== */

.partenaires-section {
  padding: var(--espacement-lg) 0;
  margin-bottom: var(--espacement-lg);
}

/* Grille partenaires - Desktop (3 colonnes) */
.partenaires-section .services-center {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  position: relative;
  overflow: hidden;
  background: var(--blanc-lunaire);
  border-radius: 12px;
  box-shadow: var(--ombre-legere);
  transition: var(--transition-normale);
}

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

.partner-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: var(--espacement-sm);
  transition: var(--transition-normale);
  background: var(--blanc-lunaire);
}

.partner-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 43, 91, 0.9), rgba(0, 200, 83, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normale);
}

.partner-card:hover .overlay {
  opacity: 1;
}

.partner-card .overlay h4 {
  color: var(--blanc-lunaire);
  font-size: 1.1rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}

/* ===================================================================
   RESPONSIVE - LAYOUT ZIG-ZAG SUR MOBILE
   =================================================================== */

/* Tablettes (2 colonnes alternées) */
@media screen and (max-width: 992px) {
  .partenaires-section .services-center {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .partner-logo {
    height: 100px;
  }

  .partner-card .overlay h4 {
    font-size: 1rem;
  }
}

/* Smartphones (layout zig-zag avec 2 colonnes décalées) */
@media screen and (max-width: 768px) {
  .partenaires-section .services-center {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem;
  }

  .partner-card {
    width: calc(50% - 0.5rem);
    min-width: 140px;
    max-width: 180px;
  }

  /* Effet zig-zag : décalage vertical alternant */
  .partner-card:nth-child(even) {
    margin-top: 2rem;
  }

  .partner-card:nth-child(odd) {
    margin-bottom: 2rem;
  }

  .partner-logo {
    height: 80px;
    padding: 0.5rem;
  }

  .partner-card .overlay h4 {
    font-size: 0.85rem;
  }
}

/* Très petits écrans (logos encore plus compacts) */
@media screen and (max-width: 480px) {
  .partenaires-section .services-center {
    gap: 0.8rem;
    padding: 0 0.5rem;
  }

  .partner-card {
    width: calc(50% - 0.4rem);
    min-width: 120px;
    max-width: 150px;
  }

  /* Accentuer l'effet zig-zag */
  .partner-card:nth-child(even) {
    margin-top: 1.5rem;
  }

  .partner-card:nth-child(odd) {
    margin-bottom: 1.5rem;
  }

  .partner-logo {
    height: 70px;
    padding: 0.4rem;
  }

  .partner-card .overlay h4 {
    font-size: 0.75rem;
  }
}

/* Extra petits écrans (< 360px) */
@media screen and (max-width: 360px) {
  .partner-card {
    min-width: 100px;
    max-width: 130px;
  }

  .partner-logo {
    height: 60px;
    padding: 0.3rem;
  }

  .partner-card:nth-child(even) {
    margin-top: 1rem;
  }

  .partner-card:nth-child(odd) {
    margin-bottom: 1rem;
  }
}
/* ===================================================================
   Page génerée dynamique static.html.php
   =================================================================== */
/* ===================================================================
   STYLES PAGES STATIQUES - Charte Graphique Officielle
   =================================================================== */

/* Conteneur principal */
#content.site-content {
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--gris-clair) 0%, var(--blanc-lunaire) 100%);
    font-family: var(--police-corps);
    color: var(--gris-fonce);
}

/* Wrapper personnalisé */
.custom-static-wrapper {
    padding: var(--espacement-xl) var(--espacement-md);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

/* Contenu principal */
#main.site-main {
    padding: var(--espacement-lg);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

/* Article */
.tz-magazine-post {
    background-color: var(--blanc-lunaire);
    border-radius: 12px;
    padding: var(--espacement-xl);
    margin-bottom: var(--espacement-xl);
    box-shadow: var(--ombre-moyenne);
    transition: var(--transition-normale);
    border-left: 4px solid var(--vert-orbital);
    position: relative;
    overflow: hidden;
}

/* Accent décoratif */
.tz-magazine-post::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bleu-profond) 0%, transparent 100%);
    opacity: 0.03;
    border-radius: 0 0 0 100%;
}

/* Effet au survol */
.tz-magazine-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-forte);
    border-left-color: var(--jaune-solaire);
}

/* Header article */
.tz-magazine-post .entry-header,
.tz-magazine-post .post-header {
    margin-bottom: var(--espacement-lg);
    padding-bottom: var(--espacement-md);
    border-bottom: 2px solid var(--gris-clair);
    position: relative;
}

/* Bouton Edit */
.edit-post {
    display: inline-block;
    margin-bottom: var(--espacement-sm);
}

.edit-post a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--bleu-profond) 0%, #003d7a 100%);
    color: var(--blanc-lunaire);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-rapide);
    box-shadow: var(--ombre-legere);
}

.edit-post a:hover {
    background: linear-gradient(135deg, var(--vert-orbital) 0%, #00a844 100%);
    transform: translateX(3px);
    box-shadow: var(--ombre-moyenne);
}

/* Titres */
.tz-magazine-post .entry-header h1,
.tz-magazine-post .entry-header h2,
.tz-magazine-post .entry-header h3,
.tz-magazine-post .post-header h1,
.tz-magazine-post .post-header h2 {
    margin: 0 0 var(--espacement-sm);
    font-family: var(--police-titres);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--bleu-profond);
    line-height: 1.3;
}

/* Corps de l'article */
.tz-magazine-post .entry-content,
.tz-magazine-post .entry-excerpt {
    line-height: 1.8;
    font-size: 1.05em;
    color: var(--gris-fonce);
}

/* Paragraphes */
.entry-content p,
.entry-excerpt p {
    margin-bottom: var(--espacement-md);
}

/* Listes */
.entry-content ul,
.entry-content ol,
.entry-excerpt ul,
.entry-excerpt ol {
    margin: var(--espacement-md) 0;
    padding-left: var(--espacement-lg);
}

.entry-content li,
.entry-excerpt li {
    margin-bottom: var(--espacement-xs);
    color: var(--gris-moyen);
}

/* Liens dans le contenu */
.entry-content a,
.entry-excerpt a {
    color: var(--bleu-profond);
    text-decoration: none;
    border-bottom: 2px solid var(--vert-orbital);
    transition: var(--transition-rapide);
    font-weight: 500;
}

.entry-content a:hover,
.entry-excerpt a:hover {
    border-bottom-color: var(--jaune-solaire);
}

/* Images */
.entry-content img,
.entry-excerpt img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: var(--espacement-md) 0;
    box-shadow: var(--ombre-legere);
}

/* Blockquotes */
.entry-content blockquote,
.entry-excerpt blockquote {
    margin: var(--espacement-lg) 0;
    padding: var(--espacement-md);
    padding-left: var(--espacement-lg);
    background-color: var(--bleu-clair);
    border-left: 4px solid var(--vert-orbital);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gris-moyen);
}

/* Code */
.entry-content code,
.entry-excerpt code {
    background-color: var(--gris-clair);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--bleu-profond);
}

.entry-content pre,
.entry-excerpt pre {
    background-color: var(--gris-fonce);
    color: var(--blanc-lunaire);
    padding: var(--espacement-md);
    border-radius: 8px;
    overflow-x: auto;
    margin: var(--espacement-md) 0;
}

/* Responsive - Tablettes */
@media screen and (max-width: 992px) {
    .custom-static-wrapper {
        padding: var(--espacement-lg) var(--espacement-md);
    }
    
    .tz-magazine-post {
        padding: var(--espacement-lg);
    }
    
    .tz-magazine-post .entry-header h1,
    .tz-magazine-post .post-header h1 {
        font-size: 1.8em;
    }
}

/* Responsive - Mobile */
@media screen and (max-width: 768px) {
    .custom-static-wrapper {
        padding: var(--espacement-md) var(--espacement-sm);
    }
    
    #main.site-main {
        padding: var(--espacement-sm);
    }
    
    .tz-magazine-post {
        padding: var(--espacement-md);
        margin-bottom: var(--espacement-lg);
        border-radius: 8px;
    }
    
    .tz-magazine-post .entry-header h1,
    .tz-magazine-post .entry-header h2,
    .tz-magazine-post .post-header h1 {
        font-size: 1.5em;
    }
    
    .entry-content,
    .entry-excerpt {
        font-size: 1em;
    }
    
    .edit-post a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Responsive - Petit mobile */
@media screen and (max-width: 480px) {
    .custom-static-wrapper {
        padding: var(--espacement-sm) var(--espacement-xs);
    }
    
    .tz-magazine-post {
        padding: var(--espacement-sm);
        border-left-width: 3px;
    }
    
    .tz-magazine-post .entry-header h1,
    .tz-magazine-post .post-header h1 {
        font-size: 1.3em;
    }
}

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

.tz-magazine-post {
    animation: fadeInUp var(--transition-lente) ease-out;
}
/* MOBILE FULL WIDTH – contenu bord à bord */
@media screen and (max-width: 768px) {

    /* Conteneur principal */
    #content.site-content {
        padding: 0;
        margin: 0;
        background: var(--blanc-lunaire);
    }

    /* Wrapper */
    .custom-static-wrapper,
    #main.site-main {
        padding: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    /* Article plein écran */
    .tz-magazine-post {
        padding: 1rem;
        margin: 0;
        max-width: 100%;
        width: 100%;

        /* SUPPRESSION DES DÉCORATIONS */
        border-left: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    /* Supprimer l’accent décoratif */
    .tz-magazine-post::before {
        display: none;
    }

    /* Header sans séparation */
    .tz-magazine-post .entry-header,
    .tz-magazine-post .post-header {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 1rem;
    }

    /* Images plein écran */
    .entry-content img,
    .entry-excerpt img {
        border-radius: 0;
        box-shadow: none;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        max-width: none;
    }
}

/* ===================================================================
   10. FOOTER - Pied de page
   =================================================================== */
.newsletter {
  background: linear-gradient(135deg, var(--bleu-profond) 0%, #001a3d 100%);
  color: var(--blanc-lunaire);
  padding: var(--espacement-lg) 0;
  text-align: center;
  margin-top: var(--espacement-lg);
}

.newsletter-center {
  max-width: 900px;
}

/* Liens du footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: var(--espacement-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--espacement-md);
}

.footer-links a {
  color: var(--blanc-lunaire);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-rapide);
}

.footer-links a:hover {
  color: var(--jaune-solaire);
  text-decoration: none;
}

/* Icônes sociales */
.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: var(--espacement-sm);
  margin-bottom: var(--espacement-sm);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--blanc-lunaire);
  font-size: 1.2rem;
  transition: var(--transition-rapide);
}

.social-icon:hover {
  background-color: var(--vert-orbital);
  color: var(--blanc-lunaire);
  transform: translateY(-3px);
}
/* debut -css pour supprimer le rss dans le footer des pages  */
/* Supprimer uniquement l’icône RSS générée par HTMLy */
.tzwb-social-icons a[href*="rss"],
.tzwb-social-icons svg use[href="#icon-feed"],
.tzwb-social-icons svg use[xlink\:href="#icon-feed"] {
    display: none !important;
}
/* fin -css pour supprimer le rss dans le footer des pages  */



/* Contacts du footer */
.footer-contacts {
  margin-bottom: var(--espacement-sm);
}

.footer-contacts p {
  color: var(--blanc-lunaire);
  font-size: 1rem;
}

.footer-contacts a {
  color: var(--jaune-solaire);
  text-decoration: none;
  font-weight: 600;
}

.footer-contacts a:hover {
  color: var(--vert-orbital);
  text-decoration: underline;
}

/* Copyright */
.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: var(--espacement-sm);
}

/* ===================================================================
   11. RESPONSIVE - Media Queries
   =================================================================== */

/* Tablettes - 3 colonnes */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .old-banner-title h2 {
    font-size: 2rem;
  }
  
  
 

  /* 3 colonnes pour tablettes */
  .projects-center,
  .services-center,
  #blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Smartphones - 2 colonnes */
@media screen and (max-width: 768px) {
  :root {
    --espacement-xl: 2.5rem;
    --espacement-lg: 1.75rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .old-banner-title h2 {
    font-size: 1.75rem;
  }

  /* 2 colonnes pour mobile */
  .projects-center,
  .services-center,
  #blog-container {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--espacement-sm);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--espacement-xs);
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Très petits écrans - 1 colonne */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .old-banner-picture-container {
    height: 250px;
  }
  
  .project-img {
    height: 200px;
  }
  
  .blog-card img {
    height: 180px;
  }

  /* 1 colonne pour très petits écrans */
  .projects-center,
  .services-center,
  #blog-container {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   12. UTILITAIRES
   =================================================================== */

/* Marges */
.mt-5 { margin-top: var(--espacement-lg); }
.mb-4 { margin-bottom: var(--espacement-md); }

/* Alignement */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.justify-content-start { justify-content: flex-start; }
.align-items-center { align-items: center; }

/* Grid Bootstrap-like - Suppression pour utiliser CSS Grid */
.row {
  display: contents;
}

.col-md-4 {
  /* Géré par le grid parent */
}

/* ===================================================================
   13. ANIMATIONS
   =================================================================== */

/* Animation d'entrée pour les sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Animation pour le logo ou éléments importants */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===================================================================
   FIN DU FICHIER CSS GEOSPACE TOGO
   =================================================================== */