/* Serrurerie Rajol – page unique « site momentanément en maintenance » (octobre 2026).
   Style repris du site d'origine (thème RocketTheme Ximenia, variante bleue) : fond du bandeau, police Oxygen
   (licence SIL OFL), bleu ciel d'accent, encadrés translucides, accroche en italique, pied de page anthracite.
   Les teintes des textes sont légèrement foncées par rapport à l'original pour rester lisibles. */

@font-face {
  font-family: "Oxygen";
  src: url("fonts/oxygen.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #f3f3f3;
  --blanc: #ffffff;
  --texte: #4a4a4a;
  --titre: #333333;
  --gris-accroche: #6b6b6b;
  --bord: #d9d9d9;
  --ciel: #47b6e3;          /* accent du site d'origine (décor, fond sombre) */
  --ciel-clair: #82ceec;
  --ciel-moyen: #66c3e7;
  --bleu-titre: #1d78b5;    /* titres sur fond clair */
  --bleu-lien: #1a6aa3;     /* liens sur fond clair */
  --encre: #0b2f45;         /* texte sur les pastilles bleu ciel */
  --panneau: rgba(24, 70, 88, 0.85);
  --vert: #6ab021;          /* vert du logo Rajol */
  --anthracite-haut: #4c4d50;
  --anthracite-bas: #222327;
}

*, *::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(--fond);
  color: var(--texte);
  font-family: Helvetica, 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(--bleu-lien); }

/* L'exposant (7e) ne doit pas écarter les lignes */
sup { line-height: 0; }

h1, h2, h3 {
  font-family: "Oxygen", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

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

/* En-tête : gris clair, logo à gauche, numéro à droite */
.entete {
  background: var(--fond);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.entete-grille {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

/* Pastille bleu ciel, comme le bouton « Contact » du site d'origine */
.pastille {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  background: linear-gradient(var(--ciel-clair), var(--ciel-moyen));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
  color: var(--encre);
  text-decoration: none;
  text-align: center;
}
.pastille strong { white-space: nowrap; margin-left: 4px; }
.pastille:hover, .pastille:focus { background: linear-gradient(#94d6f0, var(--ciel-clair)); }
.pastille-grande {
  margin-top: 8px;
  padding: 14px 26px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Bandeau : fond d'origine du diaporama, message dans un encadré translucide */
.bandeau {
  background: #4a95b8 url("img/bandeau.jpg") center / cover no-repeat;
  padding: 36px 0;
}
.bandeau-grille {
  display: grid;
  gap: 28px;
  align-items: center;
}
.panneau {
  background: var(--panneau);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: var(--blanc);
  padding: 26px;
}
.panneau h1 {
  color: var(--blanc);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}
.panneau p { font-size: 1.1rem; margin: 0 0 16px; }
.etiquette {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 0.75rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bandeau-visuel {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  justify-self: center;
}

/* Accroche en italique, comme sous le diaporama d'origine */
.accroche {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 16px 8px;
  color: var(--gris-accroche);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  text-align: center;
}

/* Titres de modules avec pastille bleue, comme « A votre service » */
.titre-module {
  color: var(--titre);
  font-size: 1.6rem;
}
.titre-module::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--ciel-clair), #2a8fc4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Coordonnées */
.contact { padding: 32px 0 16px; }
.cartes {
  display: grid;
  gap: 20px;
}
.carte, .fiche {
  background: #fafafa;
  border: 1px solid var(--bord);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 22px;
}
.carte h3 { color: var(--titre); font-size: 1.3rem; }
.carte p, .carte address { margin: 0 0 8px; font-style: normal; }
.carte a { word-break: break-word; }
.icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ciel);
  color: var(--blanc);
}
.icone svg { width: 22px; height: 22px; }
.numero {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

/* Métiers : une fiche par onglet du site d'origine */
.services { padding: 24px 0 44px; }
.fiches {
  display: grid;
  gap: 20px;
}
.fiche h3 { color: var(--bleu-titre); font-size: 1.3rem; }
.fiche p { margin: 0 0 10px; }
.fiche .titre-module { color: var(--titre); }
.fiche img { margin: 0 auto; border-radius: 4px; }
.coches {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.coches li {
  position: relative;
  padding: 3px 0 3px 28px;
}
.coches li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.4em;
  width: 6px;
  height: 12px;
  border: solid var(--vert);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Pied de page anthracite */
.pied {
  background: linear-gradient(var(--anthracite-haut), var(--anthracite-bas));
  border-top: 3px solid var(--ciel);
  color: #e6e6e6;
  padding: 28px 0;
}
.pied-grille {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  text-align: center;
}
.pied img { background: var(--blanc); }
.pied p { margin: 0; }
.pied strong { color: var(--blanc); }
.pied a { color: #8fd5f2; }

@media (min-width: 760px) {
  .entete-grille { justify-content: space-between; }
  .bandeau { padding: 56px 0; }
  .bandeau-grille { grid-template-columns: 1.1fr 0.9fr; }
  .panneau { padding: 32px; }
  .etiquette { font-size: 0.85rem !important; letter-spacing: 0.04em; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .fiches { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { justify-content: space-between; text-align: left; }
}

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