/* ═══════════════════════════════════════════
   DesClics INFO — slider.css
   Slider + Services grille + Matériel + Vétérinaire encart
   ═══════════════════════════════════════════ */

/* ── SLIDER HERO ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,8,15,.88) 0%, rgba(4,8,15,.55) 55%, rgba(4,8,15,.2) 100%);
}
.slide-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,180,255,.018) 3px, rgba(0,180,255,.018) 4px);
  pointer-events: none;
}
.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 7%;
  max-width: 640px;
  z-index: 2;
}
.slide-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,.35);
  padding: .3rem 1rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.slide-content h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #e8f4fd;
  margin-bottom: .8rem;
  letter-spacing: 2px;
}
.slide-content h1 em { color: #00d4ff; font-style: normal; display: block; }
.slide-sub {
  color: rgba(200,220,240,.8);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.slide-zone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(0,180,255,.07);
  border: 1px solid rgba(0,212,255,.25);
  padding: .45rem 1.2rem;
  margin-bottom: 1.8rem;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: rgba(200,230,250,.85);
}
.slide-zone::before { content: '◈'; color: #00d4ff; font-size: 9px; }
.slide-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.slide-corner { position: absolute; width: 20px; height: 20px; border-color: rgba(0,212,255,.5); border-style: solid; z-index: 2; }
.slide-corner.tl { top: 18px; left: 18px; border-width: 2px 0 0 2px; }
.slide-corner.br { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }

.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(4,8,15,.6);
  border: 1px solid rgba(0,212,255,.3); color: #00d4ff;
  width: 44px; height: 44px; font-size: 1.2rem;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-prev:hover, .slider-next:hover { background: rgba(0,212,255,.15); border-color: #00d4ff; }

.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.sdot { width: 28px; height: 2px; background: rgba(0,212,255,.25); cursor: pointer; transition: all .3s; }
.sdot.active { background: #00d4ff; width: 44px; }

/* ── SERVICES — grille 3 puis 2 ── */
.services-grid { max-width: 1100px; margin: 0 auto 1.5rem; display: grid; gap: 1.2rem; }
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }
.services-grid--2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  border: 1px solid var(--border);
  background: var(--bg3);
  overflow: hidden;
  transition: border-color .3s;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { border-color: #00d4ff; }

.svc-photo {
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.svc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,8,15,.2) 0%, rgba(4,8,15,.72) 100%);
}
.svc-icon-abs {
  position: absolute;
  bottom: .8rem;
  right: 1rem;
  font-size: 1.8rem;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(0,212,255,.4));
}
.svc-body { padding: 1.2rem 1.4rem; flex: 1; }
.svc-body h3 { font-family: 'Orbitron', monospace; font-size: .82rem; letter-spacing: 1px; color: #e8f4fd; margin-bottom: .5rem; }
.svc-body p { font-size: 14.5px; color: var(--text2); font-weight: 300; line-height: 1.65; }

.svc-link {
  display: inline-block;
  margin-top: .8rem;
  font-size: 13px;
  color: #00d4ff;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.svc-link:hover { opacity: .7; }
.svc-card--vet  { border-color: rgba(0,220,130,.2); }
.svc-card--vet:hover { border-color: #00dc82; }

/* ── MATÉRIEL ── */
.materiel { padding: 5rem 2rem; border-top: 1px solid var(--border); }
.section-sub { font-size: 14.5px; color: var(--text2); margin-top: .5rem; letter-spacing: .5px; }
.materiel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.mat-card { border: 1px solid var(--border); background: var(--bg); overflow: hidden; transition: border-color .3s; }
.mat-card:hover { border-color: #00d4ff; }
.mat-photo { position: relative; height: 160px; background-size: cover; background-position: center; }
.mat-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,15,.2) 0%, rgba(4,8,15,.65) 100%); }
.mat-label { position: absolute; bottom: .8rem; left: 1rem; font-family: 'Orbitron', monospace; font-size: .75rem; letter-spacing: 1.5px; color: #00d4ff; z-index: 1; }
.mat-body { padding: 1.2rem 1.3rem; }
.mat-body p { font-size: 14.5px; color: var(--text2); font-weight: 300; margin-bottom: .8rem; line-height: 1.6; }
.mat-list { list-style: none; margin-bottom: 1.2rem; }
.mat-list li { font-size: 13px; color: var(--text2); padding: .25rem 0 .25rem .8rem; border-bottom: 1px solid rgba(0,180,255,.07); position: relative; }
.mat-list li::before { content: '›'; color: #00d4ff; position: absolute; left: 0; }
.btn-mat { display: inline-block; background: transparent; border: 1px solid var(--border); color: #00d4ff; padding: .5rem 1.2rem; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all .2s; }
.btn-mat:hover { background: rgba(0,212,255,.1); border-color: #00d4ff; }

.materiel-conseil { display: flex; align-items: center; gap: 2rem; background: rgba(0,180,255,.04); border: 1px solid var(--border); padding: 1.5rem 2rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.conseil-icon { font-size: 2rem; flex-shrink: 0; }
.conseil-text { flex: 1; min-width: 200px; }
.conseil-text strong { font-family: 'Orbitron', monospace; font-size: .85rem; letter-spacing: 1px; color: #00d4ff; display: block; margin-bottom: .4rem; }
.conseil-text p { font-size: 14.5px; color: var(--text2); font-weight: 300; }

/* ── ENCART VÉTÉRINAIRE accueil ── */
.vet-banner { border-top: 1px solid rgba(0,220,130,.2); border-bottom: 1px solid rgba(0,220,130,.2); background: var(--bg); }
.vet-banner-inner { display: grid; grid-template-columns: 1fr 1fr; max-width: 1200px; margin: 0 auto; min-height: 420px; }
.vet-banner-photo { position: relative; background-size: cover; background-position: center; min-height: 320px; }
.vet-photo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,8,15,.1) 0%, rgba(4,8,15,.5) 100%); }
.vet-banner-content { padding: 3.5rem 3rem; display: flex; flex-direction: column; justify-content: center; background: var(--bg2); }
.vet-banner-content h2 { font-family: 'Orbitron', monospace; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 700; line-height: 1.3; margin: .8rem 0 1rem; }
.vet-banner-content h2 em { font-style: normal; }
.vet-banner-content p { color: var(--text2); font-size: 15.5px; font-weight: 300; line-height: 1.8; margin-bottom: 1.5rem; }
.btn-vet { display: inline-block; background: transparent; border: 1px solid rgba(0,220,130,.4); color: #00dc82; padding: .7rem 1.5rem; font-size: 14.5px; font-weight: 600; letter-spacing: 1px; text-decoration: none; transition: all .2s; align-self: flex-start; }
.btn-vet:hover { background: rgba(0,220,130,.1); border-color: #00dc82; }
.nav-vet { color: #00dc82 !important; }
.nav-vet:hover { opacity: .75; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-slider { height: 100vh; min-height: 560px; }
  .slide-content { left: 5%; right: 5%; max-width: 100%; }
  .slider-prev { left: .8rem; }
  .slider-next { right: .8rem; }
  .services-grid--3,
  .services-grid--2 { grid-template-columns: 1fr; }
  .vet-banner-inner { grid-template-columns: 1fr; }
  .vet-banner-photo { min-height: 240px; }
  .vet-banner-content { padding: 2rem 1.5rem; }
  .materiel-conseil { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .slide-content h1 { font-size: 1.8rem; }
  .slide-btns { flex-direction: column; }
  .slide-btns a { text-align: center; }
}
