.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-75e9820:#1A4FD6;--e-global-color-2d540ca:#0D1117;--e-global-color-f337f44:#0A1428;--e-global-color-ccb7001:#2D7FFF;--e-global-color-6e761cd:#6AACFF;--e-global-color-69e20fa:#0A0F2E;--e-global-typography-primary-font-family:"Plus Jakarta Sans";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-270f9c4-font-family:"Plus Jakarta Sans";}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 h1{font-family:"Inter", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ============================================
   HACW - UNIFIED COLOR SYSTEM
   blanc → bleu très clair → navy → bleu moyen
   ============================================ */

/* ── Container ── */
.hacw-project-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* ── Grande Card ── */
.hacw-project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 460px;
  border: 1px solid rgba(19, 81, 168, 0.15);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.hacw-project-card:hover {
  border-color: rgba(19, 81, 168, 0.35);
  box-shadow: 0 12px 40px rgba(13, 43, 94, 0.1);
}

.hacw-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: brightness(0.55) saturate(0.85);
  display: block;
  transform: translateY(-12%);
}

.hacw-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 43, 94, 0.92) 0%, rgba(13, 43, 94, 0.7) 50%, transparent 100%);
}

.hacw-project-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(19, 81, 168, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 81, 168, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hacw-project-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #1351a8, transparent);
}

.hacw-project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(19, 81, 168, 0.1);
  border: 1px solid rgba(19, 81, 168, 0.25);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hacw-project-badge span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1351a8;
}

.hacw-project-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 3rem 4rem;
  max-width: 560px;
}

.hacw-project-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

.hacw-project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7ec8ff;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hacw-project-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hacw-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0d2b5e, #1351a8);
  color: #fff;
  padding: 0.7rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(19, 81, 168, 0.25);
  border: none;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: all 0.25s;
  text-decoration: none;
}

.hacw-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(19, 81, 168, 0.35);
}

/* ── Petite Card (article) ── */
.hacw-article-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 360px;
  border: 1px solid rgba(19, 81, 168, 0.15);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  transform: translateY(0);
}

.hacw-article-card:hover {
  border-color: rgba(19, 81, 168, 0.35);
  box-shadow: 0 12px 40px rgba(13, 43, 94, 0.1);
  transform: translateY(-4px);
}

.hacw-article-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.75);
  transition: transform 0.7s;
  transform: scale(1);
}

.hacw-article-card:hover .hacw-article-img {
  transform: scale(1.05);
}

.hacw-article-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 94, 0.98) 0%, rgba(13, 43, 94, 0.5) 50%, rgba(13, 43, 94, 0.1) 100%);
}

.hacw-article-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #1351a8, transparent);
}

.hacw-article-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 0.4rem;
}

.hacw-article-badge {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(19, 81, 168, 0.15);
  border: 1px solid rgba(19, 81, 168, 0.3);
  color: #7ec8ff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.hacw-article-badge.dark {
  background: rgba(13, 43, 94, 0.85);
  border: 1px solid rgba(19, 81, 168, 0.2);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hacw-article-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.hacw-article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem;
}

.hacw-article-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #7ec8ff;
  font-size: 0.78rem;
}

.hacw-article-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
}

.hacw-article-card:hover .hacw-article-details {
  max-height: 200px;
}

.hacw-article-details p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.hacw-article-stats {
  display: flex;
  gap: 1.2rem;
}

.hacw-article-stat-label {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hacw-article-stat-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7ec8ff;
}

/* ── Modal (même style clair) ── */
.hacw-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 43, 94, 0.75);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: hacw-fadeIn 0.2s ease;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hacw-modal-backdrop.active {
  display: flex;
}

.hacw-modal {
  background: #ffffff;
  border: 1px solid rgba(19, 81, 168, 0.15);
  border-radius: 16px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: hacw-slideUp 0.3s ease;
  box-shadow: 0 40px 100px rgba(13, 43, 94, 0.15), 0 0 80px rgba(19, 81, 168, 0.05);
}

.hacw-modal-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #1351a8, rgba(19, 81, 168, 0.25), transparent);
  border-radius: 16px 16px 0 0;
}

.hacw-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(13, 43, 94, 0.06);
  border: 1px solid rgba(19, 81, 168, 0.12);
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7a95bb;
  transition: 0.2s;
}

.hacw-modal-close:hover {
  background: rgba(13, 43, 94, 0.1);
  color: #0d2b5e;
}

.hacw-modal-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.hacw-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.75);
  display: block;
}

.hacw-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0d2b5e 0%, rgba(13, 43, 94, 0.3) 50%, transparent 100%);
}

.hacw-modal-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(19, 81, 168, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 81, 168, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hacw-modal-hero-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 0.5rem;
}

.hacw-modal-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.hacw-modal-tag.blue {
  background: rgba(19, 81, 168, 0.1);
  border: 1px solid rgba(19, 81, 168, 0.3);
  color: #1351a8;
}

.hacw-modal-tag.dark {
  background: rgba(13, 43, 94, 0.85);
  border: 1px solid rgba(19, 81, 168, 0.2);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── RÉSIDENTIEL (bleu) ── */
.hacw-modal-tag.residentiel {
  background: rgba(19, 81, 168, 0.1);
  border: 1px solid rgba(19, 81, 168, 0.3);
  color: #1351a8;
}

/* ── COMMERCIAL (cyan) ── */
.hacw-modal-tag.commercial {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #0891b2;
}

/* ── INDUSTRIEL (amber/orange) ── */
.hacw-modal-tag.industriel {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #d97706;
}

.hacw-modal-hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
}

.hacw-modal-hero-info h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hacw-modal-hero-info .loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7ec8ff;
  font-size: 0.82rem;
}

.hacw-modal-body {
  padding: 2rem;
}

.hacw-modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(19, 81, 168, 0.1);
}

.hacw-stat-box {
  background: #f5f9ff;
  border: 1px solid rgba(19, 81, 168, 0.1);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.hacw-stat-box .label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a95bb;
  margin-bottom: 0.4rem;
}

.hacw-stat-box .value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d2b5e;
}

.hacw-modal-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.hacw-modal-cols h3 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1351a8;
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hacw-modal-cols p {
  font-size: 0.87rem;
  color: #4a6080;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.hacw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hacw-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: #1351a8;
  border: 1px solid rgba(19, 81, 168, 0.25);
  background: rgba(19, 81, 168, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.hacw-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0d2b5e, #1351a8);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(19, 81, 168, 0.2);
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  transition: all 0.25s;
}

.hacw-btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(19, 81, 168, 0.3);
}

.hacw-fiche {
  border: 1px solid rgba(19, 81, 168, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.hacw-fiche-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(19, 81, 168, 0.07);
}

.hacw-fiche-row:nth-child(odd) {
  background: #f5f9ff;
}

.hacw-fiche-row:nth-child(even) {
  background: #ffffff;
}

.hacw-fiche-row:last-child {
  border-bottom: none;
}

.hacw-fiche-row .fkey {
  font-size: 0.75rem;
  color: #7a95bb;
}

.hacw-fiche-row .fval {
  font-size: 0.78rem;
  color: #0d2b5e;
  font-weight: 600;
  text-align: right;
  max-width: 55%;
}

.hacw-modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(19, 81, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hacw-modal-footer p {
  font-size: 0.8rem;
  color: #7a95bb;
  margin: 0;
}

.hacw-modal-footer a {
  color: #1351a8;
  font-weight: 600;
  text-decoration: none;
}

.hacw-btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}

.hacw-btn-red:hover {
  background: rgba(220, 38, 38, 0.12);
}

/* ── Animations ── */
@keyframes hacw-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hacw-slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   GRID 3 COLONNES — DESKTOP
   ═══════════════════════════════════════════ */

[data-id="47ba876"] {
  grid-template-columns: repeat(3, 1fr) !important;
}

[data-id="47ba876"] > .elementor-element {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* ═══════════════════════════════════════════
   FORCE FULL-WIDTH + 3-COLUMN LOCK (DESKTOP)
   ═══════════════════════════════════════════ */

.elementor-element-5608e44.e-con-full.proj-grid-fix,
.proj-grid-fix.e-con-full {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;

  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  justify-content: center !important;
  align-content: start !important;
}

.proj-grid-fix > .elementor-element {
  width: 100% !important;
  max-width: 100% !important;
  grid-column: auto !important;
}

.proj-card {
  width: 100% !important;
  height: 360px !important;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden !important;
}

/* ═══════════════════════════════════════════
   TABLETTE : 2 COLONNES
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {

  [data-id="47ba876"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .elementor-element-5608e44.e-con-full.proj-grid-fix,
  .proj-grid-fix.e-con-full {
    grid-template-columns: repeat(2, 1fr) !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    gap: 1.2rem !important;
  }

  .hacw-project-content {
    padding: 2.5rem 3rem;
    max-width: 480px;
  }

  .hacw-project-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }
}

/* ═══════════════════════════════════════════
   MOBILE : 1 COLONNE (articles l'un sous l'autre)
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Passe la grille 3 colonnes en 1 colonne */
  [data-id="47ba876"] {
    grid-template-columns: 1fr !important;
  }

  /* Passe aussi le full-width grid en 1 colonne */
  .elementor-element-5608e44.e-con-full.proj-grid-fix,
  .proj-grid-fix.e-con-full {
    grid-template-columns: 1fr !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 1rem !important;
  }

  /* Les cartes prennent toute la largeur */
  .proj-card {
    height: 320px !important;
  }

  .hacw-project-wrap {
    padding: 0 1rem;
  }

  .hacw-project-card {
    height: auto;
    min-height: 420px;
  }

  .hacw-project-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-position: 50% 20%;
  }

  .hacw-project-content {
    position: relative;
    top: auto;
    transform: none;
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .hacw-project-title {
    font-size: 1.6rem;
  }

  .hacw-project-badge {
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.7rem;
  }

  .hacw-article-card {
    height: 320px;
  }

  .hacw-modal-body {
    padding: 1.2rem;
  }

  .hacw-modal-hero {
    height: 200px;
  }

  .hacw-modal-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hacw-modal-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hacw-modal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hacw-modal-hero-info {
    padding: 1rem 1.2rem;
  }

  .hacw-modal-hero-info h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hacw-project-card {
    min-height: 380px;
  }

  .hacw-project-content {
    padding: 1.5rem 1.2rem;
  }

  .hacw-project-desc {
    font-size: 0.82rem;
  }

  .hacw-project-btn {
    font-size: 0.75rem;
    padding: 0.6rem 1.1rem;
  }

  .hacw-article-card {
    height: 280px;
  }

  .hacw-article-title {
    font-size: 1rem;
  }

  .hacw-modal-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .hacw-stat-box {
    padding: 0.7rem 0.8rem;
  }

  .hacw-tags {
    gap: 0.4rem;
  }

  .hacw-tag-pill {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}/* End custom CSS */