/* ═══════════════════════════════════════
   Homepage — index.css
═══════════════════════════════════════ */

/* ── Reset box-sizing ── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 60%, #1a3a2a 100%);
    color: #fff;
    overflow: hidden;
}

.home-hero--has-bg {
    background-size: cover;
    background-position: center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 2rem 1.5rem;
}

.home-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    line-height: 1.2;
}

.home-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.home-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Hero buttons ── */
.btn-hero {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
}

.btn-hero--primary {
    background: var(--brand-green);
    color: #fff;
    border-color: var(--brand-green);
}
.btn-hero--primary:hover {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
}

.btn-hero--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-hero--outline:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* ════════════════════════════════
   SECTIONS COMMUNES
════════════════════════════════ */
.home-section {
    padding: 5rem 2rem;
}

.home-section--alt {
    background-color: hsl(var(--card));
}

.home-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 2.5rem;
    text-align: center;
}

.home-empty {
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 1.05rem;
    padding: 1.5rem 0;
}

/* ════════════════════════════════
   SECTION ASSOCIATION
════════════════════════════════ */
.assoc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.assoc-card {
    background: hsl(var(--background));
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.assoc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}

.assoc-card__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.assoc-card__icon {
    font-size: 2.8rem;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    display: block;
}

.assoc-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.assoc-card__text {
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ════════════════════════════════
   SECTION GÎTES
════════════════════════════════ */
.gites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.gite-card {
    background: hsl(var(--background));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}

.gite-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gite-card__body {
    padding: 1.25rem;
}

.gite-card__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.gite-card__desc {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.gite-card__capacity {
    font-size: 0.88rem;
    color: hsl(var(--primary));
    font-weight: 600;
}

/* ════════════════════════════════
   SECTION STAGES
════════════════════════════════ */
.stages-inner {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.stages-text {
    flex: 1;
    min-width: 0;
}

.stages-intro {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.stages-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.stages-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.97rem;
    color: hsl(var(--foreground));
    line-height: 1.5;
}

.stages-features .material-symbols-outlined {
    color: hsl(var(--primary));
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.stages-image {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.stages-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* ════════════════════════════════
   SECTION CONTACT
════════════════════════════════ */
.contact-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info__subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info__row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.97rem;
    color: hsl(var(--foreground));
    line-height: 1.5;
}

.contact-info__row .material-symbols-outlined {
    color: hsl(var(--primary));
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.contact-info__row a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.15s ease;
}
.contact-info__row a:hover {
    color: hsl(var(--primary));
}

.contact-map {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.contact-map img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.contact-map--placeholder {
    height: 340px;
    background: hsl(var(--muted));
    border-radius: 12px;
}

/* ════════════════════════════════
   FOOTER HOMEPAGE (non-fixe)
════════════════════════════════ */
.site-footer--home {
    position: static !important;
    height: auto !important;
    padding: 1.25rem 2rem;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
    .stages-inner,
    .contact-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .stages-image img,
    .contact-map img {
        height: 220px;
    }

    .home-section {
        padding: 3rem 1.25rem;
    }
}

/* ════════════════════════════════
   ACTUALITÉS
════════════════════════════════ */
.actu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}

.actu-card {
    background: var(--color-surface, #fff);
    border-left: 4px solid var(--color-primary, #2d6a4f);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.actu-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .25rem;
    color: var(--color-text, #1a1a1a);
}

.actu-card__date {
    font-size: .8rem;
    color: var(--color-muted, #888);
    margin: 0 0 .75rem;
}

.actu-card__desc {
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--color-text, #333);
}

