/* ===================================================
   STYLES EXEMPLE.PHP - PAGE VITRINE CAPITAL TALENTS
   =================================================== */

/* HERO SECTION EXEMPLE */
.exemple-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #3a6d8c 100%);
    color: white;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.exemple-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.exemple-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.exemple-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.exemple-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.exemple-hero-title .highlight {
    color: #93c5fd;
}

.exemple-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.exemple-hero-price {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.exemple-hero-price .price-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fb923c;
}

.exemple-hero-price .price-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* SECTION LIVRABLES */
.livrables-section {
    background: #f7f8fa;
    padding: 6rem 0;
}

.livrables-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.livrables-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.livrables-intro p {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
}

/* GRILLE DE CARTES LIVRABLES */
.livrables-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grille des livrables phares (3 colonnes) */
.livrables-phares {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 3rem;
}

/* Grille des tests (4 colonnes, plus petites) */
.livrables-tests {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.livrable-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    color: inherit;
}

.livrable-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.livrable-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.livrable-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.livrable-card:hover .livrable-image {
    transform: scale(1.05);
}

/* Placeholder pour les images */
.livrable-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.livrable-placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.livrable-placeholder-text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Badge numéro sur la carte */
.livrable-number {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    z-index: 2;
}

/* Icône play pour la vidéo */
.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.play-icon-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid #f97316;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    margin-left: 5px;
}

.livrable-card:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Contenu de la carte */
.livrable-content {
    padding: 1.8rem;
}

.livrable-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.livrable-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

/* POPUP VIDÉO */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-popup-overlay.active .video-popup-container {
    transform: scale(1);
}

.video-popup-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.video-popup-close:hover {
    background: #fb923c;
    border-color: #fb923c;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .video-popup-container {
        width: 95%;
    }

    .video-popup-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* POPUP IMAGE */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-popup-overlay.active .image-popup-container {
    transform: scale(1);
}

.image-popup-container img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-popup-title {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
}

.image-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.image-popup-close:hover {
    background: #fb923c;
    border-color: #fb923c;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .image-popup-container {
        max-width: 95%;
    }

    .image-popup-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .image-popup-title {
        font-size: 1rem;
    }
}

/* Cartes phares - style premium */
.livrable-card-phare {
    border: 2px solid rgba(59, 130, 246, 0.15);
}

.livrable-card-phare:hover {
    border-color: #3b82f6;
}

/* Cartes tests - plus compactes */
.livrable-card-test {
    border-radius: 16px;
}

.livrable-card-test .livrable-image-container {
    aspect-ratio: 16/9;
}

.livrable-card-test .livrable-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.livrable-card-test .livrable-content {
    padding: 1.2rem;
}

.livrable-card-test .livrable-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.livrable-card-test .livrable-description {
    font-size: 0.85rem;
    line-height: 1.5;
}

.livrable-card-test .livrable-placeholder-icon {
    font-size: 2.5rem;
}

.livrable-card-test .livrable-placeholder-text {
    font-size: 0.75rem;
}

/* SECTION RÉCAPITULATIF */
.recap-section {
    background: white;
    padding: 6rem 0;
}

.recap-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.recap-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recap-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.recap-header p {
    font-size: 1.15rem;
    color: #4b5563;
}

.recap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.recap-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 1rem;
    border-left: 4px solid #3b82f6;
    transition: all 0.4s ease;
}

.recap-item:hover {
    background: #eff6ff;
    transform: translateX(10px);
}

.recap-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.recap-text {
    flex: 1;
}

.recap-text strong {
    display: block;
    font-size: 1.1rem;
    color: #1e3a5f;
    margin-bottom: 0.3rem;
}

.recap-text span {
    font-size: 0.95rem;
    color: #64748b;
}

/* Bloc prix récapitulatif */
.recap-price-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.recap-price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 70%);
    border-radius: 50%;
}

.recap-price-content {
    position: relative;
    z-index: 2;
}

.value-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-old {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.5;
}

.price-arrow {
    font-size: 1.5rem;
    opacity: 0.7;
}

.price-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #fb923c;
    text-shadow: 0 4px 20px rgba(251, 146, 60, 0.4);
}

.price-ttc {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-note {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 1rem;
}

/* SECTION GARANTIE PREMIUM */
.garantie-section-premium {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #3a6d8c 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.garantie-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.garantie-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.garantie-icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.garantie-shield {
    width: 50px;
    height: 50px;
    color: #93c5fd;
}

.garantie-content {
    flex: 1;
}

.garantie-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.garantie-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.garantie-text strong {
    color: #93c5fd;
}

.garantie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.garantie-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.garantie-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.garantie-badge svg {
    color: #93c5fd;
    flex-shrink: 0;
}

/* Responsive garantie */
@media (max-width: 768px) {
    .garantie-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .garantie-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .garantie-shield {
        width: 40px;
        height: 40px;
    }

    .garantie-title {
        font-size: 1.4rem;
    }

    .garantie-badges {
        justify-content: center;
    }

    .garantie-badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
    }
}

/* ANIMATIONS AU SCROLL */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Délais d'animation pour les cartes */
.livrable-card:nth-child(1) { transition-delay: 0.1s; }
.livrable-card:nth-child(2) { transition-delay: 0.2s; }
.livrable-card:nth-child(3) { transition-delay: 0.3s; }
.livrable-card:nth-child(4) { transition-delay: 0.4s; }
.livrable-card:nth-child(5) { transition-delay: 0.5s; }
.livrable-card:nth-child(6) { transition-delay: 0.6s; }

/* Délais d'animation pour le récap */
.recap-item:nth-child(1) { transition-delay: 0.1s; }
.recap-item:nth-child(2) { transition-delay: 0.2s; }
.recap-item:nth-child(3) { transition-delay: 0.3s; }
.recap-item:nth-child(4) { transition-delay: 0.4s; }
.recap-item:nth-child(5) { transition-delay: 0.5s; }
.recap-item:nth-child(6) { transition-delay: 0.6s; }

/* Animation fade-in pour le hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exemple-hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.exemple-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.exemple-hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.exemple-hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.exemple-hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .livrables-phares {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .livrables-tests {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .exemple-hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .exemple-hero-title {
        font-size: 2.2rem;
    }

    .exemple-hero-subtitle {
        font-size: 1.1rem;
    }

    .livrables-phares {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .livrables-tests {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .livrables-intro h2,
    .recap-header h2 {
        font-size: 1.8rem;
    }

    .recap-item {
        padding: 1.2rem 1.5rem;
    }

    .recap-price-box {
        padding: 2rem 1.5rem;
    }

    .price-new {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .exemple-hero-title {
        font-size: 1.8rem;
    }

    .exemple-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
    }

    .livrable-content {
        padding: 1.5rem;
    }

    .livrable-title {
        font-size: 1.05rem;
    }

    .livrables-tests {
        grid-template-columns: 1fr;
    }
}
