/* ----- SABOR DE FÁTIMA (BRIGHT & JOYFUL PREMIUM) ----- */
:root {
  /* Brand Colors - Vibrant */
  --color-primary: #E82939;   /* Bright Appetizing Red */
  --color-primary-dark: #C61C2A;
  --color-secondary: #FF7300; /* Strong Brand Orange */
  --color-secondary-dark: #CC5C00;
  
  /* Light Theme Backgrounds */
  --color-bg-base: #FFF5E6; /* Warm Pale Orange / Peach */
  --color-bg-card: #FFFFFF; /* Pure white for floating cards */
  --color-white: #FFFFFF;
  --color-text-main: #1C1917; /* Dark Stone */
  --color-text-muted: #57534E; /* Medium Stone */
  --color-text-light: #A8A29E;

  /* Typography */
  --font-base: 'Montserrat', 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(232, 41, 57, 0.1);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.06);

  /* Layout */
  --container-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Classic Italian Tablecloth Pattern (Warm Orange Gingham) */
body::after {
  content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--color-bg-base);
  background-image: 
    linear-gradient(90deg, rgba(255, 115, 0, 0.08) 50%, transparent 50%),
    linear-gradient(rgba(255, 115, 0, 0.08) 50%, transparent 50%);
  background-size: 60px 60px;
  z-index: -1; pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* ----- Joyful Typography ----- */
h1, h2, h3, h4, h5, h6 { 
  font-weight: 800; 
  line-height: 1.2; 
  margin-bottom: 1rem; 
  color: var(--color-text-main); 
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; color: var(--color-primary); }

p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 1.5rem; color: var(--color-text-muted); font-weight: 400; }

.text-stroke {
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 10px;
  -webkit-text-stroke: 0;
  text-shadow: none;
  animation: none;
}
.text-highlight { color: var(--color-primary); position: relative; display: inline-block; }
.text-highlight::after {
  content: ''; position: absolute; width: 100%; height: 30%; bottom: 10%; left: 0;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary)); 
  opacity: 0.5; z-index: -1; border-radius: 10px;
}

/* ----- Buttons - Inviting & Clickable ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; font-weight: 700; border-radius: 50px;
  cursor: pointer; transition: var(--transition); border: none;
  text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; gap: 12px;
}

.btn-primary { 
  background-color: var(--color-primary); 
  color: var(--color-white); 
  box-shadow: 0 10px 20px rgba(232, 41, 57, 0.2); 
}
.btn-primary:hover {
  background-color: var(--color-primary-dark); transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(232, 41, 57, 0.3); color: var(--color-white);
}

.btn-secondary { 
  background-color: var(--color-secondary); 
  color: var(--color-text-main); 
  box-shadow: 0 10px 20px rgba(255, 176, 26, 0.2); 
}
.btn-secondary:hover {
  background-color: var(--color-secondary-dark); 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 15px 30px rgba(255, 176, 26, 0.3);
}

/* ----- Header - Solid Brand Red ----- */
.site-header {
  position: fixed; top: 0; left: 0;
  width: 100%;
  background: rgba(232, 41, 57, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 0; z-index: 1000;
  box-shadow: var(--shadow-soft); transition: var(--transition);
}

.site-header.scrolled { padding: 10px 0; background: rgba(232, 41, 57, 1); box-shadow: var(--shadow-card); }

.nav-container { display: flex; align-items: center; justify-content: flex-end; width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; position: relative; }

.nav-logo {
  position: absolute; left: 24px; top: -10px; width: 145px;
  z-index: 1001; transition: var(--transition);
}
.nav-logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); }

.nav-menu ul { display: flex; gap: 32px; align-items: center; }
.nav-menu a {
  font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase; letter-spacing: 0.5px; position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0;
  background-color: var(--color-white); transition: var(--transition); border-radius: 3px;
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--color-white); }

.nav-actions { display: flex; gap: 16px; align-items: center; }
.btn-header {
  background: rgba(232, 41, 57, 0.1); color: var(--color-primary);
  padding: 10px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; transition: var(--transition);
}
.btn-header:hover { background: var(--color-primary); color: var(--color-white); box-shadow: 0 5px 15px rgba(232, 41, 57, 0.2); }

.mobile-menu-btn { display: none; }

/* ----- Hero Section - Bright Overlays ----- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: 120px 0 60px; overflow: hidden;
}
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1); transition: opacity 1.5s ease, transform 10s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.15); }

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(255,245,230,0.95) 0%, rgba(255,245,230,0.85) 40%, rgba(232,41,57,0.3) 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 650px; animation: fadeUp 1s ease-out forwards; }
.hero-content p { color: var(--color-text-muted); font-size: 1.25rem; font-weight: 500; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 30px; }

/* ----- Base Section & Joyful Cards ----- */
.section { padding: 50px 0; position: relative; z-index: 2; }
.section-header { max-width: 700px; margin-bottom: 40px; text-align: center; margin-inline: auto; }
.section-header p { margin-inline: auto; }

.glass-card {
  background: var(--color-bg-card);
  border: 2px solid transparent; border-radius: 24px;
  padding: 40px; transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  transform: translateY(-8px); border-color: var(--color-secondary);
  box-shadow: var(--shadow-hover);
}

/* Subtle corner decoration on cards */
.glass-card::before {
  content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255, 176, 26, 0.2) 0%, transparent 70%);
  border-radius: 50%; z-index: 0; transition: var(--transition);
}
.glass-card:hover::before { transform: scale(1.5); background: radial-gradient(circle, rgba(232, 41, 57, 0.15) 0%, transparent 70%); }

.glass-card > * { position: relative; z-index: 1; }

/* ----- Bento Grid ----- */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 30px;
}
.bento-item-1 { grid-column: span 2; grid-row: span 2; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.bento-item-2 { grid-column: span 1; grid-row: span 1; }
.bento-item-3 { grid-column: span 1; grid-row: span 1; }

.bento-icon { 
  font-size: 3rem; color: var(--color-secondary); margin-bottom: 20px; 
  background: rgba(255, 176, 26, 0.1); display: inline-flex; width: 80px; height: 80px;
  align-items: center; justify-content: center; border-radius: 20px;
}
.bento-item-1 .bento-icon { 
  font-size: 4rem; color: var(--color-primary); background: rgba(232, 41, 57, 0.1);
  width: 100px; height: 100px; border-radius: 24px;
}
.bento-item-1 h3 { font-size: 2.2rem; color: var(--color-text-main); }

/* ----- Split Section ----- */
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-image {
  border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-card);
  position: relative;
  animation: floatSlow 6s ease-in-out infinite;
}
.split-image div, .split-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.bullet-list li { position: relative; padding-left: 35px; margin-bottom: 15px; font-weight: 500; color: var(--color-text-main); }
.bullet-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 3px; color: var(--color-secondary); font-size: 1.2rem;
}

/* ----- Timeline ----- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.timeline-card { text-align: left; padding: 40px; border-top: 5px solid var(--color-secondary); }
.timeline-card:hover { border-top-color: var(--color-primary); }
.timeline-number {
  font-size: 4rem; font-weight: 900; color: rgba(232, 41, 57, 0.1);
  display: block; margin-bottom: 5px; line-height: 1; transition: var(--transition);
}
.timeline-card:hover .timeline-number { color: var(--color-primary); transform: translateX(10px); }

/* ----- Portal Teaser ----- */
.portal-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 30px; padding: 60px; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(255, 115, 0, 0.3);
  color: var(--color-white);
}
.portal-banner::before {
  content: ''; position: absolute; right: -50px; bottom: -50px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%); border-radius: 50%; z-index: 0;
}
.portal-banner h2, .portal-banner p, .portal-banner h4 { color: var(--color-white); }
.portal-banner h2 { text-shadow: none; }
.portal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; position: relative; z-index: 1; }
.feature-item { display: flex; gap: 20px; align-items: center; }
.feature-icon {
  color: var(--color-primary); font-size: 1.5rem; background: var(--color-white);
  padding: 15px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
}

/* ----- Cinematic Infinite Marquee ----- */
.marquee-section {
  padding: 40px 0; overflow: hidden; position: relative;
}
.marquee-container {
  display: flex; width: max-content; animation: marqueeScroll 40s linear infinite; gap: 20px;
}
.marquee-container:hover { animation-play-state: paused; }
.marquee-item {
  width: 300px; height: 220px; border-radius: 20px; overflow: hidden;
  position: relative; box-shadow: var(--shadow-soft);
}
.marquee-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.marquee-item:hover img { transform: scale(1.1) rotate(-3deg); }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

/* ----- Footer ----- */
.site-footer { background: var(--color-primary); color: var(--color-white); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-title { color: var(--color-white); letter-spacing: 1px; text-transform: uppercase; font-size: 0.95rem; font-weight: 800; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.8); font-weight: 500; }
.footer-links a:hover { color: var(--color-white); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 30px; display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
}
.footer-socials { display: flex; gap: 15px; }
.footer-socials a {
  background: rgba(255,255,255,0.1); color: var(--color-white); width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--color-white); color: var(--color-primary); transform: translateY(-3px); }

/* ----- Floating WhatsApp ----- */
.whatsapp-fab {
  position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
  background-color: #25D366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-fab:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }

/* Animations & Responsiveness */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-element { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.fade-element.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .site-header { padding: 10px 20px; }
  .nav-logo { width: 115px; position: relative; top: 0; left: 0; }
  .nav-menu ul, .nav-actions .btn-header { display: none; }
  .mobile-menu-btn { display: block; color: var(--color-white); background: none; border: none; font-size: 1.5rem; cursor: pointer; }
  .nav-container { justify-content: space-between; }
  
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-item-1, .bento-item-2, .bento-item-3 { grid-column: span 1; grid-row: span 1; padding: 30px; }
  .split-section { grid-template-columns: 1fr; text-align: center; }
  .bullet-list li { text-align: left; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .portal-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 20px; }
}

/* ----- Product Grid & Cards ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.product-card {
  padding: 0;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-10px); }

.product-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-base);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover .product-img img { transform: scale(1.15) rotate(3deg); }

.product-content { padding: 25px; }
.product-content h3 { margin-bottom: 8px; color: var(--color-text-main); font-size: 1.4rem; }
.product-content p { font-size: 0.95rem; margin-bottom: 20px; color: var(--color-text-muted); min-height: 70px; }

.product-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.product-specs li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-specs li i { color: var(--color-primary); }
