/*
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;
}

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 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 a {
  margin-left: 2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

#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: 100%;
  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: 1rem 2rem;
}

.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;
}
}

/* ====== ARTICLES HOME PAGE ====== */
.projet-recent {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 16px;
  height: 600px;
  margin-bottom: 375px;
}

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

.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 {
  height: 100%;
  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: 10px 15px;
    font-size: 14px;
    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: 30px;
}

.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 {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.article-mini img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px !important;
}

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

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

.bloc-clientele img {
    width: 100%;
    border-radius: 20px !important;
    object-fit: cover;
}


/* ====== 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 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;
}

/* À 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: 100px;
}

.footer-cta {
  background: linear-gradient(135deg, #FF1963, #EE6000);
  margin: 2rem auto;
  max-width: 70%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 3rem 3rem;
  color: #fff;
}

.footer-cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-cta-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.footer-cta-text h2 {
  font-size: 40px;
  margin: 0;
  font-family: 'lexend';
}

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

.footer-cta-text p {
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.footer-cta-button {
  background-color: #000;
  color: #fff;
  padding: 24px 70px;
  text-decoration: none;
  font-size: 26px;
  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-droits {
  text-align: center;
  color: #fff;
  margin: 20px 0 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.footer-droits a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

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

@media (max-width: 1024px) {
  .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: 1700px) {
  .projet-recent{
    margin-bottom: 200px;
  }
}

@media (max-width: 1400px) {
  .projet-recent {
    margin-bottom: 0;
  }
}

@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: 22px;
    margin: auto;
	margin-bottom:30px;
    padding: 0;
  }

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

  .filtre-menu {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .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;
  }
}
