/* =============================================================
   HYMAGE — Refonte graphique 2026
   Feuille dédiée. Tout est scopé sous .hy-redesign pour ne pas
   impacter l'ancien thème (style.css reste en place en fallback).
   Système : Cormorant Garamond (titres) + Montserrat (texte),
   accent or #B8995A.
   ============================================================= */

/* Polices du logo historique — style.css étant déqueué sur les pages
   refondues, on redéclare les @font-face ici. */
@font-face {
font-display:swap;
  font-family: 'Montserrat-Regular';
  src: url('/wp-content/themes/hymage/css/../fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
font-display:swap;
  font-family: 'BellMT';
  src: url('/wp-content/themes/hymage/css/../fonts/BellMT.woff2') format('woff2');
  font-weight: normal;
  font-style: normal; /* fichier droit ; l'italique du sous-titre est synthétisé (comme l'ancien thème) */
  font-display: swap;
}

.hy-redesign {
  --noir: #1A1A1A;
  --gris-fonce: #4A4A4A;
  --gris: #8A8A8A;
  --gris-clair: #F2F2F0;
  --gris-tres-clair: #FAFAF8;
  --blanc: #FFFFFF;
  --or: #B8995A;
  --or-clair: #D8C79B;
  --bord: #E4E4E0;
  --vert: #2D9D5F;

  font-family: 'Montserrat', sans-serif;
  color: var(--noir);
  background: var(--blanc);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hy-redesign *,
.hy-redesign *::before,
.hy-redesign *::after { margin: 0; padding: 0; box-sizing: border-box; }
.hy-redesign h1,
.hy-redesign h2,
.hy-redesign h3,
.hy-redesign h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}
.hy-redesign img { max-width: 100%; display: block; }
/* surbrillance d'une partie de titre : <em> dans le champ => italique + or */
.hy-redesign h1 em, .hy-redesign h2 em, .hy-redesign h3 em,
.hy-redesign h1 i, .hy-redesign h2 i, .hy-redesign h3 i { font-style: italic; color: var(--or); }
.hy-redesign a { color: inherit; text-decoration: none; }
.hy-redesign ul { list-style: none; }
.hy-redesign .wrap { width: 100%; margin: 0 auto; padding: 0 6vw; }
.hy-redesign section { padding: 80px 0; }

/* ===== HEADER ===== */
.hy-redesign .site-header {
  background: var(--blanc);
  border-bottom: 1px solid var(--bord);
  padding: 0;
  position: relative;
  z-index: 100;
}
/* Contenu du header aligné sur la colonne de contenu (.wrap : pleine largeur,
   gouttières 6vw). Le fond/bordure du header restent pleine largeur. */
.hy-redesign .site-header-top,
.hy-redesign .main-menu > ul {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 6vw;
  padding-right: 6vw;
}
.hy-redesign .site-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gris-clair);
}
.hy-redesign .lang-switch { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.hy-redesign .logo-wrap { text-align: center; }
/* Logo = wordmark historique : "HYMAGE" en Montserrat espacé
   + baseline en BellMT italique gris (repris de l'ancien thème). */
.hy-redesign .logo {
  font-family: 'Montserrat-Regular', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 28.8px;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  line-height: 1;
}
.hy-redesign .logo-sub {
  font-family: 'BellMT', serif;
  font-weight: normal;
  font-style: italic;
  font-size: 11.5px; /* = .4em du logo (28.8px) */
  color: #606060;
  margin-top: 3px;
}
.hy-redesign .header-contact {
  justify-self: end;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hy-redesign .header-contact .label { color: var(--gris); }
.hy-redesign .header-contact .tel { font-weight: 600; }

/* Bouton burger : masqué en desktop, affiché ≤980px (voir media query) */
.hy-redesign .hyr-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: start;
}
.hy-redesign .hyr-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--noir);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.hy-redesign .hyr-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hy-redesign .hyr-burger.is-open span:nth-child(2) { opacity: 0; }
.hy-redesign .hyr-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bouton d'expansion des sous-menus (injecté par general.js) : caché en desktop,
   affiché ≤1280px avec une large zone de tap (voir media query). */
.hy-redesign .hyr-sub-toggle { display: none; }

/* Menu principal (rendu par wp_nav_menu : <nav class="main-menu"><ul><li>) */
.hy-redesign .main-menu > ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  list-style: none;
}
.hy-redesign .main-menu li { position: relative; list-style: none; }
.hy-redesign .main-menu a {
  display: inline-block;
  font-size: 0.9em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--noir);
  padding: 4px 0;
  position: relative;
  transition: color 0.3s;
}
.hy-redesign .main-menu > ul > li > a:hover,
.hy-redesign .main-menu .current-menu-item > a,
.hy-redesign .main-menu .current-menu-ancestor > a,
.hy-redesign .main-menu .current_page_item > a { color: var(--or); }
/* soulignement doré uniquement au niveau principal (::before pour ne pas entrer
   en collision avec le chevron qui est sur ::after) */
.hy-redesign .main-menu > ul > li > a::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.hy-redesign .main-menu > ul > li > a:hover::before,
.hy-redesign .main-menu > ul > li.current-menu-item > a::before,
.hy-redesign .main-menu > ul > li.current-menu-ancestor > a::before { transform: scaleX(1); }

/* chevron à DROITE des items avec sous-menu (caractère triangle, robuste) */
.hy-redesign .main-menu .menu-item-has-children > a { white-space: nowrap; }
.hy-redesign .main-menu .menu-item-has-children > a::after {
  content: '\25BE'; /* ▾ triangle bas */
  display: inline-block;
  margin-left: 7px;
  font-size: 9px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.55;
  transition: transform 0.3s;
}
/* niveau principal : pivote à l'ouverture */
.hy-redesign .main-menu > ul > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); opacity: 0.9; }
/* dans un dropdown : triangle pointant à droite (sous-sous-menu en cascade) */
.hy-redesign .main-menu .sub-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hy-redesign .main-menu .sub-menu .menu-item-has-children > a::after {
  content: '\25B8'; /* ▸ triangle droit */
  margin-left: 10px;
}

/* ===== SOUS-MENUS (dropdown) ===== */
.hy-redesign .main-menu .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  /* annule le max-height:0 / overflow:hidden de l'ancien style.css (ul.sub-menu global) */
  max-height: none;
  overflow: visible;
  width: auto;
  background: var(--blanc);
  border: 1px solid var(--bord);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hy-redesign .main-menu li:hover > .sub-menu,
.hy-redesign .main-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* zone tampon pour ne pas perdre le survol entre item et dropdown */
.hy-redesign .main-menu .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 12px;
}
.hy-redesign .main-menu .sub-menu li { width: 100%; }
.hy-redesign .main-menu .sub-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gris-fonce);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.hy-redesign .main-menu .sub-menu a:hover,
.hy-redesign .main-menu .sub-menu .current-menu-item > a { color: var(--or); background: var(--gris-tres-clair); }

/* sous-sous-menus : en cascade latérale */
.hy-redesign .main-menu .sub-menu .sub-menu {
  top: -9px;
  left: 100%;
  transform: translateX(8px);
}
.hy-redesign .main-menu .sub-menu li:hover > .sub-menu {
  transform: translateX(0);
}

/* neutralise les figures/icônes injectées par my_wp_nav_menu_objects */
.hy-redesign .main-menu figure { display: none; }
.hy-redesign .main-menu .disable { display: none; }

/* ===== BOUTONS ===== */
.hy-redesign .btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}
.hy-redesign .btn-white { background: rgba(255,255,255,0.95); color: var(--noir); }
.hy-redesign .btn-white:hover { background: var(--or); color: var(--blanc); }
.hy-redesign .btn-gold { background: var(--or); color: var(--blanc); }
.hy-redesign .btn-gold:hover { background: var(--noir); }
.hy-redesign .btn-line { background: transparent; border: 1px solid var(--blanc); color: var(--blanc); }
.hy-redesign .btn-line:hover { background: var(--blanc); color: var(--noir); }
.hy-redesign .btn-dark { background: var(--noir); color: var(--blanc); }
.hy-redesign .btn-dark:hover { background: var(--or); }
.hy-redesign .btn-outline { background: transparent; border: 1px solid var(--noir); color: var(--noir); }
.hy-redesign .btn-outline:hover { background: var(--noir); color: var(--blanc); }

/* ===== TITRES DE SECTION ===== */
.hy-redesign .section-head { text-align: center; margin-bottom: 50px; }
.hy-redesign .section-head h2 { font-size: 38px; margin-bottom: 12px; }
.hy-redesign .section-head h2 em { font-style: italic; color: var(--or); }
.hy-redesign .section-head p { color: var(--gris); max-width: 560px; margin: 0 auto; font-size: 15px; }
.hy-redesign .kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 14px;
}

/* ===== HERO CARROUSEL (Swiper) ===== */
.hy-redesign .hero {
  position: relative;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
}
/* Hero aligné sur la colonne de contenu (.wrap : pleine largeur, gouttières 6vw)
   au lieu d'être pleine largeur. Vaut pour le hero home et le hero-mini catégorie. */
.hy-redesign .hero,
.hy-redesign .hero-mini {
  max-width: none;
  width: calc(100% - 12vw);
  margin-left: auto;
  margin-right: auto;
}
.hy-redesign .hero .swiper,
.hy-redesign .hero .hero-swiper { position: absolute; inset: 0; height: 100%; }
.hy-redesign .hero .swiper-slide { position: relative; overflow: hidden; }
.hy-redesign .slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
}
.hy-redesign .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.15) 40%, rgba(26,26,26,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hy-redesign .hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.hy-redesign .hero h1 {
  color: var(--blanc);
  font-size: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 820px;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hy-redesign .hero .h1-sub {
  color: var(--blanc);
  font-size: 16px;
  font-weight: 500;
  max-width: 540px;
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hy-redesign .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
/* pagination : positionnement robuste, indépendant des styles Swiper par défaut
   (Swiper ajoute .swiper-pagination avec width:100%/left:0 → on impose le nôtre) */
.hy-redesign .hero .hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  top: auto;
  width: 100%;
  margin: 0;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.hy-redesign .hero .hero-dots .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  margin: 0;
  border-radius: 0;
  background: rgba(255,255,255,0.45);
  opacity: 1;
  cursor: pointer;
  transition: background 0.3s;
}
.hy-redesign .hero .hero-dots .swiper-pagination-bullet-active { background: var(--blanc); }

/* ===== BLOC TEXTE SEO ===== */
.hy-redesign .seo-text { padding: 50px 0 20px; text-align: center; background: var(--blanc); }
/* espacement homogène : la section pièces ne rajoute pas de marge en haut,
   et son bas = le même écart (24px) qu'entre les 4 cartes.
   Ne s'applique qu'au bloc AVANT les produits (mode centré). */
.hy-redesign .seo-text:not(.seo-text--after) + section { padding-top: 0; padding-bottom: 24px; }
.hy-redesign .seo-text .inner { margin: 0 auto; }
.hy-redesign .seo-text h2 { font-size: 38px; margin-bottom: 22px; }
.hy-redesign .seo-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--noir); margin: 34px 0 12px; }
.hy-redesign .seo-text h3 strong { font-weight: 600; }
.hy-redesign .seo-text p { color: var(--gris-fonce); font-size: 16px; margin-bottom: 16px; }
.hy-redesign .seo-text a { color: var(--or); text-decoration: underline; text-underline-offset: 2px; }
.hy-redesign .seo-text a:hover { color: var(--noir); }
.hy-redesign .seo-text strong { color: var(--noir); font-weight: 600; }

/* Titre seul entre le hero et les produits (mode « après ») : bas resserré. */
.hy-redesign .seo-text--head { padding-bottom: 8px; }

/* Bloc description APRÈS les produits : aligné à gauche pour les longs textes. */
.hy-redesign .seo-text--after { text-align: left; padding-top: 56px; }
.hy-redesign .seo-text--after h2,
.hy-redesign .seo-text--after h3 { text-align: left; }
.hy-redesign .seo-text--after .inner { margin: 0 auto; }
.hy-redesign .seo-text--after h3:first-child,
.hy-redesign .seo-text--after p:first-child { margin-top: 0; }

/* ===== GRILLE PIÈCES (4 cases) ===== */
.hy-redesign .rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hy-redesign .rooms-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.hy-redesign .room {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--noir);
}
.hy-redesign .room img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.hy-redesign .room:hover img { transform: scale(1.05); }
.hy-redesign .room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,0.82) 0%, rgba(20,20,20,0.45) 36%, rgba(20,20,20,0) 62%); }
.hy-redesign .room-content { text-shadow: 0 1px 14px rgba(0,0,0,0.7); }
.hy-redesign .room-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 2; color: var(--blanc); }
.hy-redesign .room-content h3 {
  font-size: 32px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  font-weight: 700;
}
.hy-redesign .room-content p { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.92); margin-bottom: 14px; max-width: 380px; }
.hy-redesign .room-content span { font-weight: 600; }
.hy-redesign .room-content a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}
.hy-redesign .room-content a:hover { border-color: var(--or-clair); color: var(--or-clair); }

/* ===== À PROPOS + SHOWROOM ===== */
.hy-redesign .about-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.hy-redesign .about-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  color: var(--blanc);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hy-redesign .about-card > .about-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hy-redesign .about-card > .about-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.7); z-index: 1; }
/* contenu au-dessus, SANS toucher au fond/voile (sinon ils s'effondrent) */
.hy-redesign .about-card > *:not(.about-bg):not(.about-overlay) { position: relative; z-index: 2; }
.hy-redesign .about-card .flagFR { display: inline-block; vertical-align: middle; margin-left: 8px; position: relative; top: -0.12em; width: 24px; height: 17px; background-image: url('/wp-content/themes/hymage/css/../img/flag-fr.png'); background-size: contain; background-repeat: no-repeat; background-position: center center; }
.hy-redesign .about-card h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 0.03em; }
.hy-redesign .about-card p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.hy-redesign .about-card a {
  font-size: 12px;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: 6px;
}
.hy-redesign .about-card a:hover { color: var(--or-clair); border-color: var(--or-clair); }
.hy-redesign .showroom-card {
  background: var(--gris-clair);
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hy-redesign .showroom-card::before {
  content: '';
  position: absolute;
  right: -50px; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  border: 1px solid var(--bord);
  border-radius: 50%;
  opacity: 0.5;
}
.hy-redesign .showroom-card h2 { font-size: 24px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; position: relative; }
.hy-redesign .showroom-card .city { font-size: 14px; color: var(--or); letter-spacing: 0.08em; margin-bottom: 24px; position: relative; }
.hy-redesign .showroom-card p { font-size: 13px; color: var(--gris-fonce); margin-bottom: 8px; position: relative; }
.hy-redesign .showroom-card p strong { color: var(--noir); }
.hy-redesign .showroom-card a { margin-top: 18px; align-self: flex-start; position: relative; }

/* ===== SIMULATEUR ===== */
.hy-redesign .simulator { background: var(--noir); color: var(--blanc); text-align: center; }
.hy-redesign .simulator .kicker { color: var(--or-clair); }
.hy-redesign .simulator h2 { font-size: 40px; margin-bottom: 16px; color: var(--blanc); }
.hy-redesign .simulator h2 em { color: var(--or-clair); font-style: italic; }
.hy-redesign .simulator p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 20px; font-size: 16px; }
.hy-redesign .sim-steps { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 34px 0 36px; }
.hy-redesign .sim-step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); padding: 16px 22px; min-width: 140px; }
.hy-redesign .sim-step .n { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--or-clair); }
.hy-redesign .sim-step .t { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ===== BLOG TEASER ===== */
.hy-redesign .blog-section { padding: 80px 0; background: var(--gris-tres-clair); }
.hy-redesign .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.hy-redesign .blog-card { background: var(--blanc); border: 1px solid var(--bord); overflow: hidden; transition: all 0.3s; }
.hy-redesign .blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.hy-redesign .blog-card-img { aspect-ratio: 1/1; background: var(--gris-clair); background-size: cover; background-position: center; }
.hy-redesign .blog-card-body { padding: 22px; }
.hy-redesign .blog-card .cat { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.hy-redesign .blog-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.3; }
.hy-redesign .blog-card .date { font-size: 11px; color: var(--gris); margin-bottom: 12px; }
.hy-redesign .blog-card .read-more { display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--or); }
.hy-redesign .blog-card:hover .read-more { color: var(--noir); }

/* =============================================================
   PAGE CATÉGORIE (catalogue)
   ============================================================= */
.hy-redesign .hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 45%; z-index: 0; }
.hy-redesign .hero-mini { height: 50vh; min-height: 380px; }
.hy-redesign .hero-mini h1 { font-size: 42px; }

.hy-redesign .breadcrumb {
  padding: 14px 0;
  background: var(--gris-tres-clair);
  border-bottom: 1px solid var(--bord);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gris);
}
.hy-redesign .breadcrumb a { color: var(--gris-fonce); }
.hy-redesign .breadcrumb a:hover { color: var(--or); }
.hy-redesign .breadcrumb .sep { margin: 0 10px; color: var(--bord); }
.hy-redesign .breadcrumb .current,
.hy-redesign .breadcrumb .breadcrumb_last { color: var(--or); }

.hy-redesign .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hy-redesign .product-item { cursor: pointer; display: flex; flex-direction: column; height: 100%; }
.hy-redesign .product-item-img { aspect-ratio: 1/1; overflow: hidden; margin-bottom: 14px; background: var(--gris-clair); flex-shrink: 0; }
.hy-redesign .product-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.hy-redesign .product-item:hover .product-item-img img { transform: scale(1.05); }
.hy-redesign .product-item h3 { font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.hy-redesign .product-item .desc { font-size: 13px; color: var(--gris-fonce); margin-bottom: 8px; }
.hy-redesign .product-item .more { font-size: 11px; letter-spacing: 0.1em; color: var(--or); text-transform: uppercase; font-weight: 600; margin-top: auto; padding-top: 12px; align-self: flex-start; }

.hy-redesign .woocommerce-pagination { margin-top: 50px; text-align: center; }
.hy-redesign .woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; }
.hy-redesign .woocommerce-pagination .page-numbers { display: inline-block; min-width: 36px; padding: 8px 10px; border: 1px solid var(--bord); font-size: 12px; color: var(--gris-fonce); }
.hy-redesign .woocommerce-pagination .page-numbers.current,
.hy-redesign .woocommerce-pagination a.page-numbers:hover { background: var(--or); border-color: var(--or); color: var(--blanc); }

.hy-redesign .faq-list { max-width: 820px; margin: 0 auto; }
.hy-redesign .faq-item { border-bottom: 1px solid var(--bord); }
.hy-redesign .faq-q { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 22px; }
.hy-redesign .faq-q .plus { font-family: 'Montserrat', sans-serif; font-size: 20px; color: var(--or); font-weight: 300; transition: transform 0.3s; }
.hy-redesign .faq-item.open .faq-q .plus { transform: rotate(45deg); }
.hy-redesign .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--gris-fonce); font-size: 15px; }
.hy-redesign .faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }

/* =============================================================
   FICHE PRODUIT (catalogue)
   ============================================================= */
.hy-redesign .product-detail { padding: 50px 0 80px; }
.hy-redesign .product-detail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.hy-redesign .product-gallery { position: relative; }
.hy-redesign .product-main-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--gris-clair); margin-bottom: 14px; }
.hy-redesign .product-main-img img { width: 100%; height: 100%; object-fit: cover; }
/* Flèches de navigation de la galerie */
.hy-redesign .product-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; padding: 0; border: none; cursor: pointer; background: rgba(26,26,26,0.55); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.hy-redesign .product-nav:hover { background: var(--or); }
.hy-redesign .product-nav-prev { left: 14px; }
.hy-redesign .product-nav-next { right: 14px; }
.hy-redesign .product-nav::before { content: ''; width: 11px; height: 11px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.hy-redesign .product-nav-prev::before { transform: rotate(45deg); margin-left: 4px; }
.hy-redesign .product-nav-next::before { transform: rotate(-135deg); margin-right: 4px; }
.hy-redesign .product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hy-redesign .product-thumb { aspect-ratio: 1; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s; }
.hy-redesign .product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hy-redesign .product-thumb.active { border-color: var(--or); }
.hy-redesign .product-info h1 { font-size: 36px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.hy-redesign .product-info .subtitle { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--or); margin-bottom: 24px; }
.hy-redesign .product-info .description { color: var(--gris-fonce); font-size: 15px; margin-bottom: 24px; }
.hy-redesign .product-info .description p { margin-bottom: 14px; }
.hy-redesign .product-features { background: var(--gris-tres-clair); padding: 22px; margin-bottom: 24px; border-left: 3px solid var(--or); }
.hy-redesign .product-features h4 { font-size: 16px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.hy-redesign .product-features li { padding: 6px 0; font-size: 13px; color: var(--gris-fonce); display: flex; align-items: center; gap: 10px; }
.hy-redesign .product-features li::before { content: '\2713'; color: var(--or); font-weight: 600; }
.hy-redesign .product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hy-redesign .product-actions .btn { flex: 1 1 180px; text-align: center; }
@media (max-width: 1280px) {
  .hy-redesign .product-actions .btn { flex-basis: 100%; }
}
.hy-redesign .product-meta { border-top: 1px solid var(--bord); padding-top: 20px; font-size: 13px; }
.hy-redesign .product-meta > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gris-clair); }
.hy-redesign .product-meta > div span:first-child { color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.hy-redesign .product-meta > div span:last-child { font-weight: 500; }
.hy-redesign .product-meta a { color: var(--or); }
.hy-redesign .related { padding: 70px 0; background: var(--gris-tres-clair); }

/* ===== FOOTER ===== */
.hy-redesign .site-footer { background: var(--blanc); padding: 50px 0 24px; border-top: 1px solid var(--bord); }
.hy-redesign .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.hy-redesign .foot-brand { display: inline-block; text-align: center; margin-bottom: 16px; }
.hy-redesign .foot-logo { font-family: 'Montserrat-Regular', sans-serif; font-weight: normal; font-style: normal; font-size: 24px; letter-spacing: 0.2em; line-height: 1; padding-left: 0.2em; }
.hy-redesign .foot-logo-sub { font-family: 'BellMT', serif; font-weight: normal; font-style: italic; font-size: 9.6px; color: #606060; margin-top: 3px; } /* = .4em du foot-logo (24px) */
.hy-redesign .foot-grid p { font-size: 12px; color: var(--gris-fonce); line-height: 1.7; }
.hy-redesign .foot-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: 16px;
  font-weight: 600;
}
.hy-redesign .foot-col li { margin-bottom: 9px; }
.hy-redesign .foot-col a { font-size: 12px; color: var(--gris-fonce); }
.hy-redesign .foot-col a:hover { color: var(--or); }
.hy-redesign .foot-bottom { border-top: 1px solid var(--bord); padding-top: 22px; display: flex; justify-content: space-between; font-size: 11px; color: var(--gris); }
.hy-redesign .foot-legal a { color: var(--gris); }
.hy-redesign .foot-legal a:hover { color: var(--or); }
.hy-redesign .foot-legal .sep { color: var(--gris); }

/* ===== RESPONSIVE ===== */
/* Header + menu burger : bascule dès 1280px (le reste du layout à 980px) */
@media (max-width: 1280px) {
  /* Header VITRINE : FR/EN (gauche) | logo (centre) | burger (droite).
     minmax(0,1fr) = colonnes latérales STRICTEMENT égales (sinon FR/EN, plus
     large que le burger, élargit sa colonne et pousse le logo à droite). */
  .hy-redesign .site-header-top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; }
  .hy-redesign .logo-sub { font-size: 10.9px; } /* = .38em du logo */
  /* grid-row: 1 sur les 3 — sinon le burger (1er dans le DOM mais en col 3)
     force le placement auto du FR/EN sur une 2e ligne. */
  .hy-redesign .hyr-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .hy-redesign .lang-switch { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  .hy-redesign .logo-wrap { grid-column: 2; grid-row: 1; }
  /* vitrine : le bloc contact ne contient que « Besoin de conseil ? » + tél → masqué */
  .hy-redesign .header-contact { display: none; }

  /* Header BOUTIQUE : burger (gauche) | logo (centre) | panier (droite),
     pas de FR/EN (comportement d'origine conservé). */
  .hy-redesign .site-header-top.is-shop { grid-template-columns: auto 1fr auto; }
  .hy-redesign .site-header-top.is-shop .lang-switch { display: none; }
  .hy-redesign .site-header-top.is-shop .hyr-burger { grid-column: 1; justify-self: start; }
  .hy-redesign .site-header-top.is-shop .logo-wrap { grid-column: 2; }
  .hy-redesign .site-header-top.is-shop .header-contact { display: block; grid-column: 3; justify-self: end; }

  /* Menu replié par défaut, déplié au clic burger (.is-open via general.js) */
  .hy-redesign .main-menu { display: none; border-top: 1px solid var(--gris-clair); }
  .hy-redesign .main-menu.is-open { display: block; }
  .hy-redesign .main-menu > ul {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding-top: 6px;
    padding-bottom: 12px;
  }
  .hy-redesign .main-menu > ul > li { border-bottom: 1px solid var(--gris-clair); }
  .hy-redesign .main-menu > ul > li:last-child { border-bottom: none; }
  .hy-redesign .main-menu a { padding-top: 12px; padding-bottom: 12px; }
  /* Parent : le lien (texte) reste cliquable à gauche, une large zone flèche à
     droite déplie/replie le sous-menu. Le sous-menu passe en dessous (flex-wrap). */
  .hy-redesign .main-menu > ul > li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .hy-redesign .main-menu > ul > li.menu-item-has-children > a { flex: 1 1 auto; }
  .hy-redesign .hyr-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .hy-redesign .hyr-sub-toggle::before {
    content: '\25BE'; /* ▾ */
    font-size: 18px;
    color: var(--gris-fonce);
    transition: transform 0.3s;
  }
  .hy-redesign .main-menu > ul > li.menu-item-has-children.hyr-sub-open > .hyr-sub-toggle::before { transform: rotate(180deg); }
  /* on masque le chevron ::after du parent (remplacé par le bouton) */
  .hy-redesign .main-menu > ul > li.menu-item-has-children > a::after { content: none; }

  /* Sous-menus en accordéon : repliés par défaut, dépliés via .hyr-sub-open */
  .hy-redesign .main-menu .sub-menu {
    position: static;
    transform: none;
    transition: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 2px 0 6px;
    background: transparent;
    display: none;          /* fermé par défaut */
    flex-basis: 100%;       /* passe sous la ligne lien+flèche */
  }
  .hy-redesign .main-menu > ul > li.menu-item-has-children.hyr-sub-open > .sub-menu { display: block; }
  /* Annule le glissement au toucher (transform :hover/:focus hérité du desktop) */
  .hy-redesign .main-menu li:hover > .sub-menu,
  .hy-redesign .main-menu li:focus-within > .sub-menu { transform: none; }
  /* Espacement vertical cohérent + léger retrait des items de sous-menu */
  .hy-redesign .main-menu .sub-menu a { padding: 10px 0 10px 16px; }
  /* Niveaux imbriqués (sous-sous-menus) : jamais ouverts sur mobile */
  .hy-redesign .main-menu .sub-menu .sub-menu { display: none; }
  .hy-redesign .main-menu .sub-menu .menu-item-has-children > a::after { content: none; }
  .hy-redesign .main-menu .menu-item-has-children::after { content: none; }
  .hy-redesign .main-menu .menu-item-has-children > a::before { display: none; }
}

@media (max-width: 980px) {
  .hy-redesign .hero { height: 60vh; min-height: 400px; }
  .hy-redesign .hero h1 { font-size: 30px; }
  .hy-redesign .section-head h2,
  .hy-redesign .seo-text h2,
  .hy-redesign .simulator h2 { font-size: 28px; }
  .hy-redesign .rooms-grid,
  .hy-redesign .about-row,
  .hy-redesign .blog-grid,
  .hy-redesign .products-grid { grid-template-columns: 1fr; }
  .hy-redesign .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .hy-redesign .product-info h1 { font-size: 28px; }
  .hy-redesign .hero-mini h1 { font-size: 28px; }
  .hy-redesign .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hy-redesign .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hy-redesign section, .hy-redesign .blog-section { padding: 50px 0; }
}

/* =============================================================
   COMPAT — pages pas encore refondues (ancien style.css toujours chargé)
   Le nouveau header n'est plus en position:fixed : on annule l'offset
   qui était prévu pour compenser l'ancien header fixe.
   (Règle volontairement NON scopée : ne matche pas la home qui utilise
   main.hy-redesign, uniquement les anciennes pages en main.container.)
   ============================================================= */
main.container { margin-top: 0; }

/* =============================================================
   MODAL « Demander un devis » (fiche produit)
   Chrome uniquement : le formulaire CF7 hérite des styles .wpcf7
   du style.css legacy (chargé globalement).
   ============================================================= */
.hy-redesign .hyr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.hy-redesign .hyr-modal.is-open { display: flex; }
.hy-redesign .hyr-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.hy-redesign .hyr-modal__dialog {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 100%;
  max-width: 640px;
  background: var(--blanc);
  padding: 52px 44px 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.hy-redesign .hyr-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--noir);
  cursor: pointer;
  transition: color 0.2s ease;
}
.hy-redesign .hyr-modal__close:hover { color: var(--or); }
.hy-redesign .hyr-modal__title {
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
/* --- Formulaire CF7 dans le modal ------------------------------------
   Le style.css legacy (règles .wpcf7) est dequeué sur les pages refondues,
   on reproduit donc ici le rendu du formulaire de contact, scopé au modal. */
.hy-redesign .hyr-modal__body .wpcf7 { text-align: left; }
.hy-redesign .hyr-modal__body .wpcf7 > form > p { margin: 0; }

/* Toggle Particulier / Professionnel côte à côte + case à cocher */
.hy-redesign .hyr-modal__body .mid-col {
  display: inline-block;
  width: 48%;
  vertical-align: middle;
}
.hy-redesign .hyr-modal__body .form_type_contact {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}
.hy-redesign .hyr-modal__body .form_type_contact::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gris-fonce);
  background-color: var(--blanc);
  margin-right: 14px;
}
.hy-redesign .hyr-modal__body .form_type_contact.is-checked::before {
  background-image: url('/wp-content/themes/hymage/css/../img/cross.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Libellés + champs */
.hy-redesign .hyr-modal__body label {
  display: block;
  font-size: 15px;
  margin-bottom: 18px;
}
.hy-redesign .hyr-modal__body .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.hy-redesign .hyr-modal__body input[type="text"],
.hy-redesign .hyr-modal__body input[type="email"],
.hy-redesign .hyr-modal__body input[type="tel"],
.hy-redesign .hyr-modal__body input[type="number"],
.hy-redesign .hyr-modal__body textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font: inherit;
  font-size: 16px;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
}
.hy-redesign .hyr-modal__body textarea { min-height: 160px; resize: vertical; }
.hy-redesign .hyr-modal__body input[readonly] {
  background: var(--gris-tres-clair);
  color: var(--gris-fonce);
  cursor: not-allowed;
}

/* Champ fichier : bouton pleine largeur, input natif masqué */
.hy-redesign .hyr-modal__body span.custom_file {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  font-size: 16px;
  text-align: center;
  border: 1px solid var(--noir);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hy-redesign .hyr-modal__body span.custom_file:hover { background: var(--noir); color: var(--blanc); }
.hy-redesign .hyr-modal__body .wpcf7-file { display: none; }

/* Bouton Envoyer : pleine largeur */
.hy-redesign .hyr-modal__body input[type="submit"] {
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  border: 0;
  background: var(--noir);
  color: var(--blanc);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hy-redesign .hyr-modal__body input[type="submit"]:hover { background: var(--or); }

/* Messages CF7 (validation / envoi) */
.hy-redesign .hyr-modal__body .wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 5px; }
.hy-redesign .hyr-modal__body .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px;
  font-size: 14px;
  text-align: center;
}
.hy-redesign .hyr-modal__body .wpcf7-spinner { margin: 0 0 0 8px; }

/* verrou de scroll du fond quand le modal est ouvert (non scopé : cible <html>) */
html.hyr-modal-lock,
html.hyr-modal-lock body { overflow: hidden; }

@media (max-width: 600px) {
  .hy-redesign .hero { height: 48vh; min-height: 260px; }
  .hy-redesign .hyr-modal { padding: 0; }
  .hy-redesign .hyr-modal__dialog { max-width: none; min-height: 100%; padding: 56px 22px 32px; }
  /* Header très petit écran : on resserre un peu, FR/EN sur une ligne (nowrap),
     colonnes latérales égales (minmax) → le logo reste centré et lisible. */
  .hy-redesign .site-header-top { gap: 8px; padding-top: 16px; padding-bottom: 16px; }
  .hy-redesign .lang-switch { white-space: nowrap; font-size: 10px; letter-spacing: 0.05em; }
  .hy-redesign .logo { font-size: 25px; letter-spacing: 0.16em; padding-left: 0.16em; }
  .hy-redesign .logo-sub { font-size: 10px; }
  .hy-redesign .hyr-burger { width: 26px; height: 26px; }
  .hy-redesign .hyr-burger span { width: 22px; }
}

/* ------------------------------------------------------------------ *
 * Popups catalogue + recherche (déclencheur .catalogue / .search via
 * general.js). Le markup (#popup_catalogue / .popup_search_wrapper)
 * est dans footer.php, HORS de .hy-redesign — ces sélecteurs ne sont
 * donc PAS scopés sous .hy-redesign (les polices Cormorant/Montserrat
 * sont chargées globalement, donc dispo hors wrapper). Design refonte
 * luxe/éditorial : overlay sombre, champs en soulignement, or #B8995A.
 * Remplace les règles historiques de style.css (déqueué en refonte) ;
 * plus spécifiques que celles-ci, elles priment sur les pages non
 * refondues où style.css est encore chargé.
 * ------------------------------------------------------------------ */
.form_catalogue_wrapper,
.popup_search_wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(26, 26, 26, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.form_catalogue {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92vw;
  max-width: 540px;
  padding: 54px 48px 48px;
  background-color: #FFF;
  border: none;
  border-top: 3px solid #B8995A;
  box-shadow: 0 30px 80px rgba(26, 26, 26, .35);
  z-index: 10001;
  box-sizing: border-box;
}

.form_catalogue p.title {
  margin: 0 0 30px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 34px;
  line-height: 1.15;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
}
.form_catalogue p.title:after {
  content: '';
  display: block;
  width: 46px;
  height: 1px;
  background: #B8995A;
  margin: 16px auto 0;
}

.form_catalogue .u-visuallyhidden,
.popup_search_wrapper .u-visuallyhidden { display: none; }

.form_catalogue label {
  display: block;
  color: #8A8A8A;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form_catalogue form p { margin: 18px 0; }
.form_catalogue .wpcf7 { width: 100%; }

.form_catalogue .close-popup {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1;
  color: #8A8A8A;
  cursor: pointer;
  transition: color .25s ease;
}
.form_catalogue .close-popup:hover { color: #B8995A; }

/* Champs — style soulignement (scopés aux popups pour ne pas déborder) */
.form_catalogue input:not(.wpcf7-form-control),
.form_catalogue input[type="text"],
.form_catalogue input[type="email"],
.form_catalogue input[type="tel"],
.form_catalogue input[type="number"],
.form_catalogue textarea,
.form_catalogue select,
.popup_search_wrapper input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  background: transparent;
  border: none;
  border-bottom: 1px solid #E4E4E0;
  border-radius: 0;
  padding: 9px 2px;
  transition: border-color .25s ease;
  -webkit-appearance: none;
          appearance: none;
}
.form_catalogue input:focus,
.form_catalogue textarea:focus,
.form_catalogue select:focus,
.popup_search_wrapper input[type="search"]:focus {
  outline: none;
  border-bottom-color: #B8995A;
}
.form_catalogue ::-webkit-input-placeholder { color: #B4B4B0; }
.form_catalogue ::placeholder { color: #B4B4B0; }

.form_catalogue input[type="submit"],
.popup_search_wrapper input[type="submit"] {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #1A1A1A;
  background-color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #FFF;
  cursor: pointer;
  text-transform: uppercase;
  padding: 15px;
  transition: all .3s ease;
}
.form_catalogue input[type="submit"]:hover,
.popup_search_wrapper input[type="submit"]:hover {
  background-color: #B8995A;
  border-color: #B8995A;
}

.form_catalogue .wpcf7-form-control-wrap { margin: 5px 0 0; display: block; }
.form_catalogue .wpcf7 p { position: relative; }
.form_catalogue .wpcf7 p:last-child { margin-bottom: 0; }
.form_catalogue .wpcf7-spinner { position: absolute; right: 5px; top: 12px; margin: 0; }
.form_catalogue .wpcf7 .wpcf7-list-item input[type="checkbox"] { width: inherit; margin: 0 10px 0 0; }
.form_catalogue .wpcf7 form.sent > p { display: none; }
.form_catalogue .wpcf7 form.sent .wpcf7-response-output {
  border: none;
  padding: 2em 0 0;
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: #1A1A1A;
}
.form_catalogue .wpcf7-not-valid-tip { color: #c0392b; font-size: 12px; margin-top: 4px; }

/* Case à cocher personnalisée (toggle .is-checked via general.js) */
.m-modal__checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #4A4A4A;
}
.m-modal__checkbox:before {
  content: '';
  flex-shrink: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #C7C7C2;
  background-color: #FFF;
  margin-right: 14px;
  transition: all .2s ease;
}
.m-modal__checkbox.is-checked:before {
  background-color: #B8995A;
  border-color: #B8995A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
}

/* Popup recherche */
.popup_search_wrapper .search { padding: 0 3vw; }
.popup_search_wrapper .search .content_search { display: flex; gap: 15px; }
.popup_search_wrapper .search .content_search input[type="search"] { width: 80%; }
.popup_search_wrapper .search .content_search input[type="submit"] { width: 20%; }

@media (max-width: 600px) {
  .form_catalogue { padding: 46px 26px 34px; }
  .form_catalogue p.title { font-size: 28px; }
}
