:root {
  --bs-primary: #1037A0;        /* nouvelle couleur */
  --bs-primary-rgb: 42, 127, 255;
}

html, body {
  height: 100%;
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--bs-primary);
}
body,
h1, h2, h3, h4, h5 {
    font-family: 'Lato', sans-serif;
}
.h1, .h2, .h3, .h4, .h5,
h1, h2, h3, h4, h5 {
  font-weight: 900;
}
.site-main {
  height: 100vh;
}

.mySwiper {
    height: calc(100vh - 50px);
}

.swiper-slide {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-inner {
  width: 100%;
  padding: 2rem;
}

.text-blue {
  color: var(--bs-primary);
  font-weight: bold;
}

  h1#logo {
    border: 4px solid #1037A0;
    display:inline-block;
    color: #1037A0;
    border-radius: 3px;
    z-index:9991;
    position:absolute;
    left:50%;
    margin-left: -165px;
    margin-top: 30px;
    font-weight: bold;
    font-size: 80px;
  }
  h1#logo span {
    display:inline-block;
    padding: 15px 0;  
  }
  h1#logo span:nth-child(1) {
    background: #fff;
    padding-left: 10px;
    padding-right:5px;
  }
  h1#logo span:nth-child(2) {
    background: url('../images/bg.png');
    padding-left: 5px;
    padding-right: 10px;
  }



  .hero-slider,
.hero-slide {
  height: 100%;
}

.hero-slide figure {
  position: relative;
  height: 100%;
  margin: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide figcaption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  max-width: 600px;
}

.hero-slide h2 span {
  display: block;
}

#section-1 {
    background: url(../images/isdi-perval-site3.jpg) no-repeat bottom center;
    padding: 0px 0 0 0;
    background-size: cover;
}

#section-1 article {
    background: -moz-linear-gradient(top,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#00ffffff',GradientType=0);
    padding: 30px 60px;
}
.swiper-pagination.swiper-pagination-vertical {
  position: fixed !important;
}
/* Desktop */
body.logged-in .navbar.fixed-top {
  top: 32px;
}

/* Mobile */
@media (max-width: 782px) {
  body.logged-in .navbar.fixed-top {
    top: 46px;
  }
}

.navbar-expand-lg .navbar-nav .nav-link {
  text-transform: uppercase;
  padding: 15px 15px !important;
}

#modalites {
    background-image: url(../images/isdi-perval-traitement.jpg);
}

#materiaux-tab figure {
  height: 50px;
  overflow: hidden;
}
#declarationprealable {
    background-image: url(../images/isdi-perval-admission.jpg);
}

.nav-link.active {
  font-weight: 600;
  color: #fff !important;
  background: var(--bs-primary);
}

.navbar-expand-lg {
  height: 52px;
}

#main {
  padding: 50px 30px 0 30px;
}

.card-img-top {
  height: 100px; /* ajuste selon ton besoin */
  object-fit: cover;
}
.h5, h5 {
  font-size: 1em;
}


div.wpforms-container-full .wpforms-field-label, .wp-core-ui div.wpforms-container-full .wpforms-field-label {
  margin: 0 !important;
}


.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);

  --bs-btn-hover-bg: #1f66cc;
  --bs-btn-hover-border-color: #1f66cc;

  --bs-btn-active-bg: #1a55aa;
  --bs-btn-active-border-color: #1a55aa;

  --bs-btn-focus-shadow-rgb: 42, 127, 255;
}

.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
  padding: 7px 0;
}

.wpforms-submit {
  /* Base Bootstrap */
  display: inline-block;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;

  /* Couleurs Bootstrap */
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

/* Hover */
.wpforms-submit:hover {
  background-color: #1f66cc;
  border-color: #1f66cc;
  color: #fff;
}

/* Active */
.wpforms-submit:active {
  background-color: #1a55aa;
  border-color: #1a55aa;
}

/* Focus (accessibilité) */
.wpforms-submit:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5);
}

div.wpforms-container-full input[type=submit]:not(:hover):not(:active), div.wpforms-container-full button[type=submit]:not(:hover):not(:active), div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
    background-color: var(--bs-primary) !important;
    color: #fff;
  }

  .map-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.content-overlay {
  position: relative;
  z-index: 2;
}

/* Fond lisible */
#horairesacces::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 1;
}

/* Panels */
.panel {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.text-shadow-lg {
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}