/* ==========================================================================
   THÈME ROUILLE — Informatique38 (Grenoble)
   Template « bento & plein écran » : bandeau plein écran + grille asymétrique.
   ========================================================================== */

:root {
  --rouille:      #902808;   /* rouille principal */
  --rouille-fonce:#5a1800;   /* rouille foncé (titres) */
  --rouille-nuit: #2a0c00;   /* rouille nuit (pied de page) */
  --rouille-pale: #fdf5f0;   /* fond très clair */
  --rouille-sect: #faeae0;   /* fond de section */
  --gris-texte:   #584840;
  --gris-ligne:   #efe0d8;
  --blanc:        #ffffff;
  --radius:       14px;
  --ombre:        0 4px 18px rgba(90, 30, 0, .08);
  --ombre-hover:  0 14px 30px rgba(90, 30, 0, .16);
}

/* ---------- Global ---------- */
body {
  font-family: 'Roboto', Arial, Helvetica, 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', 'Roboto', sans-serif; }
h2 { font-size: 32px; line-height: 1.2; font-weight: 700; padding: 0 0 18px; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }
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(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); }

/* ---------- Bandeau plein écran ---------- */
.hero-plein {
  min-height: 82vh;
  background: linear-gradient(135deg, #5a1800 0%, #902808 60%, #c05028 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 70px 0;
}
.hero-plein h1 {
  color: #fff; font-family: 'Raleway', sans-serif; font-size: 46px; line-height: 1.15;
  font-weight: 800; text-align: left; text-transform: none; padding: 0 0 16px; margin: 0;
}
.hero-plein .sous-titre { color: #fdeee6; font-size: 20px; line-height: 1.5; margin: 0 0 28px; max-width: 620px; }
.hero-plein .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero {
  display: inline-block; background: #fff; color: var(--rouille-fonce);
  font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 8px;
  text-decoration: none; transition: transform .2s ease, background .2s ease;
}
.btn-hero:hover { background: #ffe9dc; color: var(--rouille-fonce); transform: translateY(-2px); }
.btn-hero-secondaire { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-hero-secondaire:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ---------- Bandeau téléphone ---------- */
.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); }

/* ---------- Sections ---------- */
.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; }

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.bento .b-card {
  background: #fff; border: 1px solid var(--gris-ligne); border-radius: var(--radius);
  padding: 18px; overflow: hidden; box-shadow: var(--ombre); text-decoration: none;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bento .b-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-hover); }
.bento .b-card.grand { grid-column: span 2; grid-row: span 2; }
.bento .b-card img { max-height: 70px; max-width: 100%; width: auto; margin-bottom: 8px; }
.bento .b-card.grand img { max-height: 150px; }
.bento .b-card h3 { font-size: 18px; margin: 0 0 4px; color: var(--rouille-fonce); }
.bento .b-card p { margin: 0; font-size: 13px; color: var(--gris-texte); }

/* ---------- 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; }

/* ---------- Contact ---------- */
#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; }
.time1 i { color: var(--rouille); }
.time1 span .txt1 { color: var(--rouille-fonce); }

/* ---------- Pied de page ---------- */
.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); }

/* ---------- Alignement 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; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero-plein { min-height: 60vh; }
  .hero-plein h1 { font-size: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .bento .b-card.grand { grid-column: span 2; grid-row: span 1; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
}
#contacts2 .thumb1 .thumbnail { background: transparent; }
