/* ==========================================================================
   Celebraê Festas & Decorações - Design System & Stylesheet
   Bombinhas - Santa Catarina - Brasil
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Color Palette from logocelebrae.png */
  --pink-primary: #EC4887;
  --pink-dark: #D81B60;
  --pink-light: #FFEFF5;
  --purple-primary: #8E24AA;
  --purple-dark: #673AB7;
  --purple-light: #F4E8F8;
  --gold-accent: #FFB74D;
  --yellow-sparkle: #FBC02D;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #1EBE5B;
  
  /* Text & Surfaces */
  --text-dark: #2D1537;
  --text-muted: #6B5D73;
  --text-light: #FFFFFF;
  --bg-gradient: linear-gradient(135deg, #FFF9FB 0%, #F8EFFB 50%, #FFF4F8 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(236, 72, 135, 0.18);
  --shadow-sm: 0 4px 12px rgba(45, 21, 55, 0.05);
  --shadow-md: 0 8px 24px rgba(216, 27, 96, 0.12);
  --shadow-lg: 0 16px 40px rgba(142, 36, 170, 0.18);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.04) rotate(-2deg);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-primary), var(--purple-primary));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--pink-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--purple-primary) 100%);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(236, 72, 135, 0.35);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
  color: #FFF;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: #FFF;
  color: var(--purple-primary);
  border: 2px solid var(--purple-primary);
}

.btn-outline:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(236, 72, 135, 0.1);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(236, 72, 135, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--purple-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 72, 135, 0.15);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFF;
  background: #FFF;
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}

.hero-tag-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-tag-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-primary);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--purple-light);
  color: var(--purple-primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--purple-light) 100%);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-features {
  list-style: none;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--pink-primary);
  font-weight: 800;
}

/* Portfolio Projects Section */
.projects-section {
  padding: 4rem 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  background: #FFF;
  color: var(--text-muted);
  border: 1px solid rgba(236, 72, 135, 0.15);
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--purple-primary) 100%);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(236, 72, 135, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
}

.project-location-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(45, 21, 55, 0.75);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.project-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid #F0E6F2;
}

.project-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag-sm {
  font-size: 0.72rem;
  background: var(--purple-light);
  color: var(--purple-primary);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Quote Calculator Widget */
.quote-section {
  padding: 4rem 0;
}

.quote-card {
  background: linear-gradient(135deg, #FFF 0%, #FAF0F7 100%);
  border: 2px solid rgba(236, 72, 135, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-select, .form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid #E2D3E6;
  background: #FFF;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 3px rgba(236, 72, 135, 0.15);
}

.quote-result-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quote-result-msg {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1B5E20;
}

/* Trends Section */
.trends-section {
  padding: 4rem 0;
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.trend-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.trend-tag {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.trend-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trend-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #1F0D27;
  color: #E2D5E8;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #B4A2BD;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--pink-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #92819C;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--whatsapp-green);
  color: #FFF;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background: var(--whatsapp-dark);
}

.whatsapp-icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #FFF;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid #FFF;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .nav-links {
    display: none; /* Can be toggled via JS mobile menu */
  }

  .whatsapp-float span {
    display: none; /* Show icon only on small mobile screens */
  }

  .whatsapp-float {
    padding: 0.9rem;
    border-radius: 50%;
  }
}
