/* ============================================
   Atlas Driver - CSS commun pages secondaires
   ============================================ */
:root {
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --ivory: #F5EFE6;
  --ivory-soft: #FAF5EC;
  --gold: #C9A961;
  --gold-dark: #A88B45;
  --text: #1A1A1A;
  --gray: #6c6c6c;
  --light: #e8e2d3;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.01em;
}
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 8px; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* HEADER (identique à la home) */
header.site-header {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: padding 0.4s ease;
}
header.site-header.scrolled { padding: 10px 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 92px;
  transition: height 0.4s ease;
}
.scrolled .logo { height: 64px; }
.logo img { height: 100%; width: auto; display: block; }
nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
}
nav.main-nav ul li { margin: 0; }
nav.main-nav a {
  color: var(--ivory);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
nav.main-nav a:hover { color: var(--gold); }

/* BOUTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--ivory);
  transform: translateY(-1px);
}
.btn-outline-dark {
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--black); color: var(--ivory); }

/* HÉROS DES PAGES SECONDAIRES (image + overlay + titre) */
.page-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  padding: 60px 24px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.75) 100%);
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.page-hero .overline {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.page-hero h1 {
  color: var(--ivory);
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-hero .subtitle {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(245, 239, 230, 0.92);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* CONTENU */
.content-section { padding: 80px 0; }
.content-section .container { max-width: 820px; }
.content-section h2 {
  font-size: 34px;
  margin: 48px 0 20px;
  position: relative;
  padding-left: 0;
}
.content-section h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}
.content-section h3 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--black-soft);
}
.content-section p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.75;
}
.content-section ul {
  margin: 0 0 24px 4px;
  list-style: none;
  padding: 0;
}
.content-section ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
}
.content-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.content-section ol {
  margin: 0 0 24px 24px;
  counter-reset: ordered;
  list-style: none;
  padding: 0;
}
.content-section ol li {
  padding: 8px 0 8px 36px;
  position: relative;
  counter-increment: ordered;
}
.content-section ol li::before {
  content: counter(ordered, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.content-section strong { color: var(--black); font-weight: 600; }

/* CTA Section bas de page */
.cta-block {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
  color: var(--ivory);
}
.cta-block h2 {
  color: var(--gold);
  font-size: 40px;
  margin-bottom: 20px;
}
.cta-block h2::before { display: none; }
.cta-block p {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
  color: rgba(245,239,230,0.9);
}

/* FOOTER */
footer.site-footer {
  background: var(--black);
  color: var(--ivory);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
  padding: 0;
}
.footer-col ul li::before { display: none; }
.footer-col ul a {
  color: rgba(245, 239, 230, 0.75);
  font-size: 14px;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-brand .logo {
  height: 60px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(245, 239, 230, 0.5);
}
.footer-bottom a {
  color: rgba(245, 239, 230, 0.7);
  margin: 0 6px;
}
.footer-bottom .legal-soon {
  color: rgba(245, 239, 230, 0.4);
  margin: 0 6px;
  cursor: default;
}

/* Liste contact footer avec icônes SVG */
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(245, 239, 230, 0.75);
}
.footer-contact-list li::before { display: none; }
.footer-contact-list li svg { flex-shrink: 0; }
.footer-contact-list li a { color: rgba(245, 239, 230, 0.75); }
.footer-contact-list li a:hover { color: var(--gold); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 99;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  color: white;
}
.whatsapp-float .icon {
  width: 22px;
  height: 22px;
  background: white;
  color: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .page-hero h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .content-section { padding: 48px 0; }
  .content-section h2 { font-size: 26px; }
  .page-hero { min-height: 320px; }
  .page-hero h1 { font-size: 30px; }
}

/* ===== FAQ locale + maillage (pages villes SEO) ===== */
.faq-local, .nearby-block { padding-top: 0; }
.faq-item { border-bottom: 1px solid var(--light); }
.faq-item summary { cursor: pointer; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--black); padding: 18px 30px 18px 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 18px; color: var(--gray); line-height: 1.75; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 12px; }
.nearby-links a { display: inline-block; padding: 10px 18px; border: 1px solid var(--light); border-radius: 6px; color: var(--black); font-size: 14px; font-weight: 500; transition: all .2s; }
.nearby-links a:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--ivory-soft); }

/* ===== Finitions & accessibilité (cohérence DESIGN.md) ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
img { background: var(--ivory-soft); }
/* Logos & SVG transparents : pas de fond crème (header/footer sombres) */
.logo img, header img, .footer img, .footer-brand img, img[src$=".svg"] { background: transparent; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
