/* ===================== FONDATION GLOBALE ===================== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===================== LIENS ET ACCESSIBILITÉ ===================== */

a {
  color: #0055aa;
  text-decoration: underline;
  font-weight: 600;
}
a:hover,
a:focus {
  color: #003366;
  background: #e6f0ff;
  outline: none;
}

/* ===================== RÉINITIALISATION ENTRE HEADER & BANNIÈRE ===================== */
header,
.elementor-location-header,
.elementor-top-section,
body > .elementor.elementor-location-header,
.elementor-section.elementor-top-section:first-of-type,
header + .elementor-section {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ===================== STRUCTURE GÉNÉRALE .asm-page ===================== */
.asm-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
  color: #002b49;
  line-height: 1.6;
  background-color: white;
}

/* ===================== TYPOGRAPHIE .asm-page ===================== */
.asm-page h2 {
  font-size: 2rem;
  text-align: center;
  color: #003366;
  margin: 2rem 0 1rem;
}
.asm-page h3 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
  color: #003366;
}
.texte-responsive {
  text-align: justify;
}

.asm-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}
.asm-page ul li {
  margin-bottom: 0.5rem;
}
.asm-page blockquote {
  font-style: italic;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  text-align: center;
}
.asm-page strong,
strong {
  color: #000;
  font-weight: 700;
}
.asm-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}
.asm-page th,
.asm-page td {
  border: 1px solid #ccc;
  padding: 0.8rem;
  text-align: left;
}
.asm-page th {
  background-color: #e5f0fa;
  font-weight: 600;
}
.asm-page section {
  margin-bottom: 3rem;
}
.asm-page .cta-button {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 0.8rem 1.4rem;
  text-decoration: none;
  border-radius: 6px;
  margin: 0.5rem;
  transition: background-color 0.3s ease;
}
.asm-page .cta-button:hover {
  background-color: #005fa3;
}

/* ===================== RESPONSIVE – .asm-page & Bannière ===================== */
@media screen and (max-width: 1024px) {
  .asm-page {
    padding: 15px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .banner-content p {
    font-size: 1rem;
  }
  .cta-banner {
    padding: .6rem 1.2rem;
    font-size: .95rem;
  }
}
@media screen and (max-width: 768px) {
  .asm-page h2 {
    font-size: 1.5rem;
  }
  .asm-page h3 {
    font-size: 1.2rem;
  }
  .asm-page p {
    font-size: 1rem;
  }
  .banner-content h1 {
    font-size: 1.5rem;
  }
  .banner-content p {
    font-size: .95rem;
  }
  .cta-banner {
    padding: .5rem 1rem;
    font-size: .9rem;
  }
}
@media screen and (max-width: 480px) {
  .asm-page {
    padding: 10px;
  }
  
  .site-wide-banner .banner-content {
   padding: 0.5rem;
  }
  
  .banner-content h1 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .banner-content p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .cta-banner {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .asm-page {
    padding: 10px;
  }
  .banner-content h1 {
    font-size: 1.2rem;
  }
  .banner-content p {
    font-size: .9rem;
  }
  .cta-banner {
    padding: .4rem .9rem;
    font-size: .85rem;
  }
}

/* ✅ Amélioration responsive des boutons d’appel à l’action */
@media (max-width: 480px) {
  .asm-page .cta-button {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}

/* ===================== SECTION PARTENAIRES ===================== */
.partenaires-section {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  font-family: "Source Sans Pro", sans-serif;
}

/* ===================== PAGE SPÉCIALE – .blindee-bloquee-page ===================== */
.blindee-bloquee-page,
.blindee-bloquee-page * {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding: 0;
  margin: 0;
}
.blindee-bloquee-page h1,
.blindee-bloquee-page h2 {
  color: #2c3e50;
  text-align: center;
  font-weight: bold;
}
.blindee-bloquee-page .section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.blindee-bloquee-page p,
.blindee-bloquee-page ul {
  line-height: 1.6;
  margin: 15px 0;
}
.blindee-bloquee-page ul {
  padding-left: 20px;
}
.blindee-bloquee-page .cta-button {
  display: inline-block;
  background-color: #2980b9;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  margin: 10px 0;
  transition: background .3s;
}
.blindee-bloquee-page .cta-button:hover {
  background-color: #1f6391;
}
.blindee-bloquee-page img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}
.blindee-bloquee-page .cta-center {
  text-align: center;
}
@media (max-width: 600px) {
  .blindee-bloquee-page .section {
    margin: 20px 10px;
    padding: 15px;
  }
  .blindee-bloquee-page .cta-button {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}

/* ===================== BANNIÈRE PRINCIPALE ===================== */

.site-wide-banner {
    position: relative;
    z-index: 0;
    width: 100%;
    /* Remplacez la hauteur par 'aspect-ratio' pour une meilleure stabilité */
    /* Calcul : Largeur de l'image / Hauteur de l'image (1920 / 600) = 3.2 */
    /* Vous pouvez écrire 1920 / 600 ou sa forme simplifiée 16 / 5 */
    aspect-ratio: 1920 / 600; 
    
    /* Fallback pour les navigateurs ne supportant pas aspect-ratio (moins critique car il y aura min-height) */
    /* Pour la plupart des cas, aspect-ratio sera suffisant */
    min-height: 400px; /* Une hauteur minimale par défaut, à ajuster si nécessaire */

    background: url('https://art-serrurerie-multi-service.fr/wp-content/uploads/2025/06/serrurier-toulon-artisan-depannage-bannier.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.site-wide-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%; /* S'assure que l'overlay couvre le conteneur avec aspect-ratio */
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.site-wide-banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 1rem;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.site-wide-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.site-wide-banner p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

.cta-banner {
    display: inline-block;
    position: relative;
    z-index: 3;
    cursor: pointer;
    background-color: #001f4d;
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid #003366;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background .3s, color .3s;
}
.cta-banner:hover {
    background-color: #003366;
    color: #fff;
}

/* ===================== RESPONSIVE ===================== */
/* Conservez ces media queries si vous souhaitez ajuster la taille du texte pour mobile */
/* La hauteur sera gérée par aspect-ratio, donc plus besoin de fixer la hauteur ici */
@media screen and (max-width: 768px) {
    /* Supprimez 'height: 40vh;' ici, car aspect-ratio le gérera */
    .site-wide-banner h1 {
        font-size: 1.6rem;
    }
    .site-wide-banner p {
        font-size: 1rem;
    }
}

/* Supprimez cette media query ou transformez-la en min-height si nécessaire, 
   mais aspect-ratio est plus universel pour la gestion de la taille */
/* @media (min-width: 1024px) {
    .site-wide-banner {
        height: 520px;
    }
} */

.site-wide-banner,
.site-wide-banner p,
.site-wide-banner strong,
.site-wide-banner a,
.site-wide-banner span {
    color: #ffffff !important;
}

/* ===================== TEXTE RESPONSIVE ===================== */
.texte-responsive p,
.texte-responsive li,
.texte-responsive h2,
.texte-responsive h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.texte-responsive ul {
  padding-left: 1.5rem;
}

.texte-responsive h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-top: 2rem;
}

.texte-responsive h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* ===================== CARROUSELS ===================== */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 2rem auto;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Carrousel : responsive item sizing */
.carousel-item {
  flex: 0 0 auto;
  width: 50%; /* 2 items par ligne sur mobile par défaut */
  text-align: center;
}

@media (min-width: 768px) {
  .carousel-item {
    width: 33.3333%; /* 3 items sur tablette */
  }
}

@media (min-width: 1024px) {
  .carousel-item {
    width: 25%; /* 4 items sur desktop */
  }
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #003366;
  color: #fff;
  border: none;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2;
}
.carousel-btn.prev {
  left: 0;
}
.carousel-btn.next {
  right: 0;
}
.carousel-btn:hover {
  background: #005599;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ===================== CORRECTION CARROUSEL RESPONSIVE ===================== */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.carousel-item {
  flex: 0 0 auto;
  width: 50%; /* 2 images visibles sur mobile */
  text-align: center;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .carousel-item {
    width: 33.3333%; /* Tablette : 3 éléments */
  }
}

@media (min-width: 1024px) {
  .carousel-item {
    width: 25%; /* Desktop : 4 éléments */
  }
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #003366;
  color: #fff;
  border: none;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2;
}
.carousel-btn.prev {
  left: 0;
}
.carousel-btn.next {
  right: 0;
}
.carousel-btn:hover {
  background: #005599;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}


/* ===================== ACCORDÉONS GÉNÉRAUX ===================== */
.accordion-section h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}
.accordion-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.accordion-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  padding: .8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  background-color: #003366;
  color: #fff;
  border: 2px solid #003366;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background .3s, color .3s;
}
.accordion-button:hover {
  background-color: #cce5ff;
  color: #003366;
}

/* Accessibilité clavier */
.accordion-button:focus,
.cta-banner:focus {
  outline: 2px dashed #ffe600;
  outline-offset: 4px;
}


/* 🔽 Chevron animée */
.accordion-button .chevron {
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.accordion-button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.open {
  display: grid;
  padding: 1.5rem;
  max-height: 1500px;
}


.accordion-content .item {
  text-align: center;
}
.accordion-content .item a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
}
.accordion-content .item a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1024px) {
  .accordion-content {
    grid-template-columns: repeat(2,1fr);
  }
}
@media screen and (max-width: 600px) {
  .accordion-content {
    grid-template-columns: 1fr;
  }

  .accordion-content.open {
    padding: 1rem;
  }
}

/* ===================== ACCORDÉONS - TITRE VISIBLE ===================== */
.accordion-toggle {
  color: #002b49 !important;
  background-color: #f4faff;
  font-weight: 600;
  border: 1px solid #c6e2ff;
  width: 100%;
  text-align: left;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover,
.accordion-toggle:focus {
  background-color: #d9ebff;
}

.accordion-toggle::after {
  content: "▼";
  float: right;
  transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* ===================== ACCORDÉON - TITRES ===================== */
.accordion-header button {
  background-color: #f0f6ff; /* ou autre couleur de fond souhaitée */
  color: #003366;            /* couleur visible, même hors survol */
  font-weight: bold;
  font-size: 1rem;
  border: none;
  padding: 1rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header button:hover,
.accordion-header button:focus {
  background-color: #d6e9ff; /* effet de survol */
  color: #001a33;
}

/* ===================== ACCORDÉON - CORRECTION VISIBILITÉ TITRE ===================== */
.accordion-toggle {
  color: inherit !important;
  background: none !important;
  font-weight: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===================== CORRECTION VISIBILITÉ ACCORDÉONS ===================== */
.accordeon-toggle {
  color: #002b49 !important;
  background-color: #f9f9f9 !important;
  border: 1px solid #ccc;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordeon-toggle:hover,
.accordeon-toggle:focus {
  background-color: #e6f0ff !important;
  color: #003366 !important;
}


/* ===================== ARCHIVES (VARIANTE ACCORDÉON) ===================== */
.archive-container {
  margin-top: 1.5rem;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
}
.archive-header {
  background: #f0f0f0;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: background .3s;
  width: 100%;
  border: none;
  text-align: center;
  font-family: inherit;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.archive-header .icon-rotate,
.archive-header .archive-header-text,
.archive-header .chevron {
  display: inline-block;
  vertical-align: middle;
}

.archive-header .chevron {
  transition: transform 0.3s ease;
}

.archive-container.open .chevron {
  transform: rotate(180deg);
}

.archive-header:hover {
  background: #e0e0e0;
}
.archive-header-text {
  margin-left: 8px;
}
.archive-links {
  height: 0;
  overflow: hidden;
  transition: height .5s ease-in-out;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.archive-container.open .archive-links {
  height: 400px;
  overflow-y: auto;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: .5rem 1rem;
}
.archive-links a {
  display: block;
  padding: .75rem 1rem;
  text-decoration: none;
  color: #0077cc !important;
  font-size: 1.5rem;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: all .25s ease;
}
.archive-links a:hover,
.archive-links a:focus {
  transform: translateY(-2px) scale(1.01);
  background: #e7f0fc;
  border-color: #c4d8ef;
  color: #005599 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* ===================== COOKIE BANNER RGPD ===================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #003366;
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

.cookie-banner p {
  margin: 0;
  display: inline-block;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #ffe600;
  text-decoration: underline;
  font-weight: bold;
}

.cookie-banner button {
  margin-left: 1rem;
  background: #ffe600;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  color: #003366;
}



/* ===================== FOOTER ===================== */
footer[role="contentinfo"] {
  background-color: #003366;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
}
.footer-columns-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}
.footer-column {
  flex: 1 1 220px;
}
.footer-column h2 {
  color: #ffa500;
  font-size: 1.3rem;
  margin: 0 0 .8rem;
  text-align: left;
}
.footer-column ul,
.footer-column p {
  margin: 0 0 .5rem;
}
.footer-column p:last-of-type {
  margin-bottom: 0;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}
.footer-link-list li {
  margin-bottom: .3rem;
}
.footer-separator {
  margin: 2rem auto;
  border-top: 1px solid #888;
  width: 80%;
  border: none;
}
.footer-legal-links {
  font-size: .9rem;
  padding-top: 1rem;
  margin: 0;
}
.footer-legal-links a {
  margin: 0 .5em;
}
.footer-copyright {
  margin-top: 1rem;
  font-size: .9rem;
}
footer a {
  color: #fff !important;
  text-decoration: none;
}
.footer-column p a {
  color: #fff !important;
}

footer[role="contentinfo"] strong,
footer[role="contentinfo"] b {
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 600px) {
  .archive-header {
    font-size: 1.5rem;
    padding: 0.9rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ===================== ANIMATIONS SCROLL (fade-zoom) ===================== */
.fade-zoom {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

.fade-zoom.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== GRILLE DE REMPLACEMENT CARROUSEL ===================== */

.remplacement-carousel .remplacement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .remplacement-carousel .remplacement-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .remplacement-carousel .remplacement-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.remplacement-item {
  text-align: center;
  transition: transform 0.3s;
}

.remplacement-item:hover {
  transform: scale(1.03);
}

.remplacement-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.remplacement-item .caption {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}


/* === ROBOT ASSISTANT === */
.robot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#robot {
  background-color: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

#robot:hover {
  transform: scale(1.1);
}

#robot-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  min-width: 180px;
  max-width: 220px;
}

#robot-panel.visible {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ===================== FIX TAILLES ICONES ET WIDGETS ===================== */

/* Taille cohérente des images dans les widgets */
.widget-aide,
.widget-aide img,
.widget-aide svg,
.scroll-top,
.scroll-top img,
.scroll-top svg {
  width: 60px;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Affichage propre du widget téléphone */
.widget-aide {
  position: fixed;
  bottom: 90px;
  right: 20px;
  font-size: 0.85rem;
  background-color: #fff;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

/* Logo "scroll to top" ou autre widget */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Correction générale des images */
img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Réduction des icônes sociales dans le footer si besoin */
footer .social-icons img,
footer .social-icons svg {
  max-width: 36px;
  height: auto;
}


/* ===================== FIX TAILLES ICONES ET WIDGETS ===================== */

.widget-aide,
.widget-aide img,
.widget-aide svg,
.scroll-top,
.scroll-top img,
.scroll-top svg {
  width: 60px;
  height: auto;
  max-width: 100%;
  display: block;
}

/* ===================== CORRECTION DES ICONES DU FOOTER ===================== */

footer img[width][height] {
  width: 40px !important;
  height: 40px !important;
  max-width: 100% !important;
  object-fit: contain;
  display: inline-block;
}

/* ===================== FIX AFFICHAGE EMOJIS DANS LES TITRES DU FOOTER ===================== */

.footer-column h2 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column h2::before {
  font-size: 1rem !important;
  line-height: 1 !important;
}

/* Compatibilité pour emojis inline */
.footer-column h2 span,
.footer-column h2 emoji,
.footer-column h2::first-letter {
  font-size: 1rem !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}
