/*
Theme Name: La Ligne Web - Thème Enfant
Description: Thème enfant personnalisé pour le site La Ligne Web
Author: La Ligne Web
Template: twentytwentyfive
Version: 1.0.0
Text Domain: laligneweb-child
*/

/* Styles personnalisés pour La Ligne Web */

/* Styles pour le scroll infini des projets */
.infinite-scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 15px;
  color: #666;
  font-size: 14px;
}

.infinite-scroll-loader .loading-spinner {
  width: 30px;
  height: 30px;
}

.infinite-scroll-loader .spinner {
  width: 100%;
  height: 100%;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Masquer le bouton "Charger plus" car on utilise le scroll infini */
.load-more-container {
  display: none !important;
}

/* Styles pour le formulaire multi-étapes */
.form-step .contact-fields .field-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-step .contact-fields .field-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-step .contact-fields .field-group.full-width {
  width: 100%;
  flex: none;
}

.form-step .contact-fields label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"],
.form-step textarea {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  box-sizing: border-box;
}

.form-step input[type="text"]:focus,
.form-step input[type="email"]:focus,
.form-step input[type="tel"]:focus,
.form-step textarea:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Supprimer TOUS les styles d'erreur par défaut */
.form-step input:required,
.form-step textarea:required,
.form-step input:invalid,
.form-step textarea:invalid {
  border-color: #e1e5e9 !important;
  box-shadow: none !important;
}

/* Plus de validation visuelle - seulement les messages d'erreur */
.form-step input.touched.valid,
.form-step textarea.touched.valid,
.form-step input.touched.invalid,
.form-step textarea.touched.invalid {
  border-color: #e1e5e9;
  box-shadow: none;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .form-step .contact-fields .field-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Masquer la barre de progression verte à gauche */


.progress-fill {
  display: none !important;
}


body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
  font-family: 'Poppins', sans-serif !important;

}

.container {
  max-width: 1200px !important;
  /* Limite la largeur maximale à 1200px par défaut */
  width: 100% !important;
  /* Prend toute la largeur disponible */
  padding-right: 1rem;
  /* Ajoute un espace intérieur à droite */
  padding-left: 1rem;
  /* Ajoute un espace intérieur à gauche */
  margin-right: auto !important;
  /* Centre horizontalement */
  margin-left: auto !important;
  /* Centre horizontalement */
  box-sizing: border-box;
  /* Inclut les bordures et padding dans la largeur */
}


.is-layout-constrained>.aligncenter.img-expertises {
  margin-left: unset !important;
  margin-right: unset !important;
}

/* Adaptation pour écrans plus grands (≥ 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px !important;
    /* Augmente la largeur maximale */
  }
}



/* Adaptation pour très grands écrans (≥ 1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px !important;
    /* Augmente encore la largeur maximale */
  }
}

/* Adaptation pour les écrans moyens */
@media (max-width: 781px) {
  .container {
    padding-right: 1.5rem;
    /* Réduction des marges pour petits écrans */
    padding-left: 1.5rem;
  }

}



/* Adaptation pour les très petits écrans */
@media (max-width: 480px) {
  .container {
    padding-right: 1.25rem;
    /* Réduction supplémentaire pour très petits écrans */
    padding-left: 1.25rem;
  }
}


.has-global-padding>.alignfull {}

/* === HERO SECTION ET SIGNATURES ANIMÉES === */
.hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

.hero-content-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
}

.since-badge {
  display: inline-block;
  background: #6c9a6c;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
  animation: fadeInUp 1s ease-out 0.3s both;
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Lignes de signature animées */
.signature-line {
  position: absolute !important;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  top: 0;
}

.signature-image {
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* SVG visibles par défaut */
.signature-line svg {
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

/* Première signature - à côté du V de VOTRE */
.signature-line-1 {
  z-index: 10;
  top: -4px;
  left: -499px;
}

/* Deuxième signature - après WEB sur la deuxième ligne */
.signature-line-2 {
  z-index: 5;
  right: -199px;
  top: -5px;

}

/* === SIGNATURES ANIMÉES SIMPLE === */
body,
html {
  overflow-x: visible !important;
}


.signature-container {
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: visible;
  width: 100%;
}

.since-badge {
  background: #39A347;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.signature-title {
  font-size: clamp(3rem, 8vw, 5rem);
  /* Base 80px = 5rem */
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  color: #1a1a1a;
  position: relative;
}

/* Première ligne - VOTRE AGENCE WEB commence à 10% de la gauche (desktop par défaut) */
.title-line-1 .signature-title {
  text-align: left;
  margin-left: 10%;
  /* Commence à 10% de la gauche du container */
  margin-right: auto;
}

/* Deuxième ligne - À AIX-EN-PROVENCE finit à 10% de la droite (desktop par défaut) */
.title-line-2 .signature-title {
  text-align: right;
  margin-right: 10%;
  /* Finit à 10% de la droite du container */
  margin-left: auto;
}

.title-with-signature {
  position: relative;
  display: block;
  margin: 20px auto;
  overflow: visible;
  width: 100%;
  min-height: 100px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.875rem);
  /* Base 30px = 1.875rem */
  color: #666;
  margin: clamp(20px, 4vw, 40px) 0;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eco-badge {
  margin-top: 40px;
}

.badge-image {
  max-width: 150px;
  height: auto;
}

.signature-line {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.signature-line svg {
  height: 100%;
  overflow: visible;
}

.signature-line svg path {
  fill: none;
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Animations des signatures - SÉQUENCE */
.signature-line-2 svg path {
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Signature 2 en couleur verte normale */

/* FORÇAGE SIGNATURE 1 - Même traitement que signature 2 */
.signature-line-1.force-visible {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

.signature-line-1.force-visible svg {
  opacity: 1 !important;
  display: block !important;
}

.signature-line-1.force-visible svg path {
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* === STYLES RENFORCÉS POUR SIGNATURE 1 === */
.signature-line-1 {
  display: block !important;
  z-index: 15 !important;
  pointer-events: none !important;
  overflow: visible !important;
  /* Double protection: hidden + opacity 0 */
}

.signature-line-1 svg {
  display: block !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  transform: translateX(0) !important;
}

.signature-line-1 svg path {
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* FORÇAGE SIGNATURE 2 - Ne jamais la cacher */
.signature-line-2.force-visible {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

.signature-line-2.force-visible svg {
  opacity: 1 !important;
  display: block !important;
}

/* === STYLES RENFORCÉS POUR SIGNATURE 2 CRÉÉE DYNAMIQUEMENT === */
.signature-line-2 {
  display: block !important;
  position: absolute !important;
  z-index: 15 !important;
  pointer-events: none !important;
  overflow: visible !important;
  /* Double protection: hidden + opacity 0 */
}

.signature-line-2 svg {
  display: block !important;
  opacity: 1 !important;
  height: 100% !important;
  overflow: visible !important;
  /* Forcer l'alignement à gauche du SVG */
  margin-left: 0 !important;
  padding-left: 0 !important;
  transform: translateX(0) !important;
}

.signature-line-2 svg path {
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: 1 !important;
  visibility: visible !important;
}



/* Responsive */
@media (max-width: 781px) {
  .signature-line {
    /*display: none;*/
  }

  .signature-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0.8;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .signature-line-1 {
    right: -200px;
    width: 150px;
    height: 60px;
  }

  .signature-line-2 {
    right: -200px;
    width: 160px;
    height: 100px;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 781px) {
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .since-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Délais d'animation naturels - première signature avec le titre */
/* ANIMATIONS CSS DÉSACTIVÉES - Contrôlées par JavaScript */
.signature-line-1 svg path,
.signature-line-1 svg line,
.signature-line-1 svg polyline {
  /* animation-delay: 1s; */
  /* animation-duration: 2.5s; */
  animation: none !important;
  /* Supprimer toute animation CSS */
}

/* Deuxième signature après la première ligne */
.signature-line-2 svg path,
.signature-line-2 svg line,
.signature-line-2 svg polyline {
  /* animation-delay: 1.8s; */
  /* animation-duration: 3s; */
  animation: none !important;
  /* Supprimer toute animation CSS */
}


/* EFFETS PSEUDO-ÉLÉMENTS DÉSACTIVÉS - Contrôlés par JavaScript */
.signature-line::before {
  /* content: ''; */
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* right: 0; */
  /* bottom: 0; */
  /* background: linear-gradient(90deg, transparent 0%, rgba(26, 26, 26, 0.1) 50%, transparent 100%); */
  /* transform: translateX(-100%); */
  /* animation: signatureReveal 0.8s ease-out forwards; */
  /* pointer-events: none; */
  display: none !important;
  /* Complètement désactivé */
}

.signature-line-1::before {
  /* animation-delay: 0.8s; */
  display: none !important;
}

.signature-line-2::before {
  /* animation-delay: 1.6s; */
  display: none !important;
}

@keyframes signatureReveal {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeInSignature {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Badge avec image */
.eco-badge {
  animation: fadeInScale 1s ease-out 2.5s both;
}

.badge-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Indicateur de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite 3s;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-bottom: 2px solid #1a1a1a;
  border-right: 2px solid #1a1a1a;
  transform: rotate(45deg);
}

/* Animations générales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive pour les signatures */
@media (max-width: 1024px) {
  .signature-line-1 {
    left: -80px;
    /* Adapté de -100px */
    width: 180px;
    height: 55px;
  }

  .signature-line-2 {
    right: 10px;
    width: 180px;
    height: 55px;
  }
}

@media (max-width: 781px) {
  .hero-content-container {
    padding: 1rem;
  }

  .badge-image {
    width: 80px;
    height: 80px;
  }

  .signature-line-1 {
    left: -60px;
    /* Adapté pour tablettes */
    top: 10px;
    width: 150px;
    height: 45px;
  }

  .signature-line-2 {
    right: 5px;
    top: 70px;
    width: 150px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .signature-line-1 {
    left: -40px;
    /* Adapté pour mobiles */
    top: 8px;
    width: 120px;
    height: 35px;
  }

  .signature-line-2 {
    right: 0px;
    top: 60px;
    width: 120px;
    height: 35px;
  }
}

/* Adaptation pour les très petits écrans */
@media (max-width: 480px) {
  .container {
    padding-right: 1.25rem;
    /* Réduction supplémentaire pour très petits écrans */
    padding-left: 1.25rem;
  }
}

.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;

}

/* Header */
/* Header Styles */
.restaurant-header-accueil {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  transition: background-color 0.3s ease;
}

.restaurant-header-accueil.scrolled {
  background-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.restaurant-header.scrolled-page {
  background-color: #FFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  transition: background-color 0.3s ease;
}


.green {
  width: 6rem;
  border: none;
  height: 2px;
  background-color: #91a987;
  margin-left: auto !important;
  margin-right: auto !important;
}

.carte {
  padding-left: 15rem !important;
  padding-right: 15rem !important;
}




.restaurant-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1%;
}

.logo-container {
  z-index: 101;
}

.restaurant-logo {
  height: 50px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  margin-right: 1rem;
  z-index: 101;
}

.reservation-button {
  padding: 0.5rem 1rem;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  background-color: #39A347;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}


/* Menu Popup Styles */
.menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /* Prend toute la largeur de la fenêtre */
  height: 100vh;
  /* Prend toute la hauteur de la fenêtre */
  margin: 0;
  /*Supprime toute marge */
  padding: 0;
  /* Supprime tout padding */
  display: none;
  z-index: 1000;
  /*Assure que la pop-up est au-dessus de tout */
  background-size: cover;
  /* L'image couvre toute la pop-up */
  background-position: center;
  /*Centre l'image */
  background-repeat: no-repeat;
  /* Pas de répétition */
  overflow: hidden;
  /* Évite tout débordement */
}

.menu-popup.active {
  /*  display: flex;
  flex-direction: column;*/
  transform: translateX(0);
}

.menu-header {
  position: absolute;
  /* Positionne le bouton de fermeture en absolu */
  top: 1rem;
  right: 2rem;
  z-index: 1001;
  /* Assure que le bouton est au-dessus du contenu */
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  padding-top: 1rem;
}

.close-menu img {
  width: 32px;
  /* Ajuste la taille de l'icône de fermeture */
  height: 32px;
}

.menu-content {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  /* Aligne le contenu à droite */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* S'assure que le padding/margin n'affecte pas la taille */
}

.menu-links {
  text-align: right;
  /* Aligne le texte à droite */
  padding-right: 15rem;
  padding-top: 8rem;
  background: rgba(255, 255, 255, 0.1);
  /* Optionnel : légère superposition pour la lisibilité */
  overflow: scroll;
}

.menu-links ul {
  list-style: none;
  margin: 0;
  padding-right: 7rem;
}

.restaurant-logo-logo {
  outline: none;
}

@media (max-width: 700px) {
  .menu-links ul {
    padding-right: 0rem;
  }


}

.close-menu {
  outline: none;
}

.menu-links {
  padding-right: 0rem !important;
}

.menu-links li {
  margin-bottom: 2.5rem;
  /* Espacement entre les liens */
}

.menu-links a {
  text-decoration: none;
  color: #ffffff;
  /* Couleur grise par défaut */
  font-size: 2rem;
  /* Taille de police similaire à l'image */
  font-weight: 400;
  /* Poids minimum de la police */
  text-transform: uppercase;
  /* Met le texte en majuscules comme dans l'image */
  transition: color 0.3s ease;
}

.menu-links a:hover,
.menu-links a:active,
.menu-links a.active {
  color: #000;
  /* Noir pour les états hover et active */
}




/* --- Entrée --- */
.menu-popup.active .menu-links li {
  animation: slideIn 1.5s forwards;
}


/* --- Sortie --- */


@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}




/* Supprime les styles inutiles pour menu-image-container */
.menu-image-container {
  display: none;
  /* Plus besoin de ce conteneur */
}

:root :where(.is-layout-constrained)>* {
  margin-block-start: 0;
}



/* Responsive Styles */
@media (max-width: 781px) {
  .menu-popup {
    background-image: url('https://lolivierpertuis.com/wp-content/uploads/2025/04/test-plat-1-1.png') !important;
    background-size: cover;
    background-position: center;
  }

  .timeline-entry {
    display: flex;
    margin: 20px 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reservation-button {
    font-size: 0.5rem !important;
  }

  .restaurant-header-accueil {
    padding: 0 !important;
  }

  .colone-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 3rem !important;
  }

  .wp-block-image.alignright.size-full.menu-img {
    float: unset !important;
    margin-inline-start: 0 !important;
  }


  .menu-content {
    width: 100%;
    height: 100%;
  }

  .restaurant-logo-logo {
    height: 53px;
    width: auto;
  }

  .menu-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .menu-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .menu-links a {
    font-size: 1.5rem;
  }


}

/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  text-align: center;
  font-style: italic;
  line-height: 1.2;
  max-width: 80%;
  margin: 0 auto;
}

/* Social Sidebar Styles */
.social-sidebar {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.social-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
}

.social-separator {
  width: 1px;
  height: 60px;
  background-color: white;
  margin: 0.5rem 0;
}

.social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icon {
  color: white;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

/* Discover Menu Link Styles */
.discover-menu-container {
  position: absolute;
  bottom: 3rem;
  right: 1rem;
  z-index: 3;
}

.discover-menu-link {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: underline;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;

}

.arrow-right {

  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.discover-menu-link svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.discover-menu-link:hover svg {
  transform: translateX(5px);
}



.chef-img img {
  width: 100%;
}

.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* === NOUVEAU SVG MOBILE === */
.mobile-signature-svg {
  display: none;
  /* Caché par défaut sur desktop */
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 20px auto;
  overflow: visible;
}

.mobile-signature-svg path {
  stroke: #39A347 !important;
  stroke-width: 3 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  opacity: 1 !important;
}

/* === RESPONSIVE POUR SIGNATURES ET MARGES === */

/* Au-dessus de 700px - Desktop */
@media (min-width: 701px) {

  /* Signatures partent du bord de l'écran */
  .signature-line-1 {
    position: fixed;
    /* Part du bord gauche de l'écran */
    height: clamp(60px, 8vw, 100px);
    z-index: 10;
    pointer-events: none;
  }

  .signature-line-2 {
    position: fixed;
    /* Position fixe par rapport à l'écran */
    /* Part du bord droit de l'écran */
    height: clamp(80px, 10vw, 120px);
    z-index: 5;
    pointer-events: none;
  }
}

/* En dessous de 700px - Mobile */
@media (max-width: 700px) {

  /* Afficher le nouveau SVG mobile */
  .mobile-signature-svg {
    display: block !important;
  }

  /* Marges réduites pour mobile avec marge de sécurité */
  .title-line-1 .signature-title {
    margin-left: 8% !important;
    /* Marge plus visible */
    margin-right: auto !important;
    font-size: clamp(2rem, 8vw, 3rem) !important;
    text-align: left !important;
  }

  .title-line-2 .signature-title {
    margin-right: 8% !important;
    /* Marge plus visible */
    margin-left: auto !important;
    font-size: clamp(2rem, 8vw, 3rem) !important;
    text-align: right !important;
  }
}

/* Centrer les titres sur très petits écrans */
@media (max-width: 480px) {

  .title-line-1 .signature-title,
  .title-line-2 .signature-title {
    text-align: center !important;
    margin-left: 3% !important;
    margin-right: 3% !important;
    font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
  }
}

/* === NOUVEAU H1 COMPLET === */
.signature-title-complete {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  color: #1a1a1a;
  position: relative;
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
  position: relative;
}

/* Première ligne - VOTRE AGENCE WEB commence à 10% de la gauche */
.title-line-1 {
  text-align: left;
  margin-left: 10%;
  margin-right: auto;
}

/* Deuxième ligne - À AIX-EN-PROVENCE finit à 10% de la droite */
.title-line-2 {
  text-align: right;
  margin-right: 10%;
  margin-left: auto;
}

/* Container pour les signatures */
.signatures-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* === RESPONSIVE POUR NOUVEAU H1 COMPLET === */

/* Au-dessus de 700px - Desktop */
@media (min-width: 701px) {
  .title-line-1 {
    margin-left: clamp(3%, 6vw, 8%);
  }

  .title-line-2 {
    margin-right: clamp(3%, 6vw, 8%);
  }
}

/* En dessous de 700px - Mobile */
@media (max-width: 700px) {
  .title-line-1 {
    margin-left: 8% !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .title-line-2 {
    margin-right: 8% !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  .signature-title-complete {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
}

/* Centrer les titres sur très petits écrans */
@media (max-width: 480px) {

  .title-line-1,
  .title-line-2 {
    text-align: center !important;
    margin-left: 3% !important;
    margin-right: 3% !important;
  }

  .signature-title-complete {
    font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
  }
}


.line-wrapper {
  position: relative;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.line-svg {
  height: 100%;
}

.line-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 0.3s ease-out;
}


.signature-container {
  position: relative;
}

.signatures-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.signature-line {
  position: absolute;
  visibility: hidden;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 15;
}



@media (min-width: 781px) and (max-width: 1800px) {
  span.title-line {
    /*font-size: 50% !important;*/
    margin-left: 11%;
  }
}



@media (max-width: 1200px) {
  .mobile-signature-svg {
    display: block !important;
  }

  .signature-line-1 {
    display: none !important;
  }

  .signature-line-2 {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .wp-block-group.alignfull.container.is-layout-flow.wp-block-group-is-layout-flow {
    width: 83% !important;
  }

  .flex-badge {
    display: block;
  }
}

.no-break {
  white-space: nowrap;
}

/* Avis */
.avis-wrapper {
  overflow: hidden;
  width: 100vw;
  padding: 0 10vw;
  box-sizing: border-box;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

p.avis-description {
  font-size: 1rem;
}

.avis-track.pause {
  animation: none !important;
}

.avis-track {
  display: flex;
  gap: 2rem;
  animation: scroll-loop 30s linear infinite;
  width: max-content;
  align-items: stretch;
  /* 🔥 uniformise la hauteur des cartes */
}

.avis-card {
  flex: 1 0 auto;
  width: 80vw;
  max-width: 680px;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  max-height: 30rem;
  box-sizing: border-box;
}

.avis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avis-identite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avis-logo {
  height: 64px;
  width: auto;
}

.avis-client {
  font-weight: bold;
  margin: 0;
  font-size: 1rem;
}

.avis-societe {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}


.avis-stars {
  font-size: 1.2rem;
  color: #4caf50;
  white-space: nowrap;
}

/* Animation loop */
@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.avis-wrapper.reverse .avis-track {
  animation: scroll-loop-reverse 30s linear infinite;
}

@keyframes scroll-loop-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.has-global-padding>.alignfull {
  margin-left: 0;
  margin-right: 0;
}



.hero-diagonal {
  position: relative;
  background: #f9f9f9;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50vw;
  z-index: 1;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
  /* pour éviter de gêner les interactions */
}

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

/* Le contenu reste dans ton container */

.hero-content-template {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-button {
  display: inline-block;
  background: #39A347;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
}

.text-green {
  color: #39A347;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-diagonal {
    padding: 2rem 0;
  }

  .hero-image-wrapper {
    position: static;
    width: 100%;
    height: auto;
    clip-path: none;
    margin-top: 2rem;
  }

  .hero-content {
    max-width: 100%;

  }
}

#cards {
  height: 300vh;
  view-timeline-name: --cards-scroll;
  view-timeline-axis: block;
  --numcards: 3;
}

.card {
  --index0: calc(var(--index)-1);
  --reverse-index: calc(var(--numcards) - var(--index0));
  --reverse-index0: calc(var(--reverse-index)-1);
  position: relative;
  z-index: var(--reverse-index);
}

.card__content {
  position: sticky;
  top: 10vh;
  margin: auto;
  max-width: 800px;
  background: #f9f9f9;
  padding: 2rem;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
  --start-range: calc(var(--index0)/var(--numcards)*100%);
  --end-range: calc(var(--index)/var(--numcards)*100%);
  animation: scale linear forwards;
  animation-timeline: --cards-scroll;
  animation-range: exit-crossing var(--start-range) exit-crossing var(--end-range);
}

@keyframes scale {
  to {
    transform: scale(calc(1.1 - 0.1 * var(--reverse-index)));
  }
}


footer ul li {
  list-style: none;
}



/************** Header *****************/


.wp-block-group.restaurant-header-accueil {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-group.restaurant-header-accueil.scrolled {
  background-color: #ffffffe8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wp-block-group.restaurant-header-accueil .container.header-container {
  transition: padding 0.3s ease;
}

.wp-block-group.restaurant-header-accueil.scrolled .container.header-container {
  padding: 10px 5%;
}


.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

@media (max-width: 767px) {

  .main-navigation {
    flex-direction: row-reverse;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
    max-width: 120px;
  }
}

@media (min-width: 781px) and (max-width: 1024px) {
  .mobile-logo {
    display: none;
  }

  .desktop-logo {
    display: block;
    max-width: 160px;
  }
}

@media (min-width: 1025px) {
  .mobile-logo {
    display: none;
  }

  .desktop-logo {
    display: block;
  }
}

/************** Home Page *****************/

/** Hero Section**/
.hero-grid-overlay {
  position: absolute;
  top: -1%;
  left: 0;
  background-image: url(https://preprod.la-ligne-web.com/wp-content/uploads/2025/09/Vector.png);
  background-size: cover;
  width: 50%;
  height: 8%;
}


@media (max-width: 781px) {
  .hero-grid-overlay {
    width: 100% !important;
    height: 9% !important;
  }
}


/** button home **/




@media (max-width: 781px) {
  .button_with_svg {
    width: 100% !important;
  }



  .avis-wrapper {
    display: none;
  }
}




/** Color Div **/

.wp-block-group.alignfulladdad.container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 2% !important;
  padding-right: 2% !important;
  box-sizing: border-box;
}


.button_footer {
  position: relative;
}

.button_footer::before {
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  margin-left: 4%;
  transform: translateY(-50%);
}

.button1_footer::before {
  background-image: url('http://localhost/La-Ligne-Web-5.0/wp-content/uploads/2025/07/facebook-circle-fill.svg');
}

.button2_footer::before {
  background-image: url('http://localhost/La-Ligne-Web-5.0/wp-content/uploads/2025/07/Linkedin.svg');
}

.button3_footer::before {
  background-image: url('http://localhost/La-Ligne-Web-5.0/wp-content/uploads/2025/07/Linkedin.svg');
}


/************** Avis Component  *****************/




@media (min-width: 781px) {
  .mobile-reviews-container {
    display: none;
  }
}

/* Version corrigée pour mobile */
.mobile-reviews-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  padding: 15px;
  box-sizing: border-box;
}

.mobile-review-card {
  width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  display: none;
  /* Masqué par défaut */
}

.mobile-review-card.active {
  display: block;
  /* Seul l'avis actif est visible */
}

.mobile-review-header {
  margin-bottom: 15px;
}

.mobile-review-identity {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.mobile-review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.mobile-review-name {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 3px 0;
}

.mobile-review-company {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.mobile-review-rating {
  color: #FFD700;
  font-size: 18px;
}

.mobile-review-text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

.mobile-review-prev,
.mobile-review-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  z-index: 10;
  cursor: pointer;
}

.mobile-review-prev {
  left: 5px;
}

.mobile-review-next {
  right: 5px;
}

/* Scrollbar discrète */
.mobile-review-text::-webkit-scrollbar {
  width: 4px;
}

.mobile-review-text::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}



/************** Footer Component  *****************/

@media (max-width: 781px) {
  .text_footer {
    padding-right: 0% !important;

  }

  footer .footer_column .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    /* Vos styles ici */

    flex-basis: 41% !important;
  }

}



/************** Services Component  *****************/

.group-expertises {

  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin: auto;
  align-items: center;
}

figure.img-expertises {
  width: 100% !important;
  margin-left: unset !important;
  margin-right: unset !important;
}

figure.img-expertises img {
  width: 100% !important;
  margin-left: unset !important;
  margin-right: unset !important;
  margin-top: -5% !important;

}


/************** Expertises Component  *****************/

.etape-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-height: 20rem;
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.etape-icon img {
  width: 48px;
  height: 48px;
}

.etape-title {
  font-weight: 600;
  color: #000;
}

.etape-description {
  color: #555;
  line-height: 1.5;
}


.fleche .wp-block-button__link::after {
  content: "→";
  right: 0
}

.gras {
  font-weight: 600;
}

.wp-block-button__link .fleche-link {
  position: relative;
}



.button_visit_div {
  position: relative;
}

.button_visit_div .wp-block-button .wp-block-button__link.has-background.wp-element-button::after {
  content: "";
  background-image: url("https://preprod.la-ligne-web.com/wp-content/uploads/2025/07/link.svg");
  position: absolute;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(8px);

}

.button_visit_div .wp-block-button .wp-block-button__link.has-background.wp-element-button {
  padding-right: 4rem;
}

.wp-block-list li {
  position: relative;
  /* chaque li devient le parent du ::before */
  padding-left: 2rem;
  /* espace pour laisser la place à ton icône */

}


#forminator-module-410 {
  background: #FFF;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 1rem !important;
}

.forminator-ui.forminator-custom-form[data-design=material] .forminator-textarea {
  border: none;
  border-bottom: 1px solid #000;
}




.wp-block-group.coin {
  position: relative;
}

.wp-block-group.coin::before,
.wp-block-group.coin::after {
  content: "";
  position: absolute;
  width: 80px;
  /* plus grand */
  height: 80px;
  top: -25px;
  /* plus éloigné du haut */
}

.wp-block-group.coin::before {
  left: -25px;
  /* plus éloigné de la gauche */
  border-top: 4px solid green;
  border-left: 4px solid green;
}

.wp-block-group.coin::after {
  right: -25px;
  /* plus éloigné de la droite */
  border-top: 4px solid green;
  border-right: 4px solid green;
}


/* ✅ Formulaire : #forminator-module-410 → coins du bas */
#forminator-module-410 {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 1rem !important;
}

#forminator-module-410::before,
#forminator-module-410::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  bottom: -25px;
}

#forminator-module-410::before {
  left: -25px;
  border-bottom: 4px solid green;
  border-left: 4px solid green;
}

#forminator-module-410::after {
  right: -25px;
  border-bottom: 4px solid green;
  border-right: 4px solid green;
}


/********* Blog Component  *****************/

header .wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  padding: 0;
}

.wp-block-cover,
.wp-block-cover-image {
  min-height: 70vh;
}

.hero-section {
  position: relative;
}

.wp-block-group.is-layout-flow.wp-block-group-is-layout-flow {
  margin-block-start: 0;
}

.top-hero {
  margin-top: 10rem !important;
}



.wp-block-list.list-verified {
  list-style: none;
  /* Supprime les markers par défaut */
  padding-left: 0;
  /* Supprime l'indentation par défaut */
}

.wp-block-list.list-verified li {
  position: relative;
  /* Nécessaire pour positionner le SVG */
  padding-left: 40px;
  /* Ajoute de l'espace pour le SVG */
  margin-bottom: 1rem;
  /* Ajoute de l'espace entre les éléments */
}

.wp-block-list.list-verified li:last-child {
  margin-bottom: 0;
}

.wp-container-core-navigation-is-layout-1 {
  flex-direction: column-reverse;
}

.wp-block-list.list-verified li::before {
  content: "";
  /* Ajoute un élément vide */
  position: absolute;
  left: 0;
  /* Positionne à gauche */
  top: 50%;
  /* Centre verticalement */
  transform: translateY(-50%);
  /* Centre verticalement */
  width: 32px;
  /* Taille du SVG */
  height: 32px;
  /* Taille du SVG */
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"%3E%3Cpath d="M12.7333 23.9999L5.1333 16.3999L7.0333 14.4999L12.7333 20.1999L24.9666 7.96655L26.8666 9.86655L12.7333 23.9999Z" fill="%231C6FD5"/%3E%3C/svg%3E');
  background-size: contain;
  /* Assure que le SVG est bien contenu */
  background-repeat: no-repeat;
  /* Pas de répétition */
}

.wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
}

.wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li {
  border-radius: 1.25rem;
  border: 1px solid #e4e4e4;
  position: relative;
  padding-bottom: 2rem;
}

.wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li div img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 1.25rem 1.25rem 0rem 0rem;
}

.wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li a {
  color: #000;
  font-family: Urbanist;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  padding: 1rem;
}

.wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li div.wp-block-latest-posts__post-excerpt {
  color: #000;

  font-family: Urbanist;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;

  gap: 1rem;
}

a.wp-block-latest-posts__read-more {
  padding: 0.5rem 1rem !important;
  /* Ajoute de l'espace autour du texte */
  display: inline-block;
  /* Le lien s'ajuste à son contenu */
  border-radius: 1.25rem;
  /* Coins arrondis */
  background: #1c6fd5;
  /* Couleur de fond */
  color: white !important;
  /* Couleur du texte */
  text-decoration: none;
  /* Supprime le soulignement */
  position: absolute;
  /* Permet de le positionner à droite */
  right: 20px;
  bottom: 5px;
}

.absolute-presentation img {
  position: absolute;
  top: 38%;
  z-index: 1000;
}

@media (max-width: 480px) {
  .wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li div img {
    max-height: 6rem;
    aspect-ratio: 1/1;
  }
}

@media (max-width: 780px) {

  .wp-block-columns {
    display: flex !important;
    justify-content: center;
    align-items: center !important;
  }

  .wp-block-column.is-layout-flow.wp-container-core-column-is-layout-1.wp-block-column-is-layout-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .wp-block-column.is-layout-flow.wp-container-core-column-is-layout-4.wp-block-column-is-layout-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .img-column img {
    max-width: 150px;
  }

  .wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts {
    display: flex;
    flex-direction: column;
  }

  .wp-block-latest-posts.columns-3 li {
    width: 100%;
  }

  .wp-block-latest-posts__list.is-grid.columns-3.wp-block-latest-posts li div img {
    max-height: 15rem;
    aspect-ratio: 4/3;
  }
}

/* Cacher le menu normal sous 780px */
@media (max-width: 779px) {
  .wp-block-navigation__container {
    display: none;
    /* Cacher la liste des éléments de navigation */
  }

  .wp-block-navigation__responsive-container-open {
    display: flex !important;
    /* Afficher le bouton burger */
  }
}

/* Afficher le menu normal au-dessus de 780px */
@media (min-width: 780px) {
  .wp-block-navigation__container {
    display: flex;
    /* Afficher la liste des éléments de navigation */
  }

  .wp-block-navigation__responsive-container-open {
    display: none;
    /* Cacher le bouton burger */
  }
}


/*Blog */

.banner_blog img {
  border-radius: 0%;
  height: revert-layer !important;
  height: 32vw !important;
  width: 80% !important;
}

.banner_blog {
  max-width: 100% !important;
  text-align-last: center;

}

.div_blog a.wp-block-latest-posts__read-more {
  position: initial;
}

.bloc_blog {
  margin-bottom: 6% !important;
}

.bloc_blog div {
  align-self: center;
}

.wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 colonnes pour les grands écrans */
  gap: 20px;
  /* Espace entre les colonnes */
  justify-content: center;
}

.wp-block-latest-posts__list.is-grid.columns-3.has-dates.alignwide.last-posts.wp-block-latest-posts {
  grid-template-columns: repeat(2,
      1fr);
  /* 2 colonnes pour les écrans moyens */
}

@media (max-width: 1024px) {
  .wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
    display: flex;
    flex-direction: column;

  }
}


.wp-block-latest-posts.wp-block-latest-posts__list li {
  border: 1px solid #d5d5d5;
  border-radius: 23px;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
  clear: both;
  overflow-wrap: break-word;
}

.wp-block-latest-posts__post-title {
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
}

.wp-block-latest-posts__featured-image img {
  width: 27rem;
  height: 16rem;
  border-radius: 20px 20px 0px 0px;
}

.wp-block-latest-posts__post-excerpt {
  padding-left: 2rem;
  padding-right: 2rem;
  color: black;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.div_blog .wp-block-latest-posts__read-more {
  display: flex;
  padding: 0.5rem;
  align-self: anchor-center;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
  display: block;
  font-size: .8125em;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
  padding-left: 2rem;
  padding-right: 2rem;
}


.wp-block-group.div_blog.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

}


a.wp-block-latest-posts__read-more {
  padding: 0.5rem 1rem !important;
  display: inline-block;
  border-radius: 1.25rem;
  background: #1c6fd5;
  color: white !important;
  text-decoration: none;
  position: absolute;
  right: 20px;
  bottom: 5px;
}


@media (max-width: 779px) {
  .wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
    grid-template-columns: repeat(1, 1fr) !important;
    margin-right: -11% !important;
  }

  .wp-block-latest-posts__featured-image img {
    width: 20rem;
  }
}



/* === MENU POPUP ANIMÉ === */
.menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 1000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.menu-popup.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Animation d'entrée */
@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de sortie */
@keyframes menuFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Contenu du menu */
.menu-content {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: rgb(255 255 255 / 57%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-popup.active .menu-content {
  transform: translateX(0);
}

/* Liens du menu */
.menu-links {
  text-align: right;
  padding-right: 15rem;
  padding-top: 8rem;
  width: 50%;
}

.menu-links ul {
  list-style: none;
  margin: 0;
}

.menu-links li {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.menu-popup.active .menu-links li {
  opacity: 1;
  transform: translateX(0);
}

/* Animation séquentielle des items */
.menu-popup.active .menu-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-popup.active .menu-links li:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-popup.active .menu-links li:nth-child(3) {
  transition-delay: 0.3s;
}

.menu-popup.active .menu-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-popup.active .menu-links li:nth-child(5) {
  transition-delay: 0.5s;
}

.menu-popup.active .menu-links li:nth-child(6) {
  transition-delay: 0.6s;
}

.menu-popup.active .menu-links li:nth-child(7) {
  transition-delay: 0.7s;
}

.menu-popup.active .menu-links li:nth-child(8) {
  transition-delay: 0.8s;
}

.menu-popup.active .menu-links li:nth-child(9) {
  transition-delay: 0.9s;
}

.menu-links a {
  text-decoration: none;
  color: #8C8C8C;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
}

.menu-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #39A347;
  transition: width 0.3s ease;
}

.menu-links a:hover,
.menu-links a:active,
.menu-links a.active {
  color: #000;
}

.menu-links a:hover::after {
  width: 100%;
}

/* Bouton de fermeture */
.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
}

.close-menu img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

/* Bouton burger */
.burger-menu {
  transition: transform 0.3s ease;
}

.burger-menu:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-links {
    padding-right: 5rem;
    padding-top: 6rem;
    width: 70%;
  }

  .menu-links a {
    font-size: 1.8rem;
  }
}

@media (max-width: 781px) {
  .menu-content {
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
  }

  .menu-links {
    width: 100%;
    padding-right: 0;
    padding-top: 8rem;
    text-align: center;
  }

  .menu-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-links a {
    font-size: 1.5rem;
  }

  .menu-links li {
    margin-bottom: 1.5rem;
  }

  .menu-popup.active {
    height: 100%;
  }
}

/* Effet de fond animé */
.menu-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu-popup.active::before {
  opacity: 1;
}

/* Animation du texte au hover */
.menu-links a:hover {
  transform: translateX(-10px);
}

a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

.wp-block-list.check-projet li::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.2rem;
  width: 30px;
  height: 25px;
  background-image: url(https://preprod.la-ligne-web.com/wp-content/uploads/2025/08/Frame-25.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}




ul.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin-left: 1.5rem;
  position: relative;
}

@media (max-width: 780px) {
  .group_agency {
    padding-left: 0 !important;
  }
}

/* === MENU POPUP ANIMÉ === */
.menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 1000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.menu-popup.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);

}

/* Animation d'entrée */
@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de sortie */
@keyframes menuFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Contenu du menu */
.menu-content {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-popup.active .menu-content {
  transform: translateX(0);
}

/* Liens du menu */
.menu-links {
  text-align: right;
  padding-right: 15rem;
  padding-top: 8rem;
  width: 50%;
}

.menu-links ul {
  list-style: none;
  margin: 0;
}

.menu-links li {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.menu-popup.active .menu-links li {
  opacity: 1;
  transform: translateX(0);
}

/* Animation séquentielle des items */
.menu-popup.active .menu-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-popup.active .menu-links li:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-popup.active .menu-links li:nth-child(3) {
  transition-delay: 0.3s;
}

.menu-popup.active .menu-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-popup.active .menu-links li:nth-child(5) {
  transition-delay: 0.5s;
}

.menu-popup.active .menu-links li:nth-child(6) {
  transition-delay: 0.6s;
}

.menu-popup.active .menu-links li:nth-child(7) {
  transition-delay: 0.7s;
}

.menu-popup.active .menu-links li:nth-child(8) {
  transition-delay: 0.8s;
}

.menu-popup.active .menu-links li:nth-child(9) {
  transition-delay: 0.9s;
}

.menu-links a {
  text-decoration: none;
  color: #8C8C8C;
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
}

.menu-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #39A347;
}

.menu-links a:hover,
.menu-links a:active,
.menu-links a.active {
  color: #ffffff;
}

.menu-links a:hover::after {
  width: 100%;
}

/* Bouton de fermeture */
.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
}

.close-menu img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

/* Bouton burger */
.burger-menu {
  transition: transform 0.3s ease;
  outline: none !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer;
}

.burger-menu:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-links {
    padding-right: 5rem;
    padding-top: 6rem;
    width: 70%;
  }

  .menu-links a {
    font-size: 1.8rem;
  }
}

@media (max-width: 781px) {
  .menu-content {
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
  }

  .menu-links {
    width: 100%;
    padding-right: 0;
    padding-top: 8rem;
    text-align: center;
  }

  .menu-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-links a {
    font-size: 1.5rem;
  }

  .menu-links li {
    margin-bottom: 1.5rem;
  }
}

/* Effet de fond animé */
.menu-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu-popup.active::before {
  opacity: 1;
}

/* Animation du texte au hover */
.menu-links a:hover {
  transform: translateX(-10px);
}

a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

.wp-block-buttons .wp-block-button__link {
  width: 107%;
}

@media (max-width: 780px) {
  .group_agency {
    padding-left: 0 !important;
  }
}




.menu-links {
  background-color: #ffffff;
}

.menu-links a {
  color: #ffffff;
}




@media (max-width: 780px) {
  .stacking-container {
    display: flex !important;
    justify-content: flex-start !important;
    padding: 2%;
  }

  .hero-title {
    font-size: 2rem;
  }

   .animated-line-canvas {
    display: none;
  }

}





@media (min-width: 890px) and (max-width: 1400px) {
  .wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
    grid-template-columns: repeat(2, 1fr) !important;

  }
}



@media (min-width: 761px) and (max-width: 889px) {
  .wp-block-latest-posts__list.has-dates.last-posts.wp-block-latest-posts {
    grid-template-columns: repeat(1, 1fr) !important;
    margin-left: 44% !important;


  }

  .animated-line-canvas {
    display: none;
  }

  .menu-popup.active {

    height: 100%;
  }
}


.menu-popup::before {

  background: rgb(0, 0, 0);

}



.menu-links {
  background-color: #ffffff00;
}


/* Animation de la ligne verte */
.animated-line-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.menu-popup.active .menu-content {
  z-index: 2;
  background-color: #f0f8ff00;
}