/* ================================================
   GLÄDJE — STYLE PRINCIPAL
   Adapté depuis Aurel J — Juin 2026
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Montserrat:wght@300;400;500;700&family=Pinyon+Script&display=swap');

/* ================================================
   VARIABLES
================================================ */
:root {
    --blanc: #F7F3EE;
    --encre: #1a1a1a;
    --gris: #8a8a8a;
    --rouge: rgba(204, 68, 51, 1);
    --rouge-pale: rgba(204, 68, 51, 0.12);
    --bleu: rgba(51, 102, 170, 1);
    --bleu-pale: rgba(51, 102, 170, 0.12);
    --jaune: rgba(232, 192, 32, 1);
    --jaune-pale: rgba(232, 192, 32, 0.18);
    --shadow: 0 4px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.10);
    --transition: all 0.3s ease;
}

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--encre);
    overflow-x: hidden;
    background: var(--blanc);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

section { padding: 7rem 2rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================================
   TYPOGRAPHIE
================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.2;
    color: var(--encre);
    letter-spacing: 3px;
    text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1rem, 2.5vw, 1.4rem); margin-bottom: 1rem; }
h4 { font-size: 1rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
    color: var(--gris);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.9;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--rouge);
    display: block;
    margin-bottom: 1rem;
}

/* ================================================
   BOUTONS
================================================ */
.btn-ligne {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--encre);
    border-bottom: 0.5px solid var(--encre);
    padding-bottom: 3px;
    transition: opacity 0.3s;
    margin-top: 1rem;
}
.btn-ligne:hover { opacity: 0.5; }

.btn-rouge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rouge);
    border: 0.5px solid rgba(204,68,51,0.5);
    padding: 0.75rem 2rem;
    transition: all 0.3s;
    margin-top: 1rem;
}
.btn-rouge:hover { background: var(--rouge); color: #fff; }

.btn-encre {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--encre);
    border: 0.5px solid rgba(26,26,26,0.3);
    padding: 0.75rem 2rem;
    transition: all 0.3s;
}
.btn-encre:hover { background: var(--encre); color: var(--blanc); }

/* ================================================
   ANIMATIONS
================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ================================================
   HEADER
================================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 90px;
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 0.5px solid transparent;
}
header.scrolled {
    background: var(--blanc);
    border-bottom: 0.5px solid rgba(26,26,26,0.08);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0 1.5rem;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(26,26,26,0.7);
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav gauche */
.nav-left {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-left: 2rem;
}
.nav-left a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--encre);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.nav-left a:hover { opacity: 1; }

/* Nav centre */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.nav-logo-text {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.2rem;
    color: var(--encre);
    letter-spacing: 1px;
    line-height: 1;
}

/* Nav droite */
.nav-right {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-right: 2rem;
}
.nav-right a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--encre);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.nav-right a:hover { opacity: 1; }
.nav-right .nav-cta {
    opacity: 1;
    border: 0.5px solid rgba(204,68,51,0.5);
    color: var(--rouge);
    padding: 0.45rem 1.2rem;
}
.nav-right .nav-cta:hover { background: var(--rouge); color: #fff; }

/* Langue selector nav */
.lang-selector {
    display: flex;
    gap: 0;
}
.lang-selector a {
    font-size: 0.55rem !important;
    letter-spacing: 2px !important;
    padding: 0.2rem 0.5rem;
    opacity: 0.4 !important;
    border: none !important;
}
.lang-selector a.active { opacity: 1 !important; color: var(--rouge) !important; }
.lang-selector a:not(:last-child) { border-right: 0.5px solid rgba(26,26,26,0.15) !important; }

/* Menu mobile */
.nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--encre);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.nav-menu.open { display: flex; }
.nav-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}
.nav-menu a:hover { color: rgba(204,68,51,0.9); }
.nav-menu-logo {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
.nav-menu-close {
    position: absolute;
    top: 2rem; right: 2rem;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
}
.nav-menu-tricolor {
    display: flex;
    width: 60px;
    height: 1px;
    margin-top: 1rem;
}
.nav-menu-tricolor span { flex: 1; }

/* ================================================
   HERO
================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--blanc);
}
.hero-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 0; opacity: 1;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, transparent 65%, rgba(247,243,238,0.75) 82%, #F7F3EE 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: right;
    padding: 0 6rem 6rem 0;
    max-width: 45%;
    margin-left: auto;
}
.hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; font-weight: 500;
    letter-spacing: 6px; text-transform: uppercase;
    color: rgba(26,26,26,0.45);
    display: block; margin-bottom: 1.5rem;
}
.hero-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.1rem;
    font-weight: 300; letter-spacing: 2px;
    color: rgba(26,26,26,0.5);
    margin-top: 0.8rem;
}
.hero-btns {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.btn-hero {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; font-weight: 500;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--encre);
    border: 0.5px solid rgba(26,26,26,0.3);
    padding: 0.7rem 2rem;
    transition: all 0.3s;
    background: transparent;
}
.btn-hero:hover { background: rgba(26,26,26,0.05); }
.btn-hero.primary { border-color: rgba(204,68,51,0.6); color: var(--rouge); }
.btn-hero.primary:hover { background: var(--rouge); color: #fff; }

/* ================================================
   MAG BLOCS (galerie aperçu, à propos)
================================================ */
#galerie-apercu { padding: 0; background: var(--blanc); }

.mag-bloc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}
.mag-bloc.reverse { direction: rtl; }
.mag-bloc.reverse > * { direction: ltr; }

.mag-photo { overflow: hidden; position: relative; }
.mag-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.mag-photo:hover img { transform: scale(1.03); }

.mag-text {
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem;
    background: var(--blanc);
}
.mag-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--encre); margin-bottom: 1.5rem;
}
.mag-text p { margin-bottom: 2rem; }

.mag-accent-rouge { border-left: 3px solid rgba(204,68,51,0.25); }
.mag-accent-bleu  { border-left: 3px solid rgba(51,102,170,0.25); }
.mag-accent-jaune { border-left: 3px solid rgba(232,192,32,0.35); }

/* ================================================
   SECTION UNIVERS (3 piliers)
================================================ */
#univers { background: var(--blanc); }
.univers-inner {
    max-width: 1100px; margin: 0 auto;
    text-align: center;
}
.univers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem; margin-top: 4rem;
}
.univers-item { padding-top: 1.5rem; border-top: 0.5px solid rgba(26,26,26,0.12); }
.univers-num {
    font-size: 0.55rem; letter-spacing: 4px;
    color: var(--rouge); margin-bottom: 0.8rem; display: block;
}
.univers-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 300;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--encre); margin-bottom: 1rem;
}

/* ================================================
   SECTION PEINTRE (bio)
================================================ */
#peintre { background: var(--blanc); padding: 7rem 2rem; }
.peintre-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center;
    max-width: 1100px; margin: 0 auto;
}
.peintre-photo img {
    width: 100%; aspect-ratio: 3/4;
    object-fit: cover; filter: saturate(0.9);
}
.peintre-text blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.3rem;
    font-weight: 300; color: var(--encre);
    line-height: 1.7;
    border-left: 2px solid rgba(204,68,51,0.35);
    padding-left: 1.5rem; margin-bottom: 2rem;
}
.peintre-text p { margin-bottom: 2.5rem; }

/* ================================================
   SECTION COMMANDE CTA
================================================ */
#commande {
    background: var(--encre);
    padding: 7rem 2rem;
    text-align: center;
}
#commande h2 {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}
#commande p {
    color: rgba(255,255,255,0.55);
    max-width: 520px; margin: 0 auto 2.5rem;
}
.btn-blanc {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; font-weight: 500;
    letter-spacing: 4px; text-transform: uppercase;
    color: #fff;
    border: 0.5px solid rgba(255,255,255,0.4);
    padding: 0.75rem 2.5rem;
    transition: all 0.3s;
}
.btn-blanc:hover { background: rgba(255,255,255,0.1); }

/* ================================================
   TRICOLOR
================================================ */
.tricolor-line {
    display: flex;
    height: 1px; width: 80px;
    margin: 1.5rem auto;
}
.tricolor-line span { flex: 1; }
.tricolor-line-left { margin: 1.5rem 0; }

/* ================================================
   FOOTER
================================================ */
footer {
    background: var(--encre);
    padding: 3rem 4rem 2rem;
}
.footer-tricolor { display: flex; height: 2px; margin-bottom: 2rem; }
.footer-tricolor span { flex: 1; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 3rem;
}
.footer-logo {
    font-family: 'Pinyon Script', cursive;
    font-size: 2rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
}
.footer-links {
    display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
    border-top: 0.5px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem; text-align: center;
}
.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem; letter-spacing: 2px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase; margin: 0;
}

/* ================================================
   BANNIÈRE COOKIES
================================================ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--encre);
    color: #fff;
    padding: 1rem 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 997;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 1px;
    border-top: 0.5px solid rgba(255,255,255,0.1);
}
.cookie-banner a { color: rgba(204,68,51,0.9); text-decoration: underline; }
.cookie-accept {
    background: var(--rouge);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.cookie-accept:hover { opacity: 0.8; }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 900px) {
    html, body, section { overflow-x: hidden; }

    /* Header */
    .nav-left { display: none; }
    .nav-right { display: none; }
    .hamburger { display: flex; }

    /* Hero */
    .hero-content {
        padding: 0 2rem 4rem;
        max-width: 90%;
        text-align: left;
    }
    .hero-btns { justify-content: flex-start; }

    /* Mag blocs */
    .mag-bloc { grid-template-columns: 1fr; min-height: auto; }
    .mag-bloc.reverse { direction: ltr; }
    .mag-photo { height: 260px; }
    .mag-photo img { height: 100%; }
    .mag-text { padding: 2.5rem 1.5rem; }

    /* Peintre */
    .peintre-inner { grid-template-columns: 1fr; gap: 3rem; }

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

    /* Footer */
    .footer-inner { flex-direction: column; gap: 2rem; }
    footer { padding: 2rem 1.5rem; }

    /* Cookies */
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; padding: 1rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; letter-spacing: 3px; }
    .mag-text { padding: 1.5rem 1rem; }
    .footer-links { gap: 0.4rem; }
}
