/* ============================================================
   ISICLIMA — Pages CSS (light mode)
   ============================================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #f0f7ff 100%);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(0,113,188,0.07) 0%, transparent 70%);
}
.page-hero-gradient--green  { background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(39,174,96,0.06) 0%, transparent 70%); }
.page-hero-gradient--orange { background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(230,126,34,0.06) 0%, transparent 70%); }

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--dark);
}
.page-hero-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 540px;
}
/* hero-gradient-text supprimé (anti-pattern impeccable) */

.page-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;
  width: fit-content;
}
.page-hero-badge--orange { background: rgba(230,126,34,0.08); border-color: rgba(230,126,34,0.2); color: var(--orange); }

.badge-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.badge-dot--green  { background: var(--green); }
.badge-dot--orange { background: var(--orange); }

.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }

/* hero-actions dans les page-hero (moins de marge qu'en home) */
.page-hero .hero-actions { margin-bottom: 0.5rem; }
.btn-urgence { background: var(--orange) !important; border-color: var(--orange) !important; }
.btn-urgence:hover { background: #d35400 !important; border-color: #d35400 !important; }
.urgence-info { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }

/* ---- PAGE SECTIONS ---- */
.page-section { padding: 5.5rem 0; background: var(--bg); }
.page-section--dark { background: var(--bg-alt); }

/* ---- CONTENT SPLIT ---- */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.content-text p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.content-text strong { color: var(--dark); }

/* ---- INFO PILLS ---- */
.info-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.pill { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 50px; }
.pill--blue   { background: var(--blue-light); color: var(--blue); border: 1px solid rgba(0,113,188,0.2); }
.pill--green  { background: rgba(39,174,96,0.08); color: var(--green); border: 1px solid rgba(39,174,96,0.2); }
.pill--orange { background: rgba(230,126,34,0.08); color: var(--orange); border: 1px solid rgba(230,126,34,0.2); }

/* ---- STAT BOX GROUP ---- */
.stat-box-group { display: flex; flex-direction: column; gap: 1rem; }
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.stat-box--accent { background: var(--blue-light); border-color: rgba(0,113,188,0.2); }
.stat-box-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--blue); flex-shrink: 0; }
.stat-box-label { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }

/* ---- SYSTEMS GRID ---- */
.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.systems-grid--2col { grid-template-columns: repeat(2, 1fr); }
.system-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.system-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,113,188,0.2); }
.system-card--featured { background: linear-gradient(145deg, var(--blue-light), rgba(255,255,255,1)); border-color: rgba(0,113,188,0.2); }
.system-card--large { gap: 1rem; }
.system-featured-label { position: absolute; top: 1rem; right: 1rem; font-size: 0.72rem; font-weight: 700; background: rgba(39,174,96,0.1); color: var(--green); padding: 0.25rem 0.6rem; border-radius: 50px; border: 1px solid rgba(39,174,96,0.2); }
.system-icon { font-size: 2rem; }
.system-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.system-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.system-list { display: flex; flex-direction: column; gap: 0.4rem; list-style: none; padding: 0; }
.system-list li { font-size: 0.83rem; color: var(--text-light); }
.system-price { margin-top: auto; font-size: 0.85rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--border); }
.system-price strong { color: var(--blue); font-size: 1.1rem; }

/* ---- BRANDS GRID ---- */
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.brand-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(0,113,188,0.2); }
.brand-name { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.brand-sub  { font-size: 0.72rem; color: var(--muted); }

/* ---- NAV ACTIVE ---- */
.nav-active:not(.nav-cta) { color: var(--blue) !important; font-weight: 600 !important; }

/* ---- AIDE BAND ---- */
.aide-band { padding: 2.5rem 0; background: var(--blue-light); border-top: 1px solid rgba(0,113,188,0.15); border-bottom: 1px solid rgba(0,113,188,0.15); }
.aide-band-inner { display: flex; align-items: center; justify-content: space-around; gap: 2rem; flex-wrap: wrap; }
.aide-item { text-align: center; }
.aide-num { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--blue); margin-bottom: 0.2rem; }
.aide-label { font-size: 0.78rem; color: var(--text-light); }
.aide-divider { width: 1px; height: 40px; background: rgba(0,113,188,0.2); }

/* ---- COMPARISON CARD ---- */
.comparison-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.comparison-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.comparison-row { display: grid; grid-template-columns: 160px 1fr 60px; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.cmp-label { font-size: 0.8rem; color: var(--text-light); }
.cmp-bar { height: 8px; background: var(--bg-alt); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.cmp-fill { height: 100%; border-radius: 4px; }
.cmp-fill--red    { background: #e74c3c; }
.cmp-fill--orange { background: var(--orange); }
.cmp-fill--blue   { background: var(--blue); }
.cmp-fill--green  { background: var(--green); }
.cmp-val  { font-size: 0.85rem; font-weight: 700; color: var(--dark); text-align: right; }
.cmp-note { font-size: 0.72rem; color: var(--muted); margin-top: 1rem; }

/* ---- CONTRACT ITEMS ---- */
.contract-items { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.contract-item { font-size: 0.9rem; color: var(--text-light); }

/* ---- SERVICES (intérieur) ---- */
.services-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.contact-form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--dark); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
/* honeypot anti-spam : masquage blindé, résiste au flex gap */
.ohnohoney { display: none !important; visibility: hidden !important; opacity: 0 !important; height: 0 !important; width: 0 !important; overflow: hidden !important; position: absolute !important; left: -9999px !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,113,188,0.1); }
.form-legal { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; text-align: center; background: rgba(39,174,96,0.06); border: 1px solid rgba(39,174,96,0.2); border-radius: var(--radius-lg); }
.success-icon { font-size: 3rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.form-success p { color: var(--text-light); }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem; text-decoration: none; color: inherit; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: rgba(0,113,188,0.2); }
.contact-card--phone { background: var(--blue-light); border-color: rgba(0,113,188,0.2); }
.cc-icon { font-size: 1.5rem; flex-shrink: 0; }
.cc-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 0.2rem; }
.cc-val  { display: block; font-size: 1rem; font-weight: 700; color: var(--dark); }
.cc-note { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

/* ---- CTA URGENCE ---- */
.cta-band--urgence { background: #1C2B3A; }

/* ---- ZONE CARD ---- */
.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); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .content-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .systems-grid { grid-template-columns: 1fr; }
  .systems-grid--2col { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .aide-band-inner { flex-direction: column; gap: 1.5rem; }
  .aide-divider { width: 60px; height: 1px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 7rem 1.5rem 3rem; min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-row { grid-template-columns: 110px 1fr 50px; }
  .urgence-info { flex-direction: column; gap: 0.5rem; }
}

/* ---- PAGE PHOTO ---- */
.page-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.page-photo--icon {
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  display: block;
}
.page-photo--cert {
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* ---- PAGE GALLERY ---- */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.page-gallery .gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.page-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.page-gallery .gallery-item:hover img { transform: scale(1.05); }

/* ---- BRANDS LOGOS PAGE ---- */
.brands-logos-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.brands-logos-page img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.8;
  transition: all 0.2s;
}
.brands-logos-page img:hover { filter: grayscale(0%); opacity: 1; }

/* ---- NAV dropdown CSS (partagé via style.css aussi) ---- */
.nav-logo-img { display: flex; align-items: center; }
.nav-logo-img img { height: 52px; width: auto; display: block; }
.nav-tel { font-size: 0.88rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
}
.nav-has-dropdown:hover .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; }
.nav-dropdown li a:hover { color: var(--blue); background: var(--bg-alt); }
.nav-arrow { font-size: 0.7rem; margin-left: 0.2rem; }

/* ---- FADE ANIMATION ---- */
.fade-hidden { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-visible { opacity: 1; transform: translateY(0); }

/* ---- MENTIONS LÉGALES ---- */
.mentions-content { max-width: 800px; margin: 0 auto; }
.mentions-content h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-top: 2.5rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.mentions-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 0.75rem; font-size: 0.95rem; }
.mentions-content ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.mentions-content li { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.mentions-content a { color: var(--blue); }

/* ---- RESPONSIVE additions ---- */
@media (max-width: 1024px) {
  .page-gallery { grid-template-columns: repeat(2, 1fr); }
  .brands-logos-page { gap: 1.5rem; }
}
@media (max-width: 768px) {
  .nav-tel { display: none; }
  .page-photo { height: 280px; }
  .page-gallery { grid-template-columns: repeat(2, 1fr); }
}
