/* Serei Sereia · Moda Praia Artesanal · v2.0 */
:root {
  --turquesa: #2ac3b5;
  --turquesa-soft: #7fd1c8;
  --areia: #f9f1e7;
  --areia-escura: #f0e4d6;
  --mar-profundo: #147a72;
  --texto: #2d3e3c;
  --branco-praia: #fffcf9;
  --concha: #fdf8f0;
  --coral: #e68a7c;
  --gold-sand: #d4b87a;
  --bg-body: #fffcf9;
  --bg-card: #ffffff;
  --bg-section: #f9f1e7;
  --shadow-card: rgba(0,0,0,0.06);
  --shadow-hover: rgba(42,195,181,0.25);
  --glass-bg: rgba(255, 252, 249, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
}

.dark-mode {
  --turquesa: #4dd0c8;
  --turquesa-soft: #3aa8a0;
  --areia: #1a2e2c;
  --areia-escura: #152826;
  --mar-profundo: #7fd1c8;
  --texto: #dce8e6;
  --branco-praia: #0f1f1d;
  --concha: #162c29;
  --coral: #e88a7c;
  --gold-sand: #c4a86a;
  --bg-body: #0f1f1d;
  --bg-card: #1a2e2c;
  --bg-section: #152826;
  --shadow-card: rgba(0,0,0,0.3);
  --shadow-hover: rgba(77,208,200,0.3);
  --glass-bg: rgba(15, 31, 29, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ===== BASE ===== */
* { box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--texto);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  transition: background-color 0.4s, color 0.4s;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, .nav-link, .navbar-brand {
  font-family: 'Playfair Display', serif;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--mar-profundo);
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}
.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--turquesa), var(--gold-sand));
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider-top { margin-bottom: -1px; }
.wave-divider-bottom { margin-top: -1px; }

/* ===== GLASSMORPHISM ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(42, 195, 181, 0.2);
  border-color: rgba(42, 195, 181, 0.3);
}

/* ===== MARINE DECORATIONS - SHELLS ===== */
.marine-shell {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  filter: blur(0.5px);
  transition: opacity 0.3s;
}
.dark-mode .marine-shell {
  opacity: 0.08 !important;
}

@keyframes shellFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}
@keyframes shellFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-6deg); }
}
@keyframes shellFloat3 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(10deg); }
}
.shell-float-1 { animation: shellFloat1 7s ease-in-out infinite; }
.shell-float-2 { animation: shellFloat2 9s ease-in-out infinite; }
.shell-float-3 { animation: shellFloat3 11s ease-in-out infinite; }
@keyframes bubbleRise {
  0% { transform: translateY(100%) scale(0); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.float-animation { animation: float 6s ease-in-out infinite; }
.float-reverse { animation: floatReverse 7s ease-in-out infinite; }

/* ===== NAVBAR ===== */
.navbar {
  background-color: rgba(255, 252, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1), background-color 0.4s;
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(42, 195, 181, 0.1);
}
.dark-mode .navbar {
  background-color: rgba(15, 31, 29, 0.85);
}

.navbar-scrolled {
  background-color: rgba(255, 252, 249, 0.95);
  backdrop-filter: blur(24px);
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px -8px rgba(42, 195, 181, 0.15);
}

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.navbar-scrolled .logo-img {
  height: 46px;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mar-profundo);
  border-left: 2px solid var(--turquesa);
  padding-left: 12px;
  font-family: 'Playfair Display', serif;
}

.nav-link {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto);
  margin: 0 0.2rem;
  padding: 0.6rem 1rem;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}
.nav-link:hover { color: var(--turquesa); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--turquesa), var(--gold-sand));
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-link:hover::after { width: 60%; }
.nav-link:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-link-store {
  background: linear-gradient(135deg, var(--gold-sand), var(--coral)) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.2rem !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 16px rgba(212, 184, 122, 0.4);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1) !important;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}
.nav-link-store::after { display: none !important; }
.nav-link-store:hover {
  color: white !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(212, 184, 122, 0.5);
}

.btn-store {
  background: linear-gradient(135deg, var(--gold-sand), var(--coral)) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(212, 184, 122, 0.35);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}
.btn-store:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 36px rgba(212, 184, 122, 0.5);
  color: white;
}
.btn-store::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s ease;
}
.btn-store:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(42, 195, 181, 0.06);
  color: var(--turquesa);
  font-size: 1.15rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-decoration: none;
  border: 1px solid rgba(42, 195, 181, 0.15);
}
.social-circle:hover {
  background: var(--turquesa);
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(42, 195, 181, 0.3);
}
.social-circle:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 252, 249, 0.95);
    backdrop-filter: blur(24px);
    padding: 1.5rem;
    border-radius: 24px;
    margin-top: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(42, 195, 181, 0.1);
  }
  .brand-text { font-size: 1.1rem; }
  .logo-img { height: 48px; }
  .navbar-scrolled .logo-img { height: 40px; }
  .nav-link::after { display: none; }
}

/* ===== BUTTONS ===== */
.btn-turquesa {
  background: linear-gradient(135deg, var(--turquesa) 0%, var(--mar-profundo) 100%);
  color: white;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border: none;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 4px 16px rgba(42, 195, 181, 0.25);
  letter-spacing: 0.3px;
}
.btn-turquesa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(42, 195, 181, 0.35);
  color: white;
}
.btn-turquesa:focus-visible {
  outline: 2px solid var(--mar-profundo);
  outline-offset: 3px;
}

.btn-outline-turquesa {
  border: 2px solid var(--turquesa);
  color: var(--turquesa);
  background: transparent;
  border-radius: 50px;
  padding: 0.65rem 2rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.btn-outline-turquesa:hover {
  background-color: var(--turquesa);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(42, 195, 181, 0.3);
}
.btn-outline-turquesa:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 3px;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel { margin-top: 88px; }
.carousel-item {
  height: 88vh;
  min-height: 620px;
  background-size: cover;
  background-position: center 35%;
  position: relative;
}
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(105deg, rgba(255,245,235,0.7) 0%, rgba(255,252,245,0.4) 70%);
}
.carousel-caption {
  bottom: 20%;
  left: 8%;
  right: auto;
  text-align: left;
  max-width: 580px;
  background: rgba(255, 252, 249, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 2.8rem;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  color: var(--texto);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carousel-caption .lead { color: var(--texto); line-height: 1.7; }
.carousel-caption h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.carousel-control-prev, .carousel-control-next { width: 6%; opacity: 1; }
.carousel-indicators [data-bs-target] {
  background-color: var(--turquesa);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s;
}
.carousel-indicators .active {
  opacity: 1;
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .carousel-item { height: 70vh; min-height: 400px; }
  .carousel-caption { padding: 1.5rem; left: 5%; right: 5%; max-width: 90%; border-radius: 24px; }
  .carousel-caption h1 { font-size: 2rem; }
}

/* ===== PRODUCT CARDS ===== */
.card-product {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 1rem;
  border: 1px solid rgba(42,195,181,0.1);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}
.card-product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turquesa), var(--gold-sand), var(--coral));
  opacity: 0;
  transition: opacity 0.4s;
}
.card-product:hover::before { opacity: 1; }
.card-product:hover {
  transform: translateY(-12px);
  border-color: rgba(42,195,181,0.3);
  box-shadow: 0 24px 48px -12px rgba(42,195,181,0.2);
}
.card-product img {
  width: 100%;
  height: 260px;
  border-radius: 22px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.card-product:hover img { transform: scale(1.04); }

/* ===== INSTAGRAM CARDS ===== */
.instagram-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 1rem;
  border: 1px solid rgba(42,195,181,0.1);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  overflow: hidden;
  position: relative;
}
.instagram-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42,195,181,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: 28px;
}
.instagram-card:hover::after { opacity: 1; }
.instagram-card:hover {
  transform: translateY(-10px);
  border-color: rgba(42,195,181,0.3);
  box-shadow: 0 24px 48px -12px rgba(42,195,181,0.2);
}
.instagram-card img {
  border-radius: 22px;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.instagram-card:hover img { transform: scale(1.04); }
.instagram-card a {
  text-decoration: none;
  color: inherit;
}

/* ===== EVENT CARDS ===== */
.eventos-wrapper { position: relative; }

.evento-card-elegante {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  height: 100%;
  border: 1px solid rgba(42, 195, 181, 0.08);
}
.evento-card-elegante:hover {
  transform: translateY(-14px);
  box-shadow: 0 28px 56px -16px rgba(42, 195, 181, 0.2);
  border-color: rgba(42, 195, 181, 0.25);
}

.evento-img-container {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.evento-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.evento-card-elegante:hover .evento-img-container img { transform: scale(1.1); }

.evento-overlay-date {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(42, 195, 181, 0.9);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.evento-conteudo { padding: 1.8rem; }

.evento-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mar-profundo);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.evento-local {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--areia);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--turquesa);
  margin-bottom: 1rem;
  font-weight: 600;
}
.evento-local i { font-size: 0.7rem; }

.evento-descricao {
  color: var(--texto);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.75;
}

.evento-link {
  color: var(--turquesa);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  font-size: 0.88rem;
}
.evento-link:hover { gap: 14px; color: var(--mar-profundo); }

.evento-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,245,0.95);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--turquesa);
  font-family: 'Quicksand', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.eventos-decoration { text-align: center; margin-top: 3rem; }
.eventos-decoration span {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--turquesa), var(--gold-sand));
  margin: 0 8px;
  vertical-align: middle;
}
.eventos-decoration i { color: var(--turquesa); font-size: 1.2rem; opacity: 0.6; }

/* ===== SECTIONS ===== */
.bg-areia { background-color: var(--bg-section); }
.text-turquesa { color: var(--turquesa); }

section {
  position: relative;
  overflow: hidden;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(42,195,181,0.08);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--turquesa);
  opacity: 0.1;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(42, 195, 181, 0.2);
  border-color: rgba(42,195,181,0.25);
}
.testimonial-card .stars {
  color: var(--gold-sand);
  font-size: 1.1rem;
  letter-spacing: 4px;
}
.testimonial-card .text {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  font-style: italic;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--mar-profundo);
  margin-top: 1rem;
  font-size: 0.95rem;
}
.testimonial-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid rgba(42,195,181,0.2);
  padding: 2px;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(42,195,181,0.08);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -12px rgba(42, 195, 181, 0.2);
  border-color: rgba(42,195,181,0.25);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.blog-card:hover img { transform: scale(1.05); }
.blog-card .blog-body {
  padding: 1.5rem;
}
.blog-card .blog-body h3 {
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: var(--mar-profundo);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card .blog-body p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.blog-card .blog-meta {
  font-size: 0.75rem;
  color: var(--turquesa);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.blog-card .blog-link {
  color: var(--turquesa);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.blog-card .blog-link:hover { gap: 12px; }

/* ===== NEWSLETTER ===== */
.newsletter-form .input-group {
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  border-radius: 50px 0 0 50px;
  border: 2px solid rgba(42,195,181,0.2);
  padding: 0.85rem 1.5rem;
  background: var(--bg-card);
  color: var(--texto);
  transition: border-color 0.3s;
}
.newsletter-form input:focus {
  border-color: var(--turquesa);
  box-shadow: none;
}
.newsletter-form button {
  border-radius: 0 50px 50px 0;
  padding: 0.85rem 1.5rem;
  border: none;
  background: linear-gradient(135deg, var(--turquesa), var(--mar-profundo));
  color: white;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  letter-spacing: 0.3px;
}
.newsletter-form button:hover { transform: scale(1.03); }

/* ===== CATEGORY FILTER ===== */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.category-filter button {
  border: 2px solid rgba(42,195,181,0.2);
  background: transparent;
  color: var(--turquesa);
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: pointer;
}
.category-filter button:hover,
.category-filter button.active {
  background: var(--turquesa);
  color: white;
  border-color: var(--turquesa);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(42,195,181,0.3);
}

/* ===== BLOG POST PAGE ===== */
.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--texto);
}
.blog-post-content h3 {
  margin-top: 2rem;
  color: var(--mar-profundo);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}
.blog-post-content p { margin-bottom: 1.2rem; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--turquesa) 0%, var(--mar-profundo) 100%);
  color: white;
  border-radius: 32px 32px 0 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.footer-link {
  color: rgba(255,255,245,0.9);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,240,0.3);
  transition: all 0.3s;
}
.footer-link:hover { color: var(--areia); border-bottom-color: var(--areia); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: linear-gradient(135deg, #20b359, #0e7a6d);
  transform: scale(1.1) translateY(-4px);
  color: white;
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
}
.whatsapp-float:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInNav {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wave {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes gentleRotate {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.hover-animate {
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}
.hover-animate:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 48px -12px rgba(42, 195, 181, 0.3);
  border-color: var(--turquesa);
}
.hover-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.8s ease;
  z-index: 1;
  pointer-events: none;
}
.hover-animate:hover::before { left: 100%; }
.hover-animate img { transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
.hover-animate:hover img { transform: scale(1.05); }

/* ===== FOCUS & FORMS ===== */
:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 2px;
}

.form-control:focus {
  border-color: var(--turquesa);
  box-shadow: 0 0 0 0.2rem rgba(42, 195, 181, 0.15);
}

/* ===== TOAST ===== */
.toast-notification {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--mar-profundo);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  pointer-events: none;
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--texto);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  animation: scaleIn 0.3s ease-out;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: all 0.3s;
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

/* ===== SCROLL ANIMATIONS ===== */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.scroll-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.scroll-fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.scroll-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scroll-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.scroll-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turquesa), var(--mar-profundo));
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(42,195,181,0.3);
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(42,195,181,0.4);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  color: var(--texto);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.1);
  z-index: 99999;
  display: none;
  border-top: 2px solid var(--turquesa);
}
.cookie-consent.show { display: block; }
.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-consent p {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}
.cookie-consent .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===== SEARCH ===== */
.search-nav-btn {
  background: none;
  border: none;
  color: var(--texto);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  transition: all 0.3s;
}
.search-nav-btn:hover { color: var(--turquesa); transform: scale(1.1); }

/* ===== PRODUCT GALLERY ===== */
.product-gallery {
  display: flex;
  gap: 8px;
  margin-top: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.product-gallery img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.product-gallery img:hover,
.product-gallery img.active {
  border-color: var(--turquesa);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(42,195,181,0.3);
}

/* ===== CACHE INDICATOR ===== */
.cache-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.15);
  z-index: 1;
  pointer-events: none;
}

/* ===== DARK MODE TRANSITIONS ===== */
.dark-mode, .dark-mode .card-product, .dark-mode .instagram-card,
.dark-mode .evento-card-elegante, .dark-mode .testimonial-card,
.dark-mode .blog-card, .dark-mode .navbar, .dark-mode .glass-card {
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .evento-img-container { height: 200px; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.5rem; }
  .dark-mode-toggle { width: 40px; height: 40px; }
  .back-to-top { width: 40px; height: 40px; }
}

/* ===== CONTACT SECTION ===== */
.contact-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.contact-link-item:hover {
  background: rgba(255,255,255,0.2) !important;
  transform: translateX(8px);
}
.contact-link-item:hover .contact-icon-circle {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.contact-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(255,255,255,0.2);
}
.contact-social-icon:hover {
  background: white;
  color: var(--turquesa);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-form-card {
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.1);
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  padding: 0.8rem 1rem;
  border-radius: 12px;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(42,195,181,0.2);
  background: #fff !important;
}
.contact-form-card .input-group-text {
  border-radius: 12px 0 0 12px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 0 12px 12px 0;
}
.contact-form-card .btn-turquesa {
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
}

.contact-info-card {
  box-shadow: 0 20px 60px -15px rgba(42,195,181,0.3);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
