/**
 * lc-pages.css — Styles communs aux pages intérieures
 * La Cueille — Ribes, Ardèche
 */

/* (Variables, The7 reset, body styles → moved to lc-global.css) */

/* (Page Restaurant → styles in lc-restaurant.css) */

/* ── Page-specific variable aliases (used throughout this file) ──────── */
:root {
    --lc-cream-mid:  #F0EAE0;
    --lc-dark-mid:   #2E2B26;
    --lc-terra:      #B85C38;
    --lc-font-serif: 'Cormorant Garamond', Georgia, serif;
    --lc-font-sans:  'Inter', system-ui, sans-serif;
    --lc-radius:     4px;
    --lc-transition: 0.3s ease;
    --lc-gap:        clamp(2rem, 5vw, 4rem);
}

/* ── Hero de page ────────────────────────────────────────────────────── */
.lc-page-hero {
    position: relative;
    height: clamp(280px, 40vh, 500px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.lc-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.lc-page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,26,23,0.75) 0%, rgba(28,26,23,0.2) 60%, transparent 100%);
}

.lc-page-hero__content {
    position: relative;
    z-index: 1;
    padding: 2rem var(--lc-gap) 2.5rem;
    width: 100%;
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-page-hero__label {
    display: block;
    font-family: var(--lc-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lc-gold);
    margin-bottom: 0.5rem;
}

.lc-page-hero h1 {
    font-family: var(--lc-font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--lc-white);
    line-height: 1.1;
    margin: 0;
}

/* ── Contenu principal ───────────────────────────────────────────────── */
.lc-page-content {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: var(--lc-gap);
    position: relative;
    z-index: 2;
}

/* ── Section générique ───────────────────────────────────────────────── */
.lc-section-page {
    padding: var(--lc-gap) 0;
}

.lc-section-page + .lc-section-page {
    border-top: 1px solid var(--lc-cream-mid);
}

/* ── Label + titre section ───────────────────────────────────────────── */
.lc-page-label {
    display: block;
    font-family: var(--lc-font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lc-gold);
    margin-bottom: 0.4rem;
}

.lc-page-title {
    font-family: var(--lc-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--lc-dark);
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.lc-page-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--lc-stone);
    max-width: 680px;
    margin-bottom: 2.5rem;
}

/* ── Grid 2 colonnes ─────────────────────────────────────────────────── */
.lc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lc-gap);
    align-items: start;
}

.lc-grid-2--reverse {
    direction: rtl;
}

.lc-grid-2--reverse > * {
    direction: ltr;
}

@media (max-width: 760px) {
    .lc-grid-2,
    .lc-grid-2--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ── Grid 3 colonnes ─────────────────────────────────────────────────── */
.lc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 560px) {
    .lc-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ── Image pleine largeur ────────────────────────────────────────────── */
.lc-img-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--lc-radius);
    display: block;
}

.lc-img-cover--tall {
    aspect-ratio: 3/4;
}

.lc-img-cover--wide {
    aspect-ratio: 16/9;
}

/* ── Carte / card ────────────────────────────────────────────────────── */
.lc-card {
    background: var(--lc-white);
    border-radius: var(--lc-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--lc-transition), box-shadow var(--lc-transition);
}

.lc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.lc-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.lc-card__body {
    padding: 1.5rem;
}

.lc-card__title {
    font-family: var(--lc-font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--lc-dark);
}

.lc-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--lc-stone);
    margin: 0;
}

/* ── Tarif box ───────────────────────────────────────────────────────── */
.lc-tarif-box {
    border: 1px solid var(--lc-cream-mid);
    border-radius: var(--lc-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.lc-tarif-box__title {
    font-family: var(--lc-font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 0.75rem;
    color: var(--lc-dark);
}

.lc-tarif-box__price {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--lc-font-serif);
    color: var(--lc-terra);
    margin: 0 0 0.25rem;
}

.lc-tarif-box__detail {
    font-size: 0.85rem;
    color: var(--lc-stone);
    line-height: 1.5;
    margin: 0;
}

/* ── Galerie photos ─────────────────────────────────────────────────── */
.lc-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.lc-gallery__item {
    overflow: hidden;
    border-radius: var(--lc-radius);
    aspect-ratio: 1;
}

.lc-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.lc-gallery__item:hover img {
    transform: scale(1.06);
}

@media (max-width: 760px) {
    .lc-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Bloc menu/carte ────────────────────────────────────────────────── */
.lc-menu-block {
    background: var(--lc-cream, #F5F0E8);
    border-radius: var(--lc-radius);
    overflow: hidden;
}

.lc-menu-block--accent {
    background: var(--lc-dark, #1A1A18);
    color: rgba(255,255,255,.85);
}

.lc-menu-block__photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.lc-menu-block__body {
    padding: 1.5rem;
}

.lc-menu-block__body h3 {
    font-family: var(--lc-font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0 0 1rem;
    color: var(--lc-dark);
}

.lc-menu-block--accent .lc-menu-block__body h3 {
    color: var(--lc-gold);
}

.lc-menu-block__content {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--lc-stone);
}

.lc-menu-block--accent .lc-menu-block__content {
    color: rgba(255,255,255,.7);
}

.lc-menu-block__content h3 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lc-gold);
    margin: .8rem 0 .2rem;
}

.lc-menu-block__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lc-menu-block__content li {
    padding: .15rem 0;
    font-style: italic;
}

.lc-menu-note {
    text-align: center;
    font-size: .85rem;
    color: var(--lc-stone);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lc-cream-mid);
}

/* ── Avis ────────────────────────────────────────────────────────────── */
.lc-avis {
    margin: 0;
    padding: 1.5rem;
    background: var(--lc-cream, #F5F0E8);
    border-radius: var(--lc-radius);
    border-left: 3px solid var(--lc-gold);
}

.lc-avis p {
    font-family: var(--lc-font-serif);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--lc-dark);
    margin: 0 0 .75rem;
}

.lc-avis cite {
    font-family: var(--lc-font-sans);
    font-style: normal;
    font-size: .78rem;
    font-weight: 600;
    color: var(--lc-gold);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.lc-breadcrumb {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: .75rem var(--lc-gap);
    font-size: .78rem;
    color: var(--lc-stone);
}

.lc-breadcrumb a {
    color: var(--lc-stone);
    text-decoration: none;
}

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

.lc-breadcrumb__sep {
    margin: 0 .4rem;
    opacity: .5;
}

/* ── Section foncée ──────────────────────────────────────────────────── */
.lc-section--dark {
    background: var(--lc-dark);
    color: var(--lc-cream);
    padding: var(--lc-gap);
}

.lc-section--dark .lc-page-title {
    color: var(--lc-white);
}

.lc-section--dark .lc-page-intro {
    color: rgba(248,244,238,0.7);
}

/* ── Section verte ───────────────────────────────────────────────────── */
.lc-section--green {
    background: var(--lc-green);
    color: var(--lc-cream);
    padding: var(--lc-gap);
}

.lc-section--green .lc-page-title {
    color: var(--lc-white);
}

.lc-section--green .lc-page-intro {
    color: rgba(248,244,238,0.8);
}

/* ── Liste à points personnalisés ────────────────────────────────────── */
.lc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.lc-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--lc-dark-mid);
    border-bottom: 1px solid var(--lc-cream-mid);
}

.lc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--lc-gold);
    border-radius: 50%;
}

/* ── Placeholder image ───────────────────────────────────────────────── */
.lc-placeholder-img {
    background: var(--lc-cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-stone);
    font-size: 0.8rem;
    font-style: italic;
    border-radius: var(--lc-radius);
}

/* ── Animate (scroll reveal) ─────────────────────────────────────────── */
.lc-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.lc-animate.is-visible {
    opacity: 1;
    transform: none;
}

.lc-animate--delay-1 { transition-delay: 0.15s; }
.lc-animate--delay-2 { transition-delay: 0.3s; }
.lc-animate--delay-3 { transition-delay: 0.45s; }

/* ── Responsive général ──────────────────────────────────────────────── */
@media (max-width: 760px) {
    .lc-page-content {
        padding: 1.5rem 1.25rem;
    }

    .lc-section--dark,
    .lc-section--green {
        padding: 2rem 1.25rem;
    }
}
