@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Variables ===== */
:root {
  --vert-fonce: #0f4542;
  --vert-lime: #bdcc2a;
  --ardoise: #516862;
  --gris-ligne: #e9ecec;
  --texte: #707070;
  --lien: #2e54aa;
  --font: "Nunito", "Segoe UI", Arial, sans-serif;
}

/* ===== Base ===== */
body {
  font-family: var(--font);
  color: var(--texte);
  line-height: 1.5;
  font-size: 1.7rem;
}

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

h2,
h3 {
  font-family: var(--font);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vert-fonce);
}

p {
  margin-bottom: 0.5rem;
}

/* ===== Bandeaux construction ===== */
.top-header,
.bottom-footer {
  line-height: 0;
  margin-top: 20px;
}

.top-header img,
.bottom-footer img {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

/* ===== En-tête ===== */
.header .logo-wrapper {
  padding: 2.5rem 0 1rem;
}

.header .left_image {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.header .logo-img {
  max-width: 720px;
  width: 100%;
}

.slogan {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ardoise);
}

.slogan strong {
  display: block;
  font-weight: 600;
  color: var(--vert-lime);
}

/* ===== Contenu ===== */
.site-main .localites {
  margin-bottom: 2rem;
}

.site-main .infos {
  margin-bottom: 2rem;
}

.site-main address {
  font-style: normal;
}

.site-main a {
  color: inherit;
  text-decoration: none;
}

/* ===== Bloc des heures d'ouverture ===== */
.heures {
  background: var(--ardoise);
  color: #fff;
  text-align: center;
  font-weight: 600;
  line-height: 1.35;
  padding: 1.1rem 3rem;
  border-radius: 22px;
}

.heures__titre {
  margin-bottom: 0.25rem;
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== Tableau ===== */

/* Conteneur permettant le défilement horizontal */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.contacts-table {
  width: 100%;
  min-width: 750px;
  max-width: 1400px;
  border: 1px solid var(--ardoise);
  font-size: 1.4rem;
  font-weight: 600;
}

.contacts-table thead th {
  background: var(--ardoise);
  color: #fff;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  padding: 0.7rem 0.75rem;
  border-bottom: 0;
  border-left: 1px solid #fff;
}

.contacts-table thead th:first-child {
  border-left: 0;
}

.contacts-table tbody td {
  padding: 0.6rem 0.75rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 0;
  border-left: 1px solid #fff;
  background: #fff;
  color: #707070;
  box-shadow: none;
}

.contacts-table tbody td:first-child {
  text-align: left;
  border-left: 0;
}

.contacts-table tbody tr:nth-child(odd) td {
  background: var(--gris-ligne);
}

.contacts-table tbody a {
  color: var(--lien);
  text-decoration: underline;
}

/* ===== Desktop (sous 1480px) ===== */
@media (max-width: 1480px) {
  .header .left_image {
    gap: 2.4rem;
  }

  .slogan {
    font-size: 2.2rem;
  }
}

/* ===== Desktop (sous 1200px) ===== */
@media (max-width: 1200px) {
  .slogan {
    font-size: 1.8rem;
  }
}

/* ===== Tablette et mobile (sous 768px) ===== */
@media (max-width: 767.98px) {
  .header .left_image {
    margin-bottom: 1.5rem;
  }

  .header .logo {
    max-width: 480px;
    margin: 0 auto 1rem;
  }
}

/* ===== Conteneur Bootstrap élargi sur grands écrans ===== */
@media (min-width: 1400px) {
  .container {
    max-width: 1580px;
  }
}
