/* ============================================================
   SmartCamping — Site de divulgação
   Direção: humanizado, natureza, feito à mão — não "SaaS corporativo"
   Fontes: Poppins (display) · Inter (texto) — as mesmas do app
   Paleta: Areia quente · Musgo · Terracota · Lagoa (azul, discreto)
============================================================ */

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

:root {
  /* Marca — reequilibrada: areia e musgo lideram, lagoa vira coadjuvante */
  --sand:       #F7F1E4;
  --sand-deep:  #EEE3CD;
  --cream:      #FFFDF8;
  --bark:       #3A3226;
  --bark-soft:  #6B6252;

  --moss:       #3F5B33;
  --moss-dark:  #2B4023;
  --moss-light: #6B8F55;
  --moss-pale:  #E9EFE1;

  --terracota:    #C7581F;
  --terracota-dk: #A6470F;
  --terracota-pale: #FBE8DA;

  --lagoon:      #2A6B78;
  --lagoon-dark: #1C4A54;
  --lagoon-pale: #DEEEF0;

  --night:      #16261C;
  --night-2:    #1F3327;

  /* Texto sobre fundo claro */
  --t1: var(--bark);
  --t2: #5B5445;
  --t3: #8C8570;

  /* Texto sobre fundo escuro (seção noite / rodapé) */
  --i1: #F6F3EA;
  --i2: rgba(246, 243, 234, 0.76);
  --i3: rgba(246, 243, 234, 0.46);

  /* Superfícies */
  --bg:      var(--cream);
  --bg-alt:  var(--sand);
  --bd:      #E4DBC8;
  --bd-dark: rgba(246, 243, 234, 0.14);

  /* Fontes */
  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Forma — levemente assimétrica, "feito à mão" */
  --r-pill: 999px;
  --r-lg:   28px;
  --r-md:   18px;
  --r-sm:   10px;
  --r-organic: 30px 14px 30px 14px;

  --shadow-sm: 0 1px 2px rgba(58, 50, 38, .07), 0 6px 18px rgba(58, 50, 38, .06);
  --shadow-md: 0 14px 34px rgba(58, 50, 38, .12);
  --shadow-lg: 0 34px 76px rgba(22, 38, 28, .30);

  --t: .22s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--t2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--t1);
  line-height: 1.14;
  letter-spacing: -.01em;
  font-weight: 700;
}

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* Textura sutil de "papel" nas seções claras — pontinhos, tipo areia */
.section--textured {
  background-image: radial-gradient(rgba(58,50,38,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* ---------- Divisores orgânicos (colinas/ondas entre seções) ------------- */

.wave { position: relative; display: block; width: 100%; line-height: 0; }
.wave svg { width: 100%; height: 64px; display: block; }
.wave--sm svg { height: 40px; }

/* ---------- Blocos de seção ---------------------------------------------- */

.section { padding: 100px 0; position: relative; }
.section--sand { background: var(--bg-alt); }
.section--night {
  background: var(--night);
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(246,243,234,.55), transparent),
    radial-gradient(1.5px 1.5px at 22% 68%, rgba(246,243,234,.4), transparent),
    radial-gradient(1px 1px at 36% 12%, rgba(246,243,234,.5), transparent),
    radial-gradient(1.5px 1.5px at 52% 78%, rgba(246,243,234,.35), transparent),
    radial-gradient(1px 1px at 64% 30%, rgba(246,243,234,.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 58%, rgba(246,243,234,.4), transparent),
    radial-gradient(1px 1px at 88% 16%, rgba(246,243,234,.5), transparent),
    radial-gradient(1.5px 1.5px at 94% 84%, rgba(246,243,234,.35), transparent),
    radial-gradient(1px 1px at 14% 90%, rgba(246,243,234,.4), transparent),
    radial-gradient(1px 1px at 46% 46%, rgba(246,243,234,.3), transparent);
}
.section--night h2, .section--night h3 { color: var(--i1); }
.section--night p { color: var(--i2); }
.section--dusk {
  background: linear-gradient(160deg, var(--night-2) 0%, var(--terracota-dk) 130%);
}
.section--dusk h2, .section--dusk h3 { color: var(--i1); }
.section--dusk p { color: var(--i2); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 18px; }
.section-head p  { font-size: clamp(16px, 2vw, 19px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracota-dk); margin-bottom: 18px;
}
.eyebrow::before { content: '🌿'; font-size: 13px; }
.eyebrow--light { color: #FFB27D; }
.eyebrow--light::before { content: '✦'; }

mark {
  color: var(--terracota); background-color: transparent;
  font-style: normal; padding: 0 .05em;
  background-repeat: no-repeat;
  background-size: 100% .3em;
  background-position: 0 96%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2,12 C40,2 70,18 110,10 C150,2 180,18 220,10 C250,4 270,14 298,8' stroke='%23C7581F' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Botões -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600;
  padding: 14px 27px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px) rotate(-.3deg); }
.btn--primary { background: var(--terracota); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terracota-dk); }
.btn--moss { background: var(--moss); color: #fff; box-shadow: var(--shadow-sm); }
.btn--moss:hover { background: var(--moss-dark); }
.btn--ghost { border-color: rgba(246,243,234,.4); color: var(--i1); }
.btn--ghost:hover { background: rgba(246,243,234,.12); border-color: rgba(246,243,234,.6); }
.btn--outline { border-color: var(--moss); color: var(--moss); }
.btn--outline:hover { background: var(--moss); color: #fff; }
.btn--lg { padding: 17px 35px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Navegação ------------------------------------------------------
   Clara e quente, não a barra azul-marinho corporativa da v1.            */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t);
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(58,50,38,.10); border-bottom-color: var(--bd); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto; list-style: none;
}
.nav__links a {
  font-size: 15.5px; font-weight: 500; color: var(--t2);
  transition: color var(--t);
}
.nav__links a:hover { color: var(--moss-dark); }
.nav__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--bark); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero -----------------------------------------------------------
   Claro e quente: areia, manchas orgânicas, mockups "fotografados"        */

.hero {
  position: relative; overflow: hidden;
  background: var(--sand);
  padding: 76px 0 0;
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
  opacity: .55;
}
.hero__blob--1 { width: 480px; height: 480px; top: -180px; right: -140px; background: radial-gradient(circle at 40% 40%, var(--moss-pale), transparent 72%); }
.hero__blob--2 { width: 360px; height: 360px; bottom: -140px; left: -120px; background: radial-gradient(circle at 60% 40%, var(--terracota-pale), transparent 70%); }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; opacity: .5; pointer-events: none; }
.hero__ridge svg { width: 100%; height: 100%; display: block; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
  padding-bottom: 112px;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 45px);
  color: var(--t1); margin-bottom: 22px;
}
.hero__sub {
  font-size: clamp(17px, 2.1vw, 20px); color: var(--t2);
  max-width: 540px; margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--t2);
}
.trust-item::before { content: '🍃'; font-size: 13px; }

/* Composição de dispositivos — como fotos presas num mural, não hardware de vitrine */

.devices { position: relative; padding: 20px 30px 40px; }
.devices__desktop {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream);
  transform: rotate(-2deg);
}
.devices__phone {
  position: absolute; right: -4px; bottom: 4px; width: 34%;
  border-radius: 24px; padding: 8px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
}
.devices__phone img { border-radius: 17px; }
.devices__pin {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--terracota); box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* ---------- Cartões -------------------------------------------------------- */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--cream); border: 1px solid var(--bd);
  border-radius: var(--r-lg); padding: 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-md); border-color: #DCCFB0; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15.5px; }

.card__icon {
  width: 52px; height: 52px; border-radius: 50% 50% 50% 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--lagoon-pale); color: var(--lagoon-dark);
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--terra { background: var(--terracota-pale); color: var(--terracota-dk); }
.card__icon--moss  { background: var(--moss-pale); color: var(--moss-dark); }
.card__icon--sun   { background: #FBF0D6; color: #93650F; }

/* Cartão narrativo (antes/depois) */
.story {
  background: var(--cream); border: 1px solid var(--bd);
  border-radius: var(--r-lg); padding: 34px;
}
.story--before { border-left: 5px solid #C9A98A; }
.story--after  { border-left: 5px solid var(--moss); }
.story h3 { font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.story ul { list-style: none; display: grid; gap: 13px; }
.story li { font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.story li span:first-child { flex: none; font-size: 16px; line-height: 1.5; }

/* Cartão de recurso compacto */
.feature {
  background: var(--cream); border: 1px solid var(--bd);
  border-radius: var(--r-md); padding: 24px;
  transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p  { font-size: 14.5px; line-height: 1.6; }
.feature__tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--moss-dark); margin-bottom: 12px;
}

/* ---------- Como funciona (jornada do dia) -------------------------------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step {
  background: rgba(246,243,234,.06); border: 1px solid var(--bd-dark);
  border-radius: var(--r-md); padding: 26px 22px;
}
.step__n {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--terracota); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 16px;
}
.step__time { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FFB27D; margin-bottom: 6px; display: block; }
.step h3 { font-size: 17px; margin-bottom: 8px; color: var(--i1); }
.step p  { font-size: 14.5px; color: var(--i2); line-height: 1.6; }

/* ---------- Blocos de produto (imagem + texto) ---------------------------- */

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 100px; }
.showcase--flip .showcase__media { order: 2; }
.showcase h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.showcase p  { font-size: 17px; margin-bottom: 22px; }
.showcase__media {
  border-radius: var(--r-md); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
}
.showcase--flip .showcase__media { transform: rotate(1.2deg); }
.list { list-style: none; display: grid; gap: 12px; }
.list li { display: flex; gap: 11px; font-size: 15.5px; align-items: flex-start; }
.list li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: var(--moss-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B4023' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.note { font-size: 13px; color: var(--t3); margin-top: 14px; }

/* ---------- Telas do hóspede (celulares) ----------------------------------- */

.phones {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 960px; margin-inline: auto;
}
.phone { text-align: center; }
.phone:nth-child(2) .phone__frame { transform: rotate(-2deg); }
.phone:nth-child(1) .phone__frame { transform: rotate(2deg); }
.phone:nth-child(3) .phone__frame { transform: rotate(-1.5deg); }
.phone__frame {
  border-radius: 30px; padding: 9px; background: var(--cream);
  box-shadow: var(--shadow-md); margin-bottom: 20px;
  border: 1px solid var(--bd);
}
.phone__frame img { border-radius: 22px; }
.phone h3 { font-size: 17px; margin-bottom: 6px; }
.phone p  { font-size: 14.5px; }

/* ---------- WhatsApp (seção de entardecer) ---------------------------------- */

.chat { display: grid; gap: 14px; max-width: 480px; }
.bubble {
  background: #E7FFDB; color: #10331C;
  border-radius: 18px 18px 18px 6px;
  padding: 15px 18px; font-size: 15px; line-height: 1.55;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.bubble strong { display: block; margin-bottom: 3px; }
.bubble time {
  display: block; margin-top: 6px;
  font-size: 11.5px; color: #4C7A5A; text-align: right;
}


/* ---------- FAQ -------------------------------------------------------------- */

.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--cream); border: 1px solid var(--bd); border-radius: var(--r-md);
  padding: 4px 24px;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--t1);
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B4023' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { padding: 0 0 22px; font-size: 15.5px; }

/* ---------- CTA final ---------------------------------------------------------- */

.cta-band {
  background: var(--sand);
  text-align: center; padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 18px; }
.cta-band p  { font-size: 19px; color: var(--t2); max-width: 620px; margin: 0 auto 34px; }

/* ---------- Rodapé -------------------------------------------------------------- */

.footer { background: var(--moss-dark); padding: 64px 0 34px; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--bd-dark);
}
.footer img { height: 32px; width: auto; margin-bottom: 18px; }
.footer p { font-size: 14.5px; color: var(--i2); max-width: 330px; }
.footer h4 {
  font-family: var(--f-body); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--i3); margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { font-size: 15px; color: var(--i2); transition: color var(--t); }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; font-size: 13.5px; color: var(--i3);
}

/* ---------- Página de conteúdo (política de privacidade) ------------------- */

.doc { max-width: 800px; margin: 0 auto; padding: 72px 0 96px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 12px; }
.doc > p.doc__meta { color: var(--t3); font-size: 14.5px; margin-bottom: 44px; }
.doc h2 {
  font-size: 22px; margin: 44px 0 14px;
  padding-top: 26px; border-top: 1px solid var(--bd);
}
.doc h3 { font-size: 17.5px; margin: 26px 0 10px; }
.doc p, .doc li { font-size: 16px; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.doc a { color: var(--lagoon-dark); text-decoration: underline; }
.doc table {
  width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 15px;
}
.doc th, .doc td {
  text-align: left; padding: 11px 14px; border: 1px solid var(--bd); vertical-align: top;
}
.doc th { background: var(--bg-alt); font-weight: 600; color: var(--t1); }
.table-wrap { overflow-x: auto; }

/* ---------- Responsivo ----------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps   { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .devices { max-width: 620px; margin-inline: auto; }
  .showcase { gap: 40px; }
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps   { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase--flip .showcase__media { order: 0; }
  .showcase + .showcase { margin-top: 68px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; inset: 84px 0 auto; flex-direction: column;
    align-items: stretch; gap: 0; margin: 0; padding: 10px 20px 24px;
    background: var(--cream); border-bottom: 1px solid var(--bd);
    box-shadow: 0 20px 40px rgba(58,50,38,.14);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links li { border-top: 1px solid var(--bd); }
  .nav__links li:first-child { border-top: 0; }
  .nav__links a { display: block; padding: 15px 4px; font-size: 16px; }
  .nav__links .btn { margin-top: 16px; width: 100%; }

  .hero { padding: 52px 0 0; }
  .hero__trust { gap: 8px 18px; }
  .devices__phone { width: 38%; right: 6px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps  { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; max-width: 340px; gap: 44px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .devices__desktop, .showcase__media, .devices__phone { transform: none !important; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .card, .story { padding: 24px 22px; }
  .devices { padding: 14px 8px 30px; }
  .devices__phone { position: static; width: 62%; margin: -16px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
