/* Portugal landing page (/pt/portugal/), loaded by that page only (PT-PORTUGAL-03). Uses the brand tokens, fonts and
   components of site.css (eyebrow, buttons, text links, photos, video player, FAQ) and overrides nothing outside
   .landing-pt and the compact header (.site-header--compact, rendered by this page only). Mobile first. */

/* ---------- Compact header ---------- */

.site-header--compact {
    --header-height: 4.75rem;
}

.site-header--compact .site-header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
}

.site-header--compact .logo {
    --logo-height: 3.5rem;
    margin-right: 0;
}

.site-header--compact .logo__signature {
    display: none;
}

.lp-header-cta {
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.lp-header-cta__long {
    display: none;
}

@media (min-width: 48em) {
    .site-header--compact {
        --header-height: 5.5rem;
    }

    .site-header--compact .logo {
        --logo-height: 4.25rem;
    }

    .lp-header-cta {
        padding-inline: 1.25rem;
        font-size: 0.8125rem;
    }

    .lp-header-cta__long {
        display: inline;
    }

    .lp-header-cta__short {
        display: none;
    }
}

/* ---------- Layout ---------- */

.landing-pt {
    --lp-width: 72rem;
    --lp-space: clamp(4rem, 9vw, 7rem);
    overflow-x: clip;
}

.landing-pt [id] {
    scroll-margin-top: calc(var(--header-height, 5rem) + 1rem);
}

.lp-container {
    width: min(var(--lp-width), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.lp-section {
    padding-block: var(--lp-space);
}

.lp-section--tinted {
    background: var(--stone);
}

.lp-section__head {
    max-width: 40rem;
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.lp-section__head h2 {
    margin-bottom: 1rem;
}

.lp-section__head .lead {
    margin: 0;
    color: var(--muted);
}

.landing-pt h2 {
    font-size: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);
}

/* ---------- 1. Hero ---------- */

.lp-hero {
    padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 5rem);
}

.lp-hero__inner {
    display: grid;
    gap: 2.25rem;
    align-items: center;
}

.lp-hero .eyebrow {
    margin-bottom: 1rem;
}

.lp-hero__title {
    max-width: 16ch;
    font-size: clamp(2.25rem, 1.55rem + 3.2vw, 4rem);
    line-height: 1.08;
}

.lp-hero__tagline {
    margin: 1.125rem 0 0;
    color: var(--gold-text);
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
    font-style: italic;
    line-height: 1.35;
}

.lp-hero__intro {
    margin: 1rem 0 0;
    max-width: 34rem;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.lp-hero__actions {
    margin-top: 1.75rem;
}

.lp-hero__note {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.lp-hero__note::before {
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gold);
}

.lp-hero__media .photo {
    max-height: 70vh;
    box-shadow: 0 30px 60px -40px rgba(81, 68, 91, 0.6);
}

@media (min-width: 60em) {
    .lp-hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: clamp(3rem, 6vw, 5.5rem);
    }

    .lp-hero__media .photo {
        max-height: none;
        max-width: 30rem;
        margin-left: auto;
    }
}

/* ---------- 2. Value proposition ---------- */

.lp-values {
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.lp-values__list {
    display: grid;
}

.lp-values__item {
    padding-block: 1.5rem;
}

.lp-values__item + .lp-values__item {
    border-top: 1px solid var(--line);
}

.lp-values__title {
    margin-bottom: 0.375rem;
    font-size: 1.25rem;
}

.lp-values__item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

@media (min-width: 48em) {
    .lp-values__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-values__item {
        padding: 2rem 2rem 2rem 0;
    }

    .lp-values__item + .lp-values__item {
        padding-left: 2rem;
        border-top: 0;
        border-left: 1px solid var(--line);
    }
}

/* ---------- 3. Presentation ---------- */

.lp-about__inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.lp-about__media .photo {
    max-width: 26rem;
}

.lp-about__text h2 {
    margin-bottom: 0.5rem;
}

.lp-about__role {
    margin-bottom: 1.5rem;
    color: var(--gold-text);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lp-about__quote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 2px solid var(--gold);
}

.lp-about__quote p {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(1.3125rem, 1.15rem + 0.7vw, 1.625rem);
    font-style: italic;
    line-height: 1.35;
}

@media (min-width: 60em) {
    .lp-about__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: clamp(3rem, 7vw, 6rem);
    }
}

/* ---------- 4. Video ---------- */

.lp-video__inner {
    display: grid;
    gap: 2.25rem;
    align-items: center;
}

.lp-video__text h2 {
    margin-bottom: 1rem;
}

.lp-video__text .lead {
    margin: 0;
}

@media (min-width: 48em) {
    .lp-video__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: clamp(3rem, 8vw, 7rem);
    }

    .lp-video__media {
        width: 18rem;
    }
}

/* ---------- Services (shared) ---------- */

.lp-service {
    display: flex;
    flex-direction: column;
}

.lp-service__subtitle {
    margin: 0 0 0.375rem;
    color: var(--gold-text);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lp-service__name {
    font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.lp-service__situation {
    margin: 1rem 0 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-style: italic;
    line-height: 1.4;
}

.lp-service__summary,
.lp-service__note {
    margin: 0.875rem 0 0;
    font-size: 0.9375rem;
}

.lp-service__note {
    color: var(--muted);
}

.lp-facts {
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--line);
}

.lp-facts__row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1rem;
    padding-block: 0.625rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.lp-facts dt {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-facts dd {
    margin: 0;
}

.lp-facts__row--price dd {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.3;
}

.lp-facts__link {
    display: inline-block;
    margin-top: 0.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-decoration-color: var(--gold);
}

.lp-service__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin: auto 0 0;
    padding-top: 1.5rem;
}

@media (max-width: 29.99em) {
    .lp-facts__row {
        grid-template-columns: 1fr;
        gap: 0.125rem;
    }

    .lp-service__actions .button {
        flex: 1 1 100%;
    }
}

/* 5. Entry: two panels side by side on wide screens. */
.lp-services__grid {
    display: grid;
    gap: 1.5rem;
}

.lp-service--entry {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: var(--surface);
}

@media (min-width: 60em) {
    .lp-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

/* 7. In-depth: editorial rows, name on the left, details on the right. */
.lp-services__rows {
    border-top: 1px solid var(--ink);
}

.lp-service--row {
    padding-block: clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 60em) {
    .lp-service--row {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        column-gap: clamp(3rem, 6vw, 5rem);
        align-items: start;
    }

    .lp-service--row > * {
        grid-column: 2;
    }

    .lp-service--row > .lp-service__head {
        grid-column: 1;
        grid-row: 1 / span 6;
    }

    .lp-service--row .lp-service__situation {
        margin-top: 0;
    }

    .lp-service--row .lp-service__actions {
        margin-top: 0;
    }
}

/* ---------- 6. Geobiology: dark band ---------- */

.lp-geo {
    background: var(--ink);
    color: var(--on-dark);
}

.lp-geo h2,
.lp-geo h3 {
    color: var(--on-dark);
}

.lp-geo .eyebrow {
    color: var(--gold-on-dark);
}

.lp-geo__inner {
    display: grid;
    gap: 2.5rem;
}

.lp-geo__media .photo {
    max-width: 24rem;
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6);
}

.lp-geo__text > h2 {
    margin-bottom: 1.25rem;
}

.lp-geo__text > p {
    color: var(--on-dark);
}

.lp-geo__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.75rem 0;
}

.lp-geo__highlights li {
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--line-on-dark);
    border-radius: 999px;
    color: var(--gold-on-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lp-geo__lead {
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.lp-geo__reading {
    display: inline-block;
    color: var(--on-dark);
    font-weight: 600;
    text-decoration-color: var(--gold);
}

.lp-service--dark {
    margin-top: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--line-on-dark);
    background: rgba(250, 246, 241, 0.05);
}

.lp-service--dark .lp-service__summary {
    color: var(--on-dark);
}

.lp-service--dark .lp-facts,
.lp-service--dark .lp-facts__row {
    border-color: var(--line-on-dark);
}

.lp-service--dark .lp-facts dt {
    color: var(--on-dark-muted);
}

.lp-service--dark .lp-facts__row--price dd {
    color: var(--on-dark);
}

.lp-service--dark .lp-facts__link,
.lp-geo .text-link {
    color: var(--on-dark);
}

.lp-geo__limit {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    border-left: 2px solid var(--gold);
    background: rgba(0, 0, 0, 0.12);
    font-size: 0.875rem;
}

.lp-geo__limit p {
    margin: 0;
    color: var(--on-dark-muted);
}

.lp-geo__limit .lp-geo__limit-question {
    margin-bottom: 0.375rem;
    color: var(--on-dark);
    font-weight: 600;
}

.lp-geo__more {
    margin-top: 1.25rem;
}

.lp-geo :focus-visible {
    outline-color: var(--gold-on-dark);
}

@media (min-width: 60em) {
    .lp-geo__inner {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
        gap: clamp(3rem, 7vw, 6rem);
        align-items: start;
    }

    .lp-geo__media {
        position: sticky;
        top: calc(var(--header-height, 5rem) + 2rem);
    }
}

/* ---------- 8. How it works ---------- */

.lp-how__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.lp-how__text h2 {
    margin-bottom: 2rem;
}

.lp-how__steps {
    counter-reset: lp-step;
    margin-bottom: 2rem;
}

.lp-how__step {
    position: relative;
    padding: 0 0 1.5rem 3.25rem;
    counter-increment: lp-step;
}

.lp-how__step::before {
    content: counter(lp-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 2.125rem;
    height: 2.125rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.0625rem;
}

.lp-how__step-title {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.lp-how__step p {
    margin: 0;
    font-size: 0.9375rem;
}

.lp-how__video {
    margin: 0;
}

.lp-how__video figcaption {
    max-width: 18rem;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 60em) {
    .lp-how__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: clamp(3rem, 8vw, 7rem);
    }

    .lp-how__video .intro-video__media {
        width: 18rem;
    }
}

/* ---------- 9. Trust ---------- */

.lp-trust__inner {
    display: grid;
    gap: 2rem;
}

.lp-trust__list {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
}

.lp-trust__item {
    display: grid;
    gap: 0.25rem;
    padding-block: 1.125rem;
    border-bottom: 1px solid var(--line);
}

.lp-trust__item dt {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1875rem;
}

.lp-trust__item dd {
    margin: 0;
    font-size: 0.9375rem;
}

.lp-trust__item dd p {
    margin: 0;
}

.lp-trust__link {
    display: inline-block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration-color: var(--gold);
}

.lp-trust__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.lp-trust__social a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration-color: var(--gold);
}

@media (min-width: 48em) {
    .lp-trust__item {
        grid-template-columns: 14rem minmax(0, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 60em) {
    .lp-trust__inner {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
        gap: clamp(3rem, 7vw, 6rem);
    }
}

/* ---------- 10. FAQ (site component, same container width as the landing) ---------- */

.lp-faq .faq {
    background: var(--stone);
}

.lp-faq .container {
    width: min(var(--lp-width), 100% - 2 * var(--gutter));
}

/* ---------- 11. Final call to action ---------- */

.lp-final {
    text-align: center;
}

.lp-final__inner {
    max-width: 44rem;
}

.lp-final__title {
    margin-bottom: 1.25rem;
}

.lp-final__title em {
    color: var(--gold-text);
}

.lp-final .lead {
    margin-inline: auto;
}

.lp-final__actions {
    justify-content: center;
    margin-top: 2rem;
}

/* ---------- Refinements after the visual review (PT-PORTUGAL-03) ---------- */

/* The compact header aligned with the landing's content width. */
.site-header--compact .container {
    width: min(72rem, 100% - 2 * var(--gutter));
}

/* Hero: the primary button and a discreet text link side by side (stacked on phones). */
.lp-hero__actions {
    align-items: center;
    gap: 0.75rem 1.75rem;
}

/* On the dark band the booking button is filled (ivory on ink), the main action of the card. */
.lp-service--dark .button--light {
    background: var(--ivory);
    color: var(--ink);
}

.lp-service--dark .button--light:hover {
    background: var(--on-dark);
    box-shadow: inset 0 -2px 0 var(--gold);
}

/* ---------- PT-PORTUGAL-04: header link to the official site, booking note ---------- */

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.25rem;
}

.lp-header-site {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.4em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lp-header-site:hover {
    color: var(--ink);
}

/* Narrow phones: the link above the shortened button, both right-aligned, the header height unchanged. */
@media (max-width: 29.99em) {
    .lp-header-actions {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 0;
    }

    .lp-header-site {
        min-height: 1.75rem;
        font-size: 0.6875rem;
    }

    .lp-header-cta {
        min-height: 2.5rem;
        padding-block: 0.5rem;
    }
}

.lp-hero__booking-note {
    margin: 0.375rem 0 0 1.125rem;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ---------- PT-PORTUGAL-05: target size (WCAG 2.5.8, 24 px) of the standalone small links, same look ---------- */

.lp-facts__link,
.lp-trust__link {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
}
