/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --sage-900: #0f291e;
    --sage-800: #163c2c;
    --sage-600: #2d7a5b;
    --sage-100: #d1e9de;
    --sage-50: #f0fdf4;
    
    --sand-600: #d97706;
    --sand-100: #fef3c7;
    --sand-50: #fffbeb;
    
    --terracotta-600: #c2410c;
    --terracotta-100: #ffedd5;
    
    --white: #ffffff;
    --black-overlay: rgba(0,0,0,0.4);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--sage-800);
    line-height: 1.6;
}

/* UTILITAIRES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; text-align: center; }
.text-center { text-align: center; }

section { padding: 6rem 0; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1600&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content { position: relative; z-index: 10; max-width: 64rem; }

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.hero-subtitle { font-size: 1.75rem; font-weight: 300; margin-bottom: 0.5rem; opacity: 0.95; }
.hero-text { font-size: 1.25rem; font-weight: 300; margin-bottom: 3rem; opacity: 0.9; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: var(--sage-600);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, background-color 0.3s;
}
.btn-primary:hover { background-color: var(--sage-800); transform: scale(1.05); }

@media (min-width: 768px) {
    .hero-title { font-size: 5rem; }
    .hero-subtitle { font-size: 2.25rem; }
}

/* =========================================
   PHILOSOPHY
   ========================================= */
.philosophy { background-color: var(--sand-50); }

.icon-circle {
    width: 4rem; height: 4rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem auto;
    font-size: 2rem;
}
.icon-circle.sage { background-color: var(--sage-100); color: var(--sage-600); }
.icon-circle.terracotta { background-color: var(--terracotta-100); color: var(--terracotta-600); }
.icon-circle.small { width: 4rem; height: 4rem; margin-bottom: 1.5rem; }

.philosophy h2 { font-size: 2.5rem; margin-bottom: 2rem; color: var(--sage-900); }

.philosophy .lead { font-size: 1.25rem; color: var(--sage-800); margin-bottom: 1.5rem; }
.highlight { font-weight: 600; color: var(--sage-900); }
.description { font-size: 1.125rem; color: #555; }

/* =========================================
   DESTINATIONS
   ========================================= */
.destinations { background: white; }

.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; color: var(--sage-900); }

.destinations-grid {
    display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .destinations-grid { grid-template-columns: repeat(3, 1fr); } }

.destination-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/4;
    transition: transform 0.4s;
    cursor: pointer;
}
.destination-card:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-lg); }

.card-img { width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.destination-card:hover .card-img img { transform: scale(1.1); }

.card-content {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; color: white;
}
.card-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-content p { font-size: 1.1rem; opacity: 0.9; font-family: var(--font-body); }

/* =========================================
   PARTNERS
   ========================================= */
.partners { background: linear-gradient(to bottom right, var(--sage-50), var(--sand-50)); }

.subtitle { text-align: center; max-width: 600px; margin: 0 auto; color: var(--sage-600); font-size: 1.2rem; }

.partners-wrapper { display: flex; flex-direction: column; gap: 3rem; margin-top: 4rem; }

.category-title {
    font-size: 1.5rem; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.cat-icon {
    width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.25rem;
}

/* Couleurs spécifiques */
.bg-sage { background-color: var(--sage-600); }
.text-sage { color: var(--sage-800); }
.hover-sage:hover { border-color: var(--sage-600); }
.hover-sage:hover .pl-icon { background-color: var(--sage-600); color: white; }

.bg-terracotta { background-color: var(--terracotta-600); }
.text-terracotta { color: var(--terracotta-600); } /* Darker text needed ideally, using base color for simplicity */
.hover-terracotta:hover { border-color: var(--terracotta-600); }
.hover-terracotta:hover .pl-icon { background-color: var(--terracotta-600); color: white; }

.bg-sand { background-color: var(--sand-600); }
.text-sand { color: var(--sand-600); }
.hover-sand:hover { border-color: var(--sand-600); }
.hover-sand:hover .pl-icon { background-color: var(--sand-600); color: white; }

/* Grid links */
.links-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }

.partner-link {
    background: white; padding: 1rem; border-radius: 0.75rem;
    display: flex; align-items: center; gap: 1rem;
    text-decoration: none; color: var(--sage-800);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.partner-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pl-icon {
    width: 3rem; height: 3rem; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: all 0.3s;
    flex-shrink: 0;
}
/* Helper bg colors for icons */
.bg-sage-light { background-color: var(--sage-100); }
.bg-terracotta-light { background-color: var(--terracotta-100); }
.bg-sand-light { background-color: var(--sand-100); }

/* =========================================
   FOOTER
   ========================================= */
footer { background-color: var(--sage-900); color: white; padding: 4rem 0; }
.footer-title { font-size: 2rem; margin-bottom: 0.5rem; }
.footer-motto { font-size: 1.2rem; font-style: italic; opacity: 0.8; margin-bottom: 2rem; }
.copyright { font-size: 0.9rem; opacity: 0.5; }
