/* ==========================================
   Mascarel Conciergerie - Boho Chic Réunion
   100% Static CSS - No frameworks
   ========================================== */

/* ========== CSS Variables ========== */
:root {
    /* Colors - Boho Chic Palette */
    --color-olive: #7A8A46;
    --color-olive-dark: #5F6E32;
    --color-terracotta: #C98C6A;
    --color-sand: #E7D5C7;
    --color-cream: #F6F1EA;
    --color-taupe: #6B5F58;
    --color-charcoal: #3E3A37;
    --color-gold: #B9A170;
    --color-white: #FFFFFF;
    
    /* Gradients */
    --gradient-sand-cream: linear-gradient(135deg, #E7D5C7 0%, #F6F1EA 100%);
    --gradient-olive-terracotta: linear-gradient(135deg, #7A8A46 0%, #C98C6A 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(62, 58, 55, 0.06);
    --shadow-md: 0 4px 16px rgba(62, 58, 55, 0.08);
    --shadow-lg: 0 8px 32px rgba(62, 58, 55, 0.12);
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-medium: 300ms ease;
    --transition-slow: 400ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-taupe);
    background: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.3px;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    letter-spacing: -0.2px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== Utility Classes ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-taupe);
    opacity: 0.8;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-olive);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--gradient-olive-terracotta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border: 2px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-olive);
    border: 2px solid var(--color-olive);
}

.btn-outline:hover {
    background: var(--color-olive);
    color: var(--color-white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-cream);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background var(--transition-medium);
}

.header.scrolled {
    background: rgba(246, 241, 234, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-olive);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-taupe);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-olive);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.toggle-icon {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition-fast);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--gradient-sand-cream);
    overflow: hidden;
}

/* Hero Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 58, 55, 0.6) 0%, rgba(62, 58, 55, 0.4) 50%, rgba(62, 58, 55, 0.5) 100%);
    z-index: 1;
}

/* Hero Decorative Elements */
.hero-arch {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: rgba(122, 138, 70, 0.05);
    border-radius: 50%;
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.floating-leaf {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
    animation: float 15s ease-in-out infinite;
}

.floating-leaf:nth-child(1) {
    top: 20%;
    left: 10%;
    font-size: 3rem;
    animation-delay: 0s;
}

.floating-leaf:nth-child(2) {
    top: 60%;
    right: 15%;
    font-size: 2.5rem;
    animation-delay: 3s;
}

.floating-leaf:nth-child(3) {
    bottom: 25%;
    left: 20%;
    font-size: 2rem;
    animation-delay: 6s;
}

/* Slider Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.hero-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(122, 138, 70, 0.9);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--color-olive);
    font-style: italic;
    background: rgba(231, 213, 199, 0.2);
    padding: 0 0.25rem;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 1;
    color: var(--color-cream);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.hero-note {
    font-size: 0.875rem;
    color: var(--color-cream);
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 138, 70, 0.1) 0%, rgba(201, 140, 106, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-image:hover::before {
    opacity: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(62, 58, 55, 0.18);
}

/* ========== Bénéfices Section ========== */
.benefices {
    padding: var(--spacing-3xl) 0;
    background: var(--color-cream);
}

.benefices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-sand);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 138, 70, 0.05), transparent);
    transition: left 0.6s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-olive);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(122, 138, 70, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-olive);
    transition: all var(--transition-medium);
}

.benefit-card:hover .benefit-icon {
    background: var(--color-olive);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.benefit-title {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.benefit-description {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========== Services Section ========== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-sand-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(122, 138, 70, 0.1);
    color: var(--color-olive-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--spacing-sm);
}

.service-badge.premium {
    background: rgba(185, 161, 112, 0.2);
    color: var(--color-gold);
}

.service-title {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.service-description {
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-taupe);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-olive);
    font-weight: bold;
}

/* ========== À propos Section ========== */
.apropos {
    padding: var(--spacing-3xl) 0;
    background: var(--color-cream);
}

.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.apropos-label {
    display: inline-block;
    color: var(--color-olive);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
}

.apropos-title {
    margin-bottom: var(--spacing-md);
}

.apropos-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.apropos-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.apropos-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
}

.apropos-list svg {
    color: var(--color-olive);
    flex-shrink: 0;
}

.apropos-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-arch {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: rgba(201, 140, 106, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.apropos-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ========== Social Proof Section ========== */
.social-proof {
    padding: var(--spacing-2xl) 0;
    background: rgba(122, 138, 70, 0.05);
}

.social-proof-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.social-icon {
    color: var(--color-olive);
    flex-shrink: 0;
}

.social-text {
    flex: 1;
}

.social-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.social-description {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* ========== CTA Final Section ========== */
.cta-final {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-sand-cream);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
    background: var(--color-charcoal);
    color: var(--color-sand);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a,
.footer-contact li {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 213, 199, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-olive);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(231, 213, 199, 0.2);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-olive);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-olive-dark);
    transform: translateY(-4px);
}

/* ========== Responsive Design ========== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-3xl: 4rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--color-cream);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transition: left var(--transition-medium);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .toggle-icon:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .toggle-icon:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .toggle-icon:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-container,
    .apropos-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-image,
    .apropos-image {
        order: -1;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-proof-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .benefices-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}