/* ============================================
   GÎTE DU TERTRE - Styles principaux
   Couleurs : #2A8566 / #2FAD66 / #FDC031
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
    /* Couleurs principales */
    --vert-fonce: #2A8566;
    --vert-clair: #2FAD66;
    --dore: #FDC031;
    --blanc: #FEFEFE;
    --noir: #1A1A1A;
    --gris-clair: #F5F5F3;
    --gris: #888888;
    --gris-fonce: #4A4A4A;
    
    /* Typographie */
    --font-titre: 'Playfair Display', Georgia, serif;
    --font-corps: 'Source Sans 3', -apple-system, sans-serif;
    
    /* Espacements */
    --espace-xs: 0.5rem;
    --espace-sm: 1rem;
    --espace-md: 2rem;
    --espace-lg: 4rem;
    --espace-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-lente: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Ombres */
    --ombre-legere: 0 2px 8px rgba(42, 133, 102, 0.08);
    --ombre-moyenne: 0 4px 20px rgba(42, 133, 102, 0.12);
    --ombre-forte: 0 8px 40px rgba(42, 133, 102, 0.18);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-corps);
    font-weight: 400;
    line-height: 1.7;
    color: var(--noir);
    background-color: var(--blanc);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titre);
    font-weight: 600;
    line-height: 1.3;
    color: var(--vert-fonce);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--espace-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--espace-sm);
}

p {
    margin-bottom: var(--espace-sm);
    color: var(--gris-fonce);
}

.text-accent {
    color: var(--dore);
}

.text-vert {
    color: var(--vert-clair);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--espace-md);
}

.section {
    padding: var(--espace-xl) 0;
}

.section-alt {
    background-color: var(--gris-clair);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--ombre-moyenne);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
}

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-family: var(--font-titre);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vert-fonce);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-corps);
    font-weight: 400;
    color: var(--gris);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--espace-md);
}

.nav-desktop a {
    font-weight: 500;
    color: var(--gris-fonce);
    position: relative;
    padding: var(--espace-xs) 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--vert-clair), var(--dore));
    transition: var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--vert-fonce);
}

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

/* Bouton dans la nav */
.nav-desktop .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.nav-desktop .btn::after {
    display: none;
}

/* Mobile menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--vert-fonce);
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--blanc);
    padding: var(--espace-md);
    box-shadow: var(--ombre-moyenne);
    flex-direction: column;
    gap: var(--espace-sm);
    z-index: 999;
}

.nav-mobile.open,
.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    padding: var(--espace-sm);
    font-weight: 500;
    color: var(--gris-fonce);
    border-bottom: 1px solid var(--gris-clair);
}

.nav-mobile a:hover {
    color: var(--vert-fonce);
    background: var(--gris-clair);
}

/* Burger menu animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
}

/* Language Switch */
.lang-switch {
    font-size: 1.4rem;
    padding: 0.3rem 0.5rem !important;
    margin-left: 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.lang-switch:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-switch-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--espace-sm);
    background: var(--gris-clair);
    border-radius: var(--radius-sm);
    margin-top: var(--espace-sm);
    justify-content: center;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--espace-xs);
    padding: 1rem 2rem;
    font-family: var(--font-corps);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--vert-clair) 0%, var(--vert-fonce) 100%);
    color: var(--blanc);
    box-shadow: 0 4px 15px rgba(47, 173, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(47, 173, 102, 0.4);
}

.btn-secondary {
    background: var(--dore);
    color: var(--noir);
    box-shadow: 0 4px 15px rgba(253, 192, 49, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(253, 192, 49, 0.4);
}

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

.btn-outline:hover {
    background: var(--vert-fonce);
    color: var(--blanc);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(42, 133, 102, 0.3) 0%,
        rgba(26, 26, 26, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--blanc);
    padding: var(--espace-lg);
    max-width: 900px;
}

.hero-content h1 {
    color: var(--blanc);
    margin-bottom: var(--espace-sm);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--espace-xs);
    opacity: 0.95;
}

.hero-price {
    display: inline-block;
    background: var(--dore);
    color: var(--noir);
    padding: var(--espace-xs) var(--espace-md);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: var(--espace-md);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--espace-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--espace-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--espace-xs);
    color: var(--blanc);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

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

/* ============================================
   CARTES & GRILLES
   ============================================ */
.grid {
    display: grid;
    gap: var(--espace-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--blanc);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-moyenne);
}

.card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-lente);
}

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

.card-body {
    padding: var(--espace-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--espace-xs);
}

/* ============================================
   SECTION PRESENTATION
   ============================================ */
.presentation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-lg);
    align-items: center;
}

.presentation-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--ombre-forte);
}

.presentation-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--dore);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

.presentation-content .highlight {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    padding: var(--espace-sm);
    background: linear-gradient(135deg, rgba(47, 173, 102, 0.1) 0%, rgba(42, 133, 102, 0.05) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: var(--espace-sm);
    border-left: 4px solid var(--vert-clair);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .presentation {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AMENAGEMENTS / FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--espace-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--espace-sm);
    padding: var(--espace-md);
    background: var(--blanc);
    border-radius: var(--radius-md);
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--ombre-moyenne);
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--vert-clair) 0%, var(--vert-fonce) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-corps);
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gris);
    margin: 0;
}

/* ============================================
   GALERIE PHOTOS
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--espace-sm);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-lente);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 133, 102, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .zoom-icon {
    position: absolute;
    bottom: var(--espace-sm);
    right: var(--espace-sm);
    width: 40px;
    height: 40px;
    background: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert-fonce);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--blanc);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--vert-fonce);
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--dore);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================
   AVIS / REVIEWS
   ============================================ */
.reviews-section {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-clair) 100%);
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--dore);
    opacity: 0.1;
    border-radius: 50%;
}

.reviews-section h2 {
    color: var(--blanc);
}

.reviews-header {
    text-align: center;
    margin-bottom: var(--espace-lg);
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--espace-sm);
    margin-bottom: var(--espace-sm);
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-titre);
}

.rating-stars {
    color: var(--dore);
    font-size: 1.5rem;
}

.rating-count {
    opacity: 0.9;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--espace-md);
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--espace-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    margin-bottom: var(--espace-sm);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--dore);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--noir);
    font-size: 1.2rem;
}

.review-author h4 {
    color: var(--blanc);
    font-family: var(--font-corps);
    font-weight: 600;
    margin-bottom: 2px;
}

.review-author span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    opacity: 0.95;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    font-family: var(--font-titre);
    color: var(--dore);
    line-height: 0;
    vertical-align: middle;
    margin-right: 5px;
}

.reviews-link {
    text-align: center;
    margin-top: var(--espace-md);
}

.reviews-link a {
    color: var(--dore);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.reviews-link a:hover {
    color: var(--blanc);
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    text-align: center;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--ombre-forte);
}

.video-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    position: relative;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--espace-lg);
    align-items: start;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--ombre-moyenne);
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background: var(--blanc);
    padding: var(--espace-md);
    border-radius: var(--radius-md);
    box-shadow: var(--ombre-legere);
}

.map-info h3 {
    margin-bottom: var(--espace-md);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--espace-sm);
    margin-bottom: var(--espace-sm);
    padding-bottom: var(--espace-sm);
    border-bottom: 1px solid var(--gris-clair);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: var(--gris-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert-fonce);
    flex-shrink: 0;
}

.info-content strong {
    display: block;
    margin-bottom: 2px;
}

.info-content span {
    color: var(--gris);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .map-container {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CALENDRIER RESERVATIONS
   ============================================ */
.calendar-section {
    background: var(--gris-clair);
}

.calendar-container {
    display: block;
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: var(--espace-md);
    box-shadow: var(--ombre-moyenne);
}

.calendar-wrapper {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: var(--espace-md);
    box-shadow: var(--ombre-legere);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--espace-md);
}

.calendar-nav h3 {
    margin: 0;
}

.calendar-nav button {
    background: var(--gris-clair);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: var(--vert-clair);
    color: var(--blanc);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-header {
    text-align: center;
    padding: var(--espace-xs);
    font-weight: 600;
    color: var(--vert-fonce);
    font-size: 0.85rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.booked) {
    background: var(--gris-clair);
}

.calendar-day.today {
    border: 2px solid var(--vert-clair);
}

.calendar-day.selected {
    background: var(--vert-clair);
    color: var(--blanc);
    font-weight: 600;
}

.calendar-day.in-range {
    background: rgba(47, 173, 102, 0.2);
}

.calendar-day.booked {
    background: #ef5350;
    color: white;
    cursor: not-allowed;
}

.calendar-day.disabled {
    color: var(--gris);
    cursor: not-allowed;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-months {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--espace-md);
}

.calendar-month {
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: var(--espace-sm);
    box-shadow: var(--ombre-legere);
}

.calendar-month h4 {
    text-align: center;
    margin-bottom: var(--espace-sm);
    color: var(--vert-fonce);
    font-family: var(--font-titre);
}

.calendar-legend {
    display: flex;
    gap: var(--espace-md);
    margin-top: var(--espace-md);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    font-size: 0.85rem;
    color: var(--gris-fonce);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available {
    background: var(--blanc);
    border: 1px solid var(--gris);
}

.legend-color.booked {
    background: #FFE5E5;
}

.legend-color.selected {
    background: var(--vert-clair);
}

@media (max-width: 1100px) {
    .calendar-months {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .calendar-container {
        grid-template-columns: 1fr;
    }
}

/* Tarifs */
.tarifs-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: var(--espace-md);
    box-shadow: var(--ombre-legere);
    position: sticky;
    top: 100px;
}

.tarifs-card h3 {
    margin-bottom: var(--espace-md);
    padding-bottom: var(--espace-sm);
    border-bottom: 2px solid var(--gris-clair);
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--espace-sm) 0;
    border-bottom: 1px solid var(--gris-clair);
}

.tarif-item:last-child {
    border-bottom: none;
}

.tarif-saison {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
}

.saison-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.saison-badge.tres-haute {
    background: #FF6B6B;
}

.saison-badge.haute {
    background: #FFA94D;
}

.saison-badge.moyenne {
    background: var(--dore);
}

.saison-badge.basse {
    background: var(--vert-clair);
}

.tarif-prix {
    font-weight: 700;
    color: var(--vert-fonce);
}

.tarif-note {
    font-size: 0.85rem;
    color: var(--gris);
    margin-top: var(--espace-sm);
    padding: var(--espace-sm);
    background: var(--gris-clair);
    border-radius: var(--radius-sm);
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-group {
    margin-bottom: var(--espace-md);
}

.form-label {
    display: block;
    margin-bottom: var(--espace-xs);
    font-weight: 500;
    color: var(--noir);
}

.form-label.required::after {
    content: ' *';
    color: #CC0000;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-sm);
    font-family: var(--font-corps);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--blanc);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--vert-clair);
    box-shadow: 0 0 0 4px rgba(47, 173, 102, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--espace-sm);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--vert-clair);
}

.form-card {
    background: var(--blanc);
    padding: var(--espace-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--ombre-moyenne);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-lg);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-clair) 100%);
    color: var(--blanc);
    padding: var(--espace-lg);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: var(--dore);
    opacity: 0.1;
    border-radius: 50%;
}

.contact-info-card h2 {
    color: var(--blanc);
    margin-bottom: var(--espace-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    margin-bottom: var(--espace-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-item a {
    color: var(--blanc);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--dore);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ACTIVITES / ALENTOURS
   ============================================ */
.activity-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
}

.activity-card:hover {
    box-shadow: var(--ombre-moyenne);
    transform: translateY(-5px);
}

.activity-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.activity-card.featured .activity-image {
    aspect-ratio: auto;
    height: 100%;
}

@media (max-width: 900px) {
    .activity-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .activity-card.featured .activity-image {
        aspect-ratio: 16/10;
    }
}

.activity-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-lente);
}

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

.activity-content {
    padding: var(--espace-md);
}

.activity-tag {
    display: inline-block;
    background: var(--gris-clair);
    color: var(--vert-fonce);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--espace-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-tag.highlight {
    background: var(--dore);
    color: var(--noir);
}

/* ============================================
   SERVICES / EQUIPEMENTS
   ============================================ */
.equipment-section {
    margin-bottom: var(--espace-lg);
}

.equipment-section h3 {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    margin-bottom: var(--espace-md);
}

.equipment-section h3::before {
    content: '';
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--vert-clair), var(--dore));
    border-radius: 2px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--espace-sm);
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    padding: var(--espace-sm);
    background: var(--blanc);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gris-clair);
    transition: var(--transition);
}

.equipment-item:hover {
    border-color: var(--vert-clair);
    box-shadow: var(--ombre-legere);
}

.equipment-icon {
    width: 40px;
    height: 40px;
    background: var(--gris-clair);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert-fonce);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, #1E6B52 100%);
    text-align: center;
    padding: var(--espace-xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.cta-section::before {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--dore);
}

.cta-section::after {
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--blanc);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--blanc);
    margin-bottom: var(--espace-sm);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--espace-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--noir);
    color: var(--blanc);
    padding: var(--espace-lg) 0 var(--espace-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--espace-lg);
    margin-bottom: var(--espace-lg);
}

.footer-brand .logo-text {
    color: var(--blanc);
    font-size: 1.6rem;
    margin-bottom: var(--espace-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer h4 {
    color: var(--dore);
    font-family: var(--font-corps);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--espace-sm);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: var(--espace-xs) 0;
}

.footer-links a:hover {
    color: var(--dore);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--espace-sm);
}

.footer-contact a:hover {
    color: var(--dore);
}

.footer-bottom {
    padding-top: var(--espace-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--espace-sm);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-clair) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='%23FDC031' opacity='0.1'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.page-header h1 {
    color: var(--blanc);
    margin-bottom: var(--espace-sm);
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--espace-xs);
    margin-bottom: var(--espace-md);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--blanc);
}

.breadcrumb span {
    color: var(--dore);
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-clair) 100%);
    padding: var(--espace-md);
}

.login-card {
    background: var(--blanc);
    padding: var(--espace-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--ombre-forte);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card .logo {
    justify-content: center;
    margin-bottom: var(--espace-md);
}

.login-card h1 {
    font-size: 1.5rem;
    margin-bottom: var(--espace-md);
}

.admin-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--noir);
    padding: var(--espace-md);
}

.admin-sidebar .logo {
    margin-bottom: var(--espace-lg);
    padding-bottom: var(--espace-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .logo-text {
    color: var(--blanc);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
    padding: var(--espace-sm);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    margin-bottom: var(--espace-xs);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
}

.admin-content {
    padding: var(--espace-md);
    background: var(--gris-clair);
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--espace-md);
}

.admin-card {
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: var(--espace-md);
    margin-bottom: var(--espace-md);
    box-shadow: var(--ombre-legere);
}

.admin-card h3 {
    margin-bottom: var(--espace-md);
    padding-bottom: var(--espace-sm);
    border-bottom: 2px solid var(--gris-clair);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--espace-sm);
    text-align: left;
    border-bottom: 1px solid var(--gris-clair);
}

.admin-table th {
    background: var(--gris-clair);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(47, 173, 102, 0.05);
}

.admin-actions {
    display: flex;
    gap: var(--espace-xs);
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-edit {
    background: var(--gris-clair);
    color: var(--vert-fonce);
}

.btn-edit:hover {
    background: var(--vert-clair);
    color: var(--blanc);
}

.btn-delete {
    background: #FFE5E5;
    color: #CC0000;
}

.btn-delete:hover {
    background: #CC0000;
    color: var(--blanc);
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.alert {
    padding: var(--espace-sm) var(--espace-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--espace-md);
    display: flex;
    align-items: center;
    gap: var(--espace-sm);
}

.alert-success {
    background: rgba(47, 173, 102, 0.1);
    color: var(--vert-fonce);
    border: 1px solid var(--vert-clair);
}

.alert-error {
    background: #FFE5E5;
    color: #CC0000;
    border: 1px solid #CC0000;
}

.alert-info {
    background: rgba(253, 192, 49, 0.1);
    color: #996600;
    border: 1px solid var(--dore);
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--gris-clair);
    border-top-color: var(--vert-clair);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--espace-sm); }
.mb-2 { margin-bottom: var(--espace-md); }
.mb-3 { margin-bottom: var(--espace-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--espace-sm); }
.mt-2 { margin-top: var(--espace-md); }
.mt-3 { margin-top: var(--espace-lg); }

.hidden { display: none !important; }
.visible { display: block !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
