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

/* Bande CTA */
.footer-cta-band {
  background: var(--c-accent-lt);
  border-top: 1px solid var(--c-line);
  padding: var(--sp-8) 0;
}

.footer-cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  align-items: flex-start;
}

.footer-cta-band__title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}

.footer-cta-band__sub {
  font-size: var(--t-sm);
  color: var(--c-muted);
  margin: 0;
}

.footer-cta-band__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Corps footer */
.footer-body {
  background: var(--c-surface);
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--c-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

/* Logo footer */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  text-decoration: none;
}

.footer-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: var(--t-base);
  font-weight: 600;
  flex-shrink: 0;
}

.footer-logo__name {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--c-ink);
}

.footer-tagline {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

/* Adresse */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-address__line {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.footer-address__line svg {
  flex-shrink: 0;
  color: var(--c-accent);
}

.footer-tel {
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-tel:hover {
  color: var(--c-accent);
}

/* Titres colonnes */
.footer-col__title {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-subtle);
  margin-bottom: var(--sp-4);
}

/* Liens footer */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-link {
  font-size: var(--t-sm);
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
  line-height: 1.4;
}

.footer-link:hover {
  color: var(--c-accent);
}

.footer-link--more {
  color: var(--c-accent);
  font-weight: 500;
  margin-top: var(--sp-1);
}

/* Horaires */
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.footer-hours__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-sm);
}

.footer-hours__row dt {
  color: var(--c-ink);
  font-weight: 500;
}

.footer-hours__row dd {
  color: var(--c-muted);
}

.footer-hours__row--closed dt,
.footer-hours__row--closed dd {
  color: var(--c-subtle);
}

.footer-visio-note {
  font-size: var(--t-xs);
  color: var(--c-subtle);
  font-style: italic;
  line-height: 1.5;
}

/* Barre légale */
.footer-bar {
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  padding: var(--sp-4) 0;
}

.footer-bar__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}

.footer-bar__copy {
  font-size: var(--t-xs);
  color: var(--c-subtle);
  margin: 0;
}

.footer-bar__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bar__link {
  font-size: var(--t-xs);
  color: var(--c-subtle);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-bar__link:hover {
  color: var(--c-accent);
}

/* Responsive footer */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-cta-band__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bar__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: auto;
  }
}


/* ============================================================
   ACCORDÉON FOOTER — mobile uniquement
   ============================================================ */
.footer-col__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--c-line);
  padding: var(--sp-4) 0;
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-subtle);
  cursor: pointer;
  text-align: left;
}

.footer-col__toggle:hover {
  color: var(--c-accent);
}

/* Chevron animé */
.footer-col__chevron {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.footer-col__chevron::before,
.footer-col__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}

.footer-col__chevron::before {
  left: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.footer-col__chevron::after {
  right: 1px;
  transform: translateY(-50%) rotate(-45deg);
}

.footer-col__toggle[aria-expanded="true"] .footer-col__chevron::before {
  transform: translateY(-50%) rotate(-45deg);
}

.footer-col__toggle[aria-expanded="true"] .footer-col__chevron::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Corps accordéon */
.footer-col__body {
  padding-top: var(--sp-3);
}

.footer-col__body[hidden] {
  display: none;
}

/* Desktop : titre redevient un h3 visuel */
@media (min-width: 768px) {
  .footer-col__toggle {
    border-bottom: none;
    padding: 0 0 var(--sp-4) 0;
    cursor: default;
    pointer-events: none;
  }

  .footer-col__chevron {
    display: none;
  }

  .footer-col__body {
    padding-top: 0;
  }
}