/*
 * Footer Optic Chic — maquette 2026-08
 */

.oc-footer {
  --oc-footer-pink: #f33680;
  --oc-footer-green: #9bc431;
  --oc-footer-blue: #3d9be9;
  --oc-footer-dark: #2a2a2a;
  background-color: var(--oc-footer-pink);
  color: #fff;
  position: relative;
  z-index: 2;
}

.oc-footer a {
  color: #fff;
  text-decoration: none;
}

.oc-footer a:hover,
.oc-footer a:focus {
  color: #fff;
  text-decoration: underline;
}

.oc-footer__main {
  padding: clamp(2rem, 4vw, 3.5rem) 0 2rem;
}

.oc-footer__grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(120px, 1fr)) minmax(180px, 1.15fr) minmax(160px, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.oc-footer__brand-logo {
  display: inline-block;
  max-width: 220px;
  margin-bottom: 0.75rem;
}

.oc-footer__brand-logo img {
  width: 100%;
  height: auto;
}

.oc-footer__tagline {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 18ch;
}

.oc-footer__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oc-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background-color: var(--oc-footer-green);
  color: #fff;
  text-decoration: none;
}

.oc-footer__social a:hover,
.oc-footer__social a:focus {
  background-color: #fff;
  color: var(--oc-footer-pink);
  text-decoration: none;
}

.oc-footer__heart {
  color: #fff;
  font-size: 1.1rem;
  margin-left: 0.15rem;
}

.oc-footer__heading {
  margin: 0 0 0.85rem;
  color: var(--oc-footer-green);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.oc-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oc-footer__links li + li {
  margin-top: 0.4rem;
}

.oc-footer__links a {
  font-size: 0.92rem;
}

.oc-footer__infos {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oc-footer__infos li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.4;
}

.oc-footer__infos li + li {
  margin-top: 0.85rem;
}

.oc-footer__infos i {
  color: var(--oc-footer-green);
  margin-top: 0.15rem;
  width: 1rem;
  text-align: center;
}

.oc-footer__cta {
  background-color: var(--oc-footer-blue);
  color: #fff;
  text-align: center;
  padding: 1.5rem 1.15rem 1.25rem;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
}

.oc-footer__cta-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.oc-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background-color: var(--oc-footer-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.2rem;
}

.oc-footer__cta-btn:hover,
.oc-footer__cta-btn:focus {
  background-color: #fff;
  color: var(--oc-footer-pink);
  text-decoration: none;
}

.oc-footer__bar {
  background-color: var(--oc-footer-dark);
  color: #fff;
  padding: 0.65rem 0;
  font-size: 0.78rem;
}

.oc-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.oc-footer__bar a {
  color: #fff;
}

.oc-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oc-footer__credit {
  margin: 0;
}

.oc-footer__credit i {
  color: var(--oc-footer-green);
}

@media (max-width: 1199.98px) {
  .oc-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oc-footer__brand,
  .oc-footer__cta {
    grid-column: span 1;
  }
}

@media (max-width: 767.98px) {
  .oc-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .oc-footer__brand,
  .oc-footer__cta,
  .oc-footer__col--infos {
    grid-column: 1 / -1;
  }

  .oc-footer__tagline {
    max-width: none;
  }

  .oc-footer__bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .oc-footer__legal {
    justify-content: center;
  }
}
