/*
Theme Name: VIP Impression
Description: ThÃ¨me WordPress moderne pour atelier de personnalisation textile en Bretagne. Broderie, flocage, impression DTF.
Author: Agence DROP. 
Version: 1.0.1
Text Domain: vip-impression
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: business, portfolio, custom-post-type, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/* Variables CSS Fluides */
:root {
  /* Couleurs principales */
  --primary-dark: #0f1419;
  --secondary-dark: #1a1f2e;
  --accent-yellow: #ffc107;
  --accent-blue: #2196f3;
  --accent-pink: #e91e63;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --text-light: #e0e0e0;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Tailles de base fluides */
  --font-size-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 2vw, 1rem);
  --font-size-base: clamp(1rem, 2.5vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 3vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 3.5vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 4vw, 2rem);
  --font-size-3xl: clamp(2rem, 5vw, 3rem);
  --font-size-4xl: clamp(2.5rem, 6vw, 4rem);
  
  /* HiÃ©rarchie typographique cohÃ©rente */
  --h1-size: clamp(2rem, 5vw + 1rem, 4rem);
  --h2-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  --h3-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  --h4-size: clamp(1.25rem, 2.5vw + 0.25rem, 1.75rem);
  --h5-size: clamp(1.125rem, 2vw + 0.25rem, 1.5rem);
  --h6-size: clamp(1rem, 1.5vw + 0.25rem, 1.25rem);
  
  /* Espacement fluide */
  --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
  --spacing-sm: clamp(0.5rem, 2vw, 1rem);
  --spacing-md: clamp(0.75rem, 3vw, 1.5rem);
  --spacing-lg: clamp(1rem, 4vw, 2rem);
  --spacing-xl: clamp(1.5rem, 5vw, 3rem);
  --spacing-xxl: clamp(2rem, 6vw, 4rem);
  --spacing-3xl: clamp(3rem, 8vw, 6rem);
  
  /* Header adaptatif */
  --header-height: clamp(60px, 12vw, 80px);
  --header-padding-x: clamp(1rem, 4vw, 2rem);
  --header-padding-y: clamp(0.75rem, 2vw, 1rem);
  
  /* Logo adaptatif */
  --logo-size: clamp(32px, 8vw, 50px);
  --logo-text-size: clamp(0.875rem, 3vw, 1.25rem);
  
  /* Navigation */
  --nav-link-size: clamp(0.75rem, 2vw, 0.9rem);
  --nav-gap: clamp(1rem, 4vw, 2rem);
  
  /* Boutons adaptatifs */
  --btn-padding-x: clamp(1rem, 4vw, 2rem);
  --btn-padding-y: clamp(0.75rem, 2vw, 1rem);
  --btn-font-size: clamp(0.8rem, 2vw, 0.9rem);
  --btn-min-height: 44px;
  
  /* Bordures et ombres */
  --border-radius: clamp(4px, 1vw, 8px);
  --border-radius-lg: clamp(8px, 2vw, 16px);
  --border-radius-xl: clamp(12px, 3vw, 24px);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.25);
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}
 
/* Reset et Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  background: var(--primary-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: var(--font-size-base);
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand-logos-section .brand-logo img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-logos-section .brand-logo img:hover {
  filter: grayscale(0%);
}

main { flex: 1; }

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  text-wrap: balance;
}

h1 {
  font-size: var(--h1-size);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--h3-size);
  font-weight: 700;
  line-height: 1.2;
}

h4 {
  font-size: var(--h4-size);
  font-weight: 600;
  line-height: 1.25;
}

h5 {
  font-size: var(--h5-size);
  font-weight: 600;
  line-height: 1.3;
}

h6 {
  font-size: var(--h6-size);
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: 1.7;
  text-wrap: pretty;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container {
  max-width: min(1200px, 100% - var(--spacing-lg));
  margin: 0 auto;
  padding: 0 var(--header-padding-x);
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-fixed);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background: rgba(15, 20, 25, 0.98);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.products {background-color:#1a1f2e;}
.nav { height: 100%; }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--header-padding-x);
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  z-index: calc(var(--z-fixed) + 1);
  transition: var(--transition);
}

.nav-logo:hover { transform: scale(1.02); }

.nav-logo .custom-logo-link img,
.nav-logo .logo-img {
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
  border: 2px solid transparent;
}

.nav-logo:hover .custom-logo-link img,
.nav-logo:hover .logo-img {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: var(--logo-text-size);
  color: var(--text-white);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.logo-text a { color: inherit; transition: var(--transition); }

.logo-text:hover {
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}
/* Navigation Desktop */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--nav-gap);
  align-items: center;
  margin: 0;
  padding: 0;

}

.nav-menu li { 
  position: relative; 
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--nav-link-size);
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: var(--spacing-xs) 0;
  white-space: nowrap;
  display: block;
}

.nav-link:hover,
.nav-link.active,
.current-menu-item > .nav-link,
.current_page_item > .nav-link {
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), #ffb300);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after,
.current-menu-item > .nav-link::after,
.current_page_item > .nav-link::after {
  width: 100%;
}

.nav-link:not(.btn-devis):hover,
.nav-link:not(.btn-devis).active,
.current-menu-item > .nav-link:not(.btn-devis),
.current_page_item > .nav-link:not(.btn-devis) {
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.nav-link:not(.btn-devis)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), #ffb300);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:not(.btn-devis):hover::after,
.nav-link:not(.btn-devis).active::after,
.current-menu-item > .nav-link:not(.btn-devis)::after,
.current_page_item > .nav-link:not(.btn-devis)::after {
  width: 100%;
}


/* Menu Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--btn-min-height);
  height: var(--btn-min-height);
  cursor: pointer;
  background: none;
  border: none;
  z-index: calc(var(--z-fixed) + 1);
  padding: 8px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

/* Effet au survol du bouton hamburger */
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Le bouton hamburger doit Ãªtre visible uniquement sur mobile */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
    justify-content: center; /* Centrer l'icÃ´ne */
    align-items: center; /* Centrer l'icÃ´ne */
    cursor: pointer; /* Curseur pour indiquer que c'est interactif */
  }
}

/* Animation des barres du hamburger */
.hamburger {
  width: 24px;
  height: 2px;
  background: var(--accent-yellow);
  margin: 2px 0;
  transition: transform 0.3s ease, opacity 0.3s ease; /* AmÃ©liorer la transition pour une animation fluide */
  border-radius: 2px;
  transform-origin: center;
}

/* Animation de la premiÃ¨re barre (rotation) */
.nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

/* La deuxiÃ¨me barre (disparition) */
.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: scale(0); /* Faire en sorte que la barre se rÃ©duise aussi */
}

/* La troisiÃ¨me barre (rotation inverse) */
.nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================
   MENU MOBILE ULTRA-MODERNE
   ========================================== */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--btn-min-height);
  height: var(--btn-min-height);
  cursor: pointer;
  background: none;
  border: none;
  z-index: calc(var(--z-fixed) + 1);
  position: relative;
  padding: 8px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--accent-yellow);
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 2px;
  transform-origin: center;
}

/* Animation hamburger â†’ X */
.nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
.produit-image h3{text-align:center;font-size: var(--font-size-lg);}
.produit-nom {text-align:center;font-size: var(--font-size-lg);}
/* ==========================================
   OVERLAY MOBILE PREMIUM
   ========================================== */

.portfolio-section {
    background-color: #000;
    padding: 60px 0;
}
.portfolio-img-item {
    position: relative;
    overflow: hidden;
}
.portfolio-img-item img {
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-text {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-img-item:hover .portfolio-text {
    opacity: 1;
}
.portfolio-text-box h3, .portfolio-text-box span {
    color: white;
}
.grid-size-25 {
    width: 25%;
}
.grid-size-50 {
    width: 50%;
}
.grid-sizer,
.grid-item {
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

.animate-fade-in-up { 
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(90deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(270deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-45deg); }
    25% { transform: rotate(-35deg); }
    75% { transform: rotate(-55deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes twinkle-delayed {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.3); }
}

@keyframes draw {
    0% { stroke-dasharray: 0 1000; }
    100% { stroke-dasharray: 1000 0; }
}

@keyframes draw-delayed {
    0%, 20% { stroke-dasharray: 0 1000; }
    100% { stroke-dasharray: 1000 0; }
}

@keyframes draw-slow {
    0%, 30% { stroke-dasharray: 0 1000; }
    100% { stroke-dasharray: 1000 0; }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 3s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite;
}

.animate-wiggle {
    animation: wiggle 2s ease-in-out infinite;
}

.animate-twinkle {
    animation: twinkle 2s ease-in-out infinite;
}

.animate-twinkle-delayed {
    animation: twinkle-delayed 3s ease-in-out infinite 1s;
}

.animate-draw {
    stroke-dasharray: 1000;
    animation: draw 8s ease-in-out infinite;
}

.animate-draw-delayed {
    stroke-dasharray: 1000;
    animation: draw-delayed 10s ease-in-out infinite;
}

.animate-draw-slow {
    stroke-dasharray: 1000;
    animation: draw-slow 12s ease-in-out infinite;
}

/* Verrouillage du scroll quand menu ouvert */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

body.menu-open { overflow: hidden; position: fixed; width: 100%; height: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--btn-font-size);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: var(--btn-min-height);
  min-width: 120px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow), #ffb300);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 10px rgba(255,193,7,0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    max-width: 280px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-sm);
  }
}


/* ============================
   FOOTER GLOBAL STYLES
============================= */
.footer {
  background-color: #0f1419;
  color: var(--text-white);
  position: relative;
  background-image: url(images/splash-demiD.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: auto;
  z-index: 0;
  overflow: hidden;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

/* ============================
   FOOTER GRID
============================= */
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 480px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2.5fr repeat(3, 1fr);
    gap: clamp(2rem, 5vw, 3rem);
    align-items: start;
  }
}

.footer-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.footer-section:hover {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .footer-section {
    text-align: left;
  }
}

.footer-section h4 {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
  color: var(--text-white);
  font-weight: 600;
  position: relative;
}

/* ============================
   FOOTER LOGO
============================= */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .footer-logo {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}

.footer-logo img {
  width: clamp(40px, 10vw, 60px);
  height: clamp(40px, 10vw, 60px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: var(--transition);
}

.footer-logo:hover img {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.footer-logo h3 {
  font-size: var(--font-size-xl);
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.footer-logo p {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  line-height: 1.4;
}

/* ============================
   FOOTER LINKS
============================= */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  align-items: center;
  flex: 1;
}

@media (min-width: 768px) {
  .footer-links {
    align-items: flex-start;
  }
}

.footer-links a {
  color: var(--text-gray);
  font-size: var(--font-size-base);
  padding: var(--spacing-xs) var(--spacing-sm);
  display: block;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
  transition: left 0.5s ease;
}

.footer-links a:hover::before {
  left: 100%;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

/* ============================
   FOOTER BOTTOM BAR
============================= */
.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
}

.footer-bottom-col {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-agency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

.footer-agency-logo {
  height: 30px;
  width: auto;
}


/* Colonne gauche vide : pas visible sur mobile */
.footer-bottom-left {
  display: none;
}

.footer-bottom-center p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom-right {
  text-align: center;
}

.footer-agency-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
}

.footer-agency-logo {
  height: 36px;
  width: auto;
}

/* Desktop : afficher les 3 colonnes sur une ligne */
@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-wrap: nowrap;
  }

  .footer-bottom-left {
    display: block;
    text-align: left;
  }

  .footer-bottom-center {
    text-align: center;
  }

  .footer-bottom-right {
    text-align: right;
  }
}

/* ============================
   MISC
============================= */
.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom p {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
  margin: 0 auto;
  line-height: 1.6;
  max-width: 600px;
}

.brand-logos-section {
  background-color: white;
}


/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  flex: 1;
}

.contact-info p {
  margin-bottom: 0;
  color: var(--text-gray);
  font-size: var(--font-size-base);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: var(--transition);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
}

.contact-info p:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

@media (min-width: 768px) { .contact-info p { justify-content: flex-start; } }

.contact-info a { color: inherit; transition: var(--transition); }

.contact-info a:hover {
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.page-header {
    padding: calc(var(--header-height) + var(--spacing-lg)) 0 var(--spacing-xxl);
    background: var(--primary-dark);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    background-image: url(images/splash.svg);
    background-repeat: no-repeat;
    background-position: right -630px top -570px;
    background-size: cover; z-index: 2;
}


.hero-splash {
  background-image: url('images/splash.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}


.page-header h1 { margin-bottom: var(--spacing-md); } 

.page-header p {
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}
.card-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
}

.icon-bg {
    background-color: #fcb900; /* Jaune VIP */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
}

.icon-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 72px; /* Plus large que le cercle */
    height: 72px;
    z-index: 2;
}

section { padding: var(--spacing-3xl) 0; }

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 { margin-bottom: var(--spacing-md); position: relative; }

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--accent-yellow);
  transform: translateX(-50%);
  border-radius: 3px;
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
@media (min-width: 480px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
@media (min-width: 480px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-7 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 100%;
  align-items: center;
}

@media (min-width: 480px) { .grid-7 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-7 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-7 { grid-template-columns: repeat(7, 1fr); } }
@media (min-width: 1400px) { .grid-7 { grid-template-columns: repeat(7, 1fr); } } /* Maintain 7 columns on extra large screens */

.debug-grid { outline: 1px solid red; }

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.card:hover::before { left: 100%; }

@media (min-width: 768px) { .card { text-align: left; } }

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}

.card-icon {
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 70px);
  background: linear-gradient(135deg, var(--accent-yellow), #ffb300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 4vw, 2rem);
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}


.card h3 { margin-bottom: var(--spacing-sm); font-size: var(--font-size-xl); }

.card > *:last-child { margin-top: auto; }

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out;
  z-index: 0;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-right {
  background-position: right center;
}

.hero-slide-left {
  background-position: left center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  background-color: rgba(0,0,0,0.3);
  border-radius: 12px;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-cta a {
  display: inline-block;
  margin: 0.3rem 0.5rem;
  padding: 12px 22px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #f59e0b;
  color: #fff;
}

.btn-primary:hover {
  background-color: #d97706;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* ContrÃ´les */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  z-index: 3;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 4px;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Mobile */
@media (max-width: 768px) {
	.hero-slider {
    position: relative;
    overflow: hidden;
    height: max-content;
}
  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-content {
    padding: 1.2rem;
  }

  .hero-cta a {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .slider-prev, .slider-next {
    font-size: 1.5rem;
    padding: 0.4rem 0.6rem;
  }
}


/* ContrÃ´les */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 3;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {
  .hero-slider-wrapper { height: 500px; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
}

.progress-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: var(--transition);
}

.progress-dot.active { background: var(--accent-yellow); }

/* Services */
.services-default { padding: var(--spacing-3xl) 0; }

.services-default .grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 480px) {
  .services-default .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .services-default .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* Technique Card */
.technique-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(30px);
}

.technique-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.technique-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}

.technique-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.technique-card:hover::before {
  left: 100%;
}

.technique-image {
  position: relative;
  margin-bottom: clamp(0.75rem, 2vw, 1rem); /* Marge responsive pour Ã©viter le chevauchement */
  overflow: hidden;
  max-width: clamp(120px, 20vw, 180px); /* Taille responsive */
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-sm); /* Espace pour l'Ã©chelle */
}

.technique-image img {
  width: 100%;
  height: auto;
  max-width: clamp(100px, 18vw, 160px); /* Ã‰viter le rognage */
  border-radius: var(--border-radius);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.3s ease;
  position: relative;
  z-index: 2;
  object-fit: contain; /* Conserver le ratio SVG */
}

.technique-image img.scroll-scale {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.technique-card:hover .technique-image img {
  transform: scale(1.05); /* Zoom lÃ©ger */
  filter: hue-rotate(60deg) saturate(150%) brightness(1.2); /* Teinte jaune */
}

/* Responsive adjustments */
@media (min-width: 768px) { /* Tablette */
  .technique-image {
    max-width: clamp(150px, 20vw, 200px);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
  }
  .technique-image img {
    max-width: clamp(130px, 18vw, 180px);
  }
}

@media (min-width: 1024px) { /* Desktop */
  .technique-image {
    max-width: clamp(180px, 15vw, 220px);
    margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  }
  .technique-image img {
    max-width: clamp(160px, 13vw, 200px);
  }
}

.technique-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--spacing-sm); /* Espace supplÃ©mentaire pour Ã©viter le chevauchement */
}

.technique-content h3 {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem); /* Taille de police responsive */
  color: var(--text-white);
  font-weight: 700;
}

.technique-content p {
  font-size: clamp(0.875rem, 2vw, 1rem); /* Taille de police responsive */
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.technique-features {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0 0;
}

.technique-features li {
  color: var(--text-gray);
  font-size: clamp(0.75rem, 1.8vw, 0.875rem); /* Taille de police responsive */
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.technique-features li::before {
  content: 'âœ”';
  color: var(--accent-yellow);
  position: absolute;
  left: 0;
}

/* Responsive pour petits Ã©crans */
@media (max-width: 767px) {
  .technique-card {
    padding: clamp(0.75rem, 3vw, 1rem); /* RÃ©duire le padding sur mobile */
  }
  .technique-content {
    padding-top: clamp(0.5rem, 2vw, 0.75rem); /* Espace rÃ©duit */
  }
}

/* Gallery */
.gallery-section .card img {
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--border-radius-lg);
}

.gallery-section .card:hover img { transform: scale(1.05); }

.gallery-section .card-description {
  margin-top: var(--spacing-sm);
  color: var(--text-gray);
}

/* Portfolio */
.portfolio-section .card img {
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--border-radius-lg);
}

.portfolio-section .card:hover img { transform: scale(1.05); }

.portfolio-section .card-description {
  margin-top: var(--spacing-sm);
  color: var(--text-gray);
}

/* Brand Logos */
.brand-logos-section .grid-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--spacing-md);
  width: 100%;
  max-width: 100%;
  align-items: center;
}

@media (max-width: 1023px) {
  .brand-logos-section .grid-7 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 767px) {
  .brand-logos-section .grid-7 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 479px) {
  .brand-logos-section .grid-7 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 320px) {
  .brand-logos-section .grid-7 { grid-template-columns: 1fr; }
}

.brand-logo {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-sm);
  text-align: center;
  overflow: hidden;
}

.brand-logo img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  max-width: 100%;
}

.brand-logo:hover img {
  transform: scale(1.1);
  box-shadow: var(--shadow-sm);
}

/* Banner Promotional */
.banner-promotional {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.banner-container {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
}

.banner-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
}

.banner-content h2 { margin-bottom: var(--spacing-md); }

.banner-content p { margin-bottom: var(--spacing-xl); }

/* Banner Partners */
.banner-partners { padding: var(--spacing-3xl) 0; }

.banner-partner img {
  max-width: 200px;
  transition: var(--transition);
}

.banner-partner:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}



.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Forms */
/* Assurer que les Ã©lÃ©ments du formulaire prennent toute la largeur disponible */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; /* Faire en sorte que ces Ã©lÃ©ments prennent 100% de la largeur disponible */
  padding: var(--spacing-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: var(--font-size-base);
  transition: var(--transition);
  min-height: var(--btn-min-height);
  box-sizing: border-box; /* S'assurer que les paddings n'ajoutent pas de largeur supplÃ©mentaire */
}/* Section prÃ©sentation avec grille en 3 colonnes sur desktop et 1 colonne sur mobile */
.presentation .presentation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes pour le desktop */
    gap: var(--spacing-lg);
}

/* Adaptation pour mobile et tablette */
@media (max-width: 768px) {
    .presentation .presentation-grid {
        grid-template-columns: 1fr; /* Une seule colonne pour mobile/tablette */
    }
}

/* Cartes avec bordures et animations */
.presentation-card {
    background: transparent; /* Pas de fond gris */
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition */
}

/* Hover effect sur les cartes */
.presentation-card:hover {
    transform: translateY(-8px); /* Ã‰lÃ©ment qui se soulÃ¨ve lÃ©gÃ¨rement */
    box-shadow: var(--shadow-xl); /* Ombre plus marquÃ©e au hover */
}

.card-icon svg {
    margin-bottom: var(--spacing-md);
    width: 48px;
    height: 48px;
    fill: var(--accent-yellow); /* Couleur des icÃ´nes */
}

/* Cible la section "IdÃ©al pour" spÃ©cifiquement */
.card-section-text {
  margin-top: 20px; /* Espacement entre cette section et la section prÃ©cÃ©dente */
  padding: 15px; /* Espacement interne lÃ©ger */
}

.card-section-text .section-title {
  font-size: 1.2rem; /* Taille du titre ajustÃ©e pour plus de visibilitÃ© */
  font-weight: 600; /* Poids plus lourd pour accentuer le titre */
  color: #ffc107; /* Couleur jaune pour le titre */
  margin-bottom: 12px; /* Espacement sous le titre */
}

.card-section-text .card-text {
  font-size: 1rem; /* Taille du texte classique */
  color: #ffc107; /* Texte foncÃ© pour une meilleure lisibilitÃ© */
  line-height: 1.6; /* Hauteur de ligne pour un meilleur espacement */
}

.card-section-text ul {
  margin-top: 15px; /* Espacement entre le texte et la liste */
  padding-left: 20px; /* Indentation de la liste pour aligner correctement les items */
}

.card-section-text li {
  color: #ffc107; /* Couleur plus claire pour les Ã©lÃ©ments de la liste */
  margin-bottom: 8px; /* Espacement entre les Ã©lÃ©ments de la liste */
}

/* Pour les titres et paragraphes */
.presentation-card h3 {
    font-size: var(--font-size-lg);
    color: var(--accent-yellow);
    margin-top: var(--spacing-sm);
}

.presentation-card p {
    font-size: var(--font-size-base);
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

/* Adaptation sur mobile pour les champs */
@media (max-width: 768px) {
  /* Grille en une colonne */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* S'assurer que les boutons et champs n'ont pas de dÃ©bordement */
  .quote-form, .quote-form-extended {
    padding: var(--spacing-md);
    width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%; /* Assurer que les champs prennent toute la largeur disponible */
    box-sizing: border-box; /* EmpÃªche les dÃ©bordements */
  }

  .form-group label {
    font-size: 1rem;
  }

  /* RÃ©duire l'espace entre les champs sur mobile */
  .form-group {
    margin-bottom: var(--spacing-sm);
  }

  /* Ajuster la taille de la police des champs */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem; /* RÃ©duire la taille des textes */
    padding: var(--spacing-sm);
  }

  /* Ajuster la largeur des boutons */
  .form-navigation button {
    width: 100%; /* Pour les Ã©crans mobiles, boutons qui s'Ã©tendent sur toute la largeur */
    padding: var(--spacing-sm);
  }
}
/* Ensure form inputs are full width */
.quote-form .form-group input,
.quote-form .form-group select,
.quote-form .form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Media query for small screens */
@media (max-width: 768px) {
    .quote-form .form-group {
        margin-bottom: 10px; /* Add some space between form fields */
    }

    .quote-form .quote-form-extended {
        padding: 15px;
        margin: 0 10px; /* Ensure form doesn't overflow on mobile */
    }

    .quote-form-section {
        padding: 10px;
    }

    .quote-form .form-group label,
    .quote-form .form-group input,
    .quote-form .form-group select,
    .quote-form .form-group textarea {
        font-size: 14px; /* Adjust font size for mobile */
    }

    /* Make sure buttons stay aligned */
    .form-navigation button {
        width: 100%; /* Full width for buttons on mobile */
        margin: 10px 0;
    }

    /* Fix for file input and text areas */
    .quote-form .form-group textarea {
        height: auto;
        min-height: 120px; /* Ensure text areas are not too large */
    }

    /* Input fields to stay within the screen */
    .quote-form .form-group input,
    .quote-form .form-group select {
        padding: 12px; /* More comfortable padding */
    }
}
/* Correction des problÃ¨mes d'affichage des listes Ã  puces sur mobile */
ul, ol {
    padding-left: 20px; /* RÃ©duit l'espace de la puce */
    margin-left: 0;
    list-style-position: inside; /* Place les puces Ã  l'intÃ©rieur des Ã©lÃ©ments */
    font-size: 1rem; /* Taille de police standard */
    word-wrap: break-word; /* Permet de couper les mots longs */
}

/* Liste Ã  puces spÃ©cifiques */
li {
    margin-bottom: 10px; /* Marge entre les Ã©lÃ©ments de la liste */
    font-size: 1rem; /* Taille de police rÃ©guliÃ¨re */
}

/* MÃ©dia query pour les Ã©crans mobiles */
@media (max-width: 768px) {
    ul, ol {
        padding-left: 15px; /* RÃ©duit l'indentation sur mobile */
    }

    li {
        font-size: 14px; /* RÃ©duit la taille de la police sur mobile */
        margin-bottom: 5px; /* RÃ©duit l'espace entre les Ã©lÃ©ments de la liste */
    } 
	.produits-slider {
  display: flex;
  overflow: hidden; /* Cache les produits qui dÃ©bordent */
  justify-content: center; /* Centrer le contenu horizontalement */
}

.produit-card {
  margin-right: 20px;
  text-align: center;
  flex: 0 0 auto; /* EmpÃªche les Ã©lÃ©ments de s'Ã©tirer */
  width: 200px; /* Largeur de chaque carte */
 
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.produit-image {
  display: flex;
  justify-content: center; /* Centre l'image horizontalement */
  align-items: center; /* Centre l'image verticalement */
  height: 150px; /* Hauteur de l'image */
  margin-bottom: 10px; /* Marge sous l'image */
}

.produit-image img {
  max-width: 100%; /* Limite la taille de l'image */
  max-height: 100%; /* Limite la hauteur de l'image */
  object-fit: contain; /* Maintient le ratio d'aspect */
}

.produit-nom {
  margin-top: 10px;
  font-size: 1rem; /* Taille du texte rÃ©duite */
  font-weight: bold;
  text-align: center;
}

/* RÃ©duire la taille des Ã©lÃ©ments sur petits Ã©crans */
@media (max-width: 768px) {
  .produit-card {
    width: 150px; /* RÃ©duit la largeur pour les Ã©crans plus petits */
  }

  .produit-nom {
    font-size: 0.9rem; /* RÃ©duit la taille du texte */
  }
}

	
	/* Section de produits */
.products-slider-section {
    background-color: #000;
    padding: 60px 0;
}

.products-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;  /* Permet le dÃ©filement horizontal */
    scroll-snap-type: x mandatory;  /* DÃ©filement bien dÃ©fini */
    -webkit-overflow-scrolling: touch; /* Pour les appareils tactiles */
}

.product-card {
    background: transparent;
    text-align: center;
    width: 200px; /* Fixe la largeur des cartes */
    padding: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    scroll-snap-align: center; /* Aligne chaque Ã©lÃ©ment du produit au centre */
}

/* Image produit */
.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Effet hover */
.product-card:hover {
    transform: scale(1.05);
}

.product-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style du conteneur de la grille pour que l'alignement fonctionne bien */
.products-grid::-webkit-scrollbar {
    height: 8px;
}

.products-grid::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
}

.products-grid::-webkit-scrollbar-track {
    background-color: #444;
}

@media (max-width: 1200px) {
    .product-card {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .product-card {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .product-card {
        width: 120px;
    }
}

	
	

    /* Gestion du dÃ©bordement et largeur du conteneur */
    .product-list, ul, ol {
        overflow-wrap: break-word; /* Permet de couper le texte long */
        word-wrap: break-word;
        max-width: 100%;
        width: 100%;
    }
}

/* Personnalisation des listes imbriquÃ©es */
ul ul, ol ol {
    padding-left: 20px;
    font-size: 0.9rem; /* Taille lÃ©gÃ¨rement plus petite pour les sous-listes */
}



/* Testimonials & CTA */
.testimonial, .testimonial-about {
  background: linear-gradient(135deg, var(--accent-yellow), #ffb300);
  color: var(--primary-dark);
  text-align: center;
  position: relative;
}

.testimonial::before, .testimonial-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(15,20,25,0.1)"/></svg>');
  opacity: 0.3;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 2;
}

.testimonial blockquote, .testimonial-about blockquote {
  font-size: var(--font-size-xl);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
  position: relative;
}

.testimonial blockquote::before, .testimonial-about blockquote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -20px;
  opacity: 0.3;
  font-family: serif;
}

.testimonial cite, .testimonial-about cite {
  font-weight: 600;
  font-size: var(--font-size-base);
}

.cta-section { background: var(--primary-dark); text-align: center; }

.cta-content { max-width: 600px; margin: 0 auto; }

.cta-content h2 { margin-bottom: var(--spacing-md); }

.cta-content p { margin-bottom: var(--spacing-xl); }

.cta-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; }

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.using-keyboard *:focus {
  outline: 3px solid var(--accent-yellow) !important;
  outline-offset: 2px !important;
  border-radius: var(--border-radius);
}

:not(.using-keyboard) *:focus { outline: none !important; }

@media (prefers-contrast: high) {
  :root {
    --text-gray: #cccccc;
    --border-color: rgba(255, 255, 255, 0.3);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-dark: #000000;
    --secondary-dark: #111111;
  }
}

/* Form Validation */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-message {
  color: #f44336;
  margin-top: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.error-message::before { content: 'âš '; font-size: 1rem; }

/* Notifications */
.notification {
  position: fixed;
  top: calc(var(--header-height) + 20px);
  right: 20px;
  background: var(--accent-yellow);
  color: var(--primary-dark);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-toast);
  opacity: 0; 
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: min(400px, calc(100vw - 40px));
}

@media (max-width: 480px) {
  .notification {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

.notification.notification-error { background: #f44336; color: white; }

.notification.show { opacity: 1; transform: translateX(0); }

.notification-content { display: flex; align-items: center; gap: var(--spacing-sm); }

.notification-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  min-width: var(--btn-min-height);
  min-height: var(--btn-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.notification-close:hover { background: rgba(0, 0, 0, 0.1); }

/* WordPress Specific */
.wp-post-image { border-radius: var(--border-radius); }

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 var(--spacing-md) var(--spacing-md) 0; }
.alignright { float: right; margin: 0 0 var(--spacing-md) var(--spacing-md); }

.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  text-align: center;
  margin-top: var(--spacing-xs);
}

.customize-partial-edit-shortcut { display: none !important; }

/* Optimizations */
@media (max-width: 320px) {
  :root {
    --header-padding-x: 1rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
  }
  .nav-container { padding: 0 1rem; }
  .logo-text { font-size: 0.75rem; }
  .nav-logo .logo-img { width: 28px; height: 28px; }
  .btn { min-width: 100px; padding: 0.75rem 1rem; font-size: 0.75rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .nav-container { max-width: 1320px; }
}

@media print {
  .header, .footer, .nav-toggle, .btn { display: none !important; }
  body { padding-top: 0; background: white; color: black; }
  * { box-shadow: none !important; text-shadow: none !important; }
}

/* Browser Support */
@supports not (font-size: clamp(1rem, 2vw, 1.5rem)) {
  :root {
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --header-height: 70px;
    --logo-size: 40px;
  }
  @media (min-width: 768px) {
    :root {
      --font-size-base: 1.125rem;
      --h1-size: 3rem;
      --h2-size: 2.5rem;
      --header-height: 80px;
      --logo-size: 45px;
    }
  }
}

@supports not (backdrop-filter: blur(10px)) {
  .header { background: rgba(15, 20, 25, 0.95); }
  .nav-menu { background: rgba(15, 20, 25, 0.98); }
}


/* Overlay Mobile — version unique et cohérente */
@media (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height)); /* viewport moderne */
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;                     /* toujours flex */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    transform: translateX(-100%);      /* caché par transform, pas par display:none */
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: var(--z-fixed);
  }

  .nav-menu.active {
    transform: translateX(0);          /* visible */
  }

  /* Liens & lignes */
  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: var(--transition);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu li:hover { background: rgba(255,255,255,.05); }

  .nav-link {
    display: block;
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .nav-link::after { display: none; }

  /* Scroll lock & z-index bouton */
  body.menu-open { overflow: hidden; }
  header { position: relative; z-index: var(--z-fixed); }
  .nav-toggle { position: relative; z-index: calc(var(--z-fixed) + 2); pointer-events: auto; }
}

/* (Ailleurs dans ton CSS) Desktop: cacher le burger */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* Forcer le menu mobile au-dessus de tout */
@media (max-width: 767px){
  .nav-menu{
    z-index: 9999 !important;   /* plus haut que sliders, headers, etc. */
  }
  .nav-toggle{
    z-index: 10000 !important;  /* le bouton au-dessus du panneau */
  }

  /* Empêcher le contenu derrière de capter les clics quand le menu est ouvert */
  body.menu-open main,
  body.menu-open .page-header,
  body.menu-open .hero,
  body.menu-open .hero-slider{
    pointer-events: none;
  }

  /* Si un ancien bloc met encore display:none, on neutralise */
  .nav-menu{ display: flex !important; transform: translateX(-100%); }
  .nav-menu.active{ transform: translateX(0); }
}

/* Custom Blocks */
#block-11 {
  padding-top: 0.6em;
  text-align: center;
}

#block-11 a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#block-11 a span {
  font-size: 12px;
  color: #fff;
  vertical-align: middle;
}

#block-11 a span + span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

#block-11 a img {
  height: 40px;
  vertical-align: middle;
  transition: transform 0.3s ease-in-out;
}

#block-11 a:hover img { transform: scale(1.1); }

/* Grid Corrections */
.grid-3, .grid-4, .grid-7 { align-items: stretch; }

.card { display: flex; flex-direction: column; height: 100%; }
.card > *:last-child { margin-top: auto; }

.grid-3 > .card,
.grid-4 > .card,
.grid-7 > .brand-logo { height: 100%; }

.hero-slider .hero-container {
  display: block;
  width: 100%;
}
.hero-slider .hero-container,
.hero-slider .hero-slider-wrapper {
  display: block;
  width: 100%;
}
/* Corrige largeur du slider */
.hero-slider .hero-container {
  display: block;
  width: 100%;
}
.hero-slider {
    padding: 0;
}
.hero-slide > .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.gallery-item img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: var(--border-radius-lg);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.overlay-icon {
  color: var(--text-white);
  font-size: 2rem;
}
.realisation-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.meta-item {
  display: flex;
  gap: var(--spacing-xs);
  align-items: baseline;
  color: var(--text-light);
  font-size: var(--font-size-base);
}

.meta-label {
  font-weight: bold;
  color: var(--text-white);
}

.hero-actions {
  margin-top: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}
.related-realisations {
  padding: 80px 0;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.realisation-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.realisation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.realisation-card img {
  border-radius: 6px;
  margin-bottom: 16px;
}

.realisation-card h3 {
  color: #fff;
  margin: 16px 0 8px;
  font-size: 20px;
  text-align: center;
}

.realisation-card .realisation-meta {
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.realisation-card .realisation-meta li {
  color: #ccc;
  font-size: 14px;
}
.realisation-navigation {
  padding: 60px 0;
  background: #111;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
}

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

.nav-item a {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-item a:hover {
  background: #ffc107;
  color: #111;
  border-color: #ffc107;
}

.nav-item strong {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}
.realisation-cta {
  padding: 80px 0;
  text-align: center;
  background: #222;
}

.realisation-cta h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.realisation-cta p {
  color: #aaa;
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.realisation-meta {
  list-style: none;
  padding-left: 0;
}

.vip-square-gallery {
  width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.vip-square-gallery-row {
  display: flex;
  flex-wrap: nowrap;
  height: 400px;
}

.vip-square-gallery-item {
  flex: 1;
  aspect-ratio: 1 / 1; /* carrÃ© */
  overflow: hidden;
}

.vip-square-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.gabarit-technique-content {
  display: none;
}
.gabarit-technique-content.active {
  display: block;
}

/* Garde les styles normaux pour les liens de navigation */
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--nav-link-size);
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: var(--spacing-xs) 0;
  white-space: nowrap;
  display: block;
  position: relative;
}
/* Surlignage au survol, sauf sur le bouton */
.nav-link:hover:not(.btn-devis),
.nav-link.active:not(.btn-devis),
.current-menu-item > .nav-link:not(.btn-devis),
.current_page_item > .nav-link:not(.btn-devis) {
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

/* Ligne dÃ©corative en dessous */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), #ffb300);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Animation du ::after sauf pour le bouton */
.nav-link:hover::after:not(.btn-devis),
.nav-link.active::after:not(.btn-devis),
.current-menu-item > .nav-link::after:not(.btn-devis),
.current_page_item > .nav-link::after:not(.btn-devis) {
  width: 100%;
}


/* SECTION PRODUITS */
.produits-slider-section {
  background: #000;
  padding: 60px 0;
}

.produits-slider:not(.slick-initialized) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, auto);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.produits-slider:not(.slick-initialized) .produit-card {
  scroll-snap-align: center;
}

.produits-slider { overflow: hidden; }
.produits-slider .slick-slide { margin: 0 10px; }
.produits-slider .slick-list { margin: 0 -10px; }

.produit-card {
  width: 180px;
  text-align: center;
  background: transparent;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: none;
  color: #fff;
}

.produit-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.produit-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.produit-nom {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 1200px) { .produit-card { width: 170px; } }
@media (max-width: 992px)  { .produit-card { width: 150px; } }
@media (max-width: 768px)  { .produit-card { width: 130px; } }

.produits-slider:not(.slick-initialized)::-webkit-scrollbar { height: 8px; }
.produits-slider:not(.slick-initialized)::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
.produits-slider:not(.slick-initialized)::-webkit-scrollbar-track { background: #444; }

/* Style spÃ©cifique pour le bouton CTA (menu-item-3772) */

/* Normal */
#menu-item-4088 > a {
  background: var(--accent-yellow);
  color: #000 !important;
  border: 2px solid var(--accent-yellow);
  border-radius: 4px;
  padding: 8px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 1.2;
}

/* Hover */
#menu-item-4088 > a:hover {
  background: transparent;
  color: var(--accent-yellow) !important;
  border-color: var(--accent-yellow);
  text-shadow: none !important;
}

/* Supprimer la ligne dÃ©corative sous le lien */
#menu-item-3772 > a::after {
  display: none;
}
.brand-logos-section H2{color:black!important}

/* Existing .technique-card and .technique-image styles with modifications */
.technique-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(30px);
}

.technique-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.technique-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}

.technique-image {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.technique-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  transition: transform 0.3s ease; /* Smooth scaling transition */
  position: relative;
  z-index: 2;
}

.technique-card:hover .technique-image img {
  transform: scale(1.05); /* Existing hover effect */
}

/* Ensure the image container has enough space for scaling */
.technique-image {
  overflow: hidden; /* Prevent overflow during scaling */
}

/* Rest of the existing CSS remains unchanged */
/* Masquer les boutons de navigation uniquement dans la section brand-logos-section */
.brand-logos-section .slider-prev,
.brand-logos-section .slider-next {
    display: none !important;
}
/* Section Introduction Ã  propos */
.about-intro {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 50px 0;
}

.about-intro .section-header h2 {
    color: var(--text-white);
    font-size: 2.5rem;
}

.about-intro .section-header p {
    color: var(--text-white);
    font-size: 1.2rem;
}

/* Section Qui sommes-nous ? */
.about-who-we-are {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    padding: 60px 0;
}

.about-who-we-are .section-header h3 {
    color: var(--text-white);
    font-size: 2rem;
}

.about-who-we-are .card {
    background-color: var(--primary-dark);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-who-we-are .card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Section Nos valeurs */
.about-values {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0;
}

.about-values .section-header h2 {
    color: var(--text-white);
    font-size: 2.5rem;
}

.about-values .section-header p {
    color: var(--text-white);
    font-size: 1.2rem;
}

.about-values .grid-3 .card {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.about-values .grid-3 .card h3 {
    color: var(--text-whitee);
    font-size: 1.6rem;
}

.about-values .grid-3 .card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Section Nos engagements */
.about-commitments {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    padding: 60px 0;
}

.about-commitments .section-header h2 {
    color: var(--text-white);
    font-size: 2.5rem;
}

.about-commitments .section-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.about-commitments .grid-2 .card {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-commitments .grid-2 .card h3 {
    color: var(--text-white);
    font-size: 1.6rem;
}

.about-commitments .grid-2 .card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Section Notre atelier Ã  Mahalon */
.about-workshop {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0;
} 

.about-workshop .section-header h2 {
    color: var(--text-white);
    font-size: 2.5rem;
}

.about-workshop .section-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.about-workshop .google-map {
    margin-top: 40px;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* General styles for cards */
.card {
    background-color: var(--primary-dark);
    border-radius: 10px;
    color: var(--text-white);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--text-white);
    font-size: 1.8rem;
}

.card p {
    color: var(--text-light);
    font-size: 1.1rem;
}
.last-realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.last-realisation-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
    aspect-ratio: 1 / 1; /* carrÃ© */
    transition: transform 0.3s ease;
}

.last-realisation-card:hover {
    transform: translateY(-3px);
}

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

.last-realisation-card:hover img {
    transform: scale(1.05);
}

.realisation-overlay-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
}
.wpcf7 select,
.wpcf7 select option {
  color: #000 !important; /* texte noir */
  background-color: #fff !important; /* fond blanc */
}
vip
.last-realisation-card:hover .realisation-overlay-hover {
    opacity: 1;
}

.realisation-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.realisation-client {
    font-size: 0.75rem;
    font-style: italic;
    color: #ccc;
}/* Grille Masonry */

/* Section portfolio en grid */
/* Grille 3 colonnes pleine largeur */
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Bloc carrÃ©, image + overlay */
.portfolio-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

/* Overlay au survol */
.portfolio-text {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-text {
  opacity: 1;
}

.portfolio-text span {
  font-size: 0.9rem;
  color: #f2b82f;
  margin-bottom: 5px;
}

.portfolio-text h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* Bloc spÃ©cial "voir tout" */
.portfolio-item.see-all {
  background: linear-gradient(135deg, #111, #333);
  color: white;
  text-align: center;
  font-weight: bold;
}

.portfolio-item.see-all a {
  color: #f2b82f;
  text-decoration: none;
  padding: 1rem 1.5rem;
  display: inline-block;
  border: 2px solid #f2b82f;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.portfolio-item.see-all a:hover {
  background: #f2b82f;
  color: #000;
}



.logo-wrapper img {
  max-width: 180px;
  height: auto;
}
.social-media {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.social-icon {
  font-size: 18px;
  color: #fff;
  transition: transform 0.2s ease;
}
.social-icon:hover {
  transform: scale(1.2);
}

/**
 * Format Selector Section Styles
 * VIP Impression Theme
 * 
 * @package VIP_Impression
 * @version 1.0.0
 */

/* Section Format principale */
/* Section Format principale */
.format-section {
    position: relative;
    background: linear-gradient(135deg, #1a1f2e, #2d3748);
    overflow: hidden;
}

.format-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   background-image: url('images/splash.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.format-section .container {
    position: relative;
    z-index: 10;
}

/* Header de section */
.format-section .section-header h2 {
color:#ffffff
}

.format-section .section-header h2 span {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Onglets des techniques */
.format-tabs-container {
    background: rgba(0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,0,255,0.1);
}

.format-tab {
    position: relative;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.format-tab::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.format-tab:hover::before {
    left: 100%;
}

.format-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.format-tab.active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0,0.3);
    z-index: 2;
}

/* Couleurs spÃ©cifiques des onglets */
.format-tab[data-technique="broderie"].active {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4);
}

.format-tab[data-technique="dtf"].active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 12px 30px rgba(59,130,246,0.4);
}

.format-tab[data-technique="flocage"].active {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: #fff;
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.4);
}

/* Contenu des techniques */
.format-technique-content {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

.format-technique-content.active {
    opacity: 1;
    transform: block translateY(0);
    display: block;
}

.format-technique-content.hidden {
    display: none;
}

/* Header des techniques */
.technique-header {
    position: relative;
    padding: 2rem;
    text-align: center;
    overflow: hidden;
}

.technique-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.vip-footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.vip-footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.vip-footer-logo-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.vip-footer-logo {
  max-width: 200px;
  height: auto;
}

.vip-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.vip-footer-social-icon {
  font-size: 20px;
  color: #fff;
  transition: opacity 0.3s;
}

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

.vip-footer-col h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

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

.vip-footer-list li {
  margin-bottom: 8px;
}

.vip-footer-list a {
  color: #fff;
  text-decoration: none;
}

.vip-footer-list a:hover {
  text-decoration: underline;
}

.contact-col .footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.contact-infos p,
.footer-col ul li {
  margin: 0.3rem 0;
}

.socials {
  margin-top: 1rem;
}

.social-link {
  margin-right: 0.8rem;
  color: var(--text-light);
  font-weight: bold;
  text-decoration: none;
}




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

.technique-icon-container {
    position: relative;
    z-index: 2;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.gabarit-technique-content-technique-content:hover .technique-icon-container {
    transform: scale(1.1) rotate(5deg);
}

/* Grille des formats */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

/* Cartes de format */
.format-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.format-card:hover::before {
    opacity: 1;
}

.format-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Badge populaire */
.format-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px currentColor;
    }
    50% {
        box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

/* IcÃ´ne de format */
.format-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.format-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.format-card:hover .format-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.format-card:hover .format-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Texte des formats */
.format-name {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.format-dimensions {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

/* Informations supplÃ©mentaires */
.format-info-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.format-info-card {
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.format-info-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.format-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.format-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.format-info-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.format-info-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Animations de scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animations dÃ©calÃ©es */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .formats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .format-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .format-section {
        padding: 3rem 0;
    }
    
    .format-tabs-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .format-tab {
        width: 100%;
        justify-content: center;
        margin: 0.25rem 0;
    }
    
    .formats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }
    
    .technique-header {
        padding: 1.5rem;
    }
    
    .technique-header h3 {
        font-size: 1.5rem;
    }
    
    .format-card {
        padding: 1rem;
    }
    
    .format-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .format-section .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .formats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .format-tab {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .format-tab svg {
        width: 1rem;
        height: 1rem;
    }
}

/* Animations avancÃ©es */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes d'animation */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

/* Ã‰tats de focus pour l'accessibilitÃ© */
.format-tab:focus,
.format-card:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Mode sombre amÃ©liorÃ© */
@media (prefers-color-scheme: dark) {
    .format-section {
        background: linear-gradient(135deg, #0f172a, #1e293b);
    }
    
    .format-card {
        background: rgba(255, 255,0.03);
    }
    
    .format-info-card {
        background: rgba(255,255,255,0.03);
    }
}

/* Optimisations de performance */
.format-section * {
    will-change: transform;
}

.format-tab, 
.format-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Print styles */
@media print {
    .format-section {
        background: white !important;
        color: black !important;
    }
    
    .format-tab, 
        .format-card {
            box-shadow: none !important;
            border: 1px solid #ccc !important;
    }



@media (min-width: 600px) {
    .vip-footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}
.realisation-card-modern.hidden {
    display: none;            /* ðŸ‘ˆ Ã©vite les trous dans la grille */
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}
.gabarit-technique-content { display:none; }
.gabarit-technique-content.active { display:block; }

	
	@media (max-width: 768px) {
  /* Boutons eux-mêmes */
  button.slider-prev,
  button.slider-next,
  .slider-prev,
  .slider-next {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Si l’icône est en pseudo-élément */
  .slider-prev::before,
  .slider-prev::after,
  .slider-next::before,
  .slider-next::after {
    content: none !important;
  }
}
@media (max-width: 768px) {
  .slider-controls { display: none !important; }
}
