/* ═══════════════════════════════════════════════════════════
   footer.css — Styles du footer Dagicour Projection
   Design moderne 2025 — avec rouge #E73630
   Dépendances : global.css
   ═══════════════════════════════════════════════════════════ */

/* ──────────────── PRÉ-FOOTER (CTA CONVERSION) ──────────────── */
.pre-footer {
  background: linear-gradient(145deg, var(--color-red) 0%, #b81e18 100%);
  color: var(--color-white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.pre-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255,237,0,0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255,255,255,0.05) 0%, transparent 35%);
  pointer-events: none;
}

.pre-footer::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255,237,0,0.3), var(--color-accent));
}

@media (min-width: 768px) {
  .pre-footer {
    padding: 64px 0;
  }
}

.pre-footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pre-footer-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border: 2px solid rgba(255,255,255,0.25);
}

.pre-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.pre-footer .btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.pre-footer .btn-white:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.pre-footer h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--color-white);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.pre-footer p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pre-footer .btn-primary {
  background-color: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
  font-size: var(--text-base);
  padding: 14px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pre-footer .btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

/* ──────────────── CORPS DU FOOTER ──────────────── */
.footer-body {
  background: linear-gradient(180deg, #001a28 0%, #001422 100%);
  color: rgba(255, 255, 255, 0.80);
  padding: 72px 0 48px;
  position: relative;
}

.footer-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-red), var(--color-accent), var(--color-red));
}

@media (min-width: 768px) {
  .footer-body {
    padding: 80px 0 52px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

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

/* ──────────────── COLONNES FOOTER ──────────────── */
.footer-col-brand {
  max-width: 300px;
}

.footer-col-brand img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 60px;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin-bottom: 22px;
}

.footer-certifs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-certifs img {
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-certifs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-certif-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 237, 0, 0.1);
  border: 1px solid rgba(255, 237, 0, 0.3);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  transition: background var(--transition), border-color var(--transition);
}

.footer-certif-badge:hover {
  background: rgba(255, 237, 0, 0.18);
  border-color: var(--color-accent);
}

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

/* ──────────────── TITRES COLONNES ──────────────── */
.footer-col-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), var(--color-accent));
  border-radius: 2px;
}

/* ──────────────── LIENS FOOTER ──────────────── */
.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-red);
  transition: width var(--transition);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-links a:hover::before {
  width: 12px;
}

/* ──────────────── ADRESSE FOOTER ──────────────── */
.footer-address {
  font-size: 0.875rem;
  line-height: 1.85;
}

.footer-contact-item {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-address p {
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-address a:hover {
  color: var(--color-accent);
}

/* ──────────────── ZONES FOOTER ──────────────── */
.footer-zones {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-zones-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-zones-title::before {
  content: '';
  width: 12px;
  height: 1.5px;
  background: var(--color-red);
  flex-shrink: 0;
}

.footer-zones p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.75;
}

/* ──────────────── FOOTER BAS ──────────────── */
.footer-bottom {
  background: #000d18;
  padding: 22px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 12px;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.70);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ══ LOGO CERTIFICATIONS FOOTER ══ */
.footer-certif-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.footer-certif-logos img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.80;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-certif-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ══ LOGO CARDS (fond blanc) ══ */
.footer-certif-logo-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-certif-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.footer-certif-logos .footer-certif-logo-card img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* ══ FOOTER BOTTOM LINKS ══ */
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 2px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 0.2s;
  line-height: 1;
}

.footer-bottom-links a:first-child {
  padding-left: 0;
}

.footer-bottom-links a:last-child {
  border-right: none;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}
