/* 
  Design System - Clone Caligrafia
  Clean, minimal, high-conversion modern layout.
*/

:root {
  /* Colors */
  --c-primary: #22C55E; /* Green CTA */
  --c-primary-hover: #16A34A;
  --c-text-main: #1F2937;
  --c-text-muted: #6B7280;
  --c-blue: #3B82F6;
  --c-orange: #F97316;
  --c-red: #EF4444;
  --c-green: #10B981;
  --c-bg-light: #F9FAFB;
  --c-bg-white: #FFFFFF;
  --c-bg-orange-soft: #FFF7ED; /* For bonus section */
  --c-border: #E5E7EB;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Styling */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--c-text-main);
  background-color: var(--c-bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text-main);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

.text-center { text-align: center; }
.text-blue { color: var(--c-blue); }
.text-orange { color: var(--c-orange); }
.text-green { color: var(--c-green); }
.text-red { color: var(--c-red); }
.text-muted { color: var(--c-text-muted); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.bg-orange-soft { background-color: var(--c-bg-orange-soft); }
.bg-light { background-color: var(--c-bg-light); }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background-color: var(--c-primary);
  color: #fff;
  padding: 16px 32px;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
}
.btn-primary:hover {
  background-color: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(34, 197, 94, 0.4);
}
.w-full { width: 100%; }

/* Placeholders */
.image-placeholder {
  background-color: var(--c-bg-light);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

/* --- Sections --- */

/* Hero */
.hero {
  padding-top: 32px;
  padding-bottom: 64px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F9FAFB 45%, #FFF7ED 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(59,130,246,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(249,115,22,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: block;
  text-align: center;
  color: #fff;
  background-color: var(--c-orange);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--c-text-main);
  margin-bottom: 32px;
  max-width: 600px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.85);
  border-left: 4px solid var(--c-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  line-height: 1.65;
}
.hero-subtitle strong {
  color: var(--c-text-main);
  font-weight: 700;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-content { padding-right: 32px; }
}
.hero-banner-placeholder {
  width: 100%;
  height: 300px;
  margin-top: 64px;
}
@media (min-width: 768px) {
  .hero-banner-placeholder { height: 500px; }
}

/* Palavras com destaque no headline */
.word-highlight-green {
  color: var(--c-green);
  font-weight: 900;
  font-style: italic;
}
.word-highlight-marker {
  background: linear-gradient(to bottom, transparent 55%, rgba(251,191,36,0.4) 55%);
  padding-bottom: 2px;
  font-weight: 900;
}

/* Material Prático (Photos) */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}
.section-title-wrapper {
  text-align: center;
  margin-bottom: 48px;
}
.section-title-wrapper .section-title {
  margin-bottom: 12px;
}
.section-title-accent {
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-green));
  border-radius: 2px;
  margin: 0 auto;
}
.material-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .material-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.material-grid .image-placeholder { height: 250px; }

/* Features (Tudo que vai desenvolver) */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.feature-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 32px;
  height: 32px;
  background: #EFF6FF; /* light blue */
  color: var(--c-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Como Funciona */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  align-items: center;
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
  gap: 24px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.step-item:nth-child(2) .step-number { background: var(--c-orange); }
.step-item:nth-child(3) .step-number { background: #EAB308; /* yellow */ }
.step-item:nth-child(4) .step-number { background: var(--c-green); }

.step-text {
  font-weight: 600;
  font-size: 1.125rem;
}

/* O que voce vai receber & Bônus */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; }
}
.check-list {
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: var(--c-text-main);
  font-weight: 500;
}
.check-list li svg {
  color: var(--c-green);
  flex-shrink: 0;
}

/* Numered list for bonus */
.bonus-list { list-style: none; counter-reset: bonus-counter; }
.bonus-list li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}
.bonus-list li::before {
  counter-increment: bonus-counter;
  content: counter(bonus-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--c-bg-orange-soft);
  color: var(--c-orange);
  border: 1px solid var(--c-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.bonus-list h4 { margin-bottom: 4px; font-size: 1.125rem; }
.bonus-list p { color: var(--c-text-muted); font-size: 0.95rem; }

/* Antes e Depois */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .comparison-container { grid-template-columns: 1fr 1fr; }
}
.comp-box {
  background: var(--c-bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.comp-box.bad {
  border: 1px solid #FECACA;
}
.comp-box.good {
  border: 1px solid #A7F3D0;
  background: #F0FDF4; /* Very light green bg for emphasis */
}
.comp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: 800;
}
.comp-box.bad .comp-header { color: var(--c-red); }
.comp-box.good .comp-header { color: var(--c-green); }
.comp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.comp-box.bad .comp-icon { background: var(--c-red); }
.comp-box.good .comp-icon { background: var(--c-green); }

.comp-list { list-style: none; }
.comp-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-weight: 500;
  color: var(--c-text-muted);
}
.comp-box.good .comp-list li { color: var(--c-text-main); font-weight: 600; border-bottom-color: #D1FAE5; }
.comp-list li:last-child { border-bottom: none; }

/* Depoimentos */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--c-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--c-blue);
}
.testimonial-stars { color: #FBBF24; letter-spacing: 2px; font-size: 0.875rem; margin-bottom: 4px; }
.testimonial-name { font-weight: 700; font-size: 1rem; }
.testimonial-text { color: var(--c-text-muted); font-size: 0.95rem; }

/* Para Quem É */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
}
.who-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.who-card svg { color: var(--c-blue); }

/* Garantia */
.guarantee-box {
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.guarantee-icon {
  width: 64px;
  height: 64px;
  background: var(--c-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.guarantee-box h3 { font-size: 1.5rem; margin-bottom: 12px; }
.guarantee-box p { color: var(--c-text-muted); }

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-bg-white);
  overflow: hidden;
}
.faq-header {
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-main);
}
.faq-icon {
  color: var(--c-blue);
  transition: transform 0.2s;
}
.faq-header[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--c-text-muted);
}
.faq-header[aria-expanded="true"] + .faq-content {
  padding-bottom: 16px;
}

/* Oferta Final */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
.offer-box {
  background: var(--c-bg-white);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.offer-box.highlight {
  border-color: var(--c-green);
  box-shadow: var(--shadow-lg);
  transform: scale(1);
}
@media (min-width: 768px) {
  .offer-box.highlight { transform: scale(1.05); z-index: 10; }
}
.offer-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-green);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.offer-box h3 {
  color: var(--c-blue);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.offer-box .check-list {
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}
.offer-box .check-list li {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.offer-price-label {
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.offer-price-label del {
  color: var(--c-red);
  margin-right: 8px;
}
.offer-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-text-main);
  line-height: 1;
  margin-bottom: 24px;
}
.offer-box.highlight .offer-price { color: var(--c-green); font-size: 3rem; }

/* Footer */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}
.footer-links a:hover { color: var(--c-blue); text-decoration: underline; }

/* Modal Order Bump */
.modal {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 90%;
  width: 550px;
}
.modal::backdrop {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(4px);
}
.modal-content {
  background: var(--c-bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--c-border);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--c-text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--c-bg-light); color: var(--c-text-main); }
.modal-eyebrow {
  color: var(--c-red);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
.modal .check-list {
  text-align: left;
  margin-bottom: 24px;
  background: var(--c-bg-light);
  padding: 16px;
  border-radius: var(--radius-md);
}
.modal .check-list li {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.modal .check-list li:last-child { margin-bottom: 0; }
.modal-price-box {
  background: #FFF7ED; /* Soft orange */
  border: 1px dashed var(--c-orange);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--c-text-main);
}
.modal-price-box span { text-decoration: line-through; color: var(--c-text-muted); font-weight: 400; }
.modal-urgency {
  font-size: 0.85rem;
  color: var(--c-red);
  font-weight: 600;
  margin-bottom: 16px;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.btn-decline {
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  text-decoration: underline;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 8px;
}
.btn-decline:hover { color: var(--c-text-main); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-bg-white);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 1000;
  padding: 16px;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (min-width: 768px) {
  .cookie-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
