/*
Theme Name: Agence Doublette
Theme URI: https://raphaelbergere.art
Author: Raphaël Bergère
Author URI: https://www.raphaelbergere.art
Description: Vive Doublette
Version: 1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: No
License URI:
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth !important;
}

body {
  height: auto;
  max-width: 100vw;
  margin: 0;
  color: #34352f;
  font-family: "Gravity", sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-size: 5rem;
  font-weight: 400;
  text-align: left;
  line-height: 1;
  margin: 100px 0 50px 0;
}

h2 {
  font-family: "Instrument Serif", serif;
  text-align: left;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
}

h3 {
  font-family: "Gravity", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 0;
}

h4 {
  font-family: "Instrument Serif", serif;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 15px;
}

p {
  margin: 15px 0 15px 0;
  font-family: "Gravity", sans-serif;
  font-size: 1.1rem;
}

.single p {
  font-family: "Gravity", sans-serif;
  font-size: 1rem;
}

a {
  font-family: "Gravity", sans-serif;
  text-decoration: none !important;
}

.single a {
  color: #34352f;
  font-weight: 700;
}

.single a:hover {
  color: #34352f;
}

button {
  font-family: "Gravity", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
}
.bt-retour {
  z-index: 10;
}
.btn-retour img {
  width: 20px;
  margin: 0;
  height: 60px;
  object-fit: cover;
}
/* --- COLORS ----*/

.dark {
  color: #262625;
}
.dark-back {
  background: #262625;
}
.darkgreen {
  color: #34352f;
}
.darkgreen-back {
  background: #34352f;
}
.cream {
  color: #fff3dc;
}
.cream-back {
  background: #fff3dc;
}
.olive {
  color: #c5c9ad;
}
.olive-back {
  background-color: #c5c9ad;
}
.lila {
  color: #ccccff;
}
.lila-back {
  background-color: #ccccff;
}

.fade {
  opacity: 0;
}

.fade.faded {
  transition: opacity 3.5s; /* uniquement pour l’apparition */
  opacity: 1;
}

.slide {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.slide-in {
  opacity: 1;
  transform: translateY(0);
}

.mobile {
  display: none;
}
.ordi {
  display: block;
}

/* --- MENU ----*/

.home header {
  position: sticky;
  top: 20px;
  margin-top: calc(100vh - 10% - 75px);
  display: flex;
  justify-content: end;
  z-index: 99;
}

.single header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* top: 0; */
  width: 100%;
  height: 100px;
  z-index: 99;
}

.page-template-artworks header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* top: 0; */
  width: 100%;
  height: 100px;
  z-index: 99;
}
.logo-top {
  width: 250px;
  margin-left: 30px;
}

.home .menu {
  margin-right: 50vw;
  transform: translateX(50%);
  padding: 10px;
  transition: all 0.5s ease !important;
}

.toright {
  margin-right: 20px !important;
  transform: translateX(0) !important;
  transition: all 1s ease !important;
}

.menu {
  margin-right: 20px;
  padding: 10px;
  height: fit-content;
  transition: all 0.5s ease !important;
}

.menu:hover a {
  width: 100px;
  color: #34352f;
  transition: all 0.7s ease-in-out;
}

.menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gravity", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #34352f;
  text-decoration: none;
  width: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  color: #fff3dc;
  background-color: #34352f00;
}

.menu a:hover {
  color: #fff3dc;
  transition: all 0.5s ease;
}

.menu a::before {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 1;
  color: #34352f;
  transition: opacity 0.5s ease;
}

.menu:hover a::before {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu ul li {
  margin-left: -20px;
  transition: all 0.5s ease;
}

.single .menu ul li {
  background: #fff3dc !important;
}

.page-template-artworks .menu ul li {
  background: #fff3dc !important;
}

.menu ul li:hover {
  color: #fff3dc;
  background-color: #54574d !important;
  transition: all 0.5s ease-in-out;
}
.menu:hover ul li {
  margin-left: -20px;
  transition: all 0.5s ease;
}
.menu ul li:first-child {
  margin-left: 0;
}

.menu ul li:nth-child(1) a::before {
  content: "";
  opacity: 0;
}
.menu ul li:nth-child(2) a::before {
  content: "M";
}
.menu ul li:nth-child(3) a::before {
  content: "E";
}
.menu ul li:nth-child(4) a::before {
  content: "N";
}
.menu ul li:nth-child(5) a::before {
  content: "U";
}
.menu ul li:nth-child(6) a::before {
  content: "";
  opacity: 0;
}

.menu ul li:nth-child(1) {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu ul li:nth-child(6) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu:hover ul li:nth-child(1) {
  opacity: 1;
  transition: opacity 1s ease;
}
.menu:hover ul li:nth-child(6) {
  opacity: 1;
  transition: opacity 1s ease;
}

.menu ul {
  display: flex;
  flex-direction: row;
  /* gap: 10px; */
  list-style-type: none;
  white-space: nowrap;
  padding: 0;
}

.menuhome {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.menuhome ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: -14px;
  left: 120px;
  text-align: left;
  padding: 0 0 0 30px !important;
  background-color: #2f4193;
  font-weight: 400;
  list-style-type: none;
  border-radius: 10px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.menuhome ul.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.menuhome > li {
  box-sizing: content-box;
  position: relative;
  background: #fff3dc50;
  border: 1px solid #34352f;
  padding: 15px;
  border-radius: 40px;
  font-weight: 400;
  min-width: 20px;
}

/* --- BURGERMENU ----*/

.nav-toggler {
  display: none;
  position: fixed;
  z-index: 999 !important;
  top: 25px;
  right: 25px;
  height: 50px;
  width: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: #34352fc9;
  border: 1px solid #fff3dc;
}

.burgerline {
  position: absolute;
  display: block;
  width: 50%;
  height: 2px;
  background: #fff3dc;
  transition: transform 0.3s ease-out, opacity 0.1s ease-out;
}
.l1 {
  transform: translateY(-10px);
}
.l3 {
  transform: translateY(10px);
}

.nav-toggler.active .l1 {
  transform: translateY(0px) rotate(135deg);
}
.nav-toggler.active .l2 {
  opacity: 0;
}
.nav-toggler.active .l3 {
  transform: translateY(0px) rotate(-135deg);
}

/* ----HOMEPAGE---- */

.home {
  min-height: 100vh;
}

.home h1 {
  text-align: center;
}

.homecontent {
  margin-top: calc(-100vh + 10%);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: fit-content;
  width: 100%;
}

.homecontent section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.homecontent h1::first-letter {
  font-size: 7rem;
  line-height: normal;
  display: inline-block;
  vertical-align: baseline;
}

.homecontent h1 {
  width: 100%;
}

.section-content-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  /* text-align: center; */
  margin: 0 50px 100px 50px;
}

.section-content-center {
  max-width: 800px;
  margin: 0 50px 100px 50px;
}

/* ----ACCUEIL SECTION---- */

.accueil {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  justify-content: center;
}

.diaporama {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
}
.diapo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s;
  z-index: 1;
}
.diapo-img.active {
  opacity: 1;
  z-index: 2;
}

.hero-content {
  position: relative;
  margin-top: -10vh;
  text-align: center;
  z-index: 2;
}

.logo-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 300px;
  overflow: hidden;
}

.logo-hero img {
  margin-bottom: 30px;
  width: 500px;
}

.ital {
  font-style: italic;
  font-weight: 400;
}

.accueil h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.tagline {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 1px;
  margin: 0 20px 50px 20px;
}

/* ----SERVICES SECTION---- */

/* .services-main {
  display: flex;
  gap: 30px;
  margin: 50px 0;
} */

.services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin-bottom: 50px;
}

.services-grid img {
  position: relative;
  width: 80px;
}

.services-grid-bis {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin-bottom: 50px;
}

.services-grid-bis img {
  position: relative;
  width: 150px;
}

.service-item {
  display: flex;
  flex-direction: row-reverse;
  background: #fff3dc;
  justify-content: flex-end;
  align-items: center;
  width: 47%;
  height: 130px;
  padding: 10px 30px;
  gap: 30px;
  border-radius: 40px;
}

.service-item p {
  color: #34352f;
  text-align: left;
  margin: 40px 0;
  font-weight: 300;
  font-size: 1.2rem;
}

.service-item a {
  color: #34352f;
  text-decoration: underline !important;
}

.service-item-bis {
  display: flex;
  flex-direction: row;
  background: #fff3dc;
  justify-content: flex-end;
  align-items: center;
  height: fit-content;
  padding: 20px 50px;
  gap: 30px;
  border-radius: 40px;
}

.service-item-bis li {
  color: #34352f;
  text-align: left;
  margin: 15px 0;
  font-weight: 300;
  font-size: 1.2rem;
}

.service-item-bis a {
  color: #34352f;
  text-decoration: underline !important;
}

#cta-question {
  background-image: linear-gradient(#fff3dcc4, #fff3dcc4), url("img/home/services.jpg");
  background-size: cover;
  background-position: bottom;
}

#leasing {
  background-image: linear-gradient(#fff3dcc4, #fff3dcc4), url("img/home/leasing.jpg");
  background-size: cover;
  background-position: bottom;
}

.leasing {
  margin-top: 50px;
  max-width: 800px;
  color: #34352f;
}

.leasing h2,
.leasing p {
  text-align: center !important;
  color: #34352f;
}

.cta-section {
  text-align: center;
  color: #fff3dc;
}

.cta-section h3 {
  font-size: 2.5rem;
}
.cta-section h2 {
  margin-top: 50px;
  text-align: center;
}

.btn-contact {
  display: inline-block;
  background: transparent;
  padding: 15px 30px;
  border-radius: 25px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-light {
  border: 2px solid #fff3dc;
  color: #fff3dc;
}

.btn-light:hover {
  background: #fff3dc;
  color: #34352f;
}

.btn-dark {
  border: 2px solid #34352f;
  color: #34352f;
}

.btn-dark:hover {
  background: #34352f;
  color: #fff3dc;
}

/* ----PROJETS SECTION---- */

.projets h1 {
  text-align: center;
}

.projets img.sign {
  position: absolute;
  top: 0;
  left: 6.6%;
  width: 200px;
}

.projets-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  column-gap: 4%;
  row-gap: 30px;
}

.projet-item {
  max-width: 48%;
  min-width: 400px;
}

.projet-item p {
  text-align: center;
  margin-top: 10px;
}

.projet-image {
  position: relative;
  height: 400px;
  background: #f0f0f0;
  margin-bottom: 10px;
  overflow: hidden;
  /* border: 2px solid #34352f; */
}

.projet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projet-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(40, 40, 40, 0.7);
  transition: opacity 0.5s;
  pointer-events: none;
}

.projet-item:hover .projet-overlay {
  opacity: 1;
  pointer-events: auto;
}

.projet-title {
  font-family: "Instrument Serif", serif;
  color: #fff3dc;
  padding: 20px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.projet-title-mobile {
  display: none;
  font-family: "Instrument Serif", serif;
  color: #fff3dc;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  margin: 15px 0 0 0;
}

.projet-sep {
  width: 80px;
  border: none;
  border-top: 2px solid #fff3dc;
  margin: 18px auto 10px auto;
}

.projet-cats {
  font-family: "Gravity", sans-serif;
  margin-top: 15px;
  font-size: 1.1rem;
  color: #fff3dc;
  font-weight: 300;
  text-align: center;
}

/* ----ARTISTES SECTION---- */

.artistes h1 {
  text-align: center;
}

.artistes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

.artiste-image {
  width: 300px;
  height: 300px;
  background: #f0f0f0;
  margin: 0 auto 20px;
}

.artiste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border: 3px solid #fff3dc; */
}

/* ----A PROPOS SECTION---- */

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.a-propos h1 {
  text-align: left;
}

.columns {
  display: flex;
  column-gap: 50px;
  text-align: left;
}

.about-logo {
  flex: 0 0 200px;
  margin-top: -250px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Ajoute cette ligne si ce n'est pas déjà fait */
  transform-origin: 50% 50%;
}

.about-logo img {
  max-width: 100%;
}

.sara-intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 100px;
}

.sara-photo {
  width: 370px;
  height: 500px;
  background-color: #fff3dc;
  flex-shrink: 0;
  overflow: hidden;
}

.sara-photo img {
  opacity: 0.9;
  width: 370px;
  height: 500px;
  object-fit: cover;
}

.sara-text {
  text-align: left;
  max-width: 400px;
}

/* ----CONTACT SECTION---- */

.contact-form-section {
  border-top: 1px solid rgba(255, 243, 220, 0.3);
}

.contact h1 {
  text-align: left;
}

.contact h3,
p {
  text-align: left;
}

.mail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.mail p {
  font-weight: 400;
}

.mail-icon {
  fill: #34352f; /* ou la couleur que tu veux */
  width: 33px;
  height: 30px;
}

.mail-icon path {
  fill: #34352f;
}

/* ----NEWSLETTER SECTION---- */

.newsletter {
  margin: 0;
}

.newsletter h1 {
  text-align: left;
}

.newsletter label {
  font-family: "Gravity", sans-serif !important;
}

.newsletter button {
  font-family: "Gravity", sans-serif !important;
  font-weight: 400 !important;
}

.sib-form-block {
  padding: 0 !important;
}

#sib-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.sib-form {
  padding: 0 !important;
  max-width: 100% !important;
}
.sib-input {
  padding: 0 !important;
}

.sib-form .entry__field {
  border: 1px solid #34352f !important;
}

.sib-form .entry__specification {
  max-width: 100% !important;
}

.sib-form-message-panel {
  max-width: 100% !important;
}

/* ----ARTISTE PAGE---- */

.artistcontent {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 100px);
  height: fit-content;
}

.artist-infos h1 {
  font-size: 4rem;
  margin: 30px 0 50px 0;
}

.artist-header {
  position: relative;
  display: flex;
  min-width: 100%;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  background: #fff3dc;
}

.artist-portrait {
  position: sticky;
  top: 0;
  max-width: 40%;
  height: calc(100vh);
  z-index: 10;
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-infos {
  padding: 40px 50px 40px 70px;
  max-width: 800px;
  margin-bottom: 100px;
}

.artist-description {
  margin-bottom: 50px;
}

.portfolio-section {
  margin: 30px 0;
}

.btn-portfolio {
  background: #34352f;
  color: #fff3dc;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 20px 0;
}

.btn-portfolio:hover {
  background: #54574d;
  transform: translateY(-2px);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#sib-form p,
label {
  font-size: 1rem !important;
  line-height: 1 !important;
}

#sib-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.sib-form-block__button {
  font-size: 1.1rem !important;
  padding: 10px 10px !important;
  border-radius: 30px !important;
}

.modal.show {
  opacity: 1;
}

.sib-form-message-panel {
  margin: 20px 0 0 0 !important;
}

.modal-content {
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 100vh;
  position: relative;
  transition: transform 0.3s ease;
  max-height: 100vh;
  overflow: auto; /* ⚠️ auto au lieu de scroll */
  -ms-overflow-style: none; /* IE et Edge */
  scrollbar-width: none; /* Firefox */
}

.modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.modal-content iframe {
  height: 500px;
}

.modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.close-modal::before,
.close-modal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px; /* épaisseur du trait */
  height: 20px; /* longueur du trait */
  background-color: #333; /* couleur de la croix */
  transform-origin: center;
}

.close-modal::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close-modal:hover {
  color: #666;
}

.artist-artworks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 30px;
}

.artist-artworks h1 {
  width: 100%;
}

.artist-artworks .artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 100%;
  padding: 0;
}

.artist-artworks .artwork-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s ease;
}

.artist-artworks .artwork-item:hover {
  transform: translateY(-5px);
  transition: transform 0.2s ease;
}

.artist-artworks .artworks-image {
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.artist-artworks.artworks-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-artworks .artwork-item h4 {
  margin: 10px 0;
  font-size: 1.1rem;
  text-align: center;
  color: #34352f;
}

/* ----ARTRWORKS LIST---- */

.artworkslist {
  width: 100vw;
  min-height: calc(100vh - 100px);
  height: fit-content;
  background: #fff3dc;
  padding: 30px;
}

.artworks-filters {
  padding-top: 30px;
  text-align: center;
  margin-bottom: 10px;
}
.artworks-artists-filters {
  padding-top: 0;
}

.filter-btn {
  margin: 0 10px 10px 0;
  padding: 8px 20px;
  border: 1px solid #34352f;
  background: #fff3dc;
  color: #34352f;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}
.filter-btn.active {
  background: #34352f;
  color: #fff3dc;
}
.filter-btn-artist {
  margin: 0 10px 10px 0;
  padding: 8px 20px;
  border: 1px solid #34352f;
  background: #fff3dc;
  color: #34352f;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}
.filter-btn-artist.active {
  background: #34352f;
  color: #fff3dc;
}

.artworks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.artworks-grid a:hover {
  transition: border 0.3s ease;
}

.artworks-preview {
  width: 22%; /* 4 colonnes avec un peu d'espace */
  min-width: 200px;
  margin-bottom: 20px;
  text-align: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: auto;
  overflow: hidden;
  transition: all 0.5s ease;
}

.artworks-preview.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: all 0.5s ease;
}

.artworks-preview.hidden {
  display: none !important;
}

.artworks-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artworks-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-template-artworks h4 {
  font-size: 1.3rem;
  color: #34352f;
  text-align: center;
  margin-bottom: 5px;
}

.artworks-artist {
  color: #34352f;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ----ARTWORK ARTICLE---- */

.single-post header,
.single-projets header {
  position: fixed;
}

.single-post h1,
.single-projets h1 {
  margin: 20px 0 20px 0;
  font-size: 2.5rem;
}

.single-post h1::after,
.single-projets h1::after {
  content: "";
  display: block;
  position: relative;
  margin-top: 30px;
  width: 75%;
  height: 1px;
  background-color: #34352f;
}

.single-post h2,
.single-projets h2 {
  font-family: "Gravity", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin: 30px 0;
}

.artworkcontent {
  display: flex;
  flex-direction: row;
  margin: 0;
  width: 100%;
  min-height: calc(100vh - 100px);
  text-align: left;
}

.artworkcontent p {
  margin: 0 0 5px 0;
}

.artwork-infos {
  margin-top: 100px;
  min-height: calc(100vh - 100px);
  width: 30%;
  margin-top: 100px;
  z-index: 2;
}
.artwork-description {
  padding: 30px 30px 100px 30px;
}

.artwork-price {
  font-family: "Gravity", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0;
}

.artwork-images {
  position: sticky;
  top: 100px;
  width: 70%;
  height: calc(100vh - 100px);
  background: white;
  overflow: hidden;
  z-index: 1;
}

.artwork-images img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

pre {
  position: fixed;
  top: 100px;
  right: 0;
  width: 70%;
  height: calc(100vh - 100px);
  background-color: #f9f9f9;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}

.n2-ss-slide-background-image img {
  height: calc(100vh - 100px);
}

.n2-ss-slider {
  height: calc(100vh - 100px);
}

/* ----AUTRES PAGES---- */

.pagecontent {
  margin: 50px auto 100px auto;
  padding: 30px;
  max-width: 800px;
}

.pagecontent h1 {
  margin-top: 20px;
}

.pagecontent h2 {
  font-size: 22px;
}

.pagecontent p {
  font-size: 14px;
}
.pagecontent li {
  font-size: 14px;
}
/* ----FOOTER SECTION---- */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  min-height: 300px;
  font-size: 0.9rem;
  color: #fff3dc;
}

footer h4 {
  text-decoration: underline;
  color: #fff3dc !important;
  text-align: left !important;
  margin-bottom: 15px !important;
}

footer a {
  color: #fff3dc !important;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #ccccff !important;
  text-decoration: underline !important;
  transition: all 0.3s ease;
}

footer a:visited {
  color: #fff3dc;
}

.infosfooter {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 40px;
  margin: 0 30px;
}

.infosfooter ul {
  line-height: 1.5;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.logofooter img {
  height: 170px;
}

.footer-blocs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.socialfooter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socialfooter img {
  height: 40px;
}

.mentions {
  width: 205px;
  height: 100px;
}
.social {
  height: 100px;
  width: 205px;
}

.single-post footer {
  display: none !important;
}
.single-projets footer {
  display: none !important;
}

/* ----RESPONSIVE---- */

@media (max-width: 1200px) {
  .infosfooter {
    flex-direction: column;
  }
  .right h4 {
    text-align: right;
  }
  .right li {
    text-align: right;
  }

  .service-item {
    width: 100%;
  }

  .columns {
    flex-direction: column;
  }

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

  .artist-portrait {
    position: relative;
    max-width: 100%;
    width: 100%;
    max-height: 70vh;
  }

  .right .socialfooter {
    justify-content: end;
  }
  .footer-blocs {
    justify-content: space-between;
  }
}

@media (max-width: 1000px) {
  .single-post header,
  .single-projets header {
    position: relative;
  }
  .artworkcontent {
    flex-direction: column-reverse;
    min-height: fit-content;
  }

  .artwork-infos {
    margin-top: 0;
    width: 100%;
    max-height: fit-content;
  }
  .artwork-description {
    padding: 30px;
  }
  .artwork-images {
    position: relative;
    top: 0;
    width: 100% !important;
    height: calc(70vh) !important;
  }

  pre {
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(70vh) !important;
  }

  .n2-ss-slider-1 {
    height: calc(70vh) !important;
  }

  .n2-ss-slide-background-image img {
    height: calc(70vh) !important;
  }

  .n2-ss-slider .n2-ss-slider-wrapper-inside .n2-ss-slider-controls {
    height: calc(70vh) !important;
  }
}

@media (max-width: 800px) {
  .single-post header {
    height: 0;
  }
  .single-projets header {
    height: 0;
  }
  .single-post header .logo-top {
    display: none !important;
  }
  .single-projets header .logo-top {
    display: none !important;
  }
  .logo-hero {
    max-height: 200px;
  }
  .logo-hero img {
    margin-bottom: 30px;
    width: 300px;
  }

  .sign,
  .graphic {
    margin-top: 20px;
  }
  .tagline {
    font-size: 1.5rem;
  }
  .home h1 {
    font-size: 3rem;
    margin: 50px 0 30px 0 !important;
    text-align: center;
  }

  .home h2 {
    text-align: center;
    font-size: 2rem;
  }
  .single h1 {
    font-size: 2rem;
  }
  .homecontent h1::first-letter {
    font-size: 5rem;
  }
  .service-item {
    flex-direction: column-reverse;
    height: fit-content;
    width: 100%;
  }
  .service-item p {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1rem;
  }
  .services-grid-bis img {
    width: 100px;
  }
  .service-item-bis {
    flex-direction: column;
    height: fit-content;
    gap: 20px;
    padding: 30px 20px;
    width: 100%;
  }
  .service-item-bis ul {
    padding-left: 20px;
  }
  .service-item-bis li {
    margin: 0 0 20px 0;
    font-size: 1rem;
  }
  .leasing {
    margin-top: 50px;
  }
  .sara-intro {
    flex-direction: column;
  }
  .sara-photo {
    width: 100%;
  }
  .sara-photo img {
    width: 100%;
  }
  .with_frm_style .frm_submit.frm_flex {
    display: flex;
    justify-content: center;
  }
  .sib-form-block {
    display: flex;
    justify-content: center;
  }
  .projet-overlay {
    display: none !important;
  }
  .projet-title-mobile {
    display: block;
  }
  .artist-infos {
    padding: 30px;
  }
  .artworks-preview {
    width: 100%;
  }
}

@media (max-width: 800px) or (max-height: 600px) {
  .home header {
    position: absolute;
    width: 0;
    z-index: 99;
    margin: 0;
    opacity: 1 !important;
  }

  .headercontent {
    width: auto;
    margin: 0 auto 0 auto;
    padding: 30px 30px;
    width: 800px;
  }

  .home .headercontent {
    width: auto;
    margin: 0 auto 0 auto;
    padding: 30px 30px;
    width: 1300px;
  }

  .nav-toggler {
    display: flex;
  }
  .logo-top {
    margin-left: 10px;
  }

  .homecontent {
    margin: 0;
    padding-left: 0;
  }
  .logo {
    margin: 30px 0;
  }

  .menu {
    margin-right: 0 !important;
    transform: translateX(0) !important;
    background: #34352f;

    position: fixed;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin: 0;
    top: 0;
    right: -70px;
    height: 100vh;
    z-index: 999;
    width: 0;
    max-width: 0;
    transition: width 1s ease-in-out;
    padding: 10px;
    letter-spacing: normal;
    overflow: scroll;
  }

  .menu a {
    width: 150px !important;
    color: #34352f;
    transition: all 0.7s ease-in-out;
  }

  .menu a::before {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .menu ul {
    flex-direction: column;
    margin-top: 80px;
    margin-left: 30px;
  }

  .menu ul li {
    margin-left: 0;
    transition: all 0.5s ease;
    background: rgba(255, 243, 220, 1) !important;
  }

  .menu:hover ul li {
    margin-left: 0;
    transition: all 0.5s ease;
  }

  .menu ul li:nth-child(1) {
    opacity: 1;
    transition: opacity 1s ease;
  }
  .menu ul li:nth-child(6) {
    opacity: 1;
    transition: opacity 1s ease;
  }

  .menu.active {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: all 1s;
  }

  .othermenu {
    flex-direction: column;
    letter-spacing: -1px;
  }

  .othermenu li a {
    padding: 10px 10px 10px 0;
    white-space: normal;
  }

  .menuhome-container {
    justify-content: left;
  }

  .menuhome {
    flex-direction: column;
  }

  .menuhome ul {
    display: none;
    position: relative;
    flex-direction: column !important;
    gap: 20px;
    margin: 0 0 0 0;
    padding: 10px 0 0 20px !important;
    left: 0 !important;
    text-align: left;
    width: auto;
    border: 0px solid black;
  }

  .menuhome ul li {
    margin: 0;
  }

  .menuhome ul.show {
    display: flex;
    top: 20px;
    padding: 0 !important;
  }

  .menuhome ul a {
    padding: 10px 0 10px 20px;
    width: 200px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .mobile {
    display: block;
  }
  .ordi {
    display: none;
  }

  .section-content-large,
  .section-content-center {
    margin: 0 30px 50px 30px;
  }

  .projet-item {
    max-width: 100%;
    min-width: 200px;
  }

  .artistes-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-intro {
    flex-direction: column;
    text-align: center;
  }

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

  .accueil h1 {
    font-size: 3rem;
  }
  .footer-blocs {
    flex-direction: column;
  }
  footer h4,
  footer li,
  footer p,
  footer .right h4 {
    text-align: center !important;
  }
  .infosfooter {
    flex-direction: column;
    align-items: center;
  }

  .right .socialfooter {
    justify-content: center;
  }
  .footer-blocs {
    justify-content: center;
  }
}
