/* Micro Tôlerie Dallard – page unique « site momentanément en maintenance » (octobre 2026).
   Style repris du site d'origine (thème Joomla « Wisten », variante « blue ») : police Roboto Condensed
   (licence SIL OFL, hébergée sur le site), titres en capitales fines, bleu marine #194f93, orange #f39c12
   du diaporama d'origine pour « micro », pied de page noir #131313. */

@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/roboto-condensed-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/roboto-condensed-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/roboto-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --marine: #194f93;
  --cyan: #2ac5ee;
  --orange: #f39c12;
  --noir: #131313;
  --texte: #464646;
  --titre: #3c3c3c;
  --fond-clair: #f5f5f5;
  --bord: #e7e7e7;
  --blanc: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  color: var(--texte);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--marine); }

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}

.conteneur {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Bandeau du haut, comme le « topbar » d'origine */
.bandeau-haut {
  background: var(--marine);
  color: var(--blanc);
  font-size: 0.95rem;
  padding: 6px 0;
}
.bandeau-haut p { margin: 0; }
.bandeau-haut-grille {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  text-align: center;
}
.bandeau-haut-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.bandeau-haut a {
  color: var(--blanc);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bandeau-haut svg { width: 16px; height: 16px; }

/* Accueil : photo du bâtiment, logo et message de maintenance */
.accueil {
  background: #1d2a3a url("img/batiment.jpg") center / cover no-repeat;
  position: relative;
  color: var(--blanc);
  text-align: center;
  padding: 56px 0;
}
.accueil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.66);
}
.accueil .conteneur { position: relative; }
.accueil-logo {
  width: 140px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
/* Mention de maintenance : bien visible (demande de Phil) */
.etiquette {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--marine);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.accueil h1 {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.3em;
}
.micro-mots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 22px;
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.micro-mots b { color: var(--orange); font-weight: 700; text-transform: lowercase; }
.accueil-texte {
  max-width: 40em;
  margin: 0 auto 22px;
  font-size: 1.15rem;
}
.boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}
.bouton {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bouton-plein { background: var(--orange); color: var(--noir); }
.bouton-plein:hover, .bouton-plein:focus { background: #f6ae3b; }
.bouton-contour { border: 2px solid var(--blanc); color: var(--blanc); }
.bouton-contour:hover, .bouton-contour:focus { background: rgba(255, 255, 255, 0.12); }

/* Titres de section, en capitales fines comme le thème d'origine */
.titre-section {
  color: var(--titre);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  text-align: center;
}
.titre-section::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--marine);
}

/* Savoir-faire */
.savoir-faire { padding: 56px 0; }
.savoir-faire-grille {
  display: grid;
  gap: 32px;
  align-items: center;
}
.savoir-faire .titre-section { text-align: left; }
.savoir-faire .titre-section::after { margin-left: 0; }
.savoir-faire p { margin: 0 0 14px; }
.signature { color: var(--marine); font-style: italic; }
.photo { border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

/* Coordonnées */
.contact { background: var(--fond-clair); padding: 56px 0; }
.cartes { display: grid; gap: 20px; }
.carte {
  background: var(--blanc);
  border-top: 3px solid var(--marine);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 24px;
  text-align: center;
}
.carte h3 { color: var(--titre); font-size: 1.35rem; }
.carte p, .carte address { margin: 0 0 6px; font-style: normal; }
.carte a { word-break: break-word; }
.icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--blanc);
}
.icone svg { width: 22px; height: 22px; }
.numero { font-size: 1.6rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Équipements – parc machines */
.metiers { padding: 56px 0; }
.fiches { display: grid; gap: 22px; }
.fiche {
  border: 1px solid var(--bord);
  border-radius: 3px;
  overflow: hidden;
  background: var(--blanc);
}
.fiche img { width: 100%; height: 200px; object-fit: cover; }
.fiche h3 { color: var(--marine); font-size: 1.4rem; margin: 18px 20px 10px; }
.fiche p, .fiche ul { margin: 0 20px 12px; }
.fiche ul { padding-left: 1.1em; }

/* Pied de page noir */
.pied {
  background: var(--noir);
  color: #e6e6e6;
  font-weight: 300;
  padding: 44px 0 24px;
}
.pied-grille {
  display: grid;
  gap: 28px;
  text-align: center;
  margin-bottom: 24px;
}
.pied-titre { color: var(--blanc); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; }
.pied p { margin: 0; }
.pied a { color: var(--cyan); }
.pied-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.pied-logos img { background: var(--blanc); padding: 6px; border-radius: 3px; }
/* Logo de la Région en version pour fond sombre (texte blanc), comme dans le pied de page d'origine */
.pied-logos img.logo-fond-sombre { background: none; padding: 0; }
.mentions { border-top: 1px solid #2c2c2c; padding-top: 16px; font-size: 0.9rem; color: #bdbdbd; }
.mentions summary { cursor: pointer; color: var(--blanc); }
.mentions p { margin: 10px 0 0; }

@media (min-width: 760px) {
  .bandeau-haut-grille { justify-content: space-between; text-align: left; }
  .accueil { padding: 96px 0; }
  .savoir-faire-grille { grid-template-columns: 1.15fr 0.85fr; }
  .savoir-faire p:not(.signature) { text-align: justify; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .fiches { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; text-align: left; }
  .pied-logos { justify-content: flex-start; }
}

@media (min-width: 1000px) {
  .fiches { grid-template-columns: repeat(3, 1fr); }
}
