/* ============================================================
   R3D PRINT CI - STYLE GLOBAL PREMIUM 2025 (VERSION STABLE)
   ============================================================ */

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease;
}

/* --- CONTAINERS --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- HEADER --- */
.site-header {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 55px;
}

/* --- NAVIGATION --- */
.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #c9af6b;
}

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #c9af6b;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* --- NAV MOBILE --- */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav.open {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #fffaf0, #f8f3e0);
    text-align: center;
    padding: 25px 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-top: 2px solid #c9af6b;
    animation: fadeInMenu 0.4s ease forwards;
  }

  .nav.open ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav.open a {
    color: #c9af6b;
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav.open a:hover {
    background: #c9af6b;
    color: #fff;
  }
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.hero h1 {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
}

/* --- BOUTONS --- */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.gold {
  background: linear-gradient(135deg, #d6c185, #c9af6b);
  color: #fff;
  border: none;
}

.btn.gold:hover {
  background: linear-gradient(135deg, #c9af6b, #bfa45d);
  transform: translateY(-2px);
}

.halo-anim {
  box-shadow: 0 0 10px rgba(201, 175, 107, 0.3);
  animation: halo 2s infinite ease-in-out;
}

@keyframes halo {
  0%, 100% { box-shadow: 0 0 10px rgba(201, 175, 107, 0.3); }
  50% { box-shadow: 0 0 20px rgba(201, 175, 107, 0.5); }
}

/* --- CARTES & BLOCS --- */
.card {
  background: linear-gradient(135deg, #fffaf0, #fdf7e9);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

/* --- GRILLES --- */
.services-grid,
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.services-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.services-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.realisation-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.services-grid article,
.realisation-grid article {
  text-align: center;
  background: linear-gradient(135deg, #fffaf0, #fdf7e9);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.3s ease;
}

.services-grid article:hover,
.realisation-grid article:hover {
  transform: translateY(-5px);
}

/* --- FOOTER --- */
.site-footer {
  text-align: center;
  padding: 25px 10px;
  background: #fffaf0;
  border-top: 2px solid #c9af6b;
  color: #444;
  font-size: 0.9rem;
}

/* ============================================================
   FIX FINAL – CENTRAGE DU BOUTON "DÉCOUVRIR NOS SERVICES"
   ============================================================ */

.nos-services-section .btn.gold {
  display: block;
  margin: 25px auto 0;
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.nos-services-section p {
  text-align: center;
  width: 100%;
}
