/* Variable & Palette de couleurs premium */
:root {
  --primary: #0B1325;     /* Marine profond */
  --accent: #C5A880;      /* Bronze / Or chaud */
  --accent-hover: #B3966E;
  --bg-light: #FAFAF6;    /* Ivoire doux */
  --text-dark: #2B2B2B;   /* Anthracite */
  --text-muted: #555555;
  --white: #FFFFFF;
  --border-color: #E2E2D9;
  --font-family: 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
}

/* Base resets & accessibilité */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px; /* Grande taille de police par défaut pour une lecture confortable */
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip link pour l'accessibilité */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 100;
  transition: top 0.2s;
  font-weight: bold;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary);
}

/* Focus visible styles */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

main {
  flex: 1;
}

/* En-tête & Navigation */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Burger menu pour mobiles */
.burger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Sections globales */
section {
  padding: 80px 10%;
}

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--primary);
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
}

/* Hero Section avec un motif graphique en fond */
.hero {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #D1D5DB;
  margin-bottom: 35px;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Grilles & Conteneurs */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.steps-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Section Asymétrique (Features) */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background-color: var(--white);
}

.feature-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Tarifs */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 45px;
}

.pricing-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.15);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.price {
  font-size: 2.2rem;
  font-family: var(--font-title);
  color: var(--primary);
  margin: 20px 0;
}

.pricing-features {
  list-style: none;
  margin: 25px 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features i {
  color: var(--accent);
}

/* Formulaire de capture de leads */
.contact-section {
  background-color: #F0EFE9;
}

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  padding: 45px;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-family);
  font-size: 1rem;
}

.form-control:focus {
  outline: 2px solid var(--accent);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 5px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-title);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  display: none;
  padding-top: 15px;
  color: var(--text-muted);
}

/* Trust Layer (Перед подвалом) */
.trust-layer {
  background-color: #ECEAE0;
  padding: 30px 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* Подвал */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px 5%;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #D1D5DB;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Media Queries */
@media (max-width: 900px) {
  .feature-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .burger-menu {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

/* Réduction des animations pour l'accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}