/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
    --bleu-dark: #1a416f;
    --bleu-mid: #2a5a8f;
    --bleu-light: #3d72a8;
    --gold: #D4A843;
    --gold-light: #E8CE8A;
    --marble: #F8F6F0;
    --marble-dark: #E8E4DC;
    --black: #111111;
    --text: #1A1A1A;
    --text-on-dark: #F8F6F0;
    --font-display: 'Italiana', serif;
    --font-secondary: 'Cormorant', serif;
    --font-body: 'Jost', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--marble);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.label {
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
}

/* ============================================================
   ART DECO GEOMETRIC BACKGROUND PATTERN (CSS only)
   ============================================================ */
.deco-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image:
        linear-gradient(45deg, var(--gold) 1px, transparent 1px),
        linear-gradient(-45deg, var(--gold) 1px, transparent 1px),
        linear-gradient(45deg, transparent 49%, var(--gold) 49%, var(--gold) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, var(--gold) 49%, var(--gold) 51%, transparent 51%);
    background-size: 60px 60px;
    background-position: 0 0, 0 0, 30px 30px, 30px 30px;
}

.deco-pattern-overlay--strong {
    opacity: 0.06;
}

/* ============================================================
   ART DECO DIVIDERS
   ============================================================ */
.deco-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 20px;
}

.deco-divider__line {
    flex: 1;
    height: 1px;
    background: var(--gold);
}

.deco-divider__diamond {
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 12px;
    flex-shrink: 0;
}

.deco-divider--wide {
    max-width: 600px;
}

.deco-divider--compact {
    max-width: 200px;
}

/* ============================================================
   ART DECO CORNER DECORATIONS
   ============================================================ */
.deco-corners {
    position: relative;
}

.deco-corners::before,
.deco-corners::after,
.deco-corners .corner-bl,
.deco-corners .corner-br {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--gold);
    border-style: solid;
    pointer-events: none;
}

.deco-corners::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.deco-corners::after {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.deco-corners .corner-bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.deco-corners .corner-br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.deco-corners--lg::before,
.deco-corners--lg::after,
.deco-corners--lg .corner-bl,
.deco-corners--lg .corner-br {
    width: 50px;
    height: 50px;
}

.deco-corners--ornate .corner-inner-tl,
.deco-corners--ornate .corner-inner-tr,
.deco-corners--ornate .corner-inner-bl,
.deco-corners--ornate .corner-inner-br {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold);
    border-style: solid;
    pointer-events: none;
    opacity: 0.5;
}

.deco-corners--ornate .corner-inner-tl {
    top: 8px;
    left: 8px;
    border-width: 1px 0 0 1px;
}

.deco-corners--ornate .corner-inner-tr {
    top: 8px;
    right: 8px;
    border-width: 1px 1px 0 0;
}

.deco-corners--ornate .corner-inner-bl {
    bottom: 8px;
    left: 8px;
    border-width: 0 0 1px 1px;
}

.deco-corners--ornate .corner-inner-br {
    bottom: 8px;
    right: 8px;
    border-width: 0 1px 1px 0;
}

/* ============================================================
   GOLD FRAME (for images)
   ============================================================ */
.gold-frame {
    position: relative;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
}

.gold-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gold-frame--double {
    padding: 3px;
    outline: 1px solid var(--gold);
    outline-offset: 4px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bleu-dark);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.nav--scrolled {
    background: rgba(26, 65, 111, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav--hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-on-dark);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav__links a:hover {
    color: var(--gold);
}

.nav__links a:hover::after {
    width: 100%;
    left: 0;
}

.nav__cta {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bleu-dark);
    background: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.7rem 1.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav__cta:hover {
    background: transparent;
    color: var(--gold);
}

.nav__gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

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

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../image/image_exte/bg-gite.jpg') center center / cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 65, 111, 0.75) 0%,
        rgba(26, 65, 111, 0.55) 40%,
        rgba(26, 65, 111, 0.65) 70%,
        rgba(17, 17, 17, 0.8) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
}

.hero__frame {
    position: relative;
    padding: 4rem 5rem;
    border: 1px solid rgba(212, 168, 67, 0.4);
}

.hero__frame::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    pointer-events: none;
}

.hero__frame::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(212, 168, 67, 0.15);
    pointer-events: none;
}

.hero__corner {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.hero__corner::before,
.hero__corner::after {
    content: '';
    position: absolute;
    background: var(--gold);
}

.hero__corner--tl { top: -2px; left: -2px; }
.hero__corner--tl::before { top: 0; left: 0; width: 40px; height: 2px; }
.hero__corner--tl::after { top: 0; left: 0; width: 2px; height: 40px; }

.hero__corner--tr { top: -2px; right: -2px; }
.hero__corner--tr::before { top: 0; right: 0; width: 40px; height: 2px; }
.hero__corner--tr::after { top: 0; right: 0; width: 2px; height: 40px; }

.hero__corner--bl { bottom: -2px; left: -2px; }
.hero__corner--bl::before { bottom: 0; left: 0; width: 40px; height: 2px; }
.hero__corner--bl::after { bottom: 0; left: 0; width: 2px; height: 40px; }

.hero__corner--br { bottom: -2px; right: -2px; }
.hero__corner--br::before { bottom: 0; right: 0; width: 40px; height: 2px; }
.hero__corner--br::after { bottom: 0; right: 0; width: 2px; height: 40px; }

.hero__corner-diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    pointer-events: none;
}

.hero__corner-diamond--tl { top: 16px; left: 16px; }
.hero__corner-diamond--tr { top: 16px; right: 16px; }
.hero__corner-diamond--bl { bottom: 16px; left: 16px; }
.hero__corner-diamond--br { bottom: 16px; right: 16px; }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-on-dark);
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: heroFadeIn 1.2s ease 0.6s forwards;
}

.hero__date {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.3s forwards;
}

.hero__diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 1.5rem auto;
    width: 180px;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.9s forwards;
}

.hero__diamond-divider .line {
    flex: 1;
    height: 1px;
    background: var(--gold);
}

.hero__diamond-divider .diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 10px;
}

.hero__subtitle {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--gold-light);
    letter-spacing: 0.04em;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.2s forwards;
}

/* Hero frame line draw-in animation */
.hero__frame-anim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__frame-anim .line-top,
.hero__frame-anim .line-bottom,
.hero__frame-anim .line-left,
.hero__frame-anim .line-right {
    position: absolute;
    background: var(--gold);
}

.hero__frame-anim .line-top {
    top: 0; left: 0; height: 1px; width: 0;
    animation: drawLineH 0.8s ease 0.1s forwards;
}

.hero__frame-anim .line-bottom {
    bottom: 0; right: 0; height: 1px; width: 0;
    animation: drawLineH 0.8s ease 0.1s forwards;
}

.hero__frame-anim .line-left {
    top: 0; left: 0; width: 1px; height: 0;
    animation: drawLineV 0.8s ease 0.1s forwards;
}

.hero__frame-anim .line-right {
    bottom: 0; right: 0; width: 1px; height: 0;
    animation: drawLineV 0.8s ease 0.1s forwards;
}

@keyframes drawLineH { to { width: 100%; } }
@keyframes drawLineV { to { height: 100%; } }

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.8s forwards;
}

.hero__scroll span {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-light);
}

.hero__scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title--gold { color: var(--gold); }
.section-title--dark { color: var(--text); }

/* Fade-in on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HERITAGE SECTION
   ============================================================ */
.heritage {
    background: var(--marble);
    padding: 7rem 2rem;
}

.heritage__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.heritage__text {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.8;
    color: var(--text);
    margin: 2.5rem 0 3rem;
}

.heritage__features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
}

.heritage__feature {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
}

.heritage__feature-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.heritage__feature-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--bleu-mid);
}

.heritage__feature-sep {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    flex-shrink: 0;
}

/* ============================================================
   RESTAURANT SECTION
   ============================================================ */
.restaurant {
    background: var(--bleu-dark);
    color: var(--text-on-dark);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.restaurant .deco-pattern-overlay {
    opacity: 0.035;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 28px,
            var(--gold) 28px,
            var(--gold) 29px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 28px,
            var(--gold) 28px,
            var(--gold) 29px
        );
    background-size: 40px 40px;
}

.restaurant__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.restaurant__image-wrap {
    position: relative;
}

.restaurant__image-wrap .gold-frame {
    aspect-ratio: 4/5;
}

.restaurant__image-wrap .gold-frame img {
    transition: filter 0.5s ease;
}

.restaurant__image-wrap:hover .gold-frame img {
    filter: brightness(1.08);
}

.restaurant__ornament {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-top: 1.5rem;
}

.restaurant__text h3 {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.restaurant__text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(248, 246, 240, 0.85);
    margin-bottom: 1.2rem;
}

.restaurant__text .label {
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.restaurant__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.restaurant__tag {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 67, 0.3);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.restaurant__tag:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
}

/* ============================================================
   LA CARTE SECTION
   ============================================================ */
.carte {
    background: var(--marble);
    padding: 7rem 2rem;
}

.carte__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.carte__column {
    position: relative;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(212, 168, 67, 0.3);
    outline: 1px solid rgba(212, 168, 67, 0.15);
    outline-offset: 5px;
    background: rgba(255, 255, 255, 0.5);
}

.carte__column-header {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--bleu-dark);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 0.06em;
}

.carte__column-underline {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 2rem;
}

.carte__item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.carte__item-name {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text);
    white-space: nowrap;
}

.carte__item-dots {
    flex: 1;
    border-bottom: 1px dotted var(--gold);
    min-width: 20px;
    margin-bottom: 4px;
}

.carte__item-price {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--gold);
    white-space: nowrap;
}

.carte__item-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.6);
    margin-top: -0.8rem;
    margin-bottom: 1.4rem;
    padding-left: 0.25rem;
}

/* ============================================================
   GITES SECTION
   ============================================================ */
.gites {
    background: var(--bleu-dark);
    color: var(--text-on-dark);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.gites .deco-pattern-overlay {
    opacity: 0.025;
}

.gites__subtitle {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 3rem;
}

.gites__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gite-card {
    position: relative;
    background: rgba(42, 90, 143, 0.3);
    border: 1px solid rgba(212, 168, 67, 0.2);
    padding: 8px;
    transition: all 0.4s ease;
}

.gite-card:hover {
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.15), 0 0 60px rgba(212, 168, 67, 0.05);
    border-color: rgba(212, 168, 67, 0.5);
    transform: translateY(-4px);
}

.gite-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gite-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.5s ease;
}

.gite-card:hover .gite-card__image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gite-card__info {
    padding: 1.25rem 0.75rem 0.75rem;
    text-align: center;
}

.gite-card__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.gite-card__capacity {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.gite-card__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(248, 246, 240, 0.7);
}

/* ============================================================
   JARDIN PARALLAX SECTION
   ============================================================ */
.jardin {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jardin__bg {
    position: absolute;
    inset: -20%;
    background: url('../image/image_exte/exterieur-5.png') center center / cover no-repeat;
    will-change: transform;
}

.jardin__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 65, 111, 0.7) 0%,
        rgba(26, 65, 111, 0.5) 50%,
        rgba(26, 65, 111, 0.7) 100%
    );
}

.jardin__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.jardin__text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--gold);
    letter-spacing: 0.06em;
    line-height: 1.3;
    max-width: 700px;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
    background: var(--marble);
    padding: 7rem 2rem;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 67, 0.3);
    padding: 5px;
    background: white;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    transition: transform 0.6s ease, filter 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item--tall img {
    aspect-ratio: auto;
    height: 100%;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    background: var(--bleu-dark);
    color: var(--text-on-dark);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact .deco-pattern-overlay {
    opacity: 0.02;
}

.contact__frame {
    max-width: 1100px;
    margin: 3rem auto 0;
    border: 1px solid rgba(212, 168, 67, 0.25);
    padding: 3.5rem;
    position: relative;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 3rem;
}

.contact__separator {
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.contact__col-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.contact__info p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(248, 246, 240, 0.85);
}

.contact__info a {
    color: var(--gold-light);
    transition: color 0.3s ease;
}

.contact__info a:hover {
    color: var(--gold);
}

.contact__info-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__input-group label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
}

.contact__input,
.contact__textarea {
    background: rgba(42, 90, 143, 0.3);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--text-on-dark);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact__input:focus,
.contact__textarea:focus {
    border-color: var(--gold);
    background: rgba(42, 90, 143, 0.5);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: rgba(248, 246, 240, 0.4);
}

.contact__textarea {
    resize: vertical;
    min-height: 100px;
}

.contact__submit {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    background: var(--gold);
    color: var(--bleu-dark);
    border: 2px solid var(--gold);
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact__submit:hover {
    background: transparent;
    color: var(--gold);
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--black);
    color: var(--text-on-dark);
    padding: 3.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.footer__deco-line {
    width: 100%;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    background:
        linear-gradient(90deg, transparent 0%, transparent 10%, var(--gold) 10%, var(--gold) 10.5%, transparent 10.5%, transparent 20%,
        var(--gold) 20%, var(--gold) 20.5%, transparent 20.5%, transparent 30%,
        var(--gold) 30%, var(--gold) 30.5%, transparent 30.5%, transparent 40%,
        var(--gold) 40%, var(--gold) 40.5%, transparent 40.5%, transparent 45%,
        var(--gold) 45%, var(--gold) 55%,
        transparent 55%, transparent 59.5%, var(--gold) 59.5%, var(--gold) 60%,
        transparent 60%, transparent 69.5%, var(--gold) 69.5%, var(--gold) 70%,
        transparent 70%, transparent 79.5%, var(--gold) 79.5%, var(--gold) 80%,
        transparent 80%, transparent 89.5%, var(--gold) 89.5%, var(--gold) 90%,
        transparent 90%);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.footer__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer__nav a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(248, 246, 240, 0.6);
    transition: color 0.3s ease;
}

.footer__nav a:hover {
    color: var(--gold);
}

.footer__divider {
    width: 100px;
    margin: 0 auto 1.5rem;
}

.footer__copy {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(248, 246, 240, 0.4);
    letter-spacing: 0.05em;
}

.footer__deco-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(212, 168, 67, 0.3);
    border-style: solid;
}

.footer__deco-corner--tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.footer__deco-corner--tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
.footer__deco-corner--bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
.footer__deco-corner--br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

/* ============================================================
   SECTION BORDERS
   ============================================================ */
.section-border-top {
    position: relative;
}

.section-border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-border-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nav__brand span {
        display: none;
    }

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

    .restaurant__grid {
        gap: 3rem;
    }

    .carte__columns {
        gap: 1.5rem;
    }

    .carte__column {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bleu-dark);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(212, 168, 67, 0.2);
    }

    .nav__links.open {
        display: flex;
    }

    .nav__links a {
        padding: 1rem 2rem;
        display: block;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.65rem;
    }

    .hero__frame {
        padding: 2.5rem 2rem;
    }

    .hero__corner {
        width: 24px;
        height: 24px;
    }

    .hero__corner--tl::before,
    .hero__corner--tr::before,
    .hero__corner--bl::before,
    .hero__corner--br::before {
        width: 24px !important;
    }

    .hero__corner--tl::after,
    .hero__corner--tr::after,
    .hero__corner--bl::after,
    .hero__corner--br::after {
        height: 24px !important;
    }

    .hero__scroll {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .restaurant__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .carte__columns {
        grid-template-columns: 1fr;
    }

    .carte__column {
        outline-offset: 3px;
    }

    .gites__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery__item--tall {
        grid-row: span 1;
    }

    .contact__frame {
        padding: 2rem;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__separator {
        height: 1px;
        width: 100%;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .heritage__features {
        flex-direction: column;
        gap: 0;
    }

    .heritage__feature-sep {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .heritage, .restaurant, .carte, .gites, .gallery, .contact {
        padding: 5rem 1.5rem;
    }

    .footer__brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero__frame {
        padding: 2rem 1.25rem;
        margin: 0 0.5rem;
    }

    .hero__frame::before {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .nav__logo {
        width: 36px;
        height: 36px;
    }

    .nav__cta {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
    }

    .footer__nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact__col-title {
        font-size: 1.2rem;
    }
}

/* ============================================================
   PAGE HERO (sub-pages header)
   ============================================================ */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,65,111,0.5), rgba(26,65,111,0.7));
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: #fff;
    letter-spacing: 0.04em;
}

/* ============================================================
   GALLERY — Masonry Grid
   ============================================================ */
.gallery-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section--alt {
    background: #fff;
}

.gallery-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-masonry__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-masonry__item:hover img {
    transform: scale(1.08);
}

.gallery-masonry__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,65,111,0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-masonry__item:hover .gallery-masonry__overlay {
    background: rgba(26,65,111,0.4);
}

.gallery-masonry__icon {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.gallery-masonry__item:hover .gallery-masonry__icon {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.3s;
}

.lightbox__close:hover {
    color: var(--gold);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 10001;
    transition: color 0.3s;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--gold);
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

/* ============================================================
   GÎTES PAGE — Cards
   ============================================================ */
.gites-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.gite-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.gite-card--reverse {
    direction: rtl;
}

.gite-card--reverse > * {
    direction: ltr;
}

.gite-card__image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.gite-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gite-card__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 3px;
}

.gite-card__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gite-card__title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--bleu-dark);
    letter-spacing: 0.02em;
}

.gite-card__desc {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.gite-card__features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.gite-card__features li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gite-card__feat-icon {
    color: var(--gold);
    font-size: 0.5rem;
}

.gite-card__link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.gite-card__link:hover {
    color: var(--bleu-dark);
    border-color: var(--bleu-dark);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.amenity-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.amenity-item__icon {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.amenity-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.amenity-item p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: rgba(248,246,240,0.7);
}

/* Infos Grid */
.infos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.info-box {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(212,168,67,0.2);
}

/* Button Gold */
.btn-gold {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bleu-dark);
    background: var(--gold);
    padding: 1rem 2.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,168,67,0.4);
}

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

.btn-gold--outline:hover {
    background: var(--gold);
    color: var(--bleu-dark);
}

/* ============================================================
   ALENTOURS PAGE — Activity Cards
   ============================================================ */
.alentours-activities {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.activity-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.activity-card--reverse {
    direction: rtl;
}

.activity-card--reverse > * {
    direction: ltr;
}

.activity-card__image {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.activity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.activity-card__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-card__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--bleu-dark);
    letter-spacing: 0.02em;
}

.activity-card__content p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* ============================================================
   RESPONSIVE — Sub-pages
   ============================================================ */
@media (max-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .page-hero__title {
        font-size: 2.5rem;
    }

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

    .gite-card,
    .activity-card {
        grid-template-columns: 1fr;
    }

    .gite-card--reverse,
    .activity-card--reverse {
        direction: ltr;
    }

    .gite-card__image,
    .activity-card__image {
        min-height: 280px;
    }

    .gite-card__content,
    .activity-card__content {
        padding: 2rem;
    }

    .gite-card__title {
        font-size: 1.6rem;
    }

    .gite-card__features {
        grid-template-columns: 1fr;
    }

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

    .lightbox__prev { left: 0.5rem; }
    .lightbox__next { right: 0.5rem; }
}

@media (max-width: 480px) {
    .page-hero {
        height: 40vh;
        min-height: 280px;
    }

    .page-hero__title {
        font-size: 2rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .gite-card__content,
    .activity-card__content {
        padding: 1.5rem;
    }

    .activity-card__title {
        font-size: 1.4rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .lightbox__close {
        top: 0.75rem;
        right: 1rem;
        font-size: 2rem;
    }
}
