/* ===========================
   TRASSY · Styles principaux
   Palette : Bleu nuit #1B3A5C | Bleu océan #2E6DA4 | Doré #C9952A
   Typo : Nunito + Nunito Sans
=========================== */

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

body { font-family: 'Nunito', sans-serif; background: #F8F7F4; color: #2A2825; font-size: 15px; }

/* ---- NAVIGATION ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: #F8F7F4;
  border-bottom: 0.5px solid #E0DDD6; position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 22px; font-weight: 600; color: #1B3A5C; letter-spacing: -0.5px; text-decoration: none; }
.logo span { color: #C9952A; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 14px; color: #5A5650; text-decoration: none; font-family: 'Nunito Sans', sans-serif; }
.nav-links a:hover { color: #1B3A5C; }
.lang { display: flex; gap: 5px; }
.lang button { font-size: 11px; padding: 3px 9px; border: 0.5px solid #D0CEC8; border-radius: 20px; background: transparent; color: #5A5650; cursor: pointer; font-family: 'Nunito Sans', sans-serif; }
.lang button.on { background: #1B3A5C; color: white; border-color: #1B3A5C; }
.nav-burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: #1B3A5C; }

.mobile-menu { display: none; flex-direction: column; gap: 0; background: #F8F7F4; border-bottom: 0.5px solid #E0DDD6; }
.mobile-menu a { padding: 14px 28px; font-size: 14px; color: #3A3530; text-decoration: none; border-bottom: 0.5px solid #F0EDE6; font-family: 'Nunito Sans', sans-serif; }
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative; height: 460px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,25,45,0.4) 0%, rgba(10,25,45,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 600px; }
.hero-eyebrow { font-size: 13px; letter-spacing: 1.5px; color: rgba(214,232,245,0.9); text-transform: uppercase; font-family: 'Nunito Sans', sans-serif; margin-bottom: 12px; }
.hero h1 { font-size: 38px; font-weight: 600; color: white; line-height: 1.25; margin-bottom: 10px; }
.hero h1 em { color: #C9952A; font-style: normal; }
.hero p { font-size: 16px; color: rgba(214,232,245,0.85); font-family: 'Nunito Sans', sans-serif; margin-bottom: 24px; }
.search-box {
  display: flex; background: white; border-radius: 40px;
  padding: 6px 6px 6px 18px; max-width: 520px; margin: 0 auto 16px;
}
.search-box input { flex: 1; border: none; outline: none; font-size: 15px; font-family: 'Nunito Sans', sans-serif; color: #2A2825; background: transparent; min-width: 0; }
.search-box input::placeholder { color: #B0ACA6; }
.search-box select { border: none; border-left: 0.5px solid #E0DDD6; outline: none; font-size: 12px; font-family: 'Nunito Sans', sans-serif; background: transparent; color: #5A5650; padding: 0 10px; margin-right: 4px; }
.search-box button { background: #C9952A; color: white; border: none; border-radius: 30px; padding: 8px 20px; font-size: 13px; font-family: 'Nunito', sans-serif; font-weight: 500; cursor: pointer; white-space: nowrap; }
.search-box button:hover { background: #b8841f; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.chip { background: rgba(255,255,255,0.15); color: white; border: 0.5px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 7px 16px; font-size: 14px; font-family: 'Nunito Sans', sans-serif; cursor: pointer; transition: background 0.2s; }
.chip:hover { background: rgba(255,255,255,0.25); }
.slide-label { position: absolute; bottom: 48px; left: 28px; z-index: 3; font-size: 11px; color: rgba(255,255,255,0.55); font-family: 'Nunito Sans', sans-serif; }
.dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.3s; }
.dot.on { background: #C9952A; }

/* ---- SECTIONS ---- */
.section { padding: 32px 28px; }
.section-alt { background: #F0EDE6; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sec-title { font-size: 19px; font-weight: 600; color: #1B3A5C; }
.sec-link { font-size: 12px; color: #C9952A; font-family: 'Nunito Sans', sans-serif; cursor: pointer; }
.divider { height: 0.5px; background: #E0DDD6; margin: 0 28px; }
.gold-strip { height: 3px; background: #C9952A; }

/* ---- CATÉGORIES ---- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.cat { background: white; border: 0.5px solid #E0DDD6; border-radius: 12px; padding: 16px 8px 12px; text-align: center; cursor: pointer; transition: box-shadow 0.2s; }
.cat:hover { box-shadow: 0 2px 12px rgba(27,58,92,0.1); }
.cat-icon { width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ic-a { background: #D6E8F5; } .ic-b { background: #FDF0D0; } .ic-c { background: #EDEAE4; }
.cat-name { font-size: 14px; color: #5A5650; font-family: 'Nunito Sans', sans-serif; }

/* ---- SCROLL HORIZONTAL ---- */
.hscroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.hscroll::-webkit-scrollbar { height: 4px; }
.hscroll::-webkit-scrollbar-track { background: #F0EDE6; border-radius: 2px; }
.hscroll::-webkit-scrollbar-thumb { background: #D0CEC8; border-radius: 2px; }

/* ---- CARTES COUPS DE CŒUR ---- */
.fav-card { min-width: 210px; max-width: 210px; background: white; border: 0.5px solid #E0DDD6; border-radius: 14px; overflow: hidden; cursor: pointer; flex-shrink: 0; transition: box-shadow 0.2s; }
.fav-card:hover { box-shadow: 0 4px 16px rgba(27,58,92,0.12); }
.fav-img { height: 115px; display: flex; align-items: flex-end; padding: 10px; }
.ci-a { background: linear-gradient(135deg, #2E6DA4, #1B3A5C); }
.ci-b { background: linear-gradient(135deg, #1B3A5C, #0d2238); }
.ci-c { background: linear-gradient(135deg, #C9952A, #8a6419); }
.ci-d { background: linear-gradient(135deg, #4A7FA5, #2E6DA4); }
.fav-badge { background: rgba(255,255,255,0.92); color: #1B3A5C; font-size: 10px; font-family: 'Nunito Sans', sans-serif; font-weight: 500; padding: 3px 9px; border-radius: 20px; }
.fav-body { padding: 12px 14px; }
.fav-title { font-size: 16px; font-weight: 600; color: #2A2825; margin-bottom: 3px; }
.fav-sub { font-size: 14px; color: #888480; font-family: 'Nunito Sans', sans-serif; margin-bottom: 8px; }
.fav-foot { display: flex; align-items: center; justify-content: space-between; }
.stars { font-size: 11px; color: #BA7517; }
.stars span { color: #B0ACA6; font-size: 10px; }
.fav-cta { font-size: 11px; color: #2E6DA4; font-family: 'Nunito Sans', sans-serif; }

/* ---- ACTIVITÉS ---- */
.act-card { min-width: 220px; max-width: 220px; background: white; border: 0.5px solid #E0DDD6; border-radius: 14px; overflow: hidden; cursor: pointer; flex-shrink: 0; transition: box-shadow 0.2s; }
.act-card:hover { box-shadow: 0 4px 16px rgba(27,58,92,0.12); }
.act-img { height: 120px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; }
.ai-a { background: linear-gradient(135deg, #1B3A5C, #0d2238); }
.ai-b { background: linear-gradient(135deg, #2E6DA4, #1B3A5C); }
.ai-c { background: linear-gradient(135deg, #3A6B4A, #1a3d25); }
.ai-d { background: linear-gradient(135deg, #5A4A8A, #3d2f6e); }
.act-tag { background: rgba(201,149,42,0.9); color: white; font-size: 10px; font-family: 'Nunito Sans', sans-serif; font-weight: 500; padding: 3px 9px; border-radius: 20px; align-self: flex-start; }
.act-date { font-size: 10px; color: rgba(255,255,255,0.7); font-family: 'Nunito Sans', sans-serif; align-self: flex-end; }
.act-body { padding: 12px 14px; }
.act-title { font-size: 13px; font-weight: 600; color: #2A2825; margin-bottom: 3px; }
.act-sub { font-size: 11px; color: #888480; font-family: 'Nunito Sans', sans-serif; }

/* ---- PROMOS ---- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.promo-card { background: white; border: 0.5px solid #E0DDD6; border-radius: 14px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.promo-card:hover { box-shadow: 0 4px 16px rgba(27,58,92,0.1); }
.promo-img { height: 90px; display: flex; align-items: center; justify-content: center; position: relative; }
.pi-a { background: linear-gradient(135deg, #1B3A5C, #2E6DA4); }
.pi-b { background: linear-gradient(135deg, #2E6DA4, #4A7FA5); }
.pi-c { background: linear-gradient(135deg, #C9952A, #8a6419); }
.promo-pct { position: absolute; top: 10px; right: 10px; background: #C9952A; color: white; font-size: 13px; font-weight: 600; font-family: 'Nunito', sans-serif; padding: 4px 10px; border-radius: 20px; }
.promo-body { padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.promo-title { font-size: 13px; font-weight: 600; color: #2A2825; margin-bottom: 3px; }
.promo-sub { font-size: 11px; color: #888480; font-family: 'Nunito Sans', sans-serif; margin-bottom: 10px; }
.promo-btn { background: #1B3A5C; color: white; border: none; border-radius: 20px; padding: 7px 16px; font-size: 12px; font-family: 'Nunito', sans-serif; font-weight: 500; cursor: pointer; align-self: flex-start; }
.promo-btn:hover { background: #0d2238; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.blog-card { background: white; border: 0.5px solid #E0DDD6; border-radius: 14px; overflow: hidden; cursor: pointer; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 16px rgba(27,58,92,0.1); }
.blog-img { height: 100px; display: flex; align-items: flex-end; padding: 10px; }
.bi-a { background: linear-gradient(135deg, #3A6B4A, #1a3d25); }
.bi-b { background: linear-gradient(135deg, #1B3A5C, #0d2238); }
.bi-c { background: linear-gradient(135deg, #4A7FA5, #2E6DA4); }
.blog-cat { background: rgba(255,255,255,0.9); color: #1B3A5C; font-size: 10px; font-family: 'Nunito Sans', sans-serif; font-weight: 500; padding: 3px 9px; border-radius: 20px; }
.blog-body { padding: 13px 14px; }
.blog-title { font-size: 14px; font-weight: 600; color: #2A2825; line-height: 1.4; margin-bottom: 5px; }
.blog-meta { font-size: 10px; color: #B0ACA6; font-family: 'Nunito Sans', sans-serif; }

/* ---- CTA BANNER ---- */
.cta-banner { background: #1B3A5C; padding: 32px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.cta-text h2 { font-size: 19px; font-weight: 600; color: white; margin-bottom: 4px; }
.cta-text p { font-size: 14px; color: #9BBDD6; font-family: 'Nunito Sans', sans-serif; }
.cta-btn { background: #C9952A; color: white; border: none; border-radius: 30px; padding: 12px 28px; font-size: 14px; font-family: 'Nunito', sans-serif; font-weight: 500; cursor: pointer; }
.cta-btn:hover { background: #b8841f; }

/* ---- FOOTER ---- */
.footer { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 0.5px solid #E0DDD6; }
.footer-logo { font-size: 18px; font-weight: 600; color: #1B3A5C; }
.footer-logo span { color: #C9952A; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: #888480; text-decoration: none; font-family: 'Nunito Sans', sans-serif; }
.footer-links a:hover { color: #1B3A5C; }
.footer-copy { font-size: 12px; color: #B0ACA6; font-family: 'Nunito Sans', sans-serif; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links, .lang { display: none; }
  .nav-burger { display: block; }
  .hero { height: 520px; }
  .hero h1 { font-size: 24px; }
  .search-box select { display: none; }
  .section { padding: 24px 16px; }
  .divider { margin: 0 16px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { text-align: center; justify-content: center; }
  .footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 20px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---- COMING SOON BOX ---- */
.coming-soon-box { background: white; border: 1.5px dashed #D0CEC8; border-radius: 14px; padding: 36px 24px; text-align: center; }
.cs-icon { font-size: 40px; margin-bottom: 12px; }
.cs-title { font-size: 15px; font-weight: 600; color: #1B3A5C; margin-bottom: 8px; }
.cs-text { font-size: 13px; color: #888480; font-family: 'Nunito Sans', sans-serif; line-height: 1.7; }
.cs-text a { color: #C9952A; text-decoration: none; font-weight: 500; }
.cs-text a:hover { text-decoration: underline; }
