
  :root {
    --sand: #F5EFE6;
    --terracotta: #C4714A;
    --ocean: #2A5F74;
    --gold: #BFA36A;
    --dark: #1C1A18;
    --muted: #8A7F72;
    --card-bg: #FFFDF9;
    --white: #FFFFFF;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--sand);
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
  }

  /* MOBILE FRAME */
  .app {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--sand);
    position: relative;
  }

  /* ======= HOME PAGE ======= */
  #page-home {
    display: block;
    min-height: 100vh;
  }

  .hero {
    background: url("images/home-pt-image_1.jpg") center/cover no-repeat;
    padding: 56px 28px 48px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg, rgba(26,61,77,0.82) 0%, rgba(28,26,24,0.75) 100%);
    z-index: 1;
  }

  .hero > * { position: relative; z-index: 2; }
  .hero-label {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
  }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .hero-sub {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 300px;
  }

  .hero-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    backdrop-filter: blur(10px);
  }

  .hero-contact svg {
    width: 14px; height: 14px;
    fill: var(--gold);
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    padding: 28px 28px 12px;
  }

  /* CARDS */
  .cards-list {
    padding: 0 20px 64px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(28,26,24,0.07);
    border: 1px solid rgba(191,163,106,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
  }

  .card:active {
    transform: scale(0.98);
  }

  .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px;
    gap: 16px;
  }

  .card-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ocean), #1a3d4d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
  }

  .card-title-group {
    flex: 1;
  }

  .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
  }

  .card-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
  }

  .card-chevron {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(191,163,106,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .card-chevron svg {
    width: 14px; height: 14px;
    stroke: var(--gold);
    fill: none;
    transition: transform 0.3s ease;
  }

  .card.open .card-chevron {
    background: var(--gold);
    border-color: var(--gold);
  }

  .card.open .card-chevron svg {
    stroke: white;
    transform: rotate(180deg);
  }

  /* DESCRIPTION DRAWER */
  .card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .card.open .card-body {
    max-height: 500px;
  }

  .card-desc {
    padding: 0 20px 20px;
    font-size: 13px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid rgba(191,163,106,0.12);
    padding-top: 16px;
  }

  .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: var(--ocean);
    color: white;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .card-cta:active {
    background: #1a3d4d;
  }

  .card-cta svg {
    width: 12px; height: 12px;
    fill: none;
    stroke: white;
  }

  /* ======= DETAIL PAGE ======= */
  .detail-page {
    display: none;
    min-height: 100vh;
    background: var(--white);
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .detail-page.active {
    display: block;
    transform: translateX(0%);
  }

  .detail-page.slide-in {
    transform: translateX(0%);
  }

  .detail-hero {
    height: 240px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
  }

  .detail-hero-bg {
    position: absolute;
    inset: 0;
    font-size: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    background: linear-gradient(135deg, var(--ocean), var(--dark));
  }

  .detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ocean) 0%, #1a3d4d 100%);
  }

  .detail-hero-emoji {
    position: absolute;
    font-size: 80px;
    opacity: 0.2;
    top: 30px; right: 30px;
  }

  .detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 28px 28px;
  }

  .detail-back {
    position: absolute;
    top: 52px; left: 20px;
    z-index: 20;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .detail-back svg {
    width: 16px; height: 16px;
    stroke: white;
    fill: none;
  }

  .detail-hero h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 300;
    color: white;
    line-height: 1.1;
  }

  .detail-hero h2 em {
    font-style: italic;
    color: var(--gold);
  }

  .detail-body {
    padding: 32px 28px 60px;
  }

  .detail-lead {
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 28px;
  }

  .detail-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 28px;
  }

  .detail-note {
    background: var(--sand);
    border-radius: 14px;
    padding: 20px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    border-left: 3px solid var(--gold);
  }

  .detail-note strong {
    color: var(--dark);
    font-weight: 500;
  }

  .mercado-highlight {
    background: linear-gradient(135deg, #7a3800 0%, #c05e00 100%);
    border-radius: 14px;
    padding: 16px;
    margin-top: 14px;
    color: #fff;
  }

  .mercado-highlight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 22px;
  }

  .mercado-highlight-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

  .mercado-highlight-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    margin: 0 0 12px 0;
  }

  .mercado-highlight-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .mercado-badge {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
  }

  .saving-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbe6;
    border-left: 4px solid #f5c518;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .saving-tip-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .saving-tip-text {
    font-size: 13px;
    color: #5a4200;
    line-height: 1.5;
    margin: 0;
  }

  .supermercado-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
  }

  .supermercado-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }

  .supermercado-item:last-child {
    border-bottom: none;
  }

  .supermercado-logo {
    width: 60px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .supermercado-nome {
    font-size: 14px;
    font-weight: 500;
    color: #1a2e3b;
    flex: 1;
  }

  .supermercado-dist {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d5e;
    background: rgba(46,125,94,0.1);
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
  }

  /* BOTTOM NAV */
  /* Language Selector */
  .lang-bar {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px;
    z-index: 1000;
    background: rgba(20, 40, 50, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
  }
  .lang-btn:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
  .lang-btn.active {
    background: rgba(191, 163, 106, 0.25);
    color: #BFA36A;
    border: 1px solid rgba(191, 163, 106, 0.4);
  }
  .lang-flag { font-size: 14px; line-height: 1; }
  .app { padding-top: 40px; }



  .act-detail-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
  }
  .act-detail-hero-logo {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    z-index: 3;
  }


  .act-detail-hero.has-logo .act-detail-hero-emoji { display: none; }
  .act-detail-hero.has-logo .act-detail-hero-content h3 { display: none; }
  .act-detail-hero.has-logo {
    background: var(--bg-color, #1a3d4d) !important;
  }
  .act-detail-hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,35,0.85) 30%, rgba(10,25,35,0.3) 100%);
    z-index: 1;
  }
  .act-detail-hero .act-detail-hero-content { z-index: 2; }
  .act-detail-hero .act-detail-back { z-index: 20; }

  /* Activity Detail Pages */
  .act-card { cursor: pointer; }
  .act-card:active { opacity: 0.75; }
  .act-chevron {
    flex-shrink: 0;
    color: #BFA36A;
    opacity: 0.7;
    margin-top: 2px;
  }
  .act-chevron svg { width: 14px; height: 14px; stroke: #BFA36A; fill: none; }

  .act-detail-page {
    position: fixed;
    inset: 0;
    background: #faf8f5;
    z-index: 300;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 430px;
    left: 50%;
    margin-left: -215px;
    display: none;
  }
  @media (max-width: 430px) {
    .act-detail-page {
      left: 0;
      margin-left: 0;
      max-width: 100%;
    }
    .app {
      max-width: 100%;
    }
  }

  .act-detail-page.active { transform: translateX(0); display: block; }

  .act-detail-hero {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--ocean) 0%, #1a3d4d 100%);
  }
  .act-detail-hero-emoji {
    position: absolute;
    font-size: 90px;
    opacity: 0.15;
    top: 20px; right: 20px;
  }
  .act-detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px 24px;
  }
  .act-detail-hero h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    color: white;
    line-height: 1.15;
    margin: 0;
  }
  .act-detail-hero h3 em {
    font-style: italic;
    color: var(--gold);
  }
  .act-detail-back {
    position: absolute;
    top: 52px; left: 16px;
    z-index: 20;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .act-detail-back svg { width: 15px; height: 15px; stroke: white; fill: none; }

  .act-detail-body { padding: 28px 24px 80px; }

  .act-detail-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #2d4a56;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .act-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }
  .act-info-card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid rgba(42,95,116,0.1);
    box-shadow: 0 2px 8px rgba(42,95,116,0.06);
  }
  .act-info-card.full-width {
    grid-column: 1 / -1;
  }
  .act-info-label {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #BFA36A;
    margin-bottom: 5px;
  }
  .act-info-value {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #2d4a56;
    line-height: 1.5;
    font-weight: 500;
  }

  .act-includes {
    background: white;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(42,95,116,0.1);
    margin-bottom: 20px;
  }
  .act-includes-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #1a2e38;
    margin-bottom: 12px;
  }
  .act-includes-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #4a6572;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .act-includes-item:last-child { margin-bottom: 0; }
  .act-includes-dot {
    width: 6px; height: 6px;
    background: #BFA36A;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
  }


  .act-transport-box {
    margin: 12px 16px;
    background: linear-gradient(135deg, #fff8f0, #ffefe0);
    border: 1.5px solid #e07b39;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .act-transport-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .act-transport-body {}
  .act-transport-title {
    font-size: 12px;
    font-weight: 700;
    color: #c25a10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
  }
  .act-transport-text {
    font-size: 12.5px;
    color: #7a4020;
    line-height: 1.45;
  }
  .act-tip-box {
    background: linear-gradient(135deg, rgba(191,163,106,0.1), rgba(42,95,116,0.05));
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(191,163,106,0.25);
    margin-bottom: 20px;
  }
  .act-tip-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9a7c3a;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 6px;
  }
  .act-tip-text {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #4a6572;
    line-height: 1.55;
  }

  .act-book-btn { cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #2A5F74;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(42,95,116,0.3);
  }
  .act-book-btn svg { stroke: white; fill: none; flex-shrink: 0; }

  /* Activity Cards */
  .acts-grid { display: flex; flex-direction: column; gap: 0; }
  .act-category {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #BFA36A;
    padding: 20px 0 8px;
    border-bottom: 1px solid rgba(191,163,106,0.2);
    margin-bottom: 4px;
  }
  .act-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(42,95,116,0.08);
    transition: background 0.15s;
  }
  .act-card.act-highlight {
    background: linear-gradient(135deg, rgba(191,163,106,0.08), rgba(42,95,116,0.06));
    border-radius: 12px;
    padding: 14px 12px;
    margin: 4px -12px;
    border-bottom: none;
  }
  .act-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42,95,116,0.07);
    border-radius: 12px;
    padding: 7px;
  }
  .act-icon svg {
    width: 100%;
    height: 100%;
  }
  .act-info { flex: 1; }
  .act-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #1a2e38;
    margin-bottom: 3px;
    line-height: 1.2;
  }
  .act-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    color: #6a7f8a;
    line-height: 1.45;
  }
  .act-badge {
    display: inline-block;
    margin-top: 6px;
    background: rgba(191,163,106,0.18);
    color: #9a7c3a;
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(191,163,106,0.3);
  }
  .act-cta-box {
    margin-top: 24px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(42,95,116,0.06), rgba(42,95,116,0.03));
    border-radius: 14px;
    border: 1px solid rgba(42,95,116,0.1);
    text-align: center;
  }
  .act-cta-box p {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #4a6572;
    margin: 0 0 12px;
  }
  .act-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2A5F74;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 25px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
  }
  .act-cta-btn svg { stroke: white; fill: none; }

  .bottom-nav {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(255,253,249,0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(191,163,106,0.15);
    display: flex;
    padding: 12px 0 24px;
    z-index: 5;
  }

  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
  }

  .nav-item.active { color: var(--ocean); }

  .nav-item svg {
    width: 20px; height: 20px;
    stroke: currentColor;
    fill: none;
  }

