/* ============================================================
   SoneyaDrive — Home Page CSS  (Guinea green / gold theme)
   ============================================================ */

/* ── Sections communes ── */
.section { padding: 5rem 0; }
.section-light  { background: #f6fbf8; }
.section-green  { background: var(--gradient-hero); color: #fff; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: var(--font-size-4xl); font-weight: var(--font-weight-bold);
  margin: .5rem 0; color: var(--text-dark);
}
.section-header--light h2 { color: #fff; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gn-green-dark); background: rgba(26,143,92,.12); padding: .3rem .8rem;
  border-radius: 999px; margin-bottom: .75rem;
  border: 1px solid rgba(26,143,92,.2);
}
.section-eyebrow--light { color: var(--gn-gold); background: rgba(245,166,35,.15); }
.section-footer { text-align: center; margin-top: 2.5rem; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image: url('../img/hero_guinea_1.jpg');
  background-size: cover; background-position: center;
  opacity: .12;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 440px; gap: 3.5rem; align-items: center;
}

.hero-copy { color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gn-gold); margin-bottom: 1.25rem;
}
.flag-bar { display: inline-flex; gap: 3px; align-items: center; }
.flag-bar span { display: block; width: 5px; height: 14px; border-radius: 2px; }
.flag-bar span:nth-child(1) { background: var(--gn-red); }
.flag-bar span:nth-child(2) { background: var(--gn-gold); }
.flag-bar span:nth-child(3) { background: var(--gn-green); }

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1rem;
}
.hero-copy h1 em { color: var(--gn-gold); font-style: normal; }
.hero-copy > p { font-size: 1.1rem; opacity: .85; margin-bottom: 1.75rem; max-width: 500px; line-height: 1.7; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; padding: .35rem .9rem;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.hero-badges span i { color: var(--gn-gold); }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero Search Card */
.hero-search-card {
  background: #fff; border-radius: 24px; padding: 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.search-card-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-color);
}
.search-card-header > i {
  font-size: 1.75rem; color: var(--gn-green);
  background: rgba(26,143,92,.08); width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; flex-shrink: 0;
}
.search-card-header .eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gn-green); margin-bottom: .2rem;
}
.search-card-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 0; }

.search-form .form-field { margin-bottom: .9rem; }
.search-form .form-field label {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem;
}
.search-form .form-field label .origin-icon { color: var(--gn-green); }
.search-form .form-field label .dest-icon   { color: var(--gn-red); }
.search-form .form-field input {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--border-color); border-radius: 12px;
  font-size: .93rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.search-form .form-field input:focus {
  outline: none; border-color: var(--gn-green);
  box-shadow: 0 0 0 3px rgba(26,143,92,.1);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.quick-destinations {
  margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
}
.quick-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.quick-chip {
  font-size: .7rem; font-weight: 600; padding: .25rem .65rem;
  border-radius: 999px; background: var(--gn-light);
  border: 1px solid var(--border-color); color: var(--gn-green);
  text-decoration: none; transition: background .2s, color .2s;
}
.quick-chip:hover { background: var(--gn-green); color: #fff; }

/* Hero Wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; fill: #fff; }

/* ── MARQUEE ── */
.destinations-marquee { background: var(--gn-green); padding: .875rem 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.marquee-item i { color: var(--gn-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.destinations-marquee:hover .marquee-track { animation-play-state: paused; }

/* ── STATS ── */
.stats-section { padding: 4rem 0; background: #f6fbf8; border-bottom: 1px solid #e4ede8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stats-section .stat-card {
  display: block; text-align: center; padding: 2rem 1rem;
  border-radius: var(--border-radius); background: #fff;
  border: 1px solid #e4ede8;
  box-shadow: 0 2px 12px rgba(13,46,26,.06);
  transition: transform .3s, box-shadow .3s;
}
.stats-section .stat-card:hover { transform: translateY(-4px); box-shadow: var(--box-shadow); }
.stats-section .stat-icon { font-size: 1.75rem; color: var(--gn-green); margin-bottom: .75rem; width: auto; height: auto; background: none; border-radius: 0; }
.stats-section .stat-card:nth-child(even) .stat-icon { color: var(--gn-gold); }
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--gn-dark); }
.stat-suffix { font-size: 1.25rem; font-weight: 700; color: var(--gn-gold); }
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; font-weight: 600; }

/* ── FEATURED TRIPS ── */
.trips-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem;
}
.trip-card {
  background: #fff; border-radius: var(--border-radius);
  border: 1px solid #e8f2ec;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--box-shadow-lg); }

.trip-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.25rem 1.25rem .75rem; border-bottom: 1px solid #f0f6f2;
}
.trip-route { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.city { display: flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .88rem; }
.origin-dot { color: var(--gn-green); font-size: .55rem; }
.dest-dot   { color: var(--gn-red);   font-size: .85rem; }
.route-arrow { color: var(--text-muted); font-size: .85rem; }
.trip-price { text-align: right; flex-shrink: 0; margin-left: .75rem; }
.trip-price .amount { font-size: 1.15rem; font-weight: 800; color: var(--gn-green); display: block; }
.trip-price .currency { font-size: .68rem; color: var(--text-muted); font-weight: 600; }

.trip-card-body { padding: .75rem 1.25rem 1rem; flex: 1; }
.trip-meta { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: .75rem; }
.trip-meta span { font-size: .76rem; color: var(--text-muted); display: flex; align-items: center; gap: .28rem; }
.trip-meta i { color: var(--gn-green); }
.seats-badge {
  font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
  background: rgba(26,143,92,.1); color: var(--gn-green);
}
.seats-low { background: rgba(206,17,38,.08); color: var(--gn-red); }

.trip-driver { display: flex; align-items: center; gap: .75rem; }
.driver-avatar-sm {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gn-green);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.driver-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.driver-avatar-sm span { color: #fff; font-weight: 700; font-size: .85rem; }
.driver-info { display: flex; flex-direction: column; gap: .15rem; }
.driver-name { font-size: .84rem; font-weight: 600; color: var(--text-dark); }
.driver-rating { font-size: .74rem; color: var(--gn-gold); font-weight: 600; }

.trip-card-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1.25rem; font-size: .84rem; font-weight: 700;
  color: var(--gn-green); text-decoration: none;
  background: #f6fbf8; border-top: 1px solid #e8f2ec;
  transition: background .2s, color .2s;
}
.trip-card-cta:hover { background: var(--gn-green); color: #fff; }

.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 4rem; color: var(--gn-green); opacity: .3; margin-bottom: 1rem; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0;
}
.step-card {
  background: #fff; border-radius: var(--border-radius); padding: 2.5rem 2rem;
  text-align: center; border: 1px solid #e4ede8;
  transition: transform .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--box-shadow); }
.step-number {
  font-size: 2.75rem; font-weight: 900; color: rgba(245,166,35,.25);
  line-height: 1; margin-bottom: .5rem;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gn-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(26,143,92,.35);
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--text-dark); }
.step-card p  { font-size: .86rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.step-connector {
  font-size: 1.4rem; color: var(--gn-gold); padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── BENEFITS ── */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card {
  background: #fff; border-radius: var(--border-radius); padding: 2rem;
  border: 1px solid #e8f2ec;
  transition: transform .3s, box-shadow .3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--box-shadow); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.benefit-icon--green { background: rgba(26,143,92,.14); color: var(--gn-green-dark); }
.benefit-icon--gold  { background: rgba(245,166,35,.2);  color: #8a5a00; }
.benefit-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--text-dark); }
.benefit-card p  { font-size: .84rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card,
.home-page .testimonial-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--border-radius); padding: 2rem; margin: 0;
  box-shadow: none; font-style: normal;
  transition: transform .3s;
}
.testimonial-card:hover,
.home-page .testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.18); }
.testimonial-stars { color: var(--gn-gold); font-size: .82rem; margin-bottom: .75rem; }
.testimonial-quote {
  font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.82);
  margin: 0 0 1.25rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gn-gold); color: var(--gn-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .88rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .88rem; color: #fff; }
.testimonial-author span  { font-size: .76rem; color: rgba(255,255,255,.5); }

/* ── CTA CONDUCTEUR ── */
.driver-cta-card {
  display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: center;
  background: var(--gradient-hero); border-radius: 28px;
  padding: 3.5rem; overflow: hidden; position: relative;
}
.driver-cta-card::before {
  content: ''; position: absolute; top: -80px; left: 40%;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.driver-cta-content { color: #fff; position: relative; z-index: 1; }
.driver-cta-content .section-eyebrow { color: var(--gn-gold); background: rgba(245,166,35,.15); }
.driver-cta-content h2 { font-size: 2rem; font-weight: 800; margin: .5rem 0 1rem; }
.driver-cta-content p  { opacity: .85; margin-bottom: 1.5rem; line-height: 1.75; }
.cta-perks {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
}
.cta-perks li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; }
.cta-perks li i { color: var(--gn-gold); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.driver-cta-image { border-radius: 20px; overflow: hidden; position: relative; z-index: 1; }
.driver-cta-image img { width: 100%; height: 280px; object-fit: cover; display: block; }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.75rem; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.3); color: #fff;
  background: transparent;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

/* ── FAQ ── */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  background: #fff; border-radius: 14px;
  border: 1.5px solid #e4ede8; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--gn-green); box-shadow: 0 0 0 3px rgba(26,143,92,.07); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: .93rem; color: var(--text-dark);
  transition: color .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--gn-green); }
.faq-chevron { transition: transform .3s; color: var(--gn-green); font-size: .82rem; flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ── Buttons complémentaires ── */
.btn-outline-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem; border-radius: 999px;
  border: 2px solid var(--gn-green); color: var(--gn-green);
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-primary:hover { background: var(--gn-green); color: #fff; }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.75rem; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35); color: #fff;
  background: transparent;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ── Animation scroll ── */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-search-card { max-width: 520px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .driver-cta-card { grid-template-columns: 1fr; }
  .driver-cta-image { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step-connector { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 6rem 0 4rem; min-height: auto; }
  .hero-copy h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trips-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-perks { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.75rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .driver-cta-card { padding: 2rem 1.25rem; }
}

/* ── Additional responsive (≤480px & ≤360px) ───────────────────────────── */
@media (max-width: 480px) {
  /* Stats: single column on phones */
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Section spacing */
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.35rem; }
  .section-header p   { font-size: .85rem; }

  /* Hero */
  .hero { padding: 5rem 0 3rem; }
  .hero-copy h1 { font-size: 1.65rem; }
  .hero-copy > p { font-size: .95rem; }
  .hero-badges { gap: .4rem; }

  /* Search card */
  .hero-search-card { padding: 1.4rem 1.2rem; border-radius: 18px; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Cards */
  .trip-card { border-radius: 14px; }
  .benefit-card, .testimonial-card { padding: 1.4rem; }

  /* Steps */
  .step-card { padding: 1.75rem 1.25rem; }
  .step-icon { width: 52px; height: 52px; font-size: 1.25rem; }

  /* Driver CTA */
  .driver-cta-card { padding: 2rem 1.25rem; }
  .driver-cta-content h2 { font-size: 1.5rem; }
  .cta-perks li { font-size: .82rem; }
}

@media (max-width: 360px) {
  .hero-copy h1 { font-size: 1.45rem; }
  .section-header h2 { font-size: 1.2rem; }
  .hero-cta-group .btn { font-size: .82rem; padding: .65rem 1.2rem; }
  .hero-badges span { font-size: .72rem; padding: .28rem .7rem; }
}
