/* ==========================================================================
   EL Multiservices — Site 2026
   Charte (logos, couleurs, motif organique) et mise en page : Jérémy Schiavo
   (mise en page reprise de sa maquette Hydroswipe, déclinée en EL Multiservices).
   Feuille chargée APRÈS leadmark.css : elle surcharge le thème sans le modifier.
   ========================================================================== */

/* ---------- Polices hébergées sur le site (aucun appel à Google) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/poppins-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-italic.woff2") format("woff2"); }

/* ---------- Palette EL Multiservices (CMJN des fichiers de Jérémy) ---------- */
:root {
  --el-bleu: #004A88;
  --el-bleu-fonce: #003A6B;
  --el-orange: #E78819;
  --el-orange-fonce: #C9710C;
  --el-vert: #689C48;
  --el-vert-clair: #8DBA6E;
  --el-gris: #EFEFEF;
  --el-texte: #1D3B5C;
  --el-rayon: 16px;
}

/* ---------- Base ---------- */
body.el-v2 {
  font-family: "Poppins", sans-serif;
  color: var(--el-texte);
  background: #fff;
  padding-top: 0 !important;
  overflow-x: hidden;
}
.el-v2 p { font-size: 15px; line-height: 1.65; opacity: 1; color: var(--el-texte); }
.el-v2 a { color: var(--el-bleu); }
.el-v2 a:hover { color: var(--el-orange); text-decoration: none; }
.el-v2 ::selection { background: var(--el-orange); color: #fff; }
::-webkit-scrollbar-thumb { background: var(--el-bleu); }
.el-v2 .section:nth-child(even) { background: transparent; }

/* ---------- Onglet logo fixe (haut gauche) ---------- */
.el-logo-tab {
  position: fixed; top: 0; left: clamp(0px, 6vw, 98px); z-index: 1040;
  background: var(--el-bleu); border-radius: 0 0 14px 0;
  padding: 22px 26px 22px 22px; display: block;
  box-shadow: 0 8px 24px rgba(0, 40, 80, .18);
  transition: padding .25s ease;
}
.el-logo-tab img { width: 210px; height: auto; display: block; transition: width .25s ease; }
.el-defile .el-logo-tab { padding: 14px 18px 14px 16px; }
.el-defile .el-logo-tab img { width: 160px; }

/* ---------- Bouton menu (haut droite) ---------- */
.el-burger {
  position: fixed; top: 22px; right: clamp(14px, 6vw, 98px); z-index: 1060;
  width: 54px; height: 54px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(0, 40, 80, .15);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.el-burger span { display: block; width: 30px; height: 2.5px; background: var(--el-bleu); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.el-burger:focus { outline: 2px solid var(--el-orange); outline-offset: 2px; }
.el-menu-ouvert .el-burger { background: #fff; }
.el-menu-ouvert .el-burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.el-menu-ouvert .el-burger span:nth-child(2) { opacity: 0; }
.el-menu-ouvert .el-burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------- Menu plein écran : motif + panneau bleu ---------- */
.el-menu {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--el-bleu) url("../imgs/brand/el-motif.svg") center / cover no-repeat;
  padding: clamp(14px, 3vw, 40px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.el-menu-ouvert .el-menu { opacity: 1; visibility: visible; }
.el-menu-ouvert { overflow: hidden; }
.el-menu-panel {
  height: 100%; background: var(--el-bleu); border-radius: var(--el-rayon);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 110px clamp(26px, 7vw, 120px) 40px; overflow-y: auto;
}
.el-menu-liens { list-style: none; margin: 0; padding: 0; }
.el-menu-liens a {
  display: inline-block; color: #fff; font-weight: 200; line-height: 1.15;
  font-size: clamp(30px, 5vw, 64px); padding: 4px 0; transition: color .2s ease, transform .2s ease;
}
.el-menu-liens a:hover { color: var(--el-orange); transform: translateX(8px); }
.el-menu-infos { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.el-menu-rond { width: 150px; height: auto; margin-bottom: 8px; }
.el-v2 .el-menu-tel { color: #fff; font-size: 30px; font-weight: 500; }
.el-v2 .el-menu-mail { color: var(--el-vert-clair); }
@media (max-width: 767.98px) {
  .el-menu-panel { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .el-menu-rond { display: none; }
}

/* ---------- Boutons « pilule » (maquette Jérémy) ---------- */
.el-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.el-v2 .el-pill {
  display: inline-block; border: 1.5px solid var(--el-bleu); color: var(--el-bleu);
  background: transparent; border-radius: 50px; padding: .55rem 1.5rem;
  font-size: 14px; font-weight: 500; line-height: 1.3; cursor: pointer;
  transition: all .2s ease; text-decoration: none;
}
.el-v2 .el-pill:hover { background: var(--el-bleu); color: #fff; }
.el-v2 .el-pill-orange { background: var(--el-orange); border-color: var(--el-orange); color: #fff; font-weight: 600; }
.el-v2 .el-pill-orange:hover { background: var(--el-orange-fonce); border-color: var(--el-orange-fonce); color: #fff; box-shadow: 0 8px 20px rgba(231, 136, 25, .3); }
.el-v2 .el-pill-plein { background: var(--el-bleu); color: #fff; padding: .7rem 2.2rem; font-weight: 600; }
.el-v2 .el-pill-plein:hover { background: var(--el-orange); border-color: var(--el-orange); }

/* ---------- Flèches rondes de navigation ---------- */
.el-v2 .el-fleche {
  display: flex; align-items: center; justify-content: center; margin: 34px auto 0;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--el-bleu);
  color: var(--el-bleu); font-size: 16px; transition: all .2s ease;
}
.el-v2 .el-fleche:hover { background: var(--el-bleu); color: #fff; }
.el-v2 .el-fleche-blanche { border-color: #fff; color: #fff; }
.el-v2 .el-fleche-blanche:hover { background: #fff; color: var(--el-bleu); }

/* ---------- Accueil : photo + onglet titre sur motif clair ---------- */
.el-hero { position: relative; background: #fff url("../imgs/brand/el-motif-clair.svg") center / cover no-repeat; }
.el-hero-photo {
  height: clamp(300px, 46vh, 470px);
  background: #c9b9a6 url("../imgs/header.jpg") center / cover no-repeat;
}
.el-hero-texte { position: relative; text-align: center; padding: 0 20px 60px; }
.el-hero-onglet {
  display: inline-block; background: #fff; border-radius: 18px 18px 0 0;
  padding: 18px clamp(18px, 3vw, 36px) 0; margin-top: -48px; position: relative;
}
.el-hero h1 { margin: 0; line-height: 1.1; color: var(--el-bleu); }
.el-hero h1 .l1, .el-hero h1 .l3 { display: block; font-weight: 400; font-size: clamp(22px, 2.6vw, 36px); }
.el-hero h1 .l2 {
  display: block; font-weight: 800; font-style: italic; color: var(--el-vert);
  font-size: clamp(32px, 5vw, 66px); letter-spacing: -.01em; margin: .08em 0 .12em;
}
.el-hero h1 .l3 { font-size: clamp(16px, 1.7vw, 24px); }
.el-trait { display: block; width: 104px; height: 2px; background: var(--el-orange); margin: 26px auto 24px; }
.el-hero-texte p { max-width: 590px; margin: 0 auto 12px; }

/* ---------- Sections génériques ---------- */
.el-section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.el-bleu { background: var(--el-bleu); color: #fff; }
.el-bleu p { color: rgba(255, 255, 255, .88); font-size: 14px; }
.el-gris { background: var(--el-gris); }
.el-motif-clair { background: #fff url("../imgs/brand/el-motif-clair.svg") center / cover no-repeat; }

.el-titre-geant {
  font-weight: 500; line-height: 1.02; letter-spacing: -.02em; margin: 0;
  font-size: clamp(54px, 7vw, 104px); color: #fff;
}
.el-titre-bleu { color: var(--el-bleu); }
#about .el-titre-geant { font-size: clamp(46px, 5.3vw, 82px); }
.el-titre-duo { margin: 0 0 18px; line-height: 1.15; font-size: clamp(26px, 2.4vw, 34px); }
.el-titre-duo span { display: block; color: var(--el-bleu); font-weight: 500; }
.el-titre-duo strong {
  display: inline-block; color: var(--el-vert); font-weight: 700;
  padding-bottom: 6px; border-bottom: 2px solid var(--el-vert);
}
.el-titre-duo.el-centre { text-align: center; }
.el-titre-italique {
  font-style: italic; font-weight: 500; color: var(--el-bleu); line-height: 1.08;
  font-size: clamp(32px, 3.6vw, 54px); margin: 0 0 34px;
}
.el-sous-titre { font-weight: 700; color: var(--el-bleu) !important; font-size: 16px !important; margin-bottom: 18px; }

.el-v2 .btn-hydroswipe { color: #A2B877; }
.el-v2 .btn-hydroswipe:hover { color: #01466D; }

/* ---------- Qui sommes-nous ---------- */
.el-photo-arrondie { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; display: block; }
.el-nom {
  color: #fff; font-weight: 400; font-size: clamp(22px, 2vw, 28px); margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 1.5px solid #fff; display: inline-block;
}
.el-role { color: #fff !important; font-size: 16px !important; margin-bottom: 22px; }
.el-citation {
  margin: clamp(50px, 6vw, 80px) auto 0; max-width: 780px; text-align: center;
  font-style: italic; font-weight: 300; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.6; color: #fff;
}

/* ---------- Blocs partagés en deux (split) ---------- */
.el-split { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.el-split-gauche { display: flex; align-items: center; justify-content: center; padding: clamp(60px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.el-split-contenu { max-width: 440px; width: 100%; }
.el-split-contenu .el-rond { width: 170px; height: auto; display: block; margin: 0 auto 36px; }
.el-split-droite { padding: clamp(60px, 8vw, 110px) 0 60px; display: flex; flex-direction: column; }
.el-split-droite > .el-titre-italique { padding: 0 clamp(24px, 4vw, 40px); }
.el-split-photo { width: 100%; height: clamp(280px, 30vw, 440px); object-fit: cover; display: block; }
.el-split-bas { padding: 22px clamp(24px, 4vw, 40px) 0; }
.el-split-photos { padding: 0; display: flex; flex-direction: column; }
.el-split-photos img { width: 100%; flex: 1 1 0; min-height: 220px; height: auto; object-fit: cover; display: block; }
@media (max-width: 767.98px) {
  .el-split { grid-template-columns: 1fr; }
  .el-split-droite { padding-top: 50px; }
}

/* ---------- Nos métiers : grandes barres bleues ---------- */
.el-metiers-grille { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.el-metiers-titre { padding: 0 clamp(24px, 6vw, 110px) 30px; }
.el-metiers-titre p { max-width: 380px; margin-top: 24px; }
.el-barres { background: var(--el-bleu); }
.el-barre { border-bottom: 1px solid rgba(255, 255, 255, .6); }
.el-barre:last-child { border-bottom: 0; }
.el-barre summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(22px, 3vw, 44px); gap: 20px;
}
.el-barre summary::-webkit-details-marker { display: none; }
.el-barre-mot { color: #fff; font-weight: 200; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.12; letter-spacing: -.01em; transition: color .2s ease; }
.el-barre-plus { color: #fff; font-size: 12px; white-space: nowrap; opacity: .9; }
.el-barre-plus::after { content: " +"; }
.el-barre[open] .el-barre-plus::after { content: " –"; }
.el-barre summary:hover .el-barre-mot, .el-barre[open] .el-barre-mot { color: var(--el-orange); }
.el-barre p { color: rgba(255, 255, 255, .9); padding: 0 clamp(22px, 3vw, 44px) 26px; margin: 0; max-width: 620px; font-size: 14px; }
@media (max-width: 991.98px) {
  .el-metiers-grille { grid-template-columns: 1fr; }
  .el-metiers-titre { padding-bottom: 40px; }
}

/* ---------- Portfolio (filtres + grille du thème) ---------- */
.el-v2 #portfolio { background: #fff; padding: clamp(70px, 9vw, 110px) 0; }
.el-v2 #portfolio .section-title { color: var(--el-bleu); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.02em; }
.el-v2 #portfolio .section-subtitle { color: var(--el-vert); font-size: 15px; font-weight: 500; opacity: 1; }
.el-v2 .portfolio-section .filters { border: 1.5px solid var(--el-bleu); }
.el-v2 .portfolio-section .filters a { color: var(--el-bleu); opacity: 1; font-weight: 500; }
.el-v2 .portfolio-section .filters a.active { background: var(--el-bleu) !important; color: #fff !important; }
.el-v2 .portfolio-section .portfolio-container .portfolio-item { border-radius: 14px; }
.el-v2 .portfolio-section .portfolio-container .portfolio-item .content-holder { background: rgba(0, 74, 136, .88); }
.el-v2 .portfolio-section .portfolio-container .portfolio-item .content-holder .title { color: #fff; font-weight: 600; }
.el-v2 .portfolio-section .portfolio-container .portfolio-item .content-holder .subtitle { color: var(--el-vert-clair); }

/* ---------- Zone d'intervention ---------- */
.el-carte-blanche {
  background: #fff; border-radius: 20px; max-width: 860px; margin: 0 auto;
  padding: clamp(36px, 5vw, 60px); box-shadow: 0 16px 50px rgba(0, 40, 80, .08); text-align: center;
}
.el-communes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.el-communes li { border: 1.5px solid var(--el-bleu); color: var(--el-bleu); border-radius: 50px; padding: .28rem .95rem; font-size: 13px; font-weight: 500; }
.el-communes li.el-plus { border-color: var(--el-vert); color: var(--el-vert); }

/* ---------- Contact ---------- */
.el-contact .el-contact-sous { color: var(--el-bleu) !important; font-size: clamp(24px, 2.4vw, 34px) !important; font-weight: 500; margin: 10px 0 30px; }
.el-contact .el-contact-tel a { font-size: 30px; font-weight: 600; color: var(--el-bleu); }
.el-contact .el-petit { font-size: 13px; opacity: .8; margin-top: 18px; }
.el-contact .el-split-droite { padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 80px) 90px; justify-content: center; }
.el-form label { display: block; color: var(--el-bleu); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.el-v2 .el-form .form-control {
  border: 1px solid #cfd6de; border-radius: 4px; height: 42px; font-size: 14px; color: var(--el-texte);
  background: #fff; font-family: inherit; line-height: 1.4;
}
.el-v2 .el-form textarea.form-control { height: auto; }
.el-v2 .el-form .form-control:focus { border-color: var(--el-bleu); box-shadow: 0 0 0 3px rgba(0, 74, 136, .12); }
.el-v2 .el-form .form-control::placeholder { color: #9aa6b2; }
.el-form-bandeau { background: var(--el-gris); color: var(--el-bleu) !important; padding: 9px 12px; text-transform: uppercase; font-size: 14px !important; margin: 6px 0 16px; }
.el-form-bas { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.el-form-bas p { flex: 1 1 260px; font-size: 12px !important; opacity: .8; }
.el-contact .el-fleche-haut { position: absolute; left: 50%; bottom: 26px; margin: 0; transform: translateX(-50%); background: #fff; }
@media (max-width: 767.98px) { .el-contact .el-fleche-haut { display: none; } }

/* ---------- Pied de page ---------- */
.el-footer { background: var(--el-bleu); color: #fff; padding: clamp(70px, 9vw, 120px) 0 30px; }
.el-footer-grille { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.el-footer-col img { width: 230px; height: auto; margin-bottom: 22px; }
.el-footer p { color: #fff; font-size: 13px; margin-bottom: 8px; padding-left: 44px; }
.el-v2 .el-footer a { color: #fff; }
.el-v2 .el-footer a:hover { color: var(--el-orange); }
.el-footer-suivez { margin-top: 26px; text-transform: uppercase; font-weight: 500; }
.el-footer .el-social { padding-left: 44px; }
.el-social { display: flex; gap: 12px; }
.el-v2 .el-social a { color: #fff; font-size: 20px; }
.el-footer-liens {
  list-style: none; margin: 0; padding: 0 clamp(24px, 4vw, 110px);
  border-left: 1px solid rgba(255, 255, 255, .7); border-right: 1px solid rgba(255, 255, 255, .7);
}
.el-footer-liens li { margin: 8px 0; }
.el-footer-liens a { font-size: 14px; white-space: nowrap; }
.el-footer-rond { text-align: center; }
.el-footer-rond img { width: 170px; height: auto; }
.el-footer-bas { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 60px; padding-top: 22px; text-align: center; }
.el-footer-bas p { padding-left: 0; font-size: 12px; opacity: .75; margin-bottom: 4px; }
@media (max-width: 767.98px) {
  .el-footer-grille { grid-template-columns: 1fr; text-align: left; }
  .el-footer-liens { border: 0; padding: 0; }
  .el-footer p, .el-footer .el-social { padding-left: 0; }
  .el-footer-rond { text-align: left; }
}

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.el-call-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 1030;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--el-orange); color: #fff !important; display: none;
  align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 8px 22px rgba(0, 46, 85, .35);
}
@media (max-width: 767.98px) {
  .el-call-float { display: flex; }
  .el-logo-tab { left: 0; padding: 14px 16px 14px 14px; }
  .el-logo-tab img { width: 150px; }
  .el-defile .el-logo-tab img { width: 130px; }
  .el-burger { top: 12px; width: 48px; height: 48px; }
  .el-hero-onglet { margin-top: -36px; }
}

@media (prefers-reduced-motion: reduce) {
  .el-v2 *, .el-v2 *::before, .el-v2 *::after { transition: none !important; }
}