/*
 Theme Name:   Rénov'Habitat
 Theme URI:    https://www.renovhabitat.fr
 Description:  Child theme pour Hello Elementor — Site vitrine Rénov'Habitat (nettoyage, rénovation, peinture en Île-de-France). Design premium avec animations, slider avant/après, menu mobile, particules.
 Author:       Rénov'Habitat
 Author URI:   https://www.renovhabitat.fr
 Template:     hello-elementor
 Version:      2.0.0
 Text Domain:  renovhabitat-child
 License:      GPL v2 or later
*/

/* ══════════════════════════════════════════════════
   1. VARIABLES GLOBALES
   Configurer aussi dans Elementor > Site Settings > Global Colors
   ══════════════════════════════════════════════════ */
:root {
  --wine: #7A1B1B;
  --wine-dark: #5C1010;
  --wine-light: #9B2C2C;
  --cream: #FBF7F4;
  --warm: #F3EDE8;
  --sand: #E8DFD6;
  --dark: #1A1A1A;
  --text: #2D2A26;
  --muted: #6B6560;
  --white: #FFFFFF;
  --gold: #C9A96E;
  --r: 20px;
  --r-lg: 32px;
}

/* ══════════════════════════════════════════════════
   2. RESET & TYPOGRAPHIE + ELEMENTOR FULL-WIDTH FIX
   ══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0 !important; padding: 0 !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; font-weight: 700; }

/* Force toutes les sections custom en pleine largeur dans Elementor */
.rh-hero,
.rh-sec-cream,
#apropos,
.rh-proc-section,
#avant-apres,
.rh-cta-section,
#zones,
#realisations {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* ══════════════════════════════════════════════════
   3. NAV — transparent → white on scroll
   ══════════════════════════════════════════════════ */
.rh-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--wine);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 90px;
  transition: all .4s;
}
.rh-nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  height: 68px;
}
.rh-logo {
  display: flex; align-items: center; gap: .7rem;
}
.rh-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  transition: color .4s;
}
.rh-logo-text span {
  color: rgba(255,255,255,.7);
  font-weight: 600;
  transition: color .4s;
}
.rh-nav.scrolled .rh-logo-text { color: var(--wine); }
.rh-nav.scrolled .rh-logo-text span { color: var(--dark); }
.rh-logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  transition: filter .4s, mix-blend-mode .4s;
}
.rh-nav.scrolled .rh-logo-img {
  filter: none;
  mix-blend-mode: multiply;
}

.rh-nav-links { list-style: none; display: flex; gap: 2rem; }
.rh-nav-links a { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.85); transition: color .3s; }
.rh-nav.scrolled .rh-nav-links a { color: var(--muted); }
.rh-nav-links a:hover { color: #fff; }
.rh-nav.scrolled .rh-nav-links a:hover { color: var(--wine); }

.rh-nav-cta {
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: 10px;
  font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; gap: .4rem;
  transition: all .4s;
}
.rh-nav.scrolled .rh-nav-cta { background: var(--wine); border-color: var(--wine); color: #fff; }
.rh-nav-cta:hover { background: rgba(255,255,255,.35); }
.rh-nav.scrolled .rh-nav-cta:hover { background: var(--wine-dark); }

.rh-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.rh-hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.rh-nav.scrolled .rh-hamburger span { background: var(--dark); }
.rh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rh-hamburger.active span:nth-child(2) { opacity: 0; }
.rh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.rh-mobile-menu {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px; z-index: 600;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.rh-mobile-menu.open { transform: translateX(0); }
.rh-mobile-menu a {
  display: block;
  padding: .9rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--sand);
  transition: color .2s;
}
.rh-mobile-menu a:hover { color: var(--wine); }
.rh-mobile-menu .rh-mm-phone {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.5rem;
  padding: .85rem 1.2rem;
  background: var(--wine);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  border-bottom: none;
  justify-content: center;
}
.rh-mobile-menu .rh-mm-phone:hover { color: #fff; background: var(--wine-dark); }
.rh-mobile-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 550;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .3s;
}
.rh-mobile-overlay.open { opacity: 1; }

@media(max-width:900px) {
  .rh-nav-links { display: none; }
  .rh-hamburger { display: block; }
  .rh-nav-cta { display: none; }
  .rh-mobile-menu { display: block; }
  .rh-mobile-overlay { display: block; pointer-events: none; }
  .rh-mobile-overlay.open { pointer-events: auto; }
  .rh-nav { padding: 0 4%; height: 60px; }
  .rh-logo-img { height: 45px; }
  .rh-logo-text { font-size: 1rem; }
  .rh-logo-text span { font-size: .9rem; }
}

/* ══════════════════════════════════════════════════
   4. HERO — Full screen with form card
   ══════════════════════════════════════════════════ */
.rh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rh-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.rh-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.45);
  transition: transform 8s ease-out;
}
.rh-hero:hover .rh-hero-bg img { transform: scale(1.04); }

/* Particles */
.rh-particles {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.rh-particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  animation: rhFloatUp linear infinite;
}
@keyframes rhFloatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.rh-hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 140px 5% 80px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}
.rh-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.9);
  font-size: .78rem; font-weight: 600;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.rh-hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: rhPulse 2s infinite; }
@keyframes rhPulse { 0%,100%{opacity:1}50%{opacity:.3} }

.rh-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.3rem;
}
.rh-hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.rh-hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 10px;
  background: var(--gold);
  opacity: .45;
  border-radius: 4px;
  z-index: -1;
}
.rh-hero-text {
  color: rgba(255,255,255,.8);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.rh-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Scroll indicator */
.rh-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rh-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: rhScrollPulse 2s ease-in-out infinite;
}
@keyframes rhScrollPulse { 0%,100%{opacity:.5;height:50px}50%{opacity:1;height:65px} }

@media(max-width:900px) {
  .rh-hero {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    background: url('https://renovhabitat-jbw0ifvell.live-website.com/wp-content/uploads/2026/04/Gemini_Generated_Image_b22bkzb22bkzb22b-scaled.png') center/cover no-repeat !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }
  .rh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1;
  }
  .rh-hero-bg { display: none !important; }
  .rh-particles { display: none !important; }
  .rh-hero-inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 80px 6% 30px !important;
    gap: 1.2rem !important;
    grid-template-columns: 1fr !important;
  }
  .rh-hero-badge {
    font-size: .68rem;
    margin-bottom: .6rem;
    padding: .4rem .9rem;
  }
  .rh-hero h1 {
    font-size: 1.55rem !important;
    margin-bottom: .5rem;
    line-height: 1.18;
  }
  .rh-hero h1 em::after { height: 6px; bottom: 2px; }
  .rh-hero-text {
    font-size: .82rem;
    margin-bottom: .8rem;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
  }
  .rh-scroll-hint { display: none !important; }

  /* Cacher le formulaire hero sur mobile */
  .rh-hero-card { display: none !important; }

  /* Afficher un seul bouton bordeaux vers le devis complet */
  .rh-hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: .6rem;
    margin-bottom: 0;
  }
  .rh-hero-btns .rh-btn-light {
    background: var(--wine) !important;
    color: #fff !important;
    text-align: center;
    justify-content: center;
    padding: .9rem 1.2rem;
    font-size: .9rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(122,27,27,.4);
    font-weight: 700;
  }
  .rh-hero-btns .rh-btn-light:hover {
    background: var(--wine-dark) !important;
  }
  .rh-hero-btns .rh-btn-ghost {
    background: rgba(255,255,255,.1) !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    color: #fff !important;
    text-align: center;
    justify-content: center;
    padding: .75rem 1rem;
    font-size: .82rem;
    border-radius: 12px;
  }
}

/* ══════════════════════════════════════════════════
   5. BUTTONS
   ══════════════════════════════════════════════════ */
.rh-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .95rem 2.2rem;
  border-radius: 14px;
  font-weight: 600; font-size: .92rem;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  border: none;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.rh-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.rh-btn:hover::after { transform: translateX(100%); }
.rh-btn-light {
  background: #fff;
  color: var(--wine-dark);
  box-shadow: 0 4px 25px rgba(0,0,0,.2);
}
.rh-btn-light:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.rh-btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.rh-btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.rh-btn-wine { background: var(--wine); color: #fff; }
.rh-btn-wine:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(122,27,27,.4); }

@media(max-width:900px) {
  .rh-btn { padding: .75rem 1.4rem; font-size: .85rem; }
}

/* ══════════════════════════════════════════════════
   6. HERO FORM CARD
   ══════════════════════════════════════════════════ */
.rh-hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
}
.rh-hero-card h3 { font-family: 'Inter'; font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.rh-hero-card .rh-sub { font-size: .82rem; color: var(--muted); margin-bottom: 1.3rem; }
.rh-hf { margin-bottom: .85rem; }
.rh-hf label { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .07em; }
.rh-hf input, .rh-hf select, .rh-hf textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 12px;
  font-size: .9rem; font-family: inherit;
  color: var(--text);
  background: var(--cream);
  outline: none; transition: all .25s;
}
.rh-hf textarea { resize: vertical; min-height: 60px; }
.rh-hf input:focus, .rh-hf select:focus, .rh-hf textarea:focus { border-color: var(--wine); background: #fff; box-shadow: 0 0 0 4px rgba(122,27,27,.08); }
.rh-hero-card .rh-btn { width: 100%; justify-content: center; margin-top: .3rem; }
.rh-hero-card .rh-legal { font-size: .7rem; color: var(--muted); text-align: center; margin-top: .7rem; }

@media(max-width:900px) {
  .rh-hero-card { max-width: 100%; padding: 1.5rem; border-radius: 20px; }
  .rh-hero-card h3 { font-size: .95rem; }
  .rh-hero-card .rh-sub { font-size: .78rem; margin-bottom: 1rem; }
  .rh-hf { margin-bottom: .65rem; }
  .rh-hf input, .rh-hf select, .rh-hf textarea { padding: .65rem .85rem; font-size: .85rem; }
  .rh-hf textarea { min-height: 50px; }
}

/* ══════════════════════════════════════════════════
   7. SECTIONS GLOBAL
   ══════════════════════════════════════════════════ */
.rh-sec { padding: 110px 5%; max-width: 1300px; margin: 0 auto; }
.rh-sec-cream { background: var(--cream); }
.rh-sec-warm { background: var(--warm); }
.rh-sec-head { margin-bottom: 3.5rem; }
.rh-sec-head.center { text-align: center; }
.rh-sec-head.center .rh-sec-sub { margin-left: auto; margin-right: auto; }

.rh-pill {
  display: inline-block;
  background: rgba(122,27,27,.07);
  color: var(--wine);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.rh-pill-light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 700; line-height: 1.15; margin-bottom: .8rem; }
h2 .rh-hi { color: var(--wine); }
.rh-sec-sub { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 530px; }

@media(max-width:900px) {
  .rh-sec { padding: 60px 4%; }
  .rh-sec-head { margin-bottom: 2rem; }
}

/* ══════════════════════════════════════════════════
   8. SERVICES — Image cards grid
   ══════════════════════════════════════════════════ */
.rh-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.rh-svc {
  position: relative !important;
  border-radius: var(--r-lg);
  overflow: hidden !important;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--sand);
  transition: transform .4s;
}
.rh-svc img {
  display: block !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  z-index: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important; padding: 0 !important;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .4s;
}
.rh-svc:hover img { transform: scale(1.1); filter: brightness(.55); }
.rh-svc-overlay {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  display: flex !important; flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.rh-svc h3 { color: #fff; font-family: 'Playfair Display'; font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }
.rh-svc p { color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height .5s, opacity .4s; opacity: 0; }
.rh-svc:hover p { max-height: 100px; opacity: 1; }
.rh-svc-arrow {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transform: rotate(-45deg) scale(.8);
  opacity: 0;
  transition: all .35s;
}
.rh-svc:hover .rh-svc-arrow { opacity: 1; transform: rotate(0deg) scale(1); }

@media(max-width:768px) {
  .rh-svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }
  .rh-svc { aspect-ratio: 3/4; min-width: 0; }
  .rh-svc-overlay { padding: 1rem; }
  .rh-svc h3 { font-size: .85rem; }
  .rh-svc p { display: none; }
  .rh-svc-arrow { display: none; }
}

/* ══════════════════════════════════════════════════
   9. ABOUT
   ══════════════════════════════════════════════════ */
.rh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.rh-about-img-wrap { position: relative; }
.rh-about-img-wrap img {
  width: 100%; height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}
.rh-about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--wine);
  color: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 12px 30px rgba(122,27,27,.4);
  text-align: center;
}
.rh-about-badge .rh-ab-num { font-family: 'Playfair Display'; font-size: 2rem; font-weight: 800; display: block; }
.rh-about-badge .rh-ab-lbl { font-size: .72rem; opacity: .8; }
.rh-about-text h2 { margin-bottom: .8rem; }
.rh-about-text > p { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }

.rh-feat-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.rh-feat-list li {
  display: flex; align-items: center; gap: .8rem;
  font-size: .92rem; line-height: 1.6;
  padding: .6rem .8rem;
  border-radius: 12px;
  transition: background .25s;
}
.rh-feat-list li:hover { background: var(--cream); }
.rh-feat-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--wine), var(--wine-light));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rh-feat-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media(max-width:900px) {
  .rh-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rh-about-img-wrap img { height: 260px; }
  .rh-about-badge { bottom: -10px; right: 10px; padding: .8rem 1.2rem; }
  .rh-about-badge .rh-ab-num { font-size: 1.5rem; }
  .rh-about-text > p { font-size: .9rem; }
  .rh-feat-list li { font-size: .85rem; padding: .4rem .5rem; }
}

/* ══════════════════════════════════════════════════
   10. PROCESS
   ══════════════════════════════════════════════════ */
.rh-proc-section {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 50%, var(--wine-light) 100%);
  padding: 110px 5%;
  position: relative;
  overflow: hidden;
}
.rh-proc-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.rh-proc-section h2, .rh-proc-section .rh-sec-sub { color: #fff; text-align: center; }
.rh-proc-section .rh-sec-sub { color: rgba(255,255,255,.65); margin: 0 auto 3.5rem; }
.rh-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.rh-proc-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all .4s;
  position: relative;
}
.rh-proc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.rh-proc-card:hover::before { opacity: 1; }
.rh-proc-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.rh-proc-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), #DFC088);
  color: var(--wine-dark);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display'; font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 20px rgba(201,169,110,.3);
}
.rh-proc-card h3 { font-family: 'Inter'; color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.rh-proc-card p { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.65; }

@media(max-width:900px) {
  .rh-proc-section { padding: 60px 4%; }
  .rh-proc-section .rh-sec-sub { margin-bottom: 2rem; }
}
@media(max-width:768px) { .rh-proc-grid { grid-template-columns: 1fr 1fr; gap: .8rem; } }
@media(max-width:480px) { .rh-proc-card { padding: 1.4rem 1rem; } }

/* ══════════════════════════════════════════════════
   11. GALLERY / PORTFOLIO
   ══════════════════════════════════════════════════ */
.rh-gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rh-gal-item {
  border-radius: var(--r);
  overflow: hidden !important;
  position: relative !important;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--sand);
}
.rh-gal-item img {
  display: block !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  z-index: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important; padding: 0 !important;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.rh-gal-item:hover img { transform: scale(1.08); }
.rh-gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  opacity: 1;
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.rh-gal-label { color: #fff; font-size: .85rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

@media(max-width:768px) {
  .rh-gal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .rh-gal-item { min-width: 0; aspect-ratio: 4/3; }
  .rh-gal-overlay { padding: 1rem; }
  .rh-gal-label { font-size: .72rem; }
}

/* ══════════════════════════════════════════════════
   12. AVANT / APRES — Interactive slider
   ══════════════════════════════════════════════════ */
.rh-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.rh-ba-slider {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.rh-ba-img { position: absolute; inset: 0; }
.rh-ba-img img { width: 100%; height: 100%; object-fit: cover; }
.rh-ba-before { z-index: 1; clip-path: inset(0 50% 0 0); }
.rh-ba-after { z-index: 0; }
.rh-ba-slider::before, .rh-ba-slider::after {
  position: absolute; top: 14px; z-index: 3;
  padding: .3rem .7rem;
  border-radius: 6px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.rh-ba-slider::before {
  content: attr(data-before);
  left: 14px;
  background: var(--wine);
  color: #fff;
}
.rh-ba-slider::after {
  content: attr(data-after);
  right: 14px;
  background: #fff;
  color: var(--wine);
}
.rh-ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.rh-ba-handle-line {
  flex: 1;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}
.rh-ba-handle-circle {
  width: 44px; height: 44px;
  background: var(--wine);
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  flex-shrink: 0;
}
.rh-ba-caption {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1rem;
}
@media(max-width:600px) { .rh-ba-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════
   13. ZONES D'INTERVENTION
   ══════════════════════════════════════════════════ */
.rh-zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rh-zone {
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .35s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.rh-zone::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(122,27,27,.05), transparent);
  transition: height .4s;
}
.rh-zone:hover::before { height: 100%; }
.rh-zone:hover { border-color: var(--wine); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(122,27,27,.12); }
.rh-zone-num {
  font-family: 'Playfair Display';
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--wine);
  line-height: 1;
  margin-bottom: .5rem;
  transition: transform .35s;
}
.rh-zone:hover .rh-zone-num { transform: scale(1.1); }
.rh-zone h3 { font-family: 'Inter'; font-size: .92rem; font-weight: 700; margin-bottom: .3rem; position: relative; z-index: 1; }
.rh-zone p { font-size: .78rem; color: var(--muted); line-height: 1.5; position: relative; z-index: 1; }

@media(max-width:768px) { .rh-zones-grid { grid-template-columns: 1fr 1fr; gap: .8rem; } .rh-zone { padding: 1.4rem 1rem; } .rh-zone-num { font-size: 2.2rem; } }

/* ══════════════════════════════════════════════════
   14. CTA / DEVIS
   ══════════════════════════════════════════════════ */
.rh-cta-section {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine), var(--wine-light));
  padding: 110px 5%;
  position: relative;
  overflow: hidden;
}
.rh-cta-section::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.rh-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.rh-cta-left h2 { color: #fff; margin-bottom: 1rem; }
.rh-cta-left p { color: rgba(255,255,255,.78); line-height: 1.8; margin-bottom: 1.5rem; }
.rh-cta-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.rh-cta-list li { color: rgba(255,255,255,.85); font-size: .92rem; display: flex; align-items: center; gap: .6rem; }
.rh-cta-list li svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2.5; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }
.rh-cta-phone {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff;
  color: var(--wine-dark);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-family: 'Playfair Display';
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  transition: all .3s;
}
.rh-cta-phone:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 45px rgba(0,0,0,.3); }

.rh-form-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.rh-form-card h3 { font-family: 'Inter'; font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.rh-form-card .rh-form-sub { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.rh-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.rh-fg { margin-bottom: .8rem; }
.rh-fg label { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .06em; }
.rh-fg input, .rh-fg select, .rh-fg textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 12px;
  font-size: .9rem; font-family: inherit;
  color: var(--text);
  background: var(--cream);
  outline: none; transition: all .25s;
}
.rh-fg input:focus, .rh-fg select:focus, .rh-fg textarea:focus { border-color: var(--wine); background: #fff; box-shadow: 0 0 0 4px rgba(122,27,27,.08); }
.rh-fg textarea { resize: vertical; min-height: 90px; }
.rh-fg-full { grid-column: 1 / -1; }

.rh-btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--wine), var(--wine-light));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter';
  cursor: pointer;
  transition: all .3s;
  margin-top: .3rem;
  position: relative;
  overflow: hidden;
}
.rh-btn-submit::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.rh-btn-submit:hover::after { transform: translateX(100%); }
.rh-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(122,27,27,.35); }
.rh-form-note { font-size: .7rem; color: var(--muted); text-align: center; margin-top: .7rem; }

@media(max-width:900px) {
  .rh-cta-section { padding: 60px 4%; }
  .rh-cta-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rh-cta-left h2 { font-size: 1.5rem; }
  .rh-cta-phone { font-size: 1.1rem; padding: .8rem 1.4rem; }
  .rh-form-card { padding: 1.5rem; border-radius: 20px; }
  .rh-f-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   15. FOOTER
   ══════════════════════════════════════════════════ */
.rh-footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  padding: 70px 5% 30px;
}
.rh-ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.rh-ft-logo {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
}
.rh-ft-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--wine-light);
}
.rh-ft-logo-text span { color: #fff; }
.rh-ft-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}
.rh-ft-desc { font-size: .85rem; line-height: 1.75; max-width: 250px; }
.rh-footer h4 { color: #fff; font-family: 'Inter'; font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }
.rh-ft-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.rh-ft-links a { color: rgba(255,255,255,.45); font-size: .82rem; transition: all .25s; display: inline-block; }
.rh-ft-links a:hover { color: var(--gold); transform: translateX(4px); }
.rh-ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .72rem;
}
.rh-ft-bottom a { color: rgba(255,255,255,.3); }

@media(max-width:768px) { .rh-ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media(max-width:480px) { .rh-ft-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════
   16. SCROLL ANIMATIONS
   ══════════════════════════════════════════════════ */
.rh-anim { opacity: 0; transform: translateY(50px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.rh-anim.show { opacity: 1; transform: translateY(0); }
.rh-anim-d1 { transition-delay: .1s; } .rh-anim-d2 { transition-delay: .2s; } .rh-anim-d3 { transition-delay: .3s; }
.rh-anim-d4 { transition-delay: .35s; } .rh-anim-d5 { transition-delay: .4s; }
.rh-anim-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.rh-anim-right { opacity: 0; transform: translateX(50px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.rh-anim-left.show, .rh-anim-right.show { opacity: 1; transform: translateX(0); }
.rh-anim-scale { opacity: 0; transform: scale(.9); transition: opacity .7s, transform .7s; }
.rh-anim-scale.show { opacity: 1; transform: scale(1); }

/* ══════════════════════════════════════════════════
   17. CURSOR GLOW (desktop only)
   ══════════════════════════════════════════════════ */
.rh-cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,27,27,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  opacity: 0;
}
body:hover .rh-cursor-glow { opacity: 1; }
@media(max-width:768px) { .rh-cursor-glow { display: none; } }

/* ══════════════════════════════════════════════════
   18. SEO GEO PAGES
   ══════════════════════════════════════════════════ */
.rh-geo-hero {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.rh-geo-hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: .5rem;
}
.rh-geo-hero p {
  color: rgba(255,255,255,.82);
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   19. ELEMENTOR OVERRIDES
   Ensure child theme styles work with Elementor widgets
   ══════════════════════════════════════════════════ */
.elementor-section.rh-sec-cream { background: var(--cream) !important; }
.elementor-section.rh-sec-warm { background: var(--warm) !important; }
.elementor-section.rh-proc-section {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 50%, var(--wine-light) 100%) !important;
}
.elementor-section.rh-cta-section {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine), var(--wine-light)) !important;
}
.elementor-section.rh-footer-section { background: var(--dark) !important; }

/* Elementor button integration */
.elementor-widget-button .rh-btn-wine .elementor-button {
  background-color: var(--wine) !important;
  border-radius: 14px !important;
  font-family: 'Inter' !important;
  font-weight: 600 !important;
}
.elementor-widget-button .rh-btn-wine .elementor-button:hover {
  background-color: var(--wine-dark) !important;
}

/* ══════════════════════════════════════════════════
   20. ELEMENTOR FULL-WIDTH & CLEANUP
   ══════════════════════════════════════════════════ */

/* Widget HTML : aucun padding/margin parasite */
.elementor-widget-html { width: 100%; }
.elementor-section .elementor-container,
.elementor-section .elementor-widget-wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Masquer le header/footer Hello Elementor par défaut */
.site-header,
.site-footer { display: none !important; }

/* Coller le footer au contenu (pas de gap blanc) */
.elementor-page .site-main,
.elementor-page #content,
.elementor-page .page-content,
.elementor-page .elementor {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.rh-footer { margin-top: -1px; }

/* ══════════════════════════════════════════════════
   21. WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════════════════ */
.rh-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all .3s ease;
  animation: rhWhatsappPulse 2.5s ease-in-out infinite;
}
.rh-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
@keyframes rhWhatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.15); }
}
@media(max-width:768px) {
  .rh-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .rh-whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}
