/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #fff;
    background: #1E2029;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= SKELETON SCREEN ================= */
.skeleton-container {
    position: relative;
    overflow: hidden;
    background-color: #252330;
    border-radius: 10px;
}

.skeleton-container.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: relative;
    z-index: 2;
}

.lazy-img.loaded {
    opacity: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================= SECTIONS SHADES ================= */
.shade-1 { background-color: #1d1b29; }  /* Hero, Réalisations */
.shade-2 { background-color: #1a1825; }  /* Situation, À propos */
.shade-3 { background-color: #1d1b29 ;}  /* Solution, Contact */
.shade-4 { background-color: #111019; }  /* Pack, Footer */

/* ================= NAVIGATION ================= */
a img {
    max-width: 170px;
}
/* ================= BACKGROUND IMAGE HERO + NAV ================= */

#accueil {
    background-image: url("/Background/hero.jpg"); /* <-- remplace ici */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1a1825;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #353535;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 40px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #FFC107;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #FFC107;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #FFC107;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
}
.hero-badge {
            display: inline-block;
            padding: 12px 24px;
            background: #ffc10721 ;
            border: 1px solid #FFC107 ;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 700;
            color: #FFC107;
            margin-bottom: 30px;
            letter-spacing: 0.2px;
        }
.hero-content {
    max-width: 900px;
}
.hero-content4 {
    margin-top:  50px;
}

#contact {
    background-image: url("/Background/fin.jpg"); /* même image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 415px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 80px;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.hero p {
    font-size: 22px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
 
}
.cta-buttons2 {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 650;
    transition: 0.3s;
    letter-spacing: -0.2px;
    text-decoration: none;
    display: inline-block;
     height: 50%;
}

.btn-primary {
    background: #FFC107;
    color: #1E2029;
   
}

.btn-primary:hover {
     background: #dfa806;
}

.btn-secondary {
    border: 2px solid #ffffff50;
    background: #000000d3;
    color: #ffffffaf;
}

.btn-secondary:hover {
     background: #0f0f0f;
    color: #ffffff;
}

/* ================= SECTIONS ================= */
section {
    padding: 100px 40px;
}

.section-title {
    font-size: 40px;
    text-align: left;
    font-weight: 600;
    margin-bottom: 20px;
}
.section-title2 {
    font-size: 40px;
    text-align: left;
    font-weight: 600;
    margin-bottom: 70px;
}

.section-subtitle {
    text-align: left;
    font-size: 20px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 60px;
}

/* ================= SITUATION ================= */
.situation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    gap: 40px;
  
}

.situation-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(124, 124, 124, 0.2);
    border-radius: 8px;
    padding: 40px;
    transition: transform 0.3s, border-color 0.3s;
}

#situation {
     border-bottom: 1px solid #353535;
     border-top: 1px solid #353535;
}

.situation-card:hover {
    transform: translateY(-5px);
    border-color: #FFC107;
}

.situation-card h3 {
    color: #FFC107;
    margin-bottom: 20px;
    font-weight: 600;
}

.situation-card ul {
    list-style: none;
}

.situation-card li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    color: rgba(255,255,255,0.8);
}

.situation-card li::before {
    content: "→";
    position: absolute;
    left:0;
    color:#FFC107;
}

/* ================= SOLUTION ================= */
.solution-content {
    max-width: 900px;
    margin: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,193,7,0.2);
    border-radius: 20px;
    padding: 50px;
}

.solution-content p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

/* ================= PACK ================= */
.pack-container {
    max-width: auto;
    margin: auto;
    border: 2px solid #353535;
    background: #111019;
    border-radius: 10px;
    padding: 60px;
}

.pack-header {
    text-align: center;
    margin-bottom: 50px;
}

.pack-price {
    font-size: 72px;
    font-weight: 700;
    color: #FFC107;
}

.pack-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pack-item {
    background: #252330;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    
}

.pack-item h4 {
    font-size: 20px;
    color:#FFC107;
    margin-bottom: 10px;
    font-weight: 600;

}

.pack-item p {
    color: rgba(255,255,255,0.7);
}

/* ================= REALISATIONS ================= */
#realisations {
    border-top: 1px solid #353535;
    border-bottom: 1px solid #353535;
}
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.realisation-card {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #252330;
    transition: transform 0.3s ease;
}

.realisation-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}

/* Image spécifique à la card */
/* Background images moved to HTML for lazy loading */
.realisation-card:hover {
    transform: scale(1.05);
    border-color: #353535;
}

.realisation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.realisation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10;
}

.realisation-card:hover .realisation-overlay {
    opacity: 1;
    transform: translateY(0);
}

.realisation-overlay h3 {
    color: #ffffff;
    font-size: 15px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.realisation-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    margin: 0;
}

/* ================= À PROPOS ================= */
.about-content {
    display: flex;
    gap: 100px;
    width:100%;
}
/* Icônes centrées et verticales */
.about-social {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 20px;
    align-items: center;
}

.TagMomar {
    margin-top: 17px;
    font-size: 15px;
    font-weight: 300;
    opacity: 0.6;
}
/* Bouton retour visible en responsive */
.btn-back {
    padding: 10px 22px;
    font-size: 14px;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .btn-back {
        padding: 8px 16px;
        font-size: 13px;
        margin-left: 30px;
    }
}

.about-social a {
    color: #ffffffaf;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.about-social a:hover {
    transform: scale(1.2);
    color: #FFC107;
}

.about-photo img {
    width: 350px;
    border-radius: 7px;
    object-fit: cover;
    height: 393px;

}


.about-content p {
    font-size:18px;
    line-height:1.8;
    color:rgba(255,255,255,0.8);
    margin-bottom:20px;
}

.about-title {
    color: #FFC107;
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #FFC107;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* About Formations Section */
.about-formations {
    width: 100%;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #353535;
}

/* Formations */
.formations-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.formation-item {
    padding: 22px;
    background: #111019;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background 0.3s ease, border 0.3s ease;
}

.formation-item:hover {
    background: #1a1620;
    border: 1px solid #353535;
}

.formation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
}

.formation-name {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.formation-name:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.formation-year {
    font-size: 14px;
    font-weight: 500;
    color: #FFC107;
    white-space: nowrap;
}

.formation-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-style: italic;
}

.formation-school {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.formation-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ================= FOOTER / CONTACT ================= */
.Momar {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
  
}
.Momar:hover {
     color:#ff07ea;
    font-weight: 600;
}
.footer-cta {
    text-align:center;
    border-top:1px solid #353535;
    padding:100px 40px;
}

footer {
    text-align:center;
    padding:40px;
    border-top:1px solid #353535;
    color: rgba(255,255,255,0.7);
}
.social-links{
    margin-top:8px;
}
.social-links a {
    color:#FFC107;
    text-decoration:none;
    margin:0 10px;
    transition:0.3s;
}

.social-links a:hover {
    text-decoration:underline;
}

/* ================= RESPONSIVE ================= */

/* ================= HERO FLOATING IMAGES ================= */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 150px;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}


@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.float-music {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}


.float-template {
    bottom: 18%;
    left: 15%;
    animation-delay: 1.5s;
}


.float-footage {
    top: 22%;
    right: 15%;
    animation-delay: 0.8s;
}


.float-sfx {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}
.float-item {
    transform-origin: center;
    animation: floatRotate 7s ease-in-out infinite;
}

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

@media (max-width: 600px) {
    .hero-floating {
        display: none;
    }
}
/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 48px;
        line-height: 65px;
    }
    
    .about-content {
        gap: 60px;
    }
    
    .float-item {
        width: 120px;
    }
}

@media (max-width: 992px) {
    nav .container {
        padding: 25px 30px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1825;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-top: 1px solid #353535;
        display: none;
    }
    
    nav ul.active {
        display: flex;
        padding: 0;
    }
    
    nav ul li {
        padding: 15px 40px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 {
        font-size: 40px;
        line-height: 55px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title, .section-title2 {
        font-size: 36px;
    }
    
    .pack-list {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .about-social {
        flex-direction: row;
        gap: 40px;
        margin-top: 0;
    }
    
    .about-photo img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 45px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 60px;
    }
    
    .cta-buttons2 {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 28px;
    }
    
    .section-title, .section-title2 {
        font-size: 28px;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 16px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .situation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .situation-card {
        padding: 30px;
    }
    
    .pack-container {
        padding: 40px 25px;
    }
    
    .pack-price {
        font-size: 56px;
    }
    
    .pack-item {
        padding: 25px;
    }
    
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .realisation-card {
        height: 250px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-photo img {
        width: 100%;
        height: auto;
    }
    
    .formations-list {
        grid-template-columns: 1fr;
    }
    
    .formation-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .formation-year {
        white-space: normal;
    }
    
    #contact {
        height: auto;
        padding: 80px 20px;
    }
    
    .footer-cta {
        padding: 60px 20px;
    }
    
    .footer-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    a img {
        max-width: 130px;
    }
    
    nav .container {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 26px;
        line-height: 38px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 10px 20px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .section-title, .section-title2 {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .situation-card {
        padding: 25px;
    }
    
    .situation-card h3 {
        font-size: 18px;

    }
    
    .situation-card li {
        font-size: 14px;
    }
    
    .pack-container {
        padding: 30px 20px;
    }
    
    .pack-price {
        font-size: 48px;
    }
    
    .pack-item h4 {
        font-size: 18px;
    }
    
    .pack-item p {
        font-size: 14px;
    }
    
    .about-content p {
        font-size: 16px;
    }
    
    .about-social {
        gap: 30px;
    }
    
    .about-social a {
        font-size: 20px;
    }
    
    .formation-item {
        padding: 15px;
    }
    
    .formation-name {
        font-size: 14px;
    }
    
    .formation-year {
        font-size: 12px;
    }
}
/* Masquer le br mobile par défaut (desktop) */
.mobile-only {
    display: none;
}

/* Afficher le br uniquement sur mobile */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .tiret {
        display: none;
    }
}