/* 8UP Media — shell unifié (header, marquee, footer, portfolio) */

/* Logo cohérent partout */
.logo-mark {
  background: #FF6500 !important;
  color: #fff !important;
}

/* Marquee : fond clair harmonisé (jamais sombre) */
.marquee-section {
  padding: 22px 0 !important;
  border-top: 1px solid #E8E8E8 !important;
  border-bottom: 1px solid #E8E8E8 !important;
  overflow: hidden !important;
  background: #FAFAF9 !important;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: shellMarquee 32s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.marquee-dot {
  width: 5px;
  height: 5px;
  background: #FF6500;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes shellMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Footer unifié */
.shell-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 0 0;
  font-family: 'Century Gothic', CenturyGothic, 'Jost', sans-serif;
}
.shell-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.shell-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.shell-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.shell-footer-logo-mark {
  width: 36px;
  height: 36px;
  background: #FF6500;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.shell-footer-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.shell-footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}
.shell-footer-contact {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}
.shell-footer-contact a {
  color: inherit;
  text-decoration: none;
}
.shell-footer-contact a:hover { color: #FF6500; }
.shell-footer h3 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.shell-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shell-footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.shell-footer-links a:hover { color: #FF6500; }
.shell-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.shell-footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.shell-footer-legal {
  display: flex;
  gap: 20px;
}
.shell-footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.shell-footer-legal a:hover { color: #FF6500; }
@media (max-width: 900px) {
  .shell-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .shell-footer-grid { grid-template-columns: 1fr; }
  .shell-footer-bottom { flex-direction: column; text-align: center; }
}

/* Portfolio réalisations */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.portfolio-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid #E8E8E8;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.2s;
}
.portfolio-tab:hover { border-color: #FF6500; color: #FF6500; }
.portfolio-tab.active {
  background: #FF6500;
  border-color: #FF6500;
  color: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
.portfolio-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: #FF6500;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 101, 0, 0.08);
}
.portfolio-card-head {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #F0F0F0;
}
.portfolio-card-tld {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FF6500;
  background: #FFF0E6;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.portfolio-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0A0A0A;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.portfolio-card-url {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  word-break: break-all;
}
.portfolio-card-url:hover { color: #FF6500; }
.portfolio-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #FAFAF9;
  border: 1px solid #E8E8E8;
  color: #555;
}
.portfolio-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 16px;
  flex: 1;
}
.portfolio-result {
  font-size: 13px;
  font-weight: 700;
  color: #FF6500;
  margin-bottom: 16px;
}
.portfolio-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: #FF6500;
  border: 1.5px solid #FF6500;
  text-decoration: none;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.portfolio-card-cta:hover {
  background: #D95400;
  border-color: #D95400;
  text-decoration: none;
  transform: translateY(-1px);
}
.portfolio-enterprise .portfolio-card-cta {
  background: transparent;
  color: #FF8533 !important;
  border-color: #FF8533;
}
.portfolio-enterprise .portfolio-card-cta:hover {
  background: #FF6500;
  color: #fff !important;
}

/* CTA villes : texte toujours lisible */
.cta-final h3,
.cta-final p,
.cta-final em {
  color: #fff !important;
}
section.cta-ville,
.cta-final-ville {
  background: linear-gradient(135deg, #FF6500 0%, #E85D00 100%) !important;
}
section.cta-ville h2,
section.cta-ville p,
section.cta-ville a,
.cta-final-ville h3,
.cta-final-ville p {
  color: #fff !important;
}
section.cta-ville a.btn-white,
.cta-final .btn {
  color: #FF6500 !important;
  background: #fff !important;
}
section.cta-ville a.btn-ghost,
.cta-final .btn-ghost {
  color: #fff !important;
  background: transparent !important;
  border-color: #fff !important;
}

/* Nav standalone = accueil */
.logo-text span.dot { color: #FF6500; }
.nav-links .btn-devis { font-size: 12px; padding: 9px 16px; }

/* Sticky close plus cliquable */
.conv-sticky-close {
  min-width: 36px;
  min-height: 36px;
  z-index: 2;
  position: relative;
}
#conv-sticky-bar { z-index: 99990 !important; }

.portfolio-enterprise {
  background: #FAFAF9;
}
.portfolio-enterprise .portfolio-card-head {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
  border-bottom: none;
}
.portfolio-enterprise .portfolio-card-tld {
  background: rgba(255, 101, 0, 0.2);
  color: #FF8533;
}
.portfolio-enterprise h3 { color: #fff; }
.portfolio-enterprise .portfolio-card-url { color: rgba(255,255,255,0.5); }
.portfolio-enterprise .portfolio-card-url:hover { color: #FF8533; }

/* Nav scroll */
nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* CTA final plus sobre */
.cta-final {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #FF6500 0%, #E85D00 100%) !important;
}


/* Alignement cohérent : gauche par défaut */
body .hero, body .page-hero-inner, body section .container {
  text-align: left;
}
body .hero h1, body .page-hero h1, body .h-xl, body .h-display {
  text-align: left;
}
body .section-lead, body .lead {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Rythme couleurs : blanc / crème uniquement (pas de bandeau noir) */
body section:nth-of-type(odd) { background: #FFFFFF !important; }
body section:nth-of-type(even) { background: #FAFAF9 !important; }
.stats-band {
  background: #FFF6F0 !important;
  border-top: 1px solid #E8E8E8 !important;
  border-bottom: 1px solid #E8E8E8 !important;
}
.stats-band .stat-number { color: #FF6500 !important; }
.stats-band .stat-label { color: #666 !important; }
.stats-band .stat-item { border-right-color: #E8E8E8 !important; }

/* Hero : titre 2 lignes max */
.h-display {
  font-size: clamp(34px, 4.2vw, 56px) !important;
  line-height: 1.1 !important;
  letter-spacing: -1.2px !important;
}
.hero-trust-row { margin-top: 24px !important; padding-top: 20px !important; }
.hero-stats { display: none !important; }
.hero-label { display: none !important; }

/* Méthode : texte plus lisible */
.process-step-desc {
  max-width: 260px;
  margin: 0 auto;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Villes : forcer marquee lisible (override contrast-a11y-fix) */
.marquee-section .marquee-item,
.marquee-section .marquee-track {
  color: #555 !important;
}
.marquee-section { background: #FAFAF9 !important; }
#contrast-a11y-fix .marquee-item { color: #555 !important; }
