/* ================================================================
   secteurs.css — CSS AUTONOME ET COMPLET
   Pages SEO locales KMG Agencement
   Chargé SEUL sur ces pages — aucun autre CSS du site ne s'applique
   Palette blog KMG : #0d0b07 brun foncé · #e8cc80 or · #fbf5e8 crème
   ================================================================ */


/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }


/* ================================================================
   VARIABLES
   ================================================================ */
:root {
  --gold:       #e8cc80;
  --gold-med:   #c9a96e;
  --gold-dark:  #b49c5c;
  --gold-dim:   rgba(201,169,110,.45);
  --dark:       #0d0b07;
  --dark2:      #171208;
  --dark3:      #1c1208;
  --cream:      #fbf5e8;
  --cream2:     #f1e8d4;
  --cream3:     #f6efe0;
  --cream-card: #fff9f0;
  --text-dark:  #2a2218;
  --text-mid:   #3a2e1e;
  --text-muted: #5a4a32;
  --text-light: #e8d8b0;
  --header-h:   68px;
  --max-w:      920px;
}


/* ================================================================
   HTML / BODY
   ================================================================ */
html, body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}
body {
  padding-top: var(--header-h);
  display: block;
}


/* ================================================================
   HEADER — barre de navigation fixe, dégradé brun chaud
   ================================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: linear-gradient(180deg, #3a2210 0%, #1e1008 60%, #130d05 100%);
  border-bottom: 1px solid rgba(201,169,110,.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
}

/* Petit logo KMG dans le header — pleine visibilité, pas de filtre sombre */
header::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: url('../images/logos/kmglogo4.png') center / contain no-repeat;
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(232,204,128,.35));
}

/* Masquer le menu Materialize (sidenav) sur ces pages */
.sidenav,
#mobile-demo,
.sidenav-trigger { display: none !important; }

/* Navbar desktop */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
}
.navbar > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  list-style: none;
  margin: 0; padding: 0;
}
.navbar > ul > li > a {
  color:rgb(237 206 120 / 95%);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 8px 13px;
  display: block;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.navbar > ul > li > a:hover {
  color: var(--gold);
  background: rgba(201,169,110,.1);
}

/* Submenu dropdown */
.navbar .has-submenu { position: relative; }
.navbar .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(13,11,7,.98);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 6px;
  min-width: 190px;
  padding: 6px 0;
  display: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.navbar .has-submenu:hover .submenu { display: block; }
.navbar .submenu > li > a {
  display: block;
  padding: 9px 16px;
  font-size: .78rem;
  color: rgba(232,216,176,.68);
  letter-spacing: .04em;
  transition: color .2s, background .2s;
}
.navbar .submenu > li > a:hover {
  color: var(--gold);
  background: rgba(201,169,110,.08);
}

/* Bouton Contactez-nous dans la navbar */
.navbar .only-desktop { margin-left: auto; }
.navbar .btn-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar .btn-contact img { display: none; }
.navbar .btn-contact span {
  display: inline-block;
  background: rgba(201,169,110,.14);
  border: 1px solid rgba(201,169,110,.42);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.navbar .btn-contact:hover span {
  background: rgba(201,169,110,.26);
  color:rgb(231 221 197);
}


/* ================================================================
   EFFET OR DÉGRADÉ — identique à la page d'accueil (styles.css)
   Appliqué UNIQUEMENT aux éléments en couleur or
   ================================================================ */
.secteur-hero h1,
.secteur-hero__kicker,
.secteur-zones h2,
.secteur-why h2,
.secteur-faq h2,
.secteur-cta h2,
.footer-title,
.secteur-breadcrumb a:hover {
  color: #e8cc80;
  background-image: linear-gradient(
    180deg,
    #8c7a3c 0%,
    #b49c5c 20%,
    #f5e6a3 40%,
    #e8cc80 50%,
    #f5e6a3 60%,
    #b49c5c 80%,
    #8c7a3c 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Titres des sections claires : or mat sans shimmer (lisibilité sur fond crème) */
.secteur-section h2,
.secteur-faq h2 {
  color: var(--text-dark);
  background-image: none;
  -webkit-text-fill-color: unset;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* Police des titres — identique à la page d'accueil */
h1, h2, h3 {
  font-family: "Footlight MT Light", "Playfair Display", Georgia, serif;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.secteur-breadcrumb {
  background: var(--dark2);
  padding: 11px 24px;
  font-size: .8rem;
  color: rgb(232 216 176 / 99%);
  border-bottom: 1px solid rgba(201,169,110,.12);
  display: block;
  width: 100%;
}
.secteur-breadcrumb a {
  color: rgb(184 167 136);
}
.secteur-breadcrumb a:hover { color: var(--gold); }
.secteur-breadcrumb .sep { margin: 0 8px; color: rgba(201,169,110,.25); }


/* ================================================================
   HERO — dégradé brun chaud, fondu vers la crème en bas
   ================================================================ */
.secteur-hero {
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(201,169,110,.08) 0%, transparent 70%),
    linear-gradient(160deg, #3a2210 0%, #2a1a08 50%, #1a1208 100%);
  padding: 72px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
/* Pas de fondu : transition nette vers la section suivante */
.secteur-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.secteur-hero__kicker {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: var(--gold-med);
  margin-bottom: 20px;
}
.secteur-hero h1 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 400;
}
.secteur-hero__desc {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(232,216,176,.8);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.8;
}
.secteur-hero__btn {
  display: inline-block;
  background: #e8cc80d1;
  color: var(--dark);
  padding: 14px 38px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  transition: background .2s;
}
.secteur-hero__btn:hover { background: var(--gold); color: var(--dark); }


/* ================================================================
   SECTIONS GÉNÉRIQUES — fond crème, texte brun foncé
   section sans classe = conteneur de .secteur-section
   ================================================================ */
section:not([class]) {
  background: var(--cream);
  width: 100%;
  display: block;
}
.secteur-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
}
.secteur-section h2 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--gold-med);
  padding-left: 16px;
  line-height: 1.35;
}
.secteur-section p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.secteur-section p:last-child { margin-bottom: 0; }

/* Section alternée — crème légèrement plus foncé */
.secteur-section--alt {
  background: var(--cream2);
  width: 100%;
  display: block;
}
.secteur-section--alt .secteur-section { padding: 56px 24px; }


/* ================================================================
   PRESTATIONS GRID
   ================================================================ */
.secteur-prestations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.secteur-card {
  background: var(--cream-card);
  border-radius: 6px;
  padding: 26px 20px;
  box-shadow: 0 2px 14px rgba(42,34,24,.1);
  border-top: 3px solid var(--gold-med);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.secteur-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(42,34,24,.15);
}
.secteur-card i {
  font-size: 1.6rem;
  color: var(--gold-med);
  display: block;
  margin-bottom: 12px;
}
.secteur-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.secteur-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}


/* ================================================================
   ZONES D'INTERVENTION — fondu crème→brun, or
   ================================================================ */
.secteur-zones {
  background: linear-gradient(180deg, #3a2410 0%, #1a1208 100%);
  padding: 76px 24px 76px;
  text-align: center;
  width: 100%;
  display: block;
  position: relative;
}
.secteur-zones__inner {
  max-width: 780px;
  margin: 0 auto;
}
.secteur-zones h2 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  color: var(--gold);
  margin-bottom: 12px;
}
.secteur-zones__intro {
  font-size: .92rem;
  color: rgba(232,216,176,.65);
  margin-bottom: 28px;
  line-height: 1.7;
}
.secteur-zones-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  list-style: none;
  padding: 0; margin: 0;
}
.secteur-zones-list li {
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.3);
  color: var(--gold-med);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 500;
}
.secteur-zones__note {
  margin-top: 24px;
  font-size: .8rem;
  color: rgba(232,216,176,.35);
  font-style: italic;
}


/* ================================================================
   POURQUOI KMG — fond brun foncé, cartes sombres, une seule ligne
   ================================================================ */
.secteur-why {
  background: #1a1208;
  padding: 56px 24px;
  width: 100%;
  display: block;
}
.secteur-why__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.secteur-why h2 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  margin-bottom: 2rem;
  text-align: center;
}
.secteur-why-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 16px;
}
.secteur-why-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,169,110,.18);
  border-radius: 6px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,.3);
}
.secteur-why-item i {
  font-size: 1.8rem;
  color: #e8cc80d1;
  display: block;
  margin-bottom: 12px;
}
.secteur-why-item h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gold-med);
  margin-bottom: 6px;
}
.secteur-why-item p {
  font-size: .84rem;
  color: rgb(232 216 176 / 85%);
  line-height: 1.6;
  margin: 0;
}


/* ================================================================
   BADGES GARANTIES — bande de confiance sous les cards
   ================================================================ */
.secteur-why-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(201,169,110,.2);
  list-style: none;
  padding-left: 0;
}
.secteur-why-badges li {
  font-size: .82rem;
  color: rgba(232,216,176,.72);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
}
.secteur-why-badges li i {
  color: var(--gold-med);
  font-size: .85rem;
  flex-shrink: 0;
}


/* ================================================================
   FAQ SEO LOCALE — fond crème légèrement différent
   ================================================================ */
.secteur-faq {
  background: var(--cream3);
  padding: 56px 24px;
  width: 100%;
  display: block;
}
.secteur-faq__inner {
  max-width: 760px;
  margin: 0 auto;
}
.secteur-faq h2 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  text-align: center;
}
.secteur-faq-item {
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.secteur-faq-item h3 {
  margin: 0;
  padding: 16px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--cream-card);
  border-left: 3px solid var(--gold-med);
  line-height: 1.4;
}
.secteur-faq-item p {
  padding: 14px 20px 18px 23px;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid rgba(201,169,110,.15);
  background: #fffdf8;
}


/* ================================================================
   CTA FINAL — fondu crème→brun chaud
   ================================================================ */
.secteur-cta {
  background: linear-gradient(180deg, #3a2410 0%, #1a1208 100%);
  text-align: center;
  padding: 96px 24px 80px;
  width: 100%;
  display: block;
  position: relative;
}
.secteur-cta h2 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: var(--gold);
  margin-bottom: 14px;
}
.secteur-cta p {
  font-size: 1rem;
  color: rgba(232,216,176,.78);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.secteur-cta__btn {
  display: inline-block;
  background: var(--gold-med);
  color: var(--dark);
  padding: 15px 42px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  transition: background .2s;
}
.secteur-cta__btn:hover { background: var(--gold); }


/* ================================================================
   LIENS INTERNES — fond brun moyen discret
   ================================================================ */
.secteur-links {
  background: var(--dark2);
  padding: 32px 24px;
  text-align: center;
  width: 100%;
  display: block;
  border-top: 1px solid rgba(201,169,110,.1);
}
.secteur-links h3 {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .35em;
  color:rgb(201 169 110);
  margin-bottom: 14px;
}
.secteur-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  list-style: none;
  padding: 0; margin: 0;
}
.secteur-links-list li a {
  color: rgb(232 216 176 / 76%);
  font-size: .87rem;
  border-bottom: 1px solid rgba(201,169,110,.28);
  padding-bottom: 2px;
  transition: color .15s;
}
.secteur-links-list li a:hover { color: var(--gold); }


/* ================================================================
   FOOTER ZONES — dégradé brun chaud, pleine largeur
   ================================================================ */
.footer-zones {
  background: linear-gradient(180deg, #171208 0%, #221608 100%);
  padding: 36px 48px 30px;
  border-top: 1px solid rgba(201,169,110,.14);
  width: 100%;
  display: block;
}
.footer-zones__inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-zones__title {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .35em;
  color:rgb(201 169 110);
  margin-bottom: 14px;
  text-align: center;
  margin-bottom: 20px;
}
.footer-zones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 28px;
  text-align: left;
}
.footer-zones__col h4 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color:rgb(201 169 110);
  margin-bottom: 8px;
  font-weight: 600;
}
.footer-zones__col ul { list-style: none; padding: 0; margin: 0; }
.footer-zones__col li a {
  font-size: .77rem;
  color:rgb(232 216 176 / 65%);
  display: block;
  line-height: 2.1;
  transition: color .15s;
}
.footer-zones__col li a:hover { color: var(--gold-med); }


/* ================================================================
   FOOTER PRINCIPAL — pleine largeur, brun chaud
   Structure HTML footer.php :
   .footer-content > .footer-logo + .footer-title-container
                    + .footer-social + .footer-nav + .footer-copyright
   ================================================================ */
footer {
  background: linear-gradient(180deg, #221608 0%, #1a1208 50%, #130d05 100%);
  border-top: 1px solid rgba(201,169,110,.18);
  padding: 44px 60px 32px;
  width: 100%;
  display: block;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  /* col 1 = logo | col 2 = centre | col 3 = social */
  grid-template-columns: 110px 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 52px;
  row-gap: 10px;
  align-items: start;
}

/* Logo — colonne gauche, centré verticalement sur les 3 rangées */
.footer-logo {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  align-self: center;
}
.footer-logo img { width: 90px; height: auto; }

/* "Appelez-nous !" — centre, rangée 1 */
.footer-title-container {
  grid-column: 2;
  grid-row: 1;
}
.footer-title {
  font-size: 1.45rem;
  font-weight: 400;
}

/* Nav liens — centre, rangée 2 */
.footer-nav {
  grid-column: 2;
  grid-row: 2;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-nav ul li a {
  color: rgb(232 204 128 / 83%);
  font-size: .83rem;
  transition: color .15s;
}
.footer-nav ul li a:hover { color: var(--gold); }

/* Copyright — centre, rangée 3 */
.footer-copyright {
  grid-column: 2;
  grid-row: 3;
  font-size: .7rem;
  color:rgb
#e8d8b09e
(232 216 176 / 62%);
  line-height: 1.8;
}
.footer-copyright a, .footer-legal {
  color:rgb(201 169 110 / 79%);
  transition: color .15s;
}
.footer-copyright a:hover { color: var(--gold-med); }

/* Icônes sociales — droite, une seule ligne horizontale */
.footer-social {
  grid-column: 3;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  align-self: center;
  justify-content: flex-end;
}
.footer-social a img {
  width: 38px;
  height: 38px;
  display: block;
  opacity: 1;                   /* pleine visibilité */
  transition: transform .2s, filter .2s;
}
.footer-social a:hover img {
  transform: scale(1.14);
  filter: drop-shadow(0 2px 8px rgba(201,169,110,.55));
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  footer { padding: 36px 32px 24px; }
  .footer-zones { padding: 30px 32px 26px; }
}

@media (max-width: 900px) {
  .navbar > ul { gap: 0; }
  .navbar > ul > li > a { padding: 8px 9px; font-size: .74rem; }
  .footer-zones__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }

  /* Footer mobile : empilement vertical centré */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .footer-logo     { grid-column: 1; grid-row: 1; justify-content: center; }
  .footer-logo img { width: 72px; }
  .footer-title-container { grid-column: 1; grid-row: 2; }
  .footer-nav      { grid-column: 1; grid-row: 3; }
  .footer-nav ul   { justify-content: center; }
  .footer-social   {
    grid-column: 1; grid-row: 4;
    flex-direction: row; flex-wrap: wrap;
    justify-content: center; max-width: none;
  }
  .footer-copyright { grid-column: 1; grid-row: 5; text-align: center; }
}

@media (max-width: 680px) {
  .secteur-hero { padding: 52px 18px 80px; }
  .secteur-hero h1 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .secteur-prestations { grid-template-columns: 1fr; }
  .secteur-why-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); }
  .secteur-section { padding: 40px 18px; }
  .secteur-section--alt .secteur-section { padding: 40px 18px; }
  .secteur-cta { padding: 80px 18px 64px; }
  .secteur-zones { padding: 60px 18px 60px; }
  .secteur-why { padding: 44px 18px; }
  .secteur-faq { padding: 44px 18px; }
  .navbar > ul > li:not(.only-desktop) > a { font-size: .7rem; padding: 7px 7px; }
  footer { padding: 28px 18px 20px; }
  .footer-zones { padding: 26px 18px 22px; }
}

@media (max-width: 480px) {
  header { padding: 0 14px; gap: 10px; }
  header::before { width: 32px; height: 32px; }
  .navbar > ul { overflow-x: auto; }
  .navbar > ul > li > a { white-space: nowrap; }
  .secteur-why-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; }
  .footer-zones__grid { grid-template-columns: repeat(2, 1fr); }
}
