/* ══════════════════════════════════════════════════
   DECP — Moderne & Épuré
   Fonts: Instrument Serif (display) + Geist (body)
   ══════════════════════════════════════════════════ */

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

:root {
  /* Palette — Rouge / Bleu / Crème / Noir */
  --black: #faf7f2;
  --surface: #f2ede5;
  --card: #ffffff;
  --card-hover: #f8f5ef;
  --border: #e4ddd2;
  --border-light: #d4cbbf;
  --text: #111111;
  --text-secondary: #5a534a;
  --text-tertiary: #9a8e80;
  --accent: #2c5aa0;
  --accent-soft: #2c5aa010;
  --accent-med: #2c5aa025;
  --red: #b8312f;
  --red-dark: #8c2422;
  --red-soft: #b8312f08;
  --red-med: #b8312f18;
  --green: #3a7d5c;
  --amber: #c4880a;
  --noir: #111111;

  /* Type */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Reveal animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════
   NAVBAR
   ══════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-brand { display: flex; align-items: center; }

.brand-mark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--red);
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--noir);
  transition: color 0.3s;
}

.nav-phone:hover { color: var(--red); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  transition: all 0.3s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  width: 24px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-burger.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
  background: #fff;
}

.nav-burger.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
  background: #fff;
}


/* ── Hero load animation ── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero-tag { animation: hero-fade-up 0.8s 0.2s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-title { animation: hero-fade-up 0.8s 0.35s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-sub { animation: hero-fade-up 0.8s 0.5s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-ctas { animation: hero-fade-up 0.8s 0.65s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-metrics { animation: hero-fade-up 0.8s 0.8s both cubic-bezier(0.16, 1, 0.3, 1); }

/* ══════════════════════════
   HERO
   ══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 0%,
    rgba(250, 247, 242, 0.95) 35%,
    rgba(250, 247, 242, 0.92) 60%,
    rgba(250, 247, 242, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

.hero-left {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--noir);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero-tag .tag-blue { color: #2c5aa0; font-weight: 800; }

.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.hero-title em {
  font-style: italic;
  color: var(--red);
}

.hero-title em:last-of-type {
  color: var(--accent);
}

/* Hero content sits on background image — keep readable */
.hero-content { color: var(--text); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184, 49, 47, 0.2);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--border-light);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.cta-ghost:hover {
  border-color: var(--noir);
  background: rgba(17, 17, 17, 0.04);
  color: var(--noir);
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.metric { display: flex; flex-direction: column; }

.metric-val {
  font-family: var(--sans);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--noir);
}

.metric-suffix {
  font-family: var(--sans);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--red);
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}


/* ══════════════════════════
   TICKER
   ══════════════════════════ */
.ticker {
  padding: 18px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: scroll-x 35s linear infinite;
}

.ticker-track span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  padding: 0 28px;
  flex-shrink: 0;
}

.ticker-sep {
  width: 5px !important;
  height: 5px !important;
  background: var(--red) !important;
  border-radius: 50%;
  padding: 0 !important;
  flex-shrink: 0;
  opacity: 0.6;
}

@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ══════════════════════════
   SECTIONS (shared)
   ══════════════════════════ */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  margin-bottom: var(--space-2xl);
}

.section-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  font-family: var(--sans);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}


/* ══════════════════════════
   BENTO GRID (Expertise)
   ══════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--space-2xl);
}

.bento-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
}

.bento-card:hover::before { opacity: 1; transform: scaleX(1); }

.bento-wide {
  grid-column: span 2;
}

.bento-accent {
  background: transparent;
  border-color: var(--border);
}

.bento-accent:hover {
  border-color: rgba(44, 90, 160, 0.3);
}

.bento-accent:hover::before {
  background: var(--accent);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--noir);
  transition: all 0.3s;
}

.bento-card:hover .bento-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.bento-accent .bento-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.bento-card h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  color: var(--noir);
}

.bento-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bento-tag {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  background: transparent;
  border: 1px solid rgba(184, 49, 47, 0.25);
}

.bento-cta {
  display: inline-block;
  margin-top: var(--space-lg);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
}

.bento-cta:hover { opacity: 0.7; }


/* ══════════════════════════
   IMAGE BREAK
   ══════════════════════════ */
.image-break {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: hidden;
}

.break-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.7);
}

.break-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.break-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-style: italic;
  text-align: center;
  max-width: 640px;
  line-height: 1.3;
  color: #fff;
  opacity: 0.9;
  position: relative;
}

.break-quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 0 auto var(--space-lg);
}


/* ══════════════════════════
   SPLIT (Parcours)
   ══════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.split-role {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xl);
}

.split-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.split-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature svg { color: var(--red); flex-shrink: 0; }

.split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--red);
  border-radius: var(--radius-xl);
  pointer-events: none;
  opacity: 0.15;
}


/* ══════════════════════════
   ZONES
   ══════════════════════════ */
.zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zone {
  padding: 12px 26px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
  cursor: default;
}

.zone:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.zone.active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  font-weight: 600;
}


/* ══════════════════════════
   TESTIMONIALS
   ══════════════════════════ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.testimonial:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.test-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  margin-bottom: var(--space-lg);
}

.testimonial blockquote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-xl);
}

.test-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.author-name {
  font-weight: 700;
  font-size: 0.85rem;
}

.author-loc {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}


/* ══════════════════════════
   GALLERY
   ══════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

.gal-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gal-tall {
  grid-row: span 2;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gal-item:hover img {
  transform: scale(1.04);
}

.gal-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s;
}

.gal-item:hover figcaption {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════
   DEVIS
   ══════════════════════════ */
.section-devis {
  background: var(--surface);
}

.devis-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-2xl);
  align-items: start;
}

.devis-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.devis-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.devis-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.perk svg { color: var(--accent); flex-shrink: 0; }

.devis-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.3s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-tertiary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-med);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a5a6e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--noir);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.form-submit:hover {
  background: var(--red);
  transform: translateY(-1px);
}


/* ══════════════════════════
   URGENCE BAND
   ══════════════════════════ */
.urgence-band {
  background: var(--red);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.urgence-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red-dark);
}

.urgence-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
}

.urgence-text h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
}

.urgence-text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.urgence-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.3s;
}

.urgence-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

@keyframes urgence-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.urgence-phone { animation: urgence-pulse 2.5s ease-in-out infinite; }

/* Mobile phone floating button */
.mobile-phone-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 28px rgba(184, 49, 47, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mobile-phone-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(184, 49, 47, 0.45);
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(184, 49, 47, 0.35); }
  50% { box-shadow: 0 8px 28px rgba(184, 49, 47, 0.35), 0 0 0 12px rgba(184, 49, 47, 0.12); }
}

.mobile-phone-fab { animation: fab-pulse 3s ease-in-out infinite; }


/* ══════════════════════════
   FOOTER
   ══════════════════════════ */
.footer {
  background: var(--noir);
  color: #fff;
  border-top: 3px solid var(--red);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .brand-mark { color: #fff; }

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 3px 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}


/* ══════════════════════════
   RESPONSIVE
   ══════════════════════════ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split-image { max-width: 500px; }
  .devis-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 99;
  }

  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 1.2rem; color: rgba(255,255,255,0.85); }
  .nav-menu .nav-link:hover { color: #fff; }
  .nav-menu .nav-link::after { background: #fff; }
  .nav-actions .nav-phone { display: none; }
  .nav-burger { display: flex; }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .metric-divider { display: none; }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-wide { grid-column: span 1; }

  .testimonials { grid-template-columns: 1fr; }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gal-tall { grid-row: span 1; }
  .gal-item img { aspect-ratio: 16/10; }

  .form-row { grid-template-columns: 1fr; }

  .urgence-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .section { padding: var(--space-2xl) 0; }
  .image-break { height: 35vh; }
  .split-features { grid-template-columns: 1fr; }
  .mobile-phone-fab { display: flex; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-ghost { justify-content: center; }
  .urgence-phone { font-size: 1.1rem; padding: 14px 26px; }
}

/* ── Smooth scroll offset for fixed nav ── */
html { scroll-padding-top: 80px; }

/* ── Selection color ── */
::selection {
  background: rgba(184, 49, 47, 0.15);
  color: var(--noir);
}
