/* ================================
   FOOTER — Maison Kaya
   ================================ */

:root {
  --bordeaux:   #571424;
  --beige:      #f3f4f0;
  --beige-dim:  rgba(243, 244, 240, 0.5);  /* beige atténué */
  --beige-line: rgba(243, 244, 240, 0.15); /* ligne séparation */
  --font:       "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ================================
   FOOTER WRAPPER
   ================================ */

.footer {
  background-color: var(--bordeaux);
  color: var(--beige);
  font-family: var(--font);
  padding: 5rem 5% 0;
  overflow: hidden;
}

/* ================================
   GRID PRINCIPAL — 4 colonnes
   ================================ */

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

/* ================================
   COLONNE BRAND
   ================================ */

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer__logo-link {
  display: inline-block;
}

/* Logo petit (haut du footer) — inversé en blanc */
.footer__logo-small {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1); /* force en blanc */
}

.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--beige-dim);
  font-weight: 300;
}

/* Icônes réseaux sociaux */
.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--beige-line);
  color: var(--beige);

  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  background: rgba(243, 244, 240, 0.12);
  border-color: var(--beige);
  transform: translateY(-2px);
}

/* ================================
   COLONNES LIENS
   ================================ */

.footer__heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 1.4rem;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__list li,
.footer__list a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--beige-dim);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.footer__list a:hover {
  color: var(--beige);
}

/* Contact spécifique */
.footer__list--contact li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--beige-dim);
}

.footer__hours {
  margin-top: 0.3rem;
  font-size: 0.78rem !important;
  opacity: 0.6;
}

/* Bouton Réserver dans footer */
.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 1.5rem;
  height: 38px;
  padding: 0 1.8rem;

  background: transparent;
  color: var(--beige);
  border: 1px solid var(--beige-line);
  border-radius: 999px;

  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;

  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer__btn:hover {
  background: rgba(243, 244, 240, 0.12);
  border-color: var(--beige);
}

/* ================================
   SÉPARATEUR
   ================================ */

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--beige-line);
  margin: 0;
}


/* ================================
   GRAND LOGO EN BAS
   ================================ */

.footer__big-logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 3rem;

  /* Légèrement rogné en bas pour un effet graphique */
  margin-bottom: -0.5rem;
}

.footer__logo-big {
  width: 90%;          /* quasi pleine largeur */
  max-width: 1000px;
  height: auto;
  display: block;
margin-top: -15%;   
}

/* ================================
   COPYRIGHT
   ================================ */

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--beige-dim);
  font-weight: 300;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--beige-dim);
}

.footer__legal a {
  color: var(--beige-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--beige);
}

.footer__legal span {
  opacity: 0.4;
}

/* ================================
   RESPONSIVE — TABLETTE (900px)
   ================================ */

@media (max-width: 900px) {
  .footer {
    padding: 4rem 5% 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Brand pleine largeur et centré */
  .footer__col--brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__logo-big {
    width: 100%;
  }
}

/* ================================
   RESPONSIVE — MOBILE (480px)
   ================================ */

@media (max-width: 480px) {
  .footer {
    padding: 3rem 6% 0;
  }

  /* Logo centré */
  .footer__col--brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer__tagline {
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  /* Les 3 colonnes liens côte à côte */
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }

  /* Brand reprend toute la largeur */
  .footer__col--brand {
    grid-column: 1 / -1;
  }

  /* Headings plus petits */
  .footer__heading {
    font-size: 0.65rem;
    margin-bottom: 1rem;
  }

  /* Liens plus compacts */
  .footer__list {
    gap: 0.5rem;
  }

  .footer__list li,
  .footer__list a {
    font-size: 0.78rem;
  }

  /* Bouton réserver centré */
  .footer__btn {
    align-self: center;
    margin-top: 1rem;
  }

  /* Copyright empilé */
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Grand logo pleine largeur */
  .footer__logo-big {
    width: 130%;
    margin-left: -15%;
  }
}
