/*
Theme Name: Renov Partenaires Enfant
Description: Thème enfant de Hello Elementor pour RENOVPARTENAIRES.FR
Author: RENOVPARTENAIRES
Template: hello-elementor
Version: 1.3.4
Text Domain: renov-partenaires-enfant
*/

/* PALETTE */

:root {
  --rpfr-blue: #0B3558;
  --rpfr-orange: #EF7D22;
  --rpfr-white: #FFFFFF;
  --rpfr-width: 1180px;
  --rpfr-radius: 18px;
  --rpfr-shadow: 0 10px 25px rgba(11,53,88,.13);
  --rpfr-shadow-strong:
    0 15px 35px rgba(11,53,88,.18),
    0 30px 65px rgba(11,53,88,.12);
}

/* BASE */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body.rpfr-fixed-header {
  padding-top: 0;
}

.rpfr {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--rpfr-white);
  color: var(--rpfr-blue);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height: 1.6;
}

.rpfr img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rpfr a {
  color: inherit;
}

.rpfr h1,
.rpfr h2,
.rpfr h3 {
  margin-top: 0;
  color: var(--rpfr-blue);
  line-height: 1.14;
}

.rpfr h1 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem,5vw,4.4rem);
  letter-spacing: -.045em;
}

.rpfr h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem,2.7vw,2.3rem);
  letter-spacing: -.025em;
}

.rpfr h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.rpfr p {
  margin-top: 0;
  color: rgba(11,53,88,.76);
}

.rpfr section,
#rp-contact,
#rp-contact-ok,
#rp-contact-err {
  scroll-margin-top: 230px;
}

/* HEADER GLOBAL */

.rpfr-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--rpfr-white);
  border-bottom: 4px solid var(--rpfr-orange);
  box-shadow: 0 5px 20px rgba(11,53,88,.09);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

body.admin-bar .rpfr-header {
  top: 32px;
}

.rpfr-header__inner {
  position: relative;
  width: min(calc(100% - 40px),var(--rpfr-width));
  margin: 0 auto;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 150px minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
}

.rpfr-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.rpfr-header__logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.rpfr-header__identity {
  min-width: 0;
  text-align: center;
}

/*
 * NOM SOBRE SUR UNE SEULE LIGNE.
 * Même police et même taille pour les deux parties.
 */

.rpfr-header__name {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 0 0 6px;
  font-family: "Trebuchet MS","Segoe UI",Arial,sans-serif;
  font-size: clamp(1.2rem,2.1vw,1.75rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.15;
  white-space: nowrap;
}

.rpfr-header__name-blue,
.rpfr-header__name-orange {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-indent: 0;
  white-space: nowrap;
}

.rpfr-header__name-blue {
  color: #07359A;
}

.rpfr-header__name-orange {
  color: #FF6B00;
}

/* R ET P : même police que les autres lettres. */

.rpfr-header__initial {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-indent: 0;
  vertical-align: baseline;
}

/* Couleurs de secours. */

.rpfr-header__initial--r {
  color: #07359A;
}

.rpfr-header__initial--p {
  color: #FF6B00;
}

/* R : orange en haut, bleu en bas. P : couleurs inversées. */

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .rpfr-header__initial {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .rpfr-header__initial--r {
    background-image: linear-gradient(
      to bottom,
      #FF6B00 0%,
      #FF6B00 50%,
      #07359A 50%,
      #07359A 100%
    );
  }

  .rpfr-header__initial--p {
    background-image: linear-gradient(
      to bottom,
      #07359A 0%,
      #07359A 50%,
      #FF6B00 50%,
      #FF6B00 100%
    );
  }
}

@media (forced-colors: active) {
  .rpfr-header__initial {
    background-image: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

.rpfr-header__profession {
  margin: 0 0 3px;
  color: var(--rpfr-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.rpfr-header__area {
  margin: 0;
  color: var(--rpfr-blue);
  font-size: .88rem;
  line-height: 1.35;
}

.rpfr-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rpfr-orange);
  color: var(--rpfr-blue);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 800;
  white-space: nowrap;
}

.rpfr-phone:hover {
  background: var(--rpfr-blue);
  color: var(--rpfr-white);
}

#rpfr-header .rpfr-menu-toggle {
  display: none;
}

/* MENU WORDPRESS SUR ORDINATEUR */

.rpfr-header__menu-bar {
  background: var(--rpfr-blue);
}

#rpfr-header .rpfr-navigation {
  width: min(calc(100% - 40px),var(--rpfr-width));
  margin: 0 auto;
}

#rpfr-header .rpfr-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#rpfr-header .rpfr-navigation__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#rpfr-header .rpfr-navigation li {
  position: relative;
  margin: 0;
  padding: 0;
}

#rpfr-header .rpfr-navigation a {
  display: block;
  padding: 13px 17px;
  color: var(--rpfr-white);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

#rpfr-header .rpfr-navigation a:hover,
#rpfr-header .rpfr-navigation a:focus-visible,
#rpfr-header .rpfr-navigation .current-menu-item > a {
  background: var(--rpfr-orange);
  color: var(--rpfr-blue);
}

#rpfr-header .rpfr-navigation .menu-item-has-children > a::after {
  content: " ▾";
}

#rpfr-header .rpfr-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  width: 250px;
  padding: 6px;
  border: 1px solid rgba(11,53,88,.15);
  border-top: 3px solid var(--rpfr-orange);
  border-radius: 0 0 10px 10px;
  background: var(--rpfr-white);
  box-shadow: 0 12px 24px rgba(11,53,88,.15);
}

#rpfr-header .rpfr-navigation .sub-menu a {
  padding: 11px 12px;
  border-radius: 5px;
  color: var(--rpfr-blue);
  overflow-wrap: anywhere;
}

#rpfr-header .rpfr-navigation li:hover > .sub-menu,
#rpfr-header .rpfr-navigation li:focus-within > .sub-menu {
  display: block;
}

#rpfr-header .rpfr-navigation .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

#rpfr-header .rpfr-navigation__list > li:last-child > .sub-menu {
  left: auto;
  right: 0;
}

#rpfr-header .rpfr-navigation__list > li:last-child .sub-menu .sub-menu {
  left: auto;
  right: 100%;
}

#rpfr-header a:focus-visible,
#rpfr-header button:focus-visible,
.rpfr-footer__logo-link:focus-visible {
  outline: 3px solid var(--rpfr-orange);
  outline-offset: 3px;
}

/* PETITS TITRES */

.rpfr-kicker {
  margin: 0 0 9px;
  color: var(--rpfr-orange) !important;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* BOUTONS */

.rpfr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease,box-shadow .2s ease;
}

.rpfr-button:hover {
  transform: translateY(-2px);
}

.rpfr-button--primary,
.rpfr-button--outline {
  border: 2px solid var(--rpfr-orange);
  background: var(--rpfr-orange);
  color: var(--rpfr-white);
  box-shadow: 0 8px 20px rgba(239,125,34,.22);
}

.rpfr-button--primary:hover,
.rpfr-button--outline:hover {
  color: var(--rpfr-white);
  box-shadow: 0 11px 27px rgba(239,125,34,.32);
}

/* HERO */

.rpfr-hero {
  position: relative;
  padding: 62px 20px 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%,rgba(239,125,34,.10),transparent 28%),
    radial-gradient(circle at 5% 90%,rgba(11,53,88,.07),transparent 32%),
    var(--rpfr-white);
}

.rpfr-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,var(--rpfr-orange) 0%,var(--rpfr-orange) 32%,var(--rpfr-blue) 32%,var(--rpfr-blue) 100%);
}

.rpfr-hero__grid {
  position: relative;
  z-index: 1;
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(390px,.95fr);
  gap: 52px;
  align-items: center;
}

.rpfr-hero__copy {
  max-width: 690px;
}

.rpfr-hero__subtitle {
  margin-bottom: 18px;
  color: var(--rpfr-blue) !important;
  font-size: .94rem;
  font-weight: 900;
  letter-spacing: .045em;
}

.rpfr-hero__text {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: 1.06rem;
}

.rpfr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rpfr-hero__media {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--rpfr-white);
  border-radius: 22px;
  background: rgba(11,53,88,.06);
  box-shadow: var(--rpfr-shadow-strong);
}

.rpfr-hero__media img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
}

.rpfr-hero__badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 11px 15px;
  border-left: 5px solid var(--rpfr-orange);
  border-radius: 10px;
  background: rgba(11,53,88,.93);
  color: var(--rpfr-white);
  text-align: center;
  font-size: .82rem;
  font-weight: 900;
}

/* CARTES SOUS LE HERO */

.rpfr-hero__points {
  position: relative;
  z-index: 1;
  width: min(100%,var(--rpfr-width));
  margin: 35px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  list-style: none;
}

.rpfr-hero__points li {
  padding: 15px 17px;
  border: 1px solid rgba(11,53,88,.12);
  border-top: 4px solid var(--rpfr-orange);
  border-radius: 13px;
  background: var(--rpfr-white);
  box-shadow: 0 7px 18px rgba(11,53,88,.08);
}

.rpfr-hero__points strong {
  display: block;
  margin-bottom: 3px;
  color: var(--rpfr-blue);
  font-size: .94rem;
}

.rpfr-hero__points span {
  color: rgba(11,53,88,.67);
  font-size: .79rem;
}

/* SECTIONS */

.rpfr-section {
  position: relative;
  padding: 66px 20px;
  background: var(--rpfr-white);
}

.rpfr-section--soft {
  background: rgba(11,53,88,.045);
}

.rpfr-section--services {
  background: linear-gradient(180deg,var(--rpfr-white) 0%,rgba(239,125,34,.045) 100%);
}

.rpfr-section--accent {
  background: linear-gradient(135deg,rgba(11,53,88,.06) 0%,var(--rpfr-white) 50%,rgba(239,125,34,.055) 100%);
}

.rpfr-section--guides {
  background: rgba(11,53,88,.04);
}

.rpfr-section--faq {
  background: var(--rpfr-blue);
}

.rpfr-section--faq .rpfr-kicker {
  color: var(--rpfr-orange) !important;
}

.rpfr-section--faq .rpfr-section__head h2 {
  color: var(--rpfr-white);
}

.rpfr-section__head {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.65fr);
  gap: 42px;
  align-items: end;
}

.rpfr-section__head h2,
.rpfr-section__head > p {
  margin-bottom: 0;
}

.rpfr-wrap {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
}

/* CARROUSEL */

.rpfr-carousel-wrap {
  position: relative;
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  padding: 0 8px;
}

.rpfr-service-carousel {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 22px;
  width: 100%;
  padding: 20px 10px 38px;
  margin: 0;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  cursor: grab;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
}

.rpfr-service-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.rpfr-service-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.rpfr-service-carousel.is-dragging * {
  user-select: none;
}

/* CARTES DU CARROUSEL */

.rpfr-service-carousel > .rpfr-service {
  position: relative;
  flex: 0 0 325px !important;
  width: 325px !important;
  min-width: 325px !important;
  max-width: 325px !important;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(11,53,88,.12);
  border-radius: 19px;
  background: var(--rpfr-white);
  box-shadow: 0 9px 20px rgba(11,53,88,.15),0 23px 48px rgba(11,53,88,.16);
  transition: transform .25s ease,box-shadow .25s ease;
  cursor: pointer;
}

/*
 * Le dernier lien de chaque carte couvre toute la carte.
 * La carte reste donc accessible au clavier et aucun JavaScript
 * supplémentaire n'est nécessaire pour ouvrir le bon lien.
 */

.rpfr-service-carousel > .rpfr-service a[href]:last-of-type {
  color: var(--rpfr-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rpfr-service-carousel > .rpfr-service a[href]:last-of-type::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
}

.rpfr-service-carousel > .rpfr-service:focus-within {
  outline: 3px solid var(--rpfr-orange);
  outline-offset: 3px;
}

.rpfr-service-carousel > .rpfr-service::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--rpfr-orange);
}

.rpfr-service-carousel > .rpfr-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(11,53,88,.19),0 30px 65px rgba(11,53,88,.19);
}

.rpfr-service__photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: rgba(11,53,88,.06);
}

.rpfr-service__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform .35s ease;
}

.rpfr-service-carousel > .rpfr-service:hover .rpfr-service__photo img {
  transform: scale(1.035);
}

.rpfr-service__body {
  padding: 20px;
}

.rpfr-service__body .rpfr-kicker {
  margin-bottom: 7px;
  font-size: .66rem;
}

.rpfr-service__body h2 {
  margin-bottom: 11px;
  font-size: 1.27rem;
  line-height: 1.18;
}

.rpfr-service__body h3 {
  margin: 18px 0 9px;
  color: var(--rpfr-orange);
  font-size: .98rem;
}

.rpfr-service__body > p:not(.rpfr-kicker) {
  margin-bottom: 0;
  font-size: .89rem;
  line-height: 1.47;
}

.rpfr-service__price {
  display: grid;
  gap: 2px;
  margin: 12px 0 !important;
}

.rpfr-service__price strong {
  color: var(--rpfr-blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.rpfr-service__price span {
  color: var(--rpfr-orange);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
}

/* LISTES */

.rpfr-checks {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.rpfr-checks li {
  position: relative;
  padding-left: 21px;
  color: var(--rpfr-blue);
  font-size: .88rem;
  line-height: 1.4;
}

.rpfr-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rpfr-orange);
  font-weight: 900;
}

/* FLÈCHES DU CARROUSEL */

.rpfr-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 3px solid var(--rpfr-white);
  border-radius: 50%;
  background: var(--rpfr-orange);
  color: var(--rpfr-white);
  box-shadow: 0 9px 25px rgba(11,53,88,.25);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.rpfr-carousel-button:hover {
  transform: translateY(-50%) scale(1.08);
}

.rpfr-carousel-button--prev {
  left: 6px;
}

.rpfr-carousel-button--next {
  right: 6px;
}

/* BLOCS À DEUX COLONNES */

.rpfr-process {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.rpfr-panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(11,53,88,.12);
  border-radius: var(--rpfr-radius);
  background: var(--rpfr-white);
  box-shadow: 0 9px 25px rgba(11,53,88,.10);
}

.rpfr-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--rpfr-blue);
}

.rpfr-panel h2 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem,2vw,1.92rem);
}

.rpfr-panel h3 {
  margin-top: 21px;
  color: var(--rpfr-orange);
}

.rpfr-panel > p:not(.rpfr-kicker) {
  color: rgba(11,53,88,.73);
}

.rpfr-panel--orange {
  border-color: rgba(239,125,34,.30);
  background: linear-gradient(145deg,var(--rpfr-white) 0%,rgba(239,125,34,.06) 100%);
}

.rpfr-panel--orange::before {
  background: var(--rpfr-orange);
}

.rpfr-panel--blue {
  border-color: rgba(11,53,88,.20);
  background: linear-gradient(145deg,var(--rpfr-white) 0%,rgba(11,53,88,.06) 100%);
}

.rpfr-panel--blue::before {
  background: var(--rpfr-blue);
}

.rpfr-panel--sanitaire {
  border-color: rgba(239,125,34,.25);
  background: linear-gradient(145deg,rgba(11,53,88,.05),var(--rpfr-white));
}

.rpfr-panel--sanitaire::before {
  background: linear-gradient(90deg,var(--rpfr-blue) 0%,var(--rpfr-blue) 55%,var(--rpfr-orange) 55%,var(--rpfr-orange) 100%);
}

/* ZONE LOCALE */

.rpfr-local {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px,.9fr) minmax(0,1.1fr);
  gap: 30px;
  align-items: stretch;
}

.rpfr-map {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border: 5px solid var(--rpfr-white);
  border-radius: var(--rpfr-radius);
  background: rgba(11,53,88,.05);
  box-shadow: var(--rpfr-shadow);
}

.rpfr-map iframe,
.rpfr-map > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 365px;
  border: 0;
}

.rpfr-map > img {
  object-fit: cover;
  object-position: center;
}

.rpfr-map__label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-left: 5px solid var(--rpfr-orange);
  border-radius: 9px;
  background: rgba(11,53,88,.94);
  color: var(--rpfr-white);
  text-align: center;
  font-size: .8rem;
  font-weight: 900;
}

.rpfr-local__copy {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(11,53,88,.12);
  border-radius: var(--rpfr-radius);
  background: var(--rpfr-white);
  box-shadow: 0 9px 25px rgba(11,53,88,.10);
}

.rpfr-local__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,var(--rpfr-orange) 0%,var(--rpfr-orange) 35%,var(--rpfr-blue) 35%,var(--rpfr-blue) 100%);
}

.rpfr-local__copy h3 {
  margin-top: 21px;
  color: var(--rpfr-orange);
}

/* VILLES */

.rpfr-city-line {
  margin: 0;
  padding: 15px 17px;
  border-left: 4px solid var(--rpfr-orange);
  border-radius: 10px;
  background: rgba(11,53,88,.055);
  color: var(--rpfr-blue) !important;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.8;
}

/* GUIDES */

.rpfr-guides-grid {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 18px;
  overflow: visible !important;
}

.rpfr-guide-card {
  position: relative;
  min-width: 0 !important;
  width: auto !important;
  overflow: hidden;
  border: 1px solid rgba(11,53,88,.12);
  border-radius: 16px;
  background: var(--rpfr-white);
  box-shadow: 0 8px 22px rgba(11,53,88,.10);
  transition: transform .25s ease,box-shadow .25s ease;
}

.rpfr-guide-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rpfr-orange);
}

.rpfr-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 30px rgba(11,53,88,.15);
}

.rpfr-guide-card__photo {
  width: 100%;
  height: 128px;
  overflow: hidden;
}

.rpfr-guide-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rpfr-guide-card__body {
  padding: 16px;
}

.rpfr-guide-card__body h2 {
  margin-bottom: 8px;
  font-size: 1.07rem;
  line-height: 1.22;
}

.rpfr-guide-card__body > p {
  margin-bottom: 0;
  font-size: .81rem;
  line-height: 1.4;
}

.rpfr-guide-card__body h3 {
  margin: 13px 0 7px;
  color: var(--rpfr-orange);
  font-size: .89rem;
}

.rpfr-guide-card .rpfr-checks {
  gap: 4px;
}

.rpfr-guide-card .rpfr-checks li {
  padding-left: 18px;
  font-size: .78rem;
}

/* FAQ */

.rpfr-faq {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
}

.rpfr-faq--two-columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.rpfr-faq details {
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: var(--rpfr-white);
  box-shadow: 0 8px 20px rgba(11,53,88,.20);
}

.rpfr-faq summary {
  position: relative;
  padding: 17px 52px 17px 18px;
  color: var(--rpfr-blue);
  font-size: .94rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.rpfr-faq summary::-webkit-details-marker {
  display: none;
}

.rpfr-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--rpfr-orange);
  font-size: 1.5rem;
}

.rpfr-faq details[open] summary::after {
  content: "−";
}

.rpfr-faq details[open] {
  border-color: var(--rpfr-orange);
}

.rpfr-faq details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: .89rem;
}

/* FOOTER */

.rpfr-footer {
  position: relative;
  padding: 42px 20px 20px;
  overflow: hidden;
  background: var(--rpfr-blue);
  color: var(--rpfr-white);
}

.rpfr-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--rpfr-orange);
}

.rpfr-footer__inner {
  width: min(100%,var(--rpfr-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 45px;
}

.rpfr-footer__logo-link {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 10px;
  background: var(--rpfr-white);
}

.rpfr-footer__logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

.rpfr-footer h3 {
  margin-bottom: 10px;
  color: var(--rpfr-white);
  font-size: 1.05rem;
}

.rpfr-footer p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.78);
  font-size: .85rem;
}

.rpfr-footer__bottom {
  width: min(100%,var(--rpfr-width));
  margin: 25px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.rpfr-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.57);
  font-size: .77rem;
}

.rpfr-callbar {
  display: none !important;
}

/* TABLETTE */

@media (max-width:1100px) {
  .rpfr-hero__grid {
    grid-template-columns: minmax(0,1fr) minmax(350px,.9fr);
    gap: 35px;
  }

  .rpfr-guides-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

/* TABLETTE ET MENU MOBILE */

@media (max-width:900px) {
  .rpfr-header__inner {
    width: calc(100% - 28px);
    grid-template-columns: 110px minmax(0,1fr);
    gap: 10px 16px;
    padding: 12px 0;
  }

  .rpfr-header__logo {
    width: 110px;
  }

  .rpfr-header__identity {
    text-align: left;
  }

  .rpfr-header__name {
    flex-direction: row;
    justify-content: flex-start;
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .rpfr-header__profession {
    font-size: .85rem;
  }

  .rpfr-header__area {
    font-size: .8rem;
  }

  .rpfr-header__inner > .rpfr-phone {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding: 0 15px;
    font-size: .86rem;
  }

  #rpfr-header.rpfr-header--enhanced .rpfr-menu-toggle {
    grid-column: 1;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--rpfr-blue);
    border-radius: 8px;
    background: var(--rpfr-white);
    color: var(--rpfr-blue);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
  }

  #rpfr-header .rpfr-menu-toggle[hidden] {
    display: none;
  }

  #rpfr-header .rpfr-navigation {
    width: 100%;
  }

  #rpfr-header.rpfr-header--enhanced .rpfr-header__menu-bar {
    display: none;
  }

  #rpfr-header.rpfr-header--menu-open .rpfr-header__menu-bar {
    display: block;
  }

  #rpfr-header .rpfr-navigation {
    max-height: 55vh;
    max-height: 55dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 14px;
  }

  #rpfr-header .rpfr-navigation__list {
    display: block;
  }

  #rpfr-header .rpfr-navigation a {
    padding: 12px;
  }

  #rpfr-header .rpfr-navigation .sub-menu,
  #rpfr-header .rpfr-navigation .sub-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    margin: 0 0 6px 12px;
    padding: 0 0 0 8px;
    border: 0;
    border-left: 2px solid var(--rpfr-orange);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #rpfr-header .rpfr-navigation .sub-menu a {
    color: var(--rpfr-white);
  }

  #rpfr-header .rpfr-navigation .sub-menu a:hover,
  #rpfr-header .rpfr-navigation .sub-menu a:focus-visible,
  #rpfr-header .rpfr-navigation .sub-menu .current-menu-item > a {
    color: var(--rpfr-blue);
    background: var(--rpfr-orange);
  }

  .rpfr-hero {
    padding-top: 45px;
  }

  .rpfr-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rpfr-hero__copy {
    max-width: none;
  }

  .rpfr-hero__media {
    max-width: 720px;
  }

  .rpfr-hero__media img {
    height: 380px;
  }

  .rpfr-hero__points {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .rpfr-section {
    padding: 54px 20px;
  }

  .rpfr-section__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rpfr-process,
  .rpfr-local {
    grid-template-columns: 1fr;
  }

  .rpfr-map,
  .rpfr-map iframe,
  .rpfr-map > img {
    min-height: 330px;
  }
}

/* BARRE ADMIN WORDPRESS */

@media (max-width:782px) {
  body.admin-bar .rpfr-header {
    top: 46px;
  }
}

/* MOBILE */

@media (max-width:680px) {
  .rpfr-header__inner {
    width: calc(100% - 20px);
    grid-template-columns: 85px minmax(0,1fr);
    gap: 9px 12px;
  }

  .rpfr-header__logo {
    width: 85px;
  }

  .rpfr-header__name {
    font-size: clamp(.78rem,3.1vw,1.05rem);
    letter-spacing: -.025em;
    white-space: nowrap;
  }

  .rpfr-header__profession {
    font-size: .78rem;
  }

  .rpfr-header__area {
    font-size: .75rem;
  }

  .rpfr-phone {
    padding: 0 8px;
    font-size: .75rem;
  }

  .rpfr-hero {
    padding: 35px 14px 26px;
  }

  .rpfr-hero h1 {
    font-size: 2.08rem;
  }

  .rpfr-hero__subtitle {
    font-size: .81rem;
  }

  .rpfr-hero__text {
    font-size: .96rem;
  }

  .rpfr-hero__media {
    border-width: 3px;
    border-radius: 17px;
  }

  .rpfr-hero__media img {
    height: 285px;
  }

  .rpfr-hero__badge {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: .71rem;
  }

  .rpfr-hero__points {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .rpfr-section {
    padding: 44px 14px;
  }

  .rpfr-carousel-wrap {
    width: 100%;
    padding: 0;
  }

  .rpfr-service-carousel {
    gap: 10px;
    padding: 12px 6px 26px;
    scroll-snap-type: x mandatory;
  }

  .rpfr-service-carousel > .rpfr-service {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .rpfr-service__photo {
    height: 105px;
  }

  .rpfr-service__body {
    padding: 12px 10px 14px;
  }

  .rpfr-service__body h2 {
    margin: 7px 0;
    font-size: .84rem;
    line-height: 1.22;
  }

  .rpfr-service__body h3 {
    margin: 7px 0;
    font-size: .84rem;
    line-height: 1.22;
  }

  .rpfr-service__body .rpfr-kicker {
    margin-bottom: 5px;
    font-size: .55rem;
    line-height: 1.25;
  }

  .rpfr-service__body > p:not(.rpfr-kicker):not(.rpfr-service__price),
  .rpfr-service-carousel .rpfr-checks {
    display: none;
  }

  .rpfr-service__body .rpfr-service__price {
    display: grid;
    margin: 8px 0 !important;
    font-size: .75rem;
    line-height: 1.25;
  }

  .rpfr-service__price strong {
    font-size: .86rem;
  }

  .rpfr-service__price span {
    font-size: .54rem;
  }

  .rpfr-service__body a[href]:last-of-type {
    display: inline-block;
    margin-top: 7px;
    font-size: .7rem;
    line-height: 1.25;
  }

  .rpfr-carousel-button {
    display: none;
  }

  .rpfr-panel {
    padding: 21px;
  }

  .rpfr-panel h2 {
    font-size: 1.4rem;
  }

  .rpfr-local__copy {
    padding: 21px;
  }

  .rpfr-city-line {
    padding: 13px 14px;
    font-size: .81rem;
  }

  .rpfr-guides-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 11px;
  }

  .rpfr-guide-card__photo {
    height: 105px;
  }

  .rpfr-guide-card__body {
    padding: 12px;
  }

  .rpfr-guide-card__body h2 {
    font-size: .94rem;
  }

  .rpfr-guide-card__body h3 {
    margin-top: 10px;
    font-size: .8rem;
  }

  .rpfr-guide-card__body > p {
    font-size: .74rem;
  }

  .rpfr-guide-card .rpfr-checks li {
    font-size: .72rem;
  }

  .rpfr-faq--two-columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rpfr-footer {
    padding: 34px 16px 18px;
  }

  .rpfr-footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width:600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}

/* PETIT MOBILE */

@media (max-width:440px) {
  .rpfr-hero h1 {
    font-size: 1.83rem;
  }

  .rpfr-hero__points {
    grid-template-columns: 1fr;
  }

  .rpfr-hero__media img {
    height: 235px;
  }

  .rpfr-service-carousel > .rpfr-service {
    flex: 0 0 calc((100% - 8px) / 2) !important;
    width: calc((100% - 8px) / 2) !important;
    min-width: calc((100% - 8px) / 2) !important;
    max-width: calc((100% - 8px) / 2) !important;
  }

  .rpfr-service-carousel {
    gap: 8px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .rpfr-service__photo {
    height: 92px;
  }

  .rpfr-service__body {
    padding: 10px 8px 12px;
  }

  .rpfr-service__body h2,
  .rpfr-service__body h3 {
    font-size: .78rem;
  }

  .rpfr-guides-grid {
    grid-template-columns: 1fr !important;
  }

  .rpfr-guide-card {
    display: grid;
    grid-template-columns: 115px minmax(0,1fr);
  }

  .rpfr-guide-card__photo {
    width: 115px;
    height: 100%;
    min-height: 155px;
  }

  .rpfr-guide-card__body h2 {
    font-size: .93rem;
  }
}

/* FORMULAIRE EXISTANT */

.rpfr-hero__form {
  position: relative;
  z-index: 1;
}

.rpfr-form {
  position: relative;
  padding: 24px 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(11,53,88,.12);
  border-radius: 22px;
  background: var(--rpfr-white);
  box-shadow: var(--rpfr-shadow-strong);
}

.rpfr-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,var(--rpfr-orange) 0%,var(--rpfr-orange) 32%,var(--rpfr-blue) 32%,var(--rpfr-blue) 100%);
}

.rpfr-form .rpfr-kicker {
  margin-bottom: 6px;
  font-size: .66rem;
}

.rpfr-form__title {
  margin-bottom: 14px;
  font-size: 1.32rem;
  letter-spacing: -.02em;
}

.rpfr-form__msg {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--rpfr-blue);
  border-radius: 8px;
  color: var(--rpfr-blue) !important;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
}

.rpfr-form__msg:target {
  display: block;
}

.rpfr-form__msg--ok {
  border-left-color: #2e7d32;
  background: rgba(46,125,50,.1);
}

.rpfr-form__msg--err {
  border-left-color: #c62828;
  background: rgba(198,40,40,.1);
}

.rpfr-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.rpfr-form__row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 12px;
}

.rpfr-form__field {
  display: block;
  margin-bottom: 11px;
}

.rpfr-form__field span {
  display: block;
  margin-bottom: 4px;
  color: var(--rpfr-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.rpfr-form__field input,
.rpfr-form__field select,
.rpfr-form__field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1.5px solid rgba(11,53,88,.22);
  border-radius: 10px;
  background: var(--rpfr-white);
  color: var(--rpfr-blue);
  font: inherit;
  font-size: .95rem;
  line-height: 1.4;
}

.rpfr-form__field textarea {
  min-height: 84px;
  resize: vertical;
}

.rpfr-form__field input::placeholder,
.rpfr-form__field textarea::placeholder {
  color: rgba(11,53,88,.45);
}

.rpfr-form__field input:focus,
.rpfr-form__field select:focus,
.rpfr-form__field textarea:focus {
  border-color: var(--rpfr-orange);
  outline: 3px solid rgba(239,125,34,.28);
  outline-offset: 0;
}

.rpfr-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 14px;
  color: rgba(11,53,88,.76);
  font-size: .77rem;
  line-height: 1.4;
  cursor: pointer;
}

.rpfr-form__consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--rpfr-orange);
}

.rpfr-form__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.rpfr-form__note {
  margin: 11px 0 0;
  text-align: center;
  font-size: .8rem;
}

.rpfr-form__note a {
  color: var(--rpfr-blue);
  font-weight: 800;
}

@media (max-width:900px) {
  .rpfr-hero__form {
    max-width: 720px;
  }
}

@media (max-width:680px) {
  .rpfr-form {
    padding: 18px 16px 16px;
    border-radius: 17px;
  }

  .rpfr-form__title {
    font-size: 1.15rem;
  }

  .rpfr-form__row {
    grid-template-columns: 1fr;
  }
}
