
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1B2D50;
  --navy-deep: #0F1C33;
  --navy-light: #2A4270;
  --ice: #E8F0FE;
  --ice-soft: #F4F7FB;
  --frost: #B8D4F0;
  --accent: #3D7DD9;
  --accent-light: #5A9BF0;
  --cyan: #67D4E8;
  --green: #22C55E;
  --orange: #F59E0B;
  --white: #FFFFFF;
  --gray-200: #E9ECF0;
  --gray-400: #9CA7B5;
  --gray-600: #5D6A78;
  --gray-800: #2C3640;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); line-height: 1.15; }

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(27,45,80,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 20px rgba(27,45,80,0.08); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.02em; }
.nav-logo-sub { font-size: 0.65rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--gray-600); text-decoration: none; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--navy); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; transform: scaleX(0); transition: transform 0.25s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600 !important; font-size: 0.8rem !important; transition: background 0.2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-light) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 32px; position: relative; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); position: absolute; left: 5px; transition: 0.3s; border-radius: 2px; }
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #23407A 100%);
  color: var(--white);
}
/* Flocons animés */
.snowflakes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.snowflake {
  position: absolute; top: -30px;
  color: rgba(184,212,240,0.25); font-size: 14px;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(360deg); }
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,125,217,0.25) 0%, transparent 65%);
  top: -200px; right: -150px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(103,212,232,0.12) 0%, transparent 65%);
  bottom: -150px; left: -100px; pointer-events: none;
}

.hero-grid {
  max-width: 1200px; margin: 0 auto; padding: 8rem 2rem 4rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--white); }
.hero-content h1 span { color: var(--accent-light); }
.hero-content > p { font-size: 1.08rem; color: var(--frost); max-width: 480px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 20px rgba(61,125,217,0.4); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-white { background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.22); backdrop-filter: blur(10px); }
.btn-white:hover { background: rgba(255,255,255,0.18); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 4px 20px rgba(27,45,80,0.25); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }

/* Illustration hero : climatiseur */
.hero-visual { display: flex; justify-content: center; }
.hero-illu { width: 100%; max-width: 480px; }

.hero-stats {
  display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.hstat {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 0.9rem 1.4rem; text-align: center;
  backdrop-filter: blur(10px);
}
.hstat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--white); }
.hstat span { font-size: 0.7rem; color: var(--frost); }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1.5rem 2rem; }
.trust-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.trust-item span { font-size: 0.85rem; font-weight: 500; color: var(--gray-600); }
.trust-item strong { color: var(--navy); }

/* ─── SECTIONS ─── */
section { padding: 6rem 2rem; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ─── SERVICES ─── */
#services { background: var(--ice-soft); }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid rgba(27,45,80,0.06);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(27,45,80,0.12); }
.service-illu {
  height: 170px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.service-illu svg { width: 100%; height: 100%; }
.service-body { padding: 1.75rem; }
.service-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-body p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* ─── SIMULATEUR ─── */
#simulateur { background: var(--white); }
.sim-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.sim-form-card { background: var(--ice-soft); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2.5rem; }
.sim-form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.sim-form-card > p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 2rem; }
.sim-group { margin-bottom: 1.5rem; }
.sim-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.sim-group input, .sim-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; background: var(--white);
  transition: border-color 0.2s; color: var(--gray-800);
}
.sim-group input:focus, .sim-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,125,217,0.1); }
.sim-range-val { display: flex; justify-content: space-between; align-items: center; margin-top: 0.3rem; }
.sim-range-val span { font-size: 0.75rem; color: var(--gray-400); }
.sim-range-val strong { font-size: 1rem; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--gray-200); outline: none; border: none; padding: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 2px 8px rgba(61,125,217,0.3); }
.sim-results { background: var(--navy-deep); border-radius: var(--radius); padding: 2.5rem; color: var(--white); position: relative; overflow: hidden; }
.sim-results::before {
  content: '❄'; position: absolute; font-size: 10rem; opacity: 0.03;
  right: -20px; bottom: -30px; pointer-events: none;
}
.sim-results h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 2rem; }
.sim-result-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.5rem; margin-bottom: 1rem; text-align: center; }
.sim-result-card .sim-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: 0.2rem; }
.sim-result-card .sim-label { font-size: 0.8rem; color: var(--frost); }
.sim-val-green { color: var(--green); }
.sim-val-orange { color: var(--orange); }
.sim-val-blue { color: var(--accent-light); }
.sim-note { font-size: 0.72rem; color: var(--gray-400); margin-top: 1.5rem; line-height: 1.5; text-align: center; }
.sim-cta { margin-top: 1.5rem; text-align: center; }

/* ─── EXPERTISE ─── */
#expertise { background: var(--navy-deep); color: var(--white); position: relative; overflow: hidden; }
#expertise .section-header h2 { color: var(--white); }
#expertise .section-header p { color: var(--frost); }
#expertise .eyebrow { color: var(--accent-light); }
.expertise-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.expertise-list { display: flex; flex-direction: column; gap: 1.25rem; }
.expertise-item {
  display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); transition: background 0.3s;
}
.expertise-item:hover { background: rgba(255,255,255,0.08); }
.expertise-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; background: rgba(90,155,240,0.12); display: flex; align-items: center; justify-content: center; }
.expertise-icon svg { width: 20px; height: 20px; color: var(--accent-light); }
.expertise-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.expertise-item p { font-size: 0.82rem; color: var(--frost); line-height: 1.55; }
.expertise-visual { display: flex; justify-content: center; }
.expertise-visual svg { width: 100%; max-width: 440px; }

/* ─── CARTE LUDOVIC (section Expertise) ─── */
.ludovic-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  max-width: 380px; width: 100%;
  backdrop-filter: blur(10px);
  text-align: center;
}
.ludovic-badge {
  position: absolute; top: -14px; right: 20px;
  background: #22C55E; color: #fff;
  padding: 0.4rem 1rem; border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(34,197,94,0.35);
}
.ludovic-photo {
  width: 180px; height: 180px;
  border-radius: 50%; overflow: hidden;
  margin: 0.5rem auto 1.5rem;
  border: 4px solid rgba(90,155,240,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.ludovic-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  display: block;
}
.ludovic-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  letter-spacing: -0.01em; margin-bottom: 0.25rem;
}
.ludovic-role {
  font-size: 0.85rem; color: #5A9BF0; font-weight: 500;
  margin-bottom: 1.25rem;
}
.ludovic-quote {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic; font-size: 1rem;
  color: #B8D4F0; line-height: 1.55;
  margin: 0; padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: none;
}

@media (max-width: 700px) {
  .ludovic-card { padding: 1.75rem 1.25rem; max-width: 320px; }
  .ludovic-photo { width: 150px; height: 150px; }
  .ludovic-name { font-size: 1.2rem; }
  .ludovic-quote { font-size: 0.95rem; }
}

/* ─── ENGAGEMENTS ─── */
.guarantees-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.guarantee-item { text-align: center; }
.guarantee-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--ice); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.guarantee-icon svg { width: 28px; height: 28px; color: var(--navy); }
.guarantee-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.guarantee-item p { font-size: 0.8rem; color: var(--gray-600); line-height: 1.5; }

/* ─── VILLES ─── */
.ville-tag {
  display: inline-block; padding: 0.5rem 1.1rem;
  background: var(--ice-soft); border: 1px solid var(--gray-200);
  border-radius: 50px; font-size: 0.82rem; font-weight: 500;
  color: var(--gray-600); font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s;
}
.ville-tag:hover { background: var(--ice); border-color: var(--accent); color: var(--navy); }

/* ─── FAQ ─── */
#faq { background: var(--ice-soft); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid rgba(27,45,80,0.06); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; color: var(--navy);
  background: none; border: none; width: 100%; text-align: left; gap: 1rem;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--ice-soft); }
.faq-q svg { width: 18px; height: 18px; color: var(--gray-400); transition: transform 0.3s; min-width: 18px; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; padding: 0 1.5rem; font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 1.5rem 1.25rem; }

/* ─── CONTACT ─── */
#contact { background: var(--white); }
.contact-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block { background: var(--ice-soft); border: 1px solid rgba(27,45,80,0.06); border-radius: var(--radius); padding: 1.75rem; }
.contact-block h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-block h4 svg { width: 18px; height: 18px; color: var(--accent); }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.88rem; color: var(--gray-600); }
.contact-detail svg { width: 16px; height: 16px; color: var(--gray-400); min-width: 16px; }
.contact-detail a { color: var(--accent); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.contact-map { width: 100%; height: 190px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-form-card { background: var(--ice-soft); border: 1px solid rgba(27,45,80,0.06); border-radius: var(--radius); padding: 2.5rem; }
.contact-form-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-form-card > p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s; background: var(--white); color: var(--gray-800);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,125,217,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 0.95rem; margin-top: 0.5rem; }

/* ─── FOOTER ─── */
footer { background: var(--navy-deep); color: var(--frost); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-brand-text .footer-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); }
.footer-brand-text .footer-sub { font-size: 0.7rem; color: var(--gray-400); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--frost); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: 0.7rem; color: var(--gray-400); text-align: right; max-width: 300px; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.75rem; color: var(--gray-400); text-align: center; }

/* ─── CHATBOT ─── */
.chat-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--navy); cursor: pointer;
  box-shadow: 0 8px 30px rgba(27,45,80,0.35);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(27,45,80,0.45); }
.chat-bubble img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.chat-bubble::after {
  content: ''; position: absolute; bottom: 4px; right: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #22C55E; border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.chat-teaser {
  position: fixed; bottom: 30px; right: 108px; z-index: 1000;
  background: #fff; padding: 0.7rem 1.1rem 0.7rem 0.9rem; border-radius: 20px 20px 4px 20px;
  box-shadow: 0 6px 24px rgba(27,45,80,0.18);
  font-size: 0.82rem; color: var(--gray-800); font-weight: 500;
  max-width: 260px;
  animation: slideIn 0.4s ease-out;
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
}
.teaser-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.chat-teaser::after {
  content: '×'; position: absolute; top: 2px; right: 8px;
  color: var(--gray-400); font-size: 1.1rem;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.chat-window {
  position: fixed; bottom: 108px; right: 24px; z-index: 1000;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27,45,80,0.25);
  display: none; flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  animation: chatOpen 0.28s ease-out;
}
.chat-window.open { display: flex; }
@keyframes chatOpen {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-header-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.chat-header-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.92rem; margin-bottom: 2px;
}
.chat-header-status {
  font-size: 0.72rem; color: var(--frost);
  display: flex; align-items: center; gap: 5px;
}
.chat-header-status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}
.chat-close {
  background: rgba(255,255,255,0.12); border: none;
  width: 30px; height: 30px; border-radius: 8px; color: #fff;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
  transition: background 0.2s;
}
.chat-close:hover { background: rgba(255,255,255,0.22); }

.chat-body {
  flex: 1; overflow-y: auto; padding: 1.25rem 1rem;
  background: var(--ice-soft);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.chat-msg {
  max-width: 85%; padding: 0.7rem 0.95rem;
  border-radius: 14px; font-size: 0.87rem; line-height: 1.5;
  animation: msgIn 0.25s ease-out;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: #fff; color: var(--gray-800);
  align-self: flex-start; border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(27,45,80,0.05);
}
.chat-msg.user {
  background: var(--accent); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-msg strong { color: var(--navy); font-weight: 700; }
.chat-msg.user strong { color: #fff; }
.chat-msg p { margin: 0 0 0.5rem; }
.chat-msg p:last-child { margin: 0; }
.chat-msg ul { margin: 0.3rem 0 0.3rem 1rem; padding: 0; font-size: 0.85rem; }
.chat-msg li { margin-bottom: 0.2rem; }

.chat-typing {
  display: flex; gap: 4px; padding: 0.9rem 1rem;
  background: #fff; border-radius: 14px; border-bottom-left-radius: 4px;
  align-self: flex-start; box-shadow: 0 1px 3px rgba(27,45,80,0.05);
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-400); animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-actions {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0 0.25rem;
}
.chat-chip {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 0.5rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; color: var(--navy); font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.chat-chip:hover { background: var(--ice); border-color: var(--accent); color: var(--accent); }

.chat-cta {
  display: flex; gap: 0.5rem; margin-top: 0.5rem;
}
.chat-cta a {
  flex: 1; text-align: center;
  padding: 0.7rem; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
}
.chat-cta .cta-call { background: var(--navy); color: #fff; }
.chat-cta .cta-call:hover { background: var(--navy-light); }
.chat-cta .cta-form {
  background: #fff; color: var(--navy); border: 1.5px solid var(--gray-200);
}
.chat-cta .cta-form:hover { border-color: var(--accent); color: var(--accent); }

.chat-footer {
  padding: 0.7rem 1rem; background: #fff;
  border-top: 1px solid var(--gray-200);
  font-size: 0.7rem; color: var(--gray-400); text-align: center;
}
.chat-footer strong { color: var(--gray-600); }

@media (max-width: 600px) {
  .chat-bubble { width: 56px; height: 56px; bottom: 14px; right: 14px; border-width: 2px; }
  .chat-window {
    position: fixed;
    bottom: 80px; right: 12px; left: 12px;
    width: auto; max-width: none;
    height: 70vh; max-height: 520px;
    border-radius: 18px;
  }
  .chat-teaser { display: none; }
  .chat-header { padding: 0.75rem 0.9rem; }
  .chat-header-avatar { width: 38px; height: 38px; }
  .chat-header-name { font-size: 0.9rem; }
  .chat-body { padding: 0.9rem 0.8rem; gap: 0.6rem; }
  .chat-msg { max-width: 88%; font-size: 0.85rem; padding: 0.6rem 0.85rem; }
  .chat-chip { font-size: 0.76rem; padding: 0.45rem 0.85rem; }
  .chat-cta a { font-size: 0.76rem; padding: 0.65rem; }
  .chat-footer { padding: 0.6rem 0.8rem; font-size: 0.68rem; }
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem; gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .hero-grid { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-content { text-align: center; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illu { max-width: 320px; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; }
  .sim-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-visual { order: -1; }
  .expertise-visual svg { max-width: 320px; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { text-align: center; max-width: 100%; }
}
@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  .guarantees-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: center; gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}


/* ─── PAGES INTERNES (villes / services) ─── */
.page-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,125,217,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 900px; margin: 0 auto; position: relative; z-index: 1; text-align: center;
}
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.page-hero h1 span { color: var(--accent-light); }
.page-hero-desc {
  font-size: 1.05rem; color: var(--frost); max-width: 640px; margin: 0 auto 2rem;
  line-height: 1.7;
}
.page-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.page-hero-actions .btn-outline {
  background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25);
}
.page-hero-actions .btn-outline:hover { background: rgba(255,255,255,0.18); border-color: var(--white); }

.page-info {
  padding: 3rem 2rem; background: var(--ice-soft);
}
.page-info-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; text-align: center;
  border: 1px solid rgba(27,45,80,0.06);
}
.info-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.info-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--gray-600); font-weight: 600; }
.info-card p { font-size: 1rem; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 0.25rem; }

.page-content { padding: 4rem 2rem; background: var(--white); }
.page-content-inner { max-width: 900px; margin: 0 auto; }
.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0 1rem; letter-spacing: -0.02em;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  color: var(--gray-800); line-height: 1.75; margin-bottom: 1rem; font-size: 1rem;
}

.services-grid-simple {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0;
}
.service-link {
  display: block; padding: 1.5rem;
  background: var(--ice-soft); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); text-decoration: none;
  transition: all 0.25s;
}
.service-link:hover {
  background: var(--ice); border-color: var(--accent);
  transform: translateY(-2px);
}
.service-link h4 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--navy); }
.service-link p { font-size: 0.85rem; color: var(--gray-600); margin: 0; }

.types-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0;
}
.type-item {
  background: var(--ice-soft); border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem; border-radius: var(--radius-sm);
}
.type-item h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.type-item p { font-size: 0.88rem; color: var(--gray-600); margin: 0; line-height: 1.55; }

.avantages-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  margin: 1.5rem 0;
}
.avantages-list li {
  background: var(--white); padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--gray-800);
  position: relative; padding-left: 2.25rem;
}
.avantages-list li::before {
  content: '✓'; position: absolute; left: 0.85rem; top: 0.85rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}

.page-cta {
  margin: 3rem 0 1rem; padding: 2.5rem;
  background: linear-gradient(135deg, var(--ice-soft) 0%, var(--ice) 100%);
  border-radius: var(--radius); text-align: center;
}
.page-cta h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.page-cta p { color: var(--gray-600); margin-bottom: 1.5rem; }
.page-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 700px) {
  .page-hero { padding: 6.5rem 1.25rem 3rem; }
  .page-info { padding: 2rem 1.25rem; }
  .page-info-grid { grid-template-columns: 1fr; }
  .page-content { padding: 2.5rem 1.25rem; }
  .services-grid-simple { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .avantages-list { grid-template-columns: 1fr; }
  .page-cta { padding: 1.75rem 1.25rem; }
}

/* ─── BLOG ─── */
.article-body h2 {
  color: var(--navy); font-size: 1.5rem; font-weight: 800;
  margin: 2.5rem 0 1rem; letter-spacing: -0.02em;
}
.article-body h3 {
  color: var(--navy); font-size: 1.15rem; font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}
.article-body p {
  margin-bottom: 1rem; line-height: 1.75; color: var(--gray-800);
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem; line-height: 1.75;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body a:not(.btn) { color: var(--accent); }
.article-body a.btn.btn-primary { color: #ffffff !important; }
.article-body a.btn.btn-outline { color: var(--navy) !important; }
.page-cta .btn.btn-primary, .page-cta a.btn-primary { color: #ffffff !important; }
.page-cta .btn.btn-outline, .page-cta a.btn-outline { color: var(--navy) !important; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body em { color: var(--gray-600); }

.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.blog-card, .blog-card:visited, .blog-card:link {
  background: var(--white); border: 1px solid rgba(27,45,80,0.08);
  border-radius: var(--radius); padding: 2rem;
  text-decoration: none; color: var(--gray-800);
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.blog-card * { text-decoration: none; }
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,45,80,0.1);
  border-color: var(--accent);
}
.blog-card-date {
  font-size: 0.75rem; color: var(--gray-400); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.75rem; letter-spacing: -0.01em; line-height: 1.35;
}
.blog-card p {
  font-size: 0.9rem; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 1.25rem; flex: 1;
}
.blog-card-link {
  color: var(--accent); font-weight: 600; font-size: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 1.5rem; }
}
