/* ============================================================
   77 Tours — Design System
   Inspired by BromoRise travel website aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- Custom Properties ---- */
:root {
  --color-bg: #F9F6F1;
  --color-bg-white: #FFFFFF;
  --color-bg-card: #F4F0EA;
  --color-text: #1C1A17;
  --color-text-muted: #6B6560;
  --color-text-light: #9B9590;
  --color-accent: #E8722A;
  --color-accent-hover: #D4601C;
  --color-accent-light: #FDF0E8;
  --color-border: #E8E2D9;
  --color-overlay: rgba(28, 26, 23, 0.55);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-hero: 28px;

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-card: 0 2px 16px rgba(28, 26, 23, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(28, 26, 23, 0.14);
  --shadow-hero: 0 16px 64px rgba(28, 26, 23, 0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }

.display { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; }
.h4 { font-size: 1.125rem; font-weight: 600; }
.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.caption { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section-sm {
  padding-block: 3rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 114, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-text);
}
.btn-white:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-accent { background: var(--color-accent); color: #fff; }
.badge-light { background: var(--color-accent-light); color: var(--color-accent); }
.badge-white { background: rgba(255,255,255,0.9); color: var(--color-text); }

/* ---- Cards ---- */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* ---- Divider ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-block: 0;
}

/* ---- Utilities ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up  { animation: fadeUp  0.6s var(--transition) both; }
.animate-fade-in  { animation: fadeIn  0.4s var(--transition) both; }
.animate-scale-in { animation: scaleIn 0.5s var(--transition) both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ---- Floating WhatsApp ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ---- Stars ---- */
.stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section { padding-block: 3rem; }
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .show-mobile { display: none !important; }
}

/* ---- Language-specific visibility ---- */
html:not([data-lang="pt"]) [data-show-lang="pt"],
html[data-lang="pt"] [data-show-lang="en"] {
  display: none !important;
}
