:root {
  --primary: #1B365D;      /* Bleu Royal Profond */
  --secondary: #C5A059;    /* Or Chaleureux */
  --dark: #1E252B;         /* Ardoise Foncée */
  --light: #FAF9F6;        /* Albâtre / Blanc Chaud */
  --white: #FFFFFF;
  --grey: #8C96A0;
  --error: #D9534F;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: #333C4E;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: bold;
  transition: top 0.2s ease;
}

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

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

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

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

.nav-link {
  font-weight: 500;
  color: var(--dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  aria-expanded: "false";
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 50%), var(--primary);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
}

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

.hero p {
  color: #E2E8F0;
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.btn-primary:hover {
  background-color: #B5904D;
  color: var(--white);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 80px 0;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  margin: 15px auto 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-bottom: 50px;
}

.stat-item {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: bold;
}

/* Steps (Comment ça marche) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: bold;
  margin-bottom: 10px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.service-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Features */
.features-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-block img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.recommended {
  border: 2px solid var(--secondary);
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

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

/* Form Section */
.form-section {
  background-color: var(--primary);
  color: var(--white);
}

.form-section h2 {
  color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
}

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

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

.form-control {
  width: 100%;
  padding: 12px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

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

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

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--secondary);
}

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

.accordion-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  overflow: hidden;
}

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

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 0 20px 20px;
  max-height: 300px;
}

/* Trust Layer */
.trust-layer {
  background-color: #E2E8F0;
  padding: 40px 0;
  border-top: 1px solid #CBD5E1;
  font-size: 0.85rem;
  color: #475569;
}

.trust-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trust-title {
  font-weight: bold;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-links h4 {
  font-family: var(--font-serif);
  color: var(--secondary);
  margin-bottom: 15px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 20px 0;
  z-index: 10000;
  transition: bottom 0.5s ease;
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--dark);
}

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

.btn-cookie-accept {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
}

.btn-cookie-reject {
  background-color: #E2E8F0;
  color: var(--dark);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
}

/* Custom pattern overlay */
.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2 0-3 1-4 2s-2 1-4 1-3-1-4-2-2-1-4-1-3 1-4 2-2 1-4 1-3-1-4-2-2-1-4-1-3 1-4 2-2 1-4 1-3-1-4-2' fill='none' stroke='%23C5A059' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");
}

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

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .services-grid, .pricing-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.recommended {
    transform: none;
  }
  .features-block {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
}