:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --surface: rgba(37, 37, 38, 0.95);
  --surface-strong: #252526;
  --border: rgba(255, 255, 255, 0.08);
  --text: #d4d4d4;
  --muted: #858585;
  --accent: #3c3c3c;
  --accent-soft: rgba(60, 60, 60, 0.4);
  --accent-strong: #569cd6;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: #1e1e1e;
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #1a1a1a);
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small,
.nav a,
.eyebrow,
.lead,
.section-heading p,
.hero-stats span,
.repair-card p,
.feature-copy p,
.commitment-card p,
.contact-copy p,
.contact-badges span,
.site-footer span,
.site-footer p {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero,
.feature-panel,
.contact-panel,
.site-footer {
  margin-top: 1.1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
  padding-top: 0.6rem;
}

.hero-copy,
.hero-visual,
.feature-panel,
.contact-panel {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-visual {
  padding: 1.15rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.94;
  margin-bottom: 1rem;
  max-width: 11ch;
}

.lead {
  font-size: 1.06rem;
  line-height: 1.74;
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats article,
.repair-card,
.commitment-card,
.contact-form,
.contact-badges span,
.contact-callout-box,
.site-footer,
.social-link {
  border-radius: var(--radius-lg);
}

.hero-stats article {
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong,
.repair-card h3,
.commitment-card h3,
.contact-callout-box strong,
.footer-brand strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  color: var(--text);
}

.hero-visual-top {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.status-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #20c997;
  box-shadow: 0 0 0 0.35rem rgba(32, 201, 151, 0.14);
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.device-card {
  min-height: 10.5rem;
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--border);
  display: grid;
  align-content: end;
  overflow: hidden;
  position: relative;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 28, 54, 0.08));
}

.device-card > * {
  position: relative;
  z-index: 1;
}

.device-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.device-phone {
  background-image: radial-gradient(circle at top left, rgba(61, 134, 255, 0.28), transparent 40%), linear-gradient(135deg, #172435, #264c84);
}

.device-computer {
  background-image: radial-gradient(circle at top right, rgba(139, 184, 255, 0.18), transparent 38%), linear-gradient(135deg, #162031, #203e6f);
}

.device-console {
  background-image: radial-gradient(circle at top left, rgba(61, 134, 255, 0.2), transparent 42%), linear-gradient(135deg, #141e2e, #295aa4);
}

.device-accessory {
  background-image: radial-gradient(circle at top left, rgba(139, 184, 255, 0.18), transparent 36%), linear-gradient(135deg, #132030, #2b4f86);
}

.device-card strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.06;
  margin-bottom: 0.7rem;
}

.repair-grid,
.commitment-grid {
  display: grid;
  gap: 1rem;
}

.repair-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.repair-card,
.commitment-card,
.contact-form,
.contact-callout-box,
.site-footer,
.social-link {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.repair-card,
.commitment-card {
  padding: 1.25rem;
}

.repair-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.repair-image {
  display: block;
  width: 100%;
  height: 9rem;
  object-fit: contain;
  border-radius: 18px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  background: #0d1726;
  padding: 0.5rem;
}

.repair-image-contain {
  object-fit: contain;
  padding: 0.5rem;
}

.repair-image-smartphone {
  object-fit: contain;
  padding: 0.5rem;
}

.repair-image-laptop {
  object-fit: contain;
  padding: 0.5rem;
}

.repair-image-headphone {
  object-fit: contain;
  padding: 0.75rem;
}

.repair-images-duo {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.repair-images-duo .repair-image {
  flex: 1;
  margin-bottom: 0;
  height: 9rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.compact {
  margin-bottom: 0;
}

.feature-copy {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(36, 119, 255, 0.08), rgba(255, 255, 255, 0.74));
  border: 1px solid var(--border);
}

.commitments-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.commitment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  align-items: start;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-badges span {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(36, 119, 255, 0.16);
  color: var(--accent-strong);
  font-weight: 800;
}

.contact-callout {
  display: grid;
  align-content: center;
}

.contact-callout-box {
  padding: 1.25rem;
}

.contact-callout-box p {
  margin-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.15rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(36, 119, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(36, 119, 255, 0.12);
}

.site-footer {
  margin-bottom: 1rem;
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: grid;
  gap: 0.2rem;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.social-link img,
.repair-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.social-link img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.copyright {
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .feature-panel,
  .commitments-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .repair-grid,
  .commitment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(1180px, calc(100% - 1.15rem));
  }

  .repair-grid,
  .commitment-grid,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .nav {
    gap: 0.7rem;
  }
}



/* Hero pleine largeur */
.hero-full {
  grid-template-columns: 1fr !important;
}

.hero-full .hero-copy {
  max-width: 100%;
}

.hero-full .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Carte cliquable */
.repair-card-clickable {
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.repair-card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
}

.repair-cta {
  display: block;
  margin-top: 0.75rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

.repair-card-clickable:hover .repair-cta {
  opacity: 1;
}

/* Sous-pages */
.subpage-header {
  padding: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.subpage-header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease;
  white-space: nowrap;
}

.back-btn:hover {
  background: rgba(255,255,255,0.1);
}

/* Grille marques */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.brand-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  display: grid;
  gap: 0.4rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.brand-card strong {
  font-size: 1.1rem;
}

.brand-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Grille modèles */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.model-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
}

.model-card strong {
  font-size: 1rem;
}