/* ============================================================
   ISICLIMA — Design System (Light Mode)
   L'Atelier de Zac
   ============================================================ */

:root {
  --blue:         #0071BC;
  --blue-dark:    #005a96;
  --blue-light:   #E8F4FD;
  --blue-mid:     #2ea3f2;
  --blue-08:      rgba(0,113,188,0.08);
  --blue-15:      rgba(0,113,188,0.15);
  --blue-20:      rgba(0,113,188,0.20);
  --blue-30:      rgba(0,113,188,0.30);
  --green:        #27AE60;
  --green-10:     rgba(39,174,96,0.10);
  --green-20:     rgba(39,174,96,0.20);
  --orange:       #E67E22;
  --orange-10:    rgba(230,126,34,0.10);
  --gold:         #F59E0B;
  --dark:         #1a1a2e;
  --text:         #2d2d2d;
  --text-light:   #666666;
  --muted:        #999999;
  --border:       #e5e5e5;
  --bg:           #fafbfc;
  --bg-alt:       #f4f6f8;
  --bg-dark:      #1C2B3A;
  --nav-bg:       rgba(250,251,252,0.97);
  --white-10:     rgba(255,255,255,0.10);
  --white-30:     rgba(255,255,255,0.30);
  --white-50:     rgba(255,255,255,0.50);
  --white-65:     rgba(255,255,255,0.65);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.15);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --font-main:    'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Scroll smooth seulement si l'utilisateur ne préfère pas les animations réduites */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
/* Focus visible global — WCAG 2.4.7 */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  backdrop-filter: blur(8px);
}
.navbar.scrolled { box-shadow: var(--shadow-md); padding: 0.55rem 0; }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Logo image */
.nav-logo-img { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img img { height: 52px; width: auto; display: block; }
/* Logo texte (fallback) */
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-isi { color: var(--text); }
.logo-clima { color: var(--blue); }
/* Liens */
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links > li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links > li > a:hover { color: var(--blue); }
/* "Nos services" est un button (non-cliquable comme un lien) */
.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-has-dropdown.dropdown-open .nav-dropdown-trigger { color: var(--blue); }

.nav-active { color: var(--blue) !important; font-weight: 600 !important; }
/* CTA nav */
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,113,188,0.3) !important; }
/* Dropdown — piloté par JS (.dropdown-open) */
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 200;
  list-style: none;
}
.nav-has-dropdown.dropdown-open .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown { display: flex; }
.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-light);
  transition: all 0.15s;
  font-weight: 500;
}
.nav-dropdown li a:hover { color: var(--blue); background: var(--bg-alt); }
.nav-dropdown li a.nav-active { color: var(--blue); font-weight: 600; background: var(--blue-light); }
.nav-arrow { font-size: 0.65rem; margin-left: 0.25rem; transition: transform 0.2s; }
.nav-has-dropdown.dropdown-open .nav-arrow { transform: rotate(180deg); }
/* Tel header */
.nav-tel {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-tel:hover { color: var(--blue-dark); }
/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile a { font-size: 0.95rem; font-weight: 500; color: var(--text-light); padding: 0.25rem 0; }
.nav-mobile a:hover { color: var(--blue); }
.nav-cta-mobile {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600 !important;
  margin-top: 0.5rem;
}
.nav-mobile.open { display: flex; }

/* ---- FADE ANIMATION (global) ---- */
.fade-hidden { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.fade-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 5rem;
  overflow: hidden;
  background: #f0f7ff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0,113,188,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(39,174,96,0.05) 0%, transparent 60%);
}
.hero-particles { position: absolute; inset: 0; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  border: 1px solid rgba(0,113,188,0.2);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .badge-dot { animation: none; } }
/* Hierarchie hero : 2 lignes presentation en 400, ligne accent en 900 */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
/* La ligne clé : poids 900 pour le contraste maximal */
.hero-gradient-text {
  color: var(--blue);
  font-weight: 900;
  display: block;
  font-size: clamp(3.2rem, 6.5vw, 5rem);
  letter-spacing: -3px;
  line-height: 1.0;
  margin-top: 0.1em;
}
.hero-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.75; margin-bottom: 2rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fafbfc;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: background 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s cubic-bezier(0.16,1,0.3,1);
  border: 2px solid var(--blue);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--blue-30); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fafbfc;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--blue); background: var(--blue-light); transform: translateY(-2px); }

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.stat-unit { font-size: 1.2rem; font-weight: 700; color: var(--blue); }
.stat-label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* HERO CARDS */
.hero-visual { display: flex; flex-direction: column; gap: 1rem; grid-column: 2; grid-row: 1 / 5; align-self: center; }
.glass-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s cubic-bezier(0.16,1,0.3,1);
  box-shadow: var(--shadow-sm);
}
.glass-card:hover { box-shadow: var(--shadow-md); transform: translateX(6px); border-color: var(--blue-20); }
.card-offset { margin-left: 2rem; }
.card-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-icon--blue  { background: var(--blue-light); color: var(--blue); }
.card-icon--green { background: var(--green-10);   color: var(--green); }
.card-icon--orange{ background: var(--orange-10);  color: var(--orange); }
.card-info { flex: 1; }
.card-title { display: block; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.card-sub   { display: block; font-size: 0.8rem; color: var(--muted); }
.card-badge { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 50px; white-space: nowrap; }
.card-badge--blue   { background: var(--blue-light); color: var(--blue); }
.card-badge--green  { background: rgba(39,174,96,0.1); color: var(--green); }
.card-badge--orange { background: rgba(230,126,34,0.1); color: var(--orange); }

.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.75rem; animation: bounce 2s infinite; z-index: 2; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll, .fade-hidden { animation: none; transition: none; } }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---- SECTION COMMONS ---- */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  background: var(--blue-08);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.75px; margin-bottom: 1rem; color: var(--dark); }
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 58ch; line-height: 1.75; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ---- SERVICES ---- */
.services { padding: 6rem 0; background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
/* Top-stripe supprimé — remplace par une elevation de box-shadow à la place */
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-20); }
.service-card--featured { border-color: var(--blue-20); background: linear-gradient(145deg, var(--blue-08), var(--bg)); }
.service-featured-label { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 0.72rem; font-weight: 700; background: var(--green-10); color: var(--green); padding: 0.25rem 0.6rem; border-radius: 50px; border: 1px solid var(--green-20); }
.service-icon { width: 64px; height: 64px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.service-icon--blue   { background: var(--blue-light); color: var(--blue); }
.service-icon--green  { background: rgba(39,174,96,0.1); color: var(--green); }
.service-icon--orange { background: rgba(230,126,34,0.1); color: var(--orange); }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.service-features { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.service-features li { font-size: 0.85rem; color: var(--text-light); }
.service-link { display: flex; align-items: center; gap: 0.4rem; color: var(--blue); font-size: 0.85rem; font-weight: 600; margin-top: auto; transition: gap 0.2s; }
.service-card:hover .service-link { gap: 0.7rem; }

/* ---- WHY US ---- */
.why-us { padding: 6rem 0; background: var(--white); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-arguments { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.argument { display: flex; align-items: flex-start; gap: 1rem; }
.argument-icon { font-size: 1.4rem; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--blue-light); border-radius: var(--radius-sm); }
.argument strong { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--dark); }
.argument p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.trust-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.trust-score { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
.score-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--dark); }
.score-num span { font-size: 1.5rem; color: var(--muted); }
.score-label { font-size: 0.8rem; color: var(--muted); }
.trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; background: var(--white); padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text); }
.zone-card { background: var(--blue-light); border: 1px solid rgba(0,113,188,0.15); border-radius: var(--radius-md); padding: 1.5rem; }
.zone-title { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zone-tags span { background: var(--white); border: 1px solid rgba(0,113,188,0.15); border-radius: 50px; padding: 0.3rem 0.75rem; font-size: 0.78rem; font-weight: 500; color: var(--text); }

/* ---- CTA BAND ---- */
.cta-band { padding: 5rem 0; background: var(--bg-dark); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-band-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.5rem; color: var(--white); }
.cta-band-text p { color: var(--white-65); font-size: 0.95rem; }
.cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }
.btn-large { padding: 1rem 2rem; font-size: 1rem; }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; color: #fafbfc; font-weight: 600; font-size: 0.95rem; padding: 0.8rem 1.75rem; border-radius: 50px; border: 2px solid var(--white-30); transition: all 0.25s; text-decoration: none; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: var(--white-10); }

/* ---- FOOTER ---- */
.footer { background: var(--bg-dark); padding: 5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; display: block; margin-bottom: 1rem; color: var(--white); }
.footer-logo span { color: var(--blue-mid); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1rem; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 1.1rem; color: var(--blue-mid); }
.footer-nav h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav li, .footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-contact a { color: var(--blue-mid); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-credit a { color: var(--blue-mid); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; }
  .glass-card { flex: 1; min-width: 200px; }
  .card-offset { margin-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-tel { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-stats { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .trust-badges { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; width: 100%; }
}
