/* ═══════════════════════════════════════════
   LCA Conseils — style.css
   Reprend l'allure du site WordPress (thème Azwa) : orange #FF5D00,
   titres en Raleway, texte en Poppins, bandeau sombre sous le menu.
   ═══════════════════════════════════════════ */

:root {
  --orange:  #FF5D00;
  --nuit:    #1C2A47;
  --titre:   #1C2A47;
  --texte:   #6B6B6B;
  --clair:   #F6F7F9;
  --bordure: #E6E8EC;
  --blanc:   #FFFFFF;
  --ombre:   0 4px 18px rgba(28, 42, 71, .10);
}

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

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--texte);
  background: var(--blanc);
}

h1, h2, h3 { font-family: 'Raleway', sans-serif; color: var(--titre); line-height: 1.3; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.centre { text-align: center; }

/* ── Barre du haut ── */
.topbar { background: var(--blanc); border-bottom: 1px solid var(--bordure); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; min-height: 42px; }
.topbar-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--texte); }
.topbar-contact i { color: var(--orange); font-size: 1.1rem; }
.topbar-contact strong { color: var(--titre); font-weight: 600; }

/* ── Menu ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanc);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.navbar-logo img { width: 170px; }

.navbar-links { display: flex; list-style: none; gap: 4px; }
.navbar-links a {
  display: block; padding: 8px 14px;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .95rem;
  color: var(--titre);
  border-bottom: 2px solid transparent;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--orange); border-bottom-color: var(--orange); text-decoration: none; }

.navbar-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: var(--titre); line-height: 1;
}

@media (max-width: 760px) {
  .navbar-toggle { display: block; }
  .navbar-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--blanc); border-top: 1px solid var(--bordure);
    padding: 8px 20px 14px; box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }
  .navbar-links.open { display: flex; }
  .topbar-contact span { display: none; }
}

/* ── Bandeau titre ── */
.bandeau {
  position: relative;
  background-color: var(--nuit);
  background-size: cover; background-position: center;
  color: var(--blanc);
  padding: 56px 0 50px;
}
.bandeau::before { content: ''; position: absolute; inset: 0; background: rgba(20, 30, 52, .82); }
.bandeau .container { position: relative; }
.bandeau h1 { color: var(--blanc); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.bandeau .fil { margin-top: 6px; font-size: .9rem; color: var(--orange); }
.bandeau .fil a { color: var(--blanc); }
.bandeau .fil i { font-size: .7rem; margin: 0 4px; }

/* ── Contenu ── */
.contenu { padding: 60px 0 70px; }

.texte p { margin-bottom: 1.1em; }
.texte strong { color: var(--titre); font-weight: 600; }
.texte h3 { font-size: 1.15rem; margin: 6px 0 12px; }

.deux-colonnes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; margin-bottom: 30px;
}
.illustration { width: 100%; border-radius: 4px; box-shadow: var(--ombre); }
@media (max-width: 760px) { .deux-colonnes { grid-template-columns: 1fr; gap: 24px; } }

.titre-section {
  font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800;
  margin: 10px 0 24px; padding-bottom: 12px; position: relative;
}
.titre-section::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 60px; height: 3px; background: var(--orange);
}
.centre .titre-section::after, .titre-section.centre::after { left: 50%; transform: translateX(-50%); }
.titre-section + h3 { margin-top: -8px; }
section .titre-section:not(:first-child) { margin-top: 50px; }

/* ── Métiers ── */
.liste-metier { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.liste-metier li {
  position: relative; padding: 14px 18px 14px 44px;
  background: var(--clair); border-left: 3px solid var(--orange); border-radius: 0 4px 4px 0;
}
.liste-metier li::before {
  content: '\F26E'; font-family: 'bootstrap-icons';
  position: absolute; left: 16px; top: 14px; color: var(--orange);
}

/* ── Cartes (Métiers, Outils) ── */
.cartes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-bottom: 20px;
}
.carte {
  background: var(--blanc); border: 1px solid var(--bordure); border-top: 3px solid var(--orange);
  border-radius: 4px; padding: 22px 22px 8px; box-shadow: var(--ombre);
}
.carte > i { font-size: 1.7rem; color: var(--orange); }
.texte .carte h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.carte p { font-size: .93rem; }

.encart {
  background: var(--clair); border-left: 3px solid var(--orange);
  border-radius: 0 4px 4px 0; padding: 20px 24px 6px; margin: 24px 0;
}
.encart h3 { margin-top: 0; }

/* ── Mentions légales ── */
.mentions h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.mentions dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.mentions dt { color: var(--titre); font-weight: 600; }
@media (max-width: 600px) { .mentions dl { grid-template-columns: 1fr; } .mentions dd { margin-bottom: 8px; } }

/* ── Outils : carrousels et volets ── */
.carrousel { position: relative; margin: 28px 0 32px; }
.carrousel-piste {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; background: var(--clair); border-radius: 6px;
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste figure {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.carrousel-piste img { max-height: 520px; width: auto; box-shadow: var(--ombre); }
.carrousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--orange); color: var(--blanc); font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.carrousel-btn:hover { opacity: .85; }
.carrousel-btn.precedent { left: 10px; }
.carrousel-btn.suivant   { right: 10px; }

.volet { border-bottom: 1px solid #D4D4D4; }
.volet:first-of-type { border-top: 1px solid #D4D4D4; }
.volet summary {
  cursor: pointer; padding: 15px; font-weight: 700; color: var(--titre);
  list-style: none;
}
.volet summary::-webkit-details-marker { display: none; }
.volet summary::before { content: '+'; display: inline-block; width: 1.2em; color: var(--orange); }
.volet[open] summary::before { content: '–'; }
.volet > :not(summary) { padding: 0 15px; }
.volet > :last-child { padding-bottom: 15px; }
.volet ul { padding-left: 35px; padding-bottom: 15px; }
.volet + h2 { margin-top: 50px; }

/* ── Références ── */
.rubrique { margin-bottom: 44px; }
.rubrique h3 {
  font-size: 1.2rem; margin-bottom: 18px; padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logo {
  display: flex; align-items: center; justify-content: center;
  height: 110px; padding: 14px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 4px;
}
.logo img { max-height: 80px; width: auto; object-fit: contain; }

/* ── Map ── */
.bouton {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 4px;
  background: var(--orange); color: var(--blanc); font-weight: 500;
}
.bouton:hover { text-decoration: none; opacity: .88; }

/* ── Pied de page ── */
.footer { background: var(--nuit); color: #AEB6C6; font-size: .9rem; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 16px 30px;
  align-items: center; justify-content: space-between; padding: 26px 20px;
}
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a, .footer-contact { color: #D6DBE5; }
.footer-links a:hover { color: var(--orange); text-decoration: none; }
.footer-contact i { color: var(--orange); margin-right: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 14px 20px; text-align: center; font-size: .82rem;
}
.footer-bottom a { color: #D6DBE5; }
.footer-bottom a:hover { color: var(--orange); }
