/* ═══════════════════════════════════════════════════════════════
   hr-footer.css — Footer Horizonrando v3
   Emplacement : child-theme/css/hr-footer.css
   Chargé via le snippet hr-footer.php (wp_enqueue_style + filemtime)
   ═══════════════════════════════════════════════════════════════ */
#footer-bottom {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENEUR PRINCIPAL
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer {
  background: linear-gradient(180deg, #024a66 0%, #05668d 100%) !important;
  border-top: 4px solid #02c39a;
  /* Pleine largeur viewport */
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 0 !important;
  box-sizing: border-box;
}

footer.hr-footer .hr-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}


/* ═══════════════════════════════════════════════════════════════
   GRILLE PRINCIPALE — Desktop
   2 zones : destinations (flexible) + colonne droite (fixe 280px)
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-main {
  display: flex !important;
  gap: 40px;
  padding: 40px 0 28px;
  align-items: flex-start;
}

/* Zone destinations : prend tout l'espace restant */
footer.hr-footer .hr-footer-dest-zone {
  flex: 1;
  min-width: 0;
}

/* Grille 3 colonnes pour les pays */
footer.hr-footer .hr-footer-dest-countries {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px 24px;
}

/* Heading "DESTINATIONS" */
footer.hr-footer .hr-footer-heading--dest {
  color: #02c39a;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.3;
}

/* Chaque bloc pays */
footer.hr-footer .hr-footer-country-block {
  margin-bottom: 0;
}

/* Colonne droite : largeur fixe */
footer.hr-footer .hr-footer-col--right {
  width: 280px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   TITRES DE SECTIONS
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-heading {
  color: #02c39a;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.3;
}


/* ═══════════════════════════════════════════════════════════════
   NOMS DE PAYS
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-country {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0 2px 0;
  padding: 0;
  line-height: 1.5;
  transition: color 0.2s ease;
}

footer.hr-footer .hr-footer-country:hover {
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   SOUS-LIENS DESTINATION
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-sublink {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  padding: 2px 0 2px 12px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

footer.hr-footer .hr-footer-sublink:hover {
  color: rgba(255, 255, 255, 0.88);
}


/* ═══════════════════════════════════════════════════════════════
   COLONNE DROITE — Sections
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-section {
  margin-bottom: 20px;
}

footer.hr-footer .hr-footer-section:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════════
   RÉSEAUX SOCIAUX
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer.hr-footer .hr-footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

footer.hr-footer .hr-footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.2s ease;
}

footer.hr-footer .hr-footer-social-icon:hover {
  border-color: #02c39a;
  background-color: rgba(2, 195, 154, 0.1);
}

footer.hr-footer .hr-footer-social-icon:hover svg {
  fill: #02c39a;
}

footer.hr-footer .hr-footer-accroche {
  color: rgba(255, 255, 255, 0.4);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0 0;
  padding: 0;
}


/* ═══════════════════════════════════════════════════════════════
   SÉPARATEUR + LIENS UTILES
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 20px 0;
}

footer.hr-footer .hr-footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  padding: 3px 0;
  line-height: 1.55;
  transition: color 0.2s ease;
}

footer.hr-footer .hr-footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}


/* ═══════════════════════════════════════════════════════════════
   BARRE COPYRIGHT
   ═══════════════════════════════════════════════════════════════ */

footer.hr-footer .hr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

footer.hr-footer .hr-footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

footer.hr-footer .hr-footer-signature {
  color: rgba(255, 255, 255, 0.3);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablette (≤980px) ──
   2 colonnes destinations, colonne droite pleine largeur dessous */
@media (max-width: 980px) {

footer.hr-footer .hr-footer-dest-zone {
    width: 100%;
}
  footer.hr-footer .hr-footer-main {
    flex-direction: column !important;
    gap: 28px;
  }

  footer.hr-footer .hr-footer-dest-countries {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 28px;
  }

  footer.hr-footer .hr-footer-col--right {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  footer.hr-footer .hr-footer-col--right .hr-footer-section:first-child {
    grid-column: 1;
  }

  footer.hr-footer .hr-footer-col--right .hr-footer-section:last-child {
    grid-column: 2;
  }

  footer.hr-footer .hr-footer-sep {
    display: none;
  }
}


/* ── Mobile (≤767px) ──
   2 colonnes destinations, colonne droite empilée */
@media (max-width: 767px) {

footer.hr-footer .hr-footer-dest-zone {
    width: 100%;
}

  footer.hr-footer .hr-footer-inner {
    padding: 0 16px;
  }

  footer.hr-footer .hr-footer-main {
    padding: 32px 0 24px;
    gap: 24px;
  }

footer.hr-footer .hr-footer-dest-countries {
    grid-template-columns: 1fr 1fr !important;
    width: 100%;
}

  footer.hr-footer .hr-footer-col--right {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer.hr-footer .hr-footer-sep {
    display: block;
  }

  footer.hr-footer .hr-footer-col--right .hr-footer-section:first-child,
  footer.hr-footer .hr-footer-col--right .hr-footer-section:last-child {
    grid-column: 1;
  }

  footer.hr-footer .hr-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}


/* ── Très petit mobile (≤300px) ──
   1 seule colonne */
@media (max-width: 300px) {

  footer.hr-footer .hr-footer-dest-countries {
    grid-template-columns: 1fr !important;
  }
}