/* ============================================
   COM PLUS — Style v3 (Conversion-focused)
   Police : Outfit | Palette : Navy + Orange
   ============================================ */

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

:root {
  --navy:    #1c1c1e;   /* anthracite Apple */
  --navy2:   #141414;   /* anthracite plus foncé */
  --orange:  #2563eb;   /* bleu électrique */
  --orange2: #1d4ed8;
  --green:   #10b981;
  --blue:    #2563eb;
  --bg:      #f8f9fb;   /* blanc froid */
  --white:   #ffffff;
  --text:    #111827;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --r:       12px;
  --r-lg:    20px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 28px;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 13px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: .5px; }
.brand strong { color: var(--orange); }
.brand-icon { font-size: 1.1rem; }

.nav-phone {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 0.9rem;
  padding: 10px 22px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  transition: transform .2s, box-shadow .2s;
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(37,99,235,.55); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  min-height: 100vh;
  padding: 0 28px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* Décoration géométrique fond */
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse 80% 70% at 100% 50%, rgba(37,99,235,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange), var(--orange));
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 22px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  color: #fff; letter-spacing: -.5px; margin-bottom: 22px;
}
h1 span { color: var(--orange); display: block; }

.hero-left > p { font-size: 1.02rem; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 440px; margin-bottom: 36px; }

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .97rem;
  padding: 15px 28px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,99,235,.4);
  transition: transform .2s, box-shadow .2s;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,99,235,.55); }
.btn-primary.btn-xl { font-size: 1.1rem; padding: 17px 36px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15); font-weight: 600; font-size: .95rem;
  padding: 14px 24px; border-radius: 50px; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero-trust { display: flex; align-items: center; gap: 20px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: .95rem; font-weight: 800; color: #fff; }
.trust-item span { font-size: .7rem; color: rgba(255,255,255,.45); }
.trust-sep { width: 1px; height: 28px; background: rgba(255,255,255,.12); }

/* ---- Soleil CSS ---- */
.hero-right { display: flex; align-items: center; justify-content: center; }
.solar-visual { position: relative; width: 380px; height: 380px; }

.sun {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.sun-core {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, #93c5fd, var(--orange));
  box-shadow: 0 0 60px rgba(37,99,235,.6), 0 0 120px rgba(37,99,235,.2);
  transform: translate(-50%, -50%);
}
.sun-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 2px solid rgba(37,99,235,.2); transform: translate(-50%, -50%);
}
.sun-ring-1 { width: 180px; height: 180px; border-color: rgba(37,99,235,.18); animation: ringpulse 3s ease-in-out infinite; }
.sun-ring-2 { width: 250px; height: 250px; border-color: rgba(37,99,235,.1); animation: ringpulse 3s ease-in-out infinite .5s; }
@keyframes ringpulse { 0%,100%{ transform:translate(-50%,-50%) scale(1); opacity:.8; } 50%{ transform:translate(-50%,-50%) scale(1.04); opacity:.4; } }

.sun-rays {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
}
.sun-rays span {
  position: absolute; display: block;
  width: 3px; height: 40px; background: linear-gradient(to bottom, rgba(37,99,235,.5), transparent);
  border-radius: 2px; transform-origin: 50% 0;
  top: -160px; left: -1.5px;
  animation: rayrot 12s linear infinite;
}
.sun-rays span:nth-child(1) { transform: rotate(0deg); }
.sun-rays span:nth-child(2) { transform: rotate(45deg); }
.sun-rays span:nth-child(3) { transform: rotate(90deg); }
.sun-rays span:nth-child(4) { transform: rotate(135deg); }
.sun-rays span:nth-child(5) { transform: rotate(180deg); }
.sun-rays span:nth-child(6) { transform: rotate(225deg); }
.sun-rays span:nth-child(7) { transform: rotate(270deg); }
.sun-rays span:nth-child(8) { transform: rotate(315deg); }
@keyframes rayrot { from { filter: opacity(.6); } to { filter: opacity(.6); transform-origin: 50% 0; } }

/* Cards flottantes */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  min-width: 160px;
}
.float-card-1 { top: 16%; right: -10%; animation: fc1 4s ease-in-out infinite; }
.float-card-2 { bottom: 26%; left: -5%;  animation: fc1 5s ease-in-out infinite .8s; }
.float-card-3 { bottom: 8%;  right: 5%;  animation: fc1 6s ease-in-out infinite 1.5s; }
@keyframes fc1 { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

.fc-icon { font-size: 1.4rem; flex-shrink: 0; }
.fc-val  { font-size: .95rem; font-weight: 800; color: #fff; }
.fc-lbl  { font-size: .68rem; color: rgba(255,255,255,.5); }

/* ===== SERVICES ===== */
.services { background: #fff; padding: 100px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2, .why-left h2, .zone-inner h2, .contact-inner h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; color: var(--text); line-height: 1.15; letter-spacing: -.3px;
}

.label {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); background: rgba(37,99,235,.08); border: 1.5px solid rgba(37,99,235,.2);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 14px;
}
.label-light { color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

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

.svc {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(37,99,235,.12); border-color: rgba(37,99,235,.3); }

.svc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px 16px;
}

.svc-ico { font-size: 2rem; }
.svc-num { font-size: .72rem; font-weight: 800; color: var(--border); }

.svc-body { padding: 0 24px 20px; flex: 1; }
.svc-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.2; }
.svc-body p  { font-size: .86rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.svc-body ul { list-style: none; display: flex; flex-direction: column; gap: 7px; padding-top: 14px; border-top: 1px solid var(--border); }
.svc-body ul li { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.svc-body ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

.svc-cta {
  display: block; text-align: center; padding: 14px;
  font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--orange);
  border-top: 1px solid var(--border); transition: background .2s;
  margin-top: auto;
}
.svc-cta:hover { background: rgba(37,99,235,.05); }

/* ===== POURQUOI ===== */
.why { background: var(--navy); padding: 100px 0; }
.why-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.why-left h2 { color: #fff; margin-bottom: 14px; }
.why-left > p:not(.label) { font-size: .95rem; color: rgba(255,255,255,.5); line-height: 1.8; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wcard {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r);
  padding: 20px; transition: transform .2s, border-color .2s;
}
.wcard:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.15); }
.wcard-ico { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 12px; }
.wcard h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.wcard p  { font-size: .8rem;  color: rgba(255,255,255,.45); line-height: 1.55; }

/* ===== ZONE ===== */
.zone { background: #fff; padding: 80px 0; }
.zone-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.zone-inner h2 { margin-bottom: 12px; }
.zone-inner > p { font-size: .95rem; color: var(--muted); margin-bottom: 32px; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.towns span {
  font-size: .82rem; color: var(--muted); background: var(--bg);
  border: 1.5px solid var(--border); padding: 7px 18px; border-radius: 50px;
  transition: all .2s; cursor: default; font-weight: 500;
}
.towns span:hover { background: rgba(37,99,235,.07); border-color: rgba(37,99,235,.3); color: var(--orange); }

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12), transparent 65%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.contact-inner > p { color: rgba(255,255,255,.5); font-size: .95rem; margin-bottom: 36px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 24px; }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.2); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 50px; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }

.contact-address { font-size: .8rem; color: rgba(255,255,255,.3); margin-top: 16px; }

/* ===== FOOTER ===== */
footer { background: #0a0a0a; padding: 28px 28px 90px; text-align: center; border-top: 1px solid rgba(255,255,255,.05); }
footer p { font-size: .8rem; color: #334155; line-height: 2; }
footer strong { color: rgba(255,255,255,.5); }
footer a { color: #374151; text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; }
.footer-copy { font-size: .73rem; color: #1f2937; }

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-weight: 800; font-size: .95rem;
  padding: 14px 30px; border-radius: 50px; text-decoration: none; z-index: 999;
  box-shadow: 0 8px 28px rgba(37,99,235,.5); white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 100px 0 60px; }
  .hero-right  { display: none; }
  h1 { font-size: 2.4rem; }
  .hero-left > p { max-width: 100%; }
  .svc-grid    { grid-template-columns: 1fr; }
  .why-inner   { grid-template-columns: 1fr; gap: 48px; }
  .why-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .sticky-cta   { display: block; }
  footer        { padding-bottom: 100px; }
  .why-grid     { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .services, .why, .zone, .contact { padding: 72px 0; }
  .hero { padding: 0 20px; }
}
