/* =========================================================================
   TrivialTur — Folha de estilo única
   Paleta extraída da logo · HTML estático · sem dependências (exceto fontes)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --red:        #C0303C;
  --red-dark:   #9E2530;
  --red-soft:   #F6E2E3;
  --teal:       #5BA8B4;
  --teal-dark:  #3E8794;
  --teal-soft:  #E1F0F2;
  --amber:      #E4B43C;
  --amber-soft: #FBF1D6;

  /* Neutros */
  --ink:        #1F2328;
  --ink-soft:   #4A5159;
  --muted:      #767E87;
  --line:       #E8E3DB;
  --cream:      #FAF7F2;
  --cream-2:    #F1EBE1;
  --white:      #FFFFFF;

  /* Tipografia */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida */
  --h1: clamp(2.4rem, 5.2vw, 4rem);
  --h2: clamp(1.9rem, 3.6vw, 2.9rem);
  --h3: clamp(1.25rem, 2vw, 1.55rem);
  --lead: clamp(1.05rem, 1.5vw, 1.2rem);

  /* Espaço e forma */
  --maxw: 1180px;
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Sombra */
  --shadow-sm: 0 2px 10px rgba(31,35,40,.06);
  --shadow:    0 14px 40px -12px rgba(31,35,40,.18);
  --shadow-lg: 0 30px 70px -25px rgba(31,35,40,.35);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
a, button, .btn, .wa-card, .nav-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
p { text-wrap: pretty; }

/* Skip link (acessibilidade — pula direto para o conteúdo) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--red); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
main:focus { outline: none; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
p { color: var(--ink-soft); }
.lead { font-size: var(--lead); color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #EBE7E0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #C3BEB6; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.eyebrow--teal { color: var(--teal-dark); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem,4vw,3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border: 2px solid var(--bg);
  border-radius: 100px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  box-shadow: 0 8px 20px -10px rgba(192,48,60,.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(192,48,60,.7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn--wa { --bg: #1FAE54; border-color: #1FAE54; box-shadow: 0 8px 20px -10px rgba(31,174,84,.8); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn svg { width: 19px; height: 19px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); position: relative; padding-block: .4rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); border-radius: 2px;
}
.nav-links .btn--wa { display: none; } /* só no menu mobile; no desktop usa o do .nav-cta */
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; margin-inline: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.4rem;
    transform: translateY(-130%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow:auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav .nav-cta .btn { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 1rem; width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center, rgba(91,168,180,.18), transparent 65%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3rem,7vw,5.5rem); }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .mark { color: var(--red); }
.hero .lead { max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; bottom: 1.4rem; left: -1.2rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem; max-width: 260px;
}
.hero-badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); flex: none; }
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge strong { display:block; font-family: var(--serif); font-size: 1.05rem; }
.hero-badge small { color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .hero-badge { left: auto; right: 1rem; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .65rem; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--teal-dark); flex: none; }

/* ---------- Grades ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.1rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .98rem; }
.card.t-teal .ico { background: var(--teal-soft); color: var(--teal-dark); }
.card.t-amber .ico { background: var(--amber-soft); color: #B8860B; }

/* Feature split (texto + imagem alternados) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
/* Lista com marcadores de check — usada em vários blocos (split, cards de evento, seção escura) */
.checks { margin-top: 1.3rem; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.checks svg { width: 22px; height: 22px; color: var(--teal-dark); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: -1; } }

/* Caminhos (lazer x corporativo) */
.path { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(31,35,40,.05) 30%, rgba(31,35,40,.85)); }
.path-body { position: relative; z-index: 1; padding: 1.8rem; }
.path-body h3 { color: #fff; font-size: 1.5rem; }
.path-body p { color: rgba(255,255,255,.86); margin: .5rem 0 1.1rem; }
.path-link { display:inline-flex; align-items:center; gap:.5rem; font-weight:600; color:#fff; border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: gap .2s, border-color .2s; }
.path-link:hover { gap:.85rem; border-color:#fff; }

/* Métricas */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem,5vw,3rem); color: var(--amber); line-height: 1; }
.section--ink .stat .num { color: var(--amber); }
.stat .lbl { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.section--ink .stat .lbl { color: #B7B2AA; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2,1fr); gap: 1.8rem 1rem; } }

/* Passos */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.steps.cols { grid-template-columns: repeat(4,1fr); }
@media (max-width:980px){ .steps.cols{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){ .steps.cols{ grid-template-columns: 1fr;} }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:1.6rem; position:relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 1.05rem; font-weight:600; color:#fff;
  width: 38px; height: 38px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; }

/* Depoimentos */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height:100%; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: .8rem; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote .who { display:flex; align-items:center; gap:.8rem; margin-top: 1.2rem; }
.quote .avatar { width:44px; height:44px; border-radius:50%; background: var(--cream-2); display:grid; place-items:center; font-weight:700; color: var(--red); font-family: var(--serif); }
.quote .who strong { display:block; font-size:.95rem; }
.quote .who small { color: var(--muted); }

/* Eventos / cases */
.event-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.event-card .ec-top { background: var(--ink); color:#fff; padding: 1.3rem 1.5rem; }
.event-card .ec-top .tag { display:inline-block; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color: var(--amber); margin-bottom:.5rem; }
.event-card .ec-top h3 { color:#fff; font-size:1.15rem; }
.event-card .ec-body { padding: 1.4rem 1.5rem; display:grid; gap:.7rem; }
.event-meta { display:flex; gap:.6rem; align-items:flex-start; color: var(--ink-soft); font-size:.95rem; }
.event-meta svg { width:18px; height:18px; color: var(--teal-dark); flex:none; margin-top:3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow:hidden; color:#fff; text-align:center; padding: clamp(2.5rem,6vw,4.5rem) var(--gutter); }
.cta-band::before { content:""; position:absolute; inset:0; background: linear-gradient(135deg, var(--red), #8E2230 70%); z-index:0; }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; max-width: 22ch; margin-inline:auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 1rem auto 1.8rem; }
.cta-actions { display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; }

/* ---------- Contato ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); }
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } }
.wa-card { display:flex; align-items:center; justify-content:space-between; gap:1rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.wa-card:hover { border-color: #1FAE54; transform: translateY(-2px); }
.wa-card .wa-ico { width:46px; height:46px; border-radius:12px; background:#E7F7EE; color:#1FAE54; display:grid; place-items:center; flex:none; }
.wa-card .wa-ico svg { width:26px; height:26px; }
.wa-card .num { font-family: var(--serif); font-size:1.15rem; color: var(--ink); }
.wa-card small { color: var(--muted); }
.info-block { margin-bottom: 1.6rem; }
.info-block h3 { font-size: 1.1rem; margin-bottom:.3rem; }
.info-block p, .info-block a { color: var(--ink-soft); }
.info-block a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color:#C6C1B9; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap:2rem 1.5rem; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; width: auto; background:#fff; padding:.5rem .7rem; border-radius:12px; }
.footer-brand p { margin-top: 1rem; font-size:.92rem; color:#9C968E; max-width: 30ch; }
.footer-col h4 { color:#fff; font-family: var(--sans); font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col ul { display:grid; gap:.6rem; }
.footer-col a { color:#C6C1B9; font-size:.95rem; transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-col p { font-size:.92rem; color:#9C968E; }
.socials { display:flex; gap:.6rem; margin-top:1rem; }
.socials a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width:20px; height:20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content:space-between; font-size:.85rem; color:#8A857D; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background:#1FAE54; color:#fff;
  display:grid; place-items:center; box-shadow: 0 12px 28px -8px rgba(31,174,84,.8);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (interno) ---------- */
.page-hero { background: var(--ink); color:#fff; padding-block: clamp(3rem,7vw,5rem); position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; top:-30%; right:-5%; width:40vw; height:40vw; max-width:480px; max-height:480px; background: radial-gradient(circle, rgba(91,168,180,.25), transparent 70%); }
.page-hero .container { position:relative; z-index:1; max-width: 760px; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 { color:#fff; }
.page-hero p { color:#C9C4BC; margin-top:1rem; font-size: var(--lead); }
.breadcrumb { font-size:.85rem; color:#928D85; margin-bottom:1rem; }
.breadcrumb a:hover { color:#fff; }

/* ---------- Utilidades ---------- */
.text-center { text-align:center; }
.mt-2 { margin-top: 1.4rem; }
.divider { height:1px; background: var(--line); border:0; margin-block: var(--section-y) 0; }

/* ---------- Reveal (scroll) ----------
   Só esconde quando o JS está ativo (.js no <html>). Sem JS, o conteúdo
   aparece normalmente — protege SEO e usuários com JS desativado. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior: auto; }
}
