/* =====================================================================
   RK TANZANIE VOYAGE — CSS SPÉCIFIQUE À LA PAGE D'ACCUEIL (index.php)
   Les composants partagés (topbar, navbar, sidebar, footer, modal,
   floating, :root, reset) sont dans css/common.css — pas dupliqués ici.
   ===================================================================== */

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.logo-sub { font-size: 9px; color: var(--gray); letter-spacing: 0.4px; display: block; margin-top: -2px; }

/* HERO */
.hero { background: var(--green-dark); min-height: 86vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease-in-out; z-index: 0; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: rgba(26, 58, 42, 0.62); }
.hero-slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1920&q=80'); }
.hero-slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1547970810-dc1eac37d174?w=1920&q=80'); }
.hero-slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1589553416260-f586c8f1514f?w=1920&q=80'); }
.hero-slide:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1535941339077-2dd1c7963098?w=1920&q=80'); }
.hero-content { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 80px 40px 36px; max-width: 860px; animation: fadeInUp .9s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #ffffff12; border: 1px solid #ffffff25; color: var(--gold); font-size: 11px; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; width: fit-content; animation: float 3.5s ease-in-out infinite; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.1rem, 5vw, 3.8rem); color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { color: #9fc9af; font-size: 14.5px; line-height: 1.75; max-width: 540px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--green-dark); padding: 12px 26px; border-radius: 30px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all .3s; display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 201, 126, 0.3); }
.btn-secondary { background: transparent; color: #fff; padding: 12px 26px; border-radius: 30px; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid #ffffff44; transition: all .3s; display: inline-block; }
.btn-secondary:hover { background: #ffffff12; transform: translateY(-1px); }
.hero-dots { position: relative; z-index: 10; display: flex; justify-content: center; gap: 8px; padding: 18px 0 22px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffffff44; cursor: pointer; transition: all .3s; border: none; padding: 0; }
.hero-dot.active { background: var(--gold); transform: scale(1.3); }

/* SECTIONS */
.section { padding: 76px 40px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag { font-family: 'Playfair Display', serif; font-style: italic; color: var(--green-mid); font-size: 14px; margin-bottom: 8px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.55rem, 3.2vw, 2.3rem); color: var(--text-dark); line-height: 1.25; }
.section-title em { color: var(--green-mid); font-style: italic; }
.section-sub { font-size: 13.5px; color: var(--gray); margin-top: 10px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.65; }

/* PACKAGES */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.pkg-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e8ede8; transition: all .35s cubic-bezier(.4, 0, .2, 1); cursor: pointer; position: relative; }
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(45, 90, 61, 0.16); border-color: #c8dfc8; }
.pkg-img { height: 176px; display: flex; align-items: center; justify-content: center; font-size: 50px; position: relative; overflow: hidden; transition: height .35s; }
.pkg-card:hover .pkg-img { height: 196px; }
.pkg-img-overlay { position: absolute; inset: 0; background: rgba(26, 58, 42, 0); display: flex; align-items: center; justify-content: center; transition: background .35s; }
.pkg-card:hover .pkg-img-overlay { background: rgba(26, 58, 42, 0.52); }
.pkg-price-overlay { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; opacity: 0; transform: scale(0.8); transition: all .3s; }
.pkg-card:hover .pkg-price-overlay { opacity: 1; transform: scale(1); }
.pkg-badge { position: absolute; top: 11px; left: 11px; background: var(--gold); color: var(--green-dark); font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; z-index: 2; }
.pkg-badge.hot { background: var(--green-dark); color: var(--gold); }
.pkg-body { padding: 15px 17px; }
.pkg-location { font-size: 10.5px; color: var(--green-mid); font-weight: 600; margin-bottom: 5px; }
.pkg-title { font-weight: 600; font-size: 14px; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; transition: color .2s; }
.pkg-card:hover .pkg-title { color: var(--green-mid); }
.pkg-highlights { font-size: 11px; color: var(--gray); margin-bottom: 8px; line-height: 1.5; }
.pkg-meta { display: flex; gap: 10px; font-size: 11px; color: var(--gray); margin-bottom: 10px; }
.pkg-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid #f0f4f0; }
.pkg-price { font-weight: 700; font-size: 14.5px; color: var(--green-mid); transition: all .3s; }
.pkg-card:hover .pkg-price { font-size: 16px; color: var(--green-dark); }
.pkg-save { width: 26px; height: 26px; border: 1.5px solid #d8e8d8; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; color: var(--green-mid); transition: all .2s; }
.pkg-save:hover { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }
.view-all { text-align: center; margin-top: 34px; }
.btn-outline { border: 2px solid var(--green-mid); color: var(--green-mid); padding: 11px 30px; border-radius: 30px; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; transition: all .3s; }
.btn-outline:hover { background: var(--green-mid); color: #fff; transform: translateY(-2px); }

/* ABOUT */
.opp-bg { background: var(--off-white); }
.opp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.opp-imgs { position: relative; height: 370px; }
.opp-img-main { position: absolute; width: 70%; height: 310px; border-radius: 18px; overflow: hidden; top: 0; left: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transition: transform .4s; }
.opp-img-main:hover { transform: scale(1.02); }
.opp-img-main img { width: 100%; height: 100%; object-fit: cover; }
.opp-img-sm { position: absolute; width: 43%; height: 172px; border-radius: 14px; overflow: hidden; bottom: 0; right: 0; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); transition: transform .4s; }
.opp-img-sm:hover { transform: scale(1.03); }
.opp-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.opp-badge-float { position: absolute; bottom: 55px; left: -18px; background: var(--green-dark); color: var(--gold); padding: 11px 16px; border-radius: 11px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 12.5px; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); animation: float 4s ease-in-out infinite; }
.opp-content p { font-size: 13.5px; color: var(--gray); line-height: 1.75; margin-top: 14px; }
.opp-features { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.opp-feat { display: flex; align-items: flex-start; gap: 13px; padding: 14px; background: #fff; border-radius: 11px; border: 1px solid #e8ede8; transition: all .3s; }
.opp-feat:hover { border-color: var(--green-mid); transform: translateX(4px); box-shadow: 0 4px 12px rgba(45, 90, 61, 0.1); }
.feat-icon { width: 42px; height: 42px; background: var(--green-mid); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; transition: transform .3s; }
.opp-feat:hover .feat-icon { transform: scale(1.1) rotate(5deg); }
.feat-info h4 { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }
.feat-info p { font-size: 12px; color: var(--gray); line-height: 1.5; margin-top: 0; }
.opp-stats { display: flex; gap: 20px; margin-top: 22px; }
.opp-stat { background: #fff; border-radius: 11px; padding: 13px 18px; border: 1px solid #e8ede8; text-align: center; transition: all .3s; flex: 1; }
.opp-stat:hover { border-color: var(--green-mid); transform: translateY(-3px); }
.opp-stat-num { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--green-mid); font-weight: 700; }
.opp-stat-label { font-size: 10px; color: var(--gray); }

/* PARKS */
.parks-tabs { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.park-tab { padding: 7px 18px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid #d8e8d8; color: var(--text-mid); cursor: pointer; transition: all .2s; }
.park-tab.active, .park-tab:hover { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }
.parks-circles { display: flex; gap: 50px; justify-content: center; flex-wrap: wrap; }
.park-circle { text-align: center; cursor: pointer; }
.park-circle-img { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); margin: 0 auto 9px; position: relative; transition: all .35s; }
.park-circle:hover .park-circle-img { transform: scale(1.1); box-shadow: 0 8px 24px rgba(45, 90, 61, 0.22); border-color: var(--gold); }
.park-circle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.park-circle:hover .park-circle-img img { transform: scale(1.1); }
.park-circle-badge { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: var(--green-mid); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 9px; white-space: nowrap; }
.park-name { font-size: 11.5px; font-weight: 600; color: var(--text-dark); transition: color .2s; }
.park-circle:hover .park-name { color: var(--green-mid); }

/* CTA */
.cta-banner { background: var(--off-white); padding: 26px 40px; }
.cta-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-icon { font-size: 30px; margin-right: 14px; animation: float 3.5s ease-in-out infinite; }
.cta-text h3 { font-family: 'Playfair Display', serif; color: #000; font-size: 19px; }
.cta-text p { color: #000; font-size: 13px; margin-top: 3px; }
.btn-cta { background: var(--gold); color: var(--green-dark); padding: 11px 26px; border-radius: 30px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: all .3s; }
.btn-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* KILIMANJARO */
.kili-dark { background: var(--green-dark); position: relative; overflow: hidden; }
.kili-dark::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1589553416260-f586c8f1514f?w=1920&q=80') center/cover; opacity: 0.17; }
.kili-inner { position: relative; z-index: 2; }
.kili-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.kili-badges { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.kili-badge { background: #ffffff12; border: 1px solid #ffffff1e; color: #cce0cc; font-size: 11px; padding: 5px 13px; border-radius: 18px; transition: all .2s; }
.kili-badge:hover { background: #ffffff22; }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route-card { background: #ffffff0d; border: 1px solid #ffffff14; border-radius: 11px; padding: 13px; transition: all .3s; cursor: pointer; }
.route-card:hover { background: #ffffff1a; border-color: var(--gold); transform: translateY(-2px); }
.route-name { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.route-days { color: #88aa88; font-size: 11px; margin-bottom: 5px; }
.route-price { color: var(--gold); font-size: 13.5px; font-weight: 700; transition: font-size .2s; }
.route-card:hover .route-price { font-size: 15px; }

/* BEST TIME BANNER */
.btc-banner { background: var(--off-white); padding: 48px 40px; border-top: 1px solid #e8ede8; border-bottom: 1px solid #e8ede8; }
.btc-banner-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.btc-tag { font-family: 'Playfair Display', serif; font-style: italic; color: var(--green-mid); font-size: 14px; }
.btc-title { color: #1a2a1e; font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; text-align: center; }
.btc-pills { display: flex; gap: 16px; width: 100%; max-width: 580px; }
.btc-pill { flex: 1; border-radius: 12px; padding: 20px 16px; text-align: center; }
.btc-pill.good { background: #2d5a3d; border: 1px solid #4a8a5d; }
.btc-pill.bad { background: #3a2a1a; border: 1px solid #6b4a2a; }
.btc-pill-label { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; margin-bottom: 6px; }
.btc-pill.good .btc-pill-label { color: #9fc9af; }
.btc-pill.bad .btc-pill-label { color: #c8956a; }
.btc-pill-months { font-size: 15px; font-weight: 600; }
.btc-pill.good .btc-pill-months { color: #ffffff; }
.btc-pill.bad .btc-pill-months { color: #e8c49a; }
.btc-note { font-size: 13px; color: #4a5a4e; text-align: center; max-width: 520px; line-height: 1.7; }

/* ZANZIBAR SLIDER */
.zanzibar-wrap { position: relative; overflow: hidden; }
.zanzibar-track-outer { overflow: hidden; padding: 8px 4px 20px; margin: 0 -4px; }
.zanzibar-track { display: flex; gap: 18px; transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.z-card { flex: 0 0 calc(25% - 14px); min-width: 220px; background: #fff; border-radius: 16px; border: 1px solid #e8ede8; padding: 24px 20px 22px; cursor: pointer; position: relative; overflow: hidden; transition: all .35s cubic-bezier(.4, 0, .2, 1); }
.z-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, #2d5a3d, #e8c97e); transition: width .4s ease; }
.z-card:hover::after { width: 100%; }
.z-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(45, 90, 61, 0.14); border-color: #b8d8b8; background: #f7fbf7; }
.z-icon { width: 48px; height: 48px; background: #f0f7f0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; transition: all .35s; }
.z-card:hover .z-icon { background: #2d5a3d; transform: scale(1.1) rotate(6deg); }
.z-card h4 { font-size: 14px; font-weight: 600; color: #1a2a1e; margin-bottom: 8px; transition: color .2s; }
.z-card:hover h4 { color: #2d5a3d; }
.z-card p { font-size: 12px; color: #888; line-height: 1.65; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #c8dfc8; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: #2d5a3d; transition: all .2s; user-select: none; }
.slider-btn:hover { background: #2d5a3d; color: #fff; border-color: #2d5a3d; transform: scale(1.08); }
.slider-btn.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.slider-dots { display: flex; gap: 7px; align-items: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: #d8e8d8; cursor: pointer; transition: all .3s; }
.slider-dot.active { background: #2d5a3d; transform: scale(1.3); }
@media(max-width:600px) { .z-card { flex: 0 0 calc(100% - 18px); } }
@media(min-width:601px) and (max-width:900px) { .z-card { flex: 0 0 calc(50% - 14px); } }
@media(min-width:901px) and (max-width:1200px) { .z-card { flex: 0 0 calc(33.33% - 14px); } }

/* WHY CARDS */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.why-card { padding: 22px; border: 1px solid #e8ede8; border-radius: 14px; transition: all .35s; cursor: pointer; position: relative; overflow: hidden; }
.why-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--green-mid); transition: width .35s; }
.why-card:hover::after { width: 100%; }
.why-card:hover { border-color: var(--green-mid); background: #f7fbf7; transform: translateY(-4px); box-shadow: 0 8px 22px rgba(45, 90, 61, 0.11); }
.why-icon { width: 46px; height: 46px; background: var(--off-white); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 13px; transition: all .3s; }
.why-card:hover .why-icon { background: var(--green-mid); transform: rotate(8deg) scale(1.08); }
.why-card h4 { font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.why-card p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-card { background: #fff; border-radius: 11px; padding: 17px 19px; border: 1px solid #e8ede8; cursor: pointer; transition: all .3s; }
.faq-card:hover { border-color: var(--green-mid); background: #f7fbf7; transform: translateX(4px); }
.faq-q { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.faq-q span { color: var(--green-mid); font-size: 16px; flex-shrink: 0; transition: transform .2s; }
.faq-card:hover .faq-q span { transform: rotate(45deg); }
.faq-a { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.contact-rows { display: flex; flex-direction: column; gap: 11px; }
.contact-row { display: flex; align-items: flex-start; gap: 13px; padding: 13px 15px; background: var(--off-white); border-radius: 11px; transition: all .3s; }
.contact-row:hover { background: #e8f0e8; transform: translateX(4px); }
.contact-icon-wrap { width: 36px; height: 36px; background: var(--green-mid); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; transition: transform .2s; }
.contact-row:hover .contact-icon-wrap { transform: rotate(8deg) scale(1.1); }
.contact-lbl { font-size: 10.5px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.4px; }
.contact-val { font-size: 13px; color: var(--text-dark); font-weight: 500; margin-top: 2px; }
.contact-form { background: var(--off-white); border-radius: 18px; padding: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 10.5px; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.4px; }
.form-group input, .form-group select, .form-group textarea { padding: 9px 13px; border: 1.5px solid #d8e8d8; border-radius: 9px; font-size: 13px; color: var(--text-dark); outline: none; font-family: 'DM Sans', sans-serif; transition: all .2s; background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.08); }
.form-group textarea { height: 96px; resize: vertical; }
.form-full { grid-column: 1/-1; }
.btn-submit { width: 100%; background: var(--green-mid); color: #fff; padding: 12px; border: none; border-radius: 28px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .3s; font-family: 'DM Sans', sans-serif; margin-top: 4px; }
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(45, 90, 61, 0.28); }

/* RESPONSIVE — spécifique accueil (les composants partagés sont dans common.css) */
@media(max-width:900px) {
    .hero-content { padding: 55px 20px 28px; }
    .section { padding: 48px 20px; }
    .packages-grid { grid-template-columns: 1fr; }
    .opp-grid, .kili-grid, .contact-grid { grid-template-columns: 1fr; }
    .opp-imgs { height: 250px; margin-bottom: 20px; }
    .faq-grid { grid-template-columns: 1fr; }
    .parks-circles { gap: 13px; }
    .park-circle-img { width: 78px; height: 78px; }
    .routes-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .btc-pills { flex-direction: column; }
    .btc-banner { padding: 36px 20px; }
}
@media(max-width:600px) {
    .hero h1 { font-size: 1.95rem; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .opp-stats { flex-wrap: wrap; }
}
