/* Reset & Global Styles */
:root {
  --color-green-50: #f0fdf4;
  --color-green-100: #dcfce7;
  --color-green-600: #268cbb;
  --color-green-700: rgb(30, 119, 160);
  --color-purple: #268cbb;
  --color-purple-light: #f4eef4;
  --color-light-gray-bg: #f7f9fa;
  --color-gray-600: #4b5563;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-white: #ffffff;
  --color-text-dark: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.6;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.text-center {
  text-align: center;
}

.text-center p {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  padding: 0.75rem 2rem;
}
.btn-lg {
  font-size: 1.125rem;
}
.btn-primary {
  background-color: var(--color-green-600);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: var(--color-green-700);
}
.btn-light {
  background-color: var(--color-white);
  color: var(--color-purple);
}
.btn-light:hover {
  background-color: #f1f1f1;
}

/* Header */
.header {
  background-color: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  width: 180px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-gray-800);
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--color-green-600);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0;
  background-image: url("/public/bg-header.jpg");
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.card {
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.cta-card {
  background-color: #268cbb;
  border: 1px solid var(--color-white);
  width: 320px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
}
.cta-card .card-icon {
  background-color: var(--color-white);
  color: var(--color-green-600);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-card h3 {
  font-size: 1.25rem;
}
.cta-card .price {
  font-size: 2rem;
  font-weight: 800;
}
.cta-card .btn-primary {
  background-color: var(--color-white);
  color: var(--color-green-700);
  font-weight: bold;
  width: 100%;
}
.cta-card .btn-primary:hover {
  background-color: var(--color-gray-200);
}

/* Prescription Section (Roxa) */
.prescription-section {
  padding: 5rem 0;
  background: linear-gradient(
    90deg,
    var(--color-purple) 0%,
    var(--color-green-700) 100%
  );
  color: var(--color-white);
}
.prescription-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.prescription-text {
  flex: 1;
  min-width: 300px;
}
.prescription-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.prescription-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.prescription-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}
.prescription-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* How It Works Visual Section */
.how-it-works-visual-section {
  padding: 5rem 0;
}
.how-it-works-visual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.visual-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Banners */
.banner-section {
  padding: 2rem 1rem;
  color: var(--color-white);
  text-align: center;
}
.banner-section p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.banner-green {
  background-color: var(--color-green-600);
}
.banner-purple {
  background-color: var(--color-purple);
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background-color: var(--color-light-gray-bg);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.process-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-white);
}
.process-step {
  width: 60px;
  height: 60px;
  background-color: var(--color-green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
}
.process-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-card p {
  color: var(--color-gray-600);
}

/* Testimonial Section (Carrossel) */
.testimonial-section {
  padding: 5rem 0;
}
.slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-container::-webkit-scrollbar {
  display: none;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#prev-slide {
  left: -22px;
}
#next-slide {
  right: -22px;
}
.review-card {
  flex: 0 0 380px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}
.review-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.author-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.author-initial.initial-l {
  background-color: var(--color-green-600);
}
.author-name {
  font-weight: 600;
}

/* About Section (Features) */
.about-section {
  padding: 5rem 0;
  background-color: #268cbb;
}
.about-section .section-title {
  color: white;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background-color: white;
  color: #268cbb;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Security Section */
.security-section {
  padding: 1rem 0;
  background-color: var(--color-light-gray-bg);
}
.security-section h3 {
  font-size: 1.5rem;
  padding-bottom: 1rem;
}
.payment-logos,
.security-logos {
  margin-bottom: 2rem;
}
.payment-logos img,
.security-logos img {
  max-width: 100%;
  height: auto;
}

.payment-logos img {
  max-width: 150px; /* Exemplo: A imagem nunca passará de 350px de largura */
  width: 100%; /* Faz a imagem ocupar 100% do seu container, até o limite de 350px */
  height: auto; /* Essencial para manter a proporção da imagem e não distorcer */
}
