/* ── Reset & Base ───────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rose:        #9b1d6a;
  --rose-light:  #c2498f;
  --violet:      #6b21a8;
  --violet-light:#a855f7;
  --pink-bg:     #fdf2f8;
  --pink-border: #f0abdc;
  --pink-pale:   #fce7f3;
  --text-dark:   #1a0a2e;
  --text-mid:    #4b1272;
  --text-muted:  #94748a;
  --white:       #ffffff;
  --font-title:  'DM Serif Display', serif;
  --font-body:   'DM Sans', sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── Barre supérieure ───────────────────── */
.top-bar {
  height: 4px;
  background: linear-gradient(to right, var(--rose), var(--violet), var(--rose));
}

.mk-image{
  width: 596px;
}

/* ── Page container ─────────────────────── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ── Marque / Logo ──────────────────────── */
.brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.6s ease forwards;
}

.logo-wrap {
  animation: float 3s ease-in-out infinite;
}

.logo-svg {
  width: 150px;
}

.gear-main {
  transform-origin: 44px 44px;
  animation: spin 10s linear infinite;
}

.gear-small {
  transform-origin: 64px 25.5px;
  animation: spin 7s linear infinite reverse;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 32px;
  color: var(--text-dark);
  letter-spacing: 6px;
}

.brand-sub {
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── Message maintenance ────────────────── */
.maintenance-msg {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.6s ease forwards 0.15s;
  opacity: 0;
}

.badge-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.dot:nth-child(1) { animation: pulse 1.4s ease-in-out infinite; }
.dot:nth-child(2) { animation: pulse 1.4s ease-in-out 0.2s infinite; }
.dot:nth-child(3) { animation: pulse 1.4s ease-in-out 0.4s infinite; }

.main-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
}

.main-desc {
  font-size: 14px;
  color: var(--text-mid);
  max-width: 440px;
  line-height: 1.7;
}

/* ── Label de section ───────────────────── */
.section-label {
  font-size: 10px;
  color: var(--rose);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}

/* ── Services ───────────────────────────── */
.services {
  width: 100%;
  animation: fadeUp 0.6s ease forwards 0.3s;
  opacity: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-card {
  background: var(--pink-bg);
  border: 0.5px solid var(--pink-border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.service-card:hover {
  background: var(--pink-pale);
  border-color: var(--rose-light);
}

.service-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
  color: var(--rose);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.service-sub {
  font-size: 11px;
  color: var(--violet);
  margin-top: 4px;
}

/* ── Contact ────────────────────────────── */
.contact {
  width: 100%;
  animation: fadeUp 0.6s ease forwards 0.45s;
  opacity: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 0.5px solid var(--pink-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--pink-border);
}

.contact-item {
  background: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--rose);
  margin-top: 2px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 10px;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.contact-value {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ── Footer ─────────────────────────────── */
.footer {
  text-align: center;
  border-top: 0.5px solid var(--pink-border);
  padding-top: 20px;
  width: 100%;
}

.footer p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Animations ─────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-title {
    font-size: 22px;
  }
}
