/* ============================================
   POLICES
   ============================================ */
@font-face {
  font-family: 'InterTight';
  src: url('../fonts/InterTight-Regular.ttf');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'InterTight';
  src: url('../fonts/InterTight-Bold.ttf');
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'InterTight';
  src: url('../fonts/InterTight-Light.ttf');
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'CasualHuman';
  src: url('../fonts/CasualHuman-Bold.otf');
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'InstrumentSerif';
  src: url('../fonts/InstrumentSerif-Regular.ttf');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

/* ============================================
   VARIABLES CSS (COULEURS)
   ============================================ */
:root {
  --creme: #FEFAF7;
  --rouge: #961914;
  --rose: #EDB7D2;
  --noir: #000000;
}

/* ============================================
   RÈGLES GÉNÉRALES
   ============================================ */
*,
*:after,
*:before {
  box-sizing: border-box;
}

*::selection {
  background: var(--rouge);
  color: var(--creme);
}

html {
  font-size: 17px;
  color: var(--rouge);
  background: var(--creme);
}

body {
  font-family: 'InterTight', sans-serif;
  color: var(--rouge);
  background: var(--creme);
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 700;
}

a,
a:hover,
a:visited {
  color: var(--rouge);
  text-decoration: none;
}

/* Liens dans le footer et autres zones spécifiques en blanc */
footer a,
.banner-top a {
  color: #FFF;
}

a:focus {
  outline: 2px solid var(--rouge);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6, .fake-title {
  font-family: 'CasualHuman', sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: var(--rouge);
}

/* Styles pour le contenu WordPress */
p {
  color: var(--rouge);
}

.entry-content,
.entry-content p,
.entry-content li,
.entry-content ul,
.entry-content ol {
  color: var(--rouge);
}

.entry-content a {
  color: var(--rouge);
}

.entry-content a:hover {
  color: var(--rose);
}

.entry-title {
  color: var(--rouge);
}

/* ============================================
   BOUTONS
   ============================================ */
a.btn-round,
button.btn-round,
.btn-round {
  border: 1px solid var(--rouge);
  padding: 12px 30px;
  border-radius: 39% 61% 39% 61% / 59% 43% 57% 41%;
  min-width: 220px;
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  color: var(--rouge);
  background: transparent;
  cursor: pointer;
  font-family: 'InterTight', sans-serif;
}

a.btn-round:hover,
button.btn-round:hover,
.btn-round:hover {
  border-radius: 78% 22% 82% 18% / 64% 41% 59% 36%;
}

a.btn-round.btn-rose,
button.btn-round.btn-rose,
.btn-round.btn-rose {
  border: 1px solid var(--rose);
  color: var(--rose);
}

.btn-center {
  margin: 0 auto;
  display: block;
}

/* ============================================
   BANNER TOP
   ============================================ */
.banner-top {
  background: var(--rose);
  color: var(--rouge);
  padding: 13px 0;
  text-align: center;
}

.banner-top p {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0;
}

/* ============================================
   MENU / HEADER
   ============================================ */
.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5vw;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--creme);
}

.menu .logo {
  width: 200px;
}

.menu .logo img {
  width: 100%;
  height: auto;
}

.menu nav {
  width: 35%;
  min-width: 410px;
}

.menu nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu nav li {
  margin-right: 30px;
}

.menu nav li:last-child {
  margin-right: 0;
}

.menu nav li a {
  text-decoration: none;
  font-family: 'CasualHuman';
  font-size: 1.2rem;
  color: var(--rouge);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.menu nav li a .badge {
  background: var(--rouge);
  color: var(--creme);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.menu nav li a:hover {
  color: var(--rose);
}

.menu nav li a:hover .badge {
  background: var(--rose);
  color: var(--rouge);
  opacity: 0.5;
}

.menu .compte {
  width: 35%;
  min-width: 410px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu .compte a img {
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
}

.menu .compte a img:hover {
  transform: scale(1.1);
}

.menu .burger {
  display: none;
}

.menu .burger .menu-icon,
.menu .burger .close-icon {
  width: 46px;
  height: 46px;
  transition: all 0.3s ease;
  display: none;
  position: relative;
  z-index: 1001;
}

.menu .burger .menu-icon.active,
.menu .burger .close-icon.active {
  display: block;
}

.menu .mobile-menu {
  display: none;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--rose);
}

footer .top {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  background: var(--rose);
}

footer .top .left {
  width: 40%;
  padding: 4vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer .top .left .desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .top .left .mobile {
  display: none;
}

footer .top .left img {
  width: 220px;
  height: auto;
}

footer .top .left span {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'CasualHuman';
  color: var(--rouge);
}

footer .top .right {
  width: 60%;
  padding: 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "pages mail" "legal instagram";
  gap: 30px;
}

footer .top .right a {
  color: var(--rouge);
  transition: all 0.3s ease;
}

footer .top .right a:hover {
  letter-spacing: 1px;
}

footer .top .right ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-transform: lowercase;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .top .right ul li {
  margin-bottom: 10px;
}

footer .top .right ul li:last-child {
  margin-bottom: 0;
}

footer .top .right .pages {
  grid-area: pages;
}

footer .top .right .legal {
  grid-area: legal;
}

footer .top .right .mail {
  text-align: right;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

footer .top .right .mail:hover {
  text-decoration: none;
  letter-spacing: 0px;
}

footer .top .right .instagram {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
}

footer .top .right .instagram p {
  font-family: 'CasualHuman';
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rouge);
  margin: 0 0 10px 0;
}

footer .top .right .instagram a {
  text-align: right;
  transition: all 0.3s ease;
}

footer .top .right .instagram a:hover {
  letter-spacing: 1px;
}

footer .bottom {
  text-align: center;
  padding-bottom: 0.8vw;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: 'CasualHuman';
  font-weight: 700;
}

footer .bottom p {
  margin: 0;
  padding: 1vh 0;
}

footer .bottom a {
  position: relative;
  color: var(--rouge);
}

footer .bottom a::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background: var(--rose);
  color: var(--rouge);
  z-index: 2;
}

footer .bottom a::after {
  content: 'Margintoniks';
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--rose);
  color: var(--rouge);
  z-index: 3;
  transition: all 0.3s ease;
}

footer .bottom a img {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 0;
  right: 0;
  transition: right 0.5s cubic-bezier(0.18, 0.89, 0.55, 2.64), transform 0.3s ease 0.1s;
  z-index: 1;
}

footer .bottom a:hover img {
  right: -19px;
  transform: rotate(15deg);
}

footer .bottom a:hover::after {
  color: #00D67A;
}

/* ============================================
   ASIDE (ICÔNES ET FAQ)
   ============================================ */
aside {
  width: 100%;
}

.icones {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-around;
  padding: 5vw;
}

.icones figure {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icones figure img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 30px;
  display: block;
}

.icones figure figcaption h3 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--rouge);
}

.faq {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}

.faq .left {
  width: 50%;
  padding: 5vw 2vw 5vw 5vw;
}

.faq .left h2 {
  font-family: 'InstrumentSerif';
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--rouge);
}

.faq .left .faq-text {
  margin-top: 15px;
}

.faq .right {
  width: 50%;
  aspect-ratio: 1;
}

.faq .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Styles FAQ - Details */
.details {
  border-bottom: 1px solid var(--rouge);
  border-radius: 0;
  color: var(--rouge);
}

.details + .details {
  margin-top: 25px;
}

.details__title {
  --width: 20px;
  --height: 3px;
  --radius: 1px;
  --color: currentColor;
  margin: 0;
  padding: 20px 70px 20px 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  font-size: 1.2rem;
  font-family: 'InterTight';
  font-weight: 400;
  color: var(--rouge);
}

.details__title:before,
.details__title:after {
  content: '';
  display: block;
  width: var(--width);
  height: var(--height);
  background-color: var(--rouge);
  position: absolute;
  border-radius: var(--radius);
  top: 20px;
  right: 0px;
  margin-right: 40px;
  margin-top: 5px;
  transition: all 0.3s ease-in-out;
}

.details__title:before {
  width: 20px;
  height: 20px;
  background: url(../img/icon-plus.svg) no-repeat center center / contain;
}

.details__title:after {
  width: 20px;
  height: 20px;
  display: none;
  background: url(../img/icon-moins.svg) no-repeat center center / contain;
}

.details__container[open] .details__title:before {
  display: none;
}

.details__container[open] .details__title:after {
  display: block;
}

.details__summary::marker {
  content: '';
}

.details__desc {
  visibility: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  padding-inline: var(--padding);
  pointer-events: all;
  line-height: 1.35;
  padding: 10px;
  font-size: 1.15rem;
  color: var(--rouge);
}

.details__desc a {
  color: var(--rouge);
}

.details__container[open] + .details__desc {
  visibility: visible;
  grid-template-rows: 1fr;
  padding-block: 10px;
}

.details__desc-inner {
  min-height: 0;
}

details summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style-type: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 1500px) {
  .faq {
    flex-direction: column;
  }
  
  .faq .left {
    width: 100%;
    padding: 5vw;
  }
  
  .faq .right {
    width: 100%;
    aspect-ratio: unset;
  }
  
  .faq .right img {
    aspect-ratio: 16/9;
    object-fit: cover;
    height: auto;
  }
}

@media screen and (max-width: 1024px) {
  .menu nav {
    display: none;
  }
  
  .menu .compte {
    display: none;
  }
  
  .menu .burger,
  .menu .mobile-menu {
    display: block;
  }
  
  .icones {
    flex-direction: column;
  }
  
  .icones figure {
    width: 100%;
  }
  
  .icones figure img {
    width: 50vw;
    height: auto;
    margin-bottom: 0;
  }
  
  .icones figure figcaption h3 {
    font-size: 3rem;
    margin-bottom: 5vh;
  }
  
  .menu .mobile-menu {
    position: fixed;
    height: 100vh;
    width: 50%;
    top: 0;
    right: -100vw;
    background: var(--creme);
    z-index: 100;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    padding: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.9s ease;
  }
  
  .menu .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 50vh;
    margin-bottom: 15vh;
  }
  
  .menu .mobile-menu ul li {
    margin-bottom: 20px;
  }
  
  .menu .mobile-menu ul li:last-child {
    margin-bottom: 0;
  }
  
  .menu .mobile-menu ul li a {
    color: var(--rouge);
    text-decoration: none;
    font-size: 3rem;
    font-family: 'CasualHuman';
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  
  .menu .mobile-menu ul li .badge {
    background: var(--rose);
    color: var(--rouge);
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .menu .mobile-menu.active {
    right: 0;
  }
  
  footer .top {
    flex-direction: column;
  }
  
  footer .top .left {
    width: 100%;
  }
  
  footer .top .left .mobile {
    display: block;
  }
  
  footer .top .left .mobile img {
    width: 300px;
    height: auto;
  }
  
  footer .top .left .desktop {
    display: none;
  }
  
  footer .top .right {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .menu .mobile-menu {
    width: 100%;
  }
  
  .menu .mobile-menu ul {
    height: 55vh;
  }
  
  .menu .mobile-menu ul li a {
    font-size: 2rem;
  }
  
  .icones {
    padding: 5vh;
  }
  
  .icones figure figcaption h3 {
    font-size: 2rem;
  }
  
  .faq .left h2 {
    font-size: 3rem;
  }
  
  .faq .left .faq-text .details__title {
    font-size: 1.3rem;
  }
  
  .faq .left .faq-text .details__desc-inner {
    font-size: 1.1rem;
  }
  
  .details__title {
    padding-right: 60px;
    padding-bottom: 0;
  }
  
  footer .top .left .mobile img {
    width: 200px;
  }
  
  footer .top .right {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "pages" "legal" "mail" "instagram";
  }
  
  footer .top .right .mail {
    justify-content: flex-start;
  }
  
  footer .top .right .instagram {
    align-items: flex-start;
    margin-bottom: 2vh;
  }
  
  footer .bottom {
    padding: 1vh 5vw 2vh;
    font-size: 1rem;
  }
}

