/* =============================================
   L'ART DE LA PEINTURE — Feuille de styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- Variables --------------------------------------- */
:root {
  --primary:      #26368C;
  --primary-dark: #1a2463;
  --navy:         #0A1628;
  --gold:         #C9A84C;
  --gold-light:   #E5C97E;
  --red-urgent:   #C0392B;
  --red-dark:     #96281B;
  --white:        #FFFFFF;
  --bg:           #F8FAFC;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --border:       #E2E8F0;
  --shadow:       0 4px 20px rgba(10,22,40,.12);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   all .25s ease;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', sans-serif;
}

/* --- Reset ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--navy); margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text); background: var(--navy); line-height: 1.6; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography ------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }

/* --- Layout ----------------------------------------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; margin: 0; background: var(--bg); }

/* Les sections sombres/colorées gardent leur propre fond */
section.section-dark,
section.section-blue,
section.section-gold,
section.cta-section,
section.hero,
section.urgence-hero { background: unset; }
.section-dark { background: var(--navy); color: var(--white); margin: 0; }
.section-dark p { color: rgba(255,255,255,.75); }

/* Raccord hero → stats sans bande blanche */
.hero { margin-bottom: 0; padding-bottom: 0; }
.hero + .section-dark { margin-top: 0; }
.section-blue { background: var(--primary); color: var(--white); }
.section-blue p { color: rgba(255,255,255,.85); }
.section-gold { background: var(--gold); color: var(--navy); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title .subtitle { font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.gold-line {
  display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 16px auto 0;
}

/* --- Buttons ---------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; transition: var(--transition);
  text-align: center;
}
.btn-primary   { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }
.btn-outline   { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-urgent    { background: var(--red-urgent); color: var(--white); font-size: 1.05rem; }
.btn-urgent:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.4); }
.btn-dark      { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* --- Navbar ----------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy); box-shadow: 0 2px 16px rgba(0,0,0,.3);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.nav-logo img { height: 52px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--white); line-height: 1.2;
}
.nav-logo-text span { display: block; color: var(--gold); font-size: .7rem; letter-spacing: .12em; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius); font-size: .88rem;
  font-weight: 500; color: rgba(255,255,255,.85); transition: var(--transition);
  white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .nav-urgent {
  background: var(--red-urgent); color: var(--white) !important;
  font-weight: 600; animation: pulse-red 2s infinite;
}
.nav-links .nav-urgent:hover { background: var(--red-dark); }
.nav-links .nav-cta {
  background: var(--gold); color: var(--navy) !important;
  font-weight: 700; margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* --- Phone bar mobile ------------------------------- */
.phone-bar {
  background: var(--primary); padding: 10px 0;
  text-align: center; display: none;
}
.phone-bar a {
  color: var(--white); font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
}

/* --- Hero ------------------------------------------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 120px;
}
.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='%23C9A84C' 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");
  opacity: 1;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.4);
  color: var(--gold); padding: 6px 16px; border-radius: 20px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 8px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .zone { color: var(--gold-light); font-size: 1.05rem; margin-bottom: 20px; font-weight: 500; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-phone {
  color: var(--white); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.hero-phone .icon-phone { font-size: 1.3rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 52px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: .9rem; }
.trust-icon { color: var(--gold); font-size: 1.2rem; }

/* --- Services grid ---------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(38,54,140,.15); }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold); flex-shrink: 0;
}
.service-card h3 { color: var(--text); }
.service-card p { font-size: .93rem; }
.service-card a { color: var(--primary); font-weight: 600; font-size: .9rem; margin-top: auto; display: inline-flex; align-items: center; gap: 4px; }
.service-card a:hover { color: var(--gold); }

/* --- Urgence banner --------------------------------- */
.urgence-banner {
  background: linear-gradient(135deg, #7b0000, var(--red-urgent));
  padding: 40px 0; text-align: center;
}
.urgence-banner h2 { color: var(--white); margin-bottom: 8px; }
.urgence-banner p { color: rgba(255,255,255,.9); margin-bottom: 24px; font-size: 1.05rem; }
.urgence-phone {
  font-size: 2rem; font-weight: 800; color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 20px;
}

/* --- Zone d'intervention ---------------------------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zone-map-placeholder {
  background: rgba(255,255,255,.08); border-radius: var(--radius-lg);
  border: 2px dashed rgba(201,168,76,.4); padding: 48px;
  text-align: center; color: rgba(255,255,255,.5); font-size: .9rem;
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.zone-map-placeholder .map-icon { font-size: 3rem; color: var(--gold); opacity: .6; }
.communes-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.commune-tag {
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light); padding: 4px 12px; border-radius: 20px; font-size: .82rem;
}

/* --- Page hero (sous-pages) ------------------------- */
.page-hero {
  padding: 150px 0 90px; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: var(--white);
  display: flex; flex-direction: column; align-items: center;
}
.page-hero > .container {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; max-width: 700px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 28px; font-size: 1.05rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* --- Content sections ------------------------------- */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-image {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--border); min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .9rem; text-align: center;
  flex-direction: column; gap: 12px;
}
.content-image-icon { font-size: 3rem; opacity: .4; }
.content-text h2 { margin-bottom: 16px; }
.content-text p { margin-bottom: 16px; }
.check-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--text);
}
.section-dark .check-list li { color: rgba(255,255,255,.9); }
.check-list li::before {
  content: '✓'; color: var(--gold); font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* --- Cards list ------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.info-card h3 { margin-bottom: 12px; color: var(--primary); }

/* --- CTA section ------------------------------------ */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--navy)); padding: 72px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* --- Témoignages ------------------------------------ */
.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.temoignage {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.temoignage p { font-style: italic; margin-bottom: 16px; }
.temoignage-author { font-weight: 700; font-size: .9rem; color: var(--primary); }

/* --- Contact form ----------------------------------- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-detail-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold);
}
.contact-detail strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-detail a:hover { color: var(--primary); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label .required { color: var(--red-urgent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem;
  color: var(--text); background: var(--bg); transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,54,140,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Footer ----------------------------------------- */
footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-sub { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(201,168,76,.3); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .9rem; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }
.footer-phone { color: var(--gold); font-weight: 700; font-size: 1rem; }

/* --- Urgence page ----------------------------------- */
.urgence-hero { background: linear-gradient(135deg, #5c0000, var(--red-urgent)); padding: 160px 0 80px; text-align: center; color: var(--white); }
.urgence-hero h1 em { color: #FFD0CC; font-style: normal; }
.big-phone { font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 900; color: var(--white); margin: 20px 0; display: flex; justify-content: center; align-items: center; gap: 16px; }
.big-phone a { color: var(--white); text-decoration: none; }
.pulse-ring { display: inline-flex; position: relative; }
.pulse-ring::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  background: rgba(255,255,255,.2); animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes pulse-red { 0%,100% { opacity: 1; } 50% { opacity: .8; } }
.urgence-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: steps; }
.urgence-step { background: var(--white); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; counter-increment: steps; }
.urgence-step::before { content: counter(steps); display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--red-urgent); color: var(--white); font-weight: 800; font-size: 1.1rem; line-height: 40px; text-align: center; margin: 0 auto 12px; }
.urgence-step h3 { color: var(--text); margin-bottom: 8px; }

/* --- Scroll Reveal ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Navbar scrolled -------------------------------- */
.navbar.scrolled {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.navbar { transition: background .3s ease, box-shadow .3s ease; }

/* --- Hamburger animation ---------------------------- */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { transition: transform .25s ease, opacity .2s ease; }

/* --- Hero floating shapes --------------------------- */
.hero-shapes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.hero-shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 500px; height: 500px; top: -100px; right: -80px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 320px; height: 320px; bottom: 40px; left: 10%; animation-delay: 2.5s; animation-duration: 10s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; top: 30%; right: 20%; animation-delay: 5s; animation-duration: 7s; background: radial-gradient(circle, rgba(38,54,140,.2) 0%, transparent 70%); }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.05); }
}

/* --- Hero animated gradient line -------------------- */
.hero-content { position: relative; z-index: 1; max-width: 760px; }

/* --- Stats section ---------------------------------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px; background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 56px;
}
.stat-item {
  padding: 32px 24px; text-align: center;
  background: rgba(255,255,255,.04);
  transition: background .25s ease;
}
.stat-item:hover { background: rgba(201,168,76,.08); }
.stat-number {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: var(--gold); line-height: 1; display: block;
}
.stat-label { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 6px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* --- Service card améliorée ------------------------ */
.service-card {
  perspective: 1000px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  cursor: default;
  transform-style: preserve-3d;
}
.service-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201,168,76,.06), transparent);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.1); }
.service-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

/* --- Info card hover -------------------------------- */
.info-card {
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.06), transparent);
  transition: left .5s ease; pointer-events: none;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(38,54,140,.12); }
.info-card:hover::before { left: 150%; }

/* --- Témoignage hover ------------------------------- */
.temoignage { transition: transform .3s ease, box-shadow .3s ease; }
.temoignage:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(38,54,140,.12); }

/* --- Bouton shimmer --------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute;
  top: -50%; left: -75%; width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn:hover::after { left: 150%; }

/* --- Ripple keyframe -------------------------------- */
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* --- Section title animated underline -------------- */
.section-title h2 { position: relative; display: inline-block; }

/* --- Urgence banner pulse --------------------------- */
.urgence-banner { position: relative; overflow: hidden; }
.urgence-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,.0) 0%, rgba(192,57,43,.3) 50%, rgba(192,57,43,.0) 100%);
  animation: urgencePulse 3s ease-in-out infinite;
}
@keyframes urgencePulse {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* --- Commune tags hover ----------------------------- */
.commune-tag { transition: background .2s ease, color .2s ease, transform .2s ease; cursor: default; }
.commune-tag:hover { background: rgba(201,168,76,.3); transform: scale(1.04); }

/* --- Scroll indicator (hero) ----------------------- */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both; z-index: 1;
}
.scroll-dot {
  width: 2px; height: 32px; background: rgba(255,255,255,.15); border-radius: 2px;
  position: relative; overflow: hidden;
}
.scroll-dot::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold); border-radius: 2px;
  animation: scrollDot 2s ease-in-out 1.5s infinite;
}
@keyframes scrollDot { 0% { top: -100%; } 50%,100% { top: 100%; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* --- Hero centré ----------------------------------- */
.hero-centered {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}
.hero-centered h1 { color: var(--white); }
.hero-centered p  { max-width: 520px; }
.hero-centered .hero-actions { justify-content: center; }

/* --- Hero logo ------------------------------------- */
.hero-logo {
  height: 460px; width: auto; object-fit: contain;
  margin-bottom: 36px; display: block;
  animation: fadeInDown .7s .1s both;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 0 transparent);
}
@media (max-width: 1023px) { .hero-logo { height: 320px; } }
@media (max-width: 767px)  { .hero-logo { height: 220px; } }

/* --- Hero badge animation -------------------------- */
.hero-badge { animation: fadeInDown .6s .3s both; }
.hero h1    { animation: fadeInUp2 .7s .35s both; }
.hero .zone { animation: fadeInUp2 .6s .5s both; }
.hero p     { animation: fadeInUp2 .6s .6s both; }
.hero-actions { animation: fadeInUp2 .6s .75s both; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp2  { from { opacity: 0; transform: translateY(20px);  } to { opacity: 1; transform: translateY(0); } }

/* --- Animations ------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* --- Responsive ------------------------------------- */
@media (max-width: 1023px) {
  .zone-grid, .content-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px; gap: 4px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius); }
  .nav-links .nav-cta, .nav-links .nav-urgent { margin: 4px 0; text-align: center; }
  .hamburger { display: flex; }
  .phone-bar { display: block; }
  .hero { min-height: auto; padding: 100px 0 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .urgence-phone, .big-phone { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
}
