/* ─── Footer — Premium agency redesign ─── */

.ys-footer {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
}

/* ── Section 1 : Logo + Navigation ── */

.ys-footer__top {
  background: #fff;
  padding: 5rem 0 3rem;
}

.ys-footer__top-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.ys-footer__logo {
  flex-shrink: 0;
}

.ys-footer__logo-img {
  height: 44px;
  width: auto;
}

.ys-footer__nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.ys-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ys-footer__nav-link {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.ys-footer__nav-link:hover {
  color: #000;
}

/* ── Section 2 : Newsletter ── */

.ys-footer__newsletter-section {
  background: #fff;
  padding: 0 0 4rem;
}

.ys-footer__newsletter-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.ys-footer__newsletter {
  max-width: 540px;
}

.ys-footer__newsletter-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ys-footer__newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.ys-footer__newsletter-input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  color: #333;
  font-size: 0.9rem;
}

.ys-footer__newsletter-input::placeholder {
  color: #999;
}

.ys-footer__newsletter-input:focus {
  outline: none;
  border-color: #333;
}

.ys-footer__newsletter-btn {
  padding: 0.85rem 2rem;
  background: transparent;
  color: #3B82F6;
  border: 1px solid #3B82F6;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ys-footer__newsletter-btn:hover {
  background: #3B82F6;
  color: #fff;
}

.ys-footer__newsletter-privacy {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

.ys-footer__newsletter-privacy-link {
  color: #333;
  text-decoration: underline;
}

.ys-footer__newsletter-ok {
  font-size: 0.9rem;
  color: #22c55e;
  font-weight: 600;
}

.ys-footer__newsletter-error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.5rem;
}

/* ── Section 3 : Socials + Offices ── */

.ys-footer__mid {
  background: #f0f0f0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
}

.ys-footer__mid-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ys-footer__social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-shrink: 0;
}

.ys-footer__social-link {
  color: #333;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.ys-footer__social-link:hover {
  color: #000;
}

.ys-footer__social-link svg {
  width: 22px;
  height: 22px;
}

.ys-footer__offices {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 2rem;
}

.ys-footer__office {
  display: flex;
  flex-direction: column;
}

.ys-footer__office-city {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  margin-bottom: 0.15rem;
}

.ys-footer__office-line {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #333;
  line-height: 1.4;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Sections 4-5 : Technos & Secteurs rows ── */

.ys-footer__tags-section {
  background: #f0f0f0;
  padding: 0 0 1.5rem;
}

.ys-footer__tags-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ys-footer__tags-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid #ddd;
}

.ys-footer__tags-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid #333;
  border-radius: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #333;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ys-footer__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  align-items: center;
}

.ys-footer__tags-link {
  font-size: 0.75rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.ys-footer__tags-link:hover {
  color: #000;
}

/* ── Section 6 : Trust bar ── */

.ys-footer__trust {
  background: #e5e5e5;
  padding: 1.5rem 0;
}

.ys-footer__trust-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ys-footer__trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  border-right: 1px solid #ccc;
  flex: 1;
  justify-content: center;
}

.ys-footer__trust-item:first-child {
  padding-left: 0;
  justify-content: flex-start;
}

.ys-footer__trust-item:last-child {
  border-right: none;
  padding-right: 0;
}

.ys-footer__trust-nps {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ys-footer__trust-nps strong {
  display: block;
  font-size: 0.85rem;
  color: #1a1a1a;
}

.ys-footer__trust-sublabel {
  display: block;
  font-size: 0.75rem;
  color: #777;
}

.ys-footer__trust-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #555;
}

.ys-footer__stars {
  display: inline-flex;
  gap: 1px;
  color: #1a1a1a;
}

.ys-footer__trust-review {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ys-footer__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4267B2;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.ys-footer__trust-prefix {
  display: block;
  font-size: 0.7rem;
  color: #888;
}

.ys-footer__trust-review strong {
  font-size: 0.85rem;
  color: #1a1a1a;
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .ys-footer__tags-list {
    gap: 0.25rem 1rem;
  }
}

@media (max-width: 991px) {
  .ys-footer__top-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .ys-footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .ys-footer__mid-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .ys-footer__offices {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .ys-footer__trust-inner {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .ys-footer__trust-item {
    border-right: none;
    padding: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .ys-footer__top {
    padding: 3rem 0 2rem;
  }

  .ys-footer__top-inner,
  .ys-footer__newsletter-inner,
  .ys-footer__mid-inner,
  .ys-footer__tags-inner,
  .ys-footer__trust-inner {
    padding: 0 1.5rem;
  }

  .ys-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .ys-footer__newsletter-section {
    padding: 0 0 2.5rem;
  }

  .ys-footer__newsletter-form {
    flex-direction: column;
  }

  .ys-footer__offices {
    flex-direction: column;
    gap: 1rem;
  }

  .ys-footer__tags-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .ys-footer__tags-list {
    gap: 0.5rem 1rem;
  }

  .ys-footer__trust-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ys-footer__trust-item {
    border-right: none;
    padding: 0;
    width: 100%;
    justify-content: flex-start;
  }
}
