/* =============================================
   RHS - Renov Habitat Services | style.css
   ============================================= */


:root {
  --bleu-ciel:    #4A9ECC;
  --bleu-fonce:   #2E86C1;
  --bleu-nuit:    #1A5276;
  --gris-clair:   #F4F6F7;
  --gris-moyen:   #BDC3C7;
  --gris-fonce:   #7F8C8D;
  --blanc:        #FFFFFF;
  --texte:        #2C3E50;
  --texte-light:  #5D6D7E;
  --shadow:       0 4px 24px rgba(46, 134, 193, 0.13);
  --shadow-card:  0 2px 16px rgba(0,0,0,0.09);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gris-clair); }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--texte);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: var(--texte-light);
  font-size: 1.05rem;
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section-title span { color: var(--bleu-ciel); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 158, 204, 0.1);
  color: var(--bleu-fonce);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(74, 158, 204, 0.25);
  font-family: 'Inter', sans-serif;
}
.badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bleu-ciel);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--bleu-ciel), var(--bleu-fonce));
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 158, 204, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(74,158,204,0.5); }
.btn-outline {
  background: transparent;
  color: var(--bleu-fonce);
  border-color: var(--bleu-fonce);
}
.btn-outline:hover { background: var(--bleu-fonce); color: #fff; transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--bleu-fonce);
}
.btn-white:hover { background: rgba(255,255,255,0.88); transform: translateY(-2px); }

/* ── HEADER / NAV ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.logo-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bleu-ciel), var(--bleu-nuit));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(46,134,193,0.4);
}
.logo-svg { width: 68px; height: 68px; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--bleu-fonce); letter-spacing: 0.18em; font-family: 'Playfair Display', serif; }
.logo-text span { font-size: 0.62rem; color: var(--texte-light); letter-spacing: 0.07em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 500; }

/* Nav links */
nav ul { display: flex; gap: 4px; align-items: center; }
nav ul li a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--texte);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
nav ul li a:hover,
nav ul li a.active { color: var(--bleu-fonce); background: rgba(74,158,204,0.1); }
.nav-cta a {
  background: linear-gradient(135deg, var(--bleu-ciel), var(--bleu-fonce));
  color: #fff !important;
  padding: 9px 20px !important;
  box-shadow: 0 2px 10px rgba(74,158,204,0.3);
}
.nav-cta a:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74,158,204,0.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--texte); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO CARROUSEL ── */
.hero {
  margin-top: 84px;
  position: relative;
  height: clamp(440px, 62vh, 680px);
  overflow: hidden;
}
.carousel { width: 100%; height: 100%; position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.62);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,60,90,0.45) 0%, rgba(15,40,70,0.3) 50%, rgba(20,60,90,0.5) 100%);
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.slide-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
  line-height: 1.1;
}
.slide-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  margin-top: 14px;
  opacity: 0.82;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.slide-actions {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.slide.active .slide-sub  { animation: fadeUp 0.7s 0.15s ease both; }
.slide.active .slide-word { animation: fadeUp 0.7s 0.3s ease both; }
.slide.active .slide-actions { animation: fadeUp 0.7s 0.45s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.06); border-color: rgba(255,255,255,0.6); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }
.carousel-dots {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.carousel-dots span {
  width: 24px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dots span.active { background: #fff; width: 40px; }

/* ── PRESENTATION ── */
.presentation { padding: 80px 0; }
.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pres-text h2 { font-size: clamp(1.6rem,2.8vw,2.3rem); font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.pres-text p { color: var(--texte-light); line-height: 1.85; margin-bottom: 16px; font-size: 0.97rem; }
.pres-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.stat {
  text-align: center;
  padding: 22px 12px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(74,158,204,0.15);
  box-shadow: 0 2px 12px rgba(46,134,193,0.07);
  transition: var(--transition);
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(46,134,193,0.13); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--bleu-fonce); font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 4px; }
.stat span { font-size: 0.78rem; color: var(--texte-light); font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.03em; }
.pres-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pres-image img { width: 100%; height: 420px; object-fit: cover; }

/* ── DOMAINES ── */
.domaines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.domaine-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06), 0 4px 20px rgba(46,134,193,0.06);
  transition: var(--transition);
  cursor: default;
  border: 1px solid rgba(74,158,204,0.1);
  position: relative;
  overflow: hidden;
}
.domaine-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bleu-ciel), var(--bleu-fonce));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.domaine-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 40px rgba(46,134,193,0.15);
  border-color: rgba(74,158,204,0.25);
}
.domaine-card:hover::after { transform: scaleX(1); }
.domaine-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(74,158,204,0.1), rgba(46,134,193,0.18));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.domaine-card:hover .domaine-icon {
  background: linear-gradient(135deg, rgba(74,158,204,0.18), rgba(46,134,193,0.28));
  transform: scale(1.05);
}
.domaine-icon svg { width: 34px; height: 34px; }
.domaine-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.domaine-card p { font-size: 0.87rem; color: var(--texte-light); line-height: 1.7; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-nuit) 60%, #0f2540 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(74,158,204,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(74,158,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.6rem,2.8vw,2.4rem); font-weight: 700; margin-bottom: 14px; position: relative; }
.cta-band p { opacity: 0.8; margin-bottom: 36px; font-size: 1rem; position: relative; font-family: 'Inter', sans-serif; }

/* ── FOOTER ── */
footer {
  background: var(--texte);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-top: 14px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--bleu-ciel); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 8px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bleu-ciel), var(--bleu-fonce));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 0.9rem;
  flex-shrink: 0;
}
.footer-logo strong { color: #fff; font-size: 1.05rem; }

/* ── PAGE HERO (intérieur) ── */
.page-hero {
  margin-top: 84px;
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-nuit) 100%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-size: clamp(2.2rem,4.5vw,3.4rem); font-weight: 700; position: relative; font-style: italic; }
.page-hero p { margin-top: 14px; opacity: 0.82; font-size: 1rem; position: relative; font-family: 'Inter', sans-serif; font-weight: 400; }
.breadcrumb { font-size: 0.8rem; opacity: 0.6; margin-bottom: 14px; position: relative; font-family: 'Inter', sans-serif; letter-spacing: 0.02em; }
.breadcrumb a { color: #fff; opacity: 0.75; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 6px; }

/* ── PRESTATIONS ── */
.presta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.presta-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.presta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.presta-img { height: 220px; overflow: hidden; }
.presta-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.presta-card:hover .presta-img img { transform: scale(1.05); }
.presta-body { padding: 28px; }
.presta-icon { color: var(--bleu-ciel); margin-bottom: 12px; }
.presta-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.presta-body p { font-size: 0.9rem; color: var(--texte-light); line-height: 1.78; margin-bottom: 18px; font-family: 'Inter', sans-serif; }
.presta-list { display: flex; flex-wrap: wrap; gap: 8px; }
.presta-tag {
  background: rgba(74,158,204,0.08);
  color: var(--bleu-fonce);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(74,158,204,0.2);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
.presta-full { grid-column: 1 / -1; }

/* ── RÉALISATIONS ── */
.realisations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.real-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
  transition: var(--transition);
}
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.real-img-container { position: relative; height: 250px; overflow: hidden; cursor: pointer; }
.real-img { position: absolute; inset: 0; transition: opacity 0.5s ease; }
.real-img img { width: 100%; height: 100%; object-fit: cover; }
.real-img.before { opacity: 1; }
.real-img.after { opacity: 0; }
.real-card.showing-after .real-img.before { opacity: 0; }
.real-card.showing-after .real-img.after { opacity: 1; }
.real-toggle-btn {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--bleu-fonce);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  z-index: 5;
}
.real-toggle-btn:hover { background: #fff; }
.real-label {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}
.label-before { background: rgba(127,140,141,0.85); color: #fff; }
.label-after { background: rgba(46,134,193,0.85); color: #fff; display: none; }
.real-card.showing-after .label-before { display: none; }
.real-card.showing-after .label-after { display: block; }
.real-body { padding: 20px; }
.real-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.real-body p { font-size: 0.85rem; color: var(--texte-light); font-family: 'Inter', sans-serif; line-height: 1.65; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info { }
.contact-info h2 { font-size: 1.65rem; font-weight: 700; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.contact-info p { color: var(--texte-light); line-height: 1.8; margin-bottom: 28px; font-family: 'Inter', sans-serif; font-size: 0.96rem; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(74,158,204,0.15), rgba(46,134,193,0.25));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--bleu-fonce);
}
.contact-item-text strong { display: block; font-size: 0.9rem; font-weight: 700; }
.contact-item-text span { font-size: 0.88rem; color: var(--texte-light); }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--texte); font-family: 'Inter', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--texte);
  background: #f8fafc;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bleu-ciel);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74,158,204,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px; }
.form-check input { width: auto; margin-top: 3px; }
.form-check label { font-size: 0.83rem; color: var(--texte-light); }
.form-check a { color: var(--bleu-fonce); }

/* ── MENTIONS LÉGALES ── */
.mentions-content { max-width: 860px; margin: 0 auto; }
.mentions-section { margin-bottom: 48px; }
.mentions-section h2 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--bleu-fonce);
  border-left: 3px solid var(--bleu-ciel);
  padding-left: 16px;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
.mentions-section p,
.mentions-section ul li { color: var(--texte-light); line-height: 1.8; margin-bottom: 8px; font-size: 0.93rem; }
.mentions-section ul { padding-left: 20px; list-style: disc; }

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 22px; right: 30px;
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(4px); opacity: 0.85; }
}

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */

/* ── Tablette (≤1024px) ── */
@media (max-width: 1024px) {
  .domaines-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .presentation-grid { gap: 40px; }
  .contact-grid { gap: 32px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  nav ul {
    display: none; flex-direction: column;
    position: fixed; top: 84px; left: 0; right: 0;
    background: #fff; padding: 12px 20px 24px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    z-index: 999; gap: 2px;
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 14px 20px; display: block; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-cta a { text-align: center; justify-content: center; }
  .hamburger { display: flex; }

  /* Logo compact */
  .logo { gap: 10px; }
  .logo-svg { width: 54px; height: 54px; }
  .logo-text strong { font-size: 1.4rem; letter-spacing: 0.14em; }
  .logo-text span { font-size: 0.58rem; }

  /* Hero */
  .hero { height: 88vh; min-height: 500px; }
  .slide-content { padding: 20px 20px 60px; }
  .carousel-btn { display: none; }
  /* Dots : zone de tap agrandie */
  .carousel-dots { bottom: 18px; gap: 8px; }
  .carousel-dots span { width: 20px; height: 4px; padding: 10px 0; box-sizing: content-box; border-radius: 4px; }
  .carousel-dots span.active { width: 32px; }

  /* Sections */
  .section { padding: 64px 0; }
  .cta-band { padding: 56px 0; }
  .presentation-grid { grid-template-columns: 1fr; gap: 36px; }
  .pres-image { order: -1; }
  .pres-image img { height: 240px; }
  .pres-stats { gap: 12px; }
  .domaines-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .domaine-card { padding: 28px 18px 24px; }
  .presta-grid { grid-template-columns: 1fr; gap: 24px; }
  .presta-full { grid-column: 1; }
  .realisations-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Empêcher le zoom iOS sur les inputs (nécessite font-size ≥ 16px) */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }
}

/* ── Petit mobile (≤480px) ── */
@media (max-width: 480px) {
  .header-inner { height: 68px; }
  .hero { margin-top: 68px; min-height: 480px; }
  .page-hero { margin-top: 68px; }
  nav ul { top: 68px; }

  /* Logo encore plus compact */
  .logo { gap: 8px; }
  .logo-svg { width: 44px; height: 44px; }
  .logo-text strong { font-size: 1.2rem; letter-spacing: 0.12em; }
  .logo-text span { font-size: 0.54rem; }

  /* Sections */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .domaines-grid { grid-template-columns: 1fr; }
  .pres-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat strong { font-size: 1.5rem; }
  .slide-actions { flex-direction: column; align-items: center; gap: 10px; }
  .slide-actions .btn { width: 100%; max-width: 260px; justify-content: center; }
  .btn { padding: 12px 22px; }
  .cta-band { padding: 44px 0; }
  .real-img-container { height: 210px; }
  .presta-img { height: 190px; }
  .contact-form-card { padding: 20px 16px; }

  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-col h4 { margin-bottom: 10px; }
}
