/* Base */
@import "fonts.css";


:root{
  --color-teal-900: #14504a;
  --color-gold-600: #b88746;
  --color-gold-claire-600: #edd08c;
  --color-background: #eff0da;
  --icon-filter-light: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(103%) contrast(101%);
  --icon-filter-gold-claire: invert(84%) sepia(17%) saturate(654%) hue-rotate(350deg) brightness(101%) contrast(87%);
  --hero-photo: clamp(120px, 18vw, 260px);
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: "Playwrite US Modern","Alex Brush", serif;
  background: var(--color-background);
  color: #1f1f1f;
}
.is-hidden{
  display: none;
}

/* ===== HEADER (layout global) ===== */
#nav-check{
  display: none;
}

.header{
  position: relative;
  height: clamp(400px, 45vh, 675px);
  min-height: 350px;
  overflow: hidden;
}

.menu{
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: start;
  width: 100%;
  color: white;
}

.background-header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20,80,74,1) 0%, rgba(207,172,45,1) 100%);
}

.header::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/form/shape-ellipse-big.svg') no-repeat center;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
}

.menu-sub{
  z-index: 9999;
  position: sticky;
  border: 2px solid var(--color-gold-600);
  border-radius: 15px;
  background: rgba(82, 92, 91, 0.05);
  backdrop-filter: blur(10px);
  padding-left: 2%;
  padding-right: 2%;
  max-width: 58%;
  max-height: 66px;
  align-self: start;
}

.menu-sub ul{
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-sub > ul{
  align-items: center;
}

.menu-sub ul li{
  padding: 15px 0;
}

.menu-sub ul li.lang-switch{
  display: flex;
  align-items: center;
  padding: 11px 16px 11px 0;
  margin-right: 4px;
  border-right: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .36), rgba(255, 255, 255, .36));
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1px 30px;
}

.lang-switch-toggle{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  min-height: 36px;
  box-sizing: border-box;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(237, 208, 140, .58);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px rgba(20, 80, 74, .12);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.menu-sub ul li.lang-switch > .lang-switch-toggle:hover,
.menu-sub ul li.lang-switch:focus-within > .lang-switch-toggle{
  color: var(--color-teal-900);
  background: var(--color-gold-claire-600);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 22px rgba(20, 80, 74, .18);
  transform: translateY(-1px);
}

.lang-globe{
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.lang-globe svg{
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-current{
  min-width: 21px;
  text-align: center;
}

.lang-switch-toggle .lang-chevron{
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.lang-switch:hover .lang-switch-toggle .lang-chevron,
.lang-switch:focus-within .lang-switch-toggle .lang-chevron{
  transform: translateY(1px) rotate(225deg);
}

.lang-switch > .submenu{
  min-width: 132px;
  padding: 8px;
  border: 1px solid rgba(237, 208, 140, .76);
  border-radius: 12px;
  background: rgba(20, 80, 74, .96);
  box-shadow: 0 14px 26px rgba(20, 80, 74, .26);
  backdrop-filter: blur(10px);
}

.lang-switch > .submenu a{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 9px 10px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.lang-switch > .submenu a:hover,
.lang-switch > .submenu a:focus-visible{
  color: var(--color-teal-900);
  background: var(--color-gold-claire-600);
  text-decoration: none;
}

.lang-option-code{
  display: inline-flex;
  min-width: 30px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(237, 208, 140, .16);
  color: var(--color-gold-claire-600);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.lang-switch > .submenu a:hover .lang-option-code,
.lang-switch > .submenu a:focus-visible .lang-option-code{
  background: rgba(20, 80, 74, .13);
  color: var(--color-teal-900);
}

.menu-sub ul li a{
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: ease all 0.5s;
}

.menu-sub ul li a:hover{
  color: var(--color-gold-600);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--color-gold-600);
}

@media (min-width: 641px){
  .menu-sub ul li a.favorite{
    display: inline-block;
    border-radius: 999px;
    padding: 2px 7px;
    transform-origin: center;
    will-change: transform, color, text-shadow, background-color, box-shadow;
  }

  .menu-sub ul li a.favorite.favorite-animate{
    animation: favorite-pulse 10s ease-in-out 1s;
  }
}

@keyframes favorite-pulse{
  0%, 100%{
    color: #fff;
    background: transparent;
    box-shadow: none;
    transform: scale(1);
    text-shadow: none;
  }

  5%, 14%, 23%, 32%, 41%, 50%, 59%, 68%, 77%, 86%{
    color: var(--color-teal-900);
    background: var(--color-gold-claire-600);
    box-shadow: 0 0 0 4px rgba(237, 208, 140, .18), 0 0 22px rgba(237, 208, 140, .7);
    transform: scale(1.25);
    text-shadow: none;
  }

  9.5%, 18.5%, 27.5%, 36.5%, 45.5%, 54.5%, 63.5%, 72.5%, 81.5%, 90.5%{
    color: #fff;
    background: rgba(184, 135, 70, .35);
    box-shadow: 0 0 0 2px rgba(184, 135, 70, .28), 0 0 14px rgba(184, 135, 70, .65);
    transform: scale(1.05);
    text-shadow: 0 0 7px rgba(184, 135, 70, .75);
  }
}

.menu-item-has-submenu{
  position: relative;
}

.menu-item-has-submenu::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.menu-item-has-submenu > .submenu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 150px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1100;
}

.menu-item-has-submenu:hover > .submenu,
.menu-item-has-submenu:focus-within > .submenu{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-item-has-submenu > .submenu li{
  padding: 0;
}

.menu-item-has-submenu > .submenu a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.header-row{
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 90px 6% 0;*/
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.header-logo{
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 20%;
}
.header-logo a{
  display: block;
  width: 100%;
  height: 100%;
}

.header-logo a .menu-img-contain{
  transition: ease all 0.5s;
  transform-origin: top left;
}

.header-logo a:hover .menu-img-contain{
  transform: scale(1.1);
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  width: 100%;
  height: 100%;
  background: url("../img/logo/white-logo-no-background.svg") no-repeat center;
  background-size: contain;
}

.menu-img-contain{
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  width: 100%;
  height: 100%;
  background: url("../img/logo/color-logo-no-background.svg") no-repeat center;
  background-size: contain;
}

.header-slogan{
  align-self: center;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  flex: 1 1 60%;
  width: 100%;
  color: white;
  z-index: 2;
  font-family: "Playwrite US Modern","Alex Brush", serif;
}

.header-slogan h1, .header-slogan .header-site-name{
  align-self: center;
  font-family: "Playwrite US Modern","Great Vibes", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: ease all 0.5s;
  color: #edd08c;
  padding-bottom: 15px;
  text-align: center;
}

.header-slogan .description{
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  hyphens: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: center;
  color: #edd08c;
  white-space: normal;
}

.header-media{
  position: relative;
  width: calc(var(--hero-photo) + 40px);
  height: calc(var(--hero-photo) + 40px);
  min-width: calc(var(--hero-photo) + 40px);
  min-height: calc(var(--hero-photo) + 40px);
  margin-left: auto;
  flex: 0 0 auto;
}

.image-pro{
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  background-image: url("./../img/pro_enfants_creche.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 20px solid var(--color-gold-600);
  border-radius: 50%;
  z-index: 2;
  transition: border-color .25s ease;
}

.header-dots{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  --r: calc( (var(--hero-photo) / 2) + 20px + 8px + 25px );
}

.header-dots .dot{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  background: var(--color-gold-600);
  border-radius: 50%;
  transform: rotate(var(--a, 0deg)) translateX(var(--r));
  transition: background-color .25s ease, transform .25s ease;
  pointer-events: auto;
}

.header-dots .dot:nth-child(1){ --a: 10deg; }
.header-dots .dot:nth-child(2){ --a: 55deg; }
.header-dots .dot:nth-child(3){ --a: 110deg; }
.header-dots .dot:nth-child(4){ --a: 165deg; }
.header-dots .dot:nth-child(5){ --a: 220deg; }
.header-dots .dot:nth-child(6){ --a: 275deg; }
.header-dots .dot:nth-child(7){ --a: 320deg; }

.image-pro:hover{
  border-color: var(--color-gold-claire-600);
}
.image-pro:hover ~ .header-dots .dot,
.header-dots .dot:hover{
  background: var(--color-gold-claire-600);
  transform: rotate(var(--a, 0deg)) translateX(var(--r)) scale(1.06);
}

.reseaux-container.is-hidden{
  display: none;
}

/* Promotional popup */
.promo-popup{
  position: fixed;
  top: 136px;
  left: 50%;
  z-index: 9998;
  width: min(360px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(237, 208, 140, .7);
  border-radius: 14px;
  background: var(--color-teal-900);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 80, 74, .28);
  font-family: "Inter", sans-serif;
  transform: translate(-50%, -10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.promo-popup.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.promo-popup-close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.promo-popup-close:hover{
  background: rgba(255, 255, 255, .22);
}

.promo-popup-kicker{
  display: inline-flex;
  margin: 0 34px 7px 0;
  color: var(--color-gold-claire-600);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.promo-popup-title{
  margin: 0 0 5px;
  color: var(--color-gold-claire-600);
  font-size: 1.28rem;
  line-height: 1.15;
  font-weight: 800;
}

.promo-popup-text{
  margin: 0 0 12px;
  line-height: 1.45;
  font-size: .95rem;
}

.promo-popup-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-gold-claire-600);
  color: var(--color-teal-900);
  font-weight: 800;
  text-decoration: none;
}

.promo-popup-link:hover{
  background: #fff2bf;
}

@media (min-width: 641px){
  .promo-popup{
    display: none;
  }
}

/* Header responsive */
@media (max-width: 640px){
  .menu{ padding-top: 72px; }
  .menu-sub{
    top: 12px; left: 50%;
    transform: translateX(-50%);
    max-width: 92%;
    padding: 10px 16px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    z-index: 1000;
  }

  .nav-btn{
    display: flex;
    width: 44px; height: 34px;
    flex-direction: column; justify-content: center;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-btn span{
    display:block; width:44px; height:4px;
    background:#fff; border-radius:2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-btn span + span{ margin-top:7px; }

  .menu-sub > ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(86vw, 320px);
    min-width: 260px;
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    margin-top: 8px;
    padding: 14px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(237, 208, 140, .58) rgba(255, 255, 255, .06);
    scrollbar-width: thin;
    background: var(--color-teal-900);
    border: 1px solid var(--color-gold-600);
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
  }
  .menu-sub > ul::-webkit-scrollbar{
    width: 8px;
  }
  .menu-sub > ul::-webkit-scrollbar-track{
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
  }
  .menu-sub > ul::-webkit-scrollbar-thumb{
    background: rgba(237, 208, 140, .58);
    border-radius: 999px;
  }
  .menu-sub > ul li{
    padding: 6px 2px;
    width: 100%;
    text-align: center;
  }
  .menu-sub > ul li.lang-switch{
    display: block;
    padding: 4px 2px 14px;
    margin-right: 0;
    margin-bottom: 4px;
    border-right: none;
    border-bottom: 0;
    background-position: center bottom;
    background-size: 180px 1px;
  }

  .lang-switch-toggle{
    min-width: 88px;
    margin: 0 auto;
  }

  .menu-sub > ul a{
    display: block;
    line-height: 1.35;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }

  .menu-item-has-submenu > .submenu{
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 6px;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    gap: 4px;
  }

  .menu-item-has-submenu:hover > .submenu,
  .menu-item-has-submenu:focus-within > .submenu{
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-item-has-submenu > .submenu a{
    padding: 6px 8px;
    font-size: .95rem;
    color: var(--color-gold-claire-600);
    background: transparent;
    border: 0;
    white-space: nowrap;
  }

  .lang-switch > .submenu{
    width: 100%;
    max-width: 180px;
    margin: 6px auto 0;
    padding: 8px;
    border: 1px solid rgba(237, 208, 140, .45);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
  }

  .lang-switch > .submenu a{
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #fff;
  }

  .nav-check{ position:absolute; opacity:0; pointer-events:none; }
  .nav-check:checked ~ ul{ display:flex; }

  .nav-check:checked + .nav-btn span:nth-child(1){
    transform: translateY(11px) rotate(45deg);
  }
  .nav-check:checked + .nav-btn span:nth-child(2){ opacity:0; }
  .nav-check:checked + .nav-btn span:nth-child(3){
    transform: translateY(-11px) rotate(-45deg);
  }

  .header{
    height: auto;
    min-height: 485px;
    overflow: visible;
  }
  .header-row{
    padding-top: 96px;
    text-align: center;
  }
  .header-logo{
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .header-slogan h1, .header-slogan .header-site-name{
    font-size: 1.9rem; line-height: 1.2; margin-bottom: .6rem;
  }
  .header-media{
    margin: 0 auto;
  }
  .header-dots{ display: none; }
}

@media (max-width: 592px){
  .header-row{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    /*padding-left: 8%;*/
    /*padding-right: 8%;*/
  }
  .header-slogan{
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
  .header-slogan h1,
  .header-slogan .header-site-name,
  .header-slogan .description{
    margin-left: auto;
    margin-right: auto;
  }
  .header-logo,
  .header-media{
    display: none;
  }
}

@media (max-width: 375px){
  .header{
    height: auto;
    min-height: 420px;
  }
  .header-row{
    padding-top: 90px;
    gap: 12px;
  }
  .header-logo{
    width: 110px;
    height: 110px;
  }
  .header-slogan h1, .header-slogan .header-site-name{
    font-size: 1.6rem;
  }
  .header-slogan .description{
    font-size: 0.95rem;
  }
  .header-media{
    width: 160px;
    height: 160px;
  }
  .image-pro{
    border-width: 12px;
  }
}

@media (max-width: 1024px){
  .header{
    height: clamp(440px, 50vh, 620px);
    min-height: 485px;
  }
  .header-logo{ width: 180px; height: 180px; }
  .header-slogan h1{ font-size: 2.2rem; }
}

@media (min-width: 641px){
  .menu-sub > ul{ display:flex; gap: 10px; }
}

@media (min-width: 1281px){
  .header{
    height: clamp(485px, 52vh, 695px);
    min-height: 485px;
  }
  .header-row{ max-width: 1320px; }
  .header-logo{ width: 240px; height: 240px; }
  .header-media{ width: calc(var(--hero-photo) + 48px); height: calc(var(--hero-photo) + 48px); }
}

@media (max-width: 1200px){
  .header-logo{ width: 200px; height: 200px; }
}

@media (max-width: 992px){
  .header{
    height: clamp(485px, 55vh, 675px);
    min-height: 485px;
  }
  .header-logo{ width: 180px; height: 180px; }
}

@media (min-width: 641px) and (max-height: 920px){
  .header{
    height: auto;
    min-height: 485px;
  }
}

@media (max-width: 820px){
  .header-logo{ width: 160px; height: 160px; }
  .header-slogan h1{ font-size: 2rem; }
}

/* ===== FOOTER (layout global) ===== */
#footer{
  font-family: "Playwrite US Modern","Alex Brush", serif;
  position: relative;
  background: var(--color-teal-900);
  color: #fff;
  padding: 40px 3%;
  overflow: hidden;
  display: flex;
  gap: 15px;
  flex-direction: column;
}
#footer::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(237, 208, 140, 0.16), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(237, 208, 140, 0.10), transparent 42%);
}
#footer > *{
  position: relative;
  z-index: 1;
}

.information-etablissement{
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 15%;
  overflow: hidden;
  align-items: center;
  text-align: center;
}

.information-etablissement p {
  line-height: normal;
}
.information-etablissement p + p{
  margin-top: 8px;
}

.container-footer{
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: flex-start;
}
.article-footer-establishment{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 6px 8px;
  transition: background-color .25s ease, transform .25s ease;
}
.article-footer-establishment:hover{
  background: rgba(237, 208, 140, 0.12);
  transform: translateY(-1px);

}
.article-footer-establishment img{
  filter: var(--icon-filter-light);
  transition: filter .22s ease, transform .22s ease;
}
.article-footer-establishment:hover img,
.article-footer-establishment:focus-within img{
  filter: var(--icon-filter-gold-claire);
  transform: scale(1.06);
}

.establishment-info-detail{
  text-align: center;
  width: 100%;
}
.establishment-info-detail h3,
.reseaux-container h3{
  color: var(--color-gold-claire-600);
  margin-bottom: 20px;
}

.establishment{
  display: flex;
  flex-direction: column;   /* éléments les uns sous les autres */
  align-items: center;      /* centre horizontalement */
  width: fit-content;       /* prend la largeur minimale */
  max-width: 30%;
  border: 1px solid rgba(237, 208, 140, 0.25);
  border-radius: 14px;
  padding: 16px 18px;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  transition: transform .28s ease, border-color .28s ease, background-color .28s ease;
}
.establishment:hover{
  transform: translateY(-2px);
  border-color: rgba(237, 208, 140, 0.65);
  background: rgba(255,255,255,0.06);
}
.establishment h4{
  color: var(--color-gold-claire-600);
}
.establishment > img{
  filter: var(--icon-filter-light);
  transition: filter .25s ease, transform .25s ease;
}
.establishment:hover > img{
  filter: var(--icon-filter-gold-claire);
  transform: translateY(-1px) scale(1.05);
}
.establishment a{
  color: #fff;
  text-underline-offset: 0.2em;
  transition: color .2s ease;
}
.establishment a:hover{
  color: var(--color-gold-claire-600);
}
.establishment > p{
  margin-bottom: 6px;
}

.establishment-container{
  width: 100%;
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
  justify-content: center;
}
.information-etablissement-image-container{
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.information-etablissement-image-container a{
  width: 100%;
}

.article-footer-establishment + .article-footer-establishment{
  margin-top: 6px;
}
.article-footer-establishment img{
  margin-top: 2px;
  flex-shrink: 0;
}
.article-footer-establishment p,
.article-footer-establishment a{
  line-height: 1.4;
}

.information-etablissement-image-container img{
  transition: transform .28s ease, filter .28s ease, opacity .28s ease;
}
.information-etablissement-image-container img:hover{
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}
.footer-logo{
  display: flex;
}
.footer-logo img{
  width: 100%;
  max-width: 180px;
  height: auto;
  transition: transform .35s ease, filter .35s ease;
}
.footer-logo img:hover{
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(237, 208, 140, .35));
}

.reseaux{
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.reseaux a{
  display: inline-flex;
  border-radius: 999px;
  padding: 2px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.reseaux a:hover{
  background: rgba(237, 208, 140, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
}
.reseaux a:active{
  transform: translateY(0) scale(.97);
}
#footer a:focus-visible{
  outline: 2px solid var(--color-gold-claire-600);
  outline-offset: 2px;
  border-radius: 8px;
}
.reseaux img{
  transition: transform .2s ease, filter .2s ease;
}
.reseaux a:hover img{
  transform: scale(1.08);
  filter: brightness(1.08);
}

.footer-jump-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 24px auto 12px;
  border-radius: 50%;
  border: 1px solid rgba(237, 208, 140, 0.5);
  background: var(--color-teal-900);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 80, 74, 0.28);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.footer-jump-btn img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-jump-btn:hover{
  background: #1c6a62;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(20, 80, 74, 0.36);
}

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

.footer-jump-btn:focus-visible{
  outline: 2px solid var(--color-gold-claire-600);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 800px){
  #footer{ padding: 32px 6%; }
  .container-footer{ flex-direction: column; }
  .information-etablissement{ max-width: 100%; }
  .establishment{ max-width: 100%; width: 100%; align-items: flex-start; }
  .establishment-container{ flex-direction: column; }
  .reseaux{ margin-top: 20px; }
  .footer-logo{ justify-content: flex-start; }
  .footer-jump-btn{
    width: 48px;
    height: 48px;
    margin: 18px auto 10px;
  }
  .footer-jump-btn img{
    width: 22px;
    height: 22px;
  }
}
