@charset "UTF-8";

/* =============================================
   CSS Variables
   ============================================= */
:root {
    --bg: #fffaf0;
    --text: #595046;
    --dark: #2c251e;
    --sapin: #1e4d3b;
    --pomme: #a8e10c;
    --gold: #d4c5b0;
    --red: #8a1c1c;
    --red-light: #b83b3b;
}

body {
    background-color: var(--bg);
    color: var(--text);
}

/* =============================================
   Base Utilities
   ============================================= */
.sec {
    padding: 6rem 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.ttl {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.875rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.sub {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--sapin);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .ttl {
        font-size: 2.25rem;
    }
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 0.125rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    font-family: 'Shippori Mincho', serif;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-pri {
    background-color: var(--sapin);
    color: white;
}

.btn-pri:hover {
    background-color: var(--pomme);
}

.btn-out {
    border: 1px solid var(--sapin);
    color: var(--sapin);
    background: transparent;
}

.btn-out:hover {
    background-color: var(--sapin);
    color: white;
}

.btn-out.txt-w {
    border-color: white;
    color: white;
}

.btn-out.txt-w:hover {
    background: white;
    color: var(--sapin);
}

.btn-red {
    background: linear-gradient(to right, var(--red), var(--red-light));
    color: white;
}

.btn-red:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: bold;
}

.btn-ghost:hover {
    background: white;
    color: var(--sapin);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-txt {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* =============================================
   Header & Nav
   ============================================= */
.hdr {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    transition: all 0.3s;
    background: transparent;
}

.hdr.scrolled {
    background: rgba(255, 250, 240, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hdr-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
}

.nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sapin);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    color: var(--text);
    font-size: 1.25rem;
    font-family: 'Shippori Mincho', serif;
}

/* =============================================
   Layout
   ============================================= */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    inset: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }

    .md-hidden {
        display: none;
    }

    .md-block {
        display: block;
    }
}

/* =============================================
   Colors & Backgrounds
   ============================================= */
.txt-c {
    text-align: center;
}

.txt-s {
    color: var(--sapin);
}

.txt-d {
    color: var(--dark);
}

.txt-w {
    color: white;
}

.txt-gold {
    color: var(--gold);
}

.txt-pomme {
    color: var(--pomme);
}

.txt-muted {
    color: rgba(255, 255, 255, 0.7);
}

.txt-gray {
    color: #666;
}

.bg-sapin {
    background-color: var(--sapin);
}

.bg-pomme {
    background-color: var(--pomme);
}

.bg-white {
    background-color: white;
}

.bg-cream {
    background-color: #f8f5f0;
}

.bg-meat-gradient {
    background: linear-gradient(to right, var(--red), var(--red-light));
}

/* =============================================
   Spacing
   ============================================= */
.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 4rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* =============================================
   Typography
   ============================================= */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-serif {
    font-family: 'Shippori Mincho', serif;
}

.tracking-wide {
    letter-spacing: 0.2em;
}

.drop-shadow {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-7 {
    line-height: 1.75rem;
}

.leading-8 {
    line-height: 2rem;
}

@media (min-width: 768px) {
    .md-text-xl {
        font-size: 1.25rem;
    }

    .md-text-4xl {
        font-size: 2.25rem;
    }

    .md-text-6xl {
        font-size: 3.75rem;
    }
}

/* =============================================
   Effects
   ============================================= */
.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.rounded-sm {
    border-radius: 0.125rem;
}

.trans {
    transition: all 0.3s;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-justify-spacing {
    text-align: justify;
    text-justify: inter-ideograph;
}

/* Section Headers */
.sec-hdr {
    text-align: center;
    margin-bottom: 5rem;
}

.sec-line {
    width: 4rem;
    height: 2px;
    background: linear-gradient(to right, var(--sapin), var(--pomme));
    margin: 0 auto;
    transform: scaleX(0);
    transform-origin: left;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.125rem;
    font-size: 0.75rem;
}

.badge-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.125rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Scene Cards */
.scene-card {
    min-width: 280px;
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 0.125rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    border-bottom: 4px solid transparent;
}

.scene-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--pomme);
}

/* Review Cards */
.review-card {
    background: #f9f9f9;
    padding: 2rem;
    position: relative;
    border-left: 4px solid var(--sapin);
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Banner Overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    transition: all 0.5s;
    color: white;
}

.banner-sapin {
    background: rgba(30, 77, 59, 0.8);
}

.banner-sapin:hover {
    background: rgba(30, 77, 59, 0.7);
}

.banner-dark {
    background: rgba(0, 0, 0, 0.7);
}

.banner-dark:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Banner Image Container */
.banner-img {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 2s;
}

.banner-img:hover .banner-bg {
    transform: scale(1.1);
}

/* Border */
.border-t-4 {
    border-top-width: 4px;
    border-top-style: solid;
}

.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

.border-b {
    border-bottom: 1px solid;
}

.border-dashed {
    border-style: dashed;
}

.border-gold {
    border-color: var(--gold);
}

.border-sapin {
    border-color: var(--sapin);
}

.border-pomme {
    border-color: var(--pomme);
}

.border-white {
    border-color: white;
}

/* Footer */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-family: 'Shippori Mincho', serif;
    color: var(--sapin);
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--pomme);
}

/* =============================================
   Scrollbar
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--sapin);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pomme);
}

/* =============================================
   Reveal Animation
   ============================================= */
.reveal-container {
    position: relative;
    overflow: hidden;
}

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

.reveal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    z-index: 2;
}

/* =============================================
   Custom Cursor
   ============================================= */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--sapin);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--sapin);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(150, 200, 90, 0.2);
    border-color: transparent;
}

/* =============================================
   Loading Screen
   ============================================= */
#loader {
    position: fixed;
    inset: 0;
    background-color: var(--sapin);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo img {
    width: 180px;
    opacity: 0;
}

/* =============================================
   Animation
   ============================================= */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.bg-dot-pattern {
    background-image: radial-gradient(#1e4d3b 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Mobile only line break */
.br-mobile {
    display: inline;
}

@media (min-width: 768px) {
    .br-mobile {
        display: none;
    }
}

/* Mobile block, PC inline */
.mobile-break {
    display: block !important;
}

@media (min-width: 768px) {
    .mobile-break {
        display: inline !important;
    }
}