/*
  FONT POPPINS 300 & 400 / PERFACTIVE — zéro dépendance Google
  ─────────────────────────────────────────────
*/
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-400.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153,
    U+02BC, U+02C6, U+2013-2014, U+2018-2019,
    U+201C-201D, U+20AC, U+2122;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-600.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153,
    U+02BC, U+02C6, U+2013-2014, U+2018-2019,
    U+201C-201D, U+20AC, U+2122;
}

/* ============================================================
   PAGE RENDEZ-VOUS (template-page-rdv.php)
   ============================================================ */
body.page-template-template-page-rdv {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.page-rdv-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: auto;
  flex: auto;
}



/* Nav */
.page-rdv-main .nav-wrapper {
  background: var(--white);
  /* height: 74px; */
  box-shadow: 0 4px 10px -10px rgba(0, 0, 0, .4);
  border-bottom-color: transparent;
  z-index: 2;
  position: relative;
  overflow: visible;
}

.page-rdv-main .nav-wrapper .btn {
  font-size: 0.9rem;
  background: #f6f6f6;
  color: #666;
}

.page-rdv-main nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 74px;
  margin: 0 auto;
}

.nav-rdv-logo__img {
  position: absolute;
  left: calc(50% - 35px);
  top: 10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  outline: 2px solid var(--white);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Loader */
.loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  z-index: 1;
  flex-direction: column;
  gap: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #ddd;
  border-top: 3px solid #377dff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  opacity: 0;
  transition: opacity 300ms ease;
  text-align: center;
  padding: 0 8%;
  font-size: 1.05rem;
  line-height: 2rem;
  max-width: 800px;
}

.loader-text strong {
  color: #377dff;
}

.loader-text a {
  color: #377dff;
  text-decoration: underline;
}

.loader-text.visible {
  opacity: 1;
}

/* Iframe Wrapper */
.page-rdv-main .iframe-wrapper {
  position: relative;
  flex: 1;
  background-color: #f8f9fa;
}

.page-rdv-main iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   PAGE CONFIRMATION (template-page-confirmation.php)
   ============================================================ */
.page-confirmation-main {
  background-color: #f8f9fa !important;
  font-family: 'Poppins', sans-serif;
}

.page-confirmation-main-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: 95vh;
}


@media (min-width: 576px) {
  .page-confirmation-main-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .page-confirmation-main-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .page-confirmation-main-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .page-confirmation-main-container {
    max-width: 1140px;
  }
}

.row-confirm {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-confirm {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-content-text {
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }
}

@media (min-width: 768px) {
  .col-content-desc {
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
}

.col-confirm .card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 0 !important;
  border-radius: .3125rem;
  box-shadow: 0 0 35px rgba(140, 152, 164, .125) !important;
  overflow: hidden;
}

.card-content-text {
  padding: 1.5rem 2rem 1rem !important;
  margin-bottom: 1.5rem !important;
}

.card-content-text-top {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 1.5rem;
  align-items: center;
  color: #222;
}

.card-content-text-middle {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  color: #222;
}

.card-content-text-middle p:first-child {
  margin-bottom: 1rem;
}

.card-content-text-bottom li {
  margin-bottom: 1rem;
  line-height: 1.5rem;
}

.card-content-text-middle strong,
.card-content-text-bottom li strong {
  display: block;
  color: #444;
  font-weight: 600;
}

.card-content-text-bottom .btn {
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .card-content-text-top {
    grid-template-columns: auto 1fr;
    text-align: left;
  }
}

.card-content-text .check-circle {
  color: #00c9a7;
  background: rgba(0, 201, 167, .1);
  border-radius: 50% !important;
  display: inline-flex;
  width: 70px;
  height: 70px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.card-content-text h1 {
  font-family: inherit !important;
  font-size: 2.15rem !important;
}

.col-confirm.col-content-footer {
  font-size: .9rem;
  text-align: center;
  color: #999;
  margin-top: 1.5rem;
}