/* ═══════════════════════════════════════════════════════════
   RENOV'ELEK — Feuille de style principale
   Charte : Navy #1D2B5F | Corail #F4534B | Blanc #FFFFFF
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --navy:      #1D2B5F;
  --navy-mid:  #263473;
  --navy-dark: #141d42;
  --coral:     #F4534B;
  --coral-dark:#d63e37;
  --white:     #ffffff;
  --light:     #f5f6fb;
  --grey:      #6b7280;
  --grey-light:#e5e7eb;
  --dark:      #111827;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(29, 43, 95, 0.10);
  --shadow-lg: 0 12px 48px rgba(29, 43, 95, 0.18);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; }

/* ─── Layout ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 16px;
  line-height: 1.15;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Badge / Tags ──────────────────────────────────────── */
.badge {
  display: inline-block;
  background: rgba(244, 83, 75, 0.10);
  color: var(--coral);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.badge--hero {
  background: rgba(244, 83, 75, 0.18);
  color: #ff8a85;
}

.badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn--primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 83, 75, 0.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(29, 43, 95, 0.10);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo — deux versions : blanc (sur fond sombre) et couleurs (scrolled) */
.nav__logo { flex-shrink: 0; }
.nav__logo-color { display: none; height: 38px; }
.nav__logo-white { display: block; height: 38px; }
.nav.scrolled .nav__logo-color { display: block; }
.nav.scrolled .nav__logo-white { display: none; }

.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav.scrolled .nav__links a { color: var(--grey); }
.nav.scrolled .nav__links a:hover { color: var(--navy); }

.nav__cta { flex-shrink: 0; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--navy); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  padding: 12px 28px 24px;
  box-shadow: 0 8px 32px rgba(29,43,95,0.12);
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  padding: 14px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-light);
  transition: color var(--transition);
}
.nav__mobile-link:hover { color: var(--coral); }
.nav__mobile-cta { margin-top: 20px; justify-content: center; }


/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Motif de points décoratifs */
.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.hero__content { display: flex; flex-direction: column; gap: 0; }

.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  text-transform: uppercase;
  margin: 20px 0 20px;
}

.hero__title-accent { color: var(--coral); }

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Bande de confiance */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 18px 24px;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  text-align: center;
}
.hero__trust-item:first-child { padding-left: 0; }
.hero__trust-item:last-child  { padding-right: 0; }

.hero__trust-item strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.hero__trust-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Visuel animé */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
}

.hero__circle--outer {
  width: 340px; height: 340px;
  background: rgba(244, 83, 75, 0.04);
  border: 1px solid rgba(244, 83, 75, 0.12);
  animation: spin-slow 20s linear infinite;
}

.hero__circle--mid {
  width: 250px; height: 250px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: spin-slow 15s linear infinite reverse;
}

.hero__circle--inner {
  width: 170px; height: 170px;
  background: rgba(244, 83, 75, 0.15);
  border: 2px solid rgba(244, 83, 75, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero__bolt {
  width: 80px;
  filter: brightness(0) invert(1);
  animation: bolt-flicker 4s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,83,75,0.3), 0 0 40px rgba(244,83,75,0.1); }
  50%       { box-shadow: 0 0 0 20px rgba(244,83,75,0), 0 0 70px rgba(244,83,75,0.25); }
}

@keyframes bolt-flicker {
  0%, 90%, 100% { opacity: 1; transform: scale(1); }
  92%           { opacity: 0.7; transform: scale(0.97); }
  95%           { opacity: 1; transform: scale(1.03); }
}

.hero__wave {
  position: relative;
  z-index: 1;
  margin-top: auto;
  line-height: 0;
}
.hero__wave svg { display: block; width: 100%; }


/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════ */
.services { background: var(--light); }

.services__featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--grey-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

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

.service-card__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(29, 43, 95, 0.05);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
  user-select: none;
}

.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(244, 83, 75, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--coral);
}

.service-card:hover .service-card__icon { background: rgba(244, 83, 75, 0.14); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card--featured {
  padding: 40px 36px;
}

.service-card__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 20px;
}

.service-card__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--grey);
}

.service-card__details li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

.service-card__tag {
  display: inline-block;
  background: var(--light);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}


/* ══════════════════════════════════════════════════════════
   ZONE D'INTERVENTION
   ══════════════════════════════════════════════════════════ */
.zone {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy), var(--navy-mid));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.zone__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.zone__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 20px;
}

.zone__content > p {
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.zone__cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
  margin-bottom: 28px;
}

.zone__cities li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.zone__cities li svg {
  width: 14px; height: 14px;
  fill: var(--coral);
  flex-shrink: 0;
}

.zone__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.50);
  font-style: italic;
}

/* Carte Leaflet */
.zone__map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.10);
}

#map {
  width: 100%;
  height: 420px;
}

.map-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  color: #2c3e6b !important;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff !important;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-label::before { display: none !important; }


/* ══════════════════════════════════════════════════════════
   ATOUTS
   ══════════════════════════════════════════════════════════ */
.atouts { background: var(--white); }

.atouts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.atout {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--light);
  transition: all var(--transition);
  border: 2px solid transparent;
}

.atout:hover {
  background: var(--white);
  border-color: var(--grey-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.atout__icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.atout__icon svg {
  width: 24px; height: 24px;
  stroke: var(--white);
}

.atout:hover .atout__icon { background: var(--coral); }

.atout h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.atout p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.65;
}


/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact {
  background: var(--light);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact__info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 16px 0 14px;
  line-height: 1.15;
}

.contact__info > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact__details { display: flex; flex-direction: column; gap: 24px; }

.contact__item { display: flex; gap: 16px; align-items: flex-start; }

.contact__item-icon {
  width: 42px; height: 42px;
  background: rgba(244, 83, 75, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-icon svg {
  width: 18px; height: 18px;
  stroke: var(--coral);
}

.contact__item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}

.contact__item a,
.contact__item span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.975rem;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.contact__item a:hover { color: var(--coral); }

/* Formulaire */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
}

.req { color: var(--coral); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(244, 83, 75, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: -8px;
}


/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo { height: 34px; margin-bottom: 16px; }

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 280px;
  line-height: 1.7;
}

.footer__links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-group strong {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.footer__links-group a,
.footer__links-group span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links-group a:hover { color: var(--coral); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.28);
  flex-wrap: wrap;
  gap: 8px;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .atouts__grid { grid-template-columns: repeat(2, 1fr); }
  .services__featured { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .hero {
    padding: 130px 0 0;
    min-height: auto;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 48px;
  }
  .hero__sub { margin: 0 auto 32px; }
  .hero__ctas { justify-content: center; }
  .hero__trust {
    margin: 0 auto;
    padding: 14px 16px;
  }
  .hero__trust-item { padding: 0 14px; }
  .hero__visual { display: none; }

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

  .zone__inner { grid-template-columns: 1fr; gap: 48px; }
  #map { height: 300px; }

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

  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact__info { position: static; }
  .contact__form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .nav__cta { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 480px) {
  .hero__trust {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero__trust-sep { display: none; }
  .hero__trust-item { padding: 0; }
  .zone__cities { grid-template-columns: 1fr; }
}
