/* @override 
	https://idf-nature-foret-voeux.gorelkine.com/wp-content/themes/idf-nature-foret-voeux/css/ifn-foret-voeux.css?* */





/* Wrapper général */
.ifn-foret-wrapper {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    top: 0;
    position: absolute;	height: 100%;
}.ifn-foret-wrapper:after {	content: '';	display: block;	position: absolute;	right: 20px;	bottom: 25px;	width: 20%;	height: 80px;	background: url('../images/logo-IDF-nature-blanc.svg') no-repeat bottom right;	z-index: 999;	width: 250px;	-webkit-filter: drop-shadow( 2px 5px 5px rgba(20, 87, 45, .2));	filter: drop-shadow( 2px 5px 5px rgba(20, 87, 45, .2));}

/* Header caché (titre maintenant dans la scène) */
.ifn-foret-header {
    display: none;
}

/* Scène forêt */
.ifn-foret-scene {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: none;
    background: linear-gradient(to bottom, #fbf9ee 0%, #dfebc0 45%, #dfebc0 100%) #fbf9ee;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Fond vert - caché par défaut, affiché après chargement */
.ifn-foret-scene::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: #a9c77a;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-out 0.6s;
}

.ifn-foret-scene.is-loaded::after {
    opacity: 1;
}

/* ========================================
   ANIMATIONS D'APPARITION
   ======================================== */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(80px) translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}



/* Arbres - simple opacity transition */
.ifn-tree {
    opacity: 1;
}

/* Titre et logo - apparition */
.ifn-scene-title,
.ifn-logo-top-right {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ifn-voeu-trigger-btn {
    opacity: 0;
}

.ifn-foret-scene.is-loaded .ifn-scene-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.ifn-foret-scene.is-loaded .ifn-logo-top-right {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.ifn-foret-scene.is-loaded .ifn-voeu-trigger-btn {
    opacity: 1;
}

/* ========================================
   POPUP / LIGHTBOX FORMULAIRE
   ======================================== */
.ifn-voeu-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(147, 165, 37, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ifn-voeu-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ifn-voeu-popup {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 30px 30px 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;	font-family: "TT Hoves";	font-weight: normal;	padding-bottom: 10px;
}

.ifn-voeu-popup-overlay.is-visible .ifn-voeu-popup {
    transform: translateY(0) scale(1);
}

.ifn-voeu-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: #185719;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    line-height: 0.9em;
    transition: background 0.2s ease, color 0.2s ease;
}

.ifn-voeu-popup-close:hover {
    background: #edf2e1;
    color: #185719;
}

.ifn-voeu-popup-title {
    font-size: 2em;	line-height: 1em;
    color: #185719!important;
    text-align: center;	font-family:"Arya-Double";	font-weight: normal;	 -webkit-font-smoothing: antialiased;	 max-width: 280px;	 margin: auto;	 margin-bottom: 20px;}

.ifn-voeu-popup .ifn-voeu-field {
    margin-bottom: 18px;
}

.ifn-voeu-popup .ifn-voeu-field label {
    display: block;
    font-weight: normal;
    color: #185719;
    margin-bottom: 8px;	line-height: 1.1em;
    font-size: 1.1em!important;	
}

.ifn-voeu-popup .ifn-voeu-field textarea,
.ifn-voeu-popup .ifn-voeu-field input[type="text"], input#ifn-voeu-email {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #d3dfb3;
    padding: 12px 14px!important;
    font-size: 1em!important;	line-height: 1.1em!important;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;	color: #000!important;	background-color: #edf2e1 !important;	border-radius: 6px!important;	margin-bottom: 10px!important;}

.ifn-voeu-popup .ifn-voeu-field textarea:focus,
.ifn-voeu-popup .ifn-voeu-field input[type="text"]:focus {
    outline: none;
    border-color: #0f4d2b;
    box-shadow: 0 0 0 3px rgba(15, 77, 43, 0.1);
}

.ifn-voeu-popup .ifn-voeu-submit {
    width: 100%;
    margin-top: 8px;    padding: 14px 24px 12px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #0f4d2b 0%, #1c6a3a 100%);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 77, 43, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;	font-family: "Arya-Single";
}

.ifn-voeu-popup .ifn-voeu-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 77, 43, 0.4);
}

.ifn-voeu-popup .ifn-voeu-submit:disabled {
    background: linear-gradient(135deg, #999 0%, #bbb 100%);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.ifn-voeu-popup .ifn-voeu-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

.ifn-voeu-popup .ifn-voeu-message {
    margin-top: 14px!important;
    font-size: 0.9rem;
    color: #185719;
    text-align: center;
    min-height: 1.2em;	display: block;	line-height: 1em;
}

/* ========================================
   CONTRÔLES ZOOM en bas à gauche (ligne)
   ======================================== */
.ifn-foret-controls {
    position: absolute;
    left: 70px;
    bottom: 16px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 9999;
}

.ifn-foret-zoom-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: #185719;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ifn-foret-zoom-btn:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.ifn-foret-zoom-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* ========================================
   LOGO BLANC HORIZONTAL - bas droite (FIXE)
   ======================================== */
.ifn-logo-bottom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    height: 40px;	width: 100px;
    z-index: 9999;
    pointer-events: none;
}

.ifn-logo-bottom img {
    height: 100%;
    width: 300px;
    object-fit: contain;
    opacity: 0.95;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ========================================
   CONTENEUR INTÉRIEUR (zoom/pan)
   ======================================== */
.ifn-foret-inner {
    position: absolute;
    inset: 0;
    transform-origin: center center;
    transform: translate(0, 0) scale(1);
    transition: transform 0.15s ease-out;
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ifn-foret-inner.is-dragging {
    transition: none;
}

/* ========================================
   BOUTON "Faites un vœu" (dans sceneInner, bouge avec pan/zoom)
   ======================================== */
.ifn-voeu-trigger-btn {
    font-family: "Arya-Single";
    line-height: 1em;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #185719;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 16px 32px 12px;
    font-size: 1.1vw;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(15, 77, 43, 0.45);
    text-align: center;
    pointer-events: auto;	transition: all 0.3s ease-in-out 0s!important;
}

.ifn-voeu-trigger-btn:hover {
    box-shadow: 0 0px 0px rgba(15, 77, 43, 0.0);	background: #fff;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);	transition: all 0.3s ease-in-out 0s!important;	color: #185719;
}

/* ========================================
   TITRE "Forêt des vœux" en haut à gauche
   (dans sceneInner, bouge avec pan/zoom)
   ======================================== */
.ifn-scene-title {
    position: absolute;
    top: 5%;
    left: 3%;
    z-index: 0;
    pointer-events: none;
}

.ifn-scene-title h2 {
    font-family: "Arya-Double";
    color: #0f4d2b !important;
    margin: 0;
    font-size: 5vw;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 0.9em;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);	z-index: 0;
}

.ifn-scene-title h2 .small {
    font-size: 0.5em;
    position: relative;
    top: -0.7em;
    margin-right: -10px;
}

/* ========================================
   LOGO 3:4 en haut à droite
   (dans sceneInner, bouge avec pan/zoom)
   ======================================== */
.ifn-logo-top-right {
    position: absolute;
    top: 4%;
    right: 3%;
    width: 15vh;
    z-index: 50;
    pointer-events: none;	z-index: 0;
}

.ifn-logo-top-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ========================================
   SVG PAYSAGE
   ======================================== */
.ifn-foret-landscape {
    position: absolute;
    width: 300%;
    height: 100%;
    left: -100%;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.ifn-hill--far  { fill: #dfecc0; }
.ifn-hill--mid  { fill: #c6dca0; }
.ifn-hill--near { fill: #a9c77a; }

/* Conteneurs de parallaxe */
.ifn-parallax-layer {
    position: absolute;
    width: 300%;
    height: 100%;
    left: -100%;
    top: 0;
    pointer-events: none;
    will-change: transform, opacity;
    /* Initial state - hidden, will be animated by JS */
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

/* When loaded, layers become visible */
.ifn-foret-scene.is-loaded .ifn-parallax-layer--far {
    opacity: 1;
    transition-delay: 0.15s;
}

.ifn-foret-scene.is-loaded .ifn-parallax-layer--mid {
    opacity: 1;
    transition-delay: 0.35s;
}

.ifn-foret-scene.is-loaded .ifn-parallax-layer--near {
    opacity: 1;
    transition-delay: 0.55s;
}

.ifn-parallax-layer--far  { z-index: 2; }
.ifn-parallax-layer--mid  { z-index: 3; }
.ifn-parallax-layer--near { z-index: 4; }

/* Conteneur des arbres */
.ifn-trees-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;	
}

/* ========================================
   ARBRES
   ======================================== */
.ifn-tree {
    position: absolute;
    transform-origin: 50% 100%;
    will-change: transform, z-index, opacity;
    transition: transform 0.15s ease-out;
    pointer-events: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    cursor: pointer;
}

.ifn-tree:focus {
    outline: none;
}

.ifn-tree img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ifn-tree[data-depth="far"] {
    opacity: 0.92;
}

/* Hover: scale up + z-index boost via class */
.ifn-tree:hover {
    transform: translateY(-4px) scale(1.05);
}

.ifn-tree.is-hovered {
    z-index: 9000 !important;
}

/* ========================================
   MES ARBRES (localStorage)
   ======================================== */
.ifn-tree--mine {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1));
}

.ifn-tree--mine::before {
    content: '⭐';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ========================================
   ARBRE HIGHLIGHT (depuis URL ?highlight=ID)
   ======================================== */
.ifn-tree--highlight {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1)) drop-shadow(0 0 15px rgba(255, 215, 0, 1)) drop-shadow(0 0 30px rgba(255, 180, 0,1));
    z-index: 8000 !important;
}

@keyframes treePulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    }
    50% { 
        transform: scale(1.08); 
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1)) drop-shadow(0 0 40px rgba(255, 180, 0, 0.7));
    }
}

.ifn-tree--pulse {
    animation: treePulse 0.8s ease-in-out 3;
}

/* ========================================
   TOOLTIP - Bulle BD avec flèche vers le bas
   Animation fondu par le haut
   ======================================== */
.ifn-voeu-tooltip {
    position: absolute;
    z-index: 9500;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Animation d'apparition - fondu par le haut */
    opacity: 0;
    transform: translateX(-50%) translateY(-80%);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.ifn-voeu-tooltip.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-100%);
}

.ifn-voeu-tooltip[hidden] {
    display: block !important;
    visibility: hidden;
}

.ifn-voeu-tooltip-content {
    position: relative;
    width: max-content;
    max-width: 280px;
    min-width: 140px;
    background: #ffffff;
    color: #185719;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    padding: 14px 16px;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: normal;
    word-wrap: break-word;
}

/* Flèche vers le bas (style BD) */
.ifn-voeu-tooltip-content::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #ffffff;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.ifn-voeu-tooltip-text {
    margin: 0 0 8px;	font-size: 1.2em;
    font-weight: 400;
}

.ifn-voeu-tooltip-author {
    margin: 0;
    color: #185719;
    font-size: 1.1em;	font-weight: bold;	font-style: italic;}

/* Désactiver la sélection */
.ifn-foret-scene *::selection {
    background: transparent;
}

.ifn-foret-scene *::-moz-selection {
    background: transparent;
}/* ========================================
   POPUP POLITIQUE DE CONFIDENTIALITÉ
   ======================================== */
.ifn-privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ifn-privacy-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ifn-privacy-popup {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.ifn-privacy-popup-overlay.is-visible .ifn-privacy-popup {
    transform: translateY(0);
}

.ifn-privacy-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.ifn-privacy-popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

.ifn-privacy-popup-title {
    padding: 20px 50px 15px 25px;
    margin: 0;
    font-size: 1.4rem;
    color: #185719;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.ifn-privacy-popup-content {
    padding: 20px 25px 25px;
    overflow-y: auto;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.ifn-privacy-popup-content h4 {
    color: #185719;
    margin: 1.5em 0 0.5em;
    font-size: 1.1rem;
}

.ifn-privacy-popup-content h4:first-child {
    margin-top: 0;
}

.ifn-privacy-popup-content p {
    margin: 0 0 1em;
}

.ifn-privacy-popup-content ul {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.ifn-privacy-popup-content li {
    margin-bottom: 0.3em;
}

/* Scrollbar stylée */
.ifn-privacy-popup-content::-webkit-scrollbar {
    width: 8px;
}

.ifn-privacy-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.ifn-privacy-popup-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.ifn-privacy-popup-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Lien politique de confidentialité */
.ifn-privacy-link {
    color: #185719!important;
    text-decoration: underline;
    cursor: pointer;	font-weight: bold;}

.ifn-privacy-link:hover {
    color: #000!important;
}.cookieadmin_re_consent{
	background: #185719;	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);	width: 44px;	height: 44px;	position: fixed;
}

/* Responsive */
@media (max-width: 600px) {
    .ifn-privacy-popup {
        width: 95%;
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .ifn-privacy-popup-title {
        padding: 15px 45px 12px 15px;
        font-size: 1.2rem;
    }
    
    .ifn-privacy-popup-content {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* ========================================
   RESPONSIF
   ======================================== */   @media (min-width: 1920px) {	   	.ifn-voeu-trigger-btn {   		font-size: 20px;   	}   	
}      @media (max-width: 1380px) {       .ifn-voeu-trigger-btn {
        font-size: 14px;
    }   	}   
@media (max-width: 900px) {
    .ifn-foret-wrapper {
        margin: 0;
        padding: 0px;		height: 100%;
    }

    .ifn-foret-scene {
        aspect-ratio: none;
        height: 100%;
    }
    
    .ifn-voeu-trigger-btn {
        padding: 12px 20px 10px;
        font-size: 0.85rem;
        top: 14%;
		width: 90%;		max-width: 300px;
    }
    
    .ifn-scene-title {
        top: 3%;
        left: 4%;
    }
    
    .ifn-scene-title h2 {
        font-size: 6vw;
    }
    
    .ifn-logo-top-right {
        top: 2%;
        width: 16vh;		max-width: 15%;
    }		.cookieadmin_re_consent{	width: 40px!important;	height: 40px!important;	bottom: 27px;
}
    
    .ifn-foret-controls {
        left: 65px;
        bottom: 30px;
        gap: 8px;
    }
    
    .ifn-foret-zoom-btn {
        width: 36px;
        height: 36px;
    }
    
    .ifn-foret-zoom-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .ifn-logo-bottom {
        height: 30px;
        bottom: 12px;
        right: 12px;
    }
    
    .ifn-voeu-popup {
        padding: 28px 20px 24px;
        max-width: 90%;
    }
     .ifn-voeu-trigger-btn {		max-width: 260px;		line-height: 1.2em;
    }
    
    .ifn-voeu-tooltip-content {
        max-width: 220px;
        padding: 12px 14px;
        font-size: 0.85rem;
    }	.ifn-voeu-popup-title {
    font-size: 1.8em;	max-width: 85%;}
.ifn-voeu-popup .ifn-voeu-submit {
    font-size: 14px;
}.ifn-foret-wrapper:after {	width: 220px;	right: 15px;	}
}@media (max-width: 480px) {	 .ifn-scene-title {	 	left: 5%;	 	} .ifn-scene-title h2 {
        font-size: 30px;
    }	 .ifn-voeu-trigger-btn {
        padding: 10px 15px 8px;
        font-size: 0.85rem;
        top: 14%;
		width: 90%;
    }	  .ifn-logo-top-right {
       width: 8vh;	   max-width: 8vh;	  right: 5%;
    }
    .ifn-foret-wrapper:after {	width: 160px;	max-width: 45%;	bottom: 30px;	right: 5px;}}
/* ========================================
   ÉLÉMENTS DE DÉCOR
   ======================================== */

/* Container immeubles */
.ifn-decor-immeubles {
    position: absolute;
    top: 70%;
    bottom: 0;
    width: 20%;	height: 100px;
    pointer-events: none;
    z-index: 100;
}

.ifn-decor-immeubles--left {
    left: 0;
}

.ifn-decor-immeubles--right {
    right: 100px;
}

.ifn-decor-immeuble {
    position: absolute;
    pointer-events: none;
}

.ifn-decor-immeuble img {
    width: 100%;
    height: auto;
    opacity: 1;
}

/* Daims */
.ifn-decor-daims {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ifn-decor-daim {
    position: absolute;
    pointer-events: none;
}.ifn-decor-daim:nth-child(1) {	transform: translateX(-17vw) translateY(-80%) scale(1.2);}.ifn-decor-daim:nth-child(2) {	transform: translateX(30vw) translateY(0%) scale(1.5);}

.ifn-decor-daim img {
    width: 100%;
    height: auto;
}

/* Animation subtile des daims au hover sur la scène */
.ifn-decor-daim:nth-child(1):hover {
    transform: translateX(-200%) translateY(-90%) rotate(-2deg);
}

.ifn-decor-daim:nth-child(2):hover {
    transform: translateX(600%) translateY(-90%) scale(1.5) rotate(2deg);
}/* ÉLÉMENTS DE DÉCOR - IMMEUBLES & DAIMS
   Modifier ici pour ajuster position et taille
   ======================================== */      .ifn-decor-immeuble--far-right, .ifn-decor-immeuble--mid-left , .ifn-decor-immeuble--near-right {   		display: none;   	}

.ifn-decor-immeuble--far-right {
    left: 18%;
    bottom: 55%;
    width: 6vmin;
    opacity: 0.9;	z-index: 8;
}

/* ------ IMMEUBLE MID LEFT (milieu, gauche) ------ 
   Taille cohérente avec arbres mid: 5-6.5 vmin
*/
.ifn-decor-immeuble--mid-left {
    left: 92%;
    bottom: 38%;
    width: 7vmin;
    opacity: 1;	z-index: 1;
}

/* ------ IMMEUBLE NEAR RIGHT (proche, droite) ------ 
   Taille cohérente avec arbres near: 6.5-8.5 vmin
*/
.ifn-decor-immeuble--near-right {
    left: 0%;
    bottom: 15%;
    width: 9vmin;
    opacity: 1;	z-index: 1;
}

/* ------ DAIMS ------ */
.ifn-decor-daim {
    position: absolute;
    pointer-events: none;
    z-index: 290;
}

.ifn-decor-daim img {
    width: 100%;
    height: auto;
}

/* Daim gauche - taille cohérente avec arbres near (~6-7 vmin) */
.ifn-decor-daim--left {
    left: 8.85%;
    top: 85%;
    width: 8vmin;
    transform: translateY(-100%);
}

/* Daim droite (retourné horizontalement) */
.ifn-decor-daim--right {
    left: 88%;
    bottom: 6%;
    width: 7vmin;
    transform: translateY(-100%) scaleX(-1);
}

/* Responsive - pas besoin car vmin s'adapte automatiquement */
/* ========================================
   SKYLINE - Sur le même plan que logo/CTA
   Hors vue initiale, visible au pan
   ======================================== */

.ifn-skyline {
    position: absolute;
    top: 20%;
    width: 35vmin;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.ifn-skyline img {
    width: 100%;
    height: auto;
    display: block;
}

/* Skyline gauche - hors vue à gauche (visible en pannant vers la droite) */
.ifn-skyline--left {
    right: calc(100% + 5vmin);	width: 80vmin;
}

/* Skyline droite - hors vue à droite (visible en pannant vers la gauche) */
.ifn-skyline--right {
    left: calc(100% + 5vmin);
}