
/* Fonts */
:root {
  --default-font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Questrial", "Helvetica Neue", sans-serif;
  --nav-font: "Noto Sans", "Segoe UI", sans-serif;
}

/*Déclaration des polices locales */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Regular.woff2') format('woff2'),
       url('../fonts/roboto/Roboto-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Bold.woff2') format('woff2'),
       url('../fonts/roboto/Roboto-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Italic.woff2') format('woff2'),
       url('../fonts/roboto/Roboto-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
	font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-BoldItalic.woff2') format('woff2'),
       url('../fonts/roboto/Roboto-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
	font-display: swap;
}

@font-face {
  font-family: 'Questrial';
  src: url('../fonts/questrial/Questrial-Regular.woff2') format('woff2'),
       url('../fonts/questrial/Questrial-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans/NotoSans-Regular.woff2') format('woff2'),
       url('../fonts/noto-sans/NotoSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans/NotoSans-Bold.woff2') format('woff2'),
       url('../fonts/noto-sans/NotoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans/NotoSans-Italic.woff2') format('woff2'),
       url('../fonts/noto-sans/NotoSans-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
	font-display: swap;
}
/*Application des polices dans le CSS */
body {
  font-family: var(--default-font);
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 700;
}

nav {
  font-family: var(--nav-font);
}


:root { 
  --background-color: #ffffff; 
  --default-color: #22314e; 
  --heading-color: #22314e; 
  --accent-color: #ca0303; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
}

/* Nav Menu Couleurs */
:root {
  --nav-color: #22314e;  
  --nav-hover-color: #ca0303; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #0a0f14; 
  --nav-dropdown-hover-color: #ca0303; 
}

/* Color Presets -  */

.light-background {
  --background-color: #faf9fb;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Style général & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.texte-justifie {
    text-align: justify;
}


/* Bannière Contact */
        .Contact-banner {
            position: relative;
            width: 100%;
            height: 300px;
            background: url("../img/banner-contact2.webp") no-repeat center center;
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
        }
        
        /* Shapes pour la bannière */
        .Contact-banner-shape-1,
        .Contact-banner-shape-2 {
            position: absolute;
            border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
            opacity: 0.6;
            z-index: 2;
        }
        
        .Contact-banner-shape-1 {
            width: 200px;
            height: 200px;
            background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
            top: -20px;
            left: 28%;
            animation: bannerfloatShape1 15s infinite alternate ease-in-out;
        }
        
        .Contact-banner-shape-2 {
            width: 240px;
            height: 240px;
            background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
            bottom: -20px;
            right: 25%;
            animation: bannerfloatShape2 20s infinite alternate ease-in-out;
        }
        
        @media (max-width: 768px) {
            .Contact-banner-shape-1 {
                left: 5%;
                width: 150px;
                height: 150px;
            }
            .Contact-banner-shape-2 {
                right: 5%;
                width: 180px;
                height: 180px;
            }
        }

        @keyframes bannerfloatShape1 {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(20deg); }
            100% { transform: translateY(0) rotate(0deg); }
        }

        @keyframes bannerfloatShape2 {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(30px) rotate(-20deg); }
            100% { transform: translateY(0) rotate(0deg); }
        }


.section.oblique-top {
  position: relative;
  overflow: visible;
  padding-top: 0;
  z-index: 0;
}

.section.oblique-top::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 150px;
  width: 100%;
  background: var(--background-color);
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: -1;
  pointer-events: none;
}

.sub-card {
  background-color: #FBFCFD;
  border: 5px solid #FBFCFD;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.sub-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.sub-card.menuiserie { border-left-color: #ca0303; }
.sub-card.metallerie { border-left-color: #22314e; }
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background: linear-gradient(90deg, #720202 0%, #a80808 15%, #ca0303 50%, #a80808 85%, #720202 100%);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
	
}

/* Ombre discrète sous le header */
#header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}


.header .header-container {
  background: var(--surface-color);
  border-radius: 50px;
  padding: 5px 25px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  padding-left: 5px;
  font-weight: 500;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header {
    padding-top: 10px;
  }

  .header .header-container {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 5px 10px 15px;
  }

  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* Animation de la barre sous le menu (progression de gauche à droite) */
.navmenu ul li {
  position: relative;
}

.navmenu ul li::after {
  content: "";
  position: absolute;
  bottom: 0px; 
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--nav-hover-color); 
  transition: width 0.2s ease-in-out;
}

.navmenu ul li:hover::after {
  width: 100%;
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff; 
  background-color: #333; 
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 15px;
}
.footer a {
  color: #dcdcdc; 
  display: inline-block;
  padding: 8px 4px; 
  margin: 4px 0; 
}

.footer a:hover {
  color: var(--accent-color); 
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: #ffffff;
  margin: 0 20px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  border: none; 
 border-color: transparent !important;  
 background-color: transparent; 
 color: var(--accent-color);
 
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay sur mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global - Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 2.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 1.2rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--heading-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title .title-shape {
  width: 200px;
  height: 20px;
  margin: 0 auto;
  color: var(--accent-color);
  opacity: 0.5;
}

.section-title .title-shape svg {
  width: 100%;
  height: 100%;
}

.section-title p {
  margin: 15px auto 0;
  font-size: 16px;
  max-width: 700px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 32px;
  }

  .section-title .subtitle-wrapper .subtitle {
    font-size: 13px;
  }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: url("../img/FondHero6-M81.webp") no-repeat center center;
  background-size: cover;
}

@media (max-width: 1199px) {
  .hero {
    background-image: url("../img/FondHero6-M81-1199.webp");
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: url("../img/FondHero6-M81-768.webp");
  }
}

.hero .content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .hero .content h1 {
    font-size: 2.5rem;
  }
}

.hero .content .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .hero .cta-buttons {
    flex-direction: column;
  }
}

.hero .cta-buttons .btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero .cta-buttons .btn.btn-primary {
  background-color: var(--accent-color); 
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.hero .cta-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.hero .cta-buttons .btn.btn-outline {
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--accent-color);
  background: transparent;
}

.hero .cta-buttons .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.hero .hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.btn-metal {
  background-color: #22314e;
  color: white;
  border: 2px solid #22314e;
  transition: all 0.2s ease;
}

.btn-metal:hover {
  background-color: transparent;
  color: #22314e;
  border-color: #22314e;
}

.btn-menuiserie {
  background-color: #ca0303;
  color: white;
  border: 2px solid #ca0303;
  transition: all 0.2s ease;
}

.btn-menuiserie:hover {
  background-color: transparent;
  color: #ca0303;
  border-color: #ca0303;
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.hero .hero-stats .stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 0.5rem;
  display: block;
}

.hero .hero-image {
  position: relative;
  padding: 2rem;
}

.hero .hero-image img {
  position: relative;
  z-index: 2;
}

.hero .hero-image .shape-1,
.hero .hero-image .shape-2 {
  position: absolute;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  z-index: 1;
}

.hero .hero-image .shape-1 {
  width: 300px;
  height: 300px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
  top: -20px;
  right: -20px;
  animation: morphShape 15s linear infinite;
}

.hero .hero-image .shape-2 {
  width: 200px;
  height: 200px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  bottom: -20px;
  left: -20px;
  animation: morphShape 20s linear infinite reverse;
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 60px 0;
  }

  .hero .cta-buttons {
    justify-content: center;
  }

  .hero .hero-stats {
    justify-content: center;
  }

  .hero .hero-image {
    margin-top: 3rem;
  }
}

@keyframes morphShape {
  0% {
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
  }

  100% {
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  }
}


/* --- BANNIÈRE AVEC IMAGE DE FOND --- */
.banner {
  position: relative;
  width: 100%;
  height: 300px; 
  background: url("../img/Banniere_fond7.webp") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}





/* Effet sombre lisibilité */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); 
  z-index: 1;
}

/* --- Contenu centré --- */
.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Conteneur de l'animation --- */
.banner-animation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

/* --- LOGO AU CENTRE --- */
.logo-banner {
  position: relative;
  z-index: 4; /* au-dessus des formes */
  width: 500px; 
  max-width: 100%;
}

/* --- SHAPES ANIMÉES --- */
.banner-shape-1,
.banner-shape-2 {
  position: absolute;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  opacity: 0.6; 
  z-index: 2;
}

/* --- Position et animation de Shape-1 --- */
.banner-shape-1 {
  width: 200px;
  height: 200px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  top: -20px;
  left: -10%;
  animation: morphShape 15s infinite alternate ease-in-out;
}

/* --- Position et animation de Shape-2 --- */
.banner-shape-2 {
  width: 240px;
  height: 240px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
  bottom: -20px;
  right: -10%;
  animation: morphShape 20s infinite alternate ease-in-out;
}

/* --- ANIMATIONS DES FORMES --- */
@keyframes bannerfloatShape1 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(20deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes bannerfloatShape2 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(30px) rotate(-20deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/*--------------------------------------------------------------
# Bootstrop animées
--------------------------------------------------------------*/
.market-icon {
    display: flex;
    align-items: center;
    gap: 10px; 
    cursor: pointer; 
}
.market-icon i {
    font-size: 2rem; 
    color: #910303; 
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out; 
	display: inline-block; 
}

.market-icon:hover i {
    color: #910303; 
    transform: scale(1.2) rotate(360deg); 
}


i.bi.bi-check {
  color: #28a745 !important; 
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-image {
  position: relative;
}

.about .about-image img {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}


.about-image img {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.about-image img:hover {
    transform: scale(1.1); /* Zoom léger au survol */
}


.about .about-content {
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .about .about-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.about .about-content .subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.about .about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about .about-content .lead {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .personal-info {
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.about .personal-info .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about .personal-info .info-item .label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about .personal-info .info-item .value {
  font-weight: 600;
  color: var(--heading-color);
}

.about .signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about .signature .signature-image {
  max-width: 150px;
}

.about .signature .signature-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.about .signature .signature-info p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}



/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-wrapper .resume-block {
  margin-bottom: 3rem;
}

.resume .resume-wrapper .resume-block:last-child {
  margin-bottom: 0;
}

.resume .resume-wrapper .resume-block h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.resume .resume-wrapper .resume-block h2 span {
  color: var(--accent-color);
}

.resume .resume-wrapper .resume-block .lead {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 3rem;
}

.resume .resume-wrapper .timeline {
  position: relative;
}

.resume .resume-wrapper .timeline::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.resume .resume-wrapper .timeline .timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}

.resume .resume-wrapper .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left {
  width: 20%;
  padding-right: 3rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left .company {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left .period {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-dot {
  position: absolute;
  left: calc(20% + 1px);
  transform: translateX(-50%);
  width: 1rem;
  height: 1rem;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right {
  width: 70%;
  padding-left: 3rem;
  margin-top: -4px;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .position {
  color: var(--heading-color);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .description {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right ul {
  padding-left: 15px;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right ul li {
  padding-bottom: 12px;
}

@media (max-width: 992px) {
  .resume .resume-wrapper .resume-block h2 {
    font-size: 2rem;
  }

  .resume .resume-wrapper .timeline::before {
    left: 1rem;
  }

  .resume .resume-wrapper .timeline .timeline-item {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-left {
    width: 100%;
    text-align: left;
    padding-right: 0;
    padding-left: 2.5rem;
    margin-bottom: 1.6rem;
    margin-top: -4px;
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-dot {
    left: calc(1rem + 1px);
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-right {
    width: 100%;
    padding-left: 2.5rem;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-container {
  margin-bottom: 40px;
}

.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.portfolio .portfolio-filters li {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 30px;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  color: var(--default-color);
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.portfolio .portfolio-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.portfolio .portfolio-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .portfolio-overlay .portfolio-actions {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio .portfolio-card .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.portfolio .portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions {
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
  display: flex;
  gap: 15px;
  opacity: 1 !important;
  visibility: visible !important;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a {
  width: 45px;
  height: 45px;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio .portfolio-card .portfolio-content {
  padding: 25px;
}

.portfolio .portfolio-card .portfolio-content .category {
  font-size: 14px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.portfolio .portfolio-card .portfolio-content h3 {
  font-size: 20px;
  margin: 0 0 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.portfolio .portfolio-card .portfolio-content h3:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-card .portfolio-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    padding: 6px 15px;
  }

  .portfolio .portfolio-card .portfolio-content {
    padding: 20px;
  }

  .portfolio .portfolio-card .portfolio-content h3 {
    font-size: 18px;
  }

  .portfolio .portfolio-card .portfolio-content p {
    font-size: 14px;
  }
}
/*--------------------------------------------------------------
# Porfolio modal pop up
--------------------------------------------------------------*/
.modal {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(255, 255, 255, 0.0);
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.0);
      z-index: 1000;
      width: auto;
      max-width: 90%;
      overflow-y: auto;
    }
    .modal-content {
      position: relative;
      background: white;
      color: black;
      padding: 40px 25px 25px 25px;
      border-radius: 10px;
      width: auto;
      text-align: center;
      overflow-y: auto;
      min-width: 300px;
      min-height: auto;
      max-width: 600px;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }
    .close {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      font-size: 24px;
      color: white;
      background: #dc3545;
      padding: 10px;
      border-radius: 50%;
      transition: all 0.3s;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .close:hover {
      background: #b52b3a;
    }
    .modal h3 {
      color: #007bff;
      margin-bottom: 15px;
      padding-top: 20px;
    }
    .modal p {
      font-size: 16px;
      color: #555;
      margin-bottom: 8px;
      text-align: left;
    }

/*--------------------------------------------------------------
# Galerie Metal
--------------------------------------------------------------*/
#galerie-metal .img-fluid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#galerie-metal .img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.filter-btn.active {
  background-color: #22314e;
  color: white;
  border-color: #22314e;
}

/*--------------------------------------------------------------
# Galerie Menuiserie
--------------------------------------------------------------*/
#galerie-menuiserie .img-fluid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#galerie-menuiserie .img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
#galerie-menuiserie .gallery-filter-btn.active {
  background-color: #ca0303;
  color: white;
  border-color: #ca0303;
}

/* Facultatif : couleur du survol */
#galerie-menuiserie .gallery-filter-btn:hover {
  background-color: #ca0303;
  color: white;
  border-color: #ca0303;
}


/*--------------------------------------------------------------
# Carousel page index Testimonials Section
--------------------------------------------------------------*/



.carousel-image img {
  transition: transform 0.3s ease;
}

.carousel-image img:hover {
  transform: scale(1.05);
}

.carousel-control-prev, .carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #22314e;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 50%;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* Positionnement hors du carrousel */
.carousel-control-prev {
  left: -15px; 
}

.carousel-control-next {
  right: -15px; 
}


.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #1a263b;
}


#photoCarousel .carousel-indicators {
  position: relative !important;
  bottom: auto;
  margin-top: 10px;
  justify-content: center;
}


#photoCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background-color: #22314e;
  opacity: 0.7;
  margin: 0 4px;
}

#photoCarousel .carousel-indicators .active {
  opacity: 1;
}






.testimonials .testimonials-slider {
  width: 100%;
  position: relative;
  padding-bottom: 60px;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
}

@media (max-width: 575px) {
  .testimonials .testimonial-item {
    padding: 20px;
  }
}

.testimonials .testimonial-item h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonials .testimonial-item .profile {
  gap: 15px;
}

.testimonials .testimonial-item .profile .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials .testimonial-item .profile .profile-info h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.testimonials .testimonial-item .profile .profile-info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
}

.testimonials .testimonial-item .featured-img-wrapper {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.testimonials .testimonial-item .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonials .swiper-navigation {
  position: absolute;
  bottom: 0;
  gap: 10px;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 0;
  width: 44px;
  height: 44px;
  background-color: var(--surface-color);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
  transition: 0.3s;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  font-size: 20px;
  color: var(--default-color);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.testimonials .swiper-button-prev:hover::after,
.testimonials .swiper-button-next:hover::after {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.image-credit {
  font-size: 0.75rem;
  color: #A1A1A1;
  margin-top: 5px;
  display: block;
  max-width: 100%;
}

.image-credit a {
  color: #888888;
  text-decoration: underline dotted;
}


.services {
  padding: 80px 0;
}

.services .servies-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.services .btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 10px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.services .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.services .service-item:hover {
  transform: scale(1.05);
}

.services .service-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  display: inline-block;
  margin-bottom: 15px;
}

.services .service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.services .service-item h3 a {
  color: var(--heading-color);
}

.services .service-item h3 a:hover {
  color: var(--accent-color);
}

.services .service-item p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

@media (max-width: 991px) {
  .services h2 {
    font-size: 2rem;
  }
}


.service-banner {
  height: 60px;
  width: 100%;
  border-radius: 4px;
  position: relative;
  background-color: inherit; 
  overflow: hidden;
}

.service-banner h3 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.top-banner {
  margin-bottom: 15px;
}

.bottom-banner {
  margin-top: 15px;
}

/* Couleurs par activité */
.metallurgie .service-banner {
  background-color: #22314e;
}

.menuiserie .service-banner {
  background-color: #ca0303;
}

.miroiterie .service-banner {
  background-color: #EE9B0D;
}

.sav-depannage .service-banner {
  background-color: #d85145;
}


.logo-row {
  gap: 10px;
  flex-wrap: wrap;
}

.logo-container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-zone {
  display: flex;
  align-items: center;
  padding: 0.5rem 40px; /* 0.5rem vertical, 40px horizontal */
  gap: 0.5rem;
  flex-wrap: nowrap;
  border-radius: 12px;
}

.metal-zone {
  background-color: #22314e;
  border-right: 4px solid #ffffff;
}

.menu-zone {
  background-color: #ca0303;
  margin-left: 4px;
}

@media (max-width: 992px) {
  .logo-zone {
    flex-wrap: wrap;
    justify-content: center;
    border-right: none;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/*--------------------------------------------------------------
# News articles évènements
--------------------------------------------------------------*/



/* Styles pour la page Actualité */


.filter-logo {
  cursor: pointer;
  opacity: 0.3;
  transition: transform 0.3s, opacity 0.3s;
}

.filter-logo:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.filter-logo.active-logo {
  opacity: 1;
  filter: drop-shadow(0 0 6px #585757);
}

.event-item {
    position: relative;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
}

.event-date .date-number {
    font-size: 1rem;
    font-weight: bold;
}

.event-date .date-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.event-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.5em; 
    transition: max-height 0.3s ease-in-out;
}

.event-details {
    display: none; /* Caché par défaut */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.event-item.expanded .event-text {
    -webkit-line-clamp: unset; 
    max-height: none; 
}

@media (max-width: 768px) {
    .event-text {
        -webkit-line-clamp: 4; /* Sur mobile, plus de texte */
        max-height: 6em;
    }
}


.toggle-event {
    bottom: 10px;
    right: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.toggle-event i {
    color: var(--accent-color);
    transition: transform 0.2s ease-in-out;
}

.toggle-event:hover i {
    transform: scale(1.2);
}
.event-facebook {
    margin-top: 8px;
    display: flex;
    align-items: center;  
    justify-content: center; 
    width: 40px;
    height: 40px;
    background-color: #1877F2 !important; /* Bleu Facebook */
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    padding: 0;
    position: relative;
}

.event-facebook i {
    color: white !important; 
    font-size: 20px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: color 0.2s ease-in-out; 
}


.event-facebook:hover {
    transform: scale(1.2);
    background-color: #135cb3;
}


.news-container {
    width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-item {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.news-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-item h2 {
    color: var(--heading-color);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.news-item p {
    color: var(--default-color);
    margin: 8px 0;
    font-size: 1rem;
}

.news-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.news-item a:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    padding: 10px;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filters label {
    font-weight: bold;
    color: var(--heading-color);
}

.filters select {
    padding: 5px 10px;
    border: 1px solid var(--default-color);
    border-radius: 5px;
    background: var(--surface-color);
    color: var(--default-color);
    font-size: 1rem;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.actualites-banner {
	position: relative;
    width: 100%;
    height: 300px;
    /*background: var(--surface-color); /* url("../img/banner-Actualite10.webp") no-repeat center center */
    background-size: cover;
    
    padding: 80px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
	
}



/* Assure que le contenu reste lisible */
.actualites-banner .container {
    position: relative;
    z-index: 2;
}
/* Shapes pour la bannière */
        .actualites-banner-shape-1,
        .actualites-banner-shape-2 {
            position: absolute;
            border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
            opacity: 0.6;
            z-index: 2;
        }
        
        .actualites-banner-shape-1 {
            width: 200px;
            height: 200px;
            background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
            top: -20px;
            left: 30%;
            animation: bannerfloatShape1 15s infinite alternate ease-in-out;
        }
        
        .actualites-banner-shape-2 {
            width: 240px;
            height: 240px;
            background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
            bottom: -20px;
            right: 20%;
            animation: bannerfloatShape2 20s infinite alternate ease-in-out;
        }
        
        @media (max-width: 768px) {
            .actualites-banner-shape-1 {
                left: 5%;
                width: 150px;
                height: 150px;
            }
            .actualites-banner-shape-2 {
                right: 5%;
                width: 180px;
                height: 180px;
            }
        }

        @keyframes bannerfloatShape1 {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(20deg); }
            100% { transform: translateY(0) rotate(0deg); }
        }

        @keyframes bannerfloatShape2 {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(30px) rotate(-20deg); }
            100% { transform: translateY(0) rotate(0deg); }
        }
/*--------------------------------------------------------------
# Job Offer
--------------------------------------------------------------*/
.job-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
      align-items: center;
    }
    .job-offer {
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px;
      width: 100%;
      max-width: 600px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease-in-out;
      position: relative;
    }
    .job-offer:hover {
      transform: translateY(-5px);
    }
    .job-offer h3 {
      font-size: 18px;
      color: #910303;
    }
    .job-offer p {
      font-size: 14px;
      color: #333;
    }
    .expand-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      font-size: 20px;
      color: #910303;
    }
    .job-details {
      display: none;
      margin-top: 10px;
      font-size: 14px;
      color: #555;
      background-color: #fff;
      padding: 10px;
      border-radius: 5px;
      border-top: 1px solid #ddd;
    }
    .apply-btn {
      display: block;
      margin-top: 10px;
      padding: 10px;
      background-color: #910303;
      color: white;
      text-align: center;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s;
    }
    .apply-btn:hover {
      background-color: #750202;
	  color: #f9f9f9;
    }


/* Responsive filter styling */
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      padding: 10px;
    }
    .filters label {
      font-weight: bold;
    }
    .filters select {
      padding: 8px;
      border-radius: 5px;
      border: 1px solid #ddd;
      font-size: 16px;
    }
    @media (max-width: 768px) {
      .filters {
        flex-direction: column;
        align-items: center;
      }
      .filters select {
        width: 100%;
      }
    }


/* Bannière Carrière */
.Carriere-banner {
    position: relative;
    width: 100%;
    height: 300px;
    /*background: var(--surface-color);/* url("../img/banner-Carriere.webp") no-repeat center center */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.rejoindre {
    position: relative;
    width: 100%;
    height: 300px;
    background: url("../img/banner-Carriere.webp") no-repeat center center; 
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Shapes animées */
.Carriere-banner-shape-1,
.Carriere-banner-shape-2 {
    position: absolute;
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
    opacity: 0.6;
    z-index: 2;
}

/* Position et animation de Shape-1 */
.Carriere-banner-shape-1 {
    width: 200px;
    height: 200px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    top: -20px;
    left: 28%;
    animation: bannerfloatShape1 15s infinite alternate ease-in-out;
}

/* Position et animation de Shape-2 */
.Carriere-banner-shape-2 {
    width: 240px;
    height: 240px;
    background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
    bottom: -20px;
    right: 25%;
    animation: bannerfloatShape2 20s infinite alternate ease-in-out;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
    .Carriere-banner-shape-1 {
        left: 5%;
        width: 150px;
        height: 150px;
    }
    .Carriere-banner-shape-2 {
        right: 5%;
        width: 180px;
        height: 180px;
    }
}

/* Animations des shapes */
@keyframes bannerfloatShape1 {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(20deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes bannerfloatShape2 {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(30px) rotate(-20deg); }
    100% { transform: translateY(0) rotate(0deg); }
}


/*--------------------------------------------------------------
# Social Share
--------------------------------------------------------------*/

.contact-toggle {
    position: fixed;
    right: 15px;
    top: calc(60% - 80px); /* au-dessus du bouton de partage */
    z-index: 1000;
}

.contact-button {
    width: 50px;
    height: 50px;
    background: rgba(31,31,31,0.6);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    text-decoration: none;
}

.contact-button:hover {
    background: #ca0303;
}

.contact-button:hover i {
    color: white;
}

.contact-toggle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #22314e; /* même couleur que ton site */
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Ombre douce */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-toggle a:hover {
  background-color: #ca0303; /* rouge au hover */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); /* Ombre plus forte au hover */
}

.social-share-toggle button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #22314e;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.social-share-toggle button:hover {
  background-color: #ca0303;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}


@media (max-width: 991px) {
  .contact-toggle {
    top: calc(72% - 30px) !important;
  }

  .social-share-toggle {
    top: 80% !important;
  }
}




.social-share {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
	background: rgba(0, 0, 0, 0.05);
    padding: 15px; /* padding pour éviter la superposition */
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
    
}

.social-share .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
	position: relative;
    transition: all 0.3s ease-in-out;
	overflow: visible;
}

/* Couleurs officielles des réseaux sociaux */
.share-button.facebook { background-color: #1877F2; } /* Facebook */
.share-button.twitter { background-color: #000; } /* Twitter */
.share-button.linkedin { background-color: #0077B5; } /* LinkedIn */
.share-button.whatsapp { background-color: #25D366; } /* WhatsApp */

/* Effet au survol */
.share-button:hover {
    background-color: #ca0303 !important;
    transform: scale(1.1);
}
/* Texte caché par défaut */
/* Tooltip uniquement pour .social-share */
.social-share .tooltip {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.3s ease-in-out, right 0.3s ease-in-out;
    pointer-events: none;
}

/* Ajout d'une flèche pour le tooltip */
.social-share .tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}

/* Affichage du tooltip au survol */
.social-share .share-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Bouton principal bi bi-share */
.social-share-toggle {
    position: fixed;
    right: 15px;
    top: 60%;
    transform: translateY(-50%);
    z-index: 1000;
}

.share-toggle-btn {
    width: 50px;
    height: 50px;
    background: rgba(31,31,31,0.6);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.share-toggle-btn:hover {
    background: #ca0303;
}

/* Masquer le bloc des réseaux sociaux par défaut */
.social-share.hidden {
    display: none;
}

/* Bouton de fermeture */
.social-share .close-share {
    position: absolute;
    top: -15px; 
    right: -15px; 
    background: #ca0303;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); 
}

.social-share .close-share:hover {
    background: darkred;
}

/* Bouton Bluesky */
.share-button.bluesky { 
    background-color: #0085FF; /* Bleu officiel de Bluesky */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

/* Style de l'icône Bluesky */
.share-button.bluesky img {
    width: 24px; /* Taille pour être cohérent avec les autres icônes */
    height: 24px;
    filter: brightness(0) invert(1); 
}

@media (max-height: 700px) {
  .contact-toggle,
  .social-share-toggle {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .section-category {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .content h2 {
  font-weight: 700;
  line-height: 1.2;
}

.contact .content .lead {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.contact .contact-info .info-item {
  font-size: 1.1rem;
}

.contact .contact-info .info-item i {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.contact .contact-info .map-link {
  color: var(--heading-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact .contact-info .map-link i {
  transition: transform 0.3s ease;
}

.contact .contact-info .map-link:hover {
  color: var(--accent-color);
}

.contact .contact-info .map-link:hover i {
  transform: translateX(5px);
}

.contact .contact-form {
  background-color: var(--surface-color);
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.75rem 1.25rem;
  border-color: #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn-submit {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact .contact-form .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-1px);
}

.contact .contact-form .btn-submit:active {
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .home-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-swiper .swiper-slide {
    width: 100% !important;
  }

  .home-swiper .swiper-pagination {
    display: none !important;
  }
}



.service-details .service-details-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
}

.service-details .service-details-slider .swiper-wrapper {
  height: auto !important;
}


.service-details .service-details-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
}

.service-details .service-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--contrast-color);
  opacity: 0.5;
  transition: 0.3s;
}

.service-details .service-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

.swiper-no-pagination .swiper-pagination {
  display: none !important;
  pointer-events: none; /* désactive les clics aussi */
}

.service-details .content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-details .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 15px;
}

.service-details .content .features .feature-box {
  padding: 20px;
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: 0.3s;
}

.service-details .content .features .feature-box:hover {
  transform: translateY(-5px);
}

.service-details .content .features .feature-box i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 15px;
}

.service-details .content .features .feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.service-details .service-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.service-details .service-info h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.service-details .service-info .info-item {
  margin-bottom: 25px;
}

.service-details .service-info .info-item:last-child {
  margin-bottom: 0;
}

.service-details .service-info .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-details .service-info .info-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.service-details .service-info .info-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.service-details .related-services {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.service-details .related-services h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.service-details .related-services .service-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .related-services .service-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-details .related-services .service-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.service-details .related-services .service-item h5 a:hover {
  color: var(--accent-color);
}

.service-details .related-services .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  font-size: 14px;
}

@media (max-width: 991px) {

  .service-details .service-info,
  .service-details .related-services {
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
}

/* Animation douce au survol */
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-nav a {
  color: #22314e; 
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-nav a:hover {
  color: #ca0303; 
}
 


/* Floating FAQ Navigation */
.faq-float-nav {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%); 
  z-index: 1000;
}
.faq-float-nav button {
  background-color: #22314e;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.faq-float-nav button:hover {
  background-color: #ca0303;
}

.faq-float-menu {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 0;
  background: #F9F9F9;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  min-width: 220px;
}

.faq-float-menu a {
  display: block;
  padding: 8px 10px;
  color: #22314e;
  text-decoration: none;
  font-weight: 600;
}

.faq-float-menu a:hover {
  color: #ca0303;
}



.faq-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 30px;
  color: #ca0303;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s, transform 0.4s ease;
}

.faq-close:hover {
  color: #8b0000; 
  transform: rotate(90deg);
}

.faq-float-header {
  text-align: right;
  margin-bottom: 30px; 
}

.faq-float-links a {
  display: block;
  padding: 8px 10px;
  color: #22314e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.faq-float-links a:hover {
  color: #ca0303;
}


/* Disparait sur mobile */
@media (max-width: 768px) {
  .faq-float-nav {
    display: none;
  }
}

/* Bordure latérale colorée par spécialité */
 #faq-aluminiumsystemes .faq-item, #faq-armory .faq-item {
  border-left: 4px solid #ca0303;
  padding-left: 15px;
  margin-bottom: 20px;
}

#faq-mplb .faq-item, #faq-omnimetal .faq-item, #faq-plafometal .faq-item {
  border-left: 4px solid #22314e;
  padding-left: 15px;
  margin-bottom: 20px;
}

#faq-cgn .faq-item {
  border-left: 4px solid #f48024;
  padding-left: 15px;
  margin-bottom: 20px;
}

#faq-savty .faq-item {
  border-left: 4px solid #d85145;
  padding-left: 15px;
  margin-bottom: 20px;
}

/* --- Effet Hover léger sur titre de la question --- */
.faq-item h3:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  cursor: pointer;
}


.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}



.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: rgba(249,249,249,0.50);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 20px;

}

.faq .faq-container .faq-active .faq-toggle {
  transition: transform 0.3s ease;
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Cookies - Version discrète
--------------------------------------------------------------*/
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(31,31,31,0.9); 
    color: white;
    padding: 10px 15px;
    border-radius: 8px; 
    font-size: 12px;
    font-family: "Roboto", Courier, monospace; 
    width: 250px;
    text-align: left;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

/* Texte */
.cookie-banner p {
    margin: 0;
    font-size: 12px;
    flex: none; 
}

.cookie-banner h5 i {
    font-size: 1.5rem; 
    color: #f1c40f; 
    margin-right: 10px; 
    vertical-align: middle;
    display: inline-block;
}


/* Conteneur des boutons */
.cookie-banner .buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 5px; 
}

/* Boutons */
.cookie-banner button {
    background: #ca0303;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 14px; 
    flex: 1; 
}

/* Effet au survol */
.cookie-banner button:hover {
    background: #D6003C;
}

/* Lien "En savoir plus" */
.cookie-banner a {
    color: #fff;
    text-decoration: underline;
    font-size: 12px;
}

#accept-cookies {
    background-color: #44822B; 
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
}

/* Effet au survol */
#accept-cookies:hover {
    background-color: #03f675; 
}

