/* ========================================
   VARIABLES & BASE
   ======================================== */
:root {
    --primary: #8B5E3C;
    --primary-light: #A67B5B;
    --primary-dark: #6B4226;
    --secondary: #C8A87C;
    --secondary-light: #D4BC96;
    --bg: #F5F0E8;
    --bg-alt: #ECE4D8;
    --text: #3A3228;
    --text-light: #6B5E52;
    --accent: #5B8A8A;
    --accent-light: #7AABAB;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(58, 50, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(58, 50, 40, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.header-scrolled {
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(58, 50, 40, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height 0.4s ease;
    max-width: none;
    padding: 0 1.25rem;
}

.header-scrolled .header-inner {
    height: 58px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.header-logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition), opacity var(--transition);
    opacity: 0;
    pointer-events: none;
}

.header-scrolled .header-logo-text {
    color: var(--primary-dark);
    opacity: 1;
    pointer-events: auto;
}

/* Nav toggle (hamburger) */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    width: 28px;
    height: 28px;
}

.nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.header-scrolled .nav-toggle-label span {
    background: var(--text);
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation mobile */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg);
    padding: 100px 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.nav-toggle:checked ~ .nav {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text);
    border-bottom: 1px solid var(--bg-alt);
    transition: color var(--transition), padding-left var(--transition);
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Dropdown toggle button */
.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-arrow {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

.nav-dropdown.open .nav-arrow {
    transform: rotate(180deg);
}

/* ---- Mobile submenu ---- */
.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nav-dropdown.open .nav-submenu {
    max-height: 500px;
}

.nav-sublink {
    display: block;
    padding: 0.65rem 0 0.65rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-light);
    border-left: 2px solid var(--bg-alt);
    transition: color var(--transition), border-color var(--transition), padding-left var(--transition);
}

.nav-sublink:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1.5rem;
}

/* Header phone */
.header-phone {
    display: none;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(58, 50, 40, 0.2) 0%,
        rgba(58, 50, 40, 0.4) 50%,
        rgba(58, 50, 40, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.25rem;
    max-width: 800px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--secondary-light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.h1-sub {
    display: block;
    font-family: 'Georgia', serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--secondary-light);
    margin-top: 0.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 94, 60, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   SECTIONS - COMMON
   ======================================== */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-white {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/background.jpg') center center / cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.section-white > .container {
    position: relative;
    z-index: 1;
}

.section-beige {
    background: var(--bg);
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.section-title-center {
    text-align: center;
}

.container > .section-label {
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========================================
   PRÉSENTATION
   ======================================== */
.presentation-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.presentation-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presentation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.presentation-content p:last-child {
    margin-bottom: 0;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.highlight-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.highlight-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.15rem;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================================
   ESPACES (NOS ESPACES)
   ======================================== */
.spaces-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.space-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.space-card:hover {
    box-shadow: var(--shadow-lg);
}

.space-card-img {
    overflow: hidden;
}

.space-card-img img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.space-card:hover .space-card-img img {
    transform: scale(1.05);
}

.space-card-body {
    padding: 1.25rem 1.5rem;
}

.space-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.space-card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   ÉQUIPEMENTS
   ======================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.amenity-group {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

.amenity-group:hover {
    transform: translateY(-3px);
}

.amenity-group-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.amenity-group h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.85rem;
}

.amenity-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.amenity-group li {
    font-size: 0.92rem;
    color: var(--text-light);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.amenity-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* ========================================
   SITUATION
   ======================================== */
.situation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.situation-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.situation-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.situation-block h3 i {
    color: var(--primary);
    font-size: 1.1rem;
}

.situation-block > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.situation-block ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.situation-block li {
    font-size: 0.92rem;
    color: var(--text-light);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.situation-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Distance list */
.distance-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0 0.65rem 1.25rem;
    border-bottom: 1px solid var(--bg-alt);
}

.distance-list li:last-child {
    border-bottom: none;
}

.distance-name {
    font-size: 0.92rem;
    color: var(--text-light);
}

.distance-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    white-space: nowrap;
    margin-left: 1rem;
}

/* ========================================
   MAP
   ======================================== */
.map-container {
    margin-top: 2.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ========================================
   TARIFS
   ======================================== */
/* Pricing filters */
.pricing-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pricing-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--bg);
    border: 2px solid var(--bg-alt);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
}

.pricing-filter:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.pricing-filter.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pricing-filter i {
    font-size: 0.85rem;
}

.pricing-filter-months {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.75;
}

.pricing-filter-gallery {
    color: var(--primary);
    border-color: var(--primary);
}

.pricing-filter-gallery:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pricing-from {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    background: var(--primary);
    color: var(--white);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.pricing-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
}

.pricing-card-featured .pricing-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.pricing-card-featured h3 {
    color: var(--white);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.pricing-card-featured .pricing-period {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card-featured .pricing-price {
    color: var(--white);
}

.pricing-currency {
    font-size: 1.6rem;
    vertical-align: super;
    margin-left: 0.15rem;
}

.pricing-unit {
    font-size: 0.88rem;
    color: var(--text-light);
}

.pricing-card-featured .pricing-unit {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-note i {
    color: var(--primary);
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    overflow: hidden;
}

.contact-form {
    order: 2;
}

.contact-info {
    order: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.25rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--white);
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5E52' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    border: none;
}

/* Contact info card */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-info-card > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-item i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-info-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color var(--transition);
    word-break: break-all;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-info-extras {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-extra {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-light);
}

.contact-extra i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.75);
    padding-top: clamp(2.5rem, 6vw, 4rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col li {
    font-size: 0.9rem;
}

.footer-col a {
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--secondary-light);
}

.footer-col i {
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-light);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3.5rem 1rem 4.5rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
    outline: none;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 2001;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-caption {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Clickable images */
.presentation-image img,
.space-card-img img {
    cursor: pointer;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background var(--transition);
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 94, 60, 0.4);
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE - SMALL (< 480px)
   ======================================== */
@media (max-width: 480px) {
    .pricing-filter {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

/* ========================================
   RESPONSIVE - TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .presentation-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .presentation-image {
        flex: 0 0 45%;
    }

    .presentation-image img {
        height: 100%;
        object-fit: cover;
    }

    .presentation-content {
        flex: 1;
    }

    .highlights {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .spaces-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .space-card:first-child {
        grid-column: 1 / -1;
    }

    .space-card:first-child .space-card-img img {
        height: 100%;
        min-height: 300px;
    }

    .amenities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .amenity-group {
        grid-column: span 2;
    }

    .amenity-group:last-child {
        grid-column: 2 / span 2;
    }

    .situation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container iframe {
        height: 380px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .contact-form {
        order: 1;
    }

    .contact-info {
        order: 2;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    /* Header desktop */
    .container.header-inner {
        padding: 0 1rem;
    }

    .nav-toggle-label {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1.2rem;
        font-family: 'Georgia', serif;
        color: var(--white);
        border-bottom: none;
        position: relative;
    }

    .header-scrolled .nav-link {
        color: var(--text);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width var(--transition);
    }

    .nav-link:hover {
        color: var(--secondary-light);
        padding-left: 1rem;
    }

    .nav-link:hover::after {
        width: 50%;
    }

    .header-scrolled .nav-link:hover {
        color: var(--primary);
    }

    /* Dropdown desktop — reset mobile styles */
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown-toggle {
        gap: 0.35rem;
    }

    .nav-arrow {
        font-size: 0.55rem;
    }

    /* Reset mobile max-height, use opacity/visibility instead */
    .nav-submenu {
        max-height: none;
        overflow: visible;
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        min-width: 220px;
        background: var(--white);
        border-radius: var(--radius-sm);
        box-shadow: 0 12px 40px rgba(58, 50, 40, 0.15);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .nav-dropdown.open .nav-submenu {
        max-height: none;
    }

    .nav-submenu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-bottom-color: var(--white);
        border-top: 0;
    }

    /* Zone tampon pour le survol entre le lien et le submenu */
    .nav-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 14px;
        display: none;
    }

    .nav-dropdown:hover::after,
    .nav-dropdown.open::after {
        display: block;
    }

    .nav-dropdown:hover .nav-submenu,
    .nav-dropdown.open .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown:hover .nav-arrow,
    .nav-dropdown.open .nav-arrow {
        transform: rotate(180deg);
    }

    .nav-sublink {
        padding: 0.6rem 1.5rem;
        font-size: 0.92rem;
        color: var(--text);
        border-left: none;
        transition: background var(--transition), color var(--transition);
        white-space: nowrap;
    }

    .nav-sublink:hover {
        background: var(--bg);
        color: var(--primary);
        padding-left: 1.5rem;
        border-left: none;
    }

    /* Header phone */
    .header-phone {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 700;
        transition: color var(--transition);
    }

    .header-scrolled .header-phone {
        color: var(--primary);
    }

    .header-phone:hover {
        color: var(--secondary-light);
    }

    .header-phone i {
        font-size: 0.8rem;
    }

    /* Hero parallax */
    .hero-img {
        transform: translateY(var(--parallax-y, 0)) scale(1.1);
        will-change: transform;
    }

    /* Spaces - Bento grid */
    .spaces-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 300px;
    }

    .space-card:first-child {
        grid-column: 1 / 3;
    }

    .space-card:nth-child(2) {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .space-card:nth-child(5) {
        grid-column: 1 / 3;
    }

    /* Spaces - Overlay effect */
    .space-card {
        position: relative;
    }

    .space-card-img {
        position: absolute;
        inset: 0;
    }

    .space-card-img img {
        height: 100%;
    }

    .space-card-body {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2rem 1.5rem 1.5rem;
        background: linear-gradient(to top, rgba(42, 36, 28, 0.85) 0%, rgba(42, 36, 28, 0.2) 70%, transparent 100%);
        z-index: 2;
    }

    .space-card-body h3 {
        color: var(--white);
        transition: transform 0.4s ease;
    }

    .space-card-body p {
        color: rgba(255, 255, 255, 0.9);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        transition: max-height 0.5s ease, opacity 0.4s ease 0.1s, margin 0.4s ease;
    }

    .space-card:hover .space-card-body {
        background: linear-gradient(to top, rgba(42, 36, 28, 0.92) 0%, rgba(42, 36, 28, 0.5) 60%, rgba(42, 36, 28, 0.15) 100%);
    }

    .space-card:hover .space-card-body h3 {
        transform: translateY(-4px);
    }

    .space-card:hover .space-card-body p {
        max-height: 200px;
        opacity: 1;
        margin-top: 0.5rem;
    }

    /* Amenities desktop - 6-col grid centré */
    .amenities-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .amenity-group {
        grid-column: span 2;
    }

    .amenity-group:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .amenity-group:last-child {
        grid-column: 4 / span 2;
    }

    .map-container iframe {
        height: 420px;
    }
}

/* ========================================
   RESPONSIVE - LARGE DESKTOP (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 6rem 0;
    }

    .spaces-grid {
        grid-auto-rows: 340px;
    }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
    .header,
    .hero-overlay,
    .hero-actions,
    .hero-scroll,
    .contact-form,
    .back-to-top,
    .map-container,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 1.5rem 0;
    }
}
