

:root {
  --bg-white: #ffffff;
  --bg-offwhite: #f7f8fa;
  --bg-dark: #111315;
  --bg-dark-card: #1a1d21;
  --border-subtle: #e5e7eb;
  --border-dark: #2a2e35;

  --text-primary: #111315;
  --text-secondary: #525866;
  --text-light: #ffffff;
  --text-muted-light: #b8bec8;

  --accent: #f5b800;
  --accent-hover: #dfaa00;
  --accent-soft: rgba(245, 184, 0, 0.14);

  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(17, 19, 21, 0.05);
  --shadow-md: 0 12px 30px rgba(17, 19, 21, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 19, 21, 0.14);

  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: clip;
  padding-bottom: 76px; /* Espace pour la barre d'appel fixe sur mobile */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Accessibilité : lien d'évitement & focus visible */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Conteneur principal */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-md);
  min-height: 48px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 6px 18px rgba(245, 184, 0, 0.28);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 184, 0, 0.35);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: #23272d;
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 60px;
  padding: 14px 26px;
  font-size: 1.05rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text-primary);
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--bg-dark);
  color: var(--accent);
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: none;
}

.header-cta {
  padding: 10px 14px;
  min-height: 44px;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 1 : HERO
   ========================================================================== */
.hero {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-block: 42px 54px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.25);
}

.hero-title {
  font-size: clamp(2.25rem, 8vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.text-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-phone-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 22px;
  gap: 14px;
}

.btn-phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-phone-text small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.btn-phone-text strong {
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

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

.hero-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

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

.media-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(17, 19, 21, 0.78);
  color: #e5e7eb;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */
.section {
  padding-block: 64px;
}

.section-light {
  background-color: var(--bg-white);
}

.section-muted {
  background-color: var(--bg-offwhite);
}

.section-header {
  max-width: 660px;
  margin-bottom: 38px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9e7400;
  background-color: var(--accent-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 2 : SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background-color: var(--bg-white);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-dark);
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 3 : ZONE D'INTERVENTION
   ========================================================================== */
.zone-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.zone-note {
  margin-top: 14px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.zone-info .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.zone-cities-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.zone-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.zone-card-header svg {
  color: var(--accent-hover);
  flex-shrink: 0;
}

.zone-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.badge-provisoire {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.city-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 4 : GALERIE
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery-item {
  margin: 0;
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   SECTION 5 : CONTACT / CTA FINAL
   ========================================================================== */
.cta-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  position: relative;
}

.cta-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.cta-title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 54ch;
  margin-bottom: 30px;
}

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(245, 184, 0, 0.32);
  transition: transform var(--transition), background-color var(--transition);
  max-width: 100%;
}

.cta-phone-link:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

.cta-phone-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  color: var(--accent);
  flex-shrink: 0;
}

.cta-phone-number {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   SECTION 6 : FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b0c0e;
  color: var(--text-muted-light);
  padding-block: 48px 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 10px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-phone {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.86rem;
}

.legal-details summary {
  cursor: pointer;
  color: var(--text-light);
  font-weight: 600;
  display: inline-block;
}

.legal-details summary:hover {
  color: var(--accent);
}

.legal-content {
  margin-top: 12px;
  padding: 16px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   BARRE D'APPEL FIXE SUR MOBILE
   ========================================================================== */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 10px 14px;
  background: rgba(17, 19, 21, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-dark);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  background-color: var(--accent);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   ANIMATIONS DISCRÈTES AU DÉFILEMENT
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .btn,
  .service-card,
  .gallery-item,
  .gallery-img-wrap img,
  .cta-phone-link {
    transition: none;
  }
}

/* ==========================================================================
   RESPONSIVE : TABLETTE (>= 640px) & DESKTOP (>= 960px)
   ========================================================================== */
@media (min-width: 640px) {
  .hero-phone-btn {
    width: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .zone-info .btn {
    width: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .mobile-call-bar {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
  }

  .site-nav a:hover {
    color: var(--text-primary);
  }

  .section {
    padding-block: 88px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-block: 68px 80px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .zone-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
