/* ============================================
   JK INSTRUTOR DE PESCA — style.css
   Paleta extraída do logo
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500&display=swap');

/* === TOKENS === */
:root {
  --marinho:     #1B2F6E;
  --marinho-med: #2A4494;
  --azul-claro:  #D6E4F0;
  --azul-onda:   #4A6FA5;
  --areia:       #F2EDE4;
  --branco:      #FAFAF8;
  --texto:       #1A1A2E;
  --texto-leve:  #4A5568;

  --fonte-titulo: 'Fraunces', Georgia, serif;
  --fonte-corpo:  'Inter', system-ui, sans-serif;

  --max:   1080px;
  --gap:   2rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texto);
  background: var(--branco);
}

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

/* === UTILITÁRIOS === */
.container {
  width: 90%;
  max-width: var(--max);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primario {
  background: var(--marinho);
  color: var(--branco);
}
.btn-secundario {
  background: transparent;
  color: var(--marinho);
  border: 1.5px solid var(--marinho);
}

/* === NAVEGAÇÃO === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  border-bottom: 1px solid var(--azul-claro);
  padding: 0.9rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--fonte-titulo);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--marinho);
  line-height: 1.2;
}
.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--texto-leve);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.ativo { color: var(--marinho); font-weight: 500; }

.nav-links .btn { margin-left: 0.5rem; }
.nav-links .btn-primario,
.nav-links .btn-primario:hover,
.nav-links .btn-primario.ativo { color: var(--branco); }

/* Menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--marinho);
  transition: all 0.2s;
}

/* === ONDA DECORATIVA SVG === */
.onda-topo {
  display: block;
  width: 100%;
  margin-bottom: -1px;
}
.onda-base {
  display: block;
  width: 100%;
  margin-top: -1px;
}

/* === HERO === */
.hero {
  background: var(--marinho);
  color: var(--branco);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

/* Ondas animadas de fundo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 18px,
    rgba(214, 228, 240, 0.06) 18px,
    rgba(214, 228, 240, 0.06) 20px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-texto h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--branco);
}

.hero-texto h1 em {
  font-style: italic;
  color: var(--azul-claro);
}

.hero-texto p {
  font-size: 1.05rem;
  color: rgba(250,250,248,0.8);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btns .btn {
  background: var(--azul-claro);
  color: var(--marinho);
  border: 1.5px solid var(--marinho);
  width: 230px;
  text-align: center;
}

.hero-img {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--marinho-med);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(214,228,240,0.5);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  height: 100%;
}

.placeholder-img svg { opacity: 0.4; }

/* === SEÇÃO GENÉRICA === */
section {
  padding: 4.5rem 0;
}

.secao-titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--marinho);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.secao-subtitulo {
  color: var(--texto-leve);
  font-size: 1rem;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

/* === DESTAQUES (home) === */
.destaques {
  background: var(--azul-claro);
}

.destaques-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.destaques-grid.duas-colunas {
  grid-template-columns: repeat(2, 1fr);
}

.destaque-item {
  background: var(--branco);
  padding: 1.75rem;
  border-left: 3px solid var(--marinho);
}

.destaque-item .icone {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.destaque-item h3 {
  font-family: var(--fonte-titulo);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--marinho);
  margin-bottom: 0.4rem;
}

.destaque-item p {
  font-size: 0.9rem;
  color: var(--texto-leve);
  line-height: 1.6;
}

/* === SOBRE (resumo na home) === */
.sobre-resumo {
  background: var(--branco);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-foto {
  aspect-ratio: 3/4;
  background: var(--azul-claro);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-texto blockquote {
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--marinho);
  border-left: 3px solid var(--azul-onda);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}

/* === CTA AGENDAMENTO === */
.cta-agendar {
  background: var(--marinho);
  color: var(--branco);
  text-align: center;
  padding: 4rem 0;
}

.cta-agendar .secao-titulo { color: var(--azul-claro); }
.cta-agendar p {
  color: rgba(250,250,248,0.8);
  margin-bottom: 2rem;
  max-width: 48ch;
  margin-inline: auto;
}

/* === PREÇOS === */
.precos-intro {
  background: var(--areia);
  padding: 2rem;
  border-left: 3px solid var(--marinho);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--texto-leve);
}

.precos-intro strong { color: var(--marinho); }

.precos-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--azul-claro);
  background: transparent;
  color: var(--texto-leve);
  cursor: pointer;
  font-family: var(--fonte-corpo);
  font-size: 0.9rem;
  border-radius: 2px;
  transition: all 0.15s;
}

.tab-btn.ativo, .tab-btn:hover {
  background: var(--marinho);
  color: var(--branco);
  border-color: var(--marinho);
}

.tab-conteudo { display: none; }
.tab-conteudo.ativo { display: block; }

.tabela-precos {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tabela-precos th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--marinho);
  color: var(--branco);
  font-weight: 500;
  font-family: var(--fonte-corpo);
}

.tabela-precos td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--azul-claro);
  color: var(--texto);
}

.tabela-precos tr:last-child td { border-bottom: none; }
.tabela-precos tr:nth-child(even) td { background: var(--areia); }

.preco-total {
  font-weight: 500;
  color: var(--marinho);
}

.nota-deslocamento {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--texto-leve);
}

/* === FAQ === */
.faq-lista { list-style: none; }

.faq-item {
  border-bottom: 1px solid var(--azul-claro);
}

.faq-pergunta {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--fonte-titulo);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--marinho);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-pergunta::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--azul-onda);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.aberto .faq-pergunta::after {
  transform: rotate(45deg);
}

.faq-resposta {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--texto-leve);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 64ch;
}

.faq-item.aberto .faq-resposta { display: block; }

/* === DEPOIMENTOS === */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.depoimento {
  background: var(--azul-claro);
  padding: 1.75rem;
  border-radius: 2px;
  position: relative;
}

.depoimento-topo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.depoimento-foto {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.depoimento p {
  font-size: 0.95rem;
  color: var(--texto);
  line-height: 1.7;
}

.depoimento-autor {
  font-weight: 500;
  color: var(--marinho);
  font-size: 0.9rem;
}

.depoimento-data {
  font-size: 0.8rem;
  color: var(--texto-leve);
}

.depoimento-tipo {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--azul-onda);
  font-weight: 500;
}

/* === AGENDAMENTO === */
.agendar-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.cal-embed {
  background: var(--azul-claro);
  border-radius: 2px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-leve);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

/* === FOOTER === */
footer {
  background: var(--marinho);
  color: rgba(250,250,248,0.7);
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
}

.footer-logo img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(250,250,248,0.7);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--branco); }

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(250,250,248,0.7);
}
.footer-info a { color: rgba(250,250,248,0.7); display: flex; transition: color 0.15s; }
.footer-info a:hover { color: var(--branco); }

/* === PÁGINA INTERNA — cabeçalho === */
.pagina-header {
  background: var(--marinho);
  color: var(--branco);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.pagina-header h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--azul-claro);
  margin-bottom: 0.4rem;
}

.pagina-header p {
  color: rgba(250,250,248,0.75);
  max-width: 52ch;
}

/* === REDES SOCIAIS FLUTUANTES === */
.social-flutuante {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.whatsapp-linha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.instagram-botao {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.instagram-botao:hover { transform: scale(1.08); }
.instagram-botao svg { fill: var(--branco); }

.whatsapp-balao {
  background: var(--branco);
  color: var(--texto);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.whatsapp-botao {
  width: 44px;
  height: 44px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.whatsapp-botao:hover { transform: scale(1.08); }
.whatsapp-botao svg { fill: var(--branco); }

/* === GALERIA / LIGHTBOX === */
.galeria-foto {
  cursor: pointer;
  transition: opacity 0.15s;
}
.galeria-foto:hover { opacity: 0.85; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,47,110,0.92);
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}
.lightbox.aberto { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox p {
  color: var(--branco);
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
}
.lightbox-fechar {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .hero-inner,
  .sobre-inner,
  .agendar-intro {
    grid-template-columns: 1fr;
  }

  .hero-img { order: -1; aspect-ratio: 16/9; }

  .destaques-grid {
    grid-template-columns: 1fr;
  }

  .destaques-grid.duas-colunas {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    padding: 1.5rem;
    border-bottom: 1px solid var(--azul-claro);
    gap: 1rem;
  }

  .nav-links.aberto { display: flex; }
  .nav-toggle { display: flex; }

  nav { position: relative; }
}

@media (max-width: 480px) {
  .whatsapp-balao { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
