/*
 Theme Name:   TLF Plomberie Chauffage
 Theme URI:    https://tlf-plomberie-chauffage.fr
 Description:  Thème enfant Hello Theme pour TLF Plomberie Chauffage
 Author:       TLF
 Author URI:   https://tlf-plomberie-chauffage.fr
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  tlf-child
*/

/* ========================================
   TLF Plomberie Chauffage - Styles
   ======================================== */

/* ----- @font-face ----- */
@font-face { font-family: 'AllianceNo2'; src: url('assets/fonts/AllianceNo1-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'AllianceNo2'; src: url('assets/fonts/AllianceNo2-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'AllianceNo2'; src: url('assets/fonts/AllianceNo1-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AllianceNo2'; src: url('assets/fonts/AllianceNo1-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-dark: #1c1633;
  --purple-main: #3b2a70;
  --purple-mid: #6b58a1;
  --purple-light: #efedf8;
  --dark: #2a353d;
  --gray: #505f6b;
  --gray-light: #f9f9f9;
  --white: #ffffff;
  --text: #333333;
  --green: #008000;
  --font-heading: 'AllianceNo2', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--purple-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--purple-light { background: var(--purple-light); }
.section--dark { background: var(--purple-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none;
  transition: all var(--transition); font-family: var(--font-body);
}
.btn--primary { background: var(--purple-mid); color: var(--white); }
.btn--primary:hover { background: var(--purple-main); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,88,161,.35); }
.btn--outline { background: var(--white); color: var(--purple-dark); border: none; }
.btn--outline:hover { background: var(--purple-mid); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,88,161,.35); }
.btn--white { background: var(--white); color: var(--purple-dark); }
.btn--white:hover { background: var(--purple-mid); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,88,161,.35); }
.btn--small { padding: 10px 24px; font-size: .85rem; }

/* ----- Header / Nav ----- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
/* When scrolled, revert to dark text */
.header.scrolled .nav__logo img.logo-header { display: none; }
.header.scrolled .nav__logo img.logo-header-dark { display: block; }
.header.scrolled .nav__menu-pill { background: var(--gray-light); }
.header.scrolled .nav__menu-pill a { color: var(--text); }
.header.scrolled .nav__menu-pill a:hover,
.header.scrolled .nav__menu-pill a.active { background: var(--white); color: var(--purple-main); }
.header.scrolled .nav__burger span { background: var(--purple-dark); }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.nav__logo img { height: 48px; transition: filter var(--transition); }
.nav__logo img.logo-header { display: block; }
.nav__logo img.logo-header-dark { display: none; }
.nav__logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; }

/* Glass pill menu */
.nav__menu-pill {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 6px 8px;
  transition: background var(--transition);
}

.nav__links { display: contents; }
.nav__links a {
  padding: 8px 18px; border-radius: 50px; font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.9); transition: all var(--transition); white-space: nowrap;
}
.nav__links a:hover, .nav__links a.active { background: rgba(255,255,255,.2); color: #fff; }
.header.scrolled .nav__links a:hover,
.header.scrolled .nav__links a.active { background: var(--white); color: var(--purple-main); }

.nav__dropdown { position: relative; }
.nav__dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav__dropdown-toggle::after { content: ''; width: 7px; height: 7px; margin: -4px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease; }
.nav__dropdown:hover .nav__dropdown-toggle::after { margin-top: 3px; transform: rotate(225deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15); opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.nav__dropdown:hover .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 8px; font-size: .88rem; color: var(--text) !important; }
.nav__dropdown-menu a svg { flex-shrink: 0; color: var(--purple-mid); }
.nav-icon { width: 22px; height: 22px; flex-shrink: 0; filter: brightness(0) saturate(100%) invert(36%) sepia(15%) saturate(2200%) hue-rotate(220deg) brightness(90%) contrast(85%); }
.nav__dropdown-menu a:hover { background: var(--purple-light); color: var(--purple-main) !important; }

.nav__cta { margin-left: auto; }

/* Mobile nav */
.nav__burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; cursor: pointer;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: none; border-radius: 10px; z-index: 1001;
  flex-direction: column; gap: 4px; padding: 0;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.header.scrolled .nav__burger { background: var(--gray-light); }
.header.scrolled .nav__burger span { background: var(--purple-dark); }

/* Mobile overlay panel */
.mobile-nav { display: none; }

@media (max-width: 991px) {
  .nav { display: flex; justify-content: space-between; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__links { display: none; }
  .nav__menu-pill { display: none; }
  .nav__cta { display: none; }

  .mobile-nav {
    display: none; position: fixed; top: 0; right: 0; bottom: 0;
    width: 85%; max-width: 400px; z-index: 1000;
    background: var(--white); box-shadow: -8px 0 40px rgba(0,0,0,.15);
    padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .mobile-nav.open { display: block; transform: translateX(0); }

  .mobile-nav__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid #e5e5e5;
  }
  .mobile-nav__header img { height: 40px; }
  .mobile-nav__close {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: none; border: 1px solid #e5e5e5; border-radius: 8px; cursor: pointer;
    font-size: 1.2rem; color: var(--text);
  }

  .mobile-nav__links { display: flex; flex-direction: column; gap: 0; }
  .mobile-nav__links a {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 0; font-size: 1.1rem; font-weight: 500;
    color: var(--text); border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-heading);
  }
  .mobile-nav__links a:last-child { border-bottom: none; }
  .mobile-nav__links a.active { color: var(--purple-mid); }
  .mobile-nav__links .nav-icon { width: 20px; height: 20px; }

  .mobile-nav__dropdown-toggle {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    cursor: pointer;
  }
  .mobile-nav__dropdown-toggle::after { content: ''; display: inline-block; width: 8px; height: 8px; margin: -4px 0 0 10px; vertical-align: middle; border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray); transform: rotate(45deg); }
  .mobile-nav__submenu { display: none; padding-left: 16px; }
  .mobile-nav__submenu.open { display: flex; flex-direction: column; }
  .mobile-nav__submenu a { font-size: 1rem; font-weight: 400; padding: 12px 0; }

  .mobile-nav__cta {
    display: flex; flex-direction: column; gap: 12px; margin-top: 24px;
  }
  .mobile-nav__cta .btn { justify-content: center; width: 100%; }
  .mobile-nav__cta .btn--outline { background: var(--purple-light); color: var(--purple-dark); }

  /* Overlay backdrop */
  .mobile-overlay {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,.4); backdrop-filter: blur(2px);
  }
  .mobile-overlay.open { display: block; }
}

/* ----- Hero ----- */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(28,22,51,.55), rgba(28,22,51,.55)), url('assets/img/hero-bg.webp') center/cover no-repeat;
}
.hero__content { max-width: 800px; padding: 120px 24px 80px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.1rem; opacity: .9; margin-bottom: 36px; max-width: 600px; margin-inline: auto; }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: 3px; font-size: .75rem; color: var(--white); opacity: .8; text-align: center; }
.hero__scroll span { display: block; margin-top: 8px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

@media (max-width: 768px) {
  .hero { min-height: 100vh; }
  .hero__content { padding: 100px 24px 140px; }
  .hero__scroll { bottom: 30px; }
}

/* Hero variant for inner pages */
.hero--small { min-height: 50vh; }
.hero--small .hero__content { padding: 140px 24px 60px; }

/* ----- About (homepage) ----- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid__img { border-radius: var(--radius); overflow: hidden; }
.about-grid__img img { width: 100%; height: 400px; object-fit: cover; }
/* Badge global */
.badge { display: inline-block; background: var(--purple-light); color: var(--purple-mid); padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.badge--light { background: rgba(255,255,255,.15); color: #fff; }

.about-grid__text .badge { margin-bottom: 16px; }
.about-grid__text h2 { font-size: 2.2rem; margin-bottom: 16px; }
.about-grid__text p { color: var(--gray); margin-bottom: 16px; }
.about-grid__text .stats { display: flex; gap: 32px; margin-top: 24px; }
/* Stats items (global) */
.stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-item { text-align: center; padding: 16px 20px; background: var(--purple-light); border-radius: var(--radius); flex: 1; }
.stat-item strong { font-size: 2rem; color: var(--purple-mid); display: block; font-family: var(--font-heading); line-height: 1.2; margin-bottom: 4px; }
.stat-item span { font-size: .85rem; color: var(--gray); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid__img img { height: 280px; }
}

/* ----- Partners ----- */
/* ----- Partners marquee ----- */
.partners-section { background: var(--purple-main); padding: 48px 0 40px; overflow: hidden; }
.partners-header { text-align: center; margin-bottom: 32px; }
.partners-track {
  display: flex; align-items: center; gap: 80px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.partners-track img { height: 40px !important; width: auto !important; max-width: none; opacity: .85; filter: brightness(0) invert(1); flex-shrink: 0; }
.partners-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ----- Service Cards ----- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06); transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.card__img { height: 220px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 28px; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card__body p { color: var(--gray); font-size: .93rem; margin-bottom: 20px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple-mid); font-weight: 600; font-size: .9rem; }
.card__link:hover { gap: 10px; }

/* ----- Section Header ----- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .badge { margin-bottom: 12px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 16px; }
.section-header p { color: var(--gray); }

/* ----- Urgence / Emergency ----- */
.urgence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.urgence-list { display: flex; flex-direction: column; gap: 16px; }
.urgence-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: rgba(255,255,255,.08); border-radius: var(--radius); }
.urgence-item .icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--purple-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.urgence-item h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.urgence-item p { font-size: .88rem; opacity: .8; }

@media (max-width: 768px) {
  .urgence-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Founder Banner ----- */
.founder-section { background: var(--purple-main); padding: 60px 0; }
.founder-banner {
  display: flex; align-items: center; gap: 48px;
}
.founder-banner__avatar {
  flex-shrink: 0; width: 160px; height: 160px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(255,255,255,.2);
}
.founder-banner__avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-banner__content blockquote {
  font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600; font-style: normal; color: var(--white);
  line-height: 1.4; margin-bottom: 20px; border: none; padding: 0;
}
.founder-banner__content blockquote .word { color: rgba(255,255,255,.2); transition: color .15s ease; display: inline; }
.founder-banner__content blockquote .word.visible { color: rgba(255,255,255,1); }
.founder-banner__name { color: var(--white); font-weight: 700; font-size: 1rem; }
.founder-banner__role { color: rgba(255,255,255,.6); font-size: .88rem; }

@media (max-width: 768px) {
  .founder-banner { flex-direction: column; text-align: center; gap: 24px; }
  .founder-banner__avatar { width: 120px; height: 120px; }
}

/* ----- Reviews Section ----- */
.reviews-section { background: var(--purple-dark); padding: 80px 0; color: var(--white); }

.reviews-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.reviews-header__text h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.reviews-header__text p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 600px; }
.reviews-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.google-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 12px 20px; border-radius: var(--radius);
}
.google-badge__rating { font-weight: 800; font-size: 1.05rem; color: var(--purple-dark); font-family: var(--font-heading); }
.google-badge__rating .stars { color: #f5a623; font-size: 1rem; }
.google-badge__count { display: block; font-size: .78rem; color: var(--gray); font-weight: 400; }

.reviews-link { color: var(--white); text-decoration: underline; font-size: .88rem; opacity: .8; transition: opacity var(--transition); }
.reviews-link:hover { opacity: 1; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.review-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.review-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.review-card__stars { color: var(--purple-mid); font-size: 1.5rem; letter-spacing: 2px; background: rgba(255,255,255,.08); padding: 4px 14px; border-radius: 8px; line-height: 1; }
.review-card__date { color: rgba(255,255,255,.9); font-weight: 600; font-size: .95rem; }
.review-card__text { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.7; flex: 1; margin-bottom: 24px; }
.review-card__author { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.review-card__name { color: var(--white); font-weight: 600; font-size: .95rem; }

@media (max-width: 768px) {
  .reviews-header { flex-direction: column; }
  .reviews-header__right { align-items: flex-start; }
}

/* ----- FAQ ----- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.faq-item__question {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .95rem; color: var(--purple-dark);
  border: none; background: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.faq-item__question::after { content: '+'; font-size: 1.4rem; color: var(--purple-mid); transition: transform var(--transition); }
.faq-item.open .faq-item__question::after { content: '\2212'; }
.faq-item__answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .4s ease; }
.faq-item.open .faq-item__answer { padding: 0 24px 20px; max-height: 500px; }
.faq-item__answer p { color: var(--gray); font-size: .9rem; line-height: 1.7; }

/* ----- Social Bar ----- */
.social-section-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 24px; flex-wrap: wrap; }
.social-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.social-bar a {
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--purple-mid); color: var(--white); font-size: 1.2rem;
  transition: all var(--transition);
}
.social-bar a:hover { background: var(--purple-main); transform: translateY(-3px); }

/* Social section layout */
.social-section { background: var(--white); }
.social-layout { display: flex; flex-direction: column; }
.social-layout__left { text-align: center; margin-bottom: 40px; }
.social-layout__sub { color: var(--gray); font-size: .9rem; margin-bottom: 8px; }
.social-layout__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--purple-dark); margin-bottom: 24px; }
.social-layout__left .social-bar { justify-content: center; }

/* Instagram carousel */
.social-layout__right { position: relative; width: 100%; }
.ig-carousel { overflow: hidden; border-radius: var(--radius); }
.ig-carousel__track { display: flex; gap: 20px; transition: transform .4s ease; }
.ig-carousel__item {
  flex: 0 0 calc(33.333% - 14px); position: relative; border-radius: var(--radius);
  overflow: hidden; display: block; aspect-ratio: 3/4;
}
.ig-carousel__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition); }
.ig-carousel__item:hover img { transform: scale(1.04); }
.ig-carousel__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.15); transition: background var(--transition);
}
.ig-carousel__item:hover .ig-carousel__play { background: rgba(0,0,0,.3); }

.ig-carousel__nav { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.ig-carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple-light);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray); transition: all var(--transition);
}
.ig-carousel__btn--next { background: var(--purple-dark); border-color: var(--purple-dark); color: var(--white); }
.ig-carousel__btn:hover { background: var(--purple-mid); border-color: var(--purple-mid); color: var(--white); }

@media (max-width: 768px) {
  .ig-carousel__item { flex: 0 0 calc(50% - 10px); }
}

/* ----- Zone d'intervention / Areas ----- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.areas-list { display: flex; flex-wrap: wrap; gap: 12px; }
.areas-list .tag {
  background: var(--purple-light); color: var(--purple-main); padding: 8px 20px;
  border-radius: 50px; font-size: .88rem; font-weight: 500;
}
.areas-map { border-radius: var(--radius); overflow: hidden; height: 350px; }
.areas-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
  .areas-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Footer ----- */
.footer { background: var(--white); color: var(--text); padding: 60px 0 0; border-top: 4px solid var(--purple-main); }

.footer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.footer__logo img { height: 56px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--purple-main); color: var(--white);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--purple-mid); transform: translateY(-2px); }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer h4 { color: var(--purple-dark); margin-bottom: 16px; font-size: 2rem; font-family: var(--font-heading); font-weight: 600; }
.footer__links a { display: block; padding: 4px 0; font-size: 1rem; color: var(--text); transition: color var(--transition); }
.footer__links a:hover { color: var(--purple-mid); }

.footer__zone { border-top: 1px solid rgba(0,0,0,.08); padding-top: 36px; margin-bottom: 48px; }
.footer__zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 20px; }
.footer__zone-col h5 { color: var(--purple-dark); margin-bottom: 12px; font-size: 1.1rem; font-family: var(--font-heading); font-weight: 600; }
.footer__zone-col a { display: block; padding: 3px 0; font-size: .92rem; color: var(--text); transition: color var(--transition); }
.footer__zone-col a:hover { color: var(--purple-mid); }
.footer__contact p { font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.footer__contact a { color: var(--text); }
.footer__contact a:hover { color: var(--purple-mid); }
.footer__contact .btn { color: var(--white) !important; }

.footer__hours p { font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.footer__hours strong { color: var(--purple-dark); }

.footer__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer__buttons .btn { justify-content: center; font-size: .88rem; padding: 12px 24px; }
.btn--whatsapp { background: #25d366; color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.footer__bottom-wrap { background: var(--purple-main); margin-top: 48px; }
.footer__bottom {
  max-width: var(--max-width); margin: 0 auto; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.7); flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.7); font-weight: 500; }
.footer__bottom a:hover { color: var(--white); }

.footer__social a { width: 48px; height: 48px; }

@media (max-width: 768px) {
  .footer__top { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__zone-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer__zone-grid { grid-template-columns: 1fr; }
}

/* ----- CTA Banner ----- */
.cta-banner { text-align: center; }
.cta-banner h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.cta-banner p { opacity: .85; margin-bottom: 28px; max-width: 500px; margin-inline: auto; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Full CTA with logo watermark */
.cta-full {
  position: relative; overflow: hidden;
  background: var(--purple-main); padding: 120px 0;
}
.cta-full__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/img/logo-light.svg');
  background-repeat: no-repeat; background-position: center;
  background-size: 50%; opacity: .08;
}
.cta-full__content {
  position: relative; z-index: 1; text-align: center;
}
.cta-full__content h2 {
  color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px;
  max-width: 600px; margin-inline: auto;
}
.cta-full__content p {
  color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.7;
  max-width: 650px; margin: 0 auto 36px;
}

/* ----- Service Page Specific ----- */
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.service-intro h2 { font-size: 2rem; margin-bottom: 16px; }
.service-intro h3 { margin-bottom: 12px; }
.service-intro p { color: var(--gray); margin-bottom: 16px; }
.service-intro .badge { margin-bottom: 16px; }
.service-intro__img { border-radius: var(--radius); overflow: hidden; }
.service-intro__img img { width: 100%; max-height: 350px; object-fit: cover; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-item {
  padding: 32px; background: var(--white); border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,.05); transition: all var(--transition);
}
.service-item:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.service-item .icon { width: 56px; height: 56px; background: var(--purple-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.service-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-item p { color: var(--gray); font-size: .9rem; }

.service-intro--reverse > *:first-child { order: 2; }
.service-intro--reverse > .service-intro__img { order: 1; }

@media (max-width: 768px) {
  .service-intro { grid-template-columns: 1fr; gap: 32px; }
  .service-intro__img img { height: 280px; }
  .service-intro--reverse > *:first-child { order: 0; }
  .service-intro--reverse > .service-intro__img { order: 0; }
}

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; counter-reset: step; }
.step { text-align: center; padding: 32px 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; background: var(--purple-mid); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; margin: 0 auto 16px;
  font-family: var(--font-heading);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .88rem; }

/* ----- Pricing table ----- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06); text-align: center;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 1.8rem; font-weight: 800; color: var(--purple-mid); margin-bottom: 8px; font-family: var(--font-heading); }
.pricing-card .price small { font-size: .9rem; font-weight: 400; color: var(--gray); }
.pricing-card p { color: var(--gray); font-size: .88rem; }

/* ----- Contact Form ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--purple-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #e5e5e5; border-radius: 10px;
  font-family: var(--font-body); font-size: .93rem; transition: border-color var(--transition);
  outline: none; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--purple-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--purple-light); border-radius: var(--radius); padding: 32px;
  margin-bottom: 24px;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .93rem; }
.contact-info-item .icon { width: 40px; height: 40px; background: var(--purple-mid); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.hours-table { width: 100%; }
.hours-table tr td { padding: 8px 0; font-size: .9rem; }
.hours-table tr td:first-child { font-weight: 600; }
.hours-table tr td:last-child { text-align: right; color: var(--gray); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .wpcf7, .wpcf7 form, .contact-grid > * { max-width: 100%; overflow: hidden; }
  .form-group input, .form-group select, .form-group textarea { max-width: 100%; box-sizing: border-box; }
}

/* ----- Projects / Realisations ----- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.project-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; display: block; text-decoration: none; color: inherit; }
.project-card__img { height: 280px; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.project-card:hover .project-card__img img { transform: scale(1.05); }
.project-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(transparent, rgba(28,22,51,.85));
  color: var(--white);
}
.project-card__overlay .tag { display: inline-block; background: var(--purple-mid); padding: 4px 12px; border-radius: 50px; font-size: .75rem; margin-bottom: 8px; }
.project-card__overlay h3 { font-size: 1rem; color: var(--white); }

/* ----- Why Choose Us ----- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-item { text-align: center; padding: 32px 24px; }
.why-item .icon { width: 64px; height: 64px; background: var(--purple-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--gray); font-size: .88rem; }

/* ----- Timeline (Entreprise) ----- */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: var(--purple-light); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 4px;
  width: 16px; height: 16px; background: var(--purple-mid); border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--purple-light);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-item .year { color: var(--purple-mid); font-weight: 700; font-size: .85rem; margin-bottom: 4px; display: block; }
.timeline-item p { color: var(--gray); font-size: .9rem; }

/* ----- WhatsApp floating ----- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ----- Project Detail Page ----- */

/* Hero with background image */
.project-hero {
  position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
}
.project-hero__bg {
  position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center;
}
.project-hero__bg::after { content: ''; position: absolute; inset: 0; background: rgba(28,22,51,.55); }
.project-hero__content { max-width: 800px; padding: 120px 24px 80px; position: relative; z-index: 1; }
.project-hero__content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 16px; }
.project-hero__content p { font-size: 1.05rem; opacity: .9; max-width: 650px; margin: 0 auto 40px; line-height: 1.6; }

/* Meta bar: Date / Localisation / Prestation */
.project-hero__meta {
  display: flex; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 32px; max-width: 600px; margin: 0 auto;
}
.project-hero__meta-item {
  flex: 1; text-align: center;
}
.project-hero__meta-item + .project-hero__meta-item { border-left: 1px solid rgba(255,255,255,.2); }
.project-hero__meta-label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.project-hero__meta-value { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Gallery section */
.project-zoom { padding: 80px 0; }
.project-zoom__title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 48px; color: var(--purple-dark); }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.project-gallery__item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.project-gallery__item img { width: 100%; height: 280px; object-fit: cover; transition: transform var(--transition); display: block; }
.project-gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
  .project-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .project-gallery__item img { height: 200px; }
}
@media (max-width: 480px) {
  .project-gallery { grid-template-columns: 1fr; }
}

/* Gallery before/after labels */
.gallery-section-label {
  display: inline-block; padding: 8px 24px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.gallery-section-label--before { background: var(--purple-light); color: var(--purple-mid); }
.gallery-section-label--after { background: var(--purple-main); color: var(--white); }

/* Related projects */
.related-projects { padding: 80px 0; background: var(--gray-light); }
.related-projects__title { text-align: center; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 40px; color: var(--purple-dark); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 8px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 12px 16px; border-radius: 50%; transition: background var(--transition); }
.lightbox__nav:hover { background: rgba(255,255,255,.3); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .88rem; }

/* ----- WordPress Admin Bar offset ----- */
.admin-bar .header { top: 32px; }
.admin-bar .mobile-nav { top: 32px; }
.admin-bar .hero__content { padding-top: 152px; }
.admin-bar .hero--small .hero__content { padding-top: 172px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .mobile-nav { top: 46px; }
}

/* ----- CF7 overrides ----- */
.wpcf7 .form-group { margin-bottom: 16px; }
.wpcf7 .form-group label { margin-bottom: 4px; }
.wpcf7 .form-group:has(.wpcf7-validates-as-required) label::after { content: ' *'; color: var(--purple-mid); font-weight: 700; }
.wpcf7-not-valid-tip { color: #dc3232; font-size: .82rem; margin-top: 4px; }
.wpcf7 .form-group .wpcf7-form-control-wrap { display: block; margin-top: 0; }
.wpcf7 p { margin: 0; }
.wpcf7 br { display: none; }
.wpcf7 .btn { width: 100%; justify-content: center; }
.wpcf7 input[type="submit"] { width: 100%; justify-content: center; }
.wpcf7 select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23505f6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ----- Page content (mentions légales, etc.) ----- */
.page-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.5rem; }
.page-content h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.2rem; }
.page-content p { color: var(--gray); margin-bottom: 12px; line-height: 1.7; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; color: var(--gray); }
.page-content li { margin-bottom: 6px; line-height: 1.6; }
.page-content a { color: var(--purple-mid); text-decoration: underline; }
.page-content a:hover { color: var(--purple-main); }
.page-content h2:first-child { margin-top: 0; }

/* ----- Intervention cards ----- */
.intervention-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.intervention-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05); transition: all var(--transition);
}
.intervention-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.intervention-card__icon {
  width: 56px; height: 56px; background: var(--purple-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--purple-mid);
  margin-bottom: 20px;
}
.intervention-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.intervention-card p { color: var(--gray); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.intervention-card ul { list-style: none; padding: 0; margin: 0; }
.intervention-card li {
  padding: 6px 0; font-size: .85rem; color: var(--gray);
  border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 8px;
}
.intervention-card li:last-child { border-bottom: none; }
.intervention-card li::before { content: ''; width: 6px; height: 6px; background: var(--purple-mid); border-radius: 50%; flex-shrink: 0; }

@media (max-width: 768px) {
  .intervention-grid { grid-template-columns: 1fr; }
}

/* ----- Filter bar ----- */
.filter-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 24px; border-radius: 50px; border: 2px solid var(--purple-light);
  background: var(--white); color: var(--text); font-family: var(--font-body);
  font-weight: 600; font-size: .88rem; cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--purple-mid); color: var(--purple-mid); }
.filter-btn.active { background: var(--purple-mid); color: var(--white); border-color: var(--purple-mid); }
.project-filter-item { transition: opacity .3s ease, transform .3s ease; }
.project-filter-item.hidden { display: none; }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.hidden { display: none; }

/* ----- Global mobile overflow fix ----- */
html, body { overflow-x: hidden; }

/* ----- Responsive font sizes ----- */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.7rem; }
  h1 { font-size: 2rem; }
  .stats { flex-direction: column; gap: 12px; }
  .stat-item { flex: none; }
}

/* Avatar image Google (photo de profil ronde, remplace l'avatar initial quand dispo) */
.review-card__avatar--img { padding: 0; object-fit: cover; }

/* ----- Octobre 2026 : 4 cartes services, note, grilles photos ----- */
.cards-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cards-grid--4 .card__body { padding: 24px; }
@media (max-width: 1150px) { .cards-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid--4 { grid-template-columns: 1fr; } }
.cards-grid--4 .card__body h3 { font-size: 1.2rem; }
.services-note { text-align: center; color: var(--gray); font-size: .93rem; margin-top: 32px; }
.services-note a { color: var(--purple-mid); font-weight: 600; text-decoration: underline; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .photo-grid, .photo-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ----- Bannière "split" : texte à gauche sur fond uni, photo nette à droite ----- */
.hero--split { justify-content: flex-start; text-align: left; background: var(--purple-dark); isolation: isolate; }
.hero--split .hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: -1; background-size: cover; background-repeat: no-repeat; }
.hero--split .hero__photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple-dark) 0%, rgba(28,22,51,.55) 22%, rgba(28,22,51,.12) 55%, rgba(28,22,51,.12) 100%); }
.hero--split .hero__content { width: 100%; max-width: var(--max-width); margin: 0 auto; }
.hero--split .hero__content > * { max-width: 520px; }
.hero--split.hero p { margin-inline: 0; }
.hero--split .hero__buttons { justify-content: flex-start; }
@media (max-width: 900px) {
  .hero--split { text-align: center; align-items: flex-start; }
  .hero--split .hero__photo { top: auto; left: 0; width: 100%; height: 44%; }
  .hero--split .hero__photo::before { background: linear-gradient(180deg, var(--purple-dark) 0%, rgba(28,22,51,.45) 28%, rgba(28,22,51,.1) 60%); }
  .hero--split .hero__content { padding: 110px 24px 0; }
  .hero--split .hero__content > * { max-width: none; }
  .hero--split.hero p { margin-inline: auto; }
  .hero--split .hero__buttons { justify-content: center; }
  .hero--split.hero--small { min-height: 78vh; }
}

/* ----- Formulaire de contact : messages et protections ----- */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: block; margin-top: 6px; font-size: .82rem; color: #b3261e; }
.form-notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .93rem; font-weight: 600; }
.form-notice--ok { background: #e7f6ec; color: #17603a; }
.form-notice--error { background: #fdecea; color: #b3261e; }
.form-legal { font-size: .8rem; color: var(--gray); margin: 0 0 16px; }
.form-legal a { color: var(--purple-mid); text-decoration: underline; }

/* ----- Bandeau cookies ----- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 1000; max-width: 380px; background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(0,0,0,.18); padding: 20px; }
.consent__text { font-size: .88rem; margin: 0 0 14px; }
.consent__text a { color: var(--purple-mid); text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent__btn { padding: 10px 18px; font-size: .85rem; }
.consent .btn--outline { background: var(--purple-light); }
@media (max-width: 480px) { .consent { right: 16px; max-width: none; } }

/* ----- Réalisations : photos posées dans le texte ----- */
.project-gallery--content { grid-template-columns: repeat(var(--cols, 3), 1fr); width: min(1152px, calc(100vw - 48px)); margin: 40px 0 40px 50%; transform: translateX(-50%); }
.project-gallery--content[style*="--cols:2"] { width: auto; margin-left: 0; transform: none; }
.project-gallery--content:last-child { margin-bottom: 0; }
.project-gallery--content .project-gallery__item img { height: auto; aspect-ratio: 4 / 3; }
.project-gallery--portrait .project-gallery__item img { aspect-ratio: 3 / 4; }
.section figure.wp-block-image { margin: 32px 0; }
.section figure.wp-block-image img { margin: 0 auto; width: auto; max-height: 80vh; border-radius: var(--radius); }
@media (max-width: 768px) {
  .project-gallery--content { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; margin-bottom: 28px; }
  .project-gallery--content .project-gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .project-gallery--content .project-gallery__item:last-child:nth-child(odd) img { aspect-ratio: 4 / 3; }
}
