.mod-main {
  width: 720px;
  margin: auto;
}

/* ================= Page Title ================= */
/* Center the main page title and add spacing above and below */
.articles-page-header h1 {
  text-align: center;
  margin-top: 10rem;
  margin-bottom: 2rem;
}

/* Page content container aligned to grid, centered with max width */
.articles-page-header .page-content {
  max-width: 720px;
  margin: 0 auto 4rem auto;
  padding: 0 1rem;
  text-align: left;
}

/* ================= Author Snippet ================= */
/* Outer container for author card */
.author-card-snippet {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  max-width: 100%;
  margin: 1rem auto;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.author-card-snippet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Author snippet used in code blocks */
.author-snippet-code {
  max-width: 35%;
  margin: 10rem auto;
}

/* Author profile image */
.author-card-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Container for author name, bio, socials */
.author-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Author name styling */
.author-card-name {
  font-weight: bold;
  margin: 0;
  font-size: 1.4em;
}

/* Author bio styling */
.author-card-bio {
  font-size: 1.5rem;
  color: #555;
  margin: 0.60rem 0 0.5rem 0;
}

/* Wrapper for socials and "view full profile" link */
.author-card-socials-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* wrap on small screens */
  gap: 0.5rem;
  margin-top: 0.60rem;
}

/* Social links container */
.author-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Individual social link styling */
.author-card-links a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #1b2228;
  border: 2px solid #1b2228;
  padding: 2px 12px;
  border-radius: 15px;
}

/* Hover effect for social links */
.author-card-links a:hover {
  text-decoration: none;
  color: white;
  background-color: #1b2228;
  opacity: 1;
}

/* "View full profile" link aligned to the right */
.author-profile-link {
  text-decoration: none !important;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
  color: var(--ghost-accent-color);
  margin-right: 40px;
}

.share-link {
  background-color: var(--ghost-accent-color) !important;
}

.skeleton {
  background: #eee;
  color: transparent;
  border-radius: 4px;
  animation: pulse 1.2s infinite ease-in-out;
}

/* photo skeleton */
.author-card-photo.skeleton {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* name, bio, links skeleton */
.author-card-name.skeleton,
.author-card-bio.skeleton,
.author-card-links a.skeleton,
.author-profile-link.skeleton {
  height: 16px;
  width: 80%;
  margin-bottom: 0.5rem;
}

.author-card-bio.skeleton {
  width: 60%;
}

.author-card-links a.skeleton {
  display: inline-block;
  height: 24px;
  width: 40px;
  /* ancho aproximado de botón */
  border-radius: 12px;
  border: none !important;
  background: #eee;
  animation: pulse 1.2s infinite ease-in-out;
  text-decoration: none;
  /* opcional */
}

/* pulse animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.swiper-slide {
  /* width: 300px; */
  width: auto;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 15px !important;
  background: #ee0e19 !important;
  border-radius: 5px !important;
}

.swiper-wrapper {
  padding-bottom: 40px;
}

.single-media img {
  width: 720px !important;
  margin: auto !important;
}

/* Separa los sliders */
.tag-section {
  margin-bottom: 40px;
}

/* Título del tag */
.tag-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 10px;
  font-weight: normal;
}

/* ================= Post Carousel & Cards ================= */

.posts-carousel {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
  padding-bottom: 60px;
  position: relative;
}

.post-card-title {
  font-size: 3rem;
  font-weight: normal;
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.post-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.post-card {
  min-height: 380px;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: 580px;
  position: relative;
  border: 1px solid #ddd;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: scale(0.98);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.post-card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.post-card-excerpt {
  font-size: 1.8rem;
  color: white;
}

.post-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.post-card-link {
  display: inline-block;
  margin-top: 15px;
  text-align: center;
  color: #1b2228;
  font-weight: 600;
  text-decoration: none;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  pointer-events: auto;
}

.post-card-link:hover {
  background: #1b2228;
  color: white;
  opacity: 1 !important;
}

.receptif-contact {
  color: var(--color-white);
}

.nav-contact {
  display: none;
}

/* ================= Responsive ================= */

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .post-card-image {
    height: 180px;
  }

  .post-card-excerpt {
    font-size: 1.5rem;
  }

  .nav-contact {
    display: block;
  }

  .receptif-contact {
    display: none;
  }
}

@media (max-width: 480px) {
  .post-card {
    width: 100%;
  }

  .mod-main {
    width: 100%;
    margin: auto;
  }

  .post-card-excerpt {
    font-size: 1.6rem;
  }

  .author-snippet-code,
  .author-card-apropos {
    max-width: 90%;
    margin: 10rem auto;
    display: grid;
    gap: 17px;
  }

  .author-card-photo {
    margin: auto;
  }

  .author-card-name {
    margin: auto;
    margin-bottom: 6px;
  }

  .author-card-bio {
    margin: 0.6rem 0 0.7rem 0;
  }
}

/* ================= ================ ================= */
/* =================      COMMON      ================= */
/* ================= ================ ================= */
.white {
  color: white !important;
}

.golden {
  color: #c9b08a !important;
}

.dark-golden {
  color: #9f7058;
}

.center {
  text-align: center !important;
}

.right {
  text-align: right !important;
}

.bold {
  font-weight: bold !important;
}

.playfair {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
}

.montserrat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/* ================= ================ ================= */
/* ================= PAGE - LE PROJET ================= */
/* ================= ================ ================= */

.dw-main {
  width: 1180px;
  margin: auto;
  padding-top: 10em;
}

/*#region HERO */
.dw-hero {
  background-image: url("/assets/images/projet/dw-projet-hero.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  text-align: left;
}

.title-projet {
  font-size: 150px;
}
/*#endregion */

/*#region INTRO */
.intro-1 h1 {
  font-size: 100px;
  line-height: 1.5em;
}

.intro-2 h2 {
  font-size: 42px;
  font-weight: bold;
  padding: 10px;
}

.intro-2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.intro-2 p {
  font-size: 32px;
  padding: 10px;
}

.intro-2 h3 {
  font-size: 42px;
  font-weight: bolder;
  margin-top: 5rem;
  text-align: center;
}

.intro-3 p {
  font-size: 22px;
  padding: 20px;
}
/*#endregion */

/*#region INVESTMENT */
.dw-invest {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invest-header {
  width: 100%;
}

.invest-body {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.invest-1 {
  display: flex;
  flex-direction: column;
  justify-content: end;
  flex: 1;
}

.invest-header h3 {
  font-size: 64px;
  margin-bottom: 18px;
}

.invest-header h1 {
  font-size: 120px;
}

.invest-1 p {
  font-size: 28px;
}

.invest-1 p.vendeurs,
.invest-1 p.receptifs {
  margin-top: 12px;
}

.invest-1 span {
  font-size: 20px;
}
/*#endregion */

/*#region SECTION 3 */
.dw-sec3 {
 margin-bottom: 50px;
}

.sec3-1 {
  width: 100%;
  text-align: right;
}

.sec3-1 p {
  font-size: 28px;
  margin-bottom: 10px;
}

.sec3-2 {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.sec3-2 img {
  max-width: 100%;
  height: auto;
  display: block;
}
/*#endregion */

/*#region SECTION 4 */

.dw-sec4 {
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding-top: 1em;
  background-color: #c9b08a;
  margin-bottom: 50px;
}

.dw-sec4 .dw-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.sec4-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 40px;
  padding: 40px;
}

.sec4-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 40px;
  background-color: black;
  padding: 40px;
  text-align: center;
  margin: 60px 0px 60px 0px;
}

.sec4-1 h3,
.sec4-2 h3 {
  font-size: 62px;
}

.sec4-1 p,
.sec4-2 p {
  font-size: 32px;
}
/*#endregion */

/*#region SECTION 5 */
.dw-sec5 {
  background-image: url("/assets/images/projet/luis-gabriel-jl-9.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90dvh;
  text-align: left;
}

.title-sec5 {
  font-size: 150px;
  width: 75%;
}

.dw-sec5 p {
  font-size: 24px;
  width: 60%;
  margin-top: 50px;
}
/*#endregion */

/*#region SECTION METIERS */
.dw-metiers {
  padding: 80px 150px;
  background-color: transparent;
  gap: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.dw-metiers h1 {
  font-size: 72px;
}

.dw-metiers p.norm {
  font-size: 32px;
  margin-top: 50px;
}

.dw-metiers p.blackie {
  font-size: 34px;
  font-weight: bold;
}

.dw-metiers h2 {
  font-size: 50px;
  margin-top: 50px;
}

.dw-metiers h1.price {
  font-size: 152px;
}

.metiers-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 100px;
}

.card-metier {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 176, 138, 0.2);
  padding: 20px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.card-metier h3 {
  font-size: 24px;
  letter-spacing: 2px;
  margin: 0;
}

.card-metier:hover {
  transform: translateY(-15px);
  background: rgba(201, 176, 138, 0.08);
  border-color: #c9b08a;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(201, 176, 138, 0.2);
}

.card-metier::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #c9b08a;
  transition: all 0.5s ease;
  transform: translateX(-50%);
}

.card-metier:hover::after {
  width: 100%;
}
/*#endregion */

/*#region SECTION 7 */

.dw-gallery {
  padding: 80px 150px;
  background: linear-gradient(to bottom, transparent 50%, #c9b08a 50%);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}

.gallery-item {
  position: relative;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
}
/*#endregion */

/*#region SECTION 8 */

.sec8-2 {
  flex: 1.5;
}

.sec8-2 img {
  object-fit: cover;
  display: block;
}

.sec8-1 {
  display: flex;
  justify-content: end;
}

.sec8-1 h1 {
  font-size: 60px;
  width: 75%;
   padding: 20px;
  border-radius: 20px;
  border: 4px solid #c9b08a;
  margin-bottom: 20px;
}
/*#endregion */

/*#region SECTION 9 */

.dw-sec9 {
  margin-top: 150px;
  background-color: #c9b08a;
}

.sec9-2 {
  flex: 1.5;
  justify-content: right;
}

.sec9-2 img {
  width: 75%;
  border-radius: 20px;
  margin: auto;
}

.sec9-2 p {
  font-size: 32px;
  /* text-align: left; */
  margin-top: 30px;
  padding: 42px;
}

.sec9-1 {
  display: flex;
  justify-content: end;
  margin-bottom: 50px;
}

.sec9-1 h1 {
  font-size: 60px;
  width: 50%;
  margin-right: 20px;
  border-radius: 20px;
  padding: 30px;
  border: 4px solid white;
}
/*#endregion */

/*#region SECTION 10 */

.dw-sec10 {
 margin-bottom: 50px;
}

.sec10-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 40px;
  background-color: black;
  padding: 40px;
  text-align: center;
}

.sec10-1 h3 {
  font-size: 64px;
  line-height: 100px;
  text-align: right;
}

.sec10-2 p {
  font-size: 32px;
  text-align: right;
}

.sec10-2 h3 {
  font-size: 48px;
  text-align: right;
}
/*#endregion */

/*#region SECTION 11 */
.dw-sec11 {
  background-image: url("/assets/images/projet/bg4.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  min-height: 50dvh;
  text-align: left;
  padding-top: 0px;
}

.title-sec11 {
  font-size: 100px;
  padding: 50px;
  width: 75%;
}
/*#endregion */

/*#region SECTION 12 */
.dw-sec12 {
   padding-top: 20px;
}

.sec12-1 {
    text-align: left;
    padding: 20px;
}

.sec12-1 p {
  font-size: 32px;
}
/*#endregion */

/*#region SECTION 13 */
.dw-sec13 {
  background-color: transparent;
  gap: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 150px;
}

.sec13-1 {
  text-align: right;
  background-color: #c9b08a;
  width: 60%;
  padding: 40px;
  align-self: flex-end;
  margin-bottom: 100px;
  font-size: 30px;
  line-height: 1;
}

.sec13-1 p {
  line-height: 1.3;
}

.dw-sec13 h1 {
  font-size: 72px;
}

.sec13-2 h1 {
  font-size: 58px;
  line-height: 1.2;
}

.dw-sec13 h2 {
  font-size: 50px;
}

.dw-sec13 h1.price {
  font-size: 100px;
}
/*#endregion */

/*#region SECTION 14 */
.dw-sec14 {
  background-color: transparent;
  gap: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 150px;
}

.sec14-1 {
  text-align: right;
  background-color: #c9b08a;
  width: 60%;
  padding: 40px;
  align-self: flex-end;
  margin-bottom: 100px;
  font-size: 30px;
  line-height: 1;
}

.sec14-1 p {
  line-height: 1.3;
}

.dw-sec14 h1 {
  font-size: 72px;
}

.sec14-2 h1 {
  font-size: 58px;
  line-height: 1.2;
}

.sec14-2 h3 {
  font-size: 42px;
  line-height: 1.2;
}

.dw-sec14 h2 {
  font-size: 50px;
}

.dw-sec14 h1.price {
  font-size: 100px;
}
/*#endregion */

/*#region SECTION 15 */
.dw-sec15 {
  background-image: url("/assets/images/projet/bg2.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  min-height: 70dvh;
  text-align: left;
}

.title-sec15 {
  font-size: 100px;
  margin-left: 50px;
  width: 75%;
}

.subtitle-sec15 {
  font-size: 70px;
  margin-left: 50px;
  width: 75%;
}
/*#endregion */

/*#region SECTION 16 y 17 */
.sec16-2, .dw-sec17 {
  transform: translateY(-400px);
}

.dw-sec17 h2.tit {
  text-align: right;
  font-size: 80px;
  padding-right: 150px;
  margin-top: 50px;
}

.dw-sec17 h2 {
  text-align: right;
  padding-right: 150px;
}
/*#endregion */
-------------------------------------------------------

/* CTA */
.dw-cta {
  background: #0f172a;
  color: white;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeLeft 0.8s forwards;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeRight 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =====================================
   RESPONSIVE - PAGE LE PROJET
===================================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* LARGE TABLET */
@media (max-width: 1200px) {
  .dw-main {
    width: auto;
    max-width: 100%;
    padding-top: 7em;
  }

  .sec16-2, .dw-sec17 {
  transform: translateY(-200px);
}

.dw-metiers p.norm, .dw-metiers p.blackie {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}


.sec14-2 h3,
.sec13-2 h3 {
    font-size: 20px;
    line-height: 1.2;
}

.sec9-2 img {
    width: 100%;
}

  .title-projet,
  .title-sec5 {
    font-size: 100px;
  }

  .title-sec11,
  .title-sec15 {
    font-size: 84px;
  }

  .subtitle-sec15 {
    font-size: 56px;
  }

  .title-projet,
  .title-sec5,
  .title-sec11,
  .title-sec15,
  .subtitle-sec15 {
    margin-left: 60px;
    width: calc(100% - 120px);
  }

  .dw-sec3,
  .dw-invest,
  .dw-metiers,
  .dw-gallery,
  .dw-sec8,
  .dw-sec9,
  .dw-sec10,
  .dw-sec12,
  .dw-sec13,
  .dw-sec14 {
    padding-left: 60px;
    padding-right: 60px;
  }

  .dw-sec4 {
    padding-left: 60px;
  }

  .dw-sec17 {
    margin: 120px 0 120px 60px;
  }

  .dw-sec17 h2,
  .dw-sec17 h2.tit,
  .dw-sec14 h2.tit {
    padding-right: 60px;
  }

  .intro-1 h1 {
    font-size: 76px;
  }

  .intro-2 h2,
  .intro-2 h3 {
    font-size: 36px;
  }

  .intro-2 p {
    font-size: 28px;
  }

  .intro-3 p,
  .sec3-1 p,
  .sec9-2 p {
    font-size: 24px;
  }

  .invest-header h3 {
    font-size: 52px;
  }

  .invest-header h1 {
    font-size: 96px;
  }

  .sec4-1 h3,
  .sec4-2 h3,
  .sec10-1 h3 {
    font-size: 52px;
    line-height: 1.2;
  }

  .sec4-1 p,
  .sec4-2 p,
  .sec10-2 p {
    font-size: 28px;
  }

  .dw-metiers h1 {
    font-size: 60px;
  }

  .dw-metiers h2,
  .dw-sec13 h2,
  .dw-sec14 h2 {
    font-size: 42px;
  }

  .dw-metiers h1.price,
  .dw-sec13 h1.price {
    font-size: 88px;
  }

  .sec8-1 h1,
  .sec9-1 h1 {
    font-size: 64px;
    width: 100%;
    line-height: 1.1;
  }

  .sec13-1,
  .sec14-1 {
    width: 60%;
    font-size: 26px;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .dw-main {
    padding-top: 5em;
    text-align: center;
  }

  .dw-hero,
  .dw-sec5,
  .dw-sec11,
  .dw-sec15 {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
    background-position: center;
  }

  .intro-1 h1 {
    font-size: 60px;
  }

  .intro-2 h2,
  .intro-2 h3 {
    font-size: 30px;
  }

  .intro-2 p,
  .intro-3 p,
  .sec3-1 p {
    font-size: 22px;
  }

  .invest-body,
  .dw-sec8,
  .dw-sec9,
  .dw-sec10 {
    flex-direction: column;
  }

  .dw-sec4 .dw-container {
    flex-direction: column;
  }

  .dw-sec12 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
    padding-top: 100px;
  }

  .title-projet,
  .title-sec5,
  .title-sec11,
  .title-sec15 {
    font-size: 100px;
    margin-left: 40px;
    width: calc(100% - 80px);
  }

  .subtitle-sec15 {
    font-size: 42px;
    margin-left: 40px;
    width: calc(100% - 80px);
  }

  .invest-header h1 {
    font-size: 70px;
  }

  .invest-header h3 {
    font-size: 42px;
  }

  .metiers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .dw-metiers {
    height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .dw-metiers h1 {
    font-size: 48px;
  }

  .dw-metiers h2 {
    font-size: 36px;
    margin-top: 30px;
  }

  .dw-metiers h1.price {
    font-size: 90px;
  }

  .dw-gallery {
    background: linear-gradient(to bottom, transparent 58%, #c9b08a 58%);
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sec4-1 h3,
  .sec4-2 h3,
  .sec10-1 h3 {
    font-size: 42px;
    line-height: 1.3;
  }

  .sec4-1,
  .sec4-2,
  .sec10-1,
  .sec10-2 {
    margin: 0;
    padding: 36px;
  }

  .sec8-1 h1,
  .sec9-1 h1 {
    font-size: 52px;
    padding: 60px 24px;
  }

  .sec9-2 p,
  .sec10-2 p,
  .sec13-1,
  .sec14-1,
  .dw-sec14 p {
    font-size: 22px;
    line-height: 1.4;
  }

  .sec13-1,
  .sec14-1 {
    width: 100%;
    margin-bottom: 40px;
  }

  .dw-sec13 h1,
  .dw-sec14 h1 {
    font-size: 58px;
  }

  .dw-sec13 h1.price {
    font-size: 82px;
  }

  .dw-sec14 h1.price {
    font-size: 34px;
  }

  .dw-sec17 {
    margin: 100px 0 100px;
    padding: 0 40px;
  }

  .dw-sec17 h2,
  .dw-sec17 h2.tit,
  .dw-sec14 h2.tit {
    padding-right: 0;
    text-align: center;
  }

  .dw-sec17 h2.tit {
    font-size: 56px;
  }

  .dw-sec17 h2 {
    font-size: 34px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .dw-main {
    padding-top: 4em;
  }

  .dw-hero,
  .dw-sec5,
  .dw-sec11,
  .dw-sec15 {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .dw-intro,
  .dw-invest,
  .dw-sec3,
  .dw-sec8,
  .dw-sec9,
  .dw-sec10,
  .dw-sec12 {
    display: flex;
    flex-direction: column;
  }

  .dw-intro,
  .dw-invest,
  .dw-sec3,
  .dw-sec4,
  .dw-metiers,
  .dw-gallery,
  .dw-sec8,
  .dw-sec9,
  .dw-sec10,
  .dw-sec12,
  .dw-sec13,
  .dw-sec14,
  .dw-sec16,
  .dw-sec17 {
    padding: 50px 20px;
    margin: 0;
  }

  .title-projet,
  .title-sec5,
  .title-sec11,
  .title-sec15 {
    font-size: 82px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .subtitle-sec15 {
    font-size: 34px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .intro-1 h1 {
    font-size: 42px;
    text-align: center;
    line-height: 1.2;
  }

  .intro-2 h2 {
    font-size: 26px;
    text-align: center;
  }

  .intro-2 h3 {
    font-size: 20px;
  }

  .intro-2 p,
  .intro-3 p {
    font-size: 18px;
    text-align: center;
  }

  .invest-header {
    text-align: center;
  }

  .invest-1 {
    gap: 30px;
    text-align: center;
  }

  .invest-header h1 {
    font-size: 48px;
  }

  .invest-header h3 {
    font-size: 36px;
  }

  .invest-1 p {
    font-size: 22px;
  }

  .invest-1 span {
    font-size: 18px;
  }

  .sec4-1,
  .sec4-2 {
    margin: 0;
    padding: 30px;
  }

  .sec4-1 h3,
  .sec4-2 h3,
  .sec10-1 h3 {
    font-size: 32px;
    line-height: 1.3;
  }

  .sec4-1 p,
  .sec4-2 p,
  .sec10-2 p {
    font-size: 20px;
  }
  
  .sec12-1 p {
    font-size: 20px;
  }

  .metiers-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-metier {
    min-height: 140px;
  }

  .card-metier h3 {
    font-size: 20px;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sec8-1 h1,
  .sec9-1 h1 {
    font-size: 42px;
    width: 100%;
    line-height: 1.2;
    padding: 40px 20px;
  }

  .sec13-1,
  .sec14-1 {
    width: 100%;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .dw-sec14 h2,
  .dw-sec13 h2 {
    font-size: 24px;
    margin: 5px;
  }

  .sec13-1 p,
  .sec14-1 p {
    font-size: 18px;
    line-height: 1.5;
  }

  .price-container {
    flex-direction: column;
    gap: 20px;
  }

  .dw-sec13 h1,
  .dw-sec14 h1 {
    font-size: 38px;
  }

  .dw-sec13 h1.price {
    font-size: 64px;
  }

  .dw-sec14 h1.price {
    font-size: 32px;
    max-width: none;
  }

  .dw-sec14 h2.tit,
  .dw-sec17 h2,
  .dw-sec17 h2.tit {
    padding-right: 0;
    text-align: center;
  }

  .dw-sec17 h2.tit {
    font-size: 42px;
    margin-top: 0;
  }

  .dw-sec17 h2 {
    font-size: 24px;
  }

  .sec17-2 + .sec17-2 {
    margin-top: 20px;
  }

  .dw-sec5 p {
    width: 100%;
    margin: 20px 0 0;
    text-align: center;
    font-size: 18px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .dw-main {
    padding-top: 3em;
  }

  .title-projet,
  .title-sec15 {
    font-size: 82px;
  }

  .title-sec11,
  .title-sec5 {
    font-size: 48px;
  }

  .dw-sec4 {
    padding-left: 15px;
  }

  .dw-hero,
  .dw-sec5 {
    background-position: top;
    min-height: 95dvh;
  }

  .intro-1 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .intro-3 {
    margin-top: 0;
  }

  .intro-1 h1,
  .dw-metiers h1 {
    font-size: 36px;
  }

  .intro-2 h2,
  .intro-2 h3 {
    font-size: 22px;
  }

  .invest-1 p,
  .invest-1 span {
    font-size: 18px;
  }

  .sec3-1 p {
    font-size: 1.2em;
  }
  
  .dw-sec4 .dw-container {
    flex-direction: column;
    padding: 10px;
  }

  .metiers-grid {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }

  .dw-metiers h2 {
    font-size: 28px;
    margin-top: 20px;
  }

  .dw-metiers h1.price {
    font-size: 48px;
  }

  .dw-gallery {
    background: none;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
  }

  .sec8-1,
  .sec9-2 img {
    margin-top: 40px;
  }

  .sec8-1 h1,
  .sec9-1 h1 {
    font-size: 32px;
    padding: 32px 16px;
  }

  .sec9-2 p {
    text-align: center;
  }

  .dw-sec10 {
    padding: 60px 20px;
  }

  .sec12-2 p.p2 {
    text-align: center;
  }

  .sec10-1 {
    margin-top: 0;
    padding: 20px;
    order: 1;
  }

  .sec10-2 {
    padding: 30px;
    order: 2;
  }

  .sec10-1 h3,
  .sec10-2 p {
    text-align: center;
    font-size: 24px;
    line-height: 1.3;
  }

  .sec10-2 h3 {
    font-size: 32px;
  }

  .sec12-2 p {
    text-align: center;
  }

  .dw-sec13 h1.price {
    font-size: 54px;
  }

  .dw-sec14 h1.price {
    font-size: 28px;
  }

  .dw-sec17 h2.tit {
    font-size: 34px;
  }

  .dw-sec17 h2 {
    font-size: 20px;
  }

  .dw-sec14 h2.tit {
    margin-bottom: 40px;
  }

  .sec16-2, .dw-sec17 {
    transform: translateY(-100px);
}
}