:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --secondary: #e07a5f;
  --dark: #1f2937;
  --light: #f9f6f0;
  --white: #ffffff;
  --gray: #6b7280;
  --border: #e5e7eb;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary);
}

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

/* Skip link pour l'accessibilité */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Visuellement masqué pour les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* En-tête */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 15px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  font-weight: 500;
}

.btn-cta {
  background-color: var(--secondary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

/* Menu Mobile */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .burger {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background-color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray);
}

.hero-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Statistiques */
.stats {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

.stats-item p {
  font-size: 1rem;
}

/* Étapes */
.steps {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

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

.step-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 15px;
  right: 20px;
  font-weight: bold;
}

.step-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Services */
.services-section {
  background-color: var(--white);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--light);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
}

/* Tarifs */
.pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

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

.price-card.featured {
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(224, 122, 95, 0.1);
  position: relative;
}

.badge {
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

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

.price-features {
  list-style: none;
  margin: 20px 0;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 10px;
  color: var(--gray);
}

/* Formulaire */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--primary-light);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input {
  width: auto;
  margin-top: 4px;
}

/* Foire Aux Questions */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--gray);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 500px;
}

/* Couches de réassurance */
.trust-layer {
  background-color: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  font-size: 0.9rem;
}

.trust-layer h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.disclaimer {
  margin-top: 15px;
  color: var(--gray);
  font-style: italic;
}

/* Pied de page */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 40px 0;
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

footer a {
  color: var(--white);
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

.legal-string {
  text-align: center;
  opacity: 0.6;
}

/* Bandeau Cookies */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 20px;
  border-radius: 8px;
  z-index: 100;
  display: none;
  max-width: 600px;
  margin: 0 auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.btn-secondary {
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--border);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}