.green {
    color: #B2B43E;
}

.brown {
    color: #CC642C;
}

.white {
    color: var(--white);
}

body {
    background-color: var(--navbar-bg);
    background-image: radial-gradient(
        circle at 92% -10%,
        rgba(195, 197, 148, 0.35) 0 280px,
        transparent 281px
    );
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 82vh;
    padding: clamp(70px, 8vh, 110px) 24px 92px;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.14) 0 28%, rgba(255, 255, 255, 0.28) 55%, rgba(255, 255, 255, 0.46) 100%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.25) 48%, rgba(246, 243, 236, 0.82) 100%);
}

.home-hero__bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.045);
    filter: blur(1.5px) saturate(0.92) brightness(1.06);
    transition: opacity 1.4s ease, transform 1.4s ease, filter 1.4s ease;
    will-change: opacity, transform, filter;
}

.home-hero__bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1) brightness(1);
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--navbar-bg) 85%);
    z-index: 0;
    pointer-events: none;
}

.home-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-hero__title {
    margin: 0;
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2f2e2a;
}

.home-hero__pills {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.home-hero__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: var(--white);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-hero__pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.home-hero__pill:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
    .home-hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-hero__pills {
        gap: 12px;
    }

    .home-hero__pill {
        width: 100%;
        max-width: 320px;
    }
}

.eco-lieux__title {
    font-size: clamp(28px, 4vw, 40px);
    color: #2f2e2a;
    margin-bottom: 20px;
    text-align: center;
}

.eco-lieux__description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 4vw, 70px);
}

.gite--reverse {
    flex-direction: row-reverse;
}

.gite__image {
    width: min(560px, 100%);
    border-radius: 12px;
    display: block;
}

.gite__content {
    flex: 1;
    min-width: 280px;
}

.gite__title {
    font-size: clamp(28px, 4vw, 40px);
    color: #2f2e2a;
    margin-bottom: 20px;
    text-align: left;
}

.gite__description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(74, 70, 62, 0.85);
    margin: 0;
    text-align: left;
}

.gite__button {
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #B2B43E;
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gite__button:hover {
    background-color: #92a02b;
    transform: translateY(-2px);
}

.localisation__title {
    font-size: clamp(28px, 4vw, 40px);
    color: #2f2e2a;
    margin-bottom: 20px;
    text-align: center;
}

.localisation__description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.localisation {
    padding: 0 0 70px;
}

.localisation__map {
    max-width: 1200px;
    margin: 26px auto 0;
    padding: 0 24px;
}

#map {
    width: 100%;
    height: clamp(320px, 45vh, 520px);
    border: 0;
    border-radius: 18px;
    display: block;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.04);
}

.map-marker {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.map-popup {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.home-hero__title,
.home-hero__pills {
    position: relative;
    z-index: 2; 
}

@media (max-width: 900px) {
    .gite {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gite--reverse {
        flex-direction: column;
    }

    .gite__title,
    .gite__description {
        text-align: center;
    }
}