/* ================================================
   GLOBAL — L'Affranchi Vidéo
   Header · Marquee · Footer · Base
   ================================================ */

* { margin:0; padding:0; box-sizing:border-box; }

html, body {
  font-family:'Outfit',sans-serif;
  background:#000;
  color:#fff;
  overflow-x:hidden;
  max-width:100%;
  width:100%;
}

/* ===== HEADER ===== */

.top-bar {
  position:relative;
  width:100%;
  height:130px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  z-index:3000;
  border-bottom:1px solid #111;
}

.top-menu a {
  margin-right:25px;
  text-decoration:none;
  color:#fff;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0.9;
  transition:0.3s;
  position:relative;
  padding-bottom:4px;
}

.top-menu a::after {
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0%;
  height:1px;
  background:#ff0000;
  transition:width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-menu a:hover { opacity:1; letter-spacing:2px; }
.top-menu a:hover::after { width:100%; }

.logo-center {
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-43.5%);
}

.logo-center a { display:block; text-decoration:none; }

.logo-center img {
  height:350px;
  transition:filter 0.4s ease, transform 0.4s ease;
  filter:brightness(1) drop-shadow(0 0 0px rgba(255,255,255,0));
}

.logo-center a:hover img {
  transform:scale(1.05);
  filter:brightness(1.3) drop-shadow(0 0 18px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(255,200,0,0.3));
}

.social-right {
  display:flex;
  align-items:center;
  gap:18px;
}

.social-right a {
  color:#fff;
  text-decoration:none;
  opacity:0.7;
  transition:0.3s;
  display:flex;
  align-items:center;
}

.social-right a:hover { opacity:1; }

.social-icon {
  width:22px; height:22px;
  object-fit:contain;
  display:block;
  transition:transform 0.3s ease;
}

.social-right a:hover .social-icon { transform:scale(1.15); }

/* ===== MARQUEE ===== */

.marquee {
  position:relative;
  width:100%;
  height:44px;
  min-height:44px;
  max-height:44px;
  overflow:hidden;
  background:#000;
  border-top:1px solid #111;
  border-bottom:1px solid #111;
  z-index:2000;
  display:flex;
  align-items:center;
}

.marquee-track {
  display:flex;
  align-items:center;
  will-change:transform;
  white-space:nowrap;
}

.marquee-item { display:inline-flex; align-items:center; flex-shrink:0; }

.marquee-item .w {
  font-size:20px; font-weight:700;
  letter-spacing:2px; color:#fff; margin-right:10px;
}

.marquee-item .r {
  font-size:20px; font-weight:700;
  letter-spacing:2px; color:#ff0000; margin-right:60px;
}

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

.footer-main {
  background:#000;
  border-top:1px solid rgba(255,255,255,0.1);
  padding:80px 60px 0 60px;
}

.footer-top {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.6fr;
  gap:60px;
  padding-bottom:60px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height:280px;
  margin-bottom:16px;
  display:block;
  margin-left:-10px;
}

.footer-cinematic-wrap { display:block; margin-bottom:16px; }
.footer-cinematic-svg { display:block; height:58px; width:auto; }

.footer-tagline {
  font-size:13px;
  font-weight:400;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.4);
  margin-bottom:24px;
}

.footer-socials { display:flex; gap:10px; }

.footer-social-btn {
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px; height:42px;
  border:1px solid rgba(255,255,255,0.2);
  text-decoration:none;
  transition:all 0.3s ease;
}

.footer-social-btn:hover {
  border-color:#fff;
  background:rgba(255,255,255,0.05);
}

.social-icon-footer {
  width:22px; height:22px;
  object-fit:contain;
  display:block;
  filter:brightness(0.7);
  transition:filter 0.3s ease, transform 0.3s ease;
}

.footer-social-btn:hover .social-icon-footer {
  filter:brightness(1);
  transform:scale(1.15);
}

.footer-col-title {
  font-size:16px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#fff;
  margin-bottom:24px;
}

.footer-links { list-style:none; }
.footer-links li { margin-bottom:12px; }

.footer-links a {
  text-decoration:none;
  font-size:16px;
  font-weight:300;
  color:rgba(255,255,255,0.5);
  letter-spacing:0.5px;
  transition:color 0.3s ease;
}

.footer-links a:hover { color:#fff; }

.footer-form { display:flex; flex-direction:column; gap:10px; }

.footer-input, .footer-textarea {
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:15px;
  padding:16px 18px;
  outline:none;
  transition:border-color 0.3s ease;
  resize:none;
}

.footer-input::placeholder,
.footer-textarea::placeholder { color:rgba(255,255,255,0.3); }

.footer-input:focus,
.footer-textarea:focus { border-color:rgba(255,255,255,0.4); }

.footer-textarea { height:80px; }

.footer-submit {
  background:transparent;
  border:1px solid rgba(255,255,255,0.5);
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:14px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:17px;
  cursor:pointer;
  transition:all 0.3s ease;
}

.footer-submit:hover { background:#fff; color:#000; }

.footer-guarantee {
  font-size:15px;
  color:rgba(255,255,255,0.7);
  letter-spacing:1px;
  text-align:center;
  margin-top:10px;
}

.footer-main a { color:inherit; text-decoration:none; }

.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 0;
}

.footer-copy {
  font-size:15px;
  color:rgba(255,255,255,0.5);
  letter-spacing:1px;
}

.footer-legal {
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
}

.footer-legal a {
  font-size:15px;
  color:rgba(255,255,255,0.5);
  text-decoration:none;
  letter-spacing:0.5px;
  transition:color 0.3s ease;
}

.footer-legal a:hover { color:#fff; }
.footer-legal span { color:rgba(255,255,255,0.2); font-size:10px; }

/* ===== RESPONSIVE GLOBAL ===== */

/* ── Fenêtre ancrée large (1367px – 1439px) ────────────────
   Fenêtre à moitié-écran sur un grand bureau :
   le logo reste centré en absolute, on réduit juste un peu.   */
@media(max-width:1439px) and (min-width:1367px) {
  .top-bar { height:120px; padding:0 50px; }
  .logo-center {
    position:absolute;
    left:50%; top:50%;
    transform:translate(-50%,-43.5%);
  }
  .logo-center img { height:310px; }
}

/* ── Fenêtre ancrée moyenne (1025px – 1366px) ──────────────
   Ex: fenêtre ancrée sur un écran 1920px ou écran 1366px.
   Le logo reste centré EN ABSOLUTE dans le header.            */
@media(max-width:1366px) and (min-width:1025px) {
  .top-bar {
    height:110px;
    padding:0 32px;
    position:relative;
    overflow:visible;
  }
  /* Nav & socials masqués → hamburger géré par components.css */
  .logo-center {
    position:absolute;
    left:50%; top:50%;
    transform:translate(-50%,-43.5%);
    margin:0;
    z-index:10;
  }
  .logo-center img { height:270px; }
  .top-menu a { font-size:11px; margin-right:14px; }
  .social-icon { width:20px; height:20px; }
}

/* ── Fenêtre ancrée petite / tablette paysage (768px – 1024px) ─
   Hamburger affiché, logo centré en absolute.                 */
@media(max-width:1024px) and (min-width:768px) {
  .top-bar {
    height:90px;
    padding:0 24px;
    position:relative;
    overflow:visible;
  }
  .logo-center {
    position:absolute;
    left:50%; top:50%;
    transform:translate(-50%,-43.5%);
    margin:0;
    z-index:10;
  }
  .logo-center img { height:220px; }
}

/* ── Mobile (< 768px) ──────────────────────────────────────
   Logo petit aligné à gauche, géré conjointement
   avec components.css qui override en !important.            */
@media(max-width:767px) {
  .top-bar { height:90px; padding:0 16px; }
  .logo-center img { height:78px; }
  .footer-top { grid-template-columns:1fr; gap:40px; }
  .footer-main { padding:50px 20px 0 20px; }
  .footer-input,
  .footer-textarea,
  .footer-submit { width:100%; box-sizing:border-box; }
  .footer-form { width:100%; }
  .footer-bottom { flex-direction:column; gap:16px; text-align:center; }
  .footer-legal { justify-content:center; gap:16px; }
}
