/* ============================================================
   TRISTJÄRNA ENTREPRENAD AB — style.css
   Palette : Encre #1C1B19 · Bleu Cobalt #2E5C82 · Papier #F4F1EA · Pierre #8D897F
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --encre:   #1C1B19;
  --cobalt:  #2E5C82;
  --cobalt-clair: #6E9BB8;
  --papier:  #F4F1EA;
  --pierre:  #8D897F;

  /* Marine — fond sombre du site (remplace Encre en fond, sur demande client du 25/07/2026) */
  --marine: #14202E;

  /* VVS — identité dédiée (service phare) */
  --vvs-navy: #14202E;
  --vvs-blue: #2B5FD1;
  --vvs-blue-light: #7DA0F0;
  --font-vvs-title: 'Barlow Condensed', sans-serif;
  --font-vvs-body: 'Barlow', sans-serif;

  --font-title: 'Archivo Expanded', sans-serif;
  --font-body:  'Archivo', sans-serif;

  --radius: 3px;
  --transition: 0.3s ease;
  --nav-h: 72px;

  --section-py: clamp(64px, 8vw, 120px);
  --container:  1200px;
  --gap:        clamp(16px, 3vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--papier);
  color: var(--encre);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cobalt);
  color: var(--papier);
}
.btn-ghost {
  background: transparent;
  color: var(--papier);
  border: 1.5px solid rgba(244,241,234,0.4);
}
.btn-ghost:hover { border-color: var(--papier); opacity: 1; }
.btn-large { padding: 18px 36px; font-size: 0.9rem; }
.btn-submit {
  background: var(--marine);
  color: var(--papier);
  width: 100%;
  padding: 16px;
  font-size: 0.9rem;
  margin-top: 8px;
}
.btn-submit:hover { opacity: 0.88; }

/* ---------- Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section helpers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-sub {
  font-size: 1rem;
  color: var(--pierre);
  margin-top: 12px;
  line-height: 1.6;
}
.link-arrow {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
}
.link-arrow:hover { letter-spacing: 0.12em; }


/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--marine);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--marine);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.nav-logo {
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--papier);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-link-vvs {
  opacity: 1 !important;
  color: var(--vvs-blue-light) !important;
  font-weight: 700 !important;
}
.nav-link-vvs:hover { color: var(--papier) !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 24px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--pierre);
  padding: 2px 0;
  transition: color var(--transition);
  background: none;
  border-bottom: 1.5px solid transparent;
}
.lang-btn:hover { color: var(--papier); }
.lang-btn.active {
  color: var(--cobalt-clair);
  border-bottom-color: var(--cobalt-clair);
}
.lang-sep {
  color: var(--pierre);
  font-size: 0.75rem;
  user-select: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--papier);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  background: var(--marine);
  padding: 24px clamp(20px, 5vw, 48px) 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.mobile-menu ul a {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--papier);
  letter-spacing: 0.04em;
}
.mobile-lang { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.mobile-cta { display: block; text-align: center; }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--marine);
  padding-top: calc(var(--nav-h) + clamp(72px, 10vw, 120px));
  padding-bottom: clamp(80px, 10vw, 140px);
  text-align: center;
}
.hero-inner {
  max-width: 860px;
  margin-inline: auto;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt-clair);
  margin-bottom: 24px;
}
#hero h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--papier);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--pierre);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Animate-on-scroll delays in hero */
#hero .hero-badge { transition-delay: 0s; }
#hero h1 { transition-delay: 0.1s; }
#hero .hero-sub { transition-delay: 0.2s; }
#hero .hero-actions { transition-delay: 0.3s; }


/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding-block: var(--section-py);
  background: var(--papier);
}
#services h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.service-card {
  background: white;
  border: 1px solid rgba(28,27,25,0.08);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(28,27,25,0.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--encre);
  flex-shrink: 0;
}
.service-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--encre);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--pierre);
  line-height: 1.6;
  flex: 1;
}
.services-cta {
  text-align: center;
  margin-top: clamp(36px, 5vw, 56px);
}


/* ============================================================
   STATS
   ============================================================ */
#stats {
  background: var(--marine);
  padding-block: var(--section-py);
  text-align: center;
}
#stats h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--papier);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-number {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cobalt-clair);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pierre);
}


/* ============================================================
   PROCESSUS
   ============================================================ */
#process {
  background: var(--papier);
  padding-block: var(--section-py);
}
#process h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 var(--gap);
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }

.step-number {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3rem;
  color: var(--cobalt);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.6;
}
.step-content h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--pierre);
  line-height: 1.6;
}
.process-connector {
  flex-shrink: 0;
  width: clamp(32px, 5vw, 80px);
  height: 2px;
  border-top: 2px dashed var(--cobalt);
  opacity: 0.4;
  margin-top: 28px;
  align-self: flex-start;
}


/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
#testimonials {
  background: #EDEBE3;
  padding-block: var(--section-py);
}
#testimonials h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.testimonial-card {
  background: var(--papier);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(28,27,25,0.06);
}
.stars {
  color: var(--cobalt);
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--encre);
  font-style: italic;
}
.testimonial-card cite {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pierre);
  font-style: normal;
  letter-spacing: 0.04em;
  margin-top: auto;
}


/* ============================================================
   CTA + FORMULAIRE
   ============================================================ */
#cta {
  background: var(--cobalt);
  padding-block: var(--section-py);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cta-text h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--papier);
  margin-bottom: 16px;
}
.cta-text p {
  font-size: 1rem;
  color: var(--papier);
  opacity: 0.85;
  line-height: 1.6;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--papier);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--encre);
  background: rgba(244,241,234,0.9);
  border: 1.5px solid rgba(28,27,25,0.15);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--encre);
  background: var(--papier);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  font-size: 0.88rem;
  color: var(--papier);
  font-weight: 600;
  text-align: center;
  padding: 12px;
  background: rgba(28,27,25,0.2);
  border-radius: var(--radius);
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--marine);
  padding-top: clamp(48px, 6vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-logo { display: block; }
.footer-logo .logo-img { height: 56px; }
.footer-tagline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt-clair);
  margin-top: 12px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--pierre);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--papier); }
.footer-contact p {
  font-size: 0.88rem;
  color: var(--pierre);
  margin-bottom: 6px;
  line-height: 1.5;
}
.footer-contact a {
  color: var(--pierre);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--papier); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 20px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--pierre);
  opacity: 0.6;
}


/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-large { width: 100%; text-align: center; }
  .btn-ghost { width: 100%; text-align: center; }

  /* Process vertical on mobile */
  .process-steps { flex-direction: column; gap: 32px; }
  .process-step { padding: 0; }
  .process-connector {
    width: 2px;
    height: 32px;
    border-top: none;
    border-left: 2px dashed var(--cobalt);
    align-self: flex-start;
    margin-top: 0;
    margin-left: 20px;
  }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   RTL — Arabic (dir="rtl" set by JS on <html>)
   ============================================================ */
[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
}

/* Nav — flip margins so logo stays start-side, links stay end-side */
[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: auto;
}
[dir="rtl"] .nav-right {
  margin-left: 0;
  margin-right: 24px;
}
/* Mobile toggle pushes to start side in RTL */
[dir="rtl"] .nav-toggle {
  margin-left: 0;
  margin-right: auto;
}

/* Process steps — flip padding so first/last sit flush correctly */
[dir="rtl"] .process-step:first-child {
  padding-left: var(--gap);
  padding-right: 0;
}
[dir="rtl"] .process-step:last-child {
  padding-right: var(--gap);
  padding-left: 0;
}

/* Mobile process connector — flip border and margin */
@media (max-width: 640px) {
  [dir="rtl"] .process-connector {
    border-left: none;
    border-right: 2px dashed var(--cobalt);
    margin-left: 0;
    margin-right: 20px;
  }
}


/* ============================================================
   PHOTO UPGRADES — Homepage
   ============================================================ */

/* ── Hero photo background ── */
#hero { position: relative; overflow: hidden; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  filter: brightness(0.38);
}
#hero .hero-inner { position: relative; z-index: 1; }

/* ── Service cards — photo on hover ── */
.service-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(28,27,25,0.14);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  border-color: var(--cobalt);
  box-shadow: 0 14px 48px rgba(28,27,25,0.14);
}

/* Photo: absolute, invisible by default, fades in on hover */
.service-card-thumb {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.22);
}
.service-card:hover .service-card-thumb { opacity: 1; }

/* Icon container: prominent, always visible above photo */
.service-card-icon-wrap {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background: var(--marine);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.service-card-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--cobalt-clair);
  transition: color var(--transition);
}
.service-card:hover .service-card-icon-wrap { background: var(--cobalt); }
.service-card:hover .service-card-icon-wrap svg { color: var(--papier); }

/* Card body: above photo */
.service-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-card-body h3 { transition: color var(--transition); }
.service-card-body p  { transition: color var(--transition); }
.service-card:hover .service-card-body h3 { color: var(--papier); }
.service-card:hover .service-card-body p  { color: rgba(244,241,234,0.72); }
.service-card:hover .service-card-body .link-arrow { color: var(--cobalt-clair); opacity: 1; }

/* Featured card — VVS, service phare */
.service-card--featured {
  border-color: var(--vvs-blue);
  box-shadow: 0 10px 36px rgba(43,95,209,0.16);
}
.service-card--featured:hover {
  border-color: var(--vvs-blue-light);
  box-shadow: 0 14px 48px rgba(43,95,209,0.22);
}
.service-card--featured .service-card-icon-wrap { background: var(--vvs-blue); }
.service-card--featured .service-card-icon-wrap svg { color: var(--papier); }
.service-card--featured:hover .service-card-icon-wrap { background: var(--vvs-blue-light); }
.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--font-vvs-title);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vvs-navy);
  background: var(--vvs-blue-light);
  padding: 5px 10px;
  border-radius: var(--radius);
}
[dir="rtl"] .service-card-badge { right: auto; left: 16px; }

/* ── Réalisations preview ── */
#realisations-preview {
  background: var(--marine);
  padding-block: var(--section-py);
}
#realisations-preview h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--papier);
}
#realisations-preview .section-sub { color: rgba(244,241,234,0.55); }
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
}
.realisation-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}
.realisation-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.72);
}
.realisation-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.88);
}
.realisation-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(28,27,25,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.realisation-item:hover .realisation-overlay { opacity: 1; }
.realisation-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cobalt-clair);
}
.realisations-cta {
  text-align: center;
  margin-top: clamp(36px, 5vw, 56px);
}
#realisations-preview .link-arrow { color: var(--cobalt-clair); }

/* Responsive — réalisations */
@media (max-width: 1024px) {
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}

/* RTL overrides */
[dir="rtl"] .service-card-icon-wrap { margin-right: 0; }
[dir="rtl"] .realisation-overlay { justify-content: flex-end; }

/* ── Floating call button ── */
.fab-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cobalt);
  color: var(--papier);
  border-radius: 28px;
  padding: 0 20px 0 16px;
  height: 52px;
  box-shadow: 0 4px 20px rgba(46,92,130,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  overflow: hidden;
}
.fab-call::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 30px;
  border: 2px solid var(--cobalt);
  opacity: 0;
  animation: fab-pulse 2.8s ease-out infinite;
}
.fab-call svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--papier);
}
.fab-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--papier);
  white-space: nowrap;
}
.fab-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46,92,130,0.55);
  opacity: 1;
}

@keyframes fab-pulse {
  0%   { transform: scale(0.92); opacity: 0.7; }
  70%  { transform: scale(1.18); opacity: 0;   }
  100% { transform: scale(1.18); opacity: 0;   }
}

@media (max-width: 640px) {
  .fab-call {
    bottom: 20px;
    right: 16px;
    padding: 0 16px 0 14px;
    height: 48px;
  }
  .fab-label { font-size: 0.72rem; }
}
