/* ==========================================================================
   MozaTour — templates alternativos da página inicial
   ========================================================================== */

/* ---------- CLÁSSICO: estrutura de tema de agência (herói com círculos,
   pesquisa sobreposta, destinos em círculo, promoções, porquê nós, banner) ---------- */
.tpl-classico{--tc-soft:#FFF0E9}
.tc-script{font-family:'Caveat',cursive;font-size:1.8rem;line-height:1;color:var(--coral-d)}
.tc-chip{display:inline-flex;align-items:center;gap:.5rem;background:var(--tc-soft);color:var(--ink);font:800 .72rem var(--sans);letter-spacing:.1em;text-transform:uppercase;padding:.55rem 1rem;border-radius:999px}
.tc-chip .ic{width:16px;height:16px;color:var(--pink)}
.tc-title{font-family:var(--sans);font-weight:800;letter-spacing:-.025em;font-size:clamp(1.9rem,3.6vw,2.7rem);line-height:1.12;margin:.9rem 0 .7rem}
.tc-btn{background:var(--brand);color:#fff;border-radius:999px;padding:.95rem 1.6rem}
.tc-btn:hover{filter:brightness(.96);box-shadow:0 10px 24px rgba(232,99,143,.3)}
.tc-btn-ghost{background:#fff;color:var(--ink);border-radius:999px;padding:.95rem 1.6rem;border:1.5px solid var(--line)}
.tc-hero{position:relative;padding:64px 0 130px;overflow:hidden;background:radial-gradient(900px 520px at 88% 18%,#FFEDE4 0,transparent 62%),var(--paper)}
.tc-hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:2rem;align-items:center}
.tc-hero h1{font-family:var(--sans);font-weight:800;font-size:clamp(2.6rem,5.4vw,4.4rem);line-height:1.04;letter-spacing:-.04em;margin:.9rem 0 1.3rem}
.tc-hero h1 em{font-style:normal;background:var(--brand);-webkit-background-clip:text;background-clip:text;color:transparent}
.tc-hero p{color:var(--ink-2);max-width:470px;font-size:1.05rem;margin-bottom:2rem}
.tc-hero .acts{display:flex;gap:.8rem;flex-wrap:wrap}
.tc-art{position:relative;height:540px}
.tc-art .c{position:absolute;z-index:1;border-radius:50%;overflow:hidden;border:10px solid #fff;box-shadow:0 30px 60px rgba(30,20,15,.14)}
.tc-art .c img{width:100%;height:100%;object-fit:cover}
.tc-art .c1{right:30px;top:0;width:430px;height:430px}
.tc-art .c2{left:0;bottom:20px;width:230px;height:230px;border-width:8px}
.tc-art .c3{right:0;bottom:0;width:160px;height:160px;border-width:6px}
.tc-art .blob{position:absolute;right:-140px;bottom:-70px;width:560px;height:320px;background:var(--brand);border-radius:60% 40% 0 0/80% 70% 0 0;opacity:.95}
.tc-art .badge{position:absolute;left:30px;top:70px;z-index:2;background:#fff;border-radius:16px;padding:.8rem 1rem;box-shadow:0 18px 40px rgba(0,0,0,.1);display:flex;gap:.7rem;align-items:center;font-size:.84rem}
.tc-art .badge i{width:40px;height:40px;border-radius:12px;background:var(--tc-soft);display:grid;place-items:center;color:var(--pink)}
.tc-art .badge b{display:block;font-size:1rem}
.tc-art .dash{position:absolute;left:10px;top:20px;width:170px;height:320px;color:#F2B49E}
.tc-search{position:relative;z-index:5;margin-top:-72px}
.tc-dgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:1.4rem}
.tc-dcard{text-align:center}
.tc-dcard .ph{aspect-ratio:1;border-radius:50%;overflow:hidden;margin-bottom:1rem;border:6px solid #fff;box-shadow:var(--sh)}
.tc-dcard .ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.tc-dcard:hover .ph img{transform:scale(1.08)}
.tc-dcard h4{font-family:var(--sans);font-weight:800;font-size:1.02rem;letter-spacing:0}
.tc-dcard small{color:var(--muted)}
.tc-promo{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:250px 250px;gap:1.2rem}
.tc-tile{position:relative;border-radius:18px;overflow:hidden;color:#fff;display:flex;align-items:flex-end;padding:1.5rem}
.tc-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s}
.tc-tile:hover img{transform:scale(1.06)}
.tc-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.7))}
.tc-tile>div{position:relative;z-index:1}
.tc-tile small{background:var(--brand);font-size:.72rem;font-weight:800;padding:.32rem .7rem;border-radius:6px}
.tc-tile h4{font-family:var(--sans);font-weight:800;font-size:1.45rem;margin-top:.55rem;letter-spacing:-.01em}
.tc-tile.big,.tc-tile.deal{grid-row:span 2}
.tc-tile.deal{background:var(--brand);align-items:center;justify-content:center;text-align:center}
.tc-tile.deal::after{display:none}
.tc-tile.deal .pct{font:800 3.6rem/1 var(--sans)}
.tc-tile.deal .tc-script{color:#fff}
.tc-why .wrap{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.tc-why .ph{position:relative}
.tc-why .ph .a{border-radius:220px 220px 24px 24px;overflow:hidden;height:540px}
.tc-why .ph .a img,.tc-why .ph .b img{width:100%;height:100%;object-fit:cover}
.tc-why .ph .b{position:absolute;left:-40px;bottom:40px;width:210px;height:210px;border-radius:50%;overflow:hidden;border:8px solid var(--paper)}
.tc-wl{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;margin:2rem 0}
.tc-wl>div{display:flex;gap:.9rem}
.tc-wl i{flex:none;width:52px;height:52px;border-radius:14px;background:var(--tc-soft);display:grid;place-items:center;color:var(--pink)}
.tc-wl i .ic{width:24px;height:24px}
.tc-wl h5{margin:0 0 .25rem;font-size:1rem}
.tc-wl p{font-size:.88rem;color:var(--ink-2)}
.tc-banner{background:var(--brand);border-radius:28px;color:#fff;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden}
.tc-banner .t{padding:3.6rem}
.tc-banner .tc-script{color:#fff;opacity:.95}
.tc-banner h3{font-family:var(--sans);font-weight:800;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.12;margin:.6rem 0 1rem;letter-spacing:-.02em}
.tc-banner p{opacity:.92;margin-bottom:1.8rem}
.tc-banner .ph{position:relative;min-height:280px}
.tc-banner .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tpl-classico .trip h3{font-family:var(--sans);font-weight:800;letter-spacing:-.01em;font-size:1.15rem}
.tpl-classico .trip .ft b{color:var(--pink)}

/* ---------- AVENTURA: slider de ecrã inteiro, secções escuras, cards grandes ---------- */
.ta-slider{position:relative;height:min(92vh,820px);min-height:560px;overflow:hidden;background:#111;color:#fff}
.ta-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;display:flex;align-items:flex-end}
.ta-slide.on{opacity:1;z-index:1}
.ta-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);transition:transform 7s ease}
.ta-slide.on img{transform:scale(1)}
.ta-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,9,8,.88) 0%,rgba(10,9,8,.25) 55%,rgba(10,9,8,.35) 100%)}
.ta-slide .wrap{position:relative;z-index:2;padding-bottom:130px}
.ta-slide .k{font:800 .78rem var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#FFC2A8}
.ta-slide h2{font-family:var(--sans);font-weight:800;text-transform:uppercase;font-size:clamp(2.6rem,8vw,6.2rem);line-height:.95;letter-spacing:-.03em;margin:.8rem 0 1rem;max-width:14ch}
.ta-slide p{max-width:52ch;color:#EDE6DF;font-size:1.08rem}
.ta-slide .meta{display:flex;gap:1.4rem;flex-wrap:wrap;margin:1.4rem 0 2rem;font-weight:700}
.ta-slide .meta span{display:flex;gap:.45rem;align-items:center}
.ta-slide .meta .ic{color:#FFC2A8}
.ta-dots{position:absolute;z-index:3;left:0;right:0;bottom:44px}
.ta-dots .wrap{display:flex;gap:.6rem}
.ta-dots button{flex:1;max-width:240px;background:none;border:0;border-top:2px solid rgba(255,255,255,.3);color:rgba(255,255,255,.65);text-align:left;padding:.8rem 0 0;font:700 .82rem var(--sans);cursor:pointer}
.ta-dots button.on{border-color:#fff;color:#fff}
.ta-dark{background:var(--night);color:#EDE6DF}
.ta-dark .h-sec,.ta-dark h3{color:#fff}
.ta-dark .lead{color:#B8B1AA}
.ta-dark .eyebrow{color:#FFB497}
.ta-dark .link{color:#fff}
.ta-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(290px,1fr);gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:1rem;scrollbar-width:thin}
.ta-card{scroll-snap-align:start;position:relative;border-radius:20px;overflow:hidden;aspect-ratio:3/4;color:#fff;display:flex;align-items:flex-end;padding:1.5rem}
.ta-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s}
.ta-card:hover img{transform:scale(1.05)}
.ta-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.88))}
.ta-card>div{position:relative;z-index:1;width:100%}
.ta-card .top{position:absolute;top:1.2rem;left:1.2rem;right:1.2rem;z-index:1;display:flex;justify-content:space-between;gap:.5rem}
.ta-card h3{font-family:var(--sans);font-weight:800;font-size:1.55rem;text-transform:uppercase;letter-spacing:-.01em;line-height:1}
.ta-card .row{display:flex;justify-content:space-between;align-items:center;margin-top:.9rem;padding-top:.9rem;border-top:1px solid rgba(255,255,255,.2);font-size:.9rem}
.ta-card .row b{font-size:1.15rem}
.ta-list{border-top:1px solid rgba(255,255,255,.12)}
.ta-list a{display:grid;grid-template-columns:110px 1fr auto auto;gap:1.6rem;align-items:center;padding:1.3rem 0;border-bottom:1px solid rgba(255,255,255,.12);transition:padding .3s,background .3s}
.ta-list a:hover{background:rgba(255,255,255,.04);padding-left:.8rem}
.ta-list .d{font:800 2.4rem/1 var(--sans);color:#fff}
.ta-list .d small{display:block;font-size:.75rem;letter-spacing:.14em;color:#FFB497;margin-top:.3rem;text-transform:uppercase}
.ta-list h4{font-family:var(--sans);font-size:1.3rem;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:-.01em}
.ta-list span{color:#B8B1AA;font-size:.9rem}
.ta-list .p{font-weight:800;color:#fff;font-size:1.1rem;white-space:nowrap}
.ta-split{display:grid;grid-template-columns:1fr 1fr;min-height:560px}
.ta-split .ph{position:relative}
.ta-split .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ta-split .tx{padding:80px clamp(24px,6vw,90px);display:flex;flex-direction:column;justify-content:center;background:var(--sand)}
.ta-big{font-family:var(--sans);font-weight:800;text-transform:uppercase;font-size:clamp(2.2rem,5vw,4rem);line-height:.98;letter-spacing:-.03em}

@media (max-width:1080px){
  .tc-hero .wrap,.tc-why .wrap,.tc-banner,.ta-split{grid-template-columns:1fr}
  .tc-art{height:440px}.tc-art .c1{width:340px;height:340px}
  .tc-dgrid{grid-template-columns:repeat(3,1fr)}
  .tc-promo{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .tc-tile{min-height:230px}.tc-tile.big,.tc-tile.deal{grid-row:auto}
    .tc-why .ph .b{left:12px}
  .ta-split .ph{min-height:360px}
  .ta-list a{grid-template-columns:80px 1fr auto}.ta-list .btn{display:none}
}
@media (max-width:640px){
  .tc-art{height:330px}.tc-art .c1{width:250px;height:250px;right:0}.tc-art .c2{width:150px;height:150px}.tc-art .c3,.tc-art .badge{display:none}
  .tc-dgrid{grid-template-columns:repeat(2,1fr)}
  .tc-promo,.tc-wl{grid-template-columns:1fr}
      .tc-banner .t{padding:2rem}
  .tc-why .ph .a{height:380px}
  .ta-slide .wrap{padding-bottom:110px}
  .ta-dots button{font-size:0}
  .ta-list a{grid-template-columns:64px 1fr;gap:1rem}.ta-list .p{grid-column:2}
  .ta-list .d{font-size:1.8rem}
}
.ta-list span.btn{color:#fff}
