@charset "utf-8";
/* =========================
   BASE / RESET
========================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2430;
  background-color: #fff;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 1rem;
  background: #1f2937;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus, .skip-link:active {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1050;
  padding: 8px 14px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
img, svg, iframe, video {
  max-width: 100%;
  height: auto;
}
main, #main {
  flex: 1 0 auto;
  background-color: #fff;
}
/* =========================
   TYPOGRAPHIE
========================= */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.25;
  font-weight: 700;
  color: #1f2430;
}
h1 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  margin-bottom: 0.75rem;
}
h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  margin-bottom: 0.75rem;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
/* =========================
   LIENS / FOCUS
========================= */
a {
  color:#151515;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.08em;
}
a:hover, a:focus {
  color: #003d77;
}
a:visited {
  color: #fff;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .accordion-button:focus-visible, .nav-link:focus-visible, .carousel-control-prev:focus-visible, .carousel-control-next:focus-visible, .carousel-indicators button:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
  box-shadow: none;
}
/* =========================
   LAYOUT
========================= */
.container {
  width: 100%;
  min-width: 0;
}
.ombre {
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
/* =========================
   PAGE HERO
========================= */
.page-hero, .page-hero p, .page-hero li, .page-hero .lead, .page-hero .small {
  color: #fff;
}
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4, .page-hero h5, .page-hero h6 {
  color: #fff;
}
.page-hero a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}
.page-hero a:hover, .page-hero a:focus, .page-hero a:visited {
  color: #fff;
}
/* =========================
   TITRES DE RUBRIQUE
========================= */
.titre-rubrique {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem 0;
  padding-bottom: 0.25rem;
  border-bottom: 4px solid #c73d32;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2430;
}
.titre-rubrique::before {
  content: "";
  flex: 0 0 0.9rem;
  width: 0.9rem;
  height: 0.9rem;
  background-color: #c73d32;
}
.titre-rubrique--sm {
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  border-bottom-width: 3px;
}
.titre-rubrique--sm::before {
  width: 0.75rem;
  height: 0.75rem;
  flex-basis: 0.75rem;
}
/* =========================
   LISTES
========================= */
.liste-fleche, .liste-documents {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.liste-fleche li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
}
.liste-fleche li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: #c73d32;
}
.liste-documents li {
  margin-bottom: 0.6rem;
}
.liste-documents a {
  color: #1f2430;
  font-weight: 600;
  text-decoration: underline;
}
.liste-documents a:hover, .liste-documents a:focus {
  color: #0057a8;
}
.liste-documents i {
  margin-right: 0.75rem;
  width: 1.125rem;
  text-align: center;
}
/* =========================
   MÉTÉO
========================= */
.awesome-weather-wrap {
  max-width: 100%;
  height: auto;
}
.awesome-weather-current-temp {
  font-size: 1rem;
}
/* =========================
   FOOTER
========================= */
footer {
  flex-shrink: 0;
  background: #e9eaee;
  font-size: 1rem;
  line-height: 1.6;
}
.footer-address, .not-italic {
  font-style: normal;
}
.footer-site .small {
  color: #333;
}
.footer-site .h5 {
  font-weight: 700;
}
.footer-site a {
  color: #0057a8;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}
.footer-site a:hover, .footer-site a:focus {
  color: #003d77;
  text-decoration: underline;
}
.footer-links a {
  display: inline-block;
}
.social-link, .footer-site .list-inline-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.5rem;
}
.footer-site .list-inline-item a {
  width: 48px;
  height: 48px;
}
.footer-map-thumbnail img, .footer-large-map {
  width: 100%;
  height: auto;
}
.footer-map-preview {
  min-height: 220px;
  background: #f8f9fa;
}
.footer-large-map {
  min-height: 320px;
}
/* =========================
   BOUTONS
========================= */
.btn, button, input[type="submit"], input[type="button"], input[type="reset"] {
  min-height: 44px;
}
.btn, .btn-primary, a.btn, a.btn-primary, button.btn, button.btn-primary {
  background-color: #e74c3c;
  border: 1px solid #e74c3c;
  color: #fff !important;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 300;
}
.btn:hover, .btn:focus, .btn-primary:hover, .btn-primary:focus, a.btn:hover, a.btn:focus, a.btn-primary:hover, a.btn-primary:focus, button.btn:hover, button.btn:focus, button.btn-primary:hover, button.btn-primary:focus {
  background-color: #e65c00;
  border-color: #e65c00;
  color: #fff !important;
  text-decoration: none;
font-weight: 800;	
}
.btn:visited, .btn-primary:visited, a.btn:visited, a.btn-primary:visited {
  color: #fff !important;
}
.btn-light, a.btn-light, button.btn-light {
  background-color: #e74c3c;
  border: 1px solid #e74c3c;
  color: #fff !important;
  font-weight: 300;
}
.btn-light:hover, .btn-light:focus, a.btn-light:hover, a.btn-light:focus, button.btn-light:hover, button.btn-light:focus {
  background-color: #e65c00;
  border-color: #e65c00;
  color: #fff !important;
}
.btn-light:visited, a.btn-light:visited {
  color: #fff !important;
}
/* =========================
   CARTES
========================= */
.weather-card {
  background: #fff;
  min-height: 100%;
}
.weather-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.brochure-card img {
  width: auto;
  display: block;
  margin: 0 auto 1rem auto;
}
.brochure-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.brochure-card .btn-group-vertical {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-tabs .nav-link, .nav-pills .nav-link {
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
  }
  .footer-map-thumbnail img:hover {
    transform: scale(1.03);
  }
  .footer-site .list-inline-item a:hover, .footer-site .list-inline-item a:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  }
}
/* =========================
   SLIDES / CAROUSEL
========================= */
.carousel-item {
  position: relative;
  display: block;
}

.carousel-item img, .carousel-item .img-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.carousel-logo {
  position: absolute;
  top: 2rem;
  left: 1rem;
  height: 100px;
  z-index: 10;
}
.carousel-logo-above {
  display: none;
  max-width: 120px;
  margin: 0 auto 1rem auto;
}
.slide-logo {
  display: block;
  position: absolute;
  top: 10%;
  left: 5%;
  max-width: 15%;
  height: auto;
}
.slide-text-box {
  font-size: 2em;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  max-width: 40%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 1rem;
  border-radius: 0.25rem;
  text-align: left;
  z-index: 5;
}

.hero-slide__media {
  width: 100%;
  overflow: hidden;
}
.hero-slide__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 400;
  object-fit: cover;
}
.hero-slide__content {
  width: 100%;
  background: #111;
  color: #fff;
}
.hero-slide__box {
  padding: 1.25rem 1rem;
}
.hero-slide__title {
  margin: 0 0 .75rem 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #fff;
}
.hero-slide__text {
  margin: 0 0 1rem 0;
  color: #fff;
}
.slide-text-box, .slide-text-box p, .slide-text-box h1, .slide-text-box h2, .slide-text-box h3, .slide-text-box h4, .slide-text-box h5, .slide-text-box h6, .slide-text-box a {
  color: #fff;
}
#carouselActualites .carousel-item, #carouselActualites .carousel-inner {
  overflow: visible !important;
}
#carouselActualites .carousel-control-prev, #carouselActualites .carousel-control-next {
  z-index: 50 !important;
}
#carouselActualites .card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#carouselActualites .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#carouselActualites .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
#carouselActualites .card-title {
  font-weight: 700;
}
#carouselActualites .card .btn, #carouselActualites .card .btn-primary, #carouselActualites .card .btn-light, #carouselActualites .card a.btn, #carouselActualites .card a.btn-primary, #carouselActualites .card a.btn-light {
  background-color: #e74c3c !important;
  border: 1px solid #e74c3c !important;
  color: #fff !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#carouselActualites .card .btn:hover, #carouselActualites .card .btn:focus, #carouselActualites .card .btn-primary:hover, #carouselActualites .card .btn-primary:focus, #carouselActualites .card .btn-light:hover, #carouselActualites .card .btn-light:focus, #carouselActualites .card a.btn:hover, #carouselActualites .card a.btn:focus, #carouselActualites .card a.btn-primary:hover, #carouselActualites .card a.btn-primary:focus, #carouselActualites .card a.btn-light:hover, #carouselActualites .card a.btn-light:focus {
  background-color: #e65c00 !important;
  border-color: #e65c00 !important;
  color: #fff !important;
}
#carouselActualites .carousel-indicators [data-bs-target] {
  background-color: #0057a8;
}
#carouselActualites .carousel-indicators .active {
  background-color: #ffbf47;
}
/* =========================
   FORMULAIRE
========================= */
form.needs-validation {
  max-width: 900px;
  margin: 0 auto;
}
.container form {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
form .row + .row, .row + .row {
  margin-top: 1rem;
}
form label.form-label, form .fw-bold, .form-label {
  color: #212529;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
form h2, form h3, form h4 {
  color: #343a40;
  font-weight: 700;
}
form input[type="text"], form input[type="email"], form input[type="number"], form input[type="date"], form input[type="tel"], form input[type="url"], form select, form textarea, .form-control {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  border: 1px solid #767676;
  border-radius: 6px;
  background-color: #fff;
  color: #212529;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
form textarea {
  min-height: 120px;
}
form input:focus, form select:focus, form textarea:focus, .form-control:focus {
  border-color: #005fcc;
  box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
  outline: none;
}
form input[type="date"], form input[type="number"] {
  max-width: 250px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}
.form-check-input {
  margin-top: 0.2rem;
  transform: scale(1.1);
}
.form-check-label {
  font-size: 1rem;
  margin-left: 0;
}
form .border.rounded {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
}
form button[type="submit"] {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  min-width: 160px;
}
#rgpd + label {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}
hr {
  border: 0;
  border-top: 1px solid #dee2e6;
}
/* =========================
   ONGLETS
========================= */
#Tabs .nav-link {
  font-weight: 600;
  border: none;
}
#Tabs .nav-link.active {
  background-color: #0b7ea0;
  color: #fff;
}
#Tabs .nav-link.active:hover, #Tabs .nav-link.active:focus {
  background-color: #086b88;
  color: #fff;
}
#Tabs .nav-link:not(.active) {
  background-color: #c75100;
  color: #fff;
}
#Tabs .nav-link:not(.active):hover, #Tabs .nav-link:not(.active):focus {
  background-color: #a94700;
  color: #fff;
}
#Tabs .nav-item:nth-child(3) .nav-link {
  background-color: #147a67;
  color: #fff;
}
#Tabs .nav-item:nth-child(3) .nav-link:hover, #Tabs .nav-item:nth-child(3) .nav-link:focus {
  background-color: #106554;
  color: #fff;
}
#Tabs .nav-item:nth-child(3) .nav-link.active {
  background-color: #0e5a4a;
  color: #fff;
}
/* =========================
   ACCORDION
========================= */
.accordion-item {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.accordion-button {
  background-color: #e9eaee;
  color: #212529;
  font-weight: 600;
  position: relative;
}
.accordion-button:not(.collapsed) {
  background-color: #dfe3e8;
  color: #212529;
}
.accordion-body {
  background-color: #fff;
  color: #212529;
  padding: 1rem 1.5rem;
  line-height: 1.6;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 576px) {
  .titre-rubrique {
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom-width: 3px;
  }
  .titre-rubrique::before {
    width: 0.75rem;
    height: 0.75rem;
    flex-basis: 0.75rem;
  }
  .footer-site {
    text-align: left;
  }
  .footer-large-map {
    min-height: 280px;
  }
  .container form {
    padding: 1rem;
  }
}
@media (max-width: 767px) {
  .carousel-logo-above {
    display: block;
  }
  .slide-logo, .carousel-logo {
    display: none;
  }
  .slide-text-box {
    position: static;
    transform: none;
    max-width: 100%;
    background: #1f1f1f;
    color: #fff;
    text-align: left;
    margin-top: 0;
    padding: 1rem;
    border-radius: 0;
  }
  .carousel-indicators {
    bottom: 0.5rem;
  }
  #carouselActualites .card {
    width: 100%;
  }
  #carouselActualites .card img {
    height: 220px;
  }
  #carouselActualites .carousel-item .col-12 {
    margin-bottom: 1rem;
  }
  aside.col-12 {
    margin-top: 1rem;
  }
  aside.col-md-4 {
    order: 3 !important;
  }
}
@media (min-width: 768px) {
  .footer-large-map {
    min-height: 420px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .col-md-8 .row > .col-md-6:last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 769px) {
  .page-hero {
    padding: 2rem 2.5rem 1.6rem;
  }
}
@media (min-width: 992px) {
  .carousel-item {
    position: relative;
  }
  .hero-slide__content {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: min(38%, 540px);
    background: rgba(0, 0, 0, 0.72);
    border-radius: .5rem;
  }
  .hero-slide__box {
    padding: 2rem;
  }
}
/* =========================
   RÉDUCTION DES ANIMATIONS
========================= */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .carousel .carousel-item {
    transition: none !important;
  }
}