:root {
  --primary-color: #1b4949;
  --secondary-color: #d4af37;
  --bg-color: #faf8f5;
  --text-dark: #2d3748;
  --text-light: #ffffff;
  --accent-soft: #f4ede4;
  --border-color: #e2e8f0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 18px; /* Taille de police confortable pour la cible 45-65+ */
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  z-index: 100;
  transition: top 0.2s;
  font-weight: bold;
  text-decoration: none;
}

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

header {
  background-color: var(--primary-color);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--secondary-color);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.logo-text {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 24px;
  font-weight: bold;
}

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

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

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

.btn-cta-nav {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-cta-nav:hover {
  background-color: #c49e2e;
  color: var(--text-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(27, 73, 73, 0.85), rgba(27, 73, 73, 0.85)), url('images/hero.jpg') no-repeat center center/cover;
  padding: 100px 5% 80px;
  color: var(--text-light);
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn-hero {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s;
  border: 2px solid var(--secondary-color);
}

.btn-hero:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

/* Statistiques */
.stats-bar {
  background-color: var(--accent-soft);
  padding: 40px 5%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--primary-color);
  font-weight: bold;
  display: block;
}

.stat-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections communes */
section {
  padding: 70px 5%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-top: 4px solid var(--secondary-color);
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

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

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

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

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
  color: var(--primary-color);
}

/* Grilles asymétriques pour À propos / Fonctionnalités */
.asym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.asym-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

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

.price-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.price-card.popular {
  border: 2px solid var(--secondary-color);
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

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

.price-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 15px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 25px;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.price-features li {
  margin-bottom: 12px;
  font-size: 16px;
}

.price-features li i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.btn-price {
  display: block;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-price:hover {
  background-color: #2c6868;
}

/* Formulaire de capture */
.form-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.form-section .section-title {
  color: var(--text-light);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 15px;
}

.form-group input, .form-group textarea {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  font-size: 16px;
  font-family: var(--font-body);
}

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

.checkbox-group input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 14px;
}

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

.btn-submit {
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #c49e2e;
}

/* Accordéon FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
}

summary {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary-color);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '\2b';
  font-size: 24px;
  color: var(--secondary-color);
}

details[open] summary::after {
  content: '\2212';
}

details p {
  margin-top: 15px;
  font-size: 16px;
  color: #4a5568;
}

/* Trust Layer */
.trust-layer {
  background-color: var(--accent-soft);
  border-top: 2px solid var(--secondary-color);
  padding: 40px 5%;
  font-size: 14px;
  color: #4a5568;
  text-align: center;
}

.trust-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1e293b;
  color: var(--text-light);
  padding: 20px 5%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}

.cookie-text {
  font-size: 14px;
  max-width: 70%;
}

.cookie-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.btn-cookie {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.btn-cookie-accept {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Footer */
footer {
  background-color: #112d2d;
  color: var(--text-light);
  padding: 40px 5% 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

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

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

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

.footer-col ul li a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--text-light);
}

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

/* Iframe Maps */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Styles pour Page Merci et 404 */
.status-page {
  text-align: center;
  padding: 100px 5%;
}

.status-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 6px solid var(--secondary-color);
}

.status-icon {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Adaptabilité Mobile (Responsive) */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 20px;
    border-bottom: 2px solid var(--secondary-color);
    gap: 15px;
  }
  
  nav ul.active {
    display: flex;
  }
  
  .asym-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    max-width: 100%;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Désactivation des animations pour accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}