/* ============================================================
   STYLE PARTAGÉ — Coach Consulting
   Header, footer, reset de base, communs à toutes les pages.
   Les couleurs suivent le thème posé sur <body> :
     <body class="theme-entreprise">  → bleu marine (#2d466b)
     <body class="theme-particulier"> → teal (#5f9ea0)
   Le CSS propre à chaque page reste dans son <style> local.
   ============================================================ */

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

body.theme-entreprise {
  --bleu: #2d466b;
  --bleu-fonce: #1c3150;
  --beige: #ad9b7f;
  --blanc: #ffffff;
  --gris-clair: #f5f5f5;
  /* Menu — bannière Entreprise */
  --menu-fond: #0b2547;
  --menu-fond-2: #15406f;
  --menu-accent: #e8925c;
  --menu-accent-clair: #f6bd94;
  --menu-filet: #1d6cc0;
  --menu-survol: rgba(232,146,92,0.14);
}
body.theme-particulier {
  --bleu: #5f9ea0;
  --bleu-fonce: #4a7f80;
  --beige: #ad9b7f;
  --beige-clair: #f5f0e8;
  --beige-moyen: #e8dfd0;
  --blanc: #ffffff;
  --gris-clair: #f5f5f5;
  /* Menu — bannière Particuliers */
  --menu-fond: #22504e;
  --menu-fond-2: #357070;
  --menu-accent: #e2ae79;
  --menu-accent-clair: #f3d2ab;
  --menu-filet: #7fb8b4;
  --menu-survol: rgba(226,174,121,0.16);
}

html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body { font-family: 'Roboto', sans-serif; color: #333; }

/* ── HEADER ── */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; background: transparent; transition: background 0.3s; }
.site-header.sticky { background: var(--bleu); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; }
.header-logo img { width: 220px; height: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a { color: var(--blanc); text-decoration: none; font-size: 15px; font-weight: 500; padding: 18px 14px; }
.header-nav a:hover { color: var(--beige); }
.header-nav a.active { color: var(--beige); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bleu); min-width: 230px; z-index: 100; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 12px 18px; font-size: 14px; }
.dropdown-menu a:hover { background: var(--beige); color: var(--bleu-fonce); }
.header-google img { width: 90px; height: auto; display: block; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; margin-left: auto; }
.burger span { width: 28px; height: 3px; background: var(--blanc); }
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; flex-direction: column; background: var(--bleu); padding: 16px; }
#mobile-menu a { color: var(--blanc); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 15px; }

/* Éléments présents uniquement dans le header de l'espace Particuliers (téléphone + CTA) */
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { color: var(--blanc); font-size: 14px; font-weight: 500; text-decoration: none; }
.header-tel:hover { color: var(--beige-clair); }
.btn-rdv-header {
  background: var(--beige); color: var(--blanc); padding: 10px 24px; border-radius: 50px;
  text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background 0.2s; text-align: center;
}
.btn-rdv-header:hover { background: #c4b090; }

/* Surcharges propres au thème Particuliers */
body.theme-particulier .site-header.sticky { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
body.theme-particulier .header-inner { padding: 8px 40px; }
body.theme-particulier .header-logo img { filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5)); }
body.theme-particulier .header-nav a:hover, body.theme-particulier .header-nav a.active {
  color: var(--beige-clair);
  text-shadow: 0 1px 3px rgba(28,49,80,0.85);
}
body.theme-particulier .header-google img { background: rgba(255,255,255,0.9); border-radius: 6px; padding: 4px 10px; }
body.theme-particulier #mobile-menu a { border-bottom: 1px solid rgba(255,255,255,0.15); }
body.theme-particulier .footer-col h4,
body.theme-particulier .footer-col a:hover {
  text-shadow: 0 1px 3px rgba(28,49,80,0.85);
}

/* ── FOOTER ── */
.footer-complet { background: var(--bleu); padding: 60px 0 0; width: 100%; }
.footer-inner { width: 100%; padding: 0 60px; display: grid; grid-template-columns: 2fr 2fr 1.5fr 1.5fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col:first-child { align-items: center; text-align: center; }
.footer-logo { width: 220px; margin-bottom: 8px; }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-adresse { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; text-align: center; }
.footer-qualiopi { width: 220px; margin: 0 auto 12px auto; text-align: center; }
.footer-qualiopi img { width: 110px; height: auto; display: inline-block; }
.footer-qualiopi p { font-size: 12px; line-height: 1.45; text-align: center; color: rgba(255,255,255,0.85); margin: 8px 0 0; }
.footer-certif { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.6; text-align: center; }
.footer-certif-detail { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.8; text-align: center; }
.footer-certif-detail a { color: var(--beige); text-decoration: none; }
.footer-certif-detail a:hover { text-decoration: underline; }
.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 600; color: var(--beige); margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.85); text-decoration: none; line-height: 1.8; transition: color 0.2s; }
.footer-col a:hover { color: var(--beige); }
.footer-bottom { margin-top: 40px; padding: 16px 40px; background: var(--bleu-fonce); text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ============================================================
   MENUS — charte des bannières (octobre 2026)
   Entreprise : bleu nuit + cuivre  |  Particuliers : vert canard + doré sable
   Variables propres au menu (--menu-*) : elles ne touchent pas
   aux couleurs du contenu des pages (--bleu, --beige…).
   ============================================================ */

/* Fond dégradé + ombre quand le menu devient fixe au scroll */
body .site-header.sticky {
  background: linear-gradient(100deg, var(--menu-fond) 0%, var(--menu-fond-2) 65%, var(--menu-fond) 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Fin trait lumineux sous le menu (comme le trait de la bannière) */
body .site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--menu-accent) 25%, var(--menu-accent-clair) 50%, var(--menu-accent) 75%, transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
body .site-header.sticky::after { opacity: 1; }

/* Arc lumineux fixe dans le coin droit (visible une fois le menu fixe) */
body .site-header::before {
  content: "";
  position: absolute;
  right: 16%;
  top: -165px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-left-color: var(--menu-accent);
  border-bottom-color: var(--menu-accent-clair);
  filter: drop-shadow(0 0 5px var(--menu-accent));
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
body .site-header.sticky::before { opacity: 0.75; }
body .header-inner { position: relative; z-index: 1; }

/* Liens du menu principal : couleur d'accent + trait qui se déploie */
body .header-nav > a,
body .header-nav > .dropdown > a {
  position: relative;
  background-image: linear-gradient(var(--menu-accent), var(--menu-accent));
  background-repeat: no-repeat;
  background-position: center bottom 10px;
  background-size: 0 2px;
  transition: color 0.25s, background-size 0.35s ease;
}
body .header-nav > a:hover,
body .header-nav > a.active,
body .header-nav > .dropdown:hover > a {
  color: var(--menu-accent-clair);
  background-size: 55% 2px;
}

/* Fins séparateurs verticaux entre les rubriques */
body .header-nav > * { position: relative; }
body .header-nav > * + *::before {
  content: "";
  position: absolute;
  left: -2px; top: 50%;
  width: 1px; height: 16px;
  transform: translateY(-50%);
  background: var(--menu-filet);
  opacity: 0.6;
  pointer-events: none;
}

/* Sous-menus déroulants */
body .header-nav .dropdown-menu {
  background: var(--menu-fond);
  border-top: 2px solid var(--menu-accent);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  overflow: hidden;
}
body .header-nav .dropdown-menu a {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body .header-nav .dropdown-menu a:last-child { border-bottom: none; }
body .header-nav .dropdown-menu a:hover {
  background: var(--menu-survol);
  color: var(--menu-accent-clair);
  border-left-color: var(--menu-accent);
}

/* Menu mobile (burger) */
body #mobile-menu.open {
  background: linear-gradient(180deg, var(--menu-fond) 0%, var(--menu-fond-2) 100%);
  border-top: 1px solid var(--menu-accent);
}
body #mobile-menu a { border-bottom: 1px solid rgba(255,255,255,0.08); transition: color 0.2s; }
body #mobile-menu a:hover { color: var(--menu-accent-clair); }

/* Bouton RDV (espace Particuliers) */
body .btn-rdv-header {
  background: var(--menu-accent);
  color: var(--menu-fond);
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
}
body .btn-rdv-header:hover {
  background: var(--menu-accent-clair);
  box-shadow: 0 0 16px var(--menu-accent);
}
body .header-tel:hover { color: var(--menu-accent-clair); }

/* Particuliers : le vert canard profond rend inutile le contour épais autour des lettres ;
   on garde une ombre légère pour la lisibilité quand le menu est transparent sur une photo */
body.theme-particulier .header-nav a,
body.theme-particulier .header-nav a:hover,
body.theme-particulier .header-nav a.active { text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
body.theme-particulier .header-nav .dropdown-menu a,
body.theme-particulier .header-nav .dropdown-menu a:hover { text-shadow: none; }
body.theme-particulier .header-nav > a:hover,
body.theme-particulier .header-nav > a.active,
body.theme-particulier .header-nav > .dropdown:hover > a { color: var(--menu-accent-clair); }

/* Entreprise : page active sans trait, dans la même couleur sur toutes les pages */
body.theme-entreprise .header-nav > a.active,
body.theme-entreprise .header-nav > .dropdown > a.active {
  color: var(--beige);
  background-size: 0 2px;
}

@media (prefers-reduced-motion: reduce) {
  body .site-header::before, body .site-header::after,
  body .header-nav > a, body .header-nav > .dropdown > a { transition: none; }
}

/* ============================================================
   PIEDS DE PAGE — même charte que les menus (octobre 2026)
   Utilise les variables --menu-* du thème de la page.
   ============================================================ */
body .footer-complet {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--menu-fond-2) 0%, var(--menu-fond) 55%, var(--menu-fond) 100%);
}
/* Trait lumineux en haut, comme sous le menu */
body .footer-complet::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--menu-accent) 25%, var(--menu-accent-clair) 50%, var(--menu-accent) 75%, transparent);
  pointer-events: none;
}
/* Arc lumineux dans le coin bas gauche (en miroir de celui du menu) */
body .footer-complet::after {
  content: "";
  position: absolute;
  left: -150px; bottom: -150px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--menu-accent);
  border-right-color: var(--menu-accent-clair);
  filter: drop-shadow(0 0 5px var(--menu-accent));
  opacity: 0.55;
  pointer-events: none;
}
body .footer-inner, body .footer-bottom { position: relative; z-index: 1; }

/* Titres de colonnes : couleur d'accent + petit trait dessous */
body .footer-col h4 { color: var(--menu-accent); text-shadow: none; }
body .footer-col h4::after {
  content: "";
  display: block;
  width: 36px; height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--menu-accent), var(--menu-accent-clair));
}

/* Liens */
body .footer-col a { transition: color 0.2s; }
body .footer-col a:hover { color: var(--menu-accent-clair); text-shadow: none; }
body .footer-certif-detail a { color: var(--menu-accent); }

/* Bandeau du bas (copyright) */
body .footer-bottom {
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), var(--menu-fond);
  border-top: 1px solid rgba(255,255,255,0.08);
}
body .footer-bottom p { color: rgba(255,255,255,0.6); }

/* Particuliers : plus besoin du contour autour des lettres */
body.theme-particulier .footer-col h4,
body.theme-particulier .footer-col a:hover { text-shadow: none; }

/* Pages où le bandeau du copyright est placé juste après le pied de page :
   on supprime la bande blanche entre les deux et on garde de l'air sous les colonnes */
body .footer-complet + .footer-bottom { margin-top: 0; }
body .footer-complet:not(:has(.footer-bottom)) { padding-bottom: 40px; }

/* ============================================================
   BANDEAUX (HEROS) DES PAGES INTÉRIEURES — même hauteur partout
   Une hauteur pour l'espace Entreprise, une pour l'espace Particuliers.
   (Les pages d'accueil des deux espaces gardent leur grand bandeau.)
   ============================================================ */
body.theme-entreprise .hero-page  { min-height: 520px; padding-top: 150px; padding-bottom: 70px; }
body.theme-particulier .hero-page { min-height: 520px; padding-top: 150px; padding-bottom: 60px; }
@media (max-width: 768px) {
  body.theme-entreprise .hero-page,
  body.theme-particulier .hero-page { min-height: 340px; padding-top: 100px; padding-bottom: 40px; }
}

/* ── RESPONSIVE (header/footer uniquement — le reste reste dans chaque page) ── */
@media (max-width: 1024px) {
  body.theme-entreprise .header-logo img { width: 280px; }
  .header-nav a { font-size: 13px; padding: 18px 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 1250px) {
  .header-nav, .header-google, .header-tel { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .header-inner { padding: 8px 20px; }
}

@media (max-width: 768px) {
  .header-nav, .header-google, .header-tel { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  /* Logo visible sur mobile (la barre Wix qui l'affichait n'existe plus sur OVH) */
  body.theme-entreprise .header-logo img,
  body.theme-particulier .header-logo img { width: 150px; }
  /* Logo Qualiopi du pied de page Entreprise : même format que côté Particuliers */
  body img.footer-qualiopi { width: 110px; padding: 5px; }
  .header-inner { padding: 8px 16px; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 20px; gap: 30px; }
  .footer-bottom { padding: 16px 20px; }
}
