/* =========================
   VARIABLES (STYLE GLOBAL CDEX SYSTEM)
========================= */
:root {
  --navy: #0f1f33;
  --blue: #0078c8;
  --blue-dark: #005fa3;
  --steel: #1e2a38;
  --dark: #0b1220;
  --text: #444;
  --light-bg: #f6f8fb;
  --white: #fff;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================
   MAIN WRAPPER
========================= */
.main-content {
  width: 100%;
}

/* =========================
   HERO INDUSTRIEL
========================= */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("../../image/kimna/hero.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.75);
}

.hero-container {
  position: relative;
  max-width: 900px;
  padding: 20px;
}

.hero-container h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-container h2 {
  font-size: 22px;
  margin-top: 10px;
  font-weight: 600;
  color: #cfe6ff;
}

.hero-container p {
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.9;
}

/* =========================
   SECTIONS GENERALES
========================= */
.section {
  padding: 80px 20px;
}

.section-container {
  max-width: 1150px;
  margin: auto;
}

/* =========================
   INTRO
========================= */
.intro {
  font-size: 16px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

/* =========================
   TITRES
========================= */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--navy);
}

.section-title.light {
  color: #fff;
}

/* =========================
   DOMAINES INDUSTRIELS
========================= */
.domaines-bg {
  position: relative;
  background: url("../../image/kimna/industrial-bg.jpg") center/cover fixed;
  color: #fff;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.85);
}

.domaines-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.domaine-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.domaine-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
}

.domaine-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.domaine-card ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.domaine-card ul li {
  font-size: 14px;
  opacity: 0.9;
}

/* =========================
   VM GRID
========================= */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.vm-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.vm-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

/* =========================
   VALEURS
========================= */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.valeur-card {
  background: var(--light-bg);
  padding: 15px;
  text-align: center;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  transition: 0.3s;
}

.valeur-card:hover {
  background: var(--blue);
  color: #fff;
}

/* =========================
   AMBITION
========================= */
.ambition-bg {
  position: relative;
  background: url("../../image/kimna/ambition.jpg") center/cover fixed;
  color: #fff;
  text-align: center;
}

.ambition-content {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.ambition-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

/* =========================
   IMAGES PLACEHOLDER DIVS
========================= */
.image-box {
  width: 100%;
  height: 250px;
  background: #1e2a38;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  .domaines-grid {
    grid-template-columns: 1fr;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-container h1 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .valeurs-grid {
    grid-template-columns: 1fr;
  }
}
/* ───────── HERO KIMNA ───────── */
.kimna-hero {
  position: relative;
  height: 520px;

  /* IMAGE DE FOND */
  background: url("../../../image/energie.jpg") center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* OVERLAY */
.kimna-hero .hero-overlay {
  position: absolute;
  inset: 0;

  /* effet industriel sombre + bleu */
  background: linear-gradient(
    rgba(10, 20, 40, 0.85),
    rgba(0, 120, 200, 0.65)
  );

  z-index: 1;
}

/* CONTENU */
.kimna-hero .hero-container {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

/* TITRES */
.kimna-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.kimna-hero h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.kimna-hero p {
  font-size: 15px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kimna-hero {
    height: 420px;
  }

  .kimna-hero h1 {
    font-size: 28px;
  }

  .kimna-hero h2 {
    font-size: 18px;
  }
}

/* ───────── ACTIVITIES SECTION ───────── */
.activities-section {
  padding: 80px 20px;
}

/* GRID */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.activity-card {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}

/* IMAGE CONTAINER */
.activity-img {
  position: relative;
  height: 260px;
}

/* IMAGE */
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* OVERLAY */
.activity-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: 0.3s;
}

/* TITLE SUR IMAGE */
.activity-title {
  position: absolute;
  bottom: 20px;
  left: 20px;

  color: #fff;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
}

/* HOVER EFFECT */
.activity-card:hover img {
  transform: scale(1.08);
}

.activity-card:hover .overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}


/* ───────── SERVICES INDUSTRIELS ───────── */
.services-section {
  padding: 80px 20px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.service-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* IMAGE */
.service-img {
  position: relative;
  height: 260px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* OVERLAY */
.service-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: 0.3s;
}

/* TEXTE SUR IMAGE */
.service-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #fff;
}

.service-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* HOVER */
.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .overlay {
  background: rgba(0, 0, 0, 0.65);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────── ABOUT SPLIT ───────── */
.about-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  max-width: 1100px;
  margin: auto;
}

/* TEXTE */
.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1b3a5c;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

/* IMAGE */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img-box {
  width: 100%;
  max-width: 420px;
}

.img-box img {
  width: 100%;
  height: auto;

  object-fit: contain;

  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  transition: 0.3s;
}

.img-box img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-split {
    flex-direction: column;
    text-align: center;
  }
}


/* ───────── DOMAINES CLEAN ───────── */
.domaines-clean {
  padding: 90px 20px;
  background: #f9fbfd;
}

/* TITRE */
.domaines-clean .section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #1b3a5c;
  margin-bottom: 60px;
}

/* GRID */
.domaines-clean .domaines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.domaines-clean .domaine-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

/* HOVER */
.domaines-clean .domaine-card:hover {
  transform: translateY(-8px);
  border-bottom: 3px solid #0078c8;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* TITRE CARD */
.domaines-clean .domaine-card h3 {
  font-size: 18px;
  color: #1b3a5c;
  margin-bottom: 10px;
}

/* TEXTE */
.domaines-clean .domaine-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .domaines-clean .domaines-grid {
    grid-template-columns: 1fr;
  }
}