:root {
  --bg: #ffffff;
  --bgh: #ffffff;
  --card: #f9f9f9;
  --text: #212529;
  --textnav: #f9f9f9;
  --muted: #6c757d;
  --primary: #212529;
  --primary-dark: #000000;
  --accent: #e9ecef;
  --outline: #dee2e6;
  --outline-dark: #ced4da;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1c1c1c;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  padding-left: 6px;
  width: auto;
  height: 72px;
  object-fit: contain;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--textnav);

}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a {
  color: var(--textnav);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.nav a:hover,
.nav a:focus {
  background: var(--outline);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-large { font-size: 16px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: #343a40; border-color: #343a40; }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--outline);
}
.btn-secondary:hover { background: var(--accent); }
.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }

.center { text-align: center; }

/* Sections */
.section { padding: 48px 0; }
.section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: left;
}
.subtitle { color: var(--muted); font-size: 18px; margin: 8px 0 24px; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding-top: 56px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 132px;
  align-items: center;
}
.hero-content .badge {
  display: inline-block;
  background: #FFDF00;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero h1 { margin: 0; font-size: 36px; line-height: 1.15; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual img { height: 480px; border-radius: 6px; object-fit: cover; }

/* Services */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-item {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--outline);
}
.service-item:last-child { border-bottom: none; }
.service-item .icon { font-size: 36px; flex-shrink: 0; }
.service-item .service-text h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.service-item .service-text p {
  margin: 0;
  color: var(--muted);
}

/* Témoignages */
.testimonials { 
  padding: 56px 0; 
  background: #f8f8f8; 
}
.testimonials h2 { 
  text-align: center; 
  margin-bottom: 40px; 
}

/* Container avec scroll horizontal */
.testimonials-scroll-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* Dégradés pour indiquer le scroll */
.fade-left,
.fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 10;
}
.fade-left {
  left: 0;
  background: linear-gradient(to right, #f8f8f8, transparent);
}
.fade-right {
  right: 0;
  background: linear-gradient(to left, #f8f8f8, transparent);
}

/* Zone de scroll horizontal */
.testimonials-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

/* Snap sur chaque témoignage */
.testimonials-scroll {
  scroll-snap-type: x mandatory;
}
.testimonial {
  flex: 0 0 320px;              /* Plus petit qu'avant */
  scroll-snap-align: center;
  
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 20px;                /* Réduit de 32px à 20px */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-height: 200px;            /* Plus compact */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial .stars {
  font-size: 24px;              /* Plus petit : 32px → 24px */
  letter-spacing: 4px;          /* Légèrement réduit */
  margin-bottom: 12px;
  color: #FFDF00;
}

.testimonial blockquote {
  font-size: 16px;              /* Légèrement réduit pour compacité */
  margin: 12px 0;
  font-style: italic;
  flex-grow: 1;
  line-height: 1.5;
}

.testimonial figcaption {
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 720px) {
  .testimonials-scroll {
    gap: 16px;
    padding: 16px 8px;
  }
  .testimonial {
    flex: 0 0 80%;              /* Un peu plus large sur mobile pour lisibilité */
    padding: 18px;
    min-height: 180px;
  }
  .testimonial .stars {
    font-size: 22px;
    letter-spacing: 3px;
  }
  .testimonial blockquote {
    font-size: 15px;
  }
  .fade-left,
  .fade-right {
    width: 30px;
  }
}



/* Tarifs */
.table-wrapper {
  overflow: auto;
  border: 1px solid var(--outline);
  border-radius: 6px;
}
.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.pricing-table th,
.pricing-table td { padding: 14px 16px; text-align: left; }
.pricing-table thead { background: var(--primary); color: #fff; }
.pricing-table tbody tr:nth-child(odd) { background: #f8f8f8; }
.pricing-table tbody tr:hover { background: #f0f0f0; }

/* Zone */
.map-embed {
  margin-top: 16px;
  border: 1px solid var(--outline);
  border-radius: 6px;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 380px; display: block; }

/* À propos */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: center;
}
.about-text {
  text-align: justify;
  padding: 16px 0;
}
.about-photo img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--outline);
}
.chip {
  background: #FFDF00;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.trust-logos {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.about-img {
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-img img{
  max-width: 100%;
}

/* FAQ */
.faq {
  background: #f8f8f8;
}

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

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

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 24px;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: #f0f0f0;
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--outline);
  background: #fafafa;
}

.faq-answer p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

#faq-title {
  text-align: center;
}

/* Responsive */
@media (max-width: 720px) {
  .faq-item summary {
    padding: 16px 20px;
  }
  
  .faq-answer {
    padding: 0 20px 18px;
  }
}

/* Contact */
.contact-and-logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.contact-info { flex: 1; text-align: left; }
.contact-address { text-align: justify; max-width: 100%; }
.logos-grid h3 { margin-bottom: 16px; }
.logos-static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
}
.brand-logo {
  height: 60px;
  object-fit: contain;
  
}

/* Footer */
.site-footer {
  padding-top: 16px;
  background: rgba(0,0,0,0.05);
  border-top: 1px solid var(--outline);
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.footer-brand {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.footer-links,
.footer-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.footer-links a {
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.gmb {
  display: inline-block;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid var(--outline);
  padding: 8px 0;
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive Mobile */
@media (max-width: 720px) {
  /* .nav { display: none; } */
  .section { padding: 40px 0; }
  .hero { padding-top: 32px; }
  .section h2 { font-size: 26px; text-align: center; }
  .header-inner { flex-direction: column; text-align: center; gap: 8px; }
  .brand-name { font-size: 16px; }
  .logo { height: 64px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  /* .hero-visual { display: none; } */
  .hero h1 { font-size: 26px; margin: 0 auto; text-align: left; }
  .subtitle { text-align: left; }
  .hero-ctas { flex-direction: column; max-width: 320px; margin: 24px auto 0; }
  .hero-ctas .btn-large { width: 100%; }
  .service-item { gap: 12px; }
  .service-item .icon { font-size: 42px; }
  .testimonial { flex: 0 0 90%; }
  .map-embed iframe { height: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .trust-logos {justify-content: center;}
  /* .about-photo { display: none; } */
  .contact-and-logos-container { flex-direction: column; gap: 40px; }
  .logos-static { justify-items: center; }
  .contact-info .btn-primary { width: 100%; max-width: 300px; margin: 16px auto 0; display: flex; }
  .contact-availability {text-align: center;}
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
}