/* ===== Cardiología Guía Completa — Theme CSS ===== */

:root {
	--background: #fbf9fd;
	--foreground: #1d1230;
	--card: #ffffff;
	--muted: #6b6480;
	--border: #ece7f4;
	--primary: #6a23b8;          /* roxo principal */
	--primary-2: #8b3fd6;
	--lilac: #c9a8f0;
	--lilac-soft: #ede2fb;
	--cta: #21a05a;              /* verde CTA */
	--cta-2: #168547;
	--shadow-card: 0 8px 24px -8px rgba(106, 35, 184, 0.18);
	--shadow-cta: 0 12px 28px -10px rgba(33, 160, 90, 0.55);
	--radius: 1rem;
	--radius-lg: 1.5rem;
	--radius-xl: 2rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	background: var(--background);
	color: var(--foreground);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	padding-bottom: 80px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-card); }
.strike { text-decoration: line-through; opacity: 0.7; }

.text-purple { background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-cta    { color: var(--cta); }
.text-dark   { color: var(--foreground); }

/* Icons */
.icon       { width: 24px; height: 24px; }
.icon-sm    { width: 18px; height: 18px; }
.icon-xs    { width: 14px; height: 14px; }
.icon-cta   { color: var(--cta); }

/* Topbar */
.topbar { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #ede2fb 0%, #f6efff 100%); padding: 60px 0 48px; overflow: hidden; }
.hero-ecg-bg { position: absolute; inset: 0; opacity: 0.06; color: var(--primary); pointer-events: none; }
.hero-ecg-bg svg { width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 720px; text-align: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary); box-shadow: var(--shadow-card); margin-bottom: 18px; }
.badge-cta { background: rgba(33, 160, 90, 0.12); color: var(--cta); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-title { font-size: clamp(36px, 7vw, 60px); }
.ecg-circle { position: relative; display: inline-block; margin-right: 10px; }
.ecg-circle span { position: relative; z-index: 1; padding: 0 4px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.ecg-circle::after { content: ""; position: absolute; inset: -6px -8px; border: 3px solid var(--cta); border-radius: 999px; }

.hero-sub { max-width: 540px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }

.hero-cover-wrap { position: relative; max-width: 360px; margin: 36px auto 0; }
.hero-cover { width: 100%; filter: drop-shadow(0 25px 35px rgba(106,35,184,0.25)); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.price-badge { position: absolute; top: 8px; right: -4px; width: 110px; height: 110px; transform: rotate(12deg); display: grid; place-items: center; }
.price-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--cta); filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)); }
.price-badge-text { position: relative; color: #fff; text-align: center; line-height: 1.1; }
.price-badge-text small { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.price-badge-text strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; }

.hero-asegura { margin-top: 36px; font-size: clamp(28px, 5vw, 38px); background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA Button */
.btn-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(135deg, var(--cta), var(--cta-2));
	color: #fff !important; text-decoration: none;
	padding: 18px 32px; border-radius: 999px;
	font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
	box-shadow: var(--shadow-cta);
	transition: transform 0.2s ease;
	width: 100%; max-width: 420px; margin-top: 24px;
	animation: pulseGlow 2.2s ease-out infinite;
}
.btn-cta:hover { transform: scale(1.02); }
@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 12px 28px -10px rgba(33,160,90,0.55), 0 0 0 0 rgba(33,160,90,0.4); }
	50%      { box-shadow: 0 12px 28px -10px rgba(33,160,90,0.55), 0 0 0 14px rgba(33,160,90,0); }
}

.hero-price-line { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-price-line strong { color: var(--cta); }

/* Wave divider */
.wave-divider { line-height: 0; margin-top: 30px; }
.wave-divider svg { width: 100%; height: 60px; display: block; }
.wave-divider svg path { fill: var(--background); }
.bg-lilac + .section .wave-divider svg path,
.section .wave-divider svg path { fill: var(--background); }

/* Section base */
.section { padding: 72px 0; }
.bg-lilac { background: var(--lilac-soft); }
.section-title { text-align: center; font-size: clamp(28px, 4.5vw, 40px); background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { max-width: 540px; margin: 12px auto 0; color: var(--muted); }

/* Grid */
.grid { display: grid; gap: 22px; margin-top: 36px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-center { align-items: center; }
@media (min-width: 720px) {
	.grid-2 { grid-template-columns: 1fr 1fr; }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Cards */
.card { background: var(--card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); transition: transform 0.2s ease; }
.card:hover { transform: translateY(-4px); }
.card-center { text-align: center; }
.card h3 { font-size: 18px; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow-card); }
.card-icon-circle { width: 48px; height: 48px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { display: flex; gap: 8px; padding: 6px 0; font-size: 14px; }
.check-list .arrow { color: var(--cta); font-weight: 800; }

/* Bonus */
.bonus-card { position: relative; max-width: 620px; margin: 36px auto 0; background: var(--card); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-card); overflow: hidden; }
.bonus-card img { border-radius: var(--radius-lg); margin: 0 auto; max-width: 420px; }
.bonus-card h3 { margin-top: 22px; font-size: 24px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bonus-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.bonus-stamp { position: absolute; top: -10px; right: -10px; background: var(--cta); color: #fff; padding: 8px 22px; transform: rotate(12deg); border-radius: 999px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow-cta); }

/* For You */
.foryou-title { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; }
.foryou-title + p { margin-top: 18px; color: var(--muted); }

/* Gallery */
.gallery { position: relative; max-width: 360px; margin: 36px auto 0; }
.phone-frame { background: #1d1230; border-radius: 2.5rem; padding: 10px; box-shadow: var(--shadow-card); }
.phone-frame img { width: 100%; height: 480px; object-fit: cover; border-radius: 2rem; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--card); border: none; padding: 12px; border-radius: 999px; box-shadow: var(--shadow-card); cursor: pointer; color: var(--primary); transition: transform 0.2s; }
.gallery-btn:hover { transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.gallery-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(106,35,184,0.3); border: none; cursor: pointer; transition: all 0.2s; padding: 0; }
.gallery-dot.active { width: 32px; background: var(--primary); }

/* Guarantee */
.seal { width: 160px; height: 160px; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); }

/* Offer */
.offer-card { padding: 4px; border-radius: 2rem; background: linear-gradient(135deg, var(--cta), var(--primary)); box-shadow: var(--shadow-cta); }
.offer-inner { background: linear-gradient(180deg, var(--lilac-soft), var(--card)); border-radius: 1.85rem; padding: 36px 28px; text-align: center; }
.offer-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); }
.offer-cover { width: auto; height: 220px; margin: 24px auto 0; filter: drop-shadow(0 18px 28px rgba(0,0,0,0.2)); }
.offer-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 360px; text-align: left; }
.offer-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.offer-price { margin-top: 28px; }
.offer-old { color: var(--muted); font-size: 14px; }
.offer-new { font-size: clamp(48px, 10vw, 64px); font-weight: 900; color: var(--cta); line-height: 1; margin-top: 4px; }
.trust-row { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: 12px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }

/* FAQ */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border-radius: 1rem; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; font-family: inherit; color: inherit; }
.faq-chevron { color: var(--primary); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }

/* Footer */
.site-footer { background: var(--foreground); color: rgba(255,255,255,0.8); padding: 40px 0; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid rgba(255,255,255,0.15); border-radius: 1rem; font-weight: 800; letter-spacing: 0.18em; }
.footer-links { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* Sticky CTA Mobile */
.sticky-cta {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 18px; border-radius: 999px;
	background: linear-gradient(135deg, var(--cta), var(--cta-2));
	color: #fff !important; text-decoration: none;
	box-shadow: var(--shadow-cta);
	font-weight: 700; font-size: 14px;
}
.sticky-price { display: flex; flex-direction: column; line-height: 1; }
.sticky-price small { font-size: 10px; text-transform: uppercase; opacity: 0.8; }
.sticky-price strong { font-size: 18px; margin-top: 2px; }
.sticky-text { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
