:root {
  --bg: #1a1918;
  --surface: #242220;
  --primary: #c17b4c;
  --primary-dark: #9c5f39;
  --text: #f1eee3;
  --muted: #a49d94;
  --border: #35322f;
  --accent: #d99a6c;
  --grad-primary: linear-gradient(135deg, #c17b4c, #9c5f39);
  --grad-accent: linear-gradient(135deg, #d99a6c, #c17b4c);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, var(--bg), var(--surface));
  color: white;
  padding: 20px 24px 80px;
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto 0;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-text {
  color: var(--muted);
  max-width: 650px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.hero-card {
  background: rgba(193, 123, 76, 0.08);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.stats {
  max-width: 1100px;
  margin: -30px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(193, 123, 76, 0.08);
}

.stats div {
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

/* Centre la dernière carte quand elle est seule sur sa ligne */
.cards > :last-child:nth-child(3n+1) {
  grid-column: 2;
}

.card,
.about-box,
.offer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 35px rgba(193, 123, 76, 0.06);
  transition: all 0.3s ease;
}

.card:hover,
.about-box:hover,
.offer-item:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 35px rgba(193, 123, 76, 0.15);
}

.icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card h3,
.about-box h3,
.offer-item h3 {
  margin-bottom: 10px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.about-box ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--muted);
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer {
  background: #0e0d0c;
  color: white;
  padding: 60px 24px 40px;
  border-top: 2px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
  text-align: center;
  justify-items: center;
}

.footer-copy {
  text-align: center;
  color: #857f77;
  font-size: 0.85rem;
  padding-top: 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer p {
  font-size: 0.95rem;
  color: #d6d2c9;
  line-height: 1.7;
}

.footer .brand-tagline {
  color: #857f77;
  font-size: 0.9rem;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .hero-content,
  .about-section,
  .cards,
  .offer-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 16px 16px 60px;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg), var(--surface));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-container {
  text-align: center;
  animation: splash-fade-in 0.8s ease-out;
}

.splash-logo {
  max-width: 300px;
  width: 90%;
  height: auto;
  margin-bottom: 20px;
  animation: splash-scale-in 0.8s ease-out;
}

.splash-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.15em;
  animation: splash-text-fade 1s ease-out 0.3s backwards;
}

.splash-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: splash-title-pop 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin: 0;
}

.splash-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 0;
  animation: splash-text-fade 1s ease-out 0.5s backwards;
}

@keyframes splash-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes splash-scale-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes splash-text-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes splash-title-pop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
