/* =======================
   Yepaa Travel — Design pro (light)
   ======================= */

/* ---------- Reset minimal ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ---------- Thème ---------- */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-hero: #f4f6ff;
  --text: #0f172a;          /* slate-900 */
  --muted: #475569;         /* slate-600 */
  --border: #e5e7eb;        /* gray-200 */
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(18, 28, 45, .06);

  --accent: #2563eb;        /* blue-600 */
  --accent-700: #1d4ed8;
  --accent-50: #eff6ff;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;

  --maxw: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* ---------- Base ---------- */
body{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
}
a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Containers */
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 24px);
}

/* ---------- Topbar ---------- */
.topnav{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.brand{ display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo{ width: 34px; height: 34px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero.center{ text-align: center; padding: 8px 0 0; }
.hero.center h1{ font-size: clamp(28px, 4.2vw, 40px); margin: 0 0 6px; }
.hero.center p{ margin: 0; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
  font-weight: 600; cursor: pointer; transition: all .2s ease;
}
.btn:hover{ box-shadow: var(--shadow); transform: translateY(-1px); }
.btn.primary{
  background: var(--accent); color: #fff; border-color: transparent;
}
.btn.primary:hover{ background: var(--accent-700); }
.btn.big{ padding: 12px 18px; font-size: 16px; }
.btn.ghost{ background: transparent; }
.cta{ display:flex; align-items:center; gap:10px; }

/* ---------- Formulaires ---------- */
input[type="text"], select{
  width:100%; height: 44px; padding: 10px 12px; border-radius: 12px;
  border:1px solid var(--border); background: #fff; color: var(--text);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus, select:focus{
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50);
}
.searchbar{
  display:grid; gap:12px; margin-top: 12px;
  grid-template-columns: 1.3fr 2fr 1.2fr auto;
}
@media (max-width: 980px){
  .searchbar{ grid-template-columns: 1fr 1fr; }
  .searchbar button{ grid-column: 1 / -1; }
}

/* ---------- Sections / Cards ---------- */
h2{ margin: 14px 0; font-size: clamp(20px, 2.6vw, 24px); }
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 18px);
  box-shadow: var(--shadow);
  margin: 16px 0;
}

/* Highlight (bandeau moins haut) */
.heroimg{ width:100%; height:auto; border-radius: 14px; }
.heroimg--banner{
  max-height: 320px; width: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
}
.highlight .row{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-top: 10px; }
@media (max-width: 720px){
  .highlight .row{ flex-direction: column; }
}

/* ---------- Grilles de destinations ---------- */
.grid{
  display:grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1060px){ .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .grid{ grid-template-columns: 1fr; } }

.item{
  display:block; color:inherit; text-decoration: none;
  background: var(--card); border:1px solid var(--border);
  border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.item:hover{ transform: translateY(-2px); border-color:#dbe1ee; box-shadow: 0 12px 28px rgba(18,28,45,.08); }
.item .thumb{
  width:100%; height: 190px; object-fit: cover; display:block;
}
.item .meta{ padding: 12px 14px; }
.item h3{ margin: 4px 0 6px; font-size: 18px; line-height: 1.3; }
.item .muted.small{ font-size: 14px; color: var(--muted); }
.item .meta .country{
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #64748b; margin-bottom: 4px;
}

/* ---------- Pills / Chips / Tags ---------- */
.months, .chips{ display:flex; flex-wrap: wrap; gap: 8px; }
.pill, .chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px; border-radius: 999px; border:1px solid var(--border);
  background: #fff; color: var(--text); text-decoration: none; font-weight: 600;
  transition: all .18s ease;
}
.pill.active, .chip.active{ background: var(--accent); color:#fff; border-color: transparent; }
.pill:hover, .chip:hover{ box-shadow: var(--shadow); transform: translateY(-1px); }
.chips.big .chip{ padding: 10px 14px; }
.tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.tags span{
  background: var(--bg-soft); color: #0f172a; border:1px solid var(--border);
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}

/* ---------- Layout utils ---------- */
.row{ display:flex; align-items:center; gap:14px; }
.row.between{ justify-content: space-between; }
.center{ text-align:center; }
.upper{ text-transform: uppercase; letter-spacing: .06em; }
.muted{ color: var(--muted); }
.small{ font-size: 14px; }

/* ---------- Footer ---------- */
.footer{
  display:flex; justify-content: space-between; align-items:center;
  gap:12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px;
  border-top:1px solid var(--border); color: var(--muted);
}
.footer .footer-links a{ margin-left: 12px; color: var(--muted); }
.footer .footer-links a:hover{ color: var(--text); }

/* ---------- Responsivité fine ---------- */
@media (max-width: 420px){
  .btn.big{ width: 100%; }
  .item .thumb{ height: 160px; }
}
