/* =========================================================
   Miraflores Turismo — Landing Page
   Paleta:
     Azul marinho  #0b2c52   Azul claro  #1f7fc4
     Turquesa      #1fa3c4   Areia       #f3ede2
     WhatsApp      #25d366   Instagram   gradiente laranja→rosa→roxo
   ========================================================= */

:root {
  --navy: #0b2c52;
  --navy-2: #0e3a6b;
  --blue: #1f7fc4;
  --turq: #1fa3c4;
  --wpp: #25d366;
  --wpp-dark: #1aa851;
  --ig: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af);
  --sand: #f6f1e8;
  --txt: #1d2b3a;
  --muted: #6b7a8c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 44, 82, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--txt);
  background: #fff;
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Imagens (trocar pelos arquivos reais em /img) ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: transparent; /* oculta o rótulo "FOTO:" agora que há imagem */
  background-color: #cfe6f2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph--lagoa  { background-image: url("img/circuito-andorinhas.jpg"); }
.ph--trilha { background-image: url("img/circuito-betania.jpg"); }
.ph--dunas  { background-image: url("img/circuito-ponta-verde.jpg"); }
.ph--praia  { background-image: url("img/circuito-america.jpg"); }
.ph--quad   { background-image: url("img/quadriciclo.jpg"); }
.ph--g1 { background-image: url("img/g1.jpg"); }
.ph--g2 { background-image: url("img/g2.jpg"); }
.ph--g3 { background-image: url("img/g3.jpg"); }
.ph--g4 { background-image: url("img/g4.jpg"); }
.ph--g5 { background-image: url("img/g5.jpg"); }

/* ============================ BOTÕES ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--whatsapp { background: var(--wpp); color: #fff; }
.btn--instagram { background: var(--ig); color: #fff; }

.btn--saiba {
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  padding: 9px 18px;
  margin-top: 14px;
}
.btn--outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid #d4dce6;
  font-weight: 700;
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* CTA grandes (com duas linhas de texto) */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.cta strong { font-size: 1rem; letter-spacing: .3px; }
.cta small { font-weight: 500; font-size: .78rem; opacity: .9; }
.cta--whatsapp { background: var(--wpp); }
.cta--instagram { background: var(--ig); }
.cta--solo { display: inline-flex; }

/* Ícones simples */
.ico-wpp, .ico-insta {
  display: inline-block;
  width: 22px; height: 22px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ico-wpp {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 0 0-8.6 15l-1.4 5 5.1-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-1-.3-1.6-.6-2.9-1.2-4.7-4.1-4.9-4.3-.1-.2-1.1-1.5-1.1-2.8 0-1.3.7-2 .9-2.2.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.4 0 .5l-.4.6c-.1.2-.3.3-.1.6.1.3.6 1 1.3 1.6.9.8 1.6 1 1.9 1.2.2.1.4.1.5-.1l.6-.7c.2-.2.3-.2.6-.1l1.8.9c.3.1.4.2.5.3 0 .1 0 .6-.2 1.1Z'/></svg>");
}
.ico-wpp--sm { width: 16px; height: 16px; }
.ico-insta {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='1.2' fill='white' stroke='none'/></svg>");
}

/* ============================ HEADER ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(11, 44, 82, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__icon { display: inline-flex; }
.logo__text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.logo__text strong { font-size: 1.25rem; letter-spacing: .3px; font-weight: 700; }
.logo__text small { font-size: .68rem; letter-spacing: 2px; color: var(--blue); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--navy);
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: .25s;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 620px;
  /* Foto real em img/hero.jpg + degradê para legibilidade do texto */
  background:
    linear-gradient(180deg, rgba(8,40,75,.10) 0%, rgba(8,40,75,0) 35%, rgba(8,40,75,.55) 100%),
    url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
/* Elementos decorativos da versão ilustrada (ocultos com a foto real) */
.hero__truck { display: none; }
.hero__content { position: relative; z-index: 2; padding-bottom: 56px; width: 100%; }
.hero__buttons { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__features {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.hero__features .feat-ico { font-size: 1.5rem; }
.hero__features div { display: flex; flex-direction: column; line-height: 1.15; font-size: .82rem; font-weight: 600; letter-spacing: .2px; }

/* ============================ TRUST ============================ */
.trust {
  position: relative;
  margin-top: -40px;
  z-index: 5;
}
.trust__inner {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 26px 30px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 18px;
}
.trust__item:not(:last-child) { border-right: 1px solid #e7edf3; }
.trust__ico { font-size: 1.6rem; color: var(--navy); }
.trust__item strong { display: block; color: var(--navy); font-size: .92rem; font-weight: 700; letter-spacing: .2px; }
.trust__item span { color: var(--muted); font-size: .8rem; }

/* ============================ SEÇÕES ============================ */
.section-title {
  text-align: center;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .2px;
  margin: 56px 0 34px;
}

/* Quem Somos */
.sobre {
  border-top: 1px solid #e7edf3;
  padding: 34px 0 48px;
}
.sobre__inner { max-width: 620px; text-align: center; }
.sobre__title {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sobre__inner p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.sobre__inner strong { color: var(--navy); }

/* O que fazer */
.fazer__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.fazer__item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 24px;
}
.fazer__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fazer__num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.fazer__body h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.fazer__body p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.fazer__fonte {
  margin-top: 10px;
  font-size: .8rem;
  font-style: italic;
  color: #98a6b5;
}

/* Passeios */
.passeios { padding-bottom: 10px; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(11,44,82,.18); }
.card__img { height: 150px; }
.card__body { padding: 18px 18px 22px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; letter-spacing: .2px; margin-bottom: 12px; }
.card__meta { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--blue); font-size: .82rem; font-weight: 600; }
.card__desc { color: var(--muted); font-size: .84rem; margin-top: 12px; flex: 1; }
.card .btn--saiba { align-self: center; }

.passeios__more { text-align: center; margin: 30px 0 10px; }

/* ============================ QUADRICICLO ============================ */
.quad { padding: 50px 0; }
.quad__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quad__text { padding: 40px 42px; color: #fff; }
.quad__kicker { letter-spacing: 2px; font-size: .85rem; opacity: .85; }
.quad__title {
  font-size: 3rem;
  line-height: 1;
  color: #3bb6e6;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.quad__lead { font-weight: 600; margin-bottom: 18px; }
.quad__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.quad__list li { position: relative; padding-left: 30px; font-size: .9rem; }
.quad__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
}
.quad__info { display: flex; gap: 40px; margin-bottom: 24px; }
.quad__info > div { display: flex; align-items: center; gap: 10px; }
.quad__info span { font-size: 1.4rem; }
.quad__info strong { display: block; font-size: .82rem; letter-spacing: .3px; }
.quad__info small { font-size: .82rem; opacity: .85; }
.quad__img { min-height: 360px; }

/* ============================ GALERIA ============================ */
.galeria { padding-bottom: 30px; }
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.galeria__grid .ph {
  height: 150px;
  border-radius: 10px;
}

/* ============================ DEPOIMENTOS ============================ */
.depo { margin-top: 48px; padding: 10px 0 50px; background: var(--sand); }
.depo .section-title { margin-bottom: 8px; }
.depo__sub {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 36px;
}
.depo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.depo__card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.depo__card::before {
  content: "\201C"; /* aspas decorativas */
  position: absolute;
  top: 6px; right: 22px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(31, 127, 196, .14);
  font-family: Georgia, "Times New Roman", serif;
}
.depo__stars { color: #f7a823; letter-spacing: 2px; margin-bottom: 12px; }
.depo__text {
  color: #3a4856;
  font-size: .92rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.depo__person { display: flex; align-items: center; gap: 12px; }
.depo__avatar {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, #1f7fc4), var(--c2, #1fa3c4));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.depo__person strong { display: block; color: var(--navy); font-size: .95rem; }
.depo__person small { color: var(--muted); font-size: .8rem; }

/* ============================ FAIXA CTA ============================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 40px 0;
  margin-top: 30px;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band__text h3 { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: .2px; line-height: 1.15; }
.cta-band__text p { color: #cdd9e6; font-size: .92rem; margin-top: 8px; max-width: 340px; }
.cta-band__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================ RODAPÉ ============================ */
.footer { background: var(--navy); color: #cdd9e6; padding-top: 46px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand p { font-size: .85rem; line-height: 1.6; }
.footer__col h4 { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .3px; margin-bottom: 16px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer__contact a:hover { color: #fff; }
.footer__links { display: flex; gap: 40px; }
.footer__links li { margin-bottom: 10px; font-size: .88rem; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer__bottom p { font-size: .78rem; text-align: center; color: #8ba0b6; }

/* ============================ BOTÃO FLUTUANTE ============================ */
.float-wpp {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wpp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .5);
  z-index: 90;
  animation: pulse 2.2s infinite;
}
.float-wpp .ico-wpp { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================ REVEAL (scroll) ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ RESPONSIVO ============================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .galeria__grid { grid-template-columns: repeat(3, 1fr); }
  .depo__grid { grid-template-columns: repeat(2, 1fr); }
  .quad__panel { grid-template-columns: 1fr; }
  .quad__img { min-height: 240px; order: -1; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item:not(:last-child) { border-right: none; border-bottom: 1px solid #e7edf3; padding-bottom: 14px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }

  .header.open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    padding: 18px 24px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(11,44,82,.14);
  }
  .header.open .header__cta {
    display: flex;
    position: absolute;
    top: 220px; left: 0; right: 0;
    background: #fff;
    padding: 0 24px 20px;
    flex-direction: column;
  }

  .hero { min-height: 540px; }
  .hero__buttons { flex-direction: column; }
  .cta { width: 100%; }
  .hero__features { gap: 22px; justify-content: space-between; }

  .section-title { font-size: 1.4rem; }
  .sobre__inner p { font-size: .92rem; }
  .fazer__list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); }
  .depo__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .quad__title { font-size: 2.3rem; }
  .quad__text { padding: 28px 24px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
