.app-shell, .bottom-nav { width: min(100%, 1080px); }
.home-active .topbar { display: none; }
#inicio { background: #faf6ef; }
.home-hero {
  min-height: clamp(370px, 42vw, 450px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #253746;
  color: #fffaf2;
}
.home-hero > img, .home-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-hero > img { z-index: -2; object-fit: cover; object-position: 50% 43%; }
.home-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #101a25e6, #101a256e 53%, #101a251a 85%),
    linear-gradient(180deg, #101a25b8, transparent 26%, transparent 64%, #101a254a);
}
.home-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: clamp(6px, 1.7vw, 20px);
  align-items: center;
  padding: 14px clamp(14px, 3.6vw, 36px);
}
.home-brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font: 400 clamp(17px, 3vw, 29px)/1.15 Georgia, serif;
  letter-spacing: -.035em;
}
.home-brand svg { width: 28px; flex: 0 0 28px; stroke: #f7ce87; fill: #f7ce8733; stroke-width: 1.5; }
.home-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff4;
  border-radius: 50%;
  background: #14203155;
  color: inherit;
  cursor: pointer;
}
.home-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-hero-copy { padding: 15px clamp(22px, 4.7vw, 52px) clamp(38px, 5.4vw, 59px); }
.home-hero h1 {
  font: italic 400 clamp(40px, 6.4vw, 72px)/.98 Georgia, serif;
  letter-spacing: -.047em;
  margin: 0;
  text-wrap: balance;
}
.home-hero h1::after, .home-card span::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: #f4c37d;
}
.home-hero h1::after { margin: 23px 0 16px; }
.home-hero p { font-size: clamp(16px, 2vw, 21px); line-height: 1.4; margin: 0; }
.home-content {
  position: relative;
  margin-top: -14px;
  border-radius: 25px 25px 0 0;
  padding: clamp(22px, 3vw, 34px) clamp(14px, 3vw, 32px) 22px;
  background: linear-gradient(170deg, #f7f0e6, #fffaf3 54%, #faf4ea);
}
.home-section + .home-section { margin-top: clamp(26px, 4vw, 42px); }
.home-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 15px;
}
.home-heading h2, .home-themes h2, .home-feature-copy strong {
  margin: 0;
  font: 400 clamp(27px, 3.6vw, 40px)/1.06 Georgia, serif;
  letter-spacing: -.045em;
}
.home-link {
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--wine-dark);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.home-link:hover { text-decoration: underline; }
.home-link span { margin-left: 5px; }
.home-grid, .home-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 16px); }
.home-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  aspect-ratio: 1 / 1.12;
  padding: clamp(12px, 2.4vw, 24px);
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  color: #fffaf3;
  background: #344452;
  text-decoration: none;
  cursor: pointer;
}
.home-card::before, .home-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-card img { object-fit: cover; z-index: -2; transition: transform .25s ease; }
.home-card::before { content: ""; z-index: -1; background: linear-gradient(0deg, #111519ed, #11151952 48%, transparent 75%); }
.home-card:hover img { transform: scale(1.035); }
.home-card span { font: 400 clamp(21px, 3vw, 34px)/1.02 Georgia, serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.home-card span::after { margin-top: 12px; width: 36px; }
.home-card--espanha img { object-position: 55% center; }
.home-card--alemanha img { object-position: 55% center; }
.home-card--londres img { object-position: 72% center; }
.home-suggestions .home-card { aspect-ratio: 1.19; }
.home-suggestions .home-card span { font-size: clamp(19px, 2.55vw, 29px); }
.home-feature, .home-themes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(115deg, #faf1e4, #f0e6d8);
  box-shadow: 0 1px 3px #67502c1c;
}
.home-feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  align-items: center;
  cursor: pointer;
}
.home-feature img, .home-themes img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.home-feature img { mask-image: linear-gradient(90deg, black 65%, transparent); }
.home-feature-copy { display: grid; gap: 8px; padding: 17px clamp(10px, 2vw, 22px); }
.home-feature-copy .section-kicker, .home-themes .section-kicker { margin: 0; }
.home-feature-copy strong { font-style: italic; }
.home-feature-copy > span:last-child { color: #484b56; line-height: 1.4; font-size: clamp(14px, 1.6vw, 18px); }
.home-round {
  margin-right: clamp(12px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wine);
  color: white;
  font-size: 25px;
}
.home-steps { margin-top: 12px; }
.home-steps button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-height: 101px;
  padding: 10px;
  border: 1px solid #e5d9ca;
  border-radius: 15px;
  background: #faf5ed;
  color: var(--ink);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  cursor: pointer;
}
.home-steps svg { width: 35px; stroke: var(--wine); stroke-width: 1.55; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.home-steps button:hover { background: #f2e5d7; }
.home-themes { align-items: stretch; }
.home-themes img { border-radius: 18px; max-height: 268px; }
.home-themes > div { padding: clamp(18px, 3vw, 31px); align-self: center; }
.home-themes h2 { margin: 6px 0 16px; }
.home-theme-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.home-theme-buttons button {
  padding: 8px 12px;
  border: 1px solid #cdb9a8;
  border-radius: 999px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.home-theme-buttons button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: white; }
.home-credits { margin-top: 20px; text-align: right; }
.home-credits button { color: var(--muted); font-size: 12px; }
.home-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.home-dialog label { font-size: 14px; font-weight: 650; }
.home-dialog input {
  display: block;
  width: 100%;
  border: 1px solid #c9bfb1;
  border-radius: 9px;
  color: var(--ink);
  background: white;
  padding: 10px;
  margin: 5px 0 12px;
}
.home-catalog-item, .home-menu-links > * {
  display: grid;
  gap: 3px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  text-align: left;
  text-decoration: none;
  color: var(--wine-dark);
  cursor: pointer;
}
.home-catalog-item small { color: var(--muted); }
.home-dialog ul { padding-left: 20px; line-height: 1.55; font-size: 14px; }
#homePhotoCredits li + li { margin-top: 8px; }
.home-guide-steps details { border-top: 1px solid var(--line); padding: 12px 0; }
.home-guide-steps summary { font-weight: 650; cursor: pointer; }
.home-guide-steps a, .home-guide-steps button { display: inline-block; margin-right: 7px; }
.home-content :focus-visible, .home-hero :focus-visible { outline: 2px solid #b17030; outline-offset: 3px; }
@media (max-width: 650px) {
  .home-grid, .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero > img { object-position: 60% 50%; }
  .home-hero::after { background: linear-gradient(180deg, #101a25bf, #101a251a 32%, #101a25dd 91%); }
  .home-feature { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr) auto; }
  .home-feature img { min-height: 159px; mask-image: linear-gradient(90deg, black 75%, transparent); }
  .home-themes img { min-height: 155px; }
  .home-themes { grid-template-columns: minmax(0, 1fr); }
  .home-themes img { max-height: 195px; object-position: center 52%; }
}
@media (max-width: 390px) {
  .home-brand svg { display: none; }
  .home-round { margin-right: 8px; width: 33px; height: 33px; }
  .home-break { display: none; }
}

/* Destination covers share the home page’s frame and editorial palette. */
.destination-cover { background: #faf6ef; }
.destination-cover .hero {
  height: clamp(370px, 43vw, 460px);
}
.destination-cover .hero img { display: block; object-position: center 49%; }
.destination-cover .hero--espanha img { object-position: center 43%; }
.destination-cover .country-hero--italia img { object-position: center 44%; }
.destination-cover .hero-shade {
  background: linear-gradient(90deg, #101a25db 0%, #101a2566 52%, transparent 92%),
    linear-gradient(0deg, #101a2594, transparent 64%);
}
.destination-cover .hero-content {
  left: clamp(22px, 4.7vw, 52px);
  bottom: clamp(37px, 5vw, 55px);
  right: 22px;
}
.destination-cover .hero h1 { font-size: clamp(42px, 6.2vw, 72px); margin: 10px 0 15px; }
.destination-cover .hero p { max-width: 48ch; font-size: clamp(15px, 2vw, 18px); }
.destination-cover .country-hero-plain {
  height: clamp(260px, 37vw, 355px);
  background: radial-gradient(ellipse at 85% 0%, #733345, transparent 63%), linear-gradient(135deg, #172138, #242e43);
}
.destination-cover .country-hero-plain .hero-shade { display: none; }
.destination-cover .start-card {
  margin: -14px 0 0;
  padding: clamp(22px, 3vw, 34px) clamp(14px, 3vw, 32px) 22px;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(170deg, #f7f0e6, #fffaf3);
  box-shadow: none;
}
.destination-cover .start-card h2 {
  margin: 0 0 16px;
  font: 400 clamp(27px, 3.6vw, 40px)/1.06 Georgia, serif;
  letter-spacing: -.04em;
}
.destination-cover .journey-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
  gap: 12px;
}
.destination-cover .journey-option {
  height: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 8px 13px;
  padding: 18px;
  border: 1px solid #e5d9ca;
  border-radius: 15px;
  background: #fffaf3;
}
.destination-cover .option-index { grid-column: 1 / -1; }
.destination-cover .journey-option strong { font: 400 23px/1.1 Georgia, serif; }
.destination-cover .journey-option small { line-height: 1.35; }
.destination-cover .journey-option:hover { background: #f5eadc; }
.destination-cover .journey-option:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.destination-cover .pilot-teaser {
  margin: 14px clamp(14px, 3vw, 32px) 0;
  border: 1px solid #e5d9ca;
  background: #f6eee3;
}
.destination-cover .pilot-teaser .primary-btn { width: fit-content; gap: 18px; }
.country-credit { margin: 14px clamp(14px, 3vw, 32px); color: var(--muted); font-size: 12px; line-height: 1.4; }
.country-credit a { color: inherit; }
@media (max-width: 740px) {
  .destination-cover .journey-options { grid-template-columns: 1fr; gap: 8px; }
  .destination-cover .journey-option { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; padding: 13px; }
  .destination-cover .option-index { grid-column: auto; }
  .destination-cover .hero { height: clamp(315px, 85vw, 380px); }
  .destination-cover .country-hero-plain { height: 260px; }
}
.planner-country { max-height: min(88dvh, 860px); overflow-y: auto; overscroll-behavior: contain; }
.city-choice input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.country-plan-body { padding: 0 0 32px; }
.country-plan-detail { margin: 8px 22px 0; padding: 17px; border-radius: 14px; background: var(--cream); }
.country-plan-detail p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.country-inspiration-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.country-inspiration-links a { text-decoration: none; font-size: 13px; }

.country-resume { display: inline-block; margin: 0 0 8px; }
