/* ============================================================
   Cesamar Turismo — Redesign 2026
   Paleta: azul-marinho profundo + coral/vermelho da marca
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #0a1836;
  --navy-800: #10224a;
  --navy-700: #17305f;
  --navy-600: #1f3f7a;
  --coral-500: #ff4d4d;
  --coral-600: #e6352f;
  --coral-400: #ff6b6b;
  --gold-400: #f5b544;

  /* Neutrals */
  --ink: #0d1526;
  --slate: #46536b;
  --mist: #8894ab;
  --line: #e6eaf1;
  --cloud: #f4f7fb;
  --white: #ffffff;

  /* Effects */
  --shadow-sm: 0 4px 16px rgba(13, 21, 38, .06);
  --shadow-md: 0 18px 44px rgba(13, 21, 38, .12);
  --shadow-lg: 0 34px 80px rgba(10, 24, 54, .28);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--coral-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--coral-500); border-radius: 2px;
}
.eyebrow.light { color: var(--coral-400); }
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  color: var(--ink);
  margin: 16px 0 18px;
}
.section-title em { color: var(--coral-600); font-style: italic; }
.lead { font-size: 1.08rem; color: var(--slate); max-width: 60ch; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lead { margin-inline: auto; }

section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

/* Buttons ---------------------------------------------------- */
.btn {
  --bg: var(--coral-500);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  background: var(--bg); color: #fff; border: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  box-shadow: 0 12px 26px rgba(230, 53, 47, .32);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(230, 53, 47, .42); }
.btn .ico { width: 18px; height: 18px; }
.btn.ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn.ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn.dark { background: var(--navy-800); box-shadow: 0 12px 26px rgba(10,24,54,.3); }
.btn.dark:hover { box-shadow: 0 18px 34px rgba(10,24,54,.4); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--coral-600); font-size: .93rem;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Header ----------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #cfd8ea;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar a { color: #cfd8ea; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-left span, .topbar .tb-left a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-social { display: flex; gap: 16px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(10, 24, 54, .82);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px rgba(6, 16, 38, .35);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: rgba(255,255,255,.9); font-weight: 600; font-size: .95rem;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--coral-500); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero ------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding-top: 40px; padding-bottom: 60px;
  margin-top: -126px; /* pull under transparent header (topbar 42 + header 84) */
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(6,14,34,.9) 0%, rgba(8,18,44,.64) 40%, rgba(9,20,48,.2) 78%, rgba(9,20,48,.05) 100%),
    url("https://images.unsplash.com/photo-1548574505-5e239809ee19?auto=format&fit=crop&w=2100&q=85")
    center 40%/cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 86%, rgba(244,247,251,.65) 100%);
}
.hero-inner { max-width: 720px; padding-top: 80px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.2rem); line-height: 1.02; margin: 20px 0 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 116px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero-scroll .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative;
}
.hero-scroll .mouse::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 3px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} }
@media (max-height: 820px) { .hero-scroll { display: none; } }

/* Search / destino bar -------------------------------------- */
.searchbar {
  position: relative; z-index: 5; margin-top: -70px;
}
.searchbar .card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px;
  border: 1px solid var(--line);
}
.searchbar .field { padding: 14px 20px; border-radius: var(--radius-sm); transition: background .25s; }
.searchbar .field:hover { background: var(--cloud); }
.searchbar label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: 4px; }
.searchbar .field .val { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.searchbar .field select, .searchbar .field input {
  border: none; background: none; font: inherit; font-weight: 600; color: var(--ink); width: 100%; outline: none; cursor: pointer;
}
.searchbar .go { align-self: center; }
.searchbar .go .btn { width: 100%; height: 100%; justify-content: center; }

/* Services --------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); transition: opacity .4s; z-index: 0;
}
.svc > * { position: relative; z-index: 1; transition: color .35s; }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::before { opacity: 1; }
.svc:hover, .svc:hover p, .svc:hover .link-arrow { color: #fff; }
.svc:hover .svc-ico { background: rgba(255,255,255,.14); color: #fff; }
.svc-ico {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: #fff1ef; color: var(--coral-600); margin-bottom: 22px; transition: .35s;
}
.svc-ico svg { width: 30px; height: 30px; }
.svc h3 { font-size: 1.45rem; margin-bottom: 10px; }
.svc p { color: var(--slate); margin-bottom: 18px; font-size: .98rem; }

/* Destinations ---------------------------------------------- */
.dest-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 46px; }
.dest-tabs button {
  padding: 10px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-weight: 600; font-size: .92rem; color: var(--slate); cursor: pointer;
  transition: .3s;
}
.dest-tabs button:hover { border-color: var(--coral-400); color: var(--coral-600); }
.dest-tabs button.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest-grid.six { grid-template-columns: repeat(3, 1fr); }
.dest {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm); cursor: pointer; background: var(--navy-700);
}
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(8,16,36,.28) 55%, rgba(8,16,36,.9) 100%);
}
.dest:hover img { transform: scale(1.08); }
.dest .meta { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: #fff; }
.dest .region { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.dest .name { font-family: var(--display); font-size: 1.5rem; margin-top: 4px; }
.dest .go {
  margin-top: 12px; opacity: 0; transform: translateY(10px); transition: .4s var(--ease);
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem;
}
.dest:hover .go { opacity: 1; transform: translateY(0); }

/* Split feature (arte de viajar) ---------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -26px; left: -26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 22px 26px; display: flex; gap: 16px; align-items: center;
}
.split-media .badge .num { font-family: var(--display); font-size: 2.6rem; color: var(--coral-600); line-height: 1; }
.split-media .badge .txt { font-size: .84rem; color: var(--slate); font-weight: 600; max-width: 12ch; }
.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.feature-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.feature-list .fi {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cloud); color: var(--coral-600);
}
.feature-list .fi svg { width: 24px; height: 24px; }
.feature-list h4 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.feature-list p { color: var(--slate); font-size: .95rem; }

/* Cruise band ------------------------------------------------ */
.cruise {
  color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(8,18,42,.94) 0%, rgba(10,24,54,.7) 55%, rgba(10,24,54,.25) 100%),
    url("https://images.unsplash.com/photo-1548574505-5e239809ee19?auto=format&fit=crop&w=2000&q=80") center/cover;
}
.cruise .split { align-items: center; }
.cruise .lead { color: rgba(255,255,255,.82); }
.cruise .cruise-empty { min-height: 320px; }
.cruise-feats { display: flex; gap: 30px; margin: 30px 0; flex-wrap: wrap; }
.cruise-feats div span { font-family: var(--display); font-size: 2.2rem; color: var(--gold-400); }
.cruise-feats div small { display: block; color: rgba(255,255,255,.7); font-size: .84rem; }

/* Stats ------------------------------------------------------ */
.stats { background: var(--navy-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); color: #fff; line-height: 1; }
.stat .n span { color: var(--coral-400); }
.stat .l { margin-top: 10px; color: rgba(255,255,255,.66); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }

/* Packages --------------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pkg {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pkg:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pkg-media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--navy-700); }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pkg:hover .pkg-media img { transform: scale(1.07); }
.pkg-tag {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--navy-800);
  font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; letter-spacing: .04em;
}
.pkg-fav {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--coral-600);
}
.pkg-body { padding: 22px 24px 26px; }
.pkg-loc { font-size: .8rem; color: var(--mist); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pkg h3 { font-size: 1.32rem; margin: 8px 0 12px; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pkg-price small { color: var(--mist); font-size: .78rem; display: block; }
.pkg-price b { font-family: var(--display); font-size: 1.4rem; color: var(--coral-600); }
.stars { color: var(--gold-400); font-size: .9rem; letter-spacing: 2px; }

/* About / support ------------------------------------------- */
.support { background: var(--cloud); }
.support .split { align-items: center; }
.support-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.support-media img:nth-child(1) { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; font-weight: 600; font-size: .9rem; color: var(--navy-800); display: inline-flex; gap: 8px; align-items: center; }
.chip svg { width: 17px; height: 17px; color: var(--coral-600); }

/* CTA / contact --------------------------------------------- */
.cta {
  color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600) 60%, var(--coral-600));
  border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 84px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .16; background: #fff;
}
.cta::before { width: 340px; height: 340px; top: -140px; right: -80px; }
.cta::after { width: 220px; height: 220px; bottom: -120px; left: -40px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 14px 0 16px; }
.cta p { color: rgba(255,255,255,.86); max-width: 54ch; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer ----------------------------------------------------- */
.footer { background: var(--navy-900); color: #aab6cf; padding: 84px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand img { height: 44px; margin-bottom: 18px; }
.footer p { font-size: .92rem; max-width: 34ch; }
.footer h5 { color: #fff; font-family: var(--font); font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: .92rem; transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 5px; }
.footer .contact-line { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; }
.footer .contact-line svg { width: 18px; height: 18px; color: var(--coral-400); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .3s; }
.footer-social a:hover { background: var(--coral-500); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7d8bab;
}
.footer-bottom a { color: #aab6cf; }

/* WhatsApp float -------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.6);opacity:0} }

/* Reveal animation ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Responsive ------------------------------------------------- */
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .topbar .tb-left span:not(.tb-phone) { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-hide { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column;
    background: var(--navy-900); padding: 24px; gap: 18px; box-shadow: var(--shadow-md);
  }
  .services-grid, .pkg-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: -1; }
  .searchbar .card { grid-template-columns: 1fr 1fr; }
  .cruise .cruise-empty { display: none; }
}
@media (max-width: 560px) {
  .services-grid, .pkg-grid, .stats-grid, .dest-grid, .dest-grid.six, .support-media { grid-template-columns: 1fr; }
  .searchbar .card { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .nav-cta .btn-hide { display: none; }
  .split-media .badge { left: 50%; transform: translateX(-50%); bottom: -30px; }
  .footer-top { grid-template-columns: 1fr; }
  .support-media img:nth-child(1) { margin-top: 0; }
  section { padding: 64px 0; }
}
