/* ==========================================================================
   CTA BAR - STICKY BAR
   ========================================================================== */

#stickyBar {
  background-color: #fff;
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: bottom 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#stickyBar.visible {
  bottom: 0;
}

.ctabar .wording {
  margin-right: 17px;
  color: #000;
}

.ctabar .ctamain-button {
  font-size: 18px;
}

@media only screen and (max-width: 600px) {
  .ctabar .ctamain-button {
    width: 90%;
    margin: auto;
    font-weight: bold;
  }
}

@media only screen and (max-width: 400px) {
  .ctabar {
    padding-bottom: 10px;
  }
}

@media only screen and (max-width: 768px) {
  #stickyBar .wording {
    display: none;
  }
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.ctamain.header {
  background-color: transparent;
  padding: 0;
}

.ctamain-title.header {
  width: 100%;
}

.containerprix {
  position: relative;
  width: 324px;
  font-family: Verdana, sans-serif;
}

.containerprix img {
  width: 324px;
  height: 125px;
}

.prix-min,
.prix-max {
  position: absolute;
  top: 135px;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: bold;
  transform: translateX(-50%);
  font-family: var(--font-base);
}

.prix-min {
  left: 140px;
}

.prix-max {
  left: 222px;
}

.header-prix {
  color: var(--prix);
  font-size: 2.6em;
  font-weight: bold;
  line-height: 1.1em;
}

.header-prix-observes {
  color: #737272;
  font-size: 18px;
  font-weight: 400;
  padding: 5px 0 15px;
  line-height: 1.1em;
}

@media only screen and (max-width: 768px) {
  .containerprix,
  .containerprix img {
    width: 290px !important;
  }

  .header-prix {
    font-size: 1.7em;
    line-height: 1.05em;
  }

  .prix-min,
  .prix-max {
    top: calc(125px * (290 / 324) + 15px);
    font-size: 14px;
  }

  .prix-min {
    left: 122px;
  }

  .prix-max {
    left: 198px;
  }

  .header-prix-observes {
    padding-bottom: 5px;
    font-size: 1.1em;
  }

  .cta-container-header {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .header-prix {
    font-size: 2em;
  }
}

/* ==========================================================================
   MAIN CTA CONTAINER
   ========================================================================== */

.ctamain {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 30px 30px 40px;
  margin: 3em 0;
  background-color: var(--color-accent-primary-bg);
}

/* ==========================================================================
   CTA 1 2 3 - CENTER ALL CONTENT
   ========================================================================== */

.ctamain1,
.ctamain2,
.ctamain3 {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.ctamain1 > *,
.ctamain2 > *,
.ctamain3 > * {
  flex-basis: 100%;
}

.ctamain1 .ctamain-cp,
.ctamain2 .ctamain-cp,
.ctamain3 .ctamain-cp {
  flex-basis: auto;
}

.ctamain1 a[data-has-postal="true"],
.ctamain2 a[data-has-postal="true"],
.ctamain3 a[data-has-postal="true"] {
  flex-basis: auto;
}

.ctamain1 .ctamain-title,
.ctamain2 .ctamain-title,
.ctamain3 .ctamain-title {
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
}

/* ==========================================================================
   CTA TITLE
   ========================================================================== */

.ctamain-title {
  width: 80%;
  text-align: left;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2em;
  margin-bottom: 25px;
}

/* ==========================================================================
   CTA SUBTITLE
   ========================================================================== */

.ctamain-subtitle {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.2em;
  width: 100%;
  margin-bottom: 25px;
  margin-top: 8px;
  font-weight: 500;
}

@media only screen and (max-width: 600px) {
  .ctamain-subtitle {
    font-size: 1.2em;
  }
}

/* ==========================================================================
   CODE POSTAL INPUT
   ========================================================================== */

.ctamain-cp {
  margin-right: 5px;
  margin-bottom: 5px;
}

.ctamain-cp .btn-cpostal {
  font-size: 23px;
  border: 1px solid var(--color-border-light);
  border-radius: 3px;
  color: #000;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  box-sizing: border-box;
  padding-top: 17px;
  padding-bottom: 15px;
  height: auto;
  text-align: center;
}

.ctamain-cp .btn-cpostal::-webkit-outer-spin-button,
.ctamain-cp .btn-cpostal::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media only screen and (max-width: 600px) {
  .ctamain-cp {
    margin-right: 0;
  }

  .ctamain-cp,
  .ctamain-cp .btn-cpostal {
    width: 100%;
  }

  .ctamain-cp .btn-cpostal {
    text-align: center;
  }
}

@media (min-width: 600px) and (max-width: 1018px) {
  .ctamain-cp .btn-cpostal {
    padding-right: 30px;
  }
}

/* ==========================================================================
   CTA BUTTON
   ========================================================================== */

.ctamain-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 31px 10px 31px;
  font-size: 23px;
  background-color: var(--color-accent-primary);
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  min-height: 55px;
  line-height: 1em;
}

.ctamain-button:hover {
  background-color: var(--color-accent-primary-hover);
}

.ctamain-button.t2 {
  padding: 22px 100px 22px 100px;
  font-size: 27px;
}

@media only screen and (max-width: 600px) {
  .ctamain-button,
  .ctamain-button.t2 {
    font-size: 23px;
    padding: 15px 15px 15px 25px;
    width: 100%;
  }
  a[data-worktype-url] {
    width: 100%;
    display: block;
  }
}

/* ==========================================================================
   PULSE ANIMATION
   ========================================================================== */

.pulse {
  animation: cta 4s infinite;
}

@-webkit-keyframes cta {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--color-accent-primary-pulse);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes cta {
  0% {
    -moz-box-shadow: 0 0 0 0 var(--color-accent-primary-pulse);
    box-shadow: 0 0 0 0 var(--color-accent-primary-pulse);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* ==========================================================================
   BUTTON TEXT WITH ARROW
   ========================================================================== */

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 1em;
}

.arrow::after {
  content: "";
  width: 1.7em;
  height: 1.7em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M24.6,16l-5.5-6.6l-2.4,2l3.3,3.9H7v3.2h13l-3.3,3.9l2.4,2l5.5-6.6C25.1,17.4,25.1,16.6,24.6,16z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ==========================================================================
   REASSURANCE TEXT
   ========================================================================== */

.ctamain-rassure {
  font-size: 16px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.rassure-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rassure-item::before {
  content: "";
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

@media only screen and (max-width: 600px) {
  .ctamain-rassure {
    font-size: 0.9em;
    gap: 3px;
    margin-top: 10px;
  }

  .rassure-item {
    gap: 4px;
  }

  .rassure-item::before {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media only screen and (max-width: 600px) {
  .ctamain {
    padding: 20px;
  }

  .ctamain-title {
    line-height: 1em;
    width: 90%;
  }
}

/* ==========================================================================
   MISC POST
   ========================================================================== */

/* Content */

h2 {
  margin: 1.5em 0;
  text-align: center;
}

h3,
h4 {
  margin: 1.4em 0;
  font-weight: 500;
}

.highlight-basic {
  padding: 20px 40px;
  background-color: var(--high-bg);
  margin: 35px 0;
  border-left-style: solid;
  border-left-width: 5px;
  border-color: var(--high-bd);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 1px 1px 5px 0 #dbdbdb;
}

.highlight-basic p {
  margin-bottom: 15px;
}

@media screen and (max-width: 450px) {
  .highlight-basic {
    padding: 10px 20px 10px 20px !important;
  }
}

@media screen and (min-width: 600px) {
  ul {
    padding-left: 1.2em;
  }
}
/* Images */

.tagdiv-type figure img {
  border-radius: 3px;
  margin: 2em auto;
}

/* Table */

.wp-block-table table {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5em;
  margin-top: 1.5em;
}

.wp-block-table tr:first-child td:first-child {
  border-top-left-radius: 4px;
}
.wp-block-table tr:first-child td:last-child {
  border-top-right-radius: 4px;
}
.wp-block-table tr:last-child td:first-child {
  border-bottom-left-radius: 4px;
}
.wp-block-table tr:last-child td:last-child {
  border-bottom-right-radius: 4px;
}

td,
th,
.wp-block-table td,
.wp-block-table th {
  border: 1px solid #e6e6e6;
  padding: 7px 10px !important;
}

tr:first-child {
  background-color: var(--tabletr);
  font-size: 1.02em;
}

tr:first-child th,
tr:first-child td {
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .wp-block-table {
    font-size: 0.8em;
  }
}

/* Toc */

#toc_container {
  padding-top: 1em;
}

@media screen and (max-width: 400px) {
  #toc_container {
    padding-bottom: 1.6em;
  }
}

.toc_title {
  font-size: 1.4em !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}

.toc_list {
  padding-left: 5px;
}

#toc_container ul li {
  list-style: none;
  margin-left: -5px;
  padding: 5px 0;
  margin-bottom: 0;
}

#toc_container ul li:before {
  font-family: "newspaper";
  content: "\e803";
  margin-right: 10px;
  font-size: 18px;
  color: #9f9f9f;
  position: relative;
  top: -1px;
  width: 6px;
  margin-left: 13px;
  height: 35px;
  float: left;
}

#toc_container ul li:hover:before {
  color: #268af5;
}

.toc_list a {
  color: #333333;
}

#toc_container a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

#toc_container ul li a {
  text-decoration: none;
  border: none;
  display: block;
}

/* ==========================================================================
   TEMPLATE DEVIS
   ========================================================================== */

.reassur-item > img {
  margin-bottom: 0px;
}

.reassurance {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.reassur-item {
  display: flex;
  margin-right: 28px;
  align-items: center;
}

.reassur-item:last-child {
  margin-right: 0;
}

.accept-icon {
  height: 32px;
  width: 32px;
}

.reassur-text {
  margin-left: 6px;
  font-size: 1.2em;
  font-weight: 600;
}

@media only screen and (max-width: 600px) {
  .reassurance {
    flex-direction: column;
    align-items: flex-start;
  }

  .reassur-item {
    margin-bottom: 20px;
    margin-right: 0;
  }

  .reassur-item:last-child {
    margin-bottom: 0;
  }
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: fit-content;
  margin: 0;
}
