/* ==========================================================
   VARIÁVEIS E RESET
   ========================================================== */
:root {
  --creme: #F7F4EE;
  --areia: #EBE5D9;
  --marrom: #7E4F3C;
  --marrom-escuro: #5C3727;
  --verde-sage: #3F962E;
  --branco: #FFFFFF;
  --texto: #2A2A28;
  --texto-suave: #595953;
  --bege-claro: #F0E6D8;

  --font-titulo: 'Cormorant Garamond', serif;
  --font-texto: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texto);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ==========================================================
   UTILITÁRIOS
   ========================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(60px, 10vw, 100px) 0; }
.bg-areia { background: var(--areia); }
.text-center { text-align: center; }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--marrom);
  font-weight: 500;
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-titulo);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--texto);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.text-highlight { color: var(--marrom); font-style: italic; }

/* ==========================================================
   BOTÕES
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 50px;
  font-family: var(--font-texto);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary { background: var(--marrom); color: #fff; border: 1px solid var(--marrom); }
.btn--primary:hover { background: var(--marrom-escuro); }

.btn--outline { background: transparent; color: var(--texto); border: 1px solid #CCC; }
.btn--outline:hover { background: #fff; border-color: var(--marrom); }

.btn--white { background: #fff; color: var(--marrom); border: 1px solid #fff; }
.btn--white:hover { background: var(--bege-claro); }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  padding: 16px 0;
  background: var(--creme);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--marrom); 
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .logo__text { font-size: 1rem; }
  .logo__img { height: 40px; }
}

.btn--header { 
  background: var(--marrom); 
  color: #fff; 
  padding: 10px 24px; 
  font-size: 0.85rem; 
}
.btn--header:hover { background: var(--marrom-escuro); }

/* ==========================================================
   HERO (COM SLIDER)
   ========================================================== */
.hero {
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(40px, 8vw, 80px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bege-claro);
  color: var(--marrom);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-titulo);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--texto);
  margin-bottom: 24px;
}

.hero__text { font-size: 1.05rem; color: var(--texto-suave); margin-bottom: 32px; max-width: 600px; }

.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.hero__image { 
  border-radius: 32px; 
  overflow: hidden; 
  aspect-ratio: 4/3; 
  position: relative;
}

.hero__slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero__slider::-webkit-scrollbar { display: none; }

.hero__img-wrap {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
}

.hero__img-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

/* ==========================================================
   GRIDS E CARDS GERAIS
   ========================================================== */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card-info {
  background: #fff; border-radius: 24px; padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.03);
}

.card-info__icon {
  width: 48px; height: 48px; background: var(--bege-claro); color: var(--marrom);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-info__icon svg { width: 24px; height: 24px; }

.card-info h3 { font-family: var(--font-titulo); font-size: 1.6rem; font-weight: 500; margin-bottom: 12px; }
.card-info p { color: var(--texto-suave); font-size: 0.95rem; }

.card-depoimento {
  background: #fff; border-radius: 24px; padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03); text-align: left;
}

.card-depoimento p {
  font-family: var(--font-titulo); font-size: 1.3rem; font-style: italic;
  line-height: 1.4; color: var(--texto); margin-bottom: 20px;
}

.card-depoimento strong { font-family: var(--font-texto); font-size: 0.9rem; font-weight: 500; color: var(--texto); }

/* ==========================================================
   MODALIDADES (Cards lado a lado no desktop)
   ========================================================== */

/* Força 2 colunas no desktop */
@media (min-width: 768px) {
  .modalidades-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
  }
  .modalidades-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.card-modalidade {
  background: #fff; 
  border-radius: 24px; 
  overflow: hidden; 
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card-modalidade:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Texto em cima */
.card-modalidade__content {
  padding: 32px 32px 24px;
  flex: 1; 
}

.card-modalidade__header { margin-bottom: 16px; }

.card-modalidade__header h3 { 
  font-family: var(--font-titulo); 
  font-size: 1.8rem; 
  font-weight: 400; 
  line-height: 1.1; 
  margin-bottom: 12px; 
}

.tag {
  display: inline-block; background: var(--verde-sage); color: var(--branco);
  font-size: 0.75rem; font-weight: 500; padding: 6px 14px; border-radius: 50px;
}

.card-modalidade__content p { 
  color: var(--texto-suave); 
  font-size: 0.95rem; 
}

/* Foto embaixo */
.card-modalidade__slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  aspect-ratio: 4 / 3;
  margin-top: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.card-modalidade__slider::-webkit-scrollbar {
  display: none;
}

.card-modalidade__img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-modalidade__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-modalidade:hover .card-modalidade__img img {
  transform: scale(1.03);
}

/* Gradiente no canto da foto */
.card-modalidade::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 33.33%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3));
  pointer-events: none;
  z-index: 2;
  border-bottom-right-radius: 24px;
}

/* ==========================================================
   CTA FINAL
   ========================================================== */
.cta-box {
  background: var(--marrom); 
  border-radius: 32px;
  padding: clamp(32px, 6vw, 56px);
  color: #fff; 
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.cta-box__content h2 { 
  font-family: var(--font-titulo); 
  font-size: clamp(2.2rem, 5vw, 3rem); 
  font-weight: 400; 
  line-height: 1.1; 
  margin-bottom: 16px; 
}

.cta-box__content p { 
  font-size: 1rem; 
  color: rgba(255,255,255,0.9); 
  margin-bottom: 32px;
  font-family: Arial, sans-serif;  
}

.cta-box__content .btn { 
  width: 100%; 
  margin-bottom: 40px; 
}

.cta-box__info { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.cta-box__info li {
  display: flex; 
  align-items: flex-start; 
  gap: 12px;
  font-size: 0.9rem; 
  color: rgba(255,255,255,0.9); 
  line-height: 1.4;
}

.cta-box__info svg { 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0; 
  margin-top: 2px; 
}

.cta-box__mapa {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cta-box__mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: sepia(20%) contrast(0.95) opacity(0.9);
  transition: filter 0.4s ease;
}

.cta-box__mapa:hover iframe {
  filter: none;
}

.cta-box__info { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.cta-box__info li {
  display: flex; 
  align-items: flex-start; 
  gap: 12px;
  font-size: 0.95rem; /* Aumentei levemente para o Arial ficar mais legível */
  color: rgba(255,255,255,0.9); 
  line-height: 1.5;
  font-family: Arial, sans-serif; 
}

/* ==========================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: opacity, transform;
}

.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: pulseWhatsApp 2.4s ease-out infinite;
}

@keyframes pulseWhatsApp {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* ==========================================================
   ANIMAÇÕES DE SCROLL (REVEAL)
   ========================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-cards .reveal-init:nth-child(1) { transition-delay: 0.05s; }
.grid-cards .reveal-init:nth-child(2) { transition-delay: 0.15s; }
.grid-cards .reveal-init:nth-child(3) { transition-delay: 0.25s; }

/* ==========================================================
   MEDIA QUERIES (RESPONSIVIDADE GERAL)
   ========================================================== */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  
  .hero__actions { flex-direction: row; }
  
  .cta-box {
    grid-template-columns: 1.2fr 1fr; 
    align-items: stretch;
    gap: 48px;
  }
  
  .cta-box__content .btn { width: auto; }
  
  .cta-box__mapa {
    height: 100%;
    min-height: 350px; 
  }
}

/* ==========================================================
   RODAPÉ (FOOTER)
   ========================================================== */
.footer {
  padding: 40px 0;
  background: var(--creme);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--texto-suave);
  letter-spacing: 0.05em;
  margin: 0;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header { padding: 24px 0; }
  
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  
  .hero__title { font-size: 4.2rem; }
  .hero__image { aspect-ratio: 4/5; }
  
  .grid-cards--depoimentos { grid-template-columns: repeat(3, 1fr); }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards > :last-child:nth-child(odd) { grid-column: auto; }
}

/* Telas grandes (1440px+) */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
}

/* Acessibilidade: Reduzir Movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { transition: none; }
  .whatsapp-float::before { animation: none; }
}