/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* =========================================================
   ESCOS JOSEPH — Global stylesheet
   Ramoneur & petits travaux — Tarbes
   Convention: BEM simplifié (block__element--modifier)
   ========================================================= */

/* ---------- 1. Variables globales ---------- */
:root {
  --ej-red: #e30613;
  --ej-red-dark: #b00510;
  --ej-red-soft: #fde8ea;
  --ej-black: #111111;
  --ej-dark: #1e1e1e;
  --ej-gray-900: #222222;
  --ej-gray-700: #555555;
  --ej-gray-500: #8a8a8a;
  --ej-gray-300: #d9d9d9;
  --ej-gray-100: #f4f4f4;
  --ej-white: #ffffff;

  --ej-font-body:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ej-font-head: "Poppins", "Inter", system-ui, sans-serif;

  --ej-radius-sm: 6px;
  --ej-radius-md: 12px;
  --ej-radius-lg: 20px;

  --ej-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --ej-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --ej-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);

  --ej-section-py: 6rem;
  --ej-transition: 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Reset léger ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--ej-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ej-gray-900);
  background: var(--ej-white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ej-transition);
}
a:hover {
  color: var(--ej-red);
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ej-font-head);
  color: var(--ej-black);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1rem;
}

/* ---------- 3. Utilitaires globaux ---------- */
.u-text-red {
  color: var(--ej-red) !important;
}
.u-text-white {
  color: var(--ej-white) !important;
}
.u-bg-red{
  background-color: var(--ej-red) !important;
  color: var(--ej-gray-300);
}
.u-bg-black {
  background: var(--ej-black);
}
.u-bg-gray {
  background: var(--ej-gray-100);
}
.u-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ej-font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ej-red);
  margin-bottom: 1rem;
}
.u-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--ej-red);
}
.u-section {
  padding: var(--ej-section-py) 0;
}
.u-section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 1rem;
}
.u-section-subtitle {
  color: var(--ej-gray-700);
  font-size: 1.05rem;
  max-width: 640px;
}
.u-divider {
  width: 60px;
  height: 4px;
  background: var(--ej-red);
  border: 0;
  margin: 1.25rem 0 2rem;
  border-radius: 2px;
}

/* ---------- 4. Boutons globaux ---------- */
.btn-ej {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--ej-font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--ej-radius-sm);
  border: 2px solid transparent;
  transition: all var(--ej-transition);
  cursor: pointer;
  line-height: 1;
}
.btn-ej--primary {
  background: var(--ej-red);
  color: var(--ej-white);
  border-color: var(--ej-red);
}
.btn-ej--primary:hover {
  background: var(--ej-red-dark);
  border-color: var(--ej-red-dark);
  color: var(--ej-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.28);
}
.btn-ej--outline {
  background: transparent;
  color: var(--ej-white);
  border-color: var(--ej-white);
}
.btn-ej--outline:hover {
  background: var(--ej-white);
  color: var(--ej-black);
  transform: translateY(-2px);
}
.btn-ej--ghost {
  background: transparent;
  color: var(--ej-black);
  border-color: var(--ej-gray-300);
}
.btn-ej--ghost:hover {
  background: var(--ej-black);
  color: var(--ej-white);
  border-color: var(--ej-black);
}
.btn-ej--dark {
  background: var(--ej-black);
  color: var(--ej-white);
  border-color: var(--ej-black);
}
.btn-ej--dark:hover {
  background: var(--ej-dark);
  border-color: var(--ej-dark);
  transform: translateY(-2px);
}

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ej-white);
  box-shadow: 0 1px 0 var(--ej-gray-300);
}
.header__topbar {
  background: var(--ej-black);
  color: var(--ej-white);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.header__topbar a {
  color: var(--ej-white);
}
.header__topbar a:hover {
  color: var(--ej-red);
}
.header__topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.header__topbar-item i {
  color: var(--ej-red);
}

.header__main {
  padding: 0.5rem 0;
}
.header__logo img {
  height: 56px;
  width: auto;
}

#bootscore-navbar {
  margin-left: 0 !important;
}

/* .header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
} */
#bootscore-navbar .nav-link {
  padding: 0.6rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ej-gray-900);
  border-radius: var(--ej-radius-sm);
  position: relative;
}
#bootscore-navbar .nav-link:hover {
  color: var(--ej-red);
  background: var(--ej-gray-100);
}
#bootscore-navbar .nav-link.active {
  color: var(--ej-red);
}
#bootscore-navbar .nav-link.active::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--ej-red);
}

#bootscore-navbar .dropdown-toggle:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65em;
  border: 0;
  vertical-align: middle;
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform ease .3s;
}
#bootscore-navbar .dropdown-toggle.show:after,
#bootscore-navbar .nav-item.show > .dropdown-toggle:after {
  transform: rotate(180deg);
}


.dropdown-menu {
  background: var(--ej-white);
  box-shadow: var(--ej-shadow-md);
  border-radius: var(--ej-radius-md);
  padding: 0.5rem;
  transform: translateY(8px);
  transition: all var(--ej-transition);
  z-index: 10;
}

.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--ej-radius-sm);
  font-size: 0.92rem;
  color: var(--ej-gray-900);
}

/* .header__dropdown-item i {
  width: 20px;
  color: var(--ej-red);
  text-align: center;
} */
.dropdown-menu .dropdown-item:hover {
  background: var(--ej-gray-100);
  color: var(--ej-red);
}

.dropdown-menu .dropdown-item.active {
  background: var(--ej-red-soft);
  color: var(--ej-red);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ej-font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ej-black);
  margin-right: 1rem;
}
.header__phone i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ej-red-soft);
  color: var(--ej-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header__burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--ej-black);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #111 0%, #1e1e1e 55%, #2a0c0f 100%);
  color: var(--ej-white);
  overflow: hidden;
  padding: 7rem 0 6rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 6, 19, 0.28), transparent 45%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 14px
    );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
}

/* — Hero : modes image/vidéo de fond plein écran — */
.hero--has-background {
  padding: 8rem 0 7rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(17, 17, 17, 0.85) 0%,
    rgba(30, 30, 30, 0.7) 55%,
    rgba(42, 12, 15, 0.85) 100%
  );
  z-index: 1;
}
.hero--has-background::before { z-index: 2; }

@media (max-width: 991.98px) {
  .hero--has-background { padding: 5rem 0 4rem; }
}


/* — Page 404 — réutilise .hero, ajoute le numéro géant et un search form scopé — */
.error-404 .hero__eyebrow { background: rgba(255, 255, 255, 0.06); }
.error-404__number {
  font-family: var(--ej-font-head);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ej-red);
  margin: 1rem 0;
  text-shadow: 0 4px 40px rgba(227, 6, 19, 0.35);
}
.error-404__search {
  margin-top: 2.5rem;
  max-width: 480px;
}
.error-404__search-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}
.error-404 .search-form {
  display: flex;
  gap: 0.5rem;
}
.error-404 .search-form label { flex: 1; margin: 0; }
.error-404 .search-form .search-field {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ej-radius-sm);
  color: var(--ej-white);
  font-size: 0.95rem;
}
.error-404 .search-form .search-field::placeholder { color: rgba(255, 255, 255, 0.5); }
.error-404 .search-form .search-field:focus {
  outline: 0;
  border-color: var(--ej-red);
  background: rgba(255, 255, 255, 0.12);
}
.error-404 .search-form .search-submit {
  padding: 0.85rem 1.4rem;
  background: var(--ej-red);
  border: 2px solid var(--ej-red);
  border-radius: var(--ej-radius-sm);
  color: var(--ej-white);
  font-family: var(--ej-font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ej-transition);
}
.error-404 .search-form .search-submit:hover {
  background: var(--ej-red-dark);
  border-color: var(--ej-red-dark);
}









.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.hero__eyebrow i {
  color: var(--ej-red);
}
.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  color: var(--ej-white);
  margin-bottom: 1.25rem;
}
.hero__title-accent {
  color: var(--ej-red);
}
.hero__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__stat-value {
  font-family: var(--ej-font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ej-white);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--ej-radius-lg);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #2a2a2a 0 12px, #222 12px 24px);
  box-shadow: var(--ej-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--ej-radius-sm);
}
.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--ej-white);
  color: var(--ej-black);
  padding: 1rem 1.25rem;
  border-radius: var(--ej-radius-md);
  box-shadow: var(--ej-shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ej-red);
  color: var(--ej-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.hero__badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.hero__badge-text {
  font-size: 0.82rem;
  color: var(--ej-gray-700);
  margin: 0;
}

/* ---------- 7. Réassurance ---------- */
.reassurance {
  background: var(--ej-white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--ej-gray-300);
}
.reassurance__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}
.reassurance__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--ej-radius-sm);
  background: var(--ej-red-soft);
  color: var(--ej-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.reassurance__title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.reassurance__text {
  font-size: 0.9rem;
  color: var(--ej-gray-700);
  margin: 0;
}

/* ---------- 8. Présentation entreprise ---------- */
.about-preview {
  padding: var(--ej-section-py) 0;
  background: var(--ej-gray-100);
}
.about-preview__image {
  aspect-ratio: 4/5;
  border-radius: var(--ej-radius-lg);
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    #e6e6e6 0 12px,
    #f0f0f0 12px 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--ej-shadow-md);
}
.about-preview__image-label {
  font-family: ui-monospace, monospace;
  color: var(--ej-gray-500);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px dashed var(--ej-gray-500);
  border-radius: var(--ej-radius-sm);
  background: rgba(255, 255, 255, 0.7);
}
.about-preview__experience {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--ej-red);
  color: var(--ej-white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--ej-radius-md);
  box-shadow: var(--ej-shadow-lg);
  text-align: center;
}
.about-preview__experience-number {
  font-family: var(--ej-font-head);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-preview__experience-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
  display: block;
}
.about-preview__text {
  font-size: 1.05rem;
  color: var(--ej-gray-700);
  margin-bottom: 1.25rem;
}
.about-preview__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.about-preview__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-size: 0.98rem;
  color: var(--ej-gray-900);
}
.about-preview__list i {
  color: var(--ej-red);
  margin-top: 0.2rem;
}

/* ---------- 8b. Image / Texte — Modifiers ---------- */
/* Background colors (variantes) */
.about-preview--bg-white {
  background: var(--ej-white);
}
.about-preview--bg-gray {
  background: var(--ej-gray-100);
}
.about-preview--bg-gray-300 {
  background: var(--ej-gray-300);
}
.about-preview--bg-black {
  background: var(--ej-black);
}
.about-preview--bg-dark {
  background: var(--ej-dark);
}
.about-preview--bg-red {
  background: var(--ej-red);
}
.about-preview--bg-red-soft {
  background: var(--ej-red-soft);
}
.about-preview--bg-red-dark {
  background: var(--ej-red-dark);
}

/* Theme light : adapte les couleurs de texte sur fonds sombres */
.about-preview--theme-light {
  color: rgba(255, 255, 255, 0.85);
}
.about-preview--theme-light .about-preview__title {
  color: var(--ej-white);
}
.about-preview--theme-light .about-preview__text {
  color: rgba(255, 255, 255, 0.82);
}
.about-preview--theme-light .about-preview__list li {
  color: var(--ej-white);
}
.about-preview--theme-light .about-preview__list i {
  color: var(--ej-white);
}
.about-preview--theme-light .u-eyebrow {
  color: var(--ej-white);
}
.about-preview--theme-light .u-eyebrow::before {
  background: var(--ej-white);
}
.about-preview--theme-light .u-divider {
  background: var(--ej-white);
}

/* Spacing */
.about-preview--spacing-compact {
  padding: 3rem 0;
}
.about-preview--spacing-default {
  padding: var(--ej-section-py) 0;
}
.about-preview--spacing-large {
  padding: calc(var(--ej-section-py) + 2rem) 0;
}

/* Text alignment */
.about-preview--text-center {
  text-align: center;
}
.about-preview--text-center .u-eyebrow,
.about-preview--text-center .u-divider {
  margin-left: auto;
  margin-right: auto;
}
.about-preview--text-center .u-divider {
  display: block;
}
.about-preview--text-center .about-preview__list li {
  justify-content: center;
}

/* Sans image : centrage du bloc texte */
.about-preview--no-image .about-preview__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

/* ---------- 8c. Page Title (bandeau de titre) ---------- */
.page-title {
  position: relative;
  padding: var(--ej-section-py) 0;
  overflow: hidden;
  background: var(--ej-black);
  color: var(--ej-white);
}
.page-title__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-title__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(17, 17, 17, 0.85) 0%,
    rgba(30, 30, 30, 0.7) 55%,
    rgba(42, 12, 15, 0.8) 100%
  );
  z-index: 1;
}
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 6, 19, 0.18), transparent 45%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 14px
    );
  pointer-events: none;
  z-index: 2;
}
.page-title__inner {
  position: relative;
  z-index: 3;
}
.page-title__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--ej-white);
  margin-bottom: 1rem;
}
.page-title__subtitle {
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 0;
  opacity: 0.9;
}
.page-title__breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
.page-title__breadcrumb a {
  color: inherit;
}
.page-title__breadcrumb a:hover {
  color: var(--ej-red);
}
.page-title__breadcrumb-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Backgrounds (variantes) */
.page-title--bg-white     { background: var(--ej-white); }
.page-title--bg-gray      { background: var(--ej-gray-100); }
.page-title--bg-gray-300  { background: var(--ej-gray-300); }
.page-title--bg-black     { background: var(--ej-black); }
.page-title--bg-dark      { background: var(--ej-dark); }
.page-title--bg-red       { background: var(--ej-red); }
.page-title--bg-red-soft  { background: var(--ej-red-soft); }
.page-title--bg-red-dark  { background: var(--ej-red-dark); }

/* Theme dark (texte foncé sur fonds clairs) */
.page-title--theme-dark { color: var(--ej-gray-900); }
.page-title--theme-dark .page-title__title { color: var(--ej-black); }
.page-title--theme-dark .page-title__subtitle { color: var(--ej-gray-700); }
.page-title--theme-dark::before {
  background: radial-gradient(
    circle at 80% 20%,
    rgba(227, 6, 19, 0.06),
    transparent 45%
  );
}
/* Sur fond clair sans image : pas d'overlay sombre */
.page-title--theme-dark:not(.page-title--has-bg-image) .page-title__overlay {
  display: none;
}

/* Theme light (sur fonds sombres ou avec image) */
.page-title--theme-light { color: rgba(255, 255, 255, 0.9); }
.page-title--theme-light .page-title__title { color: var(--ej-white); }
.page-title--theme-light .page-title__subtitle { color: rgba(255, 255, 255, 0.85); }

/* Sans bg image : pas d'overlay */
.page-title:not(.page-title--has-bg-image) .page-title__overlay {
  display: none;
}

/* Spacing */
.page-title--spacing-compact { padding: 3rem 0; }
.page-title--spacing-default { padding: var(--ej-section-py) 0; }
.page-title--spacing-large   { padding: calc(var(--ej-section-py) + 2rem) 0; }

/* Alignment */
.page-title--text-center { text-align: center; }
.page-title--text-center .u-eyebrow,
.page-title--text-center .u-divider {
  margin-left: auto;
  margin-right: auto;
}
.page-title--text-center .u-divider { display: block; }

/* ---------- 8d. Contact Section ---------- */
.contact-section {
  padding: var(--ej-section-py) 0;
  background: var(--ej-white);
}
.contact-section__header {
  margin-bottom: 3rem;
  text-align: center;
}
.contact-section__header .u-divider {
  margin-inline: auto;
}
.contact-section__subtitle {
  margin-inline: auto;
}

/* — Bloc coordonnées — */
.contact-info { margin-bottom: 2rem; }
.contact-info__title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ej-gray-300);
}
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ej-red-soft);
  color: var(--ej-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-info__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.contact-info__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ej-gray-500);
}
.contact-info__value {
  font-size: 1rem;
  color: var(--ej-gray-900);
  line-height: 1.5;
}
.contact-info__value a:hover { color: var(--ej-red); }

/* — Map — */
.contact-map {
  position: relative;
  margin-top: 2rem;
  border-radius: var(--ej-radius-md);
  overflow: hidden;
  box-shadow: var(--ej-shadow-sm);
  background: var(--ej-gray-100);
}
.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

/* — Wrapper formulaire — */
.contact-form-wrap {
  background: var(--ej-white);
  padding: 2.5rem;
  border-radius: var(--ej-radius-md);
  box-shadow: var(--ej-shadow-md);
  border-top: 4px solid var(--ej-red);
}
.contact-form-wrap__title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* — Contact Form 7 styling — */
.cf7-form .row { --bs-gutter-x: 1rem; }
.cf7-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ej-gray-900);
  margin-bottom: 0.4rem;
  font-family: var(--ej-font-head);
}
.cf7-form__required { color: var(--ej-red); }
.cf7-form__actions {
  margin-top: 0.5rem;
  text-align: right;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--ej-font-body);
  font-size: 0.95rem;
  color: var(--ej-gray-900);
  background: var(--ej-white);
  border: 1px solid var(--ej-gray-300);
  border-radius: var(--ej-radius-sm);
  transition: all var(--ej-transition);
  line-height: 1.4;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 0;
  border-color: var(--ej-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}
.wpcf7 textarea { resize: vertical; min-height: 140px; }

.wpcf7 .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ej-gray-700);
  cursor: pointer;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--ej-red);
  flex-shrink: 0;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--ej-font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--ej-radius-sm);
  border: 2px solid var(--ej-red);
  background: var(--ej-red);
  color: var(--ej-white);
  transition: all var(--ej-transition);
  cursor: pointer;
  line-height: 1;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
  background: var(--ej-red-dark);
  border-color: var(--ej-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.28);
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ej-red);
}
.wpcf7 .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--ej-radius-sm);
  font-size: 0.92rem;
  border: 1px solid var(--ej-gray-300);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2a8f43;
  background: rgba(42, 143, 67, 0.08);
  color: #1f6b32;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--ej-red);
  background: var(--ej-red-soft);
  color: var(--ej-red-dark);
}
.wpcf7-spinner { background-color: var(--ej-red); }

/* Backgrounds */
.contact-section--bg-white     { background: var(--ej-white); }
.contact-section--bg-gray      { background: var(--ej-gray-100); }
.contact-section--bg-gray-300  { background: var(--ej-gray-300); }
.contact-section--bg-black     { background: var(--ej-black); }
.contact-section--bg-dark      { background: var(--ej-dark); }
.contact-section--bg-red       { background: var(--ej-red); }
.contact-section--bg-red-soft  { background: var(--ej-red-soft); }
.contact-section--bg-red-dark  { background: var(--ej-red-dark); }

/* Theme light */
.contact-section--theme-light { color: rgba(255, 255, 255, 0.9); }
.contact-section--theme-light .contact-section__title,
.contact-section--theme-light .contact-info__title,
.contact-section--theme-light .contact-info__value { color: var(--ej-white); }
.contact-section--theme-light .contact-section__subtitle,
.contact-section--theme-light .contact-info__label { color: rgba(255, 255, 255, 0.75); }
.contact-section--theme-light .u-eyebrow { color: var(--ej-white); }
.contact-section--theme-light .u-eyebrow::before { background: var(--ej-white); }
.contact-section--theme-light .u-divider { background: var(--ej-white); }
.contact-section--theme-light .contact-info__item { border-bottom-color: rgba(255, 255, 255, 0.18); }
.contact-section--theme-light .contact-info__icon { background: rgba(255, 255, 255, 0.12); color: var(--ej-white); }

/* Spacing */
.contact-section--spacing-compact { padding: 3rem 0; }
.contact-section--spacing-default { padding: var(--ej-section-py) 0; }
.contact-section--spacing-large   { padding: calc(var(--ej-section-py) + 2rem) 0; }

/* Alignment header */
.contact-section--text-left .contact-section__header { text-align: left; }
.contact-section--text-left .contact-section__header .u-divider { margin-left: 0; margin-right: auto; }

/* ---------- 9. Services ---------- */
.services {
  padding: var(--ej-section-py) 0;
  background: var(--ej-white);
}
.services__header {
  margin-bottom: 3rem;
  text-align: center;
}
.services__header .u-divider {
  margin-inline: auto;
}

.service-card {
  position: relative;
  background: var(--ej-white);
  border: 1px solid var(--ej-gray-300);
  border-radius: var(--ej-radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all var(--ej-transition);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ej-gray-300);
  transition: background var(--ej-transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ej-shadow-md);
  border-color: transparent;
}
.service-card:hover::before {
  background: var(--ej-red);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--ej-radius-sm);
  background: var(--ej-gray-100);
  color: var(--ej-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--ej-transition);
}
.service-card:hover .service-card__icon {
  background: var(--ej-red);
  color: var(--ej-white);
}
.service-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service-card__text {
  color: var(--ej-gray-700);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ej-font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ej-black);
  letter-spacing: 0.03em;
}
.service-card__link i {
  transition: transform var(--ej-transition);
}
.service-card__link:hover {
  color: var(--ej-red);
}
.service-card__link:hover i {
  transform: translateX(4px);
}

/* Service mis en avant (Ramonage) */
.service-card--featured {
  background: var(--ej-black);
  color: var(--ej-white);
  border-color: var(--ej-black);
}
.service-card--featured::before {
  background: var(--ej-red);
  height: 4px;
}
.service-card--featured .service-card__title {
  color: var(--ej-white);
}
.service-card--featured .service-card__text {
  color: rgba(255, 255, 255, 0.72);
}
.service-card--featured .service-card__icon {
  background: var(--ej-red);
  color: var(--ej-white);
}
.service-card--featured .service-card__link {
  color: var(--ej-white);
}
.service-card--featured .service-card__link:hover {
  color: var(--ej-red);
}
.service-card--featured:hover .service-card__icon {
  background: var(--ej-white);
  color: var(--ej-red);
}
.service-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ej-red);
  color: var(--ej-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--ej-radius-sm);
}

/* ---------- 10. Réalisations (carrousel Swiper) ---------- */
.realisations {
  padding: var(--ej-section-py) 0;
  background: var(--ej-black);
  color: var(--ej-white);
  position: relative;
  overflow: hidden;
}
.realisations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 80%,
    rgba(227, 6, 19, 0.18),
    transparent 50%
  );
  pointer-events: none;
}
.realisations__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.realisations__title {
  color: var(--ej-white);
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.realisations__subtitle {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}
.realisations__nav {
  display: flex;
  gap: 0.6rem;
}
.realisations__nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--ej-white);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--ej-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.realisations__nav-btn:hover {
  background: var(--ej-red);
  border-color: var(--ej-red);
}

.realisations__swiper {
  overflow: visible;
  position: relative;
  z-index: 1;
}
.realisation-card {
  position: relative;
  aspect-ratio: 3/4;
  min-height: 380px;
  border-radius: var(--ej-radius-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: repeating-linear-gradient(
      135deg,
      #2f2f2f 0 12px,
      #262626 12px 24px
    )
    #2a2a2a;
  box-shadow: var(--ej-shadow-md);
  transition: transform var(--ej-transition);
}
.realisation-card:hover {
  transform: translateY(-6px);
}
.realisation-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.realisation-card:hover .realisation-card__image {
  transform: scale(1.06);
}
.realisation-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.realisation-card__tag {
  align-self: flex-start;
  background: var(--ej-red);
  color: var(--ej-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--ej-radius-sm);
  margin-bottom: 0.75rem;
}
.realisation-card__title {
  color: var(--ej-white);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.realisation-card__location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.realisation-card__zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ej-black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--ej-transition);
}
.realisation-card:hover .realisation-card__zoom {
  opacity: 1;
  transform: scale(1);
}

.realisations__pagination {
  position: relative !important;
  margin-top: 2.5rem;
  text-align: center;
}
.realisations__pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all var(--ej-transition);
}
.realisations__pagination .swiper-pagination-bullet-active {
  background: var(--ej-red);
  width: 28px;
  border-radius: 5px;
}
.realisations__footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 2.5rem;
}
.realisations__cta {
  color: var(--ej-white);
}

/* ---------- 10b. Engagements / Process ---------- */
.commitments {
  padding: var(--ej-section-py) 0;
  background: var(--ej-white);
}
.commitments__intro {
  font-size: 1.05rem;
  color: var(--ej-gray-900);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.commitments__text {
  color: var(--ej-gray-700);
  margin-bottom: 2rem;
}
.commitments__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ej-gray-300);
}
.commitments__signature-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ej-black);
  color: var(--ej-white);
  font-family: var(--ej-font-head);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.commitments__signature-name {
  font-family: var(--ej-font-head);
  font-weight: 700;
  font-size: 1rem;
}
.commitments__signature-role {
  font-size: 0.85rem;
  color: var(--ej-gray-500);
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.process__step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem;
  background: var(--ej-gray-100);
  border-radius: var(--ej-radius-md);
  margin-bottom: 1rem;
  position: relative;
  border-left: 3px solid transparent;
  transition: all var(--ej-transition);
}
.process__step:hover {
  background: var(--ej-white);
  border-left-color: var(--ej-red);
  box-shadow: var(--ej-shadow-md);
  transform: translateX(4px);
}
.process__number {
  flex-shrink: 0;
  font-family: var(--ej-font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ej-red);
  line-height: 1;
  width: 48px;
}
.process__title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.process__text {
  color: var(--ej-gray-700);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- 11. Avis clients ---------- */
.testimonials {
  padding: var(--ej-section-py) 0;
  background: var(--ej-gray-100);
}
.testimonials__header {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials__header .u-divider {
  margin-inline: auto;
}

.testimonial {
  background: var(--ej-white);
  padding: 2.25rem;
  border-radius: var(--ej-radius-md);
  box-shadow: var(--ej-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--ej-red);
}
.testimonial__rating {
  margin-bottom: 1rem;
}
.testimonial__stars {
  color: #ffb400;
  font-size: 0.95rem;
}
.testimonial__quote{
  font-size: 1.5rem !important;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ej-red);
  color: var(--ej-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ej-font-head);
  font-weight: 700;
}
.testimonial__name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.testimonial__location {
  font-size: 0.82rem;
  color: var(--ej-gray-500);
}

.testimonials__swiper {
  padding-bottom: 3rem !important;
}
.testimonials__swiper .swiper-pagination-bullet {
  background: var(--ej-gray-500);
  opacity: 0.4;
  width: 10px;
  height: 10px;
}
.testimonials__swiper .swiper-pagination-bullet-active {
  background: var(--ej-red);
  opacity: 1;
  width: 28px;
  border-radius: 5px;
}

/* ---------- 12. CTA global ---------- */
.cta {
  position: relative;
  padding: 5rem 0;
  background: var(--ej-red);
  color: var(--ej-white);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.04) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
}
.cta__title {
  color: var(--ej-white);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.cta__text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 1.25rem 1.5rem;
  border-radius: var(--ej-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cta__phone-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ej-white);
  color: var(--ej-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.cta__phone-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.cta__phone-number {
  font-family: var(--ej-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  color: var(--ej-white);
}

/* ---------- 13. Footer ---------- */
.footer {
  background: var(--ej-black);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 0;
}
.footer__logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(1.05);
}
.footer__description {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer__socials {
  display: flex;
  gap: 0.6rem;
}
.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ej-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ej-transition);
}
.footer__social:hover {
  background: var(--ej-red);
  color: var(--ej-white);
  transform: translateY(-2px);
}

.footer__title {
  color: var(--ej-white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ej-red);
  display: inline-block;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}
.footer__list a {
  color: rgba(255, 255, 255, 0.72);
}
.footer__list a:hover {
  color: var(--ej-red);
  padding-left: 0.3rem;
}
.footer__list a {
  display: inline-block;
  transition: all var(--ej-transition);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.footer__contact-item i {
  color: var(--ej-red);
  margin-top: 0.2rem;
  width: 16px;
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a:hover {
  color: var(--ej-red);
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 991.98px) {
  :root {
    --ej-section-py: 4.5rem;
  }
  .header__burger {
    display: inline-flex;
  }
  .hero {
    padding: 4rem 0 4rem;
  }
  .hero__visual {
    margin-top: 3rem;
    aspect-ratio: 4/3;
  }
  .about-preview__experience {
    right: 1rem;
    bottom: 1rem;
  }
  .realisations__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  :root {
    --ej-section-py: 3.5rem;
  }
  .btn-ej {
    padding: 0.85rem 1.4rem;
    font-size: 0.88rem;
  }
  .testimonial {
    padding: 1.75rem;
  }
  .cta__phone {
    width: 100%;
  }
}
