/*
Theme Name: Kaloris
Theme URI: https://kaloris.fr
Author: Kaloris
Description: Thème officiel Kaloris – Chauffage, Climatisation, Sanitaire – Moselle (57). Charte bleu & jaune.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: kaloris
Tags: business, custom-logo, custom-menu, full-width-template, responsive-layout
*/

/* ============================================================
   VARIABLES CHARTE KALORIS
   ============================================================ */
:root {
  /* Couleurs principales */
  --blue-deep:    #1a4a8a;
  --blue-mid:     #2e7bc4;
  --blue-light:   #5ba3e0;
  --blue-pale:    #e8f2fb;
  --yellow:       #f5c518;
  --yellow-dark:  #d4a800;
  --yellow-light: #fff8d6;

  /* Fond & surfaces */
  --bg:           #f7f9fc;
  --bg-white:     #ffffff;
  --surface:      #eef4fb;
  --card:         #ffffff;
  --border:       #d0e2f4;

  /* Textes */
  --text-dark:    #0e2b54;
  --text-body:    #2c4a6e;
  --text-muted:   #6b8aaa;
  --text-white:   #ffffff;

  /* Typographie */
  --font-display: 'Raleway', 'Montserrat', sans-serif;
  --font-body:    'Source Sans 3', 'Open Sans', sans-serif;

  /* Effets */
  --radius:       10px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 12px rgba(26,74,138,0.08);
  --shadow-md:    0 6px 28px rgba(26,74,138,0.13);
  --shadow-lg:    0 16px 56px rgba(26,74,138,0.18);
  --shadow-glow:  0 0 40px rgba(245,197,24,0.25);
  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
  --max-w:        1220px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::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(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-deep); }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--text-body); line-height: 1.8; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section--sm{ padding: 3.5rem 0; }
.text-center{ text-align: center; }

/* ============================================================
   FOND ANIMÉ (parallax lent)
   ============================================================ */
.parallax-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(245,197,24,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 85% 75%, rgba(46,123,196,0.10) 0%, transparent 60%),
    linear-gradient(160deg, #f0f6ff 0%, #f7f9fc 45%, #fffdf0 100%);
  animation: bgDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bgDrift {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  33%  { transform: scale(1.03) translateX(-8px) translateY(-6px); }
  66%  { transform: scale(1.02) translateX(6px)  translateY(-10px); }
  100% { transform: scale(1.04) translateX(-4px) translateY(4px); }
}

/* Bulles décoratives flottantes */
.bubble {
  position: fixed;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
  animation: floatBubble var(--dur, 20s) ease-in-out infinite alternate;
}
.bubble--1 {
  width: 420px; height: 420px;
  background: var(--blue-mid);
  top: -80px; right: -100px;
  --dur: 22s;
}
.bubble--2 {
  width: 280px; height: 280px;
  background: var(--yellow);
  bottom: 10%; left: -60px;
  --dur: 17s;
  animation-delay: -5s;
}
.bubble--3 {
  width: 180px; height: 180px;
  background: var(--blue-deep);
  top: 45%; right: 8%;
  --dur: 25s;
  animation-delay: -9s;
}
@keyframes floatBubble {
  0%   { transform: translate(0, 0)     scale(1); }
  50%  { transform: translate(20px,-30px) scale(1.05); }
  100% { transform: translate(-15px, 20px) scale(0.97); }
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--blue-deep);
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245,197,24,0.55);
  color: var(--blue-deep);
}
.btn-secondary {
  background: var(--blue-deep);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--blue-mid);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-mid);
}
.btn-outline:hover {
  background: var(--blue-deep);
  color: white;
  border-color: var(--blue-deep);
}
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--blue-deep);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: white;
  color: var(--blue-deep);
  border-color: var(--blue-mid);
}

/* ============================================================
   BADGE / LABEL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border: 1.5px solid var(--yellow);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-mid);
  margin-bottom: 0.8rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-mid));
  border-radius: 2px;
}
.section-title { margin-bottom: 1rem; color: var(--text-dark); }
.section-title span { color: var(--blue-mid); }
.section-desc  { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
#site-header .header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Header transparent au top */
#site-header.at-top .header-inner {
  background: transparent;
}
/* Header solide au scroll */
#site-header.scrolled .header-inner {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition);
}
#site-header.scrolled .site-logo img { height: 44px; }

/* Nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.primary-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dark);
  border-radius: 50px;
  transition: all var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  background: var(--blue-pale);
  color: var(--blue-deep);
}

/* Nav links blancs quand header transparent (sur hero photo) */
#site-header.at-top .primary-nav a {
  color: rgba(255,255,255,0.85);
}
#site-header.at-top .primary-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}
#site-header.at-top .header-phone { color: white; }
#site-header.at-top .nav-toggle span { background: white; }
.header-phone {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO — Pleine largeur avec photo de fond
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
}

/* Photo de fond pleine largeur */
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}

/* Overlay dégradé : bleu profond à gauche → transparent à droite + assombrissement global */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(14, 43, 84, 0.88) 0%,
      rgba(26, 74, 138, 0.75) 40%,
      rgba(26, 74, 138, 0.35) 70%,
      rgba(10, 30, 60, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 30, 60, 0.3) 0%,
      transparent 40%,
      rgba(10, 30, 60, 0.5) 100%
    );
}

/* Vague décorative en bas */
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 90px;
  background: var(--bg);
  clip-path: ellipse(58% 100% at 50% 100%);
  z-index: 3;
}

/* Ligne décorative jaune en haut */
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-light), var(--yellow));
  z-index: 4;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 7rem 0 8rem;
  width: 100%;
}

/* Accroche */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--yellow);
  margin-bottom: 2.5rem;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.35);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* Titre : blanc sur fond sombre */
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(10,30,60,0.4);
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.8s 0.6s ease forwards;
}
@keyframes underlineIn { to { transform: scaleX(1); } }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(10,30,60,0.3);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Bouton secondaire adapté au fond sombre */
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  backdrop-filter: blur(8px);
}
.hero-actions .btn-secondary:hover {
  background: white;
  color: var(--blue-deep);
  border-color: white;
}

/* Stats hero : texte blanc */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(245,197,24,0.4);
}
.stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* Colonne droite : cartes service flottantes */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Carte service flottante (remplacement de l'image droite) */
.hero-scard {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}
.hero-scard:nth-child(1) { animation-delay: 0.2s; }
.hero-scard:nth-child(2) { animation-delay: 0.35s; }
.hero-scard:nth-child(3) { animation-delay: 0.5s; }
.hero-scard:nth-child(4) { animation-delay: 0.65s; }
@keyframes slideInRight {
  from { opacity:0; transform: translateX(30px); }
  to   { opacity:1; transform: translateX(0); }
}
.hero-scard:hover {
  background: rgba(245,197,24,0.18);
  border-color: rgba(245,197,24,0.6);
  transform: translateX(-4px);
}
.hero-scard .sci {
  font-size: 1.8rem;
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.hero-scard .sct h4 {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.1rem;
}
.hero-scard .sct p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* Badge RGE flottant en bas de la colonne droite */
.hero-float-badge {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
  animation: floatCard 4s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.hero-float-badge .fbi { font-size: 1.6rem; }
.hero-float-badge .fbt { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--text-dark); }
.hero-float-badge .fbsub { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: var(--blue-deep);
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.trust-item .ti-icon { font-size: 1.1rem; }
.trust-item .ti-dot {
  display: block;
  width: 4px; height: 4px;
  background: var(--yellow);
  border-radius: 50%;
}
.trust-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: transparent; }

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.service-card:hover::after { transform: scaleX(1); }

.svc-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.9);
}
.service-card:hover .svc-img img { transform: scale(1.07); filter: saturate(1.1); }

.svc-body { padding: 1.75rem; }
.svc-icon-wrap {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--yellow-light), var(--blue-pale));
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.svc-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.svc-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.svc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}
.svc-features li {
  font-size: 0.8rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.svc-features li::before {
  content: '✓';
  color: var(--blue-mid);
  font-weight: 800;
  font-size: 0.75rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  transition: gap var(--transition);
}
.svc-link:hover { gap: 0.8rem; color: var(--blue-deep); }

/* ============================================================
   À PROPOS
   ============================================================ */
#about {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0e2b54 100%);
  position: relative;
  overflow: hidden;
  color: white;
}
#about::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,197,24,0.12) 0%, transparent 70%);
  pointer-events: none;
}
#about::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(46,123,196,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(245,197,24,0.45);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
  display: block;
}
.about-badge-txt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-deep);
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* Texte about */
.about-label { color: var(--yellow); }
.about-label::before { background: linear-gradient(90deg, var(--yellow), rgba(245,197,24,0.4)); }
.about-title { color: white; margin-bottom: 1.5rem; }
.about-lead  { color: rgba(255,255,255,0.75); font-size: 1.1rem; line-height: 1.8; margin-bottom: 1rem; }
.about-body  { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }

.about-features { display: flex; flex-direction: column; gap: 1.4rem; }
.about-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about-feat-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(245,197,24,0.12);
  border: 1.5px solid rgba(245,197,24,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.about-feat h4 { font-size: 0.9rem; color: white; margin-bottom: 0.2rem; }
.about-feat p  { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin: 0; }

/* ============================================================
   CONTRATS
   ============================================================ */
#contracts { background: transparent; }
.contracts-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.contract-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.contract-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.contract-card.featured {
  border-color: var(--yellow);
  background: linear-gradient(160deg, var(--yellow-light) 0%, white 60%);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: scale(1.04);
}
.contract-card.featured:hover { transform: scale(1.04) translateY(-5px); }

.contract-pop {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245,197,24,0.4);
}
.contract-type {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contract-name {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.contract-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border);
}
.contract-price .amt {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
}
.contract-price .per { font-size: 0.78rem; color: var(--text-muted); }
.contract-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.contract-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
}
.contract-feats .ck { color: var(--blue-mid); font-weight: 800; font-size: 0.8rem; margin-top: 0.1rem; }
.contract-feats .cx { color: var(--border); font-weight: 800; font-size: 0.8rem; margin-top: 0.1rem; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
#certifications {
  background: var(--blue-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.certs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}
.cert-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  min-width: 150px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.cert-item:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.cert-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cert-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cert-sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
#testimonials { background: transparent; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testi-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.testi-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testi-quote {
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: var(--yellow);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  opacity: 0.5;
}
.stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 0.8rem; }
.testi-text { font-size: 0.9rem; color: var(--text-body); line-height: 1.75; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 800;
  color: white; flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.testi-loc { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
#cta-band::before {
  content: '';
  position: absolute;
  top: -60%; right: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-band-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
}
.cta-band-inner h2 { color: var(--blue-deep); margin-bottom: 0.6rem; }
.cta-band-inner p  { color: var(--blue-deep); opacity: 0.75; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }

/* ============================================================
   ZONE
   ============================================================ */
#zone { background: transparent; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.zone-cities { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 2rem; }
.zone-city {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem; color: var(--text-body);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.zone-city:hover { border-color: var(--blue-mid); color: var(--blue-deep); transform: translateX(4px); }
.zone-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--blue-mid)); flex-shrink: 0; }
.zone-map-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.zone-map-placeholder { text-align: center; padding: 2rem; }
.zone-map-placeholder .map-emoji { font-size: 4rem; margin-bottom: 0.75rem; opacity: 0.4; }
.zone-map-placeholder p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: linear-gradient(160deg, var(--blue-pale) 0%, white 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.3rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-dark); margin: 0; }

.contact-form {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: white;
  box-shadow: 0 0 0 3px rgba(46,123,196,0.12);
}
.form-group textarea { min-height: 110px; resize: vertical; }
#form-message {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); max-width: 240px; line-height: 1.65; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-contact-row { display: flex; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 0.7rem; align-items: flex-start; }
.footer-contact-row a { color: rgba(255,255,255,0.55); }
.footer-contact-row a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--yellow); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Back to top */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--blue-deep);
  border: none; font-size: 1.2rem; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,197,24,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  transform: translateY(8px);
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2,1fr); }
  .contracts-grid  { grid-template-columns: repeat(2,1fr); }
  .contract-card.featured { transform: none; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .hero-inner      { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .hero-inner      { grid-template-columns: 1fr; padding: 5rem 0 6rem; }
  .hero-right      { display: none; }
  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge     { position: static; display: inline-block; margin-top: 1.5rem; }
  .zone-grid       { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .cta-band-inner  { grid-template-columns: 1fr; }
  .cta-actions     { align-items: flex-start; }
  .services-grid   { grid-template-columns: 1fr; }
  .contracts-grid  { grid-template-columns: 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
  .primary-nav     { display: none; }
  .nav-toggle      { display: flex; }
  .primary-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 1rem; }
  .primary-nav.open ul { flex-direction: column; gap: 0; }
  .primary-nav.open a { border-radius: var(--radius); color: var(--text-dark); }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .services-intro  { flex-direction: column; align-items: flex-start; }
  .hero-cards      { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section   { padding: 4rem 0; }
  .trust-divider { display: none; }
  .trust-bar-inner { justify-content: flex-start; gap: 0.75rem; }
}
