body {
    font-family: 'Montserrat', sans-serif; 
    color: #333;
    overscroll-behavior: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'sans-serif'; 
    font-weight: 700;
}
.gsap-fade-up { opacity: 0; }

/* ============================
BUG CORRIGÉ : opacity: 0; est supprimé
============================ */
.profile-box { } 

/* Header */
.header-transparent {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}
.header-transparent .header-logo {
    filter: brightness(0) invert(1);
}
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.header-scrolled .header-logo {
    filter: none;
}

/* Avant/Après Slider */
.jx-slider {
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* FAQ (Corrigé V4) */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}
.faq-answer {
    overflow: hidden;
}
.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-item.active .faq-question-text {
    color: #0A3D7F; 
}
.faq-icon, .faq-question-text {
    transition: all 0.3s ease-out;
}

/* Tabs (Services) */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}
.tab-pane.active {
    display: grid;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Preloader (Commenté) */
/*
.preloader { ... }
.spinner { ... }
*/

@media (max-width: 768px) {
    .text-block.min-h-\[60vh\].md\:min-h-screen.flex.flex-col.justify-center.py-12 {
        padding-top: 0rem;
        padding-bottom: 5rem;
        min-height: max-content;
    }
    .md\:grid-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .h-screen {
        height: 90vh !important;
    }
}

/* STYLES FORMULAIRE CONTACT */
.form-input {
    width: 100%;
    background-color: #08336A;
    border: 1px solid #1A4D8F;
    color: #FFFFFF;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem; 
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.form-input::placeholder {
    color: #A0AEC0; 
}
.form-input:focus {
    outline: none;
    border-color: #b08d57; 
    box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.5); 
}
.form-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Styles Héro (de votre code) */
.via-black\/40 {
    --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: rgb(0 0 0 / 94%), rgb(0 0 0 / 0.4) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}
.to-transparent {
    --tw-gradient-to: #0000009c var(--tw-gradient-to-position) !important;
}
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops)) !important;
}

/* STYLES BOUTON WHATSAPP */
.float {
    position: fixed;
    width: 55px;
    height: 55px;
    right: 40px;
    bottom: 24px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    font-size: 30px;
    z-index: 100;
    align-items: center;
    justify-content: center;
    
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.float-visible {
    transform: scale(1);
    opacity: 1;
}

/* ============================
   STYLES INSTAGRAM (Corrigés V3 - Format 4:5)
   ============================ */

/* Pour cacher la barre de scroll des highlights */
.highlight-reel::-webkit-scrollbar {
  display: none;
}
.highlight-reel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.ig-post-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px; /* Petite bordure comme sur IG */
    
    /* ============================
       CHANGEMENT : Format 4:5 (Portrait)
       ============================ */
    aspect-ratio: 4 / 5; 
}

.ig-post-image {
    width: 100%;
    /* ============================
       CHANGEMENT : Remplir le conteneur 4:5
       ============================ */
    height: 100%; 
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ig-post-link:hover .ig-post-image {
    transform: scale(1.1);
}

.ig-post-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ig-post-link:hover .ig-post-overlay {
    opacity: 1;
}

/* Responsive pour la grille IG */
@media (max-width: 768px) {
    /* L'aspect-ratio 4:5 sera conservé, c'est parfait. */
}