/* ============================================
   SECTION FNCA (FÉDÉRATION NATIONALE DU CINÉMA)
   ============================================ */

.fnca-section {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 50%, #FFF9F0 100%);
    overflow: hidden;
}

/* Pattern de fond */
.fnca-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Film strip en bas */
.fnca-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='filmStripFNCA' x='0' y='0' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3Crect width='120' height='120' fill='none'/%3E%3Crect x='5' y='0' width='15' height='120' fill='%23FFD700' fill-opacity='0.05'/%3E%3Crect x='95' y='0' width='15' height='120' fill='%23FFD700' fill-opacity='0.05'/%3E%3Crect x='30' y='0' width='3' height='120' fill='%23FF0000' fill-opacity='0.04'/%3E%3Crect x='45' y='0' width='3' height='120' fill='%23FF0000' fill-opacity='0.04'/%3E%3Crect x='70' y='0' width='3' height='120' fill='%230a7734' fill-opacity='0.04'/%3E%3Crect x='85' y='0' width='3' height='120' fill='%230a7734' fill-opacity='0.04'/%3E%3Ccircle cx='12' cy='20' r='3' fill='%23FFFFFF' fill-opacity='0.06'/%3E%3Ccircle cx='12' cy='60' r='3' fill='%23FFFFFF' fill-opacity='0.06'/%3E%3Ccircle cx='12' cy='100' r='3' fill='%23FFFFFF' fill-opacity='0.06'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23filmStripFNCA)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 120px 120px;
    opacity: 0.3;
    pointer-events: none;
}

.fnca-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Badge */
.fnca-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 0.9rem;
    color: #000;
}

.fnca-badge span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: #DAA520;
    letter-spacing: 1px;
}

/* Header */
.fnca-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fnca-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-wave {
    animation: wave 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.fnca-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fnca-divider .divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0a7734, #085c28, transparent);
}

.fnca-divider i {
    font-size: 1.2rem;
    color: #FF0000;
}

/* Contenu principal - Photo à gauche, texte à droite */
.fnca-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fnca-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PORTRAIT FNCA (À GAUCHE)
   ============================================ */

.fnca-portrait {
    background: linear-gradient(135deg, #4a2e00 0%, #8b6b00 50%, #DAA520 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* SVG Fond - Bobine de film */
.portrait-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='reelPatternFNCA' x='0' y='0' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3Cg opacity='0.15'%3E%3Ccircle cx='60' cy='60' r='30' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='60' r='20' fill='none' stroke='%23FFFFFF' stroke-width='0.8' stroke-dasharray='4,4'/%3E%3Ccircle cx='60' cy='60' r='8' fill='%23FFFFFF' fill-opacity='0.2'/%3E%3Ccircle cx='60' cy='30' r='3' fill='%23FFFFFF' fill-opacity='0.1'/%3E%3Ccircle cx='60' cy='90' r='3' fill='%23FFFFFF' fill-opacity='0.1'/%3E%3Ccircle cx='30' cy='60' r='3' fill='%23FFFFFF' fill-opacity='0.1'/%3E%3Ccircle cx='90' cy='60' r='3' fill='%23FFFFFF' fill-opacity='0.1'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23reelPatternFNCA)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
    opacity: 0.4;
    pointer-events: none;
    animation: slowRotate 40s linear infinite;
}

@keyframes slowRotate {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* SVG Fond - Étoiles */
.portrait-svg-reel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='starPattern' x='0' y='0' width='160' height='160' patternUnits='userSpaceOnUse'%3E%3Cg opacity='0.12'%3E%3Cpolygon points='80,20 85,40 105,40 90,52 98,72 80,60 62,72 70,52 55,40 75,40' fill='%23FFFFFF' fill-opacity='0.1'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23starPattern)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 160px 160px;
    opacity: 0.3;
    pointer-events: none;
    animation: floatBg 20s ease-in-out infinite;
}

@keyframes floatBg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* SVG Fond - Projecteurs */
.portrait-svg-spotlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='120' viewBox='0 0 300 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.15'%3E%3Cpolygon points='30,120 80,50 130,120' fill='%23FFFFFF'/%3E%3Cpolygon points='110,120 160,40 210,120' fill='%23FFFFFF'/%3E%3Cpolygon points='190,120 240,50 290,120' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 300px 120px;
    opacity: 0.3;
    pointer-events: none;
    animation: spotlightSweep 8s linear infinite;
}

@keyframes spotlightSweep {
    0% { background-position: 0 0; }
    100% { background-position: 300px 0; }
}

/* Portrait Frame */
.portrait-frame {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 2rem;
    z-index: 10;
}

/* Anneaux pulsants */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
}

.ring-1 {
    animation: pulseRing 3s ease-out infinite;
}

.ring-2 {
    animation: pulseRing 3s ease-out infinite 1s;
}

.ring-3 {
    animation: pulseRing 3s ease-out infinite 2s;
}

@keyframes pulseRing {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: 220%;
        height: 220%;
        opacity: 0;
    }
}

/* Scan Effect */
.fnca-scan-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 25;
    pointer-events: none;
    overflow: hidden;
}

.fnca-scan-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.15) 30deg,
        rgba(255, 255, 255, 0.4) 45deg,
        rgba(255, 255, 255, 0.15) 60deg,
        transparent 90deg,
        transparent 360deg
    );
    animation: fncaRadarScan 3s linear infinite;
    border-radius: 50%;
}

@keyframes fncaRadarScan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fnca-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.08) 10px,
        rgba(255, 255, 255, 0.08) 12px
    );
    animation: fncaScanMove 2s linear infinite;
    z-index: 26;
}

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

.fnca-scan-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    animation: pulseGlowStatic 2s ease-in-out infinite;
    z-index: 20;
    pointer-events: none;
}

@keyframes pulseGlowStatic {
    0%, 100% {
        opacity: 0.3;
        width: 110%;
        height: 110%;
    }
    50% {
        opacity: 0.6;
        width: 120%;
        height: 120%;
    }
}

/* Glow au survol */
.portrait-glow-fnca {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.5), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.portrait-frame:hover .portrait-glow-fnca {
    opacity: 1;
    animation: pulseGlowFNCA 1.5s ease-in-out infinite;
}

@keyframes pulseGlowFNCA {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Lumière tournante */
.light-sweep-fnca {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 80%);
    border-radius: 50%;
    animation: sweepLight 6s linear infinite;
    pointer-events: none;
    z-index: 12;
}

@keyframes sweepLight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Photo */
.portrait-image-fnca {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFD700;
    position: relative;
    z-index: 30;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.portrait-frame:hover .portrait-image-fnca {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Cadre cinéma */
.cinema-frame {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 18;
    pointer-events: none;
}

.cinema-perforations {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 17;
    pointer-events: none;
    opacity: 0.5;
}

/* Informations FNCA */
.fnca-info {
    color: #FFFFFF;
    position: relative;
    z-index: 20;
}

.fnca-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.fnca-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF0000, #FFD700, #0a7734, transparent);
}

.fnca-title-official {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 1rem 0 0.8rem;
    line-height: 1.4;
}

.fnca-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.7rem;
    color: #FFD700;
    font-style: italic;
}

.fnca-signature i {
    font-size: 0.8rem;
}

/* ============================================
   MESSAGE FNCA (À DROITE)
   ============================================ */

.fnca-message {
    padding: 2rem;
    background: #FFFFFF;
}

.message-quote {
    margin-bottom: 1rem;
}

.message-quote i {
    font-size: 2.5rem;
    color: rgba(255, 215, 0, 0.3);
}

.message-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #DAA520;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #FFD700;
}

.message-content-wrapper {
    position: relative;
}

.message-content {
    color: #4B5563;
    line-height: 1.7;
    max-height: 280px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-content.expanded {
    max-height: 2000px;
}

.message-content-wrapper.collapsed .message-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #FFFFFF);
    pointer-events: none;
}

.message-content p {
    margin-bottom: 1.2rem;
}

.message-content strong {
    color: #DAA520;
    font-weight: 700;
}

.message-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.message-closing {
    font-style: italic;
    padding: 1rem;
    background: #FFFBEB;
    border-radius: 16px;
    color: #4B5563;
    margin-bottom: 1rem;
}

.message-closing i {
    color: #FFD700;
    margin-right: 0.75rem;
}

.message-closing p {
    margin: 0;
    font-size: 0.95rem;
}

.message-signature {
    padding: 1rem;
    text-align: right;
}

.message-signature p {
    font-style: italic;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.signature-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-weight: 600;
    color: #DAA520;
}

.signature-line i {
    font-size: 0.9rem;
}

/* Bouton Toggle */
.message-toggle {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.8rem;
    background: transparent;
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #DAA520;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    border-color: #DAA520;
    background: rgba(218, 165, 32, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.2);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.message-content-wrapper.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* Décoration */
.fnca-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.deco-star {
    width: 40px;
    height: 40px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deco-star i {
    font-size: 1.2rem;
    color: #DAA520;
}

/* Responsive */
@media (max-width: 1024px) {
    .fnca-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .fnca-portrait {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .fnca-section {
        padding: 3rem 0;
    }
    
    .fnca-container {
        padding: 0 1rem;
    }
    
    .portrait-frame {
        width: 180px;
        height: 180px;
    }
    
    .fnca-name {
        font-size: 1rem;
    }
    
    .message-content {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .fnca-portrait {
        padding: 2rem;
    }
    
    .portrait-frame {
        width: 150px;
        height: 150px;
    }
    
    .message-subtitle {
        font-size: 0.9rem;
    }
    
    .toggle-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}