/*
Theme Name: hello-elementor child
Author: Loïc Guéniau
*/

/* Importation du style parent */
@import url("../hello-elementor/style.css");

/* ====== RESET & BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  margin-top: 5vh;
}

/* ====== PRELOAD MODERNE FIX ====== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s ease-in-out,
    transform 0.8s ease-in-out;
}


body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
}

/* Empêche le scroll tant que le site n’est pas prêt */
body:not(.loaded) {
  overflow: hidden;
}

/* ====== HEADER ====== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 2rem 2rem;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  width: 125px;
}

.menu-en {
	margin-left:0 !important;
}

.separator-lang {
	color: #fff;
	margin:0 5px;
	vertical-align: initial;
}

.menu a {
  margin-left: 2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.active-desktop {
	font-weight:700 !important;
}

#main-header {
  background-color: transparent;
  backdrop-filter: none;
}

#main-header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.burger span {
  width: 25px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Menu plein écran */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.95);
  color: #fff;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2000;
}

/* Header interne du menu fullscreen */
.fullscreen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.lang-switch a.active {
  font-weight: 700;
}

/* Bouton fermeture */
.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Liens au centre */
.fullscreen-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 2rem;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}
.fullscreen-nav a {
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }
  .burger {
    display: flex;
  }

  .logo {
    max-width: 100px !important;
}
}

/* ==========================
   CAROUSEL DESIGN STUDIO
   ========================== */

.carousel {
  position: relative;
  overflow: hidden;
  border: clamp(1px, 0.1vw, 3px) solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background: #000;
  color: #fff;
  max-width: 1200px;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* Transition globale */
.carousel-inner {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.22, 0.9, 0.36, 1);
  will-change: transform;
}

/* Slides */
.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 8vw, 6rem) clamp(2rem, 6vw, 3.5rem);
  min-height: clamp(280px, 45vh, 480px);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.4s ease, transform 1.4s ease;
  will-change: opacity, transform;
}

.carousel-item.active {
  opacity: 1;
  transform: translateX(0);
}

/* Image */
.carousel-image {
  flex: 0 0 clamp(240px, 30%, 320px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-image img {
  width: 100%;
  height: auto;
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* Texte */
.carousel-text {
  flex: 1 1 auto;
  min-width: 0;
}

.carousel-text h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 34px);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.carousel-text p {
  font-family: 'Crimson Text', serif;
  font-size: clamp(16px, 1.8vw, 22px);
  color: #ddd;
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}

/* Flèches */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(40px, 3.5vw, 50px);
  height: clamp(60px, 6vw, 75px);
  border-radius: 40px;
  border: 1px solid rgba(255,255,255);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%);
}
.carousel-arrow:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.carousel-arrow img {
  width: clamp(18px, 2.5vw, 28px);
}

.carousel-arrow.left { left: 1.5rem; }
.carousel-arrow.right { right: 1.5rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  right: 2rem;
  bottom: clamp(8px, 2vw, 20px);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.8);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.active {
  background: #fff;
  transform: scale(1.15);
}

/* Hover du carrousel */
.carousel:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.5s ease;
}

/* Fade-in au chargement */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .carousel {
	max-width:90%;
	  margin:auto;
	}
  .carousel-arrow {
    display: none;
  }
}

@media (max-width: 700px) {
  .carousel-item {
    flex-direction: column;
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 5vw, 2.5rem) clamp(3rem, 8vw, 4rem);
	padding-bottom: 1.5rem;
  }
  .carousel-arrow.left { left: 0.25rem; }
  .carousel-arrow.right { right: 0.25rem; }
  .carousel-dots {
    right: 50%;
    transform: translateX(50%);
  }
	
  .carousel-image {
    height:45%;
  }
  .carousel-dots {
	bottom: clamp(15px, 2vw, 20px);
  }
}

/* ====== ARTICLES HOME PAGE ====== */
.projet-recent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 0 auto clamp(40px, 6vw, 120px);
  max-width: 1200px;
  height: auto;
  align-items: stretch;
}

.article,
.col1, .col2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article {
  border-radius: 12px;
  overflow: hidden;
  background-color: #eee;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.article img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.article:hover img {
  transform: scale(1.05);
}

.article1 { flex: 2; background-color: #FFD9D6; }
.article2 { flex: 1; background-color: #D0F0C0; }

.row-top {
  display: flex;
  gap: 16px;
  flex: 1;
}

.article3, .article4 { flex: 1; }
.article3 { background-color: #E1E8F0; }
.article4 { background-color: #FFF1C1; }
.article5 { flex: 1; background-color: #E9D5EC; }

.article6 {
  background-color: #F0F0F0;
}

/* ====== VIDEO HOME ====== */

.home-video {
  /*max-height: 90vh;*/
  object-fit: cover;
  overflow: hidden;
}

/* ====== ARTICLES ====== */

.meta-categories-annee {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-meta {
    color: #ffffff;
    font-size: 16px;
    border: 2px solid #ffffff;
    border-radius: 9999px; /* max arrondi */
    padding: 15px 25px;
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

/* ====== À Propos ====== */

.a-propos-illustrations {
  padding: 2px;
  border-radius: 20px;
  /*background: linear-gradient(135deg, #ffffff0D, #ffffffFF);*/
}


/* ====== PROJETS ====== */

.filtre-barre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 2rem;
}

.filtre-titre {
  color:#fff;
  padding-bottom: 20px;
}

.filtre-menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.filtre-item {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    width: 175px;
    padding-bottom: 20px;
    text-align: center;
}

.filtre-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(135deg, #FF1963, #EE6000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.filtre-item:hover::after {
    transform: scaleX(1);
}

/* Active : toujours souligné */
.filtre-item.active {
    font-weight: 600;
}

.filtre-item.active::after {
    transform: scaleX(1);
}

.entete-domaine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.entete-domaine a {
  color: #fff;
}

.articles-domaine {
    margin-bottom: 40px;
    margin-top: 20px;
}

.article-mini {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.article-mini img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px !important;
  display: block;
  transition: transform 0.3s ease;
}

.article-mini :hover img {
  transform: scale(1.05);
}

.grid-clientele, .articles-domaine{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    color: #fff;
}

.bloc-clientele h3 {
  margin-bottom: 15px;
}

.bloc-clientele a {
  display: block;
  border-radius: 20px;
  overflow: hidden; /* masque le débordement de l’image au zoom */
  transition: transform 0.3s ease;
}

.bloc-clientele img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px !important;
  display: block;
  transition: transform 0.3s ease;
}

.bloc-clientele a:hover img {
  transform: scale(1.05);
}

/* ====== FORMULAIRE DE CONTACT ====== */
.bloc-form-contact {
  position: relative;
  border-radius: 20px;
  padding: 2px; /* Laisse de la place à la pseudo-bordure */
  background: linear-gradient(135deg, #280510, #251002);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 0; /* Z-index cohérent avec le ::before */
}

.bloc-form-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff0D, #ffffffFF);
  z-index: -1;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.form-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-contact-row {
  display: flex;
  gap: 20px;
}

.form-contact-row label,
.form-contact label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
}

.form-contact-img-container {
  position: relative;
  display: inline-block;
}

.form-contact-img-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,25,99,0.3), rgba(238,96,0,0.3), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

.form-contact-success-img-container {
  position: relative;
  display: inline-block;
  height : 100%;
  width:100%;
}

.form-contact-success-img-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
background: radial-gradient(ellipse 30% 200% at center,rgba(255,25,99,0.3),rgba(238,96,0,0.3), transparent 80%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

.form-contact input[type="text"],
.form-contact input[type="email"],
.form-contact input[type="number"],
.form-contact input[type="date"],
.form-contact textarea,
.form-contact select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #39231D;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.form-contact textarea {
  height: 140px;
  resize: vertical;
}

.form-contact p {
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
}

.form-contact .form-contact-objet{
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-weight: 300;
}

.form-devis-besoin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.form-devis-besoin label {
  align-items: center;
  font-weight: 300;
  color: #fff;
  display: block;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.form-contact .form-contact-objet input[type="radio"] {
  margin-right: 6px;
}

.form-contact input[type="submit"] {
  background: linear-gradient(135deg, #FF1963, #EE6000);
  color: #fff;
  padding: 20px 56px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.form-contact input[type="submit"]:hover {
  background-color: #005f8d;
}

.wpcf7 form.invalid .wpcf7-response-output {
	color:#fff !important;
}

/* À propos */

    .separator {
      width: 1px;
      background-color: #fff;
      height: 100%;
    }

    .separator-left, .separator-right {
      flex: 1;
    }

    .cercle {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(90deg, #FF1963, #EE6000);
    }

/* ====== ARCHIVES ====== */

/* ========== Layout Principal ========== */

.archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ========== Header de la page d’archive ========== */

.archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.archive-header__title {
  font-size: 1.8rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: #fff;
}

.archive-header__parent {
  font-weight: 400;
  color: #fff;
}

.archive-header__current {
  font-weight: 600;
  color: #fff;
}

.archive-header__back {
  background: linear-gradient(135deg, #FF1963, #EE6000);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}

.archive-header__back:hover {
  background-color: #e0e0e0;
}

/* ========== Grille des articles ========== */

.archive-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* ========== Carte d’un article ========== */


.archive-post__link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.archive-post__thumbnail {
  overflow: hidden;
  border-radius: 12px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.archive-post:hover .archive-post__thumbnail img {
  transform: scale(1.05);
}

.archive-post__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  margin-bottom: 16px;
}

/* ========== Message si aucun article ========== */

.archive-empty {
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  margin-top: 50px;
}


/* ====== PAGE 404 ====== */

.page-404-container {
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}

.page-404-title {
    font-size: 14rem;
    font-weight: bold;
}

.page-404-message {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.page-404-button {
    display: inline-block;
    margin-top: 40px;
    padding: 20px 50px;
    background: linear-gradient(90deg, #FF1963, #EE6000);
    color: #fff;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-404-button:hover {
    background-color: #005f8d;
}

@media (max-width: 768px) {
	.page-404-title {
    	font-size: 5rem;
	}
	.page-404-message {
    	font-size: 1rem;
	}
}

/* ====== FOOTER ====== */

footer {
  margin-top: clamp(40px, 8vw, 120px);
}

.footer-cta {
  background: linear-gradient(135deg, #FF1963, #EE6000);
  margin: clamp(1rem, 4vw, 4rem) auto;
  width: min(90%, 1100px);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: clamp(1rem, 3vw, 3rem) clamp(1.5rem, 5vw, 6rem);
  color: #fff;
}

.footer-cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-cta-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.footer-cta-text h2 {
  font-size: clamp(20px, 5vw, 40px);
  margin: 0;
  font-family: 'lexend';
}

.footer-cta-text a {
  font-size: 24px;
  font-family: 'lexend';
}

.footer-cta-text p {
  font-size: clamp(16px, 1.5vw, 22px);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.footer-cta-button {
  background-color: #000;
  color: #fff;
  padding: clamp(14px, 2vw, 24px) clamp(40px, 5vw, 70px);
  text-decoration: none;
  font-size: clamp(16px, 1.5vw, 24px);
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
}

.footer-cta-image {
  flex: 1 1 300px;
  text-align: center;
}

.footer-cta-image img {
  max-width: 100%;
  height: auto;
}

.footer-main {
  padding: 3rem 1.5rem;
  color: #fff;
}

.footer-main-container {
  display: grid;
  grid-template-columns: 40% repeat(3, 1fr);
  gap: 2rem;
  max-width: 70%;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.footer-col-texte-studio {
  margin-right: 15%;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: 'Lexend', sans-serif;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 2em;
}

.footer-col a:hover,
.footer-social-links a:hover {
  color: #FF1963;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-social-links a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-social-links a img {
	height:30px;
}

.footer-droits {
  text-align: center;
  color: #fff;
  margin: 20px 0 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.footer-droits a{
  color: #808080;
  font-weight: 500;
  font-size:14px;
  text-decoration: none;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1024px) {
	
	.projet-recent {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		gap: 16px;
		margin: 0 auto clamp(60px, 10vw, 200px);
		max-width: 90%;
		height: auto;
		align-items: stretch;
  }
  .footer-main-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-col-texte-studio {
    margin-right: 0;
  }

  .footer-cta-text {
    gap: 35px;
    text-align: center;
  }

  .footer-cta-text h2 {
    /*font-size: 25px;*/
  }

  .footer-cta-text p {
    font-size: 18px;
  }

  .footer-cta-text a {
    font-size: 18px;
    margin: 0 auto;
  }

  .footer-cta-image img {
    max-width: 60%;
  }
}

@media (max-width: 810px) {
  /*.projet-recent {
    margin-bottom: 50px;
  }*/

  .filtre-titre {
    padding-bottom: 0;
  }

  .bloc-clientele h3 {
    font-size: 15px;
  }

  .footer-cta {
    max-width: 85%;
  }

  .footer-main-container {
    max-width: 90%;
  }

  .filtre-barre.is-domaine .filtre-menu {
    display: none;
  }
}  

@media (max-width: 768px) {

  .projet-recent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 45% 27.5% 27.5%;
    gap: 16px;
    height: 600px;
    margin: auto;
    max-width: 90%;
  }
	
  .col1, .col2 {
    display: contents;
  }

  .row-top {
    display: contents; /* ✅ annule le flex layout au mobile */
  }

  .article {
    height: 100%;
  }

  .article1 { grid-column: 1; grid-row: 1; }
  .article4 { grid-column: 2; grid-row: 1; }

  .article2 { grid-column: 1; grid-row: 2; }
  .article5 { grid-column: 2; grid-row: 2; }

  .article3 { grid-column: 1; grid-row: 3; }
  .article6 { grid-column: 2; grid-row: 3; }

  /*Nos projets*/

  .grid-clientele {
    grid-template-columns: repeat(1, 1fr);
  }

  .filtre-titre {
    font-size: 1.3rem;
    margin: auto;
	margin-bottom:2rem;
    padding: 0;
  }

  .filtre-item {
    width: 33%;
    font-size: 12px;
    padding-bottom: 10px;
  }

  .filtre-menu {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }
	
  .filtre-barre {
	margin-bottom: 4rem;
  }

  .entete-domaine {
    font-size: 14px;
  }

  .entete-domaine a {
    font-weight: 600;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(135deg, #FF1963, #EE6000);
    border-radius: 50px;
  }

  .archive-posts {
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    gap: 15px;
  }

  .article-mini img {
    border-radius: 5px !important;
    width: 103px;
  }

  .articles-domaine {
    gap: 15px;
  }

  .archive-container {
    padding: 20px 20px;
  }

  .bloc-clientele img {
    height: 140px !important;
    border-radius: 10px !important;
  }

  .archive-header__title, .archive-post__title {
    font-size: 14px;
  }

  .archive-header__back {
    font-size: 14px;
    padding: 14px 20px;
  }

  /*FORMULAIRE DE CONTACT*/
  .form-contact {
    width: 100%;
  }
  .form-contact-row {
    flex-direction: column;
  }

  .form-contact label {
    font-size: 18px;
  }

  .form-contact p {
    font-size: 18px;
  }

  .form-contact input[type="submit"] {
    width: 100%;
    font-size: 18px;
  }

  .form-contact-objet {
    flex-direction: column;
    gap: 30px !important;
  }

  .form-contact-row {
    gap: 0;
  }

  .footer-cta-image {
    flex: 0;
  }

  .form-devis-besoin {
    gap:25px;
  }

  .form-devis-besoin label {
    font-size: 18px;
  }

  /* FOOTER MOBILE */

  footer {
    margin-top: 4em;
  }

  .footer-cta {
    padding: 2rem 1.5rem;
    max-width: 90%;
    margin: 0 auto;
  }

  .footer-cta-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-cta-text {
    flex: 1 1 0;
    align-items: center;
  }

  .footer-cta-button {
    margin: 0 auto;
    padding: 18px 48px;
    font-size: 20px;
  }

  .footer-cta-text h2 {
    /*font-size: 32px;*/
  }

  .footer-cta-text p {
    font-size: 18px;
  }

  .footer-cta-text a {
    font-size: 20px;
  }

  .footer-main-container {
    flex-direction: column;
    align-items: center;
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 100%;
  }

  .footer-col {
    width: 100%;
    max-width: 400px;
  }

  .footer-col h3 {
    font-size: 1.1rem;
  }

  .footer-col a {
    font-size: 0.95rem;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
  }

  .footer-col-texte-studio {
    margin: 0 auto;
    text-align: left;
    font-size: 14px;
  }

  .footer-droits {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .footer-social-links {
    text-align: center;
  }

}

@media (max-width: 480px) {
  .footer-cta-text h2 {
    /*font-size: 28px;*/
  }

  .footer-cta-text p {
    font-size: 16px;
  }

  .footer-cta-button {
    font-size: 18px;
    padding: 16px 36px;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col a {
    font-size: 0.9rem;
  }

  .footer-social-links a {
    font-size: 1.2rem;
    margin: 0 0.25rem;
  }

  .footer-col-texte-studio {
    font-size: 13px;
  }
}
