/* ============================================
   XPERTPHONE – Style Sheet
   Palette: Noir #0a0a0a · Orange #ff6600 · Gris #1a1a1a
   ============================================ */

:root {
  --orange: #ff6600;
  --orange-dark: #cc5200;
  --orange-light: #ff8533;
  --black: #0a0a0a;
  --dark: #111111;
  --card: #181818;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --muted: #888;
  --white: #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILS ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,102,0,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-large { padding: 18px 40px; font-size: 18px; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}
.nav-logo img {
  height: 44px;
  display: block;
  filter: brightness(1.1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--orange-light) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(255,102,0,0.08) 0%, transparent 70%),
    linear-gradient(135deg, #0a0a0a 0%, #111 100%);
  z-index: -1;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,102,0,0.15);
  border: 1px solid rgba(255,102,0,0.4);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.info-pill {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  color: var(--text);
}
.hero-image-wrap {
  flex: 1;
  max-width: 460px;
  position: relative;
  animation: fadeIn 1s 0.3s ease both;
}
.hero-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}
.hero-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(255,102,0,0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 20px;
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 0;
  background: var(--dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible { opacity: 1; transform: none; }
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,102,0,0.15);
}
.service-card.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, #1a0d00, #1a1a1a);
}
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p { color: var(--muted); font-size: 15px; }

/* ---- GALLERY ---- */
.gallery { padding: 100px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.97);
  transition: all 0.4s ease;
}
.gallery-item.visible { opacity: 1; transform: scale(1); }
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 1px;
}

/* ---- WHY US ---- */
.why {
  padding: 100px 0;
  background: var(--dark);
}
.why-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.why-text { flex: 1; }
.why-text .section-label { display: block; margin-bottom: 12px; }
.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.1;
}
.why-list { list-style: none; margin-bottom: 40px; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
}
.check {
  color: var(--orange);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.why-img-wrap {
  flex: 0 0 380px;
  position: relative;
}
.why-img-wrap img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.why-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255,102,0,0.4);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.badge-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- CONTACT ---- */
.contact { padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.contact-card.visible { opacity: 1; transform: none; }
.contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.contact-icon { font-size: 36px; margin-bottom: 16px; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.contact-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-card a { color: var(--orange); text-decoration: none; font-size: 20px; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .small { font-size: 13px; margin-top: 6px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877f2;
  color: var(--white) !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  margin-top: 8px;
  transition: all 0.2s;
}
.social-btn:hover { background: #1565d0; transform: translateY(-2px); }

.rdv-banner {
  background: linear-gradient(135deg, #1a0d00, #1f1f1f);
  border: 1px solid var(--orange);
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.rdv-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.rdv-text p { color: var(--muted); }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { height: 36px; filter: brightness(0.9); }
.footer-copy { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-actions { justify-content: center; }
  .hero-info { justify-content: center; }
  .hero-image-wrap { max-width: 340px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; height: 260px; }

  .why-inner { flex-direction: column; gap: 48px; }
  .why-img-wrap { flex: unset; max-width: 320px; }
  .why-badge { left: 0; }

  .rdv-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: inline-block; width: 100%; text-align: center; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- CGV ---- */
.cgv-section {
  padding: 100px 0;
  background: var(--dark);
}
.cgv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cgv-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}
.cgv-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cgv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cgv-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
}
.cgv-list li strong { color: var(--text); }
.cgv-ol {
  list-style: none;
  counter-reset: cgv-counter;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.cgv-ol li {
  counter-increment: cgv-counter;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 12px;
}
.cgv-ol li::before {
  content: counter(cgv-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}
.cgv-ol li strong { color: var(--text); }
.cgv-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}
.cgv-signature {
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-style: italic;
}

@media (max-width: 900px) {
  .cgv-grid { grid-template-columns: 1fr; }
}