@charset "UTF-8";
/* ══════════════════════════════════════════════════
   1. VARIABLES & RESET
══════════════════════════════════════════════════ */

:root {
  --cream:          #FAF6F0;
  --warm-white:     #FFFCF7;
  --sand:           #EDE4D8;
  --sand-light:     #F2EBE1;
  --taupe:          #3D3228;
  --taupe-mid:      #6B5E52;
  --gold:           #7A6130;
  --gold-soft:      #9A7B3C;
  --gold-text:      #7D6530; /* WCAG AA 5.17:1 on cream — accessible text accent */
  --earth:          #5C4A3E;
  --text-primary:   #3D3228;
  --text-secondary: #6B5E52;
  --text-light:     #8C7E72;
  --trans:          0.3s ease;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-pill:    50px;
  --max-w:          1100px;
  --max-w-wide:     1200px;
  --max-w-prose:    800px;  /* ≈ 2/3 de --max-w-wide */
  --max-w-narrow:   560px;
  --rust-light:     #F5EDE8;
  --gold-pale:      #faf6ee;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  font-size: 1.05rem;
}

/* ── Liens globaux (suppression du bleu par défaut) ── */
a { color: var(--taupe); text-decoration: none; }
a:hover { color: var(--gold); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ══ SKIP TO CONTENT (accessibilité) ══ */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.8rem 1.5rem;
  background: var(--taupe);
  color: white;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-to-content:focus {
  left: 0;
}

/* ══ NAVIGATION ══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(8px);
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(250,246,240,0.97);
  box-shadow: 0 1px 20px rgba(61,50,40,0.1);
  padding: 0.7rem 2.5rem;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-logo:hover { color: var(--taupe-mid); }
.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--trans);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--taupe); }
.nav-links .nav-cta > a {
  background: var(--gold);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.nav-links .nav-cta > a:hover { background: var(--gold-soft); transform: translateY(-1px); }
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 0.8rem 0 0.5rem;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(61,50,40,0.12);
  z-index: 100;
  list-style: none;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.04em;
}
.dropdown-menu li a:hover { color: var(--taupe); background: var(--cream); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s, opacity 0.35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--cream);
  border-left: 1px solid var(--sand);
  padding: 5rem 2rem 2rem;
  list-style: none;
  z-index: 1001;
  transition: right 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -5px 0 30px rgba(61,50,40,0.12);
  overflow-y: auto;
  margin: 0;
}
.nav-links-mobile.open { right: 0; }
.nav-links-mobile li { list-style: none; }
.nav-links-mobile a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
  color: var(--text-primary);
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--trans);
}
.nav-links-mobile a:hover { color: var(--taupe-mid); }
.nav-links-mobile .nav-cta > a {
  display: block;
  margin-top: 1.5rem;
  background: var(--gold);
  color: white !important;
  text-align: center;
  border-radius: var(--radius-pill);
  border-bottom: none;
  padding: 0.85rem;
}
/* ── Mobile accordéon ── */
.nav-links-mobile .mobile-submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links-mobile .mobile-has-children.mobile-group-open > .mobile-submenu {
  display: block;
}
.nav-links-mobile .mobile-submenu a {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.04em;
  padding: 0.7rem 0 0.7rem 1.2rem;
  color: var(--taupe-mid);
  border-bottom: 1px solid var(--sand);
}
.nav-links-mobile .mobile-parent-link {
  cursor: pointer;
}
.nav-links-mobile .mobile-chevron {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.78rem;
}
.nav-links-mobile .mobile-group-open > .mobile-parent-link .mobile-chevron {
  transform: rotate(180deg);
}
/* ══ FIN NAVIGATION ══ */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61,50,40,0.4);
  z-index: 1000;
}

.nav-overlay.active { display: block; }

/* ══════════════════════════════════════════════════
   2. TYPOGRAPHY
══════════════════════════════════════════════════ */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

summary { font-weight: 400; }

.section-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-tag::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold-text);
  flex-shrink: 0;
}
.hero .section-tag::before { display: none; }
.hero .section-tag { font-size: 0.9rem; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: var(--max-w-prose);
  line-height: 1.5;
  margin-bottom: 2rem;

}

.section-container {
  max-width: var(--max-w);  /* 1100px — pages standard. Landing pages → 1200px via landing.css */
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   5. BOUTONS — 3 variantes universelles
══════════════════════════════════════════════════ */

/* ── Filled (gold bg, white text) ── */
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-fill:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122,97,48,0.35);
}

/* ── Solid (white bg, dark text) — pour fonds sombres ── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--taupe);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-solid:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ── Outline (transparent, bordure) ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--taupe-mid);
  padding: 1rem 2rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--earth);
  background: rgba(122,97,48,0.06);
}

/* Variante outline sur fond sombre */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.9);
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.8);
  color: white;
  background: rgba(255,255,255,0.08);
}

/* Taille large */
.btn-lg { padding: 1rem 2.2rem; }

/* Submit (formulaire) */
.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--taupe);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-submit:hover {
  background: var(--earth);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   6. HERO — page d'accueil
══════════════════════════════════════════════════ */

.hero {
  padding: 8rem 3rem 4rem;
  background: var(--cream);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}


/* ══════════════════════════════════════════════════
   19. ANIMATIONS
══════════════════════════════════════════════════ */

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Landing page styles → voir landing.css */

/* ══════════════════════════════════════════════════
   21. RESPONSIVE — TABLETTE (≤ 900px)
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   22. RESPONSIVE — MOBILE (≤ 480px)
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   23. OVERFLOW FIX GLOBAL (anti-scroll horizontal)
══════════════════════════════════════════════════ */

/* ── Bouton flottant "Prendre rendez-vous" (toutes pages, desktop) ── */
.floating-cta{position:fixed;bottom:2rem;right:2rem;z-index:999;background:var(--gold);color:#fff;padding:0.85rem 1.6rem;border-radius:50px;text-decoration:none;font-size:0.9rem;letter-spacing:0.04em;box-shadow:0 8px 30px rgba(122,97,48,0.4);transition:all var(--trans);display:flex;align-items:center;gap:0.5rem}
.floating-cta:hover{background:var(--gold-soft);transform:translateY(-2px)}
/* floating-rdv supprimé du HTML de front-page.php */
/* ── Bouton flottant téléphone (toutes pages, mobile uniquement) ── */
.floating-call-btn{display:none}
/* ══ ERROR / FALLBACK PAGES ══ */
.error-hero { min-height: 60vh; display: flex; align-items: center; }
.error-inner { grid-template-columns: 1fr; text-align: center; }
.error-ctas { justify-content: center; }
.error-nav { margin-top: 3rem; }
.error-nav-hint { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.2rem; }
.error-nav-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: center; font-size: 0.9rem; }
.archive-empty { padding: 3rem 0; color: var(--text-light); }

/* ══ CTA SECTION (composant partagé — cta-bottom.php) ══ */
.cta-section {
  background: linear-gradient(135deg, var(--taupe) 0%, var(--earth) 100%);
  color: white;
  text-align: center;
  padding: 4rem 3rem;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: white;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  max-width: var(--max-w-narrow);
  margin: 0 auto 2rem;
  line-height: 1.5;
}
.cta-section .ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-cta-note {
  margin-top: 2rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}
.lp-cta-signature {
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.lp-seo-band {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  padding: 1.2rem 2rem;
  background: var(--sand-light);
  letter-spacing: 0.04em;
}

/* ══ BANDEAU AUTORITÉ (composant partagé) ══ */
.autorite{background:var(--warm-white);padding:3.5rem 3rem;border-bottom:1px solid var(--sand)}
.autorite-grid{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.autorite-item-number{font-family:'Cormorant Garamond',serif;font-size:2.2rem;color:var(--taupe)}
.autorite-item-title{font-size:0.9rem;font-weight:600;color:var(--text-primary);margin-bottom:0.4rem;letter-spacing:0.04em}
.autorite-item-desc{font-size:1.05rem;color:var(--text-secondary);line-height: 1.5}
.autorite-item-desc a{color:var(--taupe-mid);text-decoration:none;transition:color var(--trans)}
.autorite-item-desc a:hover{color:var(--gold)}
@media(max-width:900px){.autorite-grid{grid-template-columns:1fr;gap:1.5rem}}
@media(max-width:480px){.autorite{border-top:3px solid var(--gold)}}

/* ══ FOOTER ══ */
.site-footer {
  background: var(--earth);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 3rem;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.site-footer .footer-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color var(--trans);
}
.site-footer .footer-nav a:hover { color: rgba(255,255,255,1); }
.footer-legal {
  font-size: 0.78rem;
  opacity: 0.7;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.site-footer .footer-legal a {
  color: inherit;
  text-decoration: none;
}
/* ══ FIN FOOTER ══ */


/* ══ Classes utilitaires couleur (Gutenberg theme.json) ══ */
.has-fonce-color  { color: var(--text-primary) !important; }
.has-moyen-color  { color: var(--text-secondary) !important; }
.has-leger-color  { color: var(--text-light) !important; }
.has-or-color     { color: var(--gold-text) !important; }
.has-blanc-color  { color: #fff !important; }

.has-fonce-background-color  { background-color: var(--text-primary) !important; }
.has-moyen-background-color  { background-color: var(--text-secondary) !important; }
.has-leger-background-color  { background-color: var(--text-light) !important; }
.has-or-background-color     { background-color: var(--gold-text) !important; }
.has-blanc-background-color  { background-color: #fff !important; }


/* ══ RESPONSIVE 900px ══ */
@media (max-width: 900px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 1.5rem 3rem; overflow: hidden; }
  .floating-cta{display:none}
  .floating-call-btn{display:flex;position:fixed;bottom:1.5rem;right:1.5rem;z-index:998;align-items:center;gap:0.6rem;background:var(--gold);color:#fff;padding:0.9rem 1.6rem;border-radius:var(--radius-pill);text-decoration:none;font-size:0.9rem;letter-spacing:0.04em;box-shadow:0 6px 24px rgba(122,97,48,0.35);transition:all var(--trans)}
  .floating-call-btn:hover{transform:translateY(-2px)}
  
  /* modification pour lire dernière ligne du site */
  main { padding-bottom: 80px; }
  
  .hero-ctas a { text-align: center; justify-content: center; }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  section { overflow: hidden; }
  .hero-inner { display: flex !important; flex-direction: column !important; width: 100% !important; max-width: 100% !important; gap: 1.5rem; }
  /* [homepage photo/rdv overflow fixes moved to home.css] */
  .hero-ctas { flex-direction: column !important; width: 100% !important; gap: 0.75rem; }
  .hero-ctas a,
  .btn-fill,
  .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }
}

/* ══ RESPONSIVE 480px ══ */
@media (max-width: 480px) {
  nav { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1.2rem; }
  .hero { padding: 5.5rem 1rem 2.5rem; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .btn-fill,
  .btn-solid,
  .btn-outline,
  .btn-outline-light {
    padding: 0.9rem 1.5rem;
    min-height: 48px;
    font-size: 0.9rem;
    justify-content: center;
  }
  .site-footer { padding: 2rem 1.5rem; }
  .footer-nav { gap: 0.5rem 1rem; }
}