* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif, Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Conteneur responsive */
@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .row {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    .row > * {
        padding-left: 8px;
        padding-right: 8px;
    }
    main {
        overflow-x: hidden;
        width: 100%;
    }
}

/* === Carrousel page couverture === */
.carousel-hero {
    max-width: 100vw;
    margin-bottom: 2rem;
}
.carousel-hero-inner,
#carouselCouverture .carousel-inner,
#carouselCouverture .carousel-item {
    height: 950px;
    max-height: 100vw;
}
.carousel-hero-inner img,
#carouselCouverture .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 950px;
}
/* Mobile small (iPhone SE) */
@media (max-width: 375px) {
    .carousel-hero-inner,
    #carouselCouverture .carousel-inner,
    #carouselCouverture .carousel-item {
        height: 400px;
        max-height: 100vw;
    }
    .carousel-hero-inner img,
    #carouselCouverture .carousel-item img {
        max-height: 400px;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .carousel-hero-inner,
    #carouselCouverture .carousel-inner,
    #carouselCouverture .carousel-item {
        height: 500px;
        max-height: 100vw;
    }
    .carousel-hero-inner img,
    #carouselCouverture .carousel-item img {
        max-height: 500px;
    }
}

/* Tablette portrait */
@media (min-width: 577px) and (max-width: 768px) {
    .carousel-hero-inner,
    #carouselCouverture .carousel-inner,
    #carouselCouverture .carousel-item {
        height: 600px;
        max-height: 100vw;
    }
    .carousel-hero-inner img,
    #carouselCouverture .carousel-item img {
        max-height: 600px;
    }
}
    /* === Styles spécifiques à apropos.php === */

.text-card {
    background: linear-gradient(90deg, #343a40 60%, #ffc107 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2), 0 6px 10px rgba(0,0,0,0.1);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ffc107;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    color: #fff;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile small */
@media (max-width: 375px) {
    .text-card {
        padding: 1.2rem 0.85rem;
        border-radius: 0.75rem;
        border-left-width: 3px;
        margin: 0.5rem;
    }
    .text-card h3,
    .text-card h4 {
        font-size: 1.25rem !important;
        margin-bottom: 0.8rem;
    }
    .text-card p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        padding: 0.3rem !important;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .text-card {
        padding: 1.3rem 0.95rem;
        border-radius: 0.75rem;
        border-left-width: 3px;
        margin: 0.5rem;
    }
    .text-card h3,
    .text-card h4 {
        font-size: 1.35rem !important;
        margin-bottom: 0.9rem;
    }
    .text-card p {
        font-size: 0.9rem !important;
        line-height: 1.55;
        padding: 0.4rem !important;
    }
}

.text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(255, 193, 7, 0.15);
}

.text-card h3 {
    color: #ffc107;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.text-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, transparent 100%);
    border-radius: 2px;
}

.text-card h4 {
    color: #ffc107;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.text-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, transparent 100%);
    border-radius: 2px;
}

.text-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e9ecef;
    margin-bottom: 1rem;
}

.text-card p:last-child {
    margin-bottom: 0;
}
.rectangle {
    background: #23272b;
    border-radius: 1.2rem;
    margin: 3rem 0 2rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    position: relative;
}
.rectangle-image-overlap {
    height: 220px;
    width: 320px;
    margin-bottom: -40px;
    z-index: 2;
    overflow: visible;
    display: flex;
    align-items: end;
}
.rectangle-image-overlap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.temoignages-section {
    background: #23272b;
}
.temoignage-card {
    background: #e2a200;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    min-width: 270px;
    max-width: 340px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    height: 100%;
}
.temoignage-photo {
    width: 110px;
    height: 110px;
    background: #d1d1d1;
    border-radius: 50%;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #23272b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.temoignage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.temoignage-stars {
    color: #8b1c13;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    margin-top: 65px;
    margin-bottom: 1rem;
    text-align: center;
}
.temoignage-texte {
    background: #23272b;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    margin-bottom: 1.2rem;
    min-height: 110px;
    max-height: 140px;
    width: 100%;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    line-clamp: 6;
    flex: 1 1 auto;
}
.temoignage-nom {
    background: #23272b;
    border-radius: 3px;
    padding: 0.4rem 1.2rem 0.3rem 1.2rem;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    margin-top: 0.2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    text-align: center;
}
/* === Styles spécifiques à couverture.php === */

#carouselCouverture .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
#carouselCouverture .carousel-caption {
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#carouselCouverture .carousel-caption h1 {
    background: rgba(33,37,41,0.85);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    font-size: 3rem;
    font-weight: 700;
}

/* Mobile small */
@media (max-width: 375px) {
    #carouselCouverture .carousel-caption h1 {
        font-size: 1.3rem;
        padding: 0.8rem 1rem;
        border-radius: 0.5rem;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    #carouselCouverture .carousel-caption h1 {
        font-size: 1.6rem;
        padding: 1rem 1.3rem;
        border-radius: 0.7rem;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    #carouselCouverture .carousel-caption h1 {
        font-size: 2rem;
        padding: 1.3rem 1.8rem;
    }
}
.banderolle-couverture {
    background: #ffc107;
    padding: 1rem 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

/* Mobile */
@media (max-width: 576px) {
    .banderolle-couverture {
        font-size: 1.1rem;
        padding: 0.75rem 0.5rem;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .banderolle-couverture {
        font-size: 1.3rem;
    }
}
.section-entreprise {
    background: linear-gradient(90deg, #343a40 60%, #ffc107 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    text-align: center;
}

/* Mobile */
@media (max-width: 576px) {
    .section-entreprise {
        padding: 1.5rem 1rem;
        border-radius: 0.75rem;
    }
}

.valeurs-carte {
    background: linear-gradient(90deg, #343a40 60%, #ffc107 100%);
    color: #fff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.valeurs-carte .card-title {
    font-weight: bold;
    font-size: 1.3rem;
}
.valeurs-carte .card-text {
    font-size: 1.05rem;
}

/* Mobile */
@media (max-width: 576px) {
    .valeurs-carte {
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }
    .valeurs-carte .card-title {
        font-size: 1.1rem;
    }
    .valeurs-carte .card-text {
        font-size: 0.95rem;
    }
}
.navbar, nav, .main-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.2,1,0.3,0.9);
}
.navbar.show-navbar, nav.show-navbar, .main-navbar.show-navbar {
    transform: translateY(0);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
body {
    padding-top: 100px;
}

/* Mobile */
@media (max-width: 576px) {
    .navbar, nav, .main-navbar {
        height: 70px;
    }
    body {
        padding-top: 70px;
    }
    .navbar .nav-link {
        font-size: 1rem;
        letter-spacing: 0.05em;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .navbar, nav, .main-navbar {
        height: 80px;
    }
    body {
        padding-top: 80px;
    }
    .navbar .nav-link {
        font-size: 1.1rem;
    }
}

/* =====================
     Cartes Témoignages
     ===================== */
.temoignage-card {
    background: linear-gradient(360deg, #343a40 60%, #ffc107 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    min-width: 270px;
    max-width: 340px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    }   
        justify-content: space-between;
        height: 100%;
}
.temoignage-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
    overflow: hidden;
    object-fit: cover;  
    object-position: center;
}
.temoignage-stars {
    color: #e7e40d;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    margin-top: 65px;
    margin-bottom: 1rem;
    text-align: center;
}
.temoignage-texte {
    background: #ffe9a9;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    margin-bottom: 1.2rem;
    min-height: 110px;
    max-height: 210px;
    width: 100%;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    flex: 1 1 auto;
}
.temoignage-nom {
    background: #ffe9a9;
    border-radius: 3px;
    padding: 0.4rem 1.2rem 0.3rem 1.2rem;
    font-weight: 700;
    color: #222;
    font-size: 1rem;
    margin-top: 0.2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    text-align: center;
}
/* Mobile small */
@media (max-width: 375px) {
    .temoignage-card {
        min-width: 100%;
        max-width: 100%;
        padding: 2rem 0.75rem 1rem 0.75rem;
        margin-bottom: 3rem;
    }
    .temoignage-photo {
        width: 85px;
        height: 85px;
        top: -42px;
    }
    .temoignage-stars {
        margin-top: 50px;
        font-size: 1.1rem;
    }
    .temoignage-texte {
        min-height: 120px;
        max-height: 180px;
        font-size: 0.9rem;
        padding: 1rem 0.75rem;
    }
    .temoignage-nom {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .temoignage-card {
        min-width: 100%;
        max-width: 100%;
        padding: 2.2rem 1rem 1.2rem 1rem;
        margin-bottom: 3rem;
    }
    .temoignage-photo {
        width: 95px;
        height: 95px;
        top: -47px;
    }
    .temoignage-stars {
        margin-top: 58px;
        font-size: 1.2rem;
    }
    .temoignage-texte {
        min-height: 130px;
        max-height: 200px;
        font-size: 0.95rem;
    }
}

/* Tablette portrait */
@media (min-width: 577px) and (max-width: 768px) {
    .temoignages-section .row {
        flex-direction: column;
        align-items: center;
    }
    .temoignage-card {
        min-width: 280px;
        max-width: 100%;
        padding: 2.3rem 1.2rem 1.3rem 1.2rem;
        margin-bottom: 2.5rem;
    }
    .temoignage-photo {
        width: 100px;
        height: 100px;
        top: -50px;
    }
    .temoignage-stars {
        margin-top: 60px;
    }
}

/* Tablette landscape et petit desktop */
@media (min-width: 769px) and (max-width: 991.98px) {
    .temoignage-card {
        min-width: 220px;
        max-width: 100%;
        padding: 2.2rem 1rem 1.2rem 1rem;
    }
    .temoignage-photo {
        width: 90px;
        height: 90px;
        top: -45px;
    }
    .temoignage-stars {
        margin-top: 55px;
    }
}
/* Mobile - masquer image overlap */
@media (max-width: 768px) {
    .rectangle-image-overlap,
    .rectangle-image-overlap img {
        display: none !important;
    }
    .rectangle {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    .transform {
        transform: translateY(0);
    }
}

/* Tablette - afficher avec ajustements */
@media (min-width: 769px) and (max-width: 991px) {
    .rectangle-image-overlap {
        width: 300px;
        height: 180px;
        transform: translate(5%, 60%);
    }
}
/* Style pour l'entête de page (Apropos) */
.page_header {
    background: linear-gradient(90deg, #343a40 60%, #ffc107 100%);
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page_header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.12);
}
.page_header small {
    font-size: 1.1rem;
    color: #ffc107;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 0.5rem;
}

/* Mobile small */
@media (max-width: 375px) {
    .page_header {
        padding: 1.2rem 1rem 1rem 1rem;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .page_header h1 {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    .page_header small {
        font-size: 0.85rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .page_header {
        padding: 1.5rem 1.25rem 1rem 1.25rem;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    .page_header h1 {
        font-size: 1.9rem;
        letter-spacing: 0.7px;
    }
    .page_header small {
        font-size: 0.95rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .page_header {
        padding: 1.7rem 1.3rem 1.1rem 1.3rem;
    }
    .page_header h1 {
        font-size: 2.1rem;
    }
    .page_header small {
        font-size: 1rem;
    }
}
.page_header a {
    color: #ffc107;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.4rem;
    padding: 0.1rem 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.page_header a:hover {
    background: #aa8106;
    color: #ffffff;

}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.bgImage {
    
    overflow: hidden;
    position: relative;

}
.bgImage {
    position: relative;
    z-index: 1;
}
.bgImage::before {
    content: "";
    background-size: 20% ;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../imgs/Logobg2.jpg');
    background-position: center;
    opacity: 0.1;
    z-index: 0; /* derrière le contenu */
}
nav.navbar {
    background-color: black;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15), 0 4px 6px rgba(0,0,0,0.1);
}
.navbar .nav-link {
  color: #ffffff;
  transition: color 0.3s ease; /* effet smooth au hover */
  font-family: Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.nav-link:hover {
    color: #F4C542;
    transform: translateX(5px); /* léger déplacement pour un effet subtil */
    transition: 300ms, color 0.3s ease;

}

.navbar-brand {
    color: #fff;
}
.navbar-brand:hover {
    color: white;
   

}


.row.justify-content-center.text-center a  {
    color: black ; 
} 


.instagram, .facebook {
    width: 25px;
    height: auto;
}
.logo {
    width: 150px;
    height: auto;
}

/* Mobile small */
@media (max-width: 375px) {
    .logo {
        width: 100px;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .logo {
        width: 120px;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

.photo-card {
    width: 100%;
    max-width: 400px;
    height: 500px;
    z-index: 1;
    overflow: hidden;
}

.photo-card .photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile small */
@media (max-width: 375px) {
    .photo-card {
        width: 100%;
        max-width: 95vw;
        height: 400px;
        margin: 0 auto;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .photo-card {
        width: 100%;
        max-width: 95vw;
        height: 450px;
        margin: 0 auto;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .photo-card {
        width: 100%;
        max-width: 95%;
        height: 480px;
        margin: 0 auto;
    }
}


.lien a:hover {
      color: #ff7f50 !important;
      text-decoration: none;
      transition: color 0.3s ease;
}

.white {
    color: white !important;
}

.rectangle {
    height: 281px;
    width: 100%;
    margin-bottom: 150px;
    position: relative;
    display: flex;
    background: linear-gradient(90deg, #343a40 60%, #ffc107 100%);
    border-radius: 5px;
    
}

.rectangle-image-overlap {
    height: 220px;
    width: 400px;
    margin-bottom: -40px; /* Fait dépasser l'image vers le bas */
    z-index: 2;
    overflow: visible;
    display: flex;
    align-items: end;
    transform: translate(10%, 70%); /* Centrer horizontalement */
    border-radius: 15px;
}
.rectangle-image-overlap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.transform {
    transform: translateY(48%);
}
/* === Pop up Catalogue === */
#popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
#popup-window {
  background: #23272b;
  color: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 90vw;
  text-align: center;
  position: relative;
  animation: popupIn 0.3s cubic-bezier(.4,2,.6,1) both;
}

/* Mobile */
@media (max-width: 576px) {
  #popup-window {
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    width: 95vw;
    border-radius: 1rem;
  }
  #popup-window img {
    max-width: 140px;
    max-height: 140px;
  }
  #popup-close {
    font-size: 1.6rem;
    top: 8px;
    right: 12px;
  }
}
@keyframes popupIn {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
#popup-window img {
  max-width: 180px;
  max-height: 180px;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
#popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #ffc107;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
#popup-close:hover { color: #fff; }
#popup-window .btn {
  margin-top: 1.2rem;
}

.contact-form {
    background: linear-gradient(360deg, #343a40 60%, #ffc107 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2), 0 6px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.bloc-g {
    background: linear-gradient(75deg, #343a40 60%, #ffc107 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2), 0 6px 10px rgba(0,0,0,0.1);
    z-index: 1;
}
.bg-dark {
    background-color: #23272b !important;
    color: #fff !important;
}

/* === Menu Hamburger Mobile - Fix === */
.navbar-toggler {
    border: 2px solid #ffc107;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 193, 7, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(255, 193, 7, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 193, 7, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Menu mobile ouvert */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #23272b;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.25rem;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 193, 7, 0.1);
        padding-left: 1.5rem;
    }
    
    .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Logo responsive */
.navbar-brand .logo {
    max-height: 70px;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-brand .logo {
        max-height: 55px;
    }
}

/* === Fin Menu Hamburger Mobile - Fix === */

/* ========================================
   PAGE COUVERTURE - Matériaux & Réalisations
   ======================================== */

/* === Cards Matériaux/Tuiles === */
.materiau-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.materiau-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.materiau-img {
    width: 100% !important;
    height: 240px !important;
    max-width: 100% !important;
    max-height: 240px !important;
    object-fit: cover !important;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

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

.materiau-info {
    padding: 1rem;
    background: linear-gradient(75deg, #343a40 60%, #ffc107 100%);
}

.materiau-titre {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.materiau-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* === Cards Réalisations === */
.realisation-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.realisation-img {
    width: 100% !important;
    height: 280px !important;
    max-width: 100% !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

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

.realisation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    padding: 1.5rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realisation-card:hover .realisation-overlay {
    opacity: 1;
}

/* === Responsive Mobile === */
/* Mobile small */
@media (max-width: 375px) {
    .materiau-img {
        height: 180px !important;
        max-height: 180px !important;
    }
    .materiau-info {
        padding: 0.75rem;
    }
    .materiau-titre {
        font-size: 1rem;
    }
    .materiau-desc {
        font-size: 0.85rem;
    }
    .realisation-img {
        height: 200px !important;
        max-height: 200px !important;
    }
    .realisation-overlay {
        padding: 1rem 0.75rem 0.75rem;
    }
}

/* Mobile medium (iPhone 14 Pro Max) */
@media (min-width: 376px) and (max-width: 576px) {
    .materiau-img {
        height: 210px !important;
        max-height: 210px !important;
    }
    .materiau-info {
        padding: 0.85rem;
    }
    .materiau-titre {
        font-size: 1.05rem;
    }
    .materiau-desc {
        font-size: 0.9rem;
    }
    .realisation-img {
        height: 240px !important;
        max-height: 240px !important;
    }
    .realisation-overlay {
        padding: 1.2rem 0.85rem 0.85rem;
    }
}

/* Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .materiau-img {
        height: 220px !important;
        max-height: 220px !important;
    }
    .realisation-img {
        height: 250px !important;
        max-height: 250px !important;
    }
}