/** **

Global styles for Tiffany Auphan theme

** **/
/** Fonts **/
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Instrument+Serif:ital@0;1&display=swap");
.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.hanken-grotesk {
  font-family: "Hanken Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/** Colors **/
/** Set up **/
* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-size: 1rem;
  font-family: "Hanken Grotesk";
  color: #382F27;
  background-color: #FAF3EA;
  font-smooth: antialised;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
}

.container {
  margin: 0 5em;
}
@media screen and (max-width: 920px) {
  .container {
    margin: 0 1.25em;
  }
}

.full-bleed {
  margin: 0 -5em;
}
@media screen and (max-width: 920px) {
  .full-bleed {
    margin: 0 -1.25em;
  }
}

.text-center {
  text-align: center;
}

.light-background {
  background-image: url("../img/light-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.accent-background {
  background-image: url("../img/accent-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dark-background {
  background-color: #F5EADB;
}

.site-header {
  max-width: 60%;
}
.site-header h1 {
  margin-bottom: 0.25em;
}
@media screen and (max-width: 920px) {
  .site-header {
    max-width: 100%;
  }
}

/** Buttons **/
a {
  text-decoration: none;
  color: #382F27;
}

.button, input[type=submit] {
  padding: 1em 1.25em;
  background-color: #D98A55;
  font-size: 0.875rem;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 14px rgba(120, 70, 40, 0.15);
  font-weight: 600;
  display: inline-block;
}
.button.white, input[type=submit].white {
  background-color: #fff;
  color: #D98A55;
}

.line-button {
  color: #D98A55;
  font-size: 1rem;
}
.line-button:before {
  width: 20px;
  height: 1px;
  content: "";
  background-color: #D98A55;
  margin-right: 0.625em;
  display: inline-block;
  vertical-align: middle;
}

/** Text **/
h1 {
  font-family: "Instrument Serif";
  font-size: 4rem;
  font-weight: 400;
}
@media screen and (max-width: 720px) {
  h1 {
    font-size: 3rem;
  }
}
h1 .orange {
  color: #D98A55;
  font-style: italic;
}

h2 {
  font-family: "Instrument Serif";
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 0.4em;
}
h2 .italic {
  font-style: italic;
}

h3 {
  font-family: "Instrument Serif";
  font-size: 2.25rem;
  font-weight: 400;
}

h4 {
  font-size: 1.25rem;
  color: #784628;
  font-weight: 400;
}

h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25em;
}

p {
  font-size: 1.125rem;
  line-height: 1.5em;
}

.surtitre {
  color: #D98A55;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/** Card Component **/
.card__container.horizontal {
  display: flex;
  gap: 2.5em;
  justify-content: center;
  margin-top: 3.4em;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media screen and (max-width: 720px) {
  .card__container.horizontal {
    flex-direction: column;
    align-items: center;
  }
}

.card__item {
  background-color: #fff;
  border-radius: 1.875em;
  padding: 2.25em 1.875em 1.875em;
  max-width: 260px;
  text-align: left;
  flex-shrink: 0;
  position: relative;
  margin: 0 auto;
}
.card__item:before {
  content: "";
  width: 90px;
  height: 30px;
  background-color: #D98A55;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card__item:first-child:before {
  background-color: #749169;
}
.card__item:nth-child(n+3):before {
  background-color: #EE7A6B;
}
.card__item:nth-child(2n)::before {
  transform: translate(-50%, -50%) rotate(-2deg);
}
.card__item h4 {
  margin-bottom: 1.25em;
}
.card__item p {
  font-size: 1rem;
  color: #7A6659;
}

/** Icons Component **/
.icon__container {
  display: flex;
  justify-content: space-between;
  gap: 3.75em;
  margin-top: 3.75em;
}
@media screen and (max-width: 720px) {
  .icon__container {
    flex-direction: column;
  }
}
.icon__container .icon__item {
  display: flex;
  gap: 1.25em;
  align-items: flex-start;
  text-align: left;
  line-height: normal;
}

.bg-icon {
  position: relative;
  width: auto;
  display: inline-block;
  flex-shrink: 0;
}
.bg-icon img {
  max-height: 50px;
  width: auto;
  margin-left: 14px;
}
.bg-icon::before {
  content: "";
  background-color: #D98A55;
  border-radius: 0.75em;
  opacity: 0.2;
  width: calc(100% - 14px);
  aspect-ratio: 1/1;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/** Step Component **/
.step__card {
  position: relative;
}
.step__card::before {
  content: "";
  width: 30px;
  height: 50px;
  position: absolute;
  top: 1.875em;
  left: 0;
  background-color: #749169;
  opacity: 0.5;
}
.step__card .step__inner {
  margin-left: 50px;
}
.step__card h3 {
  color: #D98A55;
  margin-bottom: 10px;
}
.step__card p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.step__card p.bold {
  font-weight: 700;
}
.step__card .step__img {
  text-align: center;
  position: relative;
  margin-top: 1.875em;
}
.step__card .step__img img {
  max-width: calc(100% - 30px);
  position: relative;
  z-index: 1;
  border-radius: 1.25em;
  max-height: 285px;
  -o-object-fit: contain;
     object-fit: contain;
}
.step__card .step__img:before {
  content: "";
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  height: 70%;
  background-color: #749169;
  opacity: 0.2;
  border-radius: 1.25em;
  z-index: 0;
  transform: translateY(-50%);
}
.step__card:nth-child(4n+2)::before {
  background-color: #D98A55;
}
.step__card:nth-child(4n+2) .step__img::before {
  background-color: #D98A55;
}
.step__card:nth-child(4n+3)::before {
  background-color: #EE7A6B;
}
.step__card:nth-child(4n+3) .step__img::before {
  background-color: #EE7A6B;
}
.step__card:nth-child(4n)::before {
  background-color: #D3EAAB;
}
.step__card:nth-child(4n) .step__img::before {
  background-color: #D3EAAB;
}

/** Featured block **/
.featured-block {
  padding: 5em 0 4.375em;
  border-radius: 5em;
  color: #fff;
  margin-bottom: 5em;
}
.featured-block h2 span {
  display: block;
  margin-bottom: 0.4em;
}
.featured-block .cta__inner {
  padding: 0 5em;
}
@media screen and (max-width: 720px) {
  .featured-block .cta__inner {
    padding: 0 1.25em;
  }
}
.featured-block .cta__text {
  max-width: 550px;
  margin: auto;
  margin-bottom: 2.5em;
}
.featured-block .cta__button a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}
.featured-block .bg-icon::before {
  background-color: #fff;
}

/** Card rea Component **/
.rea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75em 2.5em;
  margin-top: 5em;
}

.last-rea {
  padding: 3.75em 0;
}
.last-rea .last-rea__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5em;
}
@media screen and (max-width: 720px) {
  .last-rea .last-rea__grid {
    grid-template-columns: 1fr;
  }
}
.last-rea h2 {
  margin-bottom: 1.25em;
}

.card-rea {
  text-align: left;
  padding: 0 1.25em;
}
.card-rea .card-rea__img {
  text-align: center;
  position: relative;
  margin-bottom: 1.25em;
}
.card-rea .card-rea__img img {
  max-width: calc(100% - 30px);
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 5px 5px 10px rgba(56, 47, 39, 0.2);
}
.card-rea .card-rea__img:before {
  content: "";
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  height: 80%;
  background-color: var(--color);
  opacity: 0.2;
  border-radius: 1.25em;
  z-index: 0;
  transform: translateY(-50%);
}
.card-rea .card-rea__text {
  margin-bottom: 1.25rem;
}
.card-rea .card-rea__text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.4em;
}
.card-rea .card-rea__text p {
  color: #7A6659;
}

/** Temoignage Blocl **/
.block-temoignages {
  padding: 5em 0;
  display: flex;
  gap: 2.5em;
}
@media screen and (max-width: 720px) {
  .block-temoignages {
    flex-direction: column;
    gap: 3em;
    max-width: 100%;
    overflow: visible;
  }
}
.block-temoignages .block-temoignages__title {
  max-width: 410px;
  flex-shrink: 0;
}
.block-temoignages .block-temoignage__grid_container {
  overflow: scroll;
  margin-right: -5em;
  padding-top: 15px;
}
@media screen and (max-width: 720px) {
  .block-temoignages .block-temoignage__grid_container {
    margin-right: -1.25em;
  }
}
.block-temoignages .block-temoignage__grid {
  flex-shrink: 0;
  max-width: 100%;
  display: flex;
  gap: 2.5em;
  align-items: flex-start;
  padding-right: 3.75em;
}
.block-temoignages .block-temoignage__grid:after {
  content: "";
  width: 1px;
  flex-shrink: 0;
  height: -webkit-fill-available;
  height: -moz-available;
  height: stretch;
}
.block-temoignages .block-temoignage__grid .temoignage__card {
  background-color: #fff;
  border-radius: 1.875em;
  padding: 2.5em 1.5em;
  max-width: calc(400px - 3em);
  position: relative;
  flex-shrink: 0;
}
@media screen and (max-width: 720px) {
  .block-temoignages .block-temoignage__grid .temoignage__card {
    max-width: calc(100% - 3em);
  }
}
.block-temoignages .block-temoignage__grid .temoignage__card:before {
  content: "";
  width: 90px;
  height: 30px;
  background-color: #749169;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.block-temoignages .block-temoignage__grid .temoignage__card:first-child:before {
  background-color: #D98A55;
}
.block-temoignages .block-temoignage__grid .temoignage__card:nth-child(n+3):before {
  background-color: #EE7A6B;
}
.block-temoignages .block-temoignage__grid .temoignage__card:nth-child(2n)::before {
  transform: translate(-50%, -50%) rotate(-2deg);
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__text {
  margin-bottom: 2.5em;
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__text h4 {
  color: #D98A55;
  font-family: "Instrument serif";
  font-size: 1.5em;
  margin-bottom: 0.4em;
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__bottom {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__bottom img {
  max-width: 4.125em;
  aspect-ratio: 1/1;
  border-radius: 0.625em;
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__bottom .temoignage__info {
  color: #7A6659;
  line-height: normal;
}
.block-temoignages .block-temoignage__grid .temoignage__card .temoignage__bottom .temoignage__info .date {
  font-size: 1rem;
}

/** FAQ **/
.faq {
  padding: 5em 0;
  margin-bottom: 5em;
}
.faq .faq__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media screen and (max-width: 720px) {
  .faq .faq__inner {
    flex-direction: column;
    gap: 3.75em;
  }
}
.faq .faq__inner .faq__title {
  max-width: 400px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}
@media screen and (max-width: 720px) {
  .faq .faq__inner .faq__title {
    position: static;
  }
}
.faq .faq__inner .faq__content {
  max-width: 550px;
  flex-shrink: 0;
}
.faq .faq__inner .faq__content .faq__question {
  border-top: 1px solid #382F27;
  padding: 1.25em 0;
}
.faq .faq__inner .faq__content .faq__question:last-child {
  border-bottom: 1px solid #382F27;
}
.faq .faq__inner .faq__content .faq__question button {
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 2em;
  font-family: "Instrument Serif";
  color: #382F27;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  transition: 0.4s;
  cursor: pointer;
  gap: 0.625em;
  width: 100%;
}
.faq .faq__inner .faq__content .faq__question button.active {
  color: #D98A55;
}
.faq .faq__inner .faq__content .faq__question button.active i {
  transform: rotate(45deg);
}
.faq .faq__inner .faq__content .faq__question button i {
  color: #D98A55;
  font-size: 1.5rem;
  transition: 0.4s;
}
.faq .faq__inner .faq__content .faq__question .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.faq .faq__inner .faq__content .faq__question .answer p {
  margin-top: 1.25em;
}

/** Words **/
.words {
  display: flex;
  justify-content: center;
  gap: 3.75em;
  padding: 5em 0;
}
@media screen and (max-width: 720px) {
  .words {
    flex-direction: column;
    align-items: center;
    padding-top: 3.75em;
  }
}
.words .words_item {
  position: relative;
}
.words .words_item .words_title {
  color: #D98A55;
  display: flex;
  gap: 0.875rem;
  align-items: center;
}
.words .words_item .words_title h3::first-letter {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.words .words_item .words_title:hover {
  font-style: italic;
  cursor: pointer;
}
.words .words_item .words_title:hover ~ .words_text {
  display: block;
}
.words .words_item .words_title:before {
  content: "";
  width: 1.25em;
  height: 1.25em;
  border-radius: 50px;
  background-color: #D98A55;
  opacity: 0.5;
  display: inline-block;
}
.words .words_item .words_text {
  display: none;
  background-color: #fff;
  position: absolute;
  z-index: 10;
  border-radius: 1.6em;
  color: #7A6659;
  font-size: 1.125rem;
  padding: 1.4em 1.1em;
  width: calc(100% + 40px);
  left: -20px;
}
.words .words_item:first-child .words_title:before {
  background-color: #D3EAAB;
}
.words .words_item:last-child .words_title:before {
  background-color: #749169;
}
.words .words_item:nth-child(3) .words_title:before {
  background-color: #EE7A6B;
}

.page-header {
  margin-bottom: 5em;
}
.page-header .page-header__inner {
  max-width: 87.5%;
}
.page-header .page-header__inner h1 {
  margin-bottom: 0.2em;
}
.page-header p {
  margin-top: 1.125em;
  max-width: 550px;
}
.page-header .page-header__cta {
  margin-top: 2.5em;
  display: flex;
  gap: 2.5em;
  align-items: center;
}
@media screen and (max-width: 920px) {
  .page-header .page-header__cta {
    flex-direction: column;
  }
}
.page-header.home-header .page-header__inner {
  max-width: 100%;
}
.page-header.home-header span {
  display: block;
}
.page-header.home-header p {
  margin: 1.125em auto 0;
}
.page-header.home-header .page-header__cta {
  justify-content: center;
}
.page-header.home-header .page-header__image {
  margin-top: 5em;
}