@charset "UTF-8";

/* Tous les défauts visibles (erreurs PHP, accents cassés)
   sont générés ici en CSS : ils n'apparaissent pas dans le texte du HTML. */

body {
  margin: 0;
  padding: 0 0 40px;
  background-color: #c0c0c0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='3' height='3' fill='%23b0b0b0'/%3E%3Crect x='3' y='3' width='3' height='3' fill='%23b8b8b8'/%3E%3C/svg%3E");
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  color: #000;
}

/* erreur serveur affichée en haut de page */
body::before {
  content: "Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/include/config.inc.php on line 14\A\AWarning: Cannot modify header information - headers already sent by (output started at /home/www/include/config.inc.php:14) in /home/www/index.php on line 3";
  display: block;
  white-space: pre-wrap;
  background: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 4px 6px 14px;
  max-width: 1000px;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }
a:hover { color: #ff0000; font-size: 110%; }

img { border: 0; }

#page {
  width: 760px;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-right: 3px solid #808080;
  border-bottom: 3px solid #808080;
}

/* ---------- en-tête ---------- */
#entete {
  height: 96px;
  background: #000080 linear-gradient(180deg, #000080 0%, #008080 60%, #ff9900 60%, #ff9900 100%);
  color: #ffff00;
  position: relative;
  z-index: 2;
}
#entete .logo {
  position: absolute;
  top: 6px;
  left: 4px;
  text-decoration: none;
  color: #ffff00;
}
#entete .logo img { vertical-align: top; border: 2px inset #c0c0c0; }
#entete .logo span {
  font: bold italic 34px Arial, Helvetica, sans-serif;
  position: relative;
  left: -64px;
  top: 14px;
  text-shadow: 2px 2px 0 #000;
}
#entete .slogan {
  position: absolute;
  top: 2px;
  left: 300px;
  width: 520px;
  margin: 0;
  font: 11px Verdana, Geneva, sans-serif;
  color: #fff;
}
#entete nav {
  position: absolute;
  top: 62px;
  left: 138px;
  width: 640px;
}
#entete nav ul { list-style: none; margin: 0; padding: 0; }
#entete nav li { float: left; margin: 0 2px 2px 0; }
#entete nav a {
  display: block;
  padding: 3px 9px;
  background: #c0c0c0;
  border: 2px outset #fff;
  color: #000;
  font: bold 12px Verdana, Geneva, sans-serif;
  text-decoration: none;
}
#entete nav a:hover { border-style: inset; border-width: 4px; background: #ffff00; }
#entete nav li:nth-child(4) a { background: #ff0000; color: #fff; font-size: 15px; }
#entete nav li:nth-child(6) a { padding: 9px 9px 3px; }

/* ---------- sections ---------- */
section { padding: 10px 12px; position: relative; }

h1 {
  font: 900 44px/0.82 "Arial Black", Arial, Helvetica, sans-serif;
  letter-spacing: -3px;
  color: #000080;
  margin: 34px 0 6px;
  width: 640px;
  max-width: 100%;
}
h2 {
  font: bold 21px Verdana, Geneva, sans-serif;
  color: #fff;
  background: #008080;
  margin: 0 -12px 8px;
  padding: 3px 6px;
  border-top: 3px solid #ff9900;
}
h3 { font: bold 16px Arial, Helvetica, sans-serif; margin: 4px 0; }

.bouton {
  display: inline-block;
  padding: 4px 10px;
  background: #c0c0c0;
  border: 3px outset #fff;
  color: #000;
  font: bold 13px Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.bouton:visited { color: #000; }
.bouton:hover { border-style: inset; padding: 9px 20px; color: #000; }

/* ---------- accueil ---------- */
#accueil { background: #ffffcc; min-height: 330px; }
#accueil .photo-accueil {
  position: absolute;
  top: 58px;
  left: 395px;
  border: 1px solid #808080;
}
#accueil > p:first-of-type {
  width: 410px;
  max-width: 100%;
  text-align: justify;
  font-size: 15px;
  line-height: 1.05;
}
#accueil .actions .bouton:first-child { font-size: 19px; padding: 9px 4px; }
#accueil .actions .bouton:last-child { font-size: 10px; position: relative; top: 14px; left: -9px; }
.atouts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  width: 800px;
  font: 12px Verdana, Geneva, sans-serif;
}
.atouts li {
  display: inline-block;
  background: #00ff00;
  border: 1px solid #000;
  padding: 2px 5px;
  margin-right: -4px;
}
.atouts li:nth-child(2) { background: #ff9900; position: relative; top: 9px; }
.atouts li:nth-child(4) { background: #ff00ff; color: #fff; font-size: 17px; }

/* ---------- solutions ---------- */
#solutions { background: #fff; }
#solutions::before {
  content: "Notice: Undefined index: ville in /home/www/modules/solutions.php on line 212";
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 6px;
}
.solution {
  float: left;
  width: 36%;
  margin: 0 6px 0 0;
  padding: 5px;
  border: 2px solid #000080;
  background: #e0e0ff;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.solution ul { margin: 4px 0; padding-left: 17px; }
.solution img { border: 1px solid #808080; max-width: 100%; height: auto; }
.s1 { height: 250px; }
.s2 {
  width: 43%;
  height: 170px;
  background: #ffcc99;
  border-color: #ff0000;
  font-size: 17px;
  margin-top: 23px;
}
.s3 {
  background: #ccffcc;
  border-style: dashed;
  margin: -34px 0 0 150px;
  position: relative;
}
.clim { font-size: 12px; margin: 0; }
/* les flottants ne sont jamais fermés */

/* ---------- réalisations ---------- */
#realisations { background: #ffccff; }
#realisations h2 { background: #800080; font-size: 17px; }
.galerie { width: 820px; }
.galerie figure {
  display: inline-block;
  margin: 0 3px 3px 0;
  padding: 3px;
  background: #fff;
  border: 1px solid #000;
  font: 11px Verdana, Geneva, sans-serif;
  vertical-align: bottom;
}
.galerie img { display: block; border: 1px solid #808080; }
.galerie figure:nth-child(2) { position: relative; top: 26px; left: -31px; }
.galerie figure:nth-child(3) img { width: 96px; height: 196px; }
.galerie figure:nth-child(5) { padding: 3px 3px 30px; background: #ffff00; }
.galerie figure:nth-child(6) { position: relative; left: -60px; top: -15px; border: 3px solid #ff0000; }
.galerie figure:nth-child(7) img { width: 250px; height: 60px; }
.galerie figure:nth-child(8) figcaption { font: bold 19px "Times New Roman", serif; width: 120px; }

/* ---------- courtage ---------- */
#courtage {
  background: #008080;
  color: #ffff00;
  font: 14px Verdana, Geneva, sans-serif;
}
#courtage h2 { background: #000080; color: #ffff00; }
#courtage img { float: right; margin: 40px -70px 0 6px; border: 4px ridge #c0c0c0; }
#courtage ul { margin-left: -34px; }
#courtage a:not(.bouton) { color: #00ffff; }

/* ---------- étapes ---------- */
#etapes { background: #fff; }
#etapes ol { list-style: none; counter-reset: etape; margin: 0; padding: 0; }
#etapes li {
  counter-increment: etape;
  position: relative;
  border-bottom: 1px dotted #000;
  padding: 2px 0 2px 26px;
}
#etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 8px;
  top: -18px;
  font: 900 76px/1 "Arial Black", Arial, sans-serif;
  color: #ff9900;
}
#etapes li h3, #etapes li p { position: relative; margin: 0; }
#etapes li:nth-child(2) { padding-left: 190px; }
#etapes li:nth-child(3) p { font-size: 22px; line-height: 0.8; }

/* ---------- zones ---------- */
#zones { background: #ffffcc; }
#zones h2 { background: #ff9900; color: #000080; }
.villes {
  column-count: 4;
  column-gap: 60px;
  width: 900px;
  margin: 0;
  padding: 0 0 0 18px;
  font: 13px Verdana, Geneva, sans-serif;
}
.villes li:nth-child(3n) { font-weight: bold; font-size: 18px; }

/* ---------- faq ---------- */
#faq { background: #fff; }
#faq details { border: 1px solid #808080; margin: 0 0 -9px 0; padding: 3px; background: #fff; }
#faq details:nth-of-type(even) { margin-left: 120px; margin-right: -90px; background: #e0e0e0; }
#faq summary { font-weight: bold; }
#faq p { margin: 2px 0; }

/* ---------- contact : la mise en forme n'est pas appliquée ---------- */
#contact h2 {
  font: bold 24px "Times New Roman", Times, serif;
  color: #000;
  background: none;
  border: 0;
  margin: 12px 0;
  padding: 0;
}
#contact::after {
  content: "Fatal error: Call to undefined function afficher_formulaire() in /home/www/modules/contact.php on line 57";
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
}

/* ---------- pied de page ---------- */
#pied {
  background: #000;
  color: #c0c0c0;
  font: 10px Verdana, Geneva, sans-serif;
  padding: 6px 12px 16px;
  position: relative;
}
#pied a { color: #ffff00; }
#pied ul { list-style: none; margin: 0; padding: 0; }
#pied li { display: inline; margin-right: -2px; }
#pied li + li::before { content: " | | "; }
#pied::after {
  content: "Notice: Undefined variable: annee in /home/www/include/pied.php on line 8\A Site optimisÃ© pour un affichage en 800x600";
  display: block;
  white-space: pre-wrap;
  color: #fff;
  font: bold 15px "Times New Roman", Times, serif;
  margin-top: 8px;
}
.haut {
  position: fixed;
  left: 300px;
  bottom: 120px;
  background: #ffff00;
  border: 2px outset #fff;
  color: #000 !important;
  font: bold 11px Verdana, Geneva, sans-serif;
  padding: 2px 5px;
}

/* ---------- pages internes ---------- */
.fil {
  margin: 0;
  padding: 2px 6px;
  background: #ffff00;
  border-bottom: 1px solid #000;
  font: 11px Verdana, Geneva, sans-serif;
}
.sous-page main::before {
  display: block;
  background: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 4px 6px;
}
.contenu { padding: 10px 12px 30px; position: relative; min-height: 420px; }
.contenu h1 { font-size: 36px; margin-top: 14px; }
.contenu h2 { clear: none; }
.contenu .illustration {
  float: right;
  margin: -46px -70px 6px 8px;
  border: 4px ridge #c0c0c0;
  position: relative;
}
.cote {
  float: left;
  width: 170px;
  margin: 0 10px 4px -12px;
  padding: 4px;
  background: #000080;
  color: #fff;
  font: 11px Verdana, Geneva, sans-serif;
  position: relative;
  top: 30px;
  z-index: 1;
}
.cote h2 { font-size: 13px; margin: 0 0 4px; background: #ff0000; border: 0; padding: 2px; }
.cote ul { margin: 0; padding-left: 14px; }
.cote a, .cote a:visited { color: #ffff00; }

/* panneaux solaires */
.p-solaire main::before { content: "Warning: include(modules/menu_gauche.php) [function.include]: failed to open stream: No such file or directory in /home/www/page.php on line 22"; }
.p-solaire .contenu { background: #ffffcc; }
.p-solaire .contenu ol { font: bold 19px Arial, Helvetica, sans-serif; margin-left: 210px; line-height: 0.9; }

/* pompe à chaleur */
.p-pac main::before { content: "Notice: Undefined offset: 3 in /home/www/modules/produits.php on line 88"; }
.p-pac .contenu { background: #ffcc99; }
.p-pac .contenu > p { column-count: 2; column-gap: 0; text-align: justify; font-size: 14px; }
.p-pac .contenu h2 { background: #ff0000; margin-right: -80px; }

/* batterie */
.p-batterie main::before { content: "Warning: Division by zero in /home/www/modules/batterie.php on line 41"; }
.p-batterie .contenu { background: #ccffcc; text-align: center; font-family: "Courier New", Courier, monospace; }
.p-batterie .contenu h2 { width: 300px; font-size: 26px; }
.p-batterie .contenu ul { text-align: right; }

/* climatisation */
.p-clim main::before { content: "Warning: getimagesize(images/clim_01.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/www/modules/galerie.php on line 17"; }
.p-clim .contenu { background: #00ffff; line-height: 0.85; }
.p-clim .contenu .illustration { width: 520px; height: 70px; float: none; margin: 0 0 0 150px; }
.p-clim .contenu h2 { background: #0000ff; font: bold italic 30px "Times New Roman", Times, serif; }

/* courtage */
.p-courtage main::before { content: "Notice: Undefined variable: tarifs in /home/www/modules/courtage.php on line 9"; }
.p-courtage .contenu { background: #008080; color: #ffff00; font: 14px Verdana, Geneva, sans-serif; }
.p-courtage .contenu h1 { color: #ffff00; }
.p-courtage .contenu h2 { background: #000080; color: #ffff00; }
.p-courtage .contenu a:not(.bouton) { color: #00ffff; }
.p-courtage .contenu ul { margin-left: -34px; }
.p-courtage .contenu ol { margin-left: 320px; margin-right: -120px; background: #000080; }

/* zones */
.p-zones main::before { content: "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/modules/villes.php on line 63"; }
.p-zones .contenu { background: #ffffcc; }
.p-zones .contenu h2 { background: #ff9900; color: #000080; }

/* aides */
.p-aides main::before { content: "Warning: Invalid argument supplied for foreach() in /home/www/modules/aides.php on line 120"; }
.p-aides .contenu { background: #ffccff; }
.tableau {
  border-collapse: separate;
  border: 3px outset #c0c0c0;
  width: 880px;
  background: #fff;
  font: 13px Verdana, Geneva, sans-serif;
  position: relative;
}
.tableau th, .tableau td { border: 2px inset #c0c0c0; padding: 2px; }
.tableau thead th { background: #000080; color: #fff; }
.tableau thead th:nth-child(2) { width: 90px; font-size: 20px; }
.tableau tbody th { text-align: right; background: #ffff00; }
.tableau tbody tr:nth-child(3) td { padding: 22px 2px; background: #00ff00; }

/* demande d'étude : la mise en forme n'est pas appliquée */
.p-devis .contenu h1 { font: bold 32px "Times New Roman", Times, serif; letter-spacing: 0; color: #000; }
.formulaire fieldset { margin: 0 0 -6px; width: 560px; max-width: 100%; }
.formulaire fieldset:nth-of-type(2) { margin-left: 190px; background: #e0e0e0; }
.formulaire fieldset:nth-of-type(3) label { display: block; margin-left: 300px; }
.formulaire fieldset:nth-of-type(4) input { width: 40px; }
.formulaire fieldset:nth-of-type(4) label:nth-child(3) input { width: 620px; }
.formulaire .bouton { margin: 20px 0 0 430px; }
.formulaire::after {
  content: "Fatal error: Call to undefined function envoyer_demande() in /home/www/modules/devis.php on line 74";
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
}

/* pages légales */
.p-legal .contenu h1, .p-legal .contenu h2 {
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 0;
  color: #000;
  background: none;
  border: 0;
  margin: 12px 0;
  padding: 0;
}
.p-legal .contenu::after {
  content: "Warning: file_get_contents(textes/page.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/www/page.php on line 31";
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
}

/* ---------- petits écrans : toujours cassé, mais sans défilement horizontal ---------- */
@media (max-width: 800px) {
  .contenu h1 { font-size: 26px; }
  .contenu .illustration, .p-clim .contenu .illustration { float: none; margin: 0; max-width: 100%; height: auto; }
  .cote { float: none; top: 0; margin: 0 0 6px; }
  .p-solaire .contenu ol, .p-courtage .contenu ol { margin-left: 20px; margin-right: 0; }
  .p-pac .contenu h2 { margin-right: -12px; }
  .tableau { width: 100%; }
  .formulaire fieldset:nth-of-type(2) { margin-left: 30px; }
  .formulaire fieldset:nth-of-type(3) label { margin-left: 90px; }
  .formulaire fieldset:nth-of-type(4) label:nth-child(3) input { width: 90%; }
  .formulaire .bouton { margin-left: 40%; }
  body { overflow-x: hidden; }
  #entete { height: auto; padding-bottom: 6px; }
  #entete .slogan, #entete nav { position: static; width: auto; }
  #entete .slogan { padding: 70px 4px 4px; }
  #entete nav { overflow: hidden; }
  h1 { font-size: 30px; letter-spacing: -2px; margin-top: 10px; }
  #accueil .photo-accueil { position: static; max-width: 100%; height: auto; }
  .atouts, .galerie, .villes { width: auto; }
  .villes { column-count: 2; column-gap: 10px; }
  .solution, .s2 { width: 80%; height: auto; }
  .s3 { margin: -12px 0 0 40px; }
  .galerie figure:nth-child(2), .galerie figure:nth-child(6) { left: 0; }
  .galerie figure:nth-child(7) img { width: 170px; }
  #courtage img { float: none; margin: 0; max-width: 100%; height: auto; }
  #etapes li:nth-child(2) { padding-left: 60px; }
  #faq details:nth-of-type(even) { margin-left: 30px; margin-right: 0; }
  .haut { left: 40%; }
}
