/* ══════════════════════════════════════════
   BG Service – Plombier Artisan
   Feuille de styles principale
   ══════════════════════════════════════════ */


/* ── VARIABLES ── */
:root {
  --navy:   #0a1628;
  --blue:   #1a3a6b;
  --steel:  #2d5fa8;
  --cyan:   #4dbfdb;
  --cream:  #f5f0e8;
  --warm:   #e8dfc8;
  --orange: #e8773a;
  --white:  #ffffff;
}


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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  height: 100%;
  font-size: 17px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: clip;
}


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

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 5vw;
  background: rgba(16, 35, 63, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #42a8bf;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.logo-img {
  width: 115%;
  height: 115%;
  object-fit: contain;
  border-radius: 12px;
}

.logo-name {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-left: 0.6rem;
}

.logo-name-bg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-name-service {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm);
  opacity: 0.7;
}

nav { display: flex; gap: 2.5rem; align-items: center; }

nav a {
  color: var(--warm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

nav a:hover { opacity: 1; color: var(--cyan); }

.cta-nav {
  background: var(--orange);
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.cta-nav:hover { background: #cf5f25 !important; }


/* ── URGENCE HEADER ── */
.header-urgence {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-urgence-phone {
  font-size: 1rem;
  color: var(--orange);
  animation: phone-ring 1.8s infinite;
  transform-origin: center;
}

@keyframes phone-ring {
  0%, 100% { opacity: 1; transform: rotate(0deg) scale(1); }
  10%       { transform: rotate(-15deg) scale(1.1); }
  20%       { transform: rotate(15deg) scale(1.1); }
  30%       { transform: rotate(-10deg) scale(1.05); }
  40%       { transform: rotate(10deg) scale(1.05); }
  50%       { transform: rotate(0deg) scale(1); }
  70%       { opacity: 1; }
  85%       { opacity: 0.3; }
  92%       { opacity: 1; }
}

.header-urgence-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header-urgence-cta {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--orange);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-urgence-cta:hover { background: #cf5f25; }

.urgence-sub {
  display: none;
  font-size: 0.46rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.88;
  white-space: nowrap;
}


/* ── HERO ── */
.hero {
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.hero-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 3vw calc(8rem - 45px) 5vw;
  z-index: 2;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 3.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.15s ease both;
}

.h1-line {
  display: block;
  white-space: nowrap;
}

h1 .accent { color: var(--cyan); }
h1 .italic { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--orange); }

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,0.7);
  max-width: 420px;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-zone {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.2rem;
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--cyan);
  background: rgba(77,191,219,0.06);
  border-radius: 0 6px 6px 0;
}

.hero-zone-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero-zone-label:hover { opacity: 0.75; }

.hero-zone:hover {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero-zone-value {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.75);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  flex: 1;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0 0.7rem;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 1px solid transparent;
  height: 3rem;
  padding: 0 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: #cf5f25; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.3);
  height: 3rem;
  padding: 0 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }


/* ── HERO PHOTO ── */
.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--navy) 42%, rgba(10,22,40,0.4) 54%, transparent 70%),
    var(--hero-img) 65% 45% / cover no-repeat;
}

/* Carte 22 ANS */
.hero-card {
  position: absolute;
  bottom: 3.5rem;
  right: 2.5rem;
  background: rgba(10,22,40,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(77,191,219,0.25);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  z-index: 3;
  animation: fadeUp 1s 0.8s ease both;
}

.card-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.card-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

.card-sub {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  margin-top: 0.3rem;
}

/* ── SECTIONS COMMUNES ── */
#services { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section { padding: 5rem 8vw; scroll-margin-top: 80px; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,240,232,0.6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}


/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(77,191,219,0.1);
  border: 1px solid rgba(77,191,219,0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.service-card {
  background: rgba(10,22,40,0.95);
  padding: 2rem 1.8rem;
  position: relative;
  transition: background 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--cyan);
  transition: width 0.4s ease;
}

.service-card:hover { background: rgba(26,58,107,0.5); }
.service-card:hover::after { width: 100%; }

.service-icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}


.service-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.service-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
}

.kw {
  color: #e8914a;
  font-weight: 500;
  font-size: 1.1em;
}


/* ── POURQUOI NOUS ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-visual {
  position: relative;
  height: 520px;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}


.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: rgba(26,58,107,0.2);
  border: 1px solid rgba(77,191,219,0.1);
  border-radius: 8px;
  transition: border-color 0.3s, background 0.3s;
}

.why-item:hover {
  border-color: rgba(77,191,219,0.3);
  background: rgba(26,58,107,0.4);
}

.why-check {
  width: 28px; height: 28px;
  background: rgba(77,191,219,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
  font-size: 0.85rem;
  margin-top: 2px;
}

.why-item-title { font-weight: 500; color: var(--white); margin-bottom: 0.25rem; }
.why-item-desc  { font-size: 0.855rem; color: rgba(245,240,232,0.55); line-height: 1.5; }


/* ── CONTACT ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { padding-top: 0; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(77,191,219,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.contact-val   { font-size: 1rem; color: var(--white); margin-top: 0.1rem; font-weight: 400; }

.contact-form {
  background: rgba(26,58,107,0.2);
  border: 1px solid rgba(77,191,219,0.12);
  border-radius: 11px;
  padding: 2.2rem;
  margin-top: -6rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }

label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,240,232,0.5); }

input, select, textarea {
  background: rgba(10,22,40,0.6);
  border: 1px solid rgba(77,191,219,0.2);
  border-radius: 5px;
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus { border-color: var(--cyan); }

textarea { resize: vertical; min-height: 108px; }

select option { background: var(--navy); }

.submit-btn {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0.45rem;
  transition: background 0.2s, transform 0.15s;
}

.submit-btn:hover { background: #cf5f25; transform: translateY(-2px); }


/* ── ZONE D'INTERVENTION ── */
.zone-section {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  scroll-margin-top: 80px;
}

.zone-map-wrap {
  max-width: 612px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(192,57,43,0.35);
  box-shadow: 0 0 48px rgba(192,57,43,0.12), 0 0 0 4px rgba(192,57,43,0.06);
}

.zone-map {
  width: 100%;
  height: 432px;
  display: block;
  border: none;
}


/* ── FOOTER ── */
footer {
  background: rgba(5,12,24,0.98);
  border-top: 1px solid rgba(77,191,219,0.12);
  padding: 2.84rem 8vw 2.03rem;
}

.footer-top {
  display: flex;
  gap: 1.62rem;
  align-items: flex-start;
  margin-bottom: 2.03rem;
}

.footer-brand { flex: 2; }

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.73rem;
}

.footer-logo-bg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-logo-service {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm);
  opacity: 0.5;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.65;
  max-width: 280px;
  font-weight: 300;
  margin-bottom: 0.73rem;
}

.footer-social {
  display: flex;
  gap: 0.41rem;
  margin-top: 0.73rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(77,191,219,0.45);
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: rgba(77,191,219,0.12);
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(77,191,219,0.3);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.footer-tel:hover { background: rgba(77,191,219,0.1); }

.footer-divider-v {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, rgba(77,191,219,0.2), transparent);
  flex-shrink: 0;
}

.footer-col { flex: 1; }

.footer-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.73rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.41rem;
}

.footer-col ul li a,
.footer-col ul li span {
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.06);
  padding-top: 1.46rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.25);
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-siret { opacity: 0.6; }

.footer-bottom-right {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-right a {
  color: rgba(245,240,232,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-right a:hover { color: var(--cyan); }


/* ── ZONE — TOOLTIPS CARTE ── */
.zone-tooltip {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  white-space: nowrap;
}
.zone-tooltip::before { display: none; }

.zone-tooltip-repere {
  background: rgba(60,60,60,0.85);
  color: #ddd;
  border: none;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  white-space: nowrap;
}
.zone-tooltip-repere::before { display: none; }


/* ── NAV HAMBURGER ── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(245,240,232,0.25);
  color: var(--cream);
  font-size: 1.3rem;
  cursor: pointer;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 5px;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.mob-overlay-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: rgba(245,240,232,0.5);
  font-size: 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  cursor: pointer;
  letter-spacing: 0;
  line-height: 1;
  transition: color 0.2s;
}
.mob-overlay-close:hover { color: var(--cyan); }


/* ── MOBILE OVERLAY MENU ── */
#mob-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #0a1628;
  z-index: 99999;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 5rem;
}
#mob-overlay.open { display: block; }

#mob-overlay a {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid rgba(77,191,219,0.15);
  opacity: 1;
}
#mob-overlay a:first-of-type { border-top: 1px solid rgba(77,191,219,0.15); }
#mob-overlay a.mob-cta       { color: #e8773a; }
#mob-overlay a:active        { background: rgba(255,255,255,0.05); }


/* ── RESPONSIVE (page principale) ── */

/* Hero + nav : layout tablette large */
@media (max-width: 1100px) {
  .hero-right::before {
    background:
      linear-gradient(rgba(10,22,40,0.6), rgba(10,22,40,0.6)),
      var(--hero-img) center 30% / cover no-repeat;
  }
  .hero-left { width: 100%; padding: 10rem 5vw 20rem; }

  /* Header : réduction des tailles et espacements */
  header                { padding: 0.62rem 2vw; gap: 0.8rem; }
  .logo-circle          { width: 2.4rem; height: 2.4rem; }
  .logo-name-bg         { font-size: 1.25rem; }
  .logo-name-service    { font-size: 0.5rem; letter-spacing: 0.18em; }
  .header-urgence       { gap: 0.4rem; }
  .header-urgence-text  { font-size: 0.75rem; }
  .header-urgence-cta   { font-size: 0.75rem; padding: 0.22rem 0.6rem; }
  nav                   { gap: 1.4rem; }
  nav a                 { font-size: 0.75rem; }
  .cta-nav              { padding: 0.45rem 0.9rem; }
}

@media (max-width: 900px) {
  .hero-card           { display: none; }

  /* Hamburger visible, desktop nav masqué */
  .nav-toggle { display: flex; }
  nav          { display: none; }

  /* Grids */
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .why-grid            { grid-template-columns: 1fr; }
  .why-visual          { display: none; }
  .contact-section     { grid-template-columns: 1fr; }
  .contact-form        { margin-top: 0; }
  .contact-item        { align-items: flex-start; }
  .contact-item > div:last-child { min-width: 0; }
}

@media (max-width: 600px) {
  /* Hero : descendre le texte et réduire le padding-bottom (pas de carte à ce format) */
  .hero-left { padding: 8rem 5vw 3rem; }

  /* Logo réduit pour libérer de l'espace */
  .logo-circle       { width: 2.2rem; height: 2.2rem; }
  .logo-name-bg      { font-size: 1.3rem; }
  .logo-name-service { font-size: 0.52rem; letter-spacing: 0.2em; }

  /* Header : icône masquée, texte masqué */
  .header-urgence-phone,
  .header-urgence-text { display: none; }

  /* Label urgence dans le bouton */
  .urgence-sub { display: block; }

  /* Bouton téléphone : 2 lignes — "Urgence 24h" + numéro */
  .header-urgence-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.18rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
  }

  /* Services index : 1 colonne pour que les descriptions soient lisibles */
  .services-grid { grid-template-columns: 1fr; }

  /* Réduire le padding des sections */
  .section       { padding: 3rem 5vw; }
}

@media (max-width: 700px) {
  .footer-top          { flex-direction: column; }
  .footer-divider-v    { display: none; }
  .footer-bottom       { flex-direction: column; align-items: flex-start; }
}

/* Nest Hub et écrans larges mais courts (ex. 1024×600) */
@media (max-width: 1100px) and (max-height: 650px) {
  .hero         { height: auto; min-height: 100dvh; }
  .hero-left    { justify-content: flex-start; padding: 6rem 5vw 2rem; }
  .hero-card    { display: none; }
}


/* ══════════════════════════════════════════
   PAGE SERVICES
   ══════════════════════════════════════════ */

/* ── NAVIGATION ── */
.nav-active {
  color: var(--cyan) !important;
  opacity: 1 !important;
}

/* ── HERO SERVICES ── */
.srv-hero {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 5vw 5rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(77,191,219,0.08) 0%, transparent 70%),
    var(--navy);
}

.srv-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,191,219,0.2), transparent);
}

.srv-hero-inner { max-width: 680px; }

.srv-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  color: var(--white);
  margin: 1.5rem 0 1.2rem;
  letter-spacing: 0.02em;
}

.srv-hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* ── LAYOUT PRINCIPAL ── */
.srv-layout {
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* ── SIDENAV LATÉRALE ── */
.srv-sidenav {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 6rem;
  height: fit-content;
  padding: 2rem 0 2rem 3vw;
}

.sidenav-inner {
  border-left: 1px solid rgba(77,191,219,0.15);
  padding-left: 1.2rem;
}


.sidenav-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidenav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.03em;
  transition: color 0.25s;
}

.sidenav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245,240,232,0.25);
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
}

.sidenav-link:hover { color: rgba(245,240,232,0.75); }
.sidenav-link.active { color: var(--cyan); font-weight: 500; }

.sidenav-link.active .sidenav-dot {
  background: var(--cyan);
  transform: scale(1.4);
  box-shadow: 0 0 6px rgba(77,191,219,0.6);
}

/* ── MAIN CONTENT ── */
.srv-main {
  flex: 1;
  min-width: 0;
  padding: 2rem 5vw 2rem 2rem;
}

/* ── SECTIONS SERVICE ── */
.srv-section { padding: 5rem 0; scroll-margin-top: 80px; }

.srv-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.srv-section-inner.reverse { direction: rtl; }
.srv-section-inner.reverse > * { direction: ltr; }

/* ── VISUEL ── */
.srv-visual {
  position: relative;
  height: 440px;
}

.srv-img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.srv-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.35) 0%, transparent 60%);
  border-radius: 14px;
}


/* ── CONTENU ── */
.srv-category-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 1rem;
}


.srv-intro {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245,240,232,0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── CARDS 2×2 ── */
.srv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.srv-card {
  background: rgba(26,58,107,0.2);
  border: 1px solid rgba(77,191,219,0.3);
  border-radius: 10px;
  padding: 1.3rem;
}

.srv-card.accent-orange { border-color: rgba(232,119,58,0.4); }
.srv-card.accent-green  { border-color: rgba(120,180,100,0.4); }
.srv-card.accent-light  { border-color: rgba(168,216,232,0.4); }

.srv-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.srv-card-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245,240,232,0.5);
  line-height: 1.55;
}

/* ── CTA SECTION ── */
.srv-cta-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.srv-tel {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.srv-tel:hover { color: var(--cyan); }

/* ── SÉPARATEUR ── */
.srv-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,191,219,0.15), transparent);
}

/* ── CTA BAS DE PAGE ── */
.srv-bottom-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(77,191,219,0.1);
  padding: 6rem 8vw;
}

.srv-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.srv-bottom-cta-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.srv-bottom-cta-text p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,240,232,0.6);
  max-width: 400px;
  line-height: 1.6;
}

.srv-bottom-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── MOBILE NAV BAR ── */
.mobile-nav-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,22,40,0.97);
  border-top: 1px solid rgba(77,191,219,0.15);
  backdrop-filter: blur(12px);
}

.mobile-nav-inner {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav-inner::-webkit-scrollbar { display: none; }

.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.mobile-nav-link.active {
  color: var(--cyan);
  border-color: rgba(77,191,219,0.3);
}

/* ── RESPONSIVE SERVICES ── */
@media (max-width: 1000px) {
  .srv-sidenav                { display: none; }
  .srv-main                   { padding: 1rem 4vw; padding-bottom: 5rem; }
  .srv-section-inner,
  .srv-section-inner.reverse  { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }
  .srv-visual                 { height: 300px; }
  .mobile-nav-bar             { display: block; overflow: visible; }
  footer                      { padding-bottom: 5rem; }
}

@media (max-width: 640px) {
  .srv-cards-grid         { grid-template-columns: 1fr; }
  .srv-bottom-cta-inner   { flex-direction: column; }
  .srv-hero               { padding-top: 8rem; }
  .srv-section            { padding: 3rem 0; }
}

/* Mobile nav : centré sur tablette */
@media (min-width: 481px) and (max-width: 1000px) {
  .mobile-nav-inner { justify-content: center; }
}

/* Mobile nav : grille 2×2 sur petits écrans */
@media (max-width: 480px) {
  .mobile-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    overflow-x: visible;
  }
  .mobile-nav-link {
    text-align: center;
    justify-content: center;
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
  }
}
