/* ===========================
   GENERAL STYLES
   =========================== */

/** Reset and tools **/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Policies */
.wp-block-heading {
  text-wrap: pretty;
}

.text-balanced {
  text-wrap: balance;
}

/* Inline icons and centered images */
.wp-block-heading img,
p img,
ul > li img,
ol > li img,
.wp-block-button__link img,
.wp-block-file a img {
  position: relative;
  display: inline-block;
  height: 1.62em;
  width: auto !important;
  top: 0.38em;
  margin-right: 0.5em;
}
.wp-block-heading .has-text-align-center img,
p .has-text-align-center img,
ul > li .has-text-align-center img,
ol > li .has-text-align-center img,
.wp-block-button__link .has-text-align-center img,
.wp-block-file a .has-text-align-center img {
  margin-right: 0;
  display: block;
}

/* Color Accessibility */
[class*="0-background-color"],
[class*="50-background-color"],
[class*="100-background-color"],
[class*="200-background-color"],
[class*="300-background-color"],
[class*="400-background-color"],
[class*="500-background-color"],
.wp-block-button .wp-block-button__link[class*="0-background-color"],
.wp-block-button .wp-block-button__link[class*="50-background-color"],
.wp-block-button .wp-block-button__link[class*="100-background-color"],
.wp-block-button .wp-block-button__link[class*="200-background-color"],
.wp-block-button .wp-block-button__link[class*="300-background-color"],
.wp-block-button .wp-block-button__link[class*="400-background-color"],
.wp-block-button .wp-block-button__link[class*="500-background-color"] {
  color: var(--wp--custom--false-black);
}

[class*="600-background-color"],
[class*="700-background-color"],
[class*="800-background-color"],
[class*="900-background-color"],
[class*="1000-background-color"],
.wp-block-button .wp-block-button__link[class*="600-background-color"],
.wp-block-button .wp-block-button__link[class*="700-background-color"],
.wp-block-button .wp-block-button__link[class*="800-background-color"],
.wp-block-button .wp-block-button__link[class*="900-background-color"],
.wp-block-button .wp-block-button__link[class*="1000-background-color"] {
  color: var(--wp--custom--white-0);
}

/* Header */
.site-header {
  padding-top: 1em;
  padding-bottom: 1em;
}

/* Main */
#wp--skip-link--target {
  margin-block-start: 0;
}

/* Navigation */
.wp-block-navigation__responsive-container-open svg {
  height: 48px;
  width: 48px;
}

.current-menu-item a,
.current-menu-ancestor > a {
  position: relative;
  display: block;
  padding-block: 20px;
  color: var(--wp--custom--primary-700) !important;
}

.current-menu-item a::after,
.current-menu-ancestor > a::after {
  content: "";
  display: block;
  background-image: url(../img/dots.svg);
  background-position: center;
  height: 10px;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 10px;
  width: 40px;
  right: 50%;
  transform: translate(50%, 50%);
}

.wp-block-navigation-item__label {
  margin-bottom: 10px;
}

.wp-block-navigation-link {
  position: relative;
  transition: all 0.5s ease 0s;
}

.wp-block-navigation-link:hover,
.wp-block-navigation-link:focus-within {
  transform: translate3d(0, -5px, 0);
}

.wp-block-navigation-link:hover .wp-block-navigation-item__label {
  color: var(--wp--custom--primary-700);
}

.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container {
  min-width: 210px;
}

.submenu-item span {
  font-size: var(--wp--preset--font-size--default);
}

.submenu-item:hover {
  background-color: var(--wp--custom--theme-50);
}

/* Button */
.is-style-outline .wp-block-button__link:hover {
  background-color: var(--wp--custom--primary-700);
  border-color: var(--wp--custom--primary-700);
  color: var(--wp--custom--white-0);
}

/* Margin */
.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-15 {
  margin-bottom: 3.75rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-30 {
  margin-bottom: 7.5rem;
}

/* Padding */
.pt-20 {
  padding-top: 5rem;
}

/* banner */
.banner {
  padding-bottom: var(--wp--custom--spacer-xl-fluid);
  padding-top: var(--wp--custom--spacer-xl-fluid);
  margin-block-start: 0;
}

/* Image after paragraph */
p + figure.wp-block-image {
  margin-top: 2.5rem;
}

/* Gap between two columns */
.two-column-layout {
  gap: 3rem;
}

/* Footer */
.mb-2 {
  margin-bottom: 0.8rem !important;
}

.list-type-none {
  list-style-type: none;
  padding-left: 0;
}

.list-type-none li {
  margin-bottom: 0.8rem;
}

.site-footers {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
}

/* External Links */
a[target="_blank"] {
  white-space: nowrap;
}

a[target="_blank"]::after {
  content: "";
  display: inline-block;
  margin-left: 0.2em;
  width: 0.7em;
  height: 0.7em;
  vertical-align: 3px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1h6zm11-3v8h-2V6l-8 8-1-1 8-8h-5V3h8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1h6zm11-3v8h-2V6l-8 8-1-1 8-8h-5V3h8z'/%3E%3C/svg%3E");
  background-color: currentColor;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Contact Links */
.contact-link {
  align-items: center;
  display: flex;
}

.contact-link a {
  align-items: center;
  display: flex;
}

.contact-link-label {
  margin-left: 0.5rem;
}

.contact-link-instagram svg {
  fill: #f00075;
}

.contact-link-facebook svg {
  fill: #0866ff;
}

.contact-link-clickable:hover {
  transform: scale(1.1);
}

.contact-link-clickable {
  transition: transform 0.1s ease;
}

/* Email Obfuscation */
span.email b {
  display: none;
}

p.email b {
  display: none;
}

/* Sr-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/** Media Queries **/
/* Menu */
@media (max-width: 1150px) and (min-width: 771px) {
  .site-header .wp-block-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 770px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }
  .wp-block-navigation-link {
    margin-bottom: 1rem;
  }
  .wp-block-navigation-link a:focus {
    border-bottom: none;
  }
  .wp-block-navigation__container {
    gap: 1rem !important;
  }
  .wp-block-list--mobile {
    padding-left: 25px;
  }
  .current-menu-item a::after,
  .current-menu-ancestor > a::after {
    bottom: -5px;
  }
  .wp-block-navigation-item__label {
    margin-bottom: -5px;
  }
}

@media (max-width: 460px) {
  .site-header .wp-block-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
  }
}

/* Footer */
@media (max-width: 1201px) {
  .site-footers .wp-block-columns {
    flex-direction: column;
  }
}

/* ===========================
   SITE STYLES
   =========================== */
/* Hero Section */

/* No Wrap */
.no-wrap {
  white-space: nowrap;
}

/* No Shrink */
.no-shrink {
  flex-shrink: 0;
}

/* Photographe naissance 8 */
.img-margin {
  margin-left: 150px !important;
  margin-right: -150px !important;
}

/* Image banner */
.wp-block-cover {
  min-height: 700px;
}

/* Stars Review */
.google-review-wrapper {
  text-align: center;
}
.google-review {
  display: inline-block;
  text-decoration: none;
}

.google-review:hover .review-count {
  text-decoration: none;
}

.google-review:hover {
  transform: scale(1.1);
}

.stars-review {
  margin-bottom: 0.2rem;
  font-size: 2rem;
  color: #b67d0b;
  letter-spacing: 2px;
  line-height: 1;
}

.review-count {
  text-decoration: underline;
}

/* Gradient Box */
.box--small {
  max-width: 40%;
}

.box--large {
  max-width: 60%;
  padding-left: 4rem;
  border-left: 4px solid var(--wp--custom--theme-100);
}

/* Banner High */
.banner-high {
  padding-bottom: var(--wp--custom--spacer-xxl-fluid);
  padding-top: var(--wp--custom--spacer-xxl-fluid);
  margin-block-start: 0;
}

/* Flex */

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card */
.card {
  padding: 2rem;
  border-radius: 15px;
}

.card--white {
  background-color: var(--wp--custom--white-0);
}

.card--shadow {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.card-prestation {
  padding-right: 2rem;
}

.card-prestation--border-right {
  border-right: 4px solid var(--wp--custom--primary-300);
}

.price-card {
  border-radius: 15px;
  padding: 0 0 2rem 0;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.br-50-0 {
  border-radius: 50px 0;
}

.br-0-50 {
  border-radius: 0 50px;
}

.price-card-body {
  padding: 0 2rem 2rem;
}

.price-card-body--theme {
  border-bottom: 4px ridge var(--wp--custom--theme-300);
}

.price-card-body--primary {
  border-bottom: 4px ridge var(--wp--custom--primary-500);
}

.price-card-body--secondary {
  border-bottom: 4px ridge var(--wp--custom--secondary-300);
}

.price-card-title {
  padding: 2rem;
  color: var(--wp--custom--white-0);
}

.price-card-title--secondary {
  background-color: var(--wp--custom--secondary-700);
}

.price-card-title--primary {
  background-color: var(--wp--custom--primary-700);
}

.price-card-title--theme {
  background-color: var(--wp--custom--theme-700);
}
.price {
  font-weight: 700;
  margin-top: 1.5rem;
}

/* Fit Content */
.fit-content {
  min-width: fit-content;
}

/* Borber box */
.border-box {
  border-top: 4px solid var(--wp--custom--primary-300);
}

/* Gap */
.gap-12 {
  gap: 3rem;
}

/* Details */
.details-card summary {
  display: block;
  list-style: none;
  cursor: pointer;
  text-align: center;
}

.details p {
  padding-bottom: 1.5rem;
}

.details-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.wp-block-details summary::marker {
  color: var(--wp--custom--secondary-700);
}

/* Details */
.wp-block-details--arrow-right-border {
  position: relative;
  border-bottom: 1px solid var(--wp--custom--theme-700);
}

.wp-block-details--arrow-right-border summary {
  list-style: none;
  padding: 0 2rem 0 0;
}

.wp-block-details--arrow-right-border:not([open]) summary {
  margin-bottom: 1.5rem;
}

.wp-block-details--arrow-right-border p:last-of-type {
  padding-bottom: 1.5rem;
}

.wp-block-details--arrow-right-border summary::after {
  content: "▴";
  font-size: 1.8rem;
  position: absolute;
  line-height: 37%;
  right: 10px;
  top: 0;
  color: var(--wp--custom--theme-700);
  transform: translateY(100%) rotate(180deg);
}

.wp-block-details--arrow-right-border[open] summary::after {
  line-height: 52%;
  transform: translateY(50%) rotate(0deg);
}

/* Icons */
.icon-item {
  text-align: center;
  background-image: url(../img/bg-icon.webp);
  background-position: center;
  background-repeat: no-repeat;
  display: inline-flex;
  padding: 20px 40px;
}

/* Border Color */

.border--primary {
  border: 1px solid var(--wp--custom--primary-500);
}

.border--theme {
  border: 1px solid var(--wp--custom--theme-400);
}

.border--secondary {
  border: 1px solid var(--wp--custom--secondary-300);
}

.border--primary-ridge {
  border: 5px ridge var(--wp--custom--primary-500);
}

/* Border Radius */
.rounded-15 {
  border-radius: 15px;
}

/* Max-width */
.max-width-1050 {
  max-width: 1050px;
}

.max-width-980 {
  max-width: 980px;
}

.max-width-845 {
  max-width: 845px;
}

.max-width-720 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Font bold */
.font-bold {
  font-weight: 700;
}

/* Timeline */
.steps {
  position: relative;
  margin-top: 7rem;
  margin-bottom: 5rem;
}

.steps::after {
  content: "";
  position: absolute;
  width: 1px;
  background-color: var(--wp--custom--primary-700);
  opacity: 0.4;
  top: 0;
  bottom: 0;
  left: 50%;
}

.steps-container {
  position: relative;
  background-color: inherit;
  width: calc(50% + 32px);
}

.steps-container .content {
  padding: 2rem;
  background-color: var(--wp--custom--white-0);
  position: relative;
  border-radius: 15px;
  border: 1px solid var(--wp--custom--primary-700);
  box-shadow: 0px 16px 27px rgb(0 11 30 / 10%);
}

.steps .steps-container:nth-child(even) {
  left: calc(50% - 32px);
  flex-direction: row-reverse;
}

.steps-container {
  display: flex;
}

.steps .steps-container .step-number {
  font-weight: 900;
  font-size: 16px;
  color: var(--wp--custom--white-0);
  margin-bottom: 10px;
  width: 62px;
  height: 62px;
  background-color: var(--wp--custom--primary-700);
  border-radius: 50%;
  flex-shrink: 0;
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 777;
}

.step-line {
  width: 40px;
  background-color: var(--wp--custom--primary-700);
  height: 1px;
  margin-top: 31px;
  opacity: 0.4;
  flex-shrink: 0;
}

/* Testimonials */
.grid-3cols {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.col-span-1 {
  grid-column: 1 / 2;
}

.col-span-2-3 {
  grid-column: 2 / 4;
}

.wp-block-quote {
  font-family: var(--wp--preset--font-family--text);
  font-size: var(--wp--preset--font-size--default);
  line-height: var(--wp--custom--line-height);
  margin-left: 0;
  margin-right: 0;
}

/* List Item */
.wp-block-list--spaced li {
  margin-bottom: 1rem;
}

.wp-block-list--intended li {
  margin-left: -1rem;
}

.wp-block-list li.is-check::marker {
  content: "✔";
  font-size: 1.4rem;
  color: var(--wp--custom--success-500);
}

.wp-block-list li.is-cross::marker {
  content: "✘";
  font-size: 1.4rem;
  color: var(--wp--custom--error-500);
}

.wp-block-list li.is-check,
.wp-block-list li.is-cross {
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}
/* Form */
.form {
  width: 100%;
  height: 810px;
  border: 0;
}

/** Media Queries **/

/* Hero section Image */

@media (min-width: 1400px) {
  .banner-relative {
    position: relative;
  }
  .hero-section-img {
    position: absolute;
    right: 0;
    top: 205px;
    max-width: 50%;
  }
}

@media (min-width: 1730px) {
  .hero-section-img {
    position: absolute;
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 1730px) {
  .column-gap {
    gap: 3rem;
  }
}

/* Column mobile */
@media (max-width: 1080px) {
  .column-mobile-1080 {
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  .column-mobile-1200--reverse {
    flex-direction: column-reverse;
  }
  .column-mobile-1200--reverse figure {
    text-align: left;
  }
}

/* Box */

@media (max-width: 940px) {
  .box--small {
    max-width: 100%;
  }
  .box--large {
    max-width: 100%;
  }
  .column-mobile-940 {
    flex-direction: column;
  }
  .img-mobile--center {
    text-align: center;
  }
  .img-mobile--center img {
    display: inline-block;
    margin-bottom: 2rem;
  }
  .banner-horizontal {
    min-height: 500px;
  }
}

/* Card Prestation */

@media (max-width: 782px) {
  .card-prestation--border-right,
  .border-bottom-mobile {
    border-right: none;
    border-bottom: 4px solid var(--wp--custom--primary-300);
    padding-bottom: 2rem;
  }
  .col-span-1 {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 1140px) {
  .price-card-body {
    padding: 0 1rem 1rem;
  }
}
/* Testimonials */
@media (max-width: 782px) {
  .grid-3cols {
    display: block !important;
    gap: 1.5rem;
  }
  .col-span-1 {
    margin-bottom: 1.5rem !important;
  }
}

/* Timeline */

@media (max-width: 767px) {
  .steps::after {
    left: 32px;
  }
  .steps-container {
    left: 0;
    flex-direction: row-reverse;
    width: auto;
    margin-bottom: 16px;
  }
  .steps .steps-container:nth-child(even) {
    left: 0;
  }
}

@media (max-width: 660px) {
  .banner-horizontal {
    min-height: 400px;
  }
}

@media (max-width: 540px) {
  .banner-horizontal {
    min-height: 300px;
  }
}
