/* Footer catalogue recettes — Pen Desktop V1 / Mobile V1
   Scoped to .rc-footer only (recettes.html). Does not touch .site-footer. */

.rc-footer {
  background: #1a3328;
  color: #ffffff;
  margin: 0;
  margin-top: 0.5rem;
  padding: 0;
  width: 100%;
}

.rc-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 36px 20px 28px;
  box-sizing: border-box;
}

.rc-footer__top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
}

.rc-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 280px;
  margin: 0;
}

.rc-footer__signature-wrap {
  display: flex;
  flex-direction: column;
}

.rc-footer__signature {
  margin: 0;
  font-family: var(--font-display, Literata, Georgia, serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #ffffff;
}

.rc-footer__tagline {
  margin: 0;
  width: 100%;
  max-width: 280px;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: #c8d5ce;
}

.rc-footer__nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.rc-footer__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* Mobile: INFOS alone under RECETTES | GUIDES */
.rc-footer__group--infos {
  grid-column: 1 / -1;
}

.rc-footer__heading {
  margin: 0;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #ffffff;
}

.rc-footer__group a {
  margin: 0;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.35;
  color: #c8d5ce;
  text-decoration: none;
}

.rc-footer__group a:hover {
  color: #ffffff;
}

.rc-footer__group a:focus-visible {
  outline: 2px solid #e86a2b;
  outline-offset: 2px;
  border-radius: 2px;
}

.rc-footer__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: #2e4a3e;
}

.rc-footer__copy {
  margin: 0;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: #a8b8b0;
}

@media (min-width: 900px) {
  .rc-footer__signature {
    font-size: 1.25rem;
  }

  .rc-footer__inner {
    gap: 0;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 44px 28px;
    box-sizing: border-box;
  }

  .rc-footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(24px, 2.5vw, 40px);
    width: 100%;
    min-width: 0;
  }

  .rc-footer__brand {
    flex: 0 1 260px;
    width: auto;
    max-width: 280px;
    min-width: min(220px, 100%);
  }

  .rc-footer__tagline {
    width: 100%;
    max-width: 280px;
  }

  .rc-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(20px, 2.4vw, 32px);
    row-gap: 20px;
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .rc-footer__group--infos {
    grid-column: auto;
  }

  .rc-footer__divider {
    margin-top: 28px;
    margin-bottom: 18px;
  }

  .rc-footer__copy {
    line-height: 1.3;
  }
}

@media (min-width: 900px) and (max-width: 1024px) {
  .rc-footer__inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .rc-footer__brand {
    flex: 0 1 220px;
    min-width: min(180px, 100%);
  }

  .rc-footer__nav {
    column-gap: 16px;
  }
}
