/* ============ THEME ============ */
@media (max-width: 768px) {
h1 { font-size: clamp(1rem, 2vw, 36px); text-align: center !important;}
h2 { font-size: clamp(16px, 1vw, 24px); }
h3 { font-size: clamp(12px, 0.75vw, 16px); }

p {
  font-size: ;
}
.quote { 
  font-size: clamp(12px, 0.75vw, 16px);
}

}

/* ============ HEADER ============ */
@media (max-width: 768px) {
  header {
    height: 50px;
  }

  .nav-left,
  .nav-right {
    display: none; /* on cache la nav classique */
  }

  .hamburger {
    display: flex;
  }

  .nav-center {
    justify-content: flex-start; /* logo reste visible */
  }

  .logo-scroll {
    display: none !important;
  }
}


/* ============ FOOTER ============ */

@media (max-width: 1024px) {
  footer {
    padding-top: 10%;
  }

  .footer-content {
    margin-top: 20px !important;
  }

  footer, .footer-left, .footer-fight, .footer-content, .footer-socials {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-logos-row {
    flex-wrap: wrap; /* les logos passent à la ligne */
    width: 80%;
    gap: 15px;
  }
  .footer-logo {
    max-height: 50px;
  }
}

@media (max-width: 600px) {
  .footer-logos-row {
    width: 100%;
    gap: 10px;
  }
  .footer-logo {
    max-height: 40px;
  }
}


@media (max-width: 425px) {
  .footer-logos-row {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }
  .footer-logo {
    max-height: 35px;
  }
}


@media (max-width: 375px) {
  .footer-logos-row {
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }
  .footer-logo {
    max-height: 30px;
  }
}

/* ============ LANDING ============ */
@media (max-width: 767px) {

  .home-question {
    padding-top: -100px !important;
  }

  .gkit0b158a {
    max-width: 80% !important;
  }

  #block-13dc103e-84d6-46b0-b4ec-2e654d4b7b80 {
    margin-top: -90px !important;
  }

  /*---RSS---*/
  /* Forcer la hauteur Smash Balloon */
  #block-11c1bd5a-35bc-465b-ace0-e08d84002d91 #sb_instagram.sbi_fixed_height {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* wrapper ne doit pas scroller */
  #block-11c1bd5a-35bc-465b-ace0-e08d84002d91 #sbi_images {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #block-11c1bd5a-35bc-465b-ace0-e08d84002d91 .sbi_item .sbi_photo {
    height: auto !important;
  }

  .rss-button {
    margin-top: 20px;
  }

  /*---Partenaires---*/
  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 > .gkit-block__inner{
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 12px !important; 
    align-items: center !important;
    justify-items: center !important;
  }

  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 > .gkit-block__inner > .wp-block-gutenkit-container,
  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 > .gkit-block__inner > .wp-block-gutenkit-container > .gkit-block__inner{
    display: contents !important;
  }

  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 figure.logo-landing{
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 figure.logo-landing img{
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 60px; 
  }
  
  .logo-landing {
    width: 50px;
  }

  #block-d5fdccd3-740e-4e6a-9c99-d0fb4bfb9b73 .gkit-block__inner {
    margin-top: 70px;
  }
}


