/* ============================================
   DreamOption Multiservices — Conciergerie de Prestige
   Design inspiré d'excellence-car.com
   Mobile-first · Zéro dépendance
   ============================================ */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --bg-deep: #000000;
  --bg-dark: #000000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #111111;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-dark: #a8882e;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #dfc06a 40%, #c9a84c 70%, #b8942e 100%);
  --gold-soft: rgba(201, 168, 76, 0.08);
  --gold-dim: rgba(201, 168, 76, 0.3);
  --gold-glow: rgba(221, 167, 12, 0.5);
  --text-primary: #d4bc7a;
  --text-secondary: #b89e58;
  --text-muted: #7a6a3e;
  --text-light: #f5f0e8;
  --text-white: #ffffff;
  --border: #1a1a1a;
  --border-light: #2a2a2a;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', 'Georgia', 'Times New Roman', serif;
  --h1-size: clamp(2rem, 5vw, 4rem);
  --h2-size: clamp(1.5rem, 3.5vw, 2.4rem);
  --h3-size: 1.05rem;
  --body-size: clamp(0.95rem, 1.1vw, 1.05rem);
  --small-size: 0.8rem;
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 56px;
  --space-2xl: 90px;
  --radius: 0;
  --radius-sm: 0;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--text-white);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover { opacity: 0.8; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--small-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: var(--body-size);
  line-height: 1.75;
}

.section-desc strong {
  color: var(--text-primary);
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.btn-primary:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
}

/* BOUTON MODALE */
.btn-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-modal:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-md);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/signal-2026-06-11-222458_002.jpeg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  max-width: 780px;
  z-index: 1;
}

.hero-logo {
  width: clamp(200px, 45vw, 480px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.15));
}

#hero h1 {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-primary);
}

#hero h1 .text-gold {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  font-style: italic;
}

/* ============================================
   PARALLAX SECTIONS
   ============================================ */
.parallax-section {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

#parallax-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/signal-2026-06-11-221815_002.png');
  background-size: cover;
  background-position: center;
}

#parallax-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/signal-2026-06-11-222456_002.jpeg');
  background-size: cover;
  background-position: center;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
}

.parallax-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.parallax-label {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.3);
}

@supports (-webkit-touch-callout: inherit) {
  .parallax-section {
    background-attachment: scroll;
  }
}

/* ============================================
   SERVICES — style CTA inspiration excellence-car
   ============================================ */
#services {
  padding: var(--space-2xl) 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition);
  isolation: isolate;
  min-height: 280px;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--gold-glow);
}

.service-card:focus-visible {
  outline: 2px solid var(--gold-dim);
  outline-offset: 2px;
}

/* Gold top border */
.card-accent {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.5;
  transition: all var(--transition);
}

.service-card:hover .card-accent {
  left: 10%;
  right: 10%;
  opacity: 1;
}

.card-icon {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 1;
}

.card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-dim);
  transition: all var(--transition);
}

.service-card:hover .card-icon::before {
  background: var(--gold-soft);
  border-color: var(--gold);
  transform: scale(1.1);
}

.card-icon svg {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  flex: 1;
  font-family: var(--font-heading);
  font-size: var(--h3-size);
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  z-index: 1;
  transition: color var(--transition);
}

.card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 1;
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateY(0);
  color: var(--gold);
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: var(--space-2xl) 0;
  position: relative;
}

#contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
}

.form-group label {
  font-size: var(--small-size);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.required {
  color: var(--gold);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-white);
  font-family: var(--font);
  font-size: var(--body-size);
  outline: none;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 14px 0;
  padding-right: 32px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-white);
  font-family: var(--font);
  font-size: var(--body-size);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all var(--transition);
}

.select-wrapper select:focus {
  border-bottom-color: var(--gold);
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: border-color var(--transition);
}

.select-wrapper select:focus + .select-wrapper::after,
.select-wrapper:focus-within::after {
  border-color: var(--gold);
}

.select-wrapper select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.form-feedback {
  max-width: 620px;
  margin: var(--space-md) auto 0;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--small-size);
  display: none;
}

.form-feedback.success {
  display: block;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: var(--gold-soft);
}

.form-feedback.error {
  display: block;
  color: #d45060;
  border: 1px solid rgba(212, 80, 96, 0.3);
  background: rgba(212, 80, 96, 0.08);
}

.honeypot {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
  position: relative;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.footer-tagline {
  font-size: var(--small-size);
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
}

.footer-main h4 {
  font-size: var(--small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer-main ul li {
  margin-bottom: 6px;
}

.footer-main ul li a,
.footer-main ul li {
  font-size: var(--small-size);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-main ul li a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: var(--gold-soft);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

/* ============================================
   MODALE
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 1001;
  max-width: 500px;
  width: calc(100% - var(--space-md));
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-container.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 30px var(--gold-glow);
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
}

.modal-x {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.modal-x:hover {
  color: var(--gold);
}

.modal-icon {
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.modal-icon svg {
  width: 48px;
  height: 48px;
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.modal-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-size: var(--body-size);
}

/* ============================================
   ANIMATIONS SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    flex-direction: row;
  }
  .form-row .form-group {
    flex: 1;
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .service-card {
    min-height: 300px;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #hero h1 .text-gold {
    display: inline;
  }

  .service-card {
    padding: var(--space-2xl) var(--space-lg);
    min-height: 320px;
  }

  .service-card:hover {
    transform: translateY(-6px);
  }

  .card-icon {
    width: 72px;
    height: 72px;
  }

  .card-icon svg {
    width: 56px;
    height: 56px;
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
