/* ==========================================================================
   THÈME VERT — Informatique37 (Tours)
   Design distinct du bleu « épuré » de Marseille.
   Couleur tirée du logo : vert olive (#807830) → palette verte moderne.
   Surcharge de style.css (structure et contenu inchangés).
   ========================================================================== */

:root {
  --vert:        #558a2e;   /* vert principal */
  --vert-fonce:  #2f5215;   /* vert foncé (titres) */
  --vert-nuit:   #1c3410;   /* vert nuit (pied de page) */
  --vert-pale:   #f2f7ec;   /* fond vert très clair */
  --vert-sect:   #e7efda;   /* fond de section */
  --gris-texte:  #4a5540;   /* gris-vert pour le texte */
  --gris-ligne:  #dde6cf;   /* bordures */
  --blanc:       #ffffff;
  --radius:      10px;
  --ombre:       0 4px 16px rgba(30, 55, 15, .08);
  --ombre-hover: 0 12px 26px rgba(30, 55, 15, .16);
}

/* ---------- Global ---------- */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gris-texte);
  background: var(--vert-pale);
}

a { color: var(--vert); }
a:hover { color: var(--vert-fonce); }

h2, h3, h4 {
  color: var(--vert-fonce);
  font-family: 'Raleway', 'Roboto', sans-serif;
}
h2 { font-size: 32px; line-height: 1.2; font-weight: 700; padding: 0 0 18px; }
h3 { font-size: 23px; line-height: 1.3; font-weight: 600; }
h4 { font-size: 17px; font-weight: 500; color: var(--gris-texte); }

/* ---------- Header ---------- */
#top1 {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(30, 55, 15, .05);
}
header { padding-bottom: 10px; }
header .logo_wrapper img { width: 235px; height: auto; }

/* ---------- Menu : pilules vertes ---------- */
.navbar_ .nav > li > a {
  background: #f2f2f2;
  color: #2a3a1a;
  font-weight: 700;
  font-size: 16px;
  line-height: 46px;
  padding: 0 13px;
  margin: 17px 3px;
  border-radius: 18px;
  transition: color .2s ease, background .2s ease;
}
.navbar_ .nav > li > a:hover,
.navbar_ .nav > li > a:focus {
  color: var(--vert);
  background: #e2eed8;
}
.navbar_ .nav > li.active > a,
.navbar_ .nav > li.active > a:hover,
.navbar_ .nav > li.active > a:focus {
  color: #ffffff;
  background: var(--vert);
  box-shadow: 0 6px 14px rgba(85, 138, 46, .28);
}

/* ---------- Bandeau téléphone / réseaux ---------- */
.home_bot { background: var(--blanc); border-top: 1px solid var(--gris-ligne); padding: 8px 0; }
.phone1 { color: var(--vert-fonce); font-weight: 500; }
.phone1 i { color: var(--vert); }

/* ---------- Diaporama (légendes) ---------- */
.camera_caption {
  background: linear-gradient(135deg, rgba(28, 52, 16, .78), rgba(85, 138, 46, .5));
  border-radius: var(--radius);
  padding: 24px 28px;
}
.camera_caption .txt1 { color: #fff; font-weight: 700; }
.camera_caption .txt2 { color: #f2f7ec; }

/* ---------- Sections ---------- */
.services1 { background: var(--vert-pale); border-bottom: none; padding: 60px 0; }
.services2 { background: var(--blanc); padding: 70px 0; }
.services3 { background: var(--vert-sect); padding: 70px 0; }
.services4 { background: var(--vert); padding: 40px 0; }
.services6 { background: var(--vert-nuit); padding: 70px 0 30px; }
.services7 { background: var(--vert-sect); padding: 30px 0 0; }

/* ---------- Grille de services : cartes à bord gauche vert (différent de Marseille) ---------- */
.home_services { padding: 10px 0; }
.home-page-service {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--vert);
  border-radius: var(--radius);
  padding: 26px 20px 24px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: var(--ombre);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-page-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-hover);
  border-color: #c2d8a8;
}
.home-page-service h4 { margin: 14px 0 6px; }
.home-page-service h4 a { color: var(--vert-fonce); font-size: 15px; font-weight: 700; }
.home-page-service h4 a:hover { color: var(--vert); }
.home-page-service img { display: block; margin: 0 auto; max-width: 240px; height: auto; }

/* ---------- Boutons ---------- */
.btn-default.btn2 {
  background: var(--vert);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  padding: 14px 26px;
  box-shadow: 0 8px 18px rgba(85, 138, 46, .25);
  transition: transform .2s ease, background .2s ease;
}
.btn-default.btn2:hover { background: var(--vert-fonce); transform: translateY(-2px); }

button[name="Submit"] {
  background-color: var(--vert) !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
}

/* ---------- Champs de formulaire ---------- */
input.form-control, textarea.form-control {
  border: 1px solid var(--gris-ligne);
  border-radius: 6px;
  color: var(--gris-texte);
}
input.form-control:focus, textarea.form-control:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(85, 138, 46, .14);
  outline: none;
}

/* ---------- Contact ---------- */
#contacts1 {
  background: var(--vert-pale);
  border-top: 1px solid var(--gris-ligne);
  border-bottom: 1px solid var(--gris-ligne);
  padding-top: 60px;
  padding-bottom: 70px;
}
#contacts2 { background: var(--vert-sect); padding-top: 40px; padding-bottom: 60px; }
.time1 { color: var(--gris-texte); }
.time1 i { color: var(--vert); }
.time1 span .txt1 { color: var(--vert-fonce); }

/* ---------- Pied de page ---------- */
.services6 p, .services6 span, .services6 a, .services6 h5, .services6 li { color: #d4e0c4; }
.services6 a:hover { color: #ffffff; }
.services6 p[style*="font-size: 16pt"] { color: #ffffff; font-weight: 700; margin-bottom: 6px; }
.copy1 { color: #8ca07a; }
.copy2 { color: #8ca07a; }
.copy2 a { color: var(--vert); }

/* ---------- Parallaxe partenaires ---------- */
#parallax1 .txt1, #parallax1 .txt2, #parallax1 .txt3 { text-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* ---------- Alignement icône LinkedIn ---------- */
.social li, .social > a { vertical-align: middle; }
.social > a { display: inline-block; margin: 0 10px; }
.social > a img { display: block; width: 32px; height: 32px; }

/* ---------- Bandeau d'accueil statique (distinct de Marseille) ---------- */
.hero-statique {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28,52,16,.82) 0%, rgba(28,52,16,.45) 55%, rgba(28,52,16,.2) 100%);
}
.hero-texte {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 0;
}
.hero-texte h1 {
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  text-align: left;
  text-transform: none;
  padding: 0 0 16px;
  margin: 0;
}
.hero-sous-titre {
  color: #eef5e6;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero {
  display: inline-block;
  background: var(--vert);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn-hero:hover { background: var(--vert-fonce); color: #fff; transform: translateY(-2px); }
.btn-hero-secondaire {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.5);
}
.btn-hero-secondaire:hover { background: rgba(255,255,255,.24); }

@media (max-width: 767px) {
  .hero-statique { min-height: 360px; }
  .hero-texte h1 { font-size: 30px; }
  .hero-sous-titre { font-size: 16px; }
}

/* ---------- Page conseils : aligner les images avec leur texte ---------- */
.conseil-img { padding-top: 80px; }

/* ---------- Cartes services : cliquables + hauteur égale ---------- */
.home_services { display: flex; flex-wrap: wrap; }
.home_services > br { display: none; }
.home-page-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.home-page-service br { display: none; }
.home-page-service h4 a::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .home-page-service { padding: 22px 14px; }
  .home-page-service img { max-width: 88px; }
}
#contacts2 .thumb1 .thumbnail { background: transparent; }

/* =====================================================
   SLIDESHOW KEN BURNS AUTONOME — Tours (vert)
   ===================================================== */
.kb-slider-container { position: relative; width: 100%; height: 540px; overflow: hidden; }
.kb-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease-in-out, visibility 1s ease-in-out; }
.kb-slide.active { opacity: 1; visibility: visible; }
.kb-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1); transition: transform 6s ease-out; }
.kb-slide.active .kb-bg { transform: scale(1.08); }
.kb-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.1) 100%); display: flex; align-items: center; }
.kb-content { max-width: 550px; color: #fff; padding: 20px; }
.kb-content h2 { font-size: 38px; font-weight: bold; color: #fff; margin-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.kb-tag { color: #4caf50; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.kb-desc { font-size: 18px; line-height: 1.5; color: #f1f1f1; }
.kb-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); color: #fff; border: none; padding: 12px 16px; cursor: pointer; font-size: 18px; border-radius: 4px; transition: .3s; z-index: 10; }
.kb-arrow:hover { background: #2e7d32; }
.kb-prev { left: 20px; } .kb-next { right: 20px; }
.kb-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.kb-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; }
.kb-dot.active { background: #2e7d32; width: 28px; border-radius: 10px; }
@media (max-width: 768px) { .kb-slider-container { height: 440px; } .kb-content h2 { font-size: 26px; } .kb-desc { font-size: 15px; } }
.h1_wrapper { position: static; background: none; }
.h1_wrapper h1 { color: #2e7d32; }
