/* ==========================================================================
   THÈME ROUILLE — Informatique67 (Strasbourg)
   Mise en page « onglets » : services en tabs cliquables.
   ========================================================================== */
:root {
  --rouille: #902808; --rouille-fonce: #5a1800; --rouille-nuit: #2a0c00;
  --rouille-pale: #fdf5f0; --rouille-sect: #faeae0;
  --gris-texte: #584840; --gris-ligne: #efe0d8; --blanc: #fff;
  --radius: 14px; --ombre: 0 4px 18px rgba(90,30,0,.08); --ombre-hover: 0 12px 28px rgba(90,30,0,.16);
}
body { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--gris-texte); background: var(--rouille-pale); }
a { color: var(--rouille); } a:hover { color: var(--rouille-fonce); }
h2, h3, h4 { color: var(--rouille-fonce); font-family: 'Raleway', sans-serif; }
h2 { font-size: 32px; line-height: 1.2; font-weight: 700; padding: 0 0 18px; }
h3 { font-size: 22px; font-weight: 700; }
#top1 { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(90,30,0,.05); }
header { padding-bottom: 10px; }
header .logo_wrapper img { width: 235px; height: auto; }

/* Menu pilules */
.navbar_ .nav > li > a { background: #f2f2f2; color: #2a2a30; 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(--rouille); background: #e8ecf2; }
.navbar_ .nav > li.active > a, .navbar_ .nav > li.active > a:hover, .navbar_ .nav > li.active > a:focus { color: #fff; background: var(--rouille); box-shadow: 0 6px 14px rgba(0,0,0,.18); }

.home_bot { background: var(--blanc); border-top: 1px solid var(--gris-ligne); padding: 8px 0; }
.phone1 { color: var(--rouille-fonce); font-weight: 500; } .phone1 i { color: var(--rouille); }
.camera_caption { background: linear-gradient(135deg, rgba(42,12,0,.82), rgba(144,40,8,.55)); border-radius: var(--radius); padding: 24px 28px; }
.camera_caption .txt1 { color: #fff; font-weight: 700; } .camera_caption .txt2 { color: #fdeee6; }

.services1 { background: var(--rouille-pale); padding: 40px 0; }
.services3 { background: var(--rouille-sect); padding: 60px 0; }
.services6 { background: var(--rouille-nuit); padding: 70px 0 30px; }

/* Onglets */
.tabs-services { max-width: 900px; margin: 0 auto; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab-btn {
  background: #fff; border: 1px solid var(--gris-ligne); border-radius: 100px;
  padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--rouille-fonce);
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tab-btn:hover { background: #fbe5db; border-color: var(--rouille); }
.tab-btn.is-active { background: var(--rouille); color: #fff; border-color: var(--rouille); }
.tab-panel {
  display: none; background: #fff; border: 1px solid var(--gris-ligne);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--ombre);
}
.tab-panel.is-active { display: block; }
.tab-panel h3 { margin: 0 0 10px; }
.tab-panel p { margin: 0 0 14px; font-size: 15px; }
.tab-panel a { font-weight: 700; }

/* Boutons / formulaires */
.btn-default.btn2 { background: var(--rouille); color: #fff; border-radius: 6px; font-weight: 600; padding: 14px 26px; }
.btn-default.btn2:hover { background: var(--rouille-fonce); transform: translateY(-2px); }
button[name="Submit"] { background-color: var(--rouille) !important; border-radius: 6px !important; padding: 12px 28px !important; }
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(--rouille); box-shadow: 0 0 0 3px rgba(144,40,8,.14); outline: none; }

#contacts1 { background: var(--rouille-pale); border-top: 1px solid var(--gris-ligne); border-bottom: 1px solid var(--gris-ligne); padding-top: 60px; padding-bottom: 70px; }
#contacts2 { background: var(--rouille-sect); padding-top: 40px; padding-bottom: 60px; }
#contacts2 .thumb1 .thumbnail { background: transparent; }
.time1 i { color: var(--rouille); } .time1 span .txt1 { color: var(--rouille-fonce); }
.services6 p, .services6 span, .services6 a, .services6 h5, .services6 li { color: #e8d0c8; }
.services6 a:hover { color: #fff; }
.services6 p[style*="font-size: 16pt"] { color: #fff; font-weight: 700; margin-bottom: 6px; }
.copy1 { color: #a88276; } .copy2 { color: #a88276; } .copy2 a { color: var(--rouille); }
.social li, .social > a { vertical-align: middle; }
.social > a { display: inline-block; margin: 0 10px; }
.social > a img { display: block; width: 32px; height: 32px; }
@media (max-width: 767px) { h2 { font-size: 26px; } h3 { font-size: 20px; } }

/* Bootstrap carousel - légendes lisibles */
.carousel { margin-bottom: 0; }
.carousel-inner > .item > img { width: 100%; }
.carousel-caption {
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  padding: 50px 30px 24px;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0,0,0,.65);
}
.carousel-caption .txt1 { font-size: 32px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.carousel-caption .txt2 { font-size: 18px; margin: 4px 0; }

#modern-slider { position: relative; width: 100%; height: 560px; overflow: hidden; background: #17212b; font-family: Arial, Helvetica, sans-serif; }
.modern-slide { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; background-size: cover; background-position: center center; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .8s ease, transform 6s ease, visibility .8s ease; }
.modern-slide.active { z-index: 2; opacity: 1; visibility: visible; transform: scale(1); }
.modern-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,39,.88) 0%, rgba(8,24,39,.68) 42%, rgba(8,24,39,.18) 100%); }
.modern-slide-content { position: relative; z-index: 3; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 90px; color: #fff; }
.modern-slide-label { display: inline-block; margin-bottom: 18px; padding: 8px 15px; color: #fff; background: var(--rouille); border-radius: 30px; font-size: 13px; font-weight: bold; letter-spacing: .5px; text-transform: uppercase; }
.modern-slide-content h1 { margin: 0 0 20px; padding: 0 !important; color: #fff; font-size: 58px; font-weight: 700; line-height: 1.1; text-align: left !important; text-transform: none !important; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.modern-slide-content p { max-width: 600px; margin: 0 0 30px; color: #fff; font-size: 22px; line-height: 1.5; text-shadow: 0 2px 5px rgba(0,0,0,.5); }
.modern-slide-button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; color: #fff !important; background: #f58220; border-radius: 4px; font-size: 16px; font-weight: bold; text-decoration: none !important; transition: all .3s ease; }
.modern-slide-button:hover { color: #fff !important; background: #d9670b; transform: translateY(-2px); box-shadow: 0 7px 18px rgba(0,0,0,.25); }
.modern-slider-arrow { position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 18px; cursor: pointer; transform: translateY(-50%); transition: all .3s ease; }
.modern-slider-arrow:hover { background: var(--rouille); border-color: var(--rouille); }
.modern-slider-prev { left: 25px; } .modern-slider-next { right: 25px; }
.modern-slider-dots { position: absolute; bottom: 28px; left: 50%; z-index: 5; display: flex; gap: 9px; transform: translateX(-50%); }
.modern-dot { width: 11px; height: 11px; padding: 0; background: rgba(255,255,255,.5); border: 0; border-radius: 50%; cursor: pointer; transition: all .3s ease; }
.modern-dot.active { width: 30px; border-radius: 10px; background: #f58220; }
.modern-slider-phone { position: absolute; right: 35px; bottom: 25px; z-index: 5; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: bold; }
.modern-slider-phone i { color: #f58220; font-size: 18px; }
.modern-slide.active .modern-slide-content { animation: modernSlideContent .8s ease both; }
@keyframes modernSlideContent { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { #modern-slider { height: 500px; } .modern-slide-content { padding: 35px 55px; } .modern-slide-content h1 { font-size: 42px; } .modern-slide-content p { font-size: 18px; } .modern-slider-phone { display: none; } .modern-slider-arrow { width: 40px; height: 40px; } .modern-slider-prev { left: 12px; } .modern-slider-next { right: 12px; } }
@media (max-width: 480px) { #modern-slider { height: 520px; } .modern-slide { background-position: 65% center; } .modern-slide-content { padding: 30px 35px; } .modern-slide-content h1 { font-size: 36px; } .modern-slide-content p { font-size: 17px; } .modern-slider-arrow { top: auto; bottom: 20px; transform: none; } .modern-slider-dots { bottom: 35px; } }
.h1_wrapper { position: static; background: none; }
.h1_wrapper h1 { color: #902808; }
