/* ==========================================================================
   300 Sobremesas Zero - Mobile-First CSS
   ========================================================================== */

/* Font Import (deve estar no início para carregamento prioritário) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #FB6073;
  --secondary-color: #B17349;
  --text-color: #333;
  --title-gray: #6F685F;
  --bg-light: #EEEBE7;
  --bg-peach: #FFD6BA;
  --white: #fff;

  /* Fluid Typography - Mobile First */
  --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
  --font-size-base: clamp(1rem, 3vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 3.5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 4vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 5vw, 1.875rem);
  --font-size-3xl: clamp(1.75rem, 6vw, 2.25rem);

  /* Spacing - Mobile First */
  --section-padding: clamp(40px, 8vw, 60px);
  --container-padding: clamp(16px, 4vw, 20px);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-pretitle,
.hero-subtitle {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.hero-subtitle {
  margin-top: 6px;
  margin-bottom: 14px;
}

.attention-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ff0000;
  color: #ffe600;
  text-align: center;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.attention-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}

.attention-highlight {
  color: #ffe600;
}

.attention-divider {
  color: #ffd54f;
}

.attention-date,
.attention-timer {
  color: #ffe600;
  font-weight: 800;
}

.attention-white {
  color: #ffffff;
}

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

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

/* ==========================================================================
   Elementor Container System
   ========================================================================== */
.elementor {
  width: 100%;
}

.e-con {
  --flex-direction: column;
  --flex-wrap: nowrap;
  --justify-content: flex-start;
  --align-items: stretch;
  --align-content: stretch;
  --gap: 0px;
  --container-max-width: 1140px;
  --container-widget-width: 100%;
  --container-widget-height: initial;
  --container-widget-flex-grow: 0;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  position: relative;
  display: flex;
  flex-direction: var(--flex-direction);
  flex-wrap: var(--flex-wrap);
  justify-content: var(--justify-content);
  align-items: var(--align-items);
  align-content: var(--align-content);
  gap: var(--gap);
  padding: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left);
}

.e-con-boxed {
  flex-direction: column;
  flex-wrap: nowrap;
}

.e-con-boxed > .e-con-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: var(--flex-direction);
  flex-wrap: var(--flex-wrap);
  justify-content: var(--justify-content);
  align-items: var(--align-items);
  align-content: var(--align-content);
  gap: var(--gap);
}

.e-con-full {
  --container-max-width: 100%;
}

.e-con-inner {
  width: 100%;
}

.e-flex {
  display: flex;
}

.e-child {
  flex-grow: var(--container-widget-flex-grow, 0);
  width: var(--container-widget-width, 100%);
}

.e-parent {
  width: 100%;
}

/* ==========================================================================
   Elementor Widgets
   ========================================================================== */
.elementor-widget-container {
  width: 100%;
}

.elementor-widget {
  width: 100%;
}

/* Heading Widget */
.elementor-heading-title {
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.elementor-size-default {
  font-size: inherit;
}

/* Button Widget */
.elementor-button-wrapper {
  display: flex;
  justify-content: center;
}

.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: 24px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #22C55E;
  color: var(--white);
  border: none;
  font-size: 16px;
}

.elementor-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Image Widget */
.elementor-widget-image img {
  width: 100%;
  height: auto;
}

/* Testimonial Widget */
.elementor-testimonial-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elementor-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.elementor-testimonial-meta-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.elementor-testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.elementor-testimonial-details {
  text-align: left;
}

.elementor-testimonial-name {
  font-weight: 600;
  font-size: 14px;
}

/* Image Box Widget */
.elementor-image-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.elementor-position-top .elementor-image-box-wrapper {
  flex-direction: column;
}

.elementor-image-box-img {
  margin: 0;
  margin-bottom: 15px;
}

.elementor-image-box-img img {
  border-radius: 12px;
  width: 100%;
}

.elementor-image-box-content {
  padding: 10px;
}

.elementor-image-box-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.elementor-image-box-description {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Icon List Widget */
.elementor-icon-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elementor-icon-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.elementor-icon-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-icon-list-icon svg {
  width: 20px;
  height: 20px;
}

/* Rating Widget */
.e-rating {
  display: flex;
  align-items: center;
}

.e-rating-wrapper {
  display: flex;
  gap: 2px;
}

.e-icon {
  position: relative;
}

.e-icon-wrapper {
  display: flex;
}

.e-icon-marked svg {
  fill: #FFD700;
  width: 20px;
  height: 20px;
}

.e-icon-unmarked {
  position: absolute;
  top: 0;
  left: 0;
}

.e-icon-unmarked svg {
  fill: #ddd;
  width: 20px;
  height: 20px;
}

/* Progress Bar Widget */
.elementor-progress-wrapper {
  background-color: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
  width: 100%;
}

.elementor-progress-bar {
  height: 100%;
  background-color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  transition: width 0.5s ease;
  position: relative;
  width: 0%;
}

.elementor-progress-percentage {
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.rating-block {
  max-width: 520px;
  margin: 0 auto 12px;
  text-align: left;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-progress {
  max-width: 520px;
  margin: 0 auto 30px;
  width: 100%;
}

/* Text Editor Widget */
.elementor-widget-text-editor {
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Swiper / Carousel
   ========================================================================== */
.swiper {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.swiper-wrapper {
  display: flex;
  transition-timing-function: linear;
  touch-action: pan-y;
}

.swiper-slide {
  flex-shrink: 0;
  width: 200px;
  touch-action: pan-y;
}

.swiper-slide-inner {
  width: 100%;
  height: 100%;
}

.swiper-slide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.swiper-recipes .swiper-slide {
  width: 240px;
}

.swiper-testimonials .swiper-slide {
  width: 320px;
}

.swiper-testimonials .swiper-slide-image {
  height: 460px;
  object-fit: cover;
}

.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: swiper-preloader-spin 1s infinite linear;
}

@keyframes swiper-preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.elementor-image-carousel-wrapper {
  width: 100%;
}

.elementor-image-carousel {
  display: flex;
}

.swiper-image-stretch .swiper-slide-image {
  width: 100%;
}

/* ==========================================================================
   Two-Column Audience Section
   ========================================================================== */
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.column-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.column-title {
  color: #B17349;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: #333;
}

/* ==========================================================================
   Benefits Box
   ========================================================================== */
.benefits-box {
  border: 2px solid #FB6073;
  border-radius: 16px;
  padding: 28px 26px;
  background: #f2eee7;
}

.benefits-title {
  text-align: left;
  font-size: 28px;
  margin-bottom: 24px;
  color: #FB6073;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   Offer Box
   ========================================================================== */
.offer-box {
  background: #f2eee7;
  border-radius: 16px;
  padding: 40px 30px;
  margin-bottom: 30px;
  border: 3px solid #22C55E;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Section Responsive Padding
   ========================================================================== */
.e-con.e-parent {
  padding-left: var(--container-padding) !important;
  padding-right: var(--container-padding) !important;
}

/* ==========================================================================
   Bonus Cards Responsive
   ========================================================================== */
.bonus-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.bonus-card {
  flex: 1 1 100%;
  max-width: 320px;
  background: #FB6073;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.bonus-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.bonus-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.bonus-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #333;
}

/* ==========================================================================
   Steps Section Responsive
   ========================================================================== */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step-item {
  flex: 1 1 100%;
  max-width: 250px;
  text-align: center;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: #FB6073;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.step-item h3 {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Price Display Responsive
   ========================================================================== */
.price-big {
  font-size: clamp(36px, 10vw, 58px);
  font-weight: 700;
  color: #FB6073;
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
}

/* ==========================================================================
   Fake Notification
   ========================================================================== */
.fake-notification {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #22C55E;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 320px;
}

.fake-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.fake-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.fake-name {
  font-weight: 700;
  font-size: 13px;
}

.fake-message {
  font-size: 13px;
}

/* ==========================================================================
   MOBILE ONLY (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .section-title {
    font-size: var(--font-size-2xl);
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: var(--font-size-base);
  }

  /* Hero adjustments for mobile */
  .hero-section {
    padding: 30px 16px !important;
  }

  .hero-section .elementor-heading-title {
    font-size: var(--font-size-2xl) !important;
    line-height: 1.3;
  }

  .hero-section .elementor-heading-title span {
    padding: 3px 8px !important;
    font-size: inherit;
  }

  /* Two column - single column on mobile */
  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .column-card {
    padding: 24px 20px;
  }

  .column-title {
    font-size: var(--font-size-xl);
  }

  /* Benefits box mobile */
  .benefits-box {
    padding: 20px 18px;
  }

  .benefits-title {
    font-size: var(--font-size-xl);
  }

  .benefits-list li {
    font-size: var(--font-size-sm) !important;
  }

  /* Swiper mobile sizes */
  .swiper-slide {
    width: 160px;
  }

  .swiper-recipes .swiper-slide {
    width: 180px;
  }

  .swiper-testimonials .swiper-slide {
    width: 240px;
  }

  .swiper-testimonials .swiper-slide-image {
    height: 340px;
  }

  /* Cards mobile */
  .card-container {
    gap: 15px;
  }

  .card {
    flex: 1 1 140px;
    max-width: 48%;
  }

  .card img {
    height: 120px;
  }

  .card h3 {
    font-size: 14px !important;
  }

  .card p {
    font-size: 12px !important;
  }

  /* Offer box mobile */
  .offer-box {
    padding: 28px 20px;
  }

  .offer-box p span[style*="font-size: 58px"] {
    font-size: 42px !important;
  }

  /* Attention bar mobile */
  .attention-bar {
    padding: 8px 12px;
  }

  .attention-text {
    font-size: 12px;
    gap: 4px;
    line-height: 1.5;
  }

  /* Button mobile */
  .elementor-button {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
  }

  /* Fake notification mobile */
  .fake-notification {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 16px;
  }

  /* Bonus cards mobile */
  .bonus-card,
  .e-con-inner > div[style*="flex: 1 1 280px"] {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* Steps section mobile */
  .e-con-inner > div[style*="flex: 1 1 200px"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  /* Hide elements on mobile */
  .elementor-hidden-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   Tablet (min-width: 576px)
   ========================================================================== */
@media (min-width: 576px) {
  .card {
    flex: 1 1 180px;
    max-width: 200px;
  }

  .card img {
    height: 140px;
  }

  .attention-text {
    font-size: 14px;
    gap: 6px;
  }

  .elementor-button {
    width: auto;
    padding: 16px 36px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Tablet (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .hero-section {
    padding: 40px 20px !important;
  }

  .hero-section .elementor-heading-title {
    font-size: 28px !important;
  }

  .two-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .column-card {
    padding: 30px;
  }

  .column-title {
    font-size: 24px;
  }

  .benefits-box {
    padding: 28px 26px;
  }

  .benefits-title {
    font-size: 26px;
  }

  .swiper-slide {
    width: 200px;
  }

  .swiper-recipes .swiper-slide {
    width: 220px;
  }

  .swiper-testimonials .swiper-slide {
    width: 280px;
  }

  .swiper-testimonials .swiper-slide-image {
    height: 400px;
  }

  .card {
    flex: 1 1 180px;
    max-width: 220px;
  }

  .card img {
    height: 150px;
  }

  .offer-box {
    padding: 40px 30px;
  }

  .attention-text {
    font-size: 16px;
    gap: 8px;
  }

  .elementor-hidden-tablet {
    display: none !important;
  }
}

/* ==========================================================================
   Desktop (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-section .elementor-heading-title {
    font-size: 32px !important;
  }

  .swiper-slide {
    width: 200px;
  }

  .swiper-recipes .swiper-slide {
    width: 240px;
  }

  .swiper-testimonials .swiper-slide {
    width: 320px;
  }

  .swiper-testimonials .swiper-slide-image {
    height: 460px;
  }

  .benefits-title {
    font-size: 28px;
  }

  .column-title {
    font-size: 28px;
  }

  .elementor-hidden-desktop {
    display: none !important;
  }
}

/* ==========================================================================
   Width Utilities
   ========================================================================== */
.elementor-widget__width-initial {
  width: auto;
  flex-shrink: 0;
}

.elementor-widget__width-inherit {
  width: inherit;
}

.elementor-widget-mobile__width-initial {
  width: auto;
}

.elementor-widget-mobile__width-inherit {
  width: 100%;
}

/* ==========================================================================
   Alignment
   ========================================================================== */
.elementor-align-center {
  text-align: center;
}

.elementor-align-center .elementor-button-wrapper {
  justify-content: center;
}

/* ==========================================================================
   Custom Card Styles
   ========================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1 1 200px;
  max-width: 250px;
}

.card:hover {
  transform: translateY(-5px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.elementor-invisible {
  visibility: hidden;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* ==========================================================================
   Screen Reader Only
   ========================================================================== */
.elementor-screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
