@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto+Slab:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Lato:wght@400;700;900');

:root{--blue1:#14547a;--blue-dark:#063653;--yellow:#ffd928;--ink:#10283a;--soft:#eef5f8}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Montserrat',Arial,sans-serif;color:var(--ink);background:#fff; }
html body.page-template-page-exposition{padding-top: 92px!important;}
h1,h2{font-family:'Roboto Slab',Georgia,serif;font-weight:800;letter-spacing:-.025em}
h2{font-size:clamp(2rem,4vw,3.45rem);line-height:.98}
p{line-height:1.65}
h2.titre_g, .font-25 { font-family: "Roboto Slab",Serif; }
#pojo-a11y-toolbar{ display:none!important; }
.site-nav{background:#fff;box-shadow:0 2px 18px rgba(0,0,0,.08);z-index:1000}
.brand-logo{width:300px;height:auto}
.nav-link{font-size:1rem;font-weight:700;color:#17354a!important;margin:0 .45rem; }
.nav-visit{display:inline-flex;align-items:center;justify-content:center;height:30px;background:#ffd928;color:#111!important;border-radius:20px;font-size:1rem;font-weight:700;line-height:1;text-decoration:none; padding:.5rem 1rem!important;}
.nav-visit img{width:24px;height:24px;margin-right:6px;display:block}
.nav-visit:hover{background:#ffd928;color:#111!important;text-decoration:none}

body .btn{border-radius:999px;font-weight:800;font-size:1rem;letter-spacing:.02em;padding:.9rem 1.35rem;border:0}
body .btn-yellow{background:var(--yellow);color:#101820}
body .btn-yellow:hover{background:#f1ca00;color:#101820}
body .btn-dark-blue{background:var(--blue1);color:#fff}
body .btn-dark-blue:hover{background:var(--blue-dark);color:#fff}
body .btn-white{background:#fff;color:var(--blue1)}
body .btn-white:hover{background:#fff;color:var(--blue-dark)}

.hero{position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.04) 36%,rgba(255,255,255,.92) 72%,#fff 100%),url('images/hero-chat.jpg');background-size:cover;background-position:left center}
.hero-content{position:relative;z-index:2;}

.hero-title{margin:0;padding:0;font-family:'Roboto Slab',Georgia,serif;font-weight:800;line-height:.82;letter-spacing:-.045em}
.hero-title-black{display:flex;align-items:baseline;flex-wrap:wrap;color:#111;gap:0; transform:rotate(-3deg); }
.hero-title-blue{display:flex;align-items:baseline;flex-wrap:wrap;color:var(--blue1);transform:rotate(-2.5deg); margin-top: 0.5rem;}
.title-small{font-size:70px;line-height:.8;margin-right:7px}
.title-big{font-size:100px;line-height:.8;margin-right:7px}
.title-small:nth-child(3){margin-left:2px}
.title-blue-big{font-size:60px;line-height:1.2;}
.title-blue-small{font-size:28px;margin-left:8px;margin-right:8px;}
.title-blue-city{font-size:61px; flex: 0 0 100%;}

.date-ribbon{display:inline-block;background:var(--yellow);color:#101820;font-weight:900;font-size:1.8rem;padding:.7rem 1.1rem;margin:1.35rem 0 .65rem;transform:rotate(-2.5deg)}
.hero-subtitle{font-family:Georgia,serif;font-size:1.4rem;font-weight:700;max-width:500px;margin-bottom:0}

.fact-bar{background:#fff;box-shadow:0 7px 28px rgba(0,0,0,.08);position:relative;z-index:2}
.fact{min-height:100px;display:flex;align-items:center;justify-content:center;gap:.7rem;padding:1rem;border-right:1px solid #e5e9ec;font-size:1rem;color:var(--blue1)}
.fact:last-child{border-right:0}
.fact img{width:38px;height:38px;flex:0 0 auto}

/*.section{padding:100px 0}*/ 
.intro-section .lead{font-weight:700;font-size:1.05rem}

#parcours { position:relative; background: no-repeat left top / cover #dfeaf3 url(/wp-content/themes/theme_client/expolechat/images/image_decouvrir.jpg); height:360px;}

#exposition{ min-height: 400px; padding:0; overflow:hidden;}
#exposition .titre_g{ padding-top:2rem; }
.photo-card { position:relative;overflow:hidden; height:400px; width:50vw; left:0;}
.photo-card img {object-fit: cover; width:100%; height:100%; }
.photo-note{ left:50%;position:absolute;top:50%;color:#fff;font-family:Caveat, cursive;font-size:2.4rem; line-height: 1.1; max-width:400px; text-align:center; transform:rotate(-4deg) translateX(-50%) translateY(-50%); }
.humour { position:absolute; right:0;top: calc(100% - 166px); z-index:-1}
.humour img { width:250px;}
.route-section{background:var(--soft);}
.text-bloc_2 { padding-right:180px; }
.map-frame{background:#d9e7ec;min-height:420px;padding:20px;box-shadow:12px 12px 0 var(--yellow)}
.map-frame img{width:100%;height:420px;object-fit:cover;display:block}
.ws-no { white-space: nowrap}
.gallery-line{height:2px;background:var(--blue1);flex:1;margin:0 0 17px 30px}
.gallery-card{margin:0;overflow:hidden;background:#f4f4f4}
.gallery-card img{width:100%;aspect-ratio: 30/27 ;object-fit:cover;display:block;transition:transform .4s ease}
.gallery-card:hover img{transform:scale(1.03)}
.gallery-card figcaption{padding:12px 14px;font-size:1rem;font-weight:800;letter-spacing:.1em}

.discover-photo{position:relative;min-height:580px;overflow:hidden}
.discover-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.discover-overlay{position:relative;z-index:1;color:#fff;padding:90px 8%;max-width:100%;height:100%;background:linear-gradient(90deg,rgba(4,39,61,.82),rgba(4,39,61,.12))}
.discover-overlay .section-kicker{color:#fff}
.practical{padding:1rem!important;background:#f7fafb}
#vic .info-list{list-style:none;padding:0;margin:0 0 0;}
#vic .info-list li {  font-size: 1.1rem; }
.info-list ul { list-style:disc;padding:0 0 0 1.5rem;margin:0 0 0}
.info-list > li{display:flex;gap:18px;padding:17px 0;border-bottom:1px solid #dce5e9;font-size:.9rem}
.info-list img{width:30px;height:30px;flex:none}

.cta-section{background:var(--yellow);padding:12px 0 0}
.cta-section p{font-size:.72rem;font-weight:900;letter-spacing:.15em;margin:0}
.cta-section h2{font-size:clamp(2rem,4vw,3.3rem);margin:.2rem 0 0}
.cta-cat{max-height:270px; position:relative; bottom:-50px;}

.footer{background:var(--blue-dark);color:#fff;padding:20px 0}
.footer strong{display:block;font-size:1rem;letter-spacing:.12em}
.footer small{display:block;font-size:.65rem;letter-spacing:.12em}
.footer a{color:#fff;font-size:.72rem;margin:0 7px}
.social{display:inline-flex!important;width:35px;height:35px;border:1px solid rgba(255,255,255,.55);border-radius:50%;align-items:center;justify-content:center;font-size:1rem!important}
.mb-30{ margin-bottom: 30px;}
.last-item {
    position: relative;
}

.last-item .cite {   font-size: 2.2rem; font-weight: bold; font-family:Caveat, cursive; line-height: 1; text-align: center; transform: rotate(-2deg);}
.last-item:before {
   z-index:-1;  content:''; position:absolute; left:15px; right:15px; top:0; bottom:0; background:no-repeat right center / contain #dfeaf3 url(/wp-content/themes/theme_client/expolechat/images/pate_chat.png);
}

@media(max-width:1199px){
    .nav-item:has(.nav-visit) {  padding:0.5rem 0 ; }
    .nav-item { border-top: 1px solid #f1f1f1;width:100%; text-align: center;  }
    .nav-item a {display:inline-block;  }

}

@media (max-width: 991px) {
    #parcours { background-position: -370px top; }
}

@media (min-width: 992px) and (max-width: 1770px) {
    #parcours { background-position: calc((100vw - 991px) * 370 / 779 - 370px) top; }
}

@media (min-width: 1771px) {
    #parcours { background-position: 0 top; }
}

@media(max-width:991.98px){
    .site-nav .navbar-collapse{padding:15px 0}
    .hero{min-height:400px}
    .hero-bg{background-image:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.94) 68%),url('images/hero-chat.jpg');background-position:left center}
    .hero-content{padding:10px 0;}
    .fact{border-bottom:1px solid #e5e9ec}
    .fact:nth-last-child(2n) { border-right: 0 }
    .discover-overlay{max-width:none;background:linear-gradient(90deg,rgba(4,39,61,.88),rgba(4,39,61,.35))}
    .date-ribbon{ font-size: 1.6rem;}
    .site-nav .navbar-collapse{padding:15px 0}
    .title-big { font-size:72px;}
    .title-small { font-size:42px;}
    .title-blue-big{font-size: 42px;}
    .title-blue-small{font-size: 20px;}
    .title-blue-city { font-size: 42px;}

    .text-bloc_2 { padding-right: 220px;}
    .cite { flex : 0 0 250px;}
    .cta-cat{ bottom: 0}

}

@media(max-width:767.98px) {



}


@media(max-width:575.98px) {
    .cta-section img { margin-bottom:-25px; }
    h2 { font-size: 1.75rem; }
    html body.page-template-page-exposition{ padding-top:74px!important;}
    .brand-logo {max-width: 220px; }
    .title-big { font-size:52px;}
    .title-small { font-size:28px;}
    .title-blue-big{font-size: 28px;}
    .title-blue-small{font-size: 16px;}
    .title-blue-city { font-size: 28px;}
    .date-ribbon{ font-size: 1.2rem;}
    .cite { flex :0 0 90%;}
    .text-bloc_2 {  padding-right: 80px; }
    .humour {position:relative; text-align: center;}
    #exposition {padding-bottom: 0;}
}