/* ========== BASE ========== */
:root {
  --primary: #F9534D; /* Rouge signature */
  --secondary: #000000;
  --light: #F8F8F8;
  --dark: #222222;
  --text: #333333;
  --gray: #EEEEEE;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: white;
  overflow-x: hidden;
}

/* ========== TYPOGRAPHIE ========== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

h1 {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--primary), #B80000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
  margin-top: 3rem;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);  /* Changé de --light à --primary */
}

h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif; /* Ajouté pour uniformité */
}

/* ========== LAYOUT ========== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== HEADER ========== */
.header {
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Montserrat', sans-serif; /* Ajouté pour uniformité */
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover:after {
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://imagefantome.pro/wp-content/uploads/2024/02/image-fantome-impression-textile-04.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  color: white;
  -webkit-text-fill-color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* ========== CONTENT ========== */
.content-section {
  padding: 2rem 0;
}

.content-block {
  margin-bottom: 4rem;
}

.content-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #B80000);
  color: white;
  padding: 4rem 0;
  text-align: center;
  border-radius: 8px;
  margin: 4rem 0;
}

.cta-title {
  color: white;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif; /* Ajouté pour uniformité */
}

.btn:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  margin-left: 1rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 80px;
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.3s;
  font-family: 'Montserrat', sans-serif; /* Ajouté pour uniformité */
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Montserrat', sans-serif; /* Ajouté pour uniformité */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
}

.cta-section h3,
.cta-section h2 {
  color: #fff;
}