:root{
    --bg:#f7f3ec;
    --bg-soft:#ffffff;
    --bg-card:rgba(255,255,255,.74);
    --gold:#c98a2b;
    --gold-soft:rgba(201,138,43,.14);
    --blue:#5f8ea3;
    --text:#222222;
    --muted:#6d6d6d;
    --border:rgba(0,0,0,.08);
    --shadow:0 24px 70px rgba(0,0,0,.08);
    --radius-xl:46px;
    --radius-lg:34px;
    --radius-md:24px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    font-family:Inter,Arial,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at top left,rgba(201,138,43,.12),transparent 34%),
        radial-gradient(circle at bottom right,rgba(95,142,163,.11),transparent 38%),
        linear-gradient(to bottom,#fcfaf6,#f3eee6);
    overflow-x:hidden;
}

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

a{
    color:inherit;
}

/* AMBIANCE */

.noise{
    position:fixed;
    inset:0;
    z-index:100;
    pointer-events:none;
    opacity:.03;
    background-image:radial-gradient(#000 1px,transparent 1px);
    background-size:4px 4px;
}

.cursor-glow{
    position:fixed;
    width:320px;
    height:320px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(201,138,43,.16),transparent 65%);
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:0;
}

/* LOADER */

.page-loader{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:center;
    background:var(--bg);
    transition:opacity .6s ease,visibility .6s ease;
}

.page-loader.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.loader-circle{
    width:120px;
    height:120px;
    border-radius:50%;
    display:grid;
    place-items:center;
    position:relative;
    overflow:hidden;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.loader-circle::before{
    content:"";
    position:absolute;
    inset:-4px;
    border-radius:50%;
    background:conic-gradient(from 0deg,transparent,var(--gold),transparent 38%);
    animation:loaderSpin 1.2s linear infinite;
}

.loader-circle::after{
    content:"";
    position:absolute;
    inset:8px;
    border-radius:50%;
    background:var(--bg-soft);
    z-index:1;
}

.loader-circle img{
    width:92px;
    height:92px;
    object-fit:contain;
    border-radius:50%;
    position:relative;
    z-index:2;
}

@keyframes loaderSpin{
    to{
        transform:rotate(360deg);
    }
}

/* ==================================
   HEADER V2
================================== */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(20px);

    border-bottom:1px solid var(--border);

    box-shadow:
        0 10px 40px rgba(0,0,0,.05);
}

.header-container{
    width:min(1400px,calc(100% - 40px));

    height:90px;

    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;
}

.brand{
    display:flex;
    align-items:center;
    gap:16px;

    text-decoration:none;
}

.brand img{
    width:70px;
    height:auto;
}

.brand-text{
    display:flex;
    flex-direction:column;
}

.brand-text strong{
    color:var(--text);
    font-size:18px;
    font-weight:900;
}

.brand-text span{
    color:var(--gold);
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.nav{
    display:flex;
    align-items:center;
    gap:30px;
}

.nav a{
    text-decoration:none;
    color:var(--muted);
    font-weight:700;
    transition:.25s ease;
}

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

.header-search{
    display:flex;
    align-items:center;
    gap:10px;
}

.header-search input{
    width:240px;

    padding:12px 18px;

    border-radius:999px;

    border:1px solid var(--border);

    background:rgba(255,255,255,.92);

    outline:none;
}

.header-search input:focus{
    border-color:var(--gold);
}

.header-search button{
    border:none;

    cursor:pointer;

    padding:12px 18px;

    border-radius:999px;

    background:var(--gold);

    color:#fff;

    font-weight:800;
}

.menu-btn{
    display:none;
}

/* GLOBAL */

.page,
.home-v2,
.concept-page,
.experiences-page,
.journal-page,
.contact-page,
.map-page,
.legal-page,
.search-page{
    width:min(1260px,calc(100% - 40px));
    margin:auto;
    padding:150px 0 100px;
}

.label{
    display:inline-block;
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:12px;
    font-weight:900;
    margin-bottom:18px;
}

h1{
    font-size:clamp(54px,9vw,112px);
    line-height:.9;
    letter-spacing:-5px;
    margin-bottom:28px;
}

h2{
    font-size:clamp(40px,6vw,76px);
    line-height:.95;
    letter-spacing:-3px;
}

p{
    line-height:1.8;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 24px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
    transition:.25s ease;
}

.btn.primary{
    background:var(--gold);
    color:#fff;
}

.btn.ghost{
    border:1px solid var(--border);
    background:var(--bg-card);
    color:var(--text);
}

.btn:hover{
    transform:translateY(-3px);
}

.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:34px;
}

/* HERO PAGES */

.home-hero,
.concept-hero,
.experiences-hero,
.journal-hero,
.map-hero{
    min-height:540px;
    display:grid;
    grid-template-columns:1.45fr .85fr;
    gap:40px;
    align-items:end;
    padding:80px;
    border-radius:var(--radius-xl);
    background:
        linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.48)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1800&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    margin-bottom:70px;
}

.journal-hero{
    background:
        linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.48)),
        url("https://images.unsplash.com/photo-1491553895911-0055eca6402d?q=80&w=1800&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
}

.home-hero-content p,
.concept-hero-content p,
.experiences-hero-content p,
.journal-hero-content p,
.map-hero-content p{
    max-width:760px;
    color:var(--muted);
    font-size:20px;
}

.home-hero-card,
.concept-hero-card,
.experiences-hero-card,
.journal-hero-card,
.map-hero-card{
    padding:30px;
    border-radius:32px;
    background:rgba(255,255,255,.84);
    border:1px solid var(--border);
    backdrop-filter:blur(20px);
    box-shadow:var(--shadow);
}

.home-hero-card span,
.concept-hero-card span,
.experiences-hero-card span,
.journal-hero-card span,
.map-hero-card span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.home-hero-card strong,
.concept-hero-card strong,
.experiences-hero-card strong,
.journal-hero-card strong,
.map-hero-card strong{
    display:block;
    margin-top:12px;
    font-size:34px;
    line-height:1.3;
}

.home-hero-card p,
.experiences-hero-card p,
.journal-hero-card p{
    color:var(--muted);
    margin:12px 0 18px;
}

.home-hero-card a,
.experiences-hero-card a{
    color:var(--gold);
    font-weight:900;
    text-decoration:none;
}

/* HOME */

.home-grid{
    display:grid;
    grid-template-columns:1.4fr repeat(3,1fr);
    gap:22px;
    margin-bottom:80px;
}

.home-card,
.experience-card,
.concept-value,
.bento-card,
.experience-bento-card,
.stat-card,
.glass-card{
    padding:34px;
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.home-card.large{
    grid-row:span 2;
}

.home-card h2{
    margin-bottom:22px;
}

.home-card p,
.bento-card p,
.experience-bento-card p,
.concept-value p,
.experience-card p{
    color:var(--muted);
}

.home-card strong,
.stat-card strong{
    display:block;
    color:var(--gold);
    font-size:54px;
    font-weight:900;
}

.home-card span,
.stat-card span{
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.home-feature,
.experience-feature,
.journal-featured-v2{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:34px;
    align-items:center;
    padding:32px;
    border-radius:42px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    margin-bottom:80px;
}

.home-feature-image,
.experience-feature-image,
.journal-featured-image{
    min-height:440px;
    border-radius:32px;
    background:
        linear-gradient(rgba(255,255,255,.10),rgba(247,243,236,.18)),
        url("https://images.unsplash.com/photo-1514890547357-a9ee288728e0?q=80&w=1600&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
}

.home-feature-content p,
.experience-feature-content p,
.journal-featured-content p{
    color:var(--muted);
    margin:22px 0 30px;
}

.home-map-preview{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
    padding:50px;
    border-radius:40px;
    background:
        radial-gradient(circle at top left,rgba(95,142,163,.14),transparent 42%),
        var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    margin-bottom:80px;
}

.home-map-preview p{
    color:var(--muted);
    max-width:720px;
}

/* CALENDRIER */

.home-calendar{
    margin-bottom:80px;
    padding:50px;
    border-radius:42px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.home-calendar-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:38px;
}

.home-calendar-header p{
    color:var(--muted);
    max-width:720px;
    margin-top:16px;
}

.calendar-list{
    display:grid;
    gap:18px;
}

.calendar-item{
    display:grid;
    grid-template-columns:160px 1fr;
    gap:24px;
    padding:26px;
    border-radius:28px;
    background:rgba(255,255,255,.66);
    border:1px solid var(--border);
}

.calendar-date{
    color:var(--gold);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
}

.calendar-item h3{
    font-size:26px;
    margin-bottom:10px;
}

.calendar-item p{
    color:var(--muted);
}

/* CONCEPT / EXPERIENCES */

.concept-manifest{
    max-width:940px;
    margin:0 auto 90px;
    text-align:center;
}

.concept-manifest p{
    color:var(--muted);
    font-size:20px;
    margin-top:22px;
}

.concept-values,
.experience-pillars{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-bottom:90px;
}

.concept-value span,
.experience-card span{
    color:var(--gold);
    font-weight:900;
}

.concept-value h3,
.experience-card h3{
    font-size:32px;
    margin:52px 0 16px;
}

.concept-bento,
.experiences-bento{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:24px;
    margin-bottom:90px;
}

.bento-card.large,
.experience-bento-card.large{
    grid-row:span 3;
    min-height:430px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    background:
        linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.38)),
        url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?q=80&w=1600&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
}

.bento-card strong,
.experience-bento-card strong{
    display:block;
    color:var(--gold);
    font-size:24px;
    margin-bottom:14px;
}

.concept-cta{
    text-align:center;
    padding:70px 30px;
    border-radius:42px;
    background:
        radial-gradient(circle at top,rgba(201,138,43,.14),transparent 45%),
        var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.concept-cta p{
    color:var(--muted);
    font-size:20px;
}

/* JOURNAL */

.article-meta-inline,
.journal-categories{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:28px;
}

.article-meta-inline span,
.category{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(201,138,43,.12);
    color:var(--gold);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:1px;
}

.category.active{
    background:var(--gold);
    color:#fff;
}

.journal-grid-v2{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.journal-card-v2{
    overflow:hidden;
    border-radius:34px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.journal-card-image{
    height:260px;
    background-size:cover;
    background-position:center;
}

.journal-card-image.venice{
    background-image:
        linear-gradient(rgba(255,255,255,.08),rgba(247,243,236,.15)),
        url("https://images.unsplash.com/photo-1514890547357-a9ee288728e0?q=80&w=1200&auto=format&fit=crop");
}

.journal-card-content{
    padding:28px;
}

.journal-card-content span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.journal-card-content h3{
    font-size:30px;
    margin:12px 0;
}

.journal-card-content a{
    text-decoration:none;
}

.journal-card-content p{
    color:var(--muted);
    margin-bottom:20px;
}

.read-more{
    color:var(--gold);
    font-weight:900;
}

/* LEGAL */

.legal-page{
    width:min(1120px,calc(100% - 40px));
}

.legal-hero{
    display:grid;
    grid-template-columns:1.5fr .7fr;
    gap:34px;
    align-items:end;
    margin-bottom:70px;
    padding:70px;
    border-radius:46px;
    background:
        radial-gradient(circle at top left,rgba(201,138,43,.16),transparent 42%),
        var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.legal-hero p{
    color:var(--muted);
    font-size:20px;
}

.legal-hero strong,
.legal-item strong{
    color:var(--gold);
}

.legal-hero-card{
    padding:28px;
    border-radius:30px;
    background:rgba(255,255,255,.82);
    border:1px solid var(--border);
}

.legal-hero-card span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.legal-hero-card strong{
    display:block;
    margin-top:10px;
    font-size:28px;
}

.legal-timeline{
    display:grid;
    gap:18px;
}

.legal-item{
    display:grid;
    grid-template-columns:70px 1fr;
    gap:24px;
    padding:32px;
    border-radius:32px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.legal-item > span{
    width:48px;
    height:48px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--gold);
    color:#fff;
    font-weight:900;
}

.legal-item h3{
    font-size:28px;
    margin-bottom:12px;
}

.legal-item p{
    color:var(--muted);
}

.legal-item a{
    color:var(--gold);
    font-weight:900;
    text-decoration:none;
}

.legal-contact-card{
    margin-top:70px;
    padding:60px;
    border-radius:42px;
    text-align:center;
    background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.58));
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.legal-contact-card p{
    color:var(--muted);
    margin:18px 0 28px;
}

/* CONTACT */

.contact-hero{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:34px;
    align-items:end;
    margin-bottom:70px;
    padding:70px;
    border-radius:46px;
    background:
        radial-gradient(circle at top left,rgba(201,138,43,.16),transparent 42%),
        var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.contact-hero-content p,
.contact-info-card p,
.contact-side p{
    color:var(--muted);
}

.contact-info-card,
.contact-side,
.contact-form-card{
    padding:34px;
    border-radius:36px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.contact-info-card span,
.contact-form label span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.contact-info-card strong{
    display:block;
    margin:12px 0;
    font-size:24px;
}

.contact-layout{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:28px;
    align-items:start;
}

.contact-points{
    margin-top:28px;
    padding-left:18px;
    color:var(--muted);
    line-height:1.9;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.contact-form label{
    display:grid;
    gap:8px;
}

.contact-form input,
.contact-form textarea{
    padding:18px;
    border-radius:22px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.78);
    color:var(--text);
    font-size:16px;
    outline:none;
}

.contact-form textarea{
    resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:var(--gold);
}

.success-message,
.error-message{
    padding:18px;
    margin-bottom:22px;
    border-radius:20px;
}

.success-message{
    background:rgba(30,140,60,.14);
    color:#176b34;
}

.error-message{
    background:rgba(180,40,40,.14);
    color:#9d2929;
}

.honeypot{
    display:none;
}

/* MAP */

.travel-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-bottom:40px;
}

.stat-card{
    text-align:center;
}

.map-layout{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:28px;
    align-items:stretch;
}

.map-side{
    padding:34px;
    border-radius:36px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.map-side p{
    color:var(--muted);
    margin-bottom:28px;
}

.map-legend-v2,
.map-legend{
    display:grid;
    gap:14px;
    color:var(--muted);
    font-weight:800;
}

.map-legend-v2 div,
.map-legend div{
    display:flex;
    align-items:center;
    gap:12px;
}

.map-section{
    position:relative;
    min-height:720px;
    border-radius:42px;
    overflow:hidden;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    background:var(--bg-card);
}

#travelMap{
    width:100%;
    height:100%;
    min-height:720px;
    z-index:1;
}

.legend-dot,
.amifra-marker span{
    width:18px;
    height:18px;
    border-radius:50%;
    display:block;
}

.legend-dot.visited,
.amifra-marker span{
    background:var(--gold);
    border:3px solid #fff;
    box-shadow:0 0 0 6px rgba(201,138,43,.22),0 10px 24px rgba(0,0,0,.22);
}

.legend-dot.project,
.project-marker span{
    background:var(--blue);
    border:3px solid #fff;
    box-shadow:0 0 0 6px rgba(95,142,163,.25),0 10px 24px rgba(0,0,0,.22);
}

.amifra-marker{
    display:grid;
    place-items:center;
}

.leaflet-control-zoom a{
    border:none!important;
    background:rgba(255,255,255,.92)!important;
    color:var(--text)!important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
    background:rgba(255,255,255,.94);
}

.leaflet-popup-content-wrapper{
    border-radius:22px;
    backdrop-filter:blur(18px);
    box-shadow:var(--shadow);
}

.leaflet-popup-content{
    font-family:Inter,Arial,sans-serif;
    min-width:220px;
    margin:18px;
}

.map-popup span{
    color:var(--gold);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:900;
}

.map-popup strong{
    display:block;
    margin:8px 0;
    font-size:22px;
}

.map-popup p{
    color:var(--muted);
    margin:6px 0;
}

.map-popup a{
    display:inline-block;
    margin-top:8px;
    color:var(--gold);
    font-weight:900;
    text-decoration:none;
}

/* SEARCH */

.search-page{
    width:min(1120px,calc(100% - 40px));
}

.search-hero{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:34px;
    align-items:end;
    margin-bottom:60px;
    padding:60px;
    border-radius:42px;
    background:
        radial-gradient(circle at top left,rgba(201,138,43,.16),transparent 42%),
        var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.search-hero p{
    color:var(--muted);
    font-size:20px;
}

.search-hero strong{
    color:var(--gold);
}

.search-page-form{
    display:flex;
    gap:12px;
    padding:10px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    border:1px solid var(--border);
}

.search-page-form input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    padding:0 16px;
    color:var(--text);
    font-size:15px;
}

.search-results{
    display:grid;
    gap:18px;
}

.search-card{
    padding:30px;
    border-radius:30px;
    background:var(--bg-card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    transition:.25s ease;
}

.search-card:hover{
    transform:translateY(-4px);
    border-color:rgba(201,138,43,.35);
}

.search-card span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:900;
}

.search-card h3{
    margin:10px 0 12px;
    font-size:30px;
}

.search-card h3 a{
    text-decoration:none;
}

.search-card p{
    color:var(--muted);
    margin-bottom:18px;
}

/* ARTICLE */

.article-page{
    max-width:980px;
}

.article-header{
    text-align:center;
    margin-bottom:50px;
}

.article-header h1{
    font-size:clamp(58px,10vw,120px);
}

.article-lead{
    max-width:760px;
    margin:auto;
    color:var(--muted);
    font-size:22px;
}

.article-meta{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
    margin-top:28px;
    color:var(--gold);
    font-size:14px;
    font-weight:800;
}

.article-cover{
    height:460px;
    overflow:hidden;
    margin-bottom:70px;
    border-radius:42px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.article-cover-bg{
    width:100%;
    height:100%;
    background:
        linear-gradient(rgba(255,255,255,.08),rgba(247,243,236,.20)),
        url("https://images.unsplash.com/photo-1514890547357-a9ee288728e0?q=80&w=1800&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
}

.article-content{
    color:var(--muted);
    font-size:20px;
}

.article-content h2{
    color:var(--text);
    margin:70px 0 22px;
}

.article-content p{
    margin-bottom:26px;
}

.article-content blockquote{
    margin:55px 0;
    padding:34px;
    border-left:4px solid var(--gold);
    border-radius:24px;
    background:var(--bg-card);
    color:var(--text);
    font-size:28px;
    box-shadow:var(--shadow);
}

.article-gallery{
    margin:90px 0;
}

.gallery-header{
    text-align:center;
    margin-bottom:50px;
}

.gallery-header p{
    max-width:700px;
    margin:auto;
    color:var(--muted);
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:220px;
    gap:18px;
}

.gallery-item{
    overflow:hidden;
    border-radius:28px;
    border:1px solid var(--border);
    background:var(--bg-card);
    box-shadow:var(--shadow);
    transition:.4s ease;
}

.gallery-item.large{
    grid-column:span 2;
    grid-row:span 2;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.8s ease;
}

.gallery-image{
    cursor:pointer;
}

.gallery-item:hover{
    transform:translateY(-6px);
}

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

.article-video{
    margin-top:90px;
    text-align:center;
}

.article-video p{
    margin:20px auto 40px;
    color:var(--muted);
    max-width:700px;
}

.video-container{
    overflow:hidden;
    border-radius:34px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    aspect-ratio:16/9;
}

.video-container iframe,
.video-container video{
    width:100%;
    height:100%;
    border:0;
    display:block;
    object-fit:cover;
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
    background:rgba(0,0,0,.92);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:95%;
    max-height:90vh;
    border-radius:20px;
    box-shadow:0 25px 80px rgba(0,0,0,.5);
}

.lightbox-close{
    position:absolute;
    top:30px;
    right:30px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#000;
    cursor:pointer;
    font-size:28px;
    font-weight:700;
}

/* PUBLICITÉ */

.glass-section{
    margin:100px auto 0;
    padding:50px;
    border-radius:42px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.68);
    backdrop-filter:blur(18px);
    box-shadow:var(--shadow);
    width:min(1180px,calc(100% - 40px));
}

.glass-section-content{
    max-width:900px;
    margin:auto;
}

.glass-section p{
    color:var(--muted);
    margin-bottom:22px;
    font-size:18px;
}

.glass-section blockquote{
    margin:40px 0;
    padding:28px;
    border-left:4px solid var(--gold);
    border-radius:22px;
    background:rgba(201,138,43,.08);
    font-size:24px;
    color:var(--text);
}

/* FOOTER VAGUES */

.footer-wave{
    margin-top:120px;
    line-height:0;
}

.footer-wave svg{
    display:block;
    width:100%;
    height:140px;
}

.footer-wave path{
    fill:#ffffff;
}

.footer{
    margin-top:0;
    padding:90px 0 30px;
    background:#ffffff;
    border-top:none;
}

.footer-top,
.footer-container{
    width:min(1220px,calc(100% - 40px));
    margin:auto;
    display:grid;
    grid-template-columns:1.1fr 1fr 1fr 1fr;
    gap:50px;
}

.footer-brand-block{
    padding:32px;
    border-radius:34px;
    background:#ffffff;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.footer-links-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:34px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:25px;
}

.footer-brand img{
    width:55px;
}

.footer-brand h3{
    font-size:20px;
}

.footer-brand span,
.footer-column h4{
    color:var(--gold);
}

.footer-description,
.footer-column li,
.footer-column a,
.footer-bottom{
    color:var(--muted);
}

.footer-description{
    line-height:1.9;
}

.footer-column h4{
    margin-bottom:20px;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:2px;
}

.footer-column ul{
    list-style:none;
}

.footer-column li{
    margin-bottom:14px;
}

.footer-column a{
    text-decoration:none;
    transition:.25s ease;
}

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

.footer-bottom{
    width:min(1220px,calc(100% - 40px));
    margin:60px auto 0;
    padding-top:25px;
    border-top:1px solid rgba(0,0,0,.08);
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    font-size:14px;
}

.footer-bottom strong,
.footer-column strong{
    color:var(--gold);
}

/* COOKIES */

.cookie-banner{
    position:fixed;
    left:50%;
    bottom:30px;
    transform:translateX(-50%);
    width:min(920px,calc(100% - 30px));
    padding:22px;
    border-radius:28px;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(20px);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:.4s ease;
}

.cookie-banner.show{
    opacity:1;
    visibility:visible;
}

.cookie-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cookie-content p{
    color:var(--muted);
    max-width:650px;
}

.cookie-actions{
    display:flex;
    gap:12px;
}

.cookie-actions button{
    border:none;
    cursor:pointer;
}

/* ANIMATIONS */

.reveal{
    opacity:0;
    transform:translateY(32px);
    transition:1s ease;
}

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

/* RESPONSIVE */

@media(max-width:1050px){
    .header{
        grid-template-columns:auto auto auto;
    }

    .search-open{
        display:inline-flex;
    }

    .search-container{
        position:absolute;
        top:76px;
        left:0;
        width:100%;
        max-width:none;
        display:none;
    }

    .search-container.active{
        display:block;
    }

    .nav{
        position:absolute;
        top:76px;
        right:0;
        width:240px;
        display:none;
        flex-direction:column;
        align-items:flex-start;
        padding:22px;
        border-radius:24px;
        background:#fff;
        border:1px solid var(--border);
        box-shadow:var(--shadow);
    }

    .nav.active{
        display:flex;
    }

    .menu-btn{
        display:block;
    }
}

@media(max-width:950px){
    .home-hero,
    .concept-hero,
    .experiences-hero,
    .journal-hero,
    .map-hero,
    .home-grid,
    .home-feature,
    .experience-feature,
    .journal-featured-v2,
    .concept-values,
    .experience-pillars,
    .concept-bento,
    .experiences-bento,
    .legal-hero,
    .legal-item,
    .contact-hero,
    .contact-layout,
    .map-layout,
    .journal-grid-v2,
    .footer-top,
    .footer-container,
    .footer-links-grid,
    .search-hero{
        grid-template-columns:1fr;
    }

    .home-hero,
    .concept-hero,
    .experiences-hero,
    .journal-hero,
    .map-hero,
    .legal-hero,
    .contact-hero{
        padding:42px;
    }

    .bento-card.large,
    .experience-bento-card.large{
        grid-row:auto;
    }

    .home-map-preview,
    .home-calendar-header{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:768px){
    .page,
    .home-v2,
    .concept-page,
    .experiences-page,
    .journal-page,
    .contact-page,
    .map-page,
    .legal-page,
    .search-page{
        padding-top:190px;
    }

    h1{
        font-size:48px;
        letter-spacing:-2px;
    }

    h2{
        font-size:40px;
    }

    .form-row,
    .travel-stats,
    .gallery-grid,
    .calendar-item{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-auto-rows:260px;
    }

    .gallery-item.large{
        grid-column:auto;
        grid-row:auto;
    }

    .map-section,
    #travelMap{
        min-height:520px;
    }

    .search-page-form{
        flex-direction:column;
        border-radius:24px;
    }

    .search-page-form input{
        padding:14px;
    }

    .cookie-content{
        flex-direction:column;
        align-items:flex-start;
    }

    .cookie-actions{
        width:100%;
    }

    .cookie-actions .btn{
        flex:1;
    }

    .footer-wave svg{
        height:90px;
    }
}

@media(max-width:520px){
    .brand img{
        width:78px;
    }

    .header{
        width:calc(100% - 24px);
        top:12px;
        border-radius:28px;
        padding:12px;
        gap:10px;
    }

    .smart-search{
        flex-direction:column;
        align-items:stretch;
        border-radius:22px;
    }

    .smart-search button{
        width:100%;
    }

    .article-cover{
        height:300px;
        border-radius:28px;
    }

    .article-content,
    .article-lead{
        font-size:18px;
    }

    .article-content blockquote{
        font-size:22px;
        padding:26px;
    }

    .glass-section,
    .legal-contact-card,
    .home-calendar{
        padding:32px 24px;
    }

    .lightbox{
        padding:20px;
    }

    .lightbox-close{
        top:18px;
        right:18px;
    }
}

/* PLAYER VIDEO AMIFRA */

.video-player{
    margin-top:40px;
    border-radius:34px;
    overflow:hidden;
    border:1px solid var(--border);
    background:var(--bg-card);
    backdrop-filter:blur(20px);
    box-shadow:var(--shadow);
}

.video-player video{
    display:block;
    width:100%;
    height:auto;
    background:#000;
    border-radius:34px;
}

/* Personnalisation légère des contrôles */

.video-player:hover{
    transform:translateY(-2px);
    transition:.3s ease;
}

.article-cover-bg.madrid-cover{
    background:
        linear-gradient(rgba(255,255,255,.08),rgba(247,243,236,.20)),
        url("/assets/img/madrid/madrid-cover.jpg");
    background-size:cover;
    background-position:center;
}