/* =========================================================
   Serra da Estrela — Landing Page
   Paleta: natureza viva de verão
   verde-floresta · verde-musgo · azul-lagoa · terracota/cobre · granito
   ========================================================= */

:root {
    --verde-fundo:   #0f3d2e;  /* pinhal profundo */
    --verde:         #1d6b4f;  /* verde floresta  */
    --verde-claro:   #4caf6d;  /* musgo vivo      */
    --verde-mint:    #d7efdf;  /* verde névoa     */
    --azul-lagoa:    #2a9d8f;  /* lagoa glaciar   */
    --azul-ceu:      #6cc4d6;  /* céu de verão    */
    --terracota:     #c2703d;  /* terra / cobre   */
    --cobre:         #a85a2e;  /* cobre escuro    */
    --granito:       #6b7280;  /* pedra           */
    --creme:         #fbfaf3;  /* fundo claro     */
    --texto:         #16241d;
    --texto-suave:   #4a5b51;
    --branco:        #ffffff;

    --sombra:    0 18px 50px -20px rgba(15, 61, 46, .35);
    --sombra-sm: 0 8px 24px -12px rgba(15, 61, 46, .3);
    --radius:    20px;
    --maxw:      1180px;

    --serif: "Fraunces", Georgia, serif;
    --sans:  "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--texto);
    background: var(--creme);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.kicker {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--azul-lagoa);
    margin-bottom: .9rem;
}
.kicker--center { text-align: center; }
.kicker--gold { color: var(--terracota); }

.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -.5px;
    color: var(--verde-fundo);
}
.section-title--center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1rem;
    padding: .95rem 1.7rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn--solid {
    background: linear-gradient(120deg, var(--terracota), var(--cobre));
    color: #ffffff;
    box-shadow: 0 10px 26px -10px rgba(168, 90, 46, .7);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(168, 90, 46, .8); }
.btn--ghost {
    background: transparent;
    color: var(--verde);
    border: 2px solid var(--verde-mint);
}
.btn--ghost:hover { background: var(--verde-mint); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--branco);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(108,196,214,.55), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(194,112,61,.30), transparent 55%),
        linear-gradient(160deg, #0c3326 0%, #15543c 45%, #1d6b4f 100%);
    overflow: hidden;
}
/* Imagem de fundo (Serra da Estrela) */
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.16) translateY(-1.5%); } }

.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        radial-gradient(1100px 700px at 75% 25%, rgba(10,44,32,.12), transparent 60%),
        linear-gradient(180deg, rgba(8,35,26,.50) 0%, rgba(8,35,26,.22) 38%, rgba(8,35,26,.62) 100%);
    pointer-events: none;
}

.nav {
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: space-between;
    width: min(var(--maxw), 92%);
    margin: 1.4rem auto 0;
}
.nav__brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav__logo {
    height: 64px; width: auto; display: block;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
    transition: transform .2s ease;
}
.nav__brand:hover .nav__logo { transform: translateY(-2px); }

.hero__inner {
    position: relative; z-index: 3;
    margin: auto;
    text-align: center;
    width: min(var(--maxw), 92%);
    padding: 2rem 0 5rem;
}
.hero__title {
    font-family: "Cormorant", Georgia, serif;
    font-weight: 600;
    font-size: clamp(3rem, 8vw, 6.4rem);
    line-height: 1.0;
    letter-spacing: 0.5px;
    text-shadow: 0 6px 30px rgba(0,0,0,.3);
}

.hero__scroll {
    position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
    z-index: 3; color: var(--branco); font-size: 2rem; text-decoration: none;
    opacity: .8; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* =========================================================
   INTRO (dobra abaixo do hero)
   ========================================================= */
.intro {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    background:
        radial-gradient(700px 400px at 50% -20%, rgba(108,196,214,.16), transparent 60%),
        var(--creme);
    text-align: center;
}
.intro__inner { max-width: 760px; }
.intro__slogan {
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    color: var(--verde-fundo);
    margin-bottom: 1.4rem;
}
.intro__slogan::after {
    content: ""; display: block; width: 64px; height: 3px; margin: 1.1rem auto 0;
    background: linear-gradient(90deg, var(--terracota), var(--cobre)); border-radius: 3px;
}
.intro__text {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    color: var(--texto-suave);
    margin-bottom: 2rem;
}
.intro__text em { font-style: italic; color: var(--azul-lagoa); font-weight: 600; }

.section-title--center { margin-bottom: 1rem; }
.section-title--light { color: var(--branco); }
.hl { color: var(--azul-lagoa); font-style: italic; }
.hl--gold { color: var(--terracota); }

/* =========================================================
   BLOCOS (texto + galeria de imagens)
   ========================================================= */
.bloco { padding: clamp(4rem, 9vw, 7rem) 0; }
.bloco--light { background: var(--creme); }
.bloco--sage {
    background:
        radial-gradient(800px 480px at 88% 8%, rgba(42,157,143,.07), transparent 60%),
        #eef2ea;
}
.bloco__head { margin-bottom: 2.6rem; max-width: 760px; }
.bloco__body {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.bloco__body--rev .galeria { order: -1; }
.bloco__text p { margin-bottom: 1.1rem; font-size: 1.05rem; color: var(--texto-suave); }
.bloco__text strong { color: var(--verde); }
.bloco__text--light p { color: rgba(255,255,255,.88); }
.bloco__text--light strong { color: var(--terracota); }
.bloco__cta-line { font-family: var(--serif); font-size: 1.25rem !important; color: var(--verde-fundo) !important; margin-top: 1.4rem; }

/* Galeria */
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 14px;
}
.galeria--three { grid-auto-rows: 175px; }
.galeria__item {
    position: relative; margin: 0; overflow: hidden;
    border-radius: 16px; box-shadow: var(--sombra-sm);
}
.galeria__item--tall { grid-row: span 2; }
.galeria__item--wide { grid-column: span 2; }
.galeria__item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s ease;
}
.galeria__item:hover img { transform: scale(1.08); }
.galeria__item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.4rem .9rem .7rem;
    font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .02em;
    background: linear-gradient(transparent, rgba(8,35,26,.82));
}

/* =========================================================
   PLANEAR — 5 pontos + formulário
   ========================================================= */
.planear {
    padding: clamp(4rem, 9vw, 7rem) 0;
    background: #FBFAF3;
}
.planear__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.planear__lead { font-size: 1.12rem; color: var(--texto-suave); margin-top: 1rem; }

/* 5 pontos — carrossel horizontal */
.carousel { position: relative; }
.pontos {
    --gap: 1.4rem;
    --per: 3;                       /* cards visíveis (inteiros, sem cortes) */
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1.4rem 0 1.6rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    scrollbar-width: none;          /* Firefox */
}
.pontos::-webkit-scrollbar { display: none; }   /* WebKit */
.ponto {
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    scroll-snap-align: start;
    background: var(--branco);
    border-radius: 18px; overflow: hidden;
    box-shadow: var(--sombra-sm);
    border: 1px solid rgba(29,107,79,.08);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ponto:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.ponto__img { aspect-ratio: 16/10; overflow: hidden; }
.ponto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ponto:hover .ponto__img img { transform: scale(1.07); }
.ponto__body { padding: 1.4rem 1.4rem 1.7rem; position: relative; flex: 1; }

/* Botões de navegação do carrossel */
.carousel__btn {
    position: absolute; top: 42%; transform: translateY(-50%);
    z-index: 4;
    width: 48px; height: 48px; border-radius: 50%;
    border: none; cursor: pointer;
    background: var(--branco);
    color: var(--cobre);
    font-size: 1.9rem; line-height: 1; font-family: var(--serif);
    display: grid; place-items: center;
    box-shadow: 0 8px 22px -8px rgba(15,61,46,.5);
    transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.carousel__btn:hover { background: linear-gradient(120deg, var(--terracota), var(--cobre)); color: #fff; transform: translateY(-50%) scale(1.08); }
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.ponto__title {
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
    color: var(--verde-fundo); margin-bottom: .5rem;
}
.ponto__body p { color: var(--texto-suave); font-size: .94rem; }
.ponto__body p strong { color: var(--verde); }

/* form wrap */
.form-wrap {
    display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    background: var(--branco);
    border-radius: 26px;
    padding: clamp(1.8rem, 3.5vw, 3rem);
    box-shadow: var(--sombra);
    border: 1px solid rgba(29,107,79,.08);
}
.form-wrap__title { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--verde-fundo); margin: .6rem 0 .8rem; }
.form-wrap__lead { color: var(--texto-suave); margin-bottom: 1.5rem; }
.form-wrap__perks { list-style: none; display: grid; gap: .7rem; }
.form-wrap__perks li { font-weight: 600; color: var(--verde); }

.card-form { background: transparent; }

/* Steps progress */
.steps { display: flex; align-items: center; margin-bottom: 2rem; }
.steps__item { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.steps__num {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--verde-mint); color: var(--verde);
    font-weight: 700; transition: all .3s ease;
}
.steps__label { font-size: .8rem; font-weight: 600; color: var(--granito); }
.steps__item.is-active .steps__num { background: linear-gradient(120deg, var(--terracota), var(--cobre)); color: #ffffff; transform: scale(1.05); }
.steps__item.is-active .steps__label { color: var(--verde-fundo); }
.steps__item.is-done .steps__num { background: var(--verde-claro); color: #fff; }
.steps__bar { flex: 1; height: 4px; background: var(--verde-mint); margin: 0 .8rem; border-radius: 4px; position: relative; top: -10px; overflow: hidden; }
.steps__bar span { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--verde-claro), var(--azul-lagoa)); transition: width .4s ease; }

/* Steps content */
.step { display: none; animation: fade .35s ease; }
.step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--verde-fundo); margin-bottom: .45rem; }
.field .opt { font-weight: 400; color: var(--granito); }
.field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--sans); font-size: 1rem; color: var(--texto);
    padding: .9rem 1rem;
    border: 2px solid #e3e9e4;
    border-radius: 12px;
    background: #fbfdfb;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--azul-lagoa);
    box-shadow: 0 0 0 4px rgba(42,157,143,.14);
}
.field input.invalid, .field select.invalid { border-color: #e05c5c; box-shadow: 0 0 0 4px rgba(224,92,92,.12); }
.field textarea { resize: vertical; }
.error { display: block; color: #d24545; font-size: .82rem; margin-top: .35rem; min-height: 1rem; }

.step__actions { margin-top: 1.4rem; display: flex; }
.step__actions .btn { flex: 1; }
.step__actions--split { gap: .8rem; }
.step__actions--split .btn--ghost { flex: 0 0 auto; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Sucesso */
.step--done { text-align: center; padding: 2rem 0; }
.done__icon {
    width: 76px; height: 76px; margin: 0 auto 1.2rem;
    border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(120deg, var(--verde-claro), var(--azul-lagoa));
    color: #fff; font-size: 2.4rem; font-weight: 700;
    box-shadow: 0 14px 30px -10px rgba(42,157,143,.6);
    animation: pop .4s ease;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.done__title { font-family: var(--serif); font-size: 1.8rem; color: var(--verde-fundo); margin-bottom: .6rem; }
.done__msg { color: var(--texto-suave); font-size: 1.05rem; }

.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background:
        radial-gradient(900px 500px at 85% -20%, rgba(42,157,143,.18), transparent 60%),
        var(--verde-fundo);
    color: var(--branco);
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

/* Colunas */
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(1.8rem, 4vw, 3rem);
    padding-bottom: 2.8rem;
}
.footer__logo { height: 64px; width: auto; display: block; }
.footer__slogan { font-family: var(--serif); font-style: italic; color: var(--terracota); margin-top: .9rem; font-size: 1.05rem; }
.footer__tag { color: rgba(255,255,255,.62); font-size: .9rem; margin-top: .8rem; max-width: 300px; line-height: 1.6; }
.footer__h {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: .74rem; font-weight: 700; color: var(--terracota);
    margin-bottom: 1.1rem;
}
.footer__list, .footer__contact-list { list-style: none; display: grid; gap: .65rem; }
.footer__list li, .footer__list a, .footer__contact-list a {
    color: rgba(255,255,255,.78); font-size: .92rem; text-decoration: none;
    transition: color .2s ease;
}
.footer__list a:hover, .footer__contact-list a:hover { color: var(--terracota); }

/* Ícones sociais */
.footer__social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--terracota); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

/* Barra inferior */
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 1.5rem 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.footer__copy { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer__totop { font-size: .82rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s ease; }
.footer__totop:hover { color: var(--terracota); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 880px) {
    .bloco__body, .form-wrap { grid-template-columns: 1fr; }
    .bloco__body--rev .galeria { order: 0; }
    .form-wrap__aside { text-align: center; }
    .form-wrap__perks { justify-items: center; }
    .pontos { --per: 2; }           /* 2 cards visíveis em tablet */
    .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .nav__cta { display: none; }
    .steps__label { display: none; }
    .pontos { --per: 1; }           /* 1 card visível em telemóvel */
    .galeria, .galeria--three { grid-auto-rows: 130px; }
    .footer__top { grid-template-columns: 1fr; text-align: center; }
    .footer__list, .footer__contact-list { justify-items: center; }
    .footer__tag { margin-inline: auto; }
    .footer__logo { margin-inline: auto; }
    .footer__social { justify-content: center; }
    .footer__bottom { flex-direction: column; text-align: center; }
}
