
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');



/* ===== STYLES GÉNÉRAUX AMÉLIORÉS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0e2a3a;
    --primary-medium: #1a5276;
    --primary-light: #2980b9;
    --accent-gold: #d4af37;
    --accent-sand: #f5d76e;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary-medium), var(--primary-light));
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), var(--accent-sand));
    --border-radius: 15px;
    --border-radius-lg: 25px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --box-shadow: 0 10px 30px var(--shadow-medium);
    --box-shadow-lg: 0 20px 50px var(--shadow-dark);
}

body {
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--background-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ===== ÉCRAN DE CHARGEMENT AMÉLIORÉ ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo img {
    height: 80px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.loading-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textReveal 0.5s forwards;
}

.loading-text span:nth-child(1) { animation-delay: 0.1s; }
.loading-text span:nth-child(2) { animation-delay: 0.2s; }
.loading-text span:nth-child(3) { animation-delay: 0.3s; }
.loading-text span:nth-child(4) { animation-delay: 0.4s; }
.loading-text span:nth-child(5) { animation-delay: 0.5s; }
.loading-text span:nth-child(6) { animation-delay: 0.6s; }
.loading-text span:nth-child(7) { animation-delay: 0.7s; }
.loading-text span:nth-child(8) { animation-delay: 0.8s; }
.loading-text span:nth-child(9) { animation-delay: 0.9s; }
.loading-text span:nth-child(10) { animation-delay: 1.0s; }
.loading-text span:nth-child(11) { animation-delay: 1.1s; }

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* ===== HEADER AMÉLIORÉ ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-medium);
}

.nav-link.active {
    color: var(--primary-medium);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-medium);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* ===== BOUTONS AMÉLIORÉS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.btn-primary:hover {
    background-position: right center;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary-medium);
    color: white;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover:after {
    width: 300px;
    height: 300px;
}

/* ===== HERO SECTION AMÉLIORÉE ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1);
    animation: zoomEffect 15s infinite;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(14, 42, 58, 0.8) 0%,
        rgba(26, 82, 118, 0.6) 50%,
        rgba(14, 42, 58, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.5s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 2s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: white;
    margin: 0 auto;
    position: relative;
}

.scroll-arrow:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* ===== SECTIONS GÉNÉRIQUES ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.light {
    color: white;
}

.section-title {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header.light .section-title {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== VILLA PANORAMA AMÉLIORÉE ===== */
.villa-panorama {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.villa-panorama:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(14,42,58,0.02)"/></svg>');
    background-size: cover;
}

.villa-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.villa-text {
    flex: 1;
}

.villa-text h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.villa-text h1:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.villa-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(14, 42, 58, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(14, 42, 58, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-medium);
    font-size: 1.2rem;
}

.villa-images {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    max-width: 600px;
}

.main-image {
    flex: 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    transition: var(--transition);
}

.main-image:hover {
    transform: translateY(-10px);
}

.main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.secondary-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.small-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.small-image:hover {
    transform: translateY(-5px);
}

.small-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.small-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.main-image:hover .image-overlay,
.small-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.image-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ===== ABOUT SECTIONS AMÉLIORÉES ===== */
.about {
    background: var(--background-white);
}

.about.in-love {
    background: var(--background-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
}

.about-text h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

.about-content.reverse .about-text h2:after {
    left: auto;
    right: 0;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
}

.image-frame:hover {
    transform: scale(1.02);
}

.image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    top: 20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 200px;
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.floating-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.location-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    backdrop-filter: blur(10px);
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-medium);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ===== TABS AMÉLIORÉS ===== */
.destination-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tab {
    padding: 1rem 1.5rem;
    background: rgba(14, 42, 58, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-medium);
}

.tab:hover {
    background: rgba(14, 42, 58, 0.2);
}

.tab.active {
    background: var(--primary-medium);
    color: white;
}

.tab-content {
    display: none;
    margin-bottom: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ===== TESTIMONIALS AMÉLIORÉS ===== */
.testimonials {
    position: relative;
    padding: 120px 0;
    color: white;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.testimonials-bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
    transform: scale(1.1);
    animation: zoomEffect 15s infinite;
}

.carousel-slide.active {
    opacity: 1;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(14, 42, 58, 0.8) 0%, 
        rgba(26, 83, 118, 0.6) 50%,
        rgba(14, 42, 58, 0.8) 100%
    );
    z-index: 2;
}

.testimonials-carousel {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    text-align: center;
}

.testimonial.active {
    display: block;
    animation: fadeInUp 0.8s ease;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.testimonial p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: white;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
    color: white;
}

.rating {
    margin-top: 0.5rem;
    color: var(--accent-gold);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.testimonials-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* ===== NOSY IRANJA AMÉLIORÉE ===== */
.nosy-iranja {
    background: var(--background-white);
}

.iranja-content,
.lemuriens-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.iranja-text,
.lemuriens-text {
    flex: 1;
}

.iranja-text h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.iranja-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.iranja-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    background: rgba(14, 42, 58, 0.05);
    transform: translateX(10px);
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-medium);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.btn-iranja {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-iranja:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
    background-position: right center;
}

.iranja-image,
.lemuriens-image {
    flex: 1;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
}

.image-container:hover {
    transform: translateY(-10px);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lemuriens-text h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.lemuriens-text h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.lemur-facts {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.fact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(14, 42, 58, 0.05);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: var(--transition);
}

.fact:hover {
    background: rgba(14, 42, 58, 0.1);
    transform: translateY(-3px);
}

.fact i {
    color: var(--primary-medium);
}

/* ===== NEWSLETTER AMÉLIORÉE ===== */
.newsletter {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./Follio/Img/IMG1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.newsletter-benefits {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit i {
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.benefit span {
    font-weight: 500;
}

.newsletter-form {
    flex: 1;
    max-width: 400px;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-container h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ===== FOOTER AMÉLIORÉ ===== */
footer {
    background: linear-gradient(135deg, #0a1c27, var(--primary-dark));
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: white;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary-medium);
    bottom: -8px;
    left: 0;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--primary-medium);
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-column ul li a i {
    font-size: 0.8rem;
    width: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    width: 20px;
    color: var(--primary-medium);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* ===== BOUTON RETOUR EN HAUT AMÉLIORÉ ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-medium);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--box-shadow-lg);
}

/* ===== CHATBOT AMÉLIORÉ ===== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.chatbot-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--box-shadow-lg);
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-chatbot:hover {
    transform: scale(1.1);
}

.chatbot-messages {
    height: 300px;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 15px;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.bot-message {
    background: rgba(14, 42, 58, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--primary-medium);
}

.chatbot-input button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background: var(--primary-medium);
    transform: scale(1.05);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes zoomEffect {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .villa-content,
    .about-content,
    .iranja-content,
    .lemuriens-section {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .villa-content,
    .about-content,
    .iranja-content,
    .lemuriens-section {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content.reverse {
        flex-direction: column;
    }
    
    .villa-text h1:after,
    .about-text h2:after,
    .lemuriens-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content.reverse .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .floating-card {
        right: 20px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .destination-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .villa-content,
    .testimonial-content,
    .form-container {
        padding: 2rem;
    }
    
    .villa-images {
        flex-direction: column;
    }
    
    .secondary-images {
        flex-direction: row;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .small-image img {
        height: 120px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .chatbot-container {
        width: 300px;
    }
    
    .chatbot-widget {
        left: 15px;
        bottom: 15px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .villa-text h1,
    .about-text h2,
    .iranja-text h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .villa-content,
    .testimonial-content,
    .form-container {
        padding: 1.5rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-benefits {
        flex-direction: column;
    }
    
    .benefit {
        justify-content: center;
    }
    
    .testimonial p {
        font-size: 1.1rem;
    }
    
    .author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .chatbot-container {
        width: 280px;
        left: -100px;
    }
}

/* ===== ANIMATIONS AU SCROLL ===== */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.villa-text,
.about-text,
.iranja-text,
.lemuriens-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.villa-text.animate-in,
.about-text.animate-in,
.iranja-text.animate-in,
.lemuriens-text.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== AMÉLIORATIONS D'ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour la navigation au clavier */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-medium);
    outline-offset: 2px;
}

/* Contraste amélioré pour le texte */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-medium: #333333;
        --text-light: #666666;
    }
}