/* ==========================================================================
   Vert Eco — Design tokens
   Source : Figma "vert-eco" (fileKey 7YU1x3szJ7yxFknstaCo1h)
            page "design-system-variables" > color / font-style
   ========================================================================== */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-italic.woff2') format('woff2');
}

:root {

  /* Couleurs — Primary (orange) ------------------------------------------ */
  --color-primary-base: #eb6122;
  --color-primary-10:   #fffbf9;
  --color-primary-100:  #fef8f5;
  --color-primary-200:  #ff621b;
  --color-primary-300:  #eb6122;
  --color-primary-400:  #c25d2f;
  --color-primary-500:  #9a4f2c;
  --color-primary-600:  #593728;
  --color-primary-700:  #3f2e26;
  --color-primary-800:  #281f19;

  /* Couleurs — Secondary (vert/olive) -------------------------------------- */
  --color-secondary-base: #b8cd28;
  --color-secondary-bg:   #fafbf2;
  --color-secondary-10:   #eff0e7;
  --color-secondary-100:  #ebf1c7;
  --color-secondary-200:  #ddec78;
  --color-secondary-300:  #cadc51;
  --color-secondary-400:  #84931b;
  --color-secondary-500:  #65720f;
  --color-secondary-600:  #444c0f;
  --color-secondary-700:  #282c0c;

  /* Couleurs — Grey --------------------------------------------------------- */
  --color-grey-0:    #ffffff;
  --color-grey-50:   #f1f1f1;
  --color-grey-200:  #d3d3d3;
  --color-grey-400:  #afafaf;
  --color-grey-500:  #898989;
  --color-grey-600:  #474747;
  --color-grey-700:  #2e2e2e;
  --color-grey-800:  #1f1f1f;
  --color-grey-900:  #101010;
  --color-grey-1000: #000000;

  /* Texte -------------------------------------------------------------------- */
  --color-text-title:       #151515;
  --color-text-base:        #151515;
  --color-text-body:        var(--color-grey-900);
  --color-text-title-light: #eb6122;
  --color-text-light:       #c6b8b1;
  --color-text-white:       #ffffff;

  /* Typographie — familles --------------------------------------------------- */
  --font-family-title: 'Barlow', sans-serif;
  --font-family-body:  'Barlow', sans-serif;

  /* Typographie — graisses ----------------------------------------------------- */
  --font-weight-regular: 400;
  --font-weight-bold:    700;
  --font-weight-black:   700; /* nommé "Black" dans Figma, poids réel = 700 */

  /* Typographie — échelle (taille / interligne) -------------------------------- */
  --h1-font-size: 45px;
  --h1-line-height: 64px;

  --h2-font-size: 40px;
  --h2-line-height: 64px;

  --h3-font-size: 30px;
  --h3-line-height: 46px;

  --h4-font-size: 32px;
  --h4-line-height: 36px;

  --h5-font-size: 22px;
  --h5-line-height: 28px;

  --h6-font-size: 20px;
  --h6-line-height: 35.2px;

  --upper-font-size: 20px;
  --upper-line-height: var(--h6-line-height);

  --paragraph-font-size: 18px;
  --paragraph-line-height: 26px;

  --paragraph-sm-font-size: 14px;
  --paragraph-sm-line-height: 18px;

  --caption-font-size: 11px;
  --caption-line-height: 19px;

  /* Mise en page ------------------------------------------------------------- */
  --page-gutter: 96px;
  --section-space: 96px;
  --radius: 5px;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  font-family: var(--font-family-body);
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-base);
  background: var(--color-grey-0);
}

.home img,
.site-footer img,
.footer-cta img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  :root {
    --page-gutter: 40px;
    --section-space: 72px;
    --h1-font-size: 38px;
    --h1-line-height: 48px;
    --h2-font-size: 34px;
    --h2-line-height: 44px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --page-gutter: 20px;
    --section-space: 56px;
    --h1-font-size: 30px;
    --h1-line-height: 38px;
    --h2-font-size: 28px;
    --h2-line-height: 36px;
    --h4-font-size: 24px;
    --h4-line-height: 30px;
  }
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.ve-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius);
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.ve-btn img {
  flex: none;
}

.ve-btn--primary {
  background: var(--color-primary-base);
  color: var(--color-grey-0) !important;
}

.ve-btn--primary:hover {
  background: var(--color-primary-500);
}

.ve-btn--white {
  background: var(--color-grey-0);
  color: var(--color-text-base) !important;
}

.ve-btn--white:hover {
  background: var(--color-primary-100);
}

.ve-btn-pill,
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-family-body);
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  font-weight: var(--font-weight-bold);
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease;
}

.ve-btn-pill--ghost {
  background: var(--color-grey-50);
  color: var(--color-text-base);
}

.ve-btn-pill--ghost:hover {
  background: var(--color-grey-200);
}

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  background: var(--color-primary-base);
  color: var(--color-grey-0);
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
  background: var(--color-primary-500);
}

/* ==========================================================================
   Formulaires Gravity Forms (base commune à tous les formulaires du site)
   ========================================================================== */

.gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gform_wrapper .gfield {
  grid-column: 1 / -1;
  min-width: 0;
}

.gform_wrapper .gfield--width-eleven-twelfths { grid-column: span 11; }
.gform_wrapper .gfield--width-five-sixths     { grid-column: span 10; }
.gform_wrapper .gfield--width-three-quarter   { grid-column: span 9; }
.gform_wrapper .gfield--width-two-thirds      { grid-column: span 8; }
.gform_wrapper .gfield--width-seven-twelfths  { grid-column: span 7; }
.gform_wrapper .gfield--width-half            { grid-column: span 6; }
.gform_wrapper .gfield--width-five-twelfths   { grid-column: span 5; }
.gform_wrapper .gfield--width-third           { grid-column: span 4; }
.gform_wrapper .gfield--width-quarter         { grid-column: span 3; }

@media (max-width: 575.98px) {
  .gform_wrapper .gfield {
    grid-column: 1 / -1 !important;
  }
}

.gform_wrapper .gfield_label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--paragraph-font-size);
  color: var(--color-text-title);
}

.gform_wrapper .gfield_required {
  margin-left: 4px;
  color: var(--color-primary-base);
}

.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-grey-200);
  border-radius: 4px;
  background: var(--color-grey-0);
  font-family: var(--font-family-body);
  font-size: var(--paragraph-font-size);
  color: var(--color-text-base);
}

.gform_wrapper .ginput_container textarea {
  min-height: 140px;
  resize: vertical;
}

.gform_wrapper .ginput_container input:focus,
.gform_wrapper .ginput_container select:focus,
.gform_wrapper .ginput_container textarea:focus {
  outline: 0;
  border-color: var(--color-primary-base);
}

.gform_wrapper .gfield--type-checkbox .gfield_label,
.gform_wrapper .consent-field .gfield_label {
  display: none;
}

.gform_wrapper .gfield_checkbox {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gform_wrapper .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gform_wrapper .gchoice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--color-primary-base);
}

.gform_wrapper .gchoice label {
  font-size: var(--paragraph-sm-font-size);
  line-height: var(--paragraph-line-height);
  color: var(--color-text-base);
}

.gform_wrapper .gchoice label a {
  color: var(--color-primary-base);
  text-decoration: underline;
}

.gform_wrapper .gform_footer,
.gform_wrapper .rappelez-moi-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--color-grey-50);
}

.gform_wrapper .validation_error {
  margin-bottom: 20px;
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-size: var(--paragraph-sm-font-size);
}

.gform_wrapper .gfield_validation_message {
  margin-top: 6px;
  color: var(--color-primary-base);
  font-size: var(--paragraph-sm-font-size);
}

.gform_wrapper .gform_confirmation_message {
  padding: 10px 0;
  color: var(--color-text-title);
}

/* ==========================================================================
   Popup "Rappelez-moi"
   ========================================================================== */

.rappelez-moi-modal .modal-content {
  border: 0;
  border-radius: 12px;
}

.rappelez-moi-modal .modal-header {
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid var(--color-grey-50);
}

.rappelez-moi-modal .modal-title {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-text-title);
}

.rappelez-moi-modal .modal-body {
  padding: 30px;
}

/* ==========================================================================
   Page Contact (2 colonnes)
   ========================================================================== */

.contact-page {
  padding: var(--section-space) var(--page-gutter);
}

.contact-page__title {
  margin: 0 0 30px;
}

.contact-page__row {
  display: flex;
  gap: 60px;
}

.contact-page__col {
  flex: 1;
  min-width: 0;
}

.contact-page__col--text {
  color: var(--color-text-base);
}

@media (max-width: 991.98px) {
  .contact-page__row {
    flex-direction: column;
    gap: var(--section-space);
  }
}

/* ==========================================================================
   Titres de section (sur-titre + titre)
   ========================================================================== */

.ve-heading {
  display: flex;
  flex-direction: column;
  color: var(--color-text-title);
}

.ve-heading--center {
  align-items: center;
  text-align: center;
}

.ve-heading__pretitle {
  margin: 0 0 -10px;
  font-family: var(--font-family-title);
  font-size: var(--upper-font-size);
  line-height: var(--upper-line-height);
  text-transform: uppercase;
}

.ve-heading__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  font-weight: var(--font-weight-black);
  color: inherit;
}

.ve-heading--light {
  color: var(--color-text-white);
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.sticky-cta {
  display: none !important;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 20px 0;
  background: var(--color-primary-800);
  color: var(--color-text-white);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.site-header__top {
  display: flex;
  justify-content: flex-end;
  padding: 5px var(--page-gutter);
  margin-bottom: -10px;
}

.site-header .top-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .top-menu a {
  display: block;
  padding: 5px 0;
  font-size: 18px;
  line-height: 18px;
  color: var(--color-text-white);
}

.site-header .top-menu a:hover {
  color: var(--color-text-title-light);
}

.site-header .top-menu li:last-child a {
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--color-primary-300);
}

.site-header .top-menu li:last-child a:hover {
  color: var(--color-text-white);
  background: var(--color-primary-500);
}

.site-header__main {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  padding: 0 var(--page-gutter);
}

.site-header__logo {
  flex: none;
  width: 250px;
  padding: 5px 10px;
  box-sizing: content-box;
}

.site-header__logo img {
  display: block;
  width: 250px;
  height: auto;
}

.site-header__nav {
  flex: 1;
  min-width: 0;
}

.site-header .navbar {
  padding: 0;
  justify-content: flex-end;
}

.site-header .navbar-nav {
  align-items: flex-end;
  gap: 30px;
}

.site-header .navbar .nav-link {
  padding: 0 0 5px;
  border-bottom: 1px solid transparent;
  font-size: 18px;
  line-height: 18px;
  color: var(--color-text-white);
  transition: color .2s ease, border-color .2s ease;
}

.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link:focus,
.site-header .navbar .active > .nav-link,
.site-header .navbar .current-menu-item > .nav-link,
.site-header .navbar .current-menu-ancestor > .nav-link {
  color: var(--color-text-title-light);
  border-bottom-color: var(--color-text-title-light);
}

.site-header .dropdown-toggle::after {
  width: 7px;
  height: 7px;
  margin: 0 0 3px 8px;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  vertical-align: middle;
  transform: rotate(45deg);
}

.site-header .dropdown-menu {
  min-width: 0;
  margin: 0;
  padding: 42px 24px;
  border: 0;
  border-top: 1px solid var(--color-primary-800);
  border-radius: 0;
  background: rgba(40, 31, 25, .7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.site-header .dropdown-menu .dropdown-item,
.site-header .dropdown-menu .nav-link {
  display: block;
  padding: 0 0 5px;
  margin-bottom: 10px;
  background: transparent;
  font-size: 18px;
  line-height: 18px;
  color: var(--color-text-white);
  white-space: nowrap;
}

.site-header .dropdown-menu li:last-child > a {
  margin-bottom: 0;
}

.site-header .dropdown-menu .dropdown-item:hover,
.site-header .dropdown-menu .nav-link:hover {
  background: transparent;
  color: var(--color-text-title-light);
}

@media (min-width: 1200px) {
  .site-header .navbar-expand-xl .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .site-header .offcanvas-body {
    display: flex;
    justify-content: flex-end;
    padding: 0;
  }
}

@media (max-width: 1199.98px) {
  .site-header__main {
    align-items: center;
    justify-content: space-between;
  }

  .site-header__logo {
    width: 200px;
  }

  .site-header__logo img {
    width: 200px;
  }

  .site-header .navbar-toggler {
    padding: 4px 12px;
    border: 0;
    border-radius: var(--radius);
    background: rgba(21, 21, 21, .6);
    color: var(--color-text-white);
  }

  .site-header .offcanvas {
    background: var(--color-primary-800);
    color: var(--color-text-white);
  }

  .site-header .offcanvas .navbar-nav {
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }

  .site-header .offcanvas .back-toggler {
    padding: 20px;
    border: 0;
    background: transparent;
    color: var(--color-text-white);
    text-align: right;
  }

  .site-header .dropdown-menu {
    padding: 16px 0 0 16px;
    background: transparent;
    border: 0;
  }
}

@media (max-width: 767.98px) {
  .site-header__top {
    padding: 5px 20px;
  }
}

/* ==========================================================================
   Accueil — Hero
   ========================================================================== */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--color-primary-800);
  color: var(--color-text-white);
}

.home-hero__slider {
  position: absolute;
  inset: 0;
}

.home-hero__slider .slick-list,
.home-hero__slider .slick-track,
.home-hero__slider .slick-slide,
.home-hero__slider .slick-slide > div {
  height: 100%;
}

.home-hero__slider:not(.slick-initialized) .home-hero__slide:not(:first-child) {
  display: none;
}

.home-hero__slide,
.home-hero__image {
  width: 100%;
  height: 100%;
}

.home-hero__image {
  display: block;
  object-fit: cover;
  max-width: none;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(7, 7, 7, .471) 10.7%, rgba(21, 21, 21, 0) 18.7%),
    linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: 100%;
  flex: 1 0 auto;
  padding: 150px 0 60px var(--page-gutter);
}

.home-hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
  max-width: 737px;
  padding: 48px 30px;
  background: rgba(21, 21, 21, .6);
  -webkit-backdrop-filter: blur(8.5px);
  backdrop-filter: blur(8.5px);
}

.home-hero__panel::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 100%;
  width: 56px;
  height: 2px;
  margin-right: 13px;
  border-radius: 2px;
  background: var(--color-primary-base);
}

.home-hero__title {
  max-width: 553px;
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h1-font-size);
  line-height: var(--h1-line-height);
  font-weight: var(--font-weight-regular);
  text-transform: uppercase;
  color: var(--color-text-white);
}

.home-hero__title strong {
  font-weight: var(--font-weight-bold);
}

.home-hero__text {
  max-width: 441px;
  color: var(--color-text-light);
}

.home-hero__text > :last-child {
  margin-bottom: 0;
}

.home-hero__services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 613px;
  min-height: 83px;
  margin: 0;
  padding: 10px 24px;
  list-style: none;
  background: rgba(21, 21, 21, .6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.home-hero__service {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-hero__service-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 10px;
  border-radius: 80px;
}

.home-hero__service-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.home-hero__service-label {
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
}

.home-hero__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 18px;
  padding-left: 10px;
  color: var(--color-primary-500);
}

.home-hero__dots .slick-dots {
  position: static;
  display: flex;
  align-items: center;
  gap: 18px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__dots .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.home-hero__dots .slick-dots li button {
  display: block;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--color-primary-700);
  border-radius: 50%;
  background: var(--color-text-base);
  font-size: 0;
  line-height: 0;
  transition: width .3s ease, background-color .3s ease;
}

.home-hero__dots .slick-dots li button::before {
  display: none;
}

.home-hero__dots .slick-dots li.slick-active button {
  width: 87px;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--color-primary-500);
}

.home-hero__arrow {
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.home-hero__arrow:hover {
  color: var(--color-primary-base);
}

@media (max-width: 1199.98px) {
  .home-hero__inner {
    padding-right: var(--page-gutter);
  }

  .home-hero__panel::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .home-hero__inner {
    padding-top: 190px;
  }

  .home-hero__panel {
    gap: 24px;
    padding: 30px 20px;
  }

  .home-hero__services {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }

  .home-hero__dots .slick-dots li.slick-active button {
    width: 48px;
  }
}

/* ==========================================================================
   Accueil — À votre service
   ========================================================================== */

.home-service {
  padding: var(--section-space) var(--page-gutter);
  background: var(--color-grey-0);
}

.home-service__box {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 0;
  background: var(--color-primary-800);
  color: var(--color-text-white);
}

.home-service__aside {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 420px;
}

.home-service__photo {
  width: 100%;
  height: 610px;
}

.home-service__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-service__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: var(--section-space) 60px var(--section-space) 0;
}

.home-service__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 815px;
  padding-top: 32px;
}

.home-service__content {
  color: var(--color-text-light);
}

.home-service__content h5,
.home-service__content h4,
.home-service__content h3 {
  margin: 0 0 10px;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-white);
}

.home-service__content p {
  margin: 0 0 10px;
}

.home-service__products {
  display: grid;
  grid-template-columns: 418fr 353fr;
  gap: 30px;
}

.product-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 284px;
  padding: 10px 0;
  overflow: hidden;
  border-radius: 12px;
  color: var(--color-text-white) !important;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

a.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
}

.product-card__label::before {
  content: '';
  flex: none;
  width: 56px;
  height: 1px;
  background: var(--color-primary-base);
}

.product-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  padding: 30px;
  background: var(--color-primary-100);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

a.product-card:hover .product-card__hover,
a.product-card:focus-visible .product-card__hover,
a.product-card:focus .product-card__hover {
  opacity: 1;
  visibility: visible;
}

.product-card__hover-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-title);
}

.product-card__hover-line {
  flex: none;
  width: 36px;
  height: 1px;
  background: var(--color-primary-base);
}

.product-card__hover-text {
  margin: 0;
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  color: var(--color-text-base);
}

.product-card__hover-arrow {
  flex: none;
}

a.product-card:hover .product-card__hover-arrow {
  background: var(--color-primary-500);
}

@media (max-width: 1199.98px) {
  .home-service__box {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .home-service__aside {
    width: 100%;
    padding-bottom: 30px;
  }

  .home-service__photo {
    height: 420px;
  }

  .home-service__main {
    padding: 30px 30px var(--section-space);
  }
}

@media (max-width: 767.98px) {
  .home-service__products {
    grid-template-columns: 1fr;
  }

  .home-service__photo {
    height: 300px;
  }
}

/* ==========================================================================
   Accueil — Équipe & suivi
   ========================================================================== */

.home-team,
.home-ramonage {
  padding: var(--section-space) var(--page-gutter);
}

.home-team__header,
.home-ramonage__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 24px;
  text-align: center;
}

.home-team__header .ve-heading__title,
.home-ramonage__header .ve-heading__title {
  max-width: 1120px;
}

.home-team__intro,
.home-ramonage__intro {
  max-width: 984px;
  color: var(--color-grey-1000);
}

.home-team__intro p,
.home-ramonage__intro p {
  margin: 0;
}

.home-team__body,
.home-ramonage__body {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 30px;
}

.home-team__photo,
.home-ramonage__photo {
  flex: none;
  width: 516px;
}

.home-team__photo img,
.home-ramonage__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.home-team__steps {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding: 0 8px;
}

.team-steps {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.team-step {
  position: relative;
  counter-increment: step;
  padding: 10px;
  background: var(--color-primary-100);
}

.team-step + .team-step {
  margin-top: 52px;
}

.team-step + .team-step::before {
  content: '';
  position: absolute;
  left: 25px;
  bottom: 100%;
  width: 2px;
  height: 42px;
  margin-bottom: 5px;
  border-radius: 1px;
  background: var(--color-primary-base);
}

.team-step__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 10px;
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
  color: var(--color-text-title-light);
}

.team-step__title::before {
  content: counter(step);
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
}

.team-step__text {
  padding: 10px;
  color: var(--color-text-base);
}

.team-step__text > :last-child {
  margin-bottom: 0;
}

.home-team__cta {
  margin: 10px;
}

@media (max-width: 1199.98px) {
  .home-team__body,
  .home-ramonage__body {
    flex-direction: column;
  }

  .home-team__photo,
  .home-ramonage__photo {
    width: 100%;
    height: 380px;
  }

  .home-team__steps {
    padding: 0;
  }
}

/* ==========================================================================
   Accueil — Ramonage & entretien
   ========================================================================== */

.home-ramonage {
  background: var(--color-primary-100);
}

.home-ramonage__photo {
  height: 446px;
  position: sticky;
  top: 0;
}

.home-ramonage__card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding: 0 8px;
}

.home-ramonage__subtitle {
  margin: 0;
  padding: 10px 20px 0;
  font-family: var(--font-family-title);
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-title-light);
}

.home-ramonage__content {
  padding: 0 20px;
  color: var(--color-grey-1000);
}

.home-ramonage__content ul {
  margin: 0;
  padding-left: 24px;
}

.home-ramonage__content > :last-child {
  margin-bottom: 0;
}

.home-ramonage__cta {
  margin: 10px;
}

@media (max-width: 1199.98px) {
  .home-ramonage__photo {
    position: static;
  }

  .home-ramonage__card {
    padding: 0;
  }
}

/* ==========================================================================
   Accueil — Actualités
   ========================================================================== */

.home-news {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: var(--section-space) var(--page-gutter);
  background: var(--color-primary-10);
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-grey-0);
}

.news-card__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 327px;
  padding: 10px;
  overflow: hidden;
}

.news-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__tag {
  position: relative;
  padding: 4px 6px;
  border-radius: 50px;
  background: var(--color-primary-800);
  font-size: var(--caption-font-size);
  line-height: var(--caption-line-height);
  color: var(--color-text-white);
}

.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 30px;
}

.news-card__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-title);
}

.news-card__title a {
  color: inherit;
}

.news-card__date {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: 24px;
  color: var(--color-text-title);
}

.news-card__excerpt {
  margin: 0;
  color: var(--color-text-title);
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-primary-base) !important;
}

.news-card__more::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.news-all {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 30px;
  background: var(--color-primary-base);
  color: var(--color-text-white) !important;
  transition: background-color .2s ease;
}

.news-all:hover {
  background: var(--color-primary-500);
}

.news-all__small {
  margin-bottom: -16px;
  font-family: var(--font-family-title);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  font-weight: var(--font-weight-bold);
}

.news-all__big {
  font-family: var(--font-family-title);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  font-weight: var(--font-weight-black);
}

@media (max-width: 1199.98px) {
  .home-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-all {
    min-height: 160px;
  }
}

@media (max-width: 767.98px) {
  .home-news__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pied de page — Parlons de votre projet
   ========================================================================== */

.footer-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 509px;
  padding: var(--section-space) var(--page-gutter);
  background: var(--color-primary-800);
  color: var(--color-text-white);
  text-align: center;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .5);
}

.footer-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-cta__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  font-weight: var(--font-weight-black);
  color: var(--color-text-white);
}

.footer-cta__paragraph {
  max-width: 862px;
  color: var(--color-text-light);
}

.footer-cta__paragraph > :last-child {
  margin-bottom: 0;
}

.footer-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  display: flex;
  gap: 10px;
  min-height: 373px;
  background: var(--color-primary-800);
  color: var(--color-text-light);
}

.site-footer__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 42px 0 42px var(--page-gutter);
}

.site-footer__logo {
  padding: 10px;
  border-radius: var(--radius);
}

.site-footer__logo img {
  display: block;
  width: 250px;
  height: auto;
  border-radius: var(--radius);
}

.site-footer__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 0 72px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
}

.site-footer__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.site-footer__line img {
  flex: none;
  margin-top: 8px;
}

.site-footer__line--phone {
  align-items: center;
}

.site-footer__line--phone img {
  margin-top: 0;
}

.site-footer address,
.site-footer a {
  color: var(--color-text-light);
}

.site-footer a:hover {
  color: var(--color-primary-base);
}

.site-footer__labels {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 0 0 auto;
  height: 87px;
}

.site-footer__labels img {
  width: auto;
  height: 87px;
  max-width: 217px;
  object-fit: contain;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: auto 0 0;
  font-size: var(--paragraph-sm-font-size);
  line-height: var(--paragraph-sm-line-height);
}

.site-footer__legal > * + *::before {
  content: '|';
  margin-right: 12px;
}

.site-footer__map {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.site-footer__map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 31, 25, .26);
}

.site-footer__map > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}


@media (max-width: 1199.98px) {
  .site-footer {
    flex-direction: column;
  }

  .site-footer__info {
    padding-right: var(--page-gutter);
  }

  .site-footer__row {
    flex-wrap: wrap;
    padding: 0;
  }

  .site-footer__labels {
    margin-left: 0;
  }

  .site-footer__map {
    min-height: 280px;
  }

  .site-footer__legal {
    margin-top: 24px;
  }
}

/* ==========================================================================
   Boutons flottants
   ========================================================================== */

.floating-cta {
  position: fixed;
  right: 0;
  bottom: 40px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 46px 24px 0;
  border-radius: 150px;
  background: var(--color-primary-200);
  box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
}

.floating-cta__tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.floating-cta__tab {
  padding: 10px 15px;
  text-align: left;
  white-space: nowrap;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--color-primary-base);
  box-shadow: -4px -4px 4px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  color: var(--color-text-white) !important;
  text-decoration: none;
  transition: background-color .2s ease;
}

.floating-cta__tab:hover {
  background: var(--color-primary-500);
}

@media (max-width: 767.98px) {
  .floating-cta {
    bottom: 16px;
  }

  .floating-cta__phone {
    margin-right: 16px;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   Pages internes — bandeau (page.php) + blocs réutilisables (contenu Gutenberg)
   ========================================================================== */

.page-header {
  padding: 40px var(--page-gutter) 30px;
  background: var(--color-primary-800);
  color: var(--color-text-white);
}

.page-header__breadcrumb {
  margin: 0 0 -10px;
  font-size: var(--paragraph-font-size);
  line-height: var(--paragraph-line-height);
  color: var(--color-text-light);
}

.page-header__breadcrumb a {
  color: inherit;
}

.page-header__breadcrumb a:hover {
  color: var(--color-primary-base);
}

.page-header__breadcrumb strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
}

.page-header__title {
  max-width: 1120px;
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  font-weight: var(--font-weight-black);
  color: var(--color-text-white);
}

/* Espace entre le bandeau et le contenu qui suit (archives : la grille
   d'articles n'a pas son propre padding, contrairement aux sections Gutenberg
   des pages standards). */
.page-header + .container,
.page-header + .page-body {
  padding-top: var(--section-space);
}

/* Page "lambda" (page.php) : le contenu Gutenberg brut ne colle pas aux bords.
   Les sections .page-section et les blocs pleine largeur gardent leur propre mise en page. */

.page-body--content > :not(.page-section):not(.alignfull) {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.page-body--content > :last-child:not(.page-section) {
  padding-bottom: var(--section-space);
}

/* Section pleine largeur : sur-titre + titre centrés, intro, puis blocs. */

.page-section {
  padding: var(--section-space) var(--page-gutter);
}
#primary article .page-section:first-child{
  padding-top: 0;
}
.page-section--grey {
  background: var(--color-grey-50);
}

.page-section .ve-heading {
  margin-bottom: 30px;
}

.page-section__intro {
  max-width: 984px;
  margin: 0 auto 30px;
  color: var(--color-text-base);
  text-align: center;
}

/* Bloc photo + texte (colonnes Gutenberg core/columns) */

.wp-block-columns.page-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
}

.wp-block-column.page-block__photo-col {
  flex: 0 0 516px;
  max-width: 516px;
}

.page-block__photo-col .page-block__img {
  margin: 0;
  aspect-ratio: 516 / 446;
  overflow: hidden;
}

.page-block__photo-col .page-block__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-column.page-block__text-col {
  flex: 1 1 0%;
  min-width: 0;
  padding: 0 8px;
}

.page-block__title {
  margin: 0 0 10px;
  font-family: var(--font-family-title);
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-title-light);
}

.page-block__text-col p {
  margin: 0 0 20px;
  color: var(--color-text-base);
}

.page-block__text-col ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-base);
}

.page-block__text-col ul li + li {
  margin-top: 8px;
}

@media (max-width: 991.98px) {
  .wp-block-columns.page-block {
    flex-direction: column;
  }

  .wp-block-column.page-block__photo-col {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 1199.98px) {
  .page-header {
    padding: 32px var(--page-gutter) 24px;
  }
}

/* ==========================================================================
   Page 404
   ========================================================================== */

.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 140px var(--page-gutter);
  text-align: center;
}

.error-404__code {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: 120px;
  line-height: 1;
  font-weight: var(--font-weight-black);
  color: var(--color-primary-100);
}

.error-404__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  font-weight: var(--font-weight-black);
  color: var(--color-text-title);
}

.error-404__text {
  margin: 0;
  color: var(--color-text-base);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.error-404__actions .ve-btn--white {
  box-shadow: inset 0 0 0 1px var(--color-grey-200);
}

@media (max-width: 767.98px) {
  .error-404 {
    padding: 80px var(--page-gutter);
  }

  .error-404__code {
    font-size: 80px;
  }
}
