/* =====================================================================
   Cielo Blocks — front-end stylesheet (compiled, no build needed)
   ===================================================================== */

:root {
	--cielo-navy-dark: #375476;
	--cielo-navy-mid:  #435c88;
	--cielo-navy-light:#7a9bc0;
	--cielo-sky-light: #c8daf0;
	--cielo-sky-white: #f6f9fa;
	--cielo-yellow:    #ffec19;
	--cielo-cream:     #f5f0e8;
	--cielo-ink:       #2b3f5c;
	--cielo-ink-mid:   #435c88;
	--cielo-ink-light: #7a9bc0;
	--cielo-grad-hero: linear-gradient(165deg, #375476 0%, #435c88 38%, #7a9bc0 70%, #f6f9fa 100%);
	--cielo-grad-box:  linear-gradient(175deg, #c8daf0 0%, #f6f9fa 100%);
}

@keyframes cielo-twinkle  { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.72); } }
@keyframes cielo-float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cielo-cta-pulse { 0%,100% { box-shadow: 0 4px 20px rgba(255,236,25,.45); } 50% { box-shadow: 0 4px 40px rgba(255,236,25,.9), 0 0 0 8px rgba(255,236,25,.14); } }
@keyframes cielo-glow     { 0%,100% { filter: drop-shadow(0 0 4px #ffec19) drop-shadow(0 0 8px rgba(255,236,25,.6)); } 50% { filter: drop-shadow(0 0 10px #ffec19) drop-shadow(0 0 20px rgba(255,236,25,.9)); } }

/* ── Banner ────────────────────────────────────────────── */
.cielo-banner {
	background: var(--cielo-yellow);
	color: var(--cielo-navy-dark);
	text-align: center;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

/* ── Hero ──────────────────────────────────────────────── */
.cielo-hero {
	background: var(--cielo-grad-hero);
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px);
}
.cielo-hero__inner { max-width: 1200px; margin: 0 auto; position: relative; }
.cielo-hero__label {
	font-size: 11px; font-weight: 700; letter-spacing: .15em;
	text-transform: uppercase; color: var(--cielo-yellow); margin-bottom: 16px;
}
.cielo-hero__h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 700; line-height: 1.2; color: #fff;
	margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.cielo-hero__h1-yellow { color: var(--cielo-yellow); }
.cielo-hero__sub {
	font-size: clamp(14px, 1.5vw, 18px); color: rgba(255,255,255,.82);
	line-height: 1.7; margin-bottom: 32px; max-width: 460px;
	white-space: pre-line;
}
.cielo-hero__cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--cielo-yellow); color: var(--cielo-navy-dark);
	border: none; border-radius: 99px; padding: 16px 40px;
	font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none;
	animation: cielo-cta-pulse 2.8s 1.6s ease-in-out infinite;
}

/* ── Trust Bar ─────────────────────────────────────────── */
.cielo-trust {
	background: var(--cielo-cream);
	border-bottom: 3px solid var(--cielo-yellow);
}
.cielo-trust__grid {
	max-width: 1200px; margin: 0 auto; padding: 20px 24px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.cielo-trust__item {
	background: none; border: none; cursor: pointer; padding: 8px 4px;
	border-radius: 10px; display: flex; flex-direction: column;
	align-items: center; gap: 6px; text-align: center;
}
.cielo-trust__item:hover { background: rgba(55,84,118,.08); }
.cielo-trust__icon { font-size: 24px; }
.cielo-trust__label {
	font-size: 11px; font-weight: 700; color: var(--cielo-ink);
	line-height: 1.4; white-space: pre-line;
}
.cielo-trust__more { font-size: 9px; color: var(--cielo-ink-light); }
.cielo-trust-popup { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.cielo-trust-popup[data-open="true"] { display: flex; }
.cielo-trust-popup__backdrop { position: absolute; inset: 0; background: rgba(5,10,30,.6); backdrop-filter: blur(3px); }
.cielo-trust-popup__panel { position: relative; background: #fff; border-radius: 18px; padding: 28px; max-width: 420px; width: 100%; box-shadow: 0 8px 60px rgba(0,0,0,.25); }
.cielo-trust-popup__icon { font-size: 28px; margin-bottom: 8px; }
.cielo-trust-popup__title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--cielo-ink); margin-bottom: 14px; }
.cielo-trust-popup__body  { font-size: 14px; color: var(--cielo-ink-mid); line-height: 1.7; }
.cielo-trust-popup__close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--cielo-ink-light); }

/* ── Glow Intro ────────────────────────────────────────── */
.cielo-glow-intro {
	background: #060b18; padding: 72px 32px; text-align: center; color: #fff;
	background-image: radial-gradient(ellipse 60% 60% at 50% 50%, #0d1a38 0%, #060b18 100%);
}
.cielo-glow-intro__question {
	font-size: clamp(13px, 2vw, 15px); font-weight: 700;
	letter-spacing: .15em; text-transform: uppercase;
	color: var(--cielo-yellow); margin-bottom: 20px;
}
.cielo-glow-intro__ceiling {
	position: relative; max-width: 900px; margin: 0 auto 28px;
	height: 240px; border-radius: 20px;
	background: linear-gradient(to bottom, #040810 0%, #0a1228 100%);
	overflow: hidden; box-shadow: inset 0 0 60px rgba(0,0,0,.8);
}
.cielo-glow-intro__moon {
	position: absolute; left: 8%; top: 12%; font-size: 48px;
	filter: drop-shadow(0 0 12px rgba(245,200,39,.6));
	opacity: 0; transition: opacity 1s ease;
}
.cielo-glow-intro[data-state="lights-out"] .cielo-glow-intro__moon,
.cielo-glow-intro[data-state="stars-in"]   .cielo-glow-intro__moon,
.cielo-glow-intro[data-state="glowing"]    .cielo-glow-intro__moon { opacity: .9; }

.cielo-glow-intro__star {
	position: absolute; width: 10px; height: 10px;
	background: var(--cielo-yellow);
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	opacity: 0; transform: scale(0);
	transition: opacity .4s ease, transform .4s ease;
	transition-delay: calc(var(--i) * .09s);
}
.cielo-glow-intro[data-state="stars-in"] .cielo-glow-intro__star,
.cielo-glow-intro[data-state="glowing"]  .cielo-glow-intro__star { opacity: 1; transform: scale(1); }
.cielo-glow-intro[data-state="glowing"]  .cielo-glow-intro__star { animation: cielo-glow 2s ease-in-out infinite; }

.cielo-glow-intro__lights-off {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(240,244,250,.92); color: var(--cielo-navy-dark);
	font-size: 18px; font-weight: 700; transition: background 1.2s ease, opacity .4s ease;
}
.cielo-glow-intro[data-state="lights-out"] .cielo-glow-intro__lights-off,
.cielo-glow-intro[data-state="stars-in"]   .cielo-glow-intro__lights-off,
.cielo-glow-intro[data-state="glowing"]    .cielo-glow-intro__lights-off { background: rgba(6,11,24,0); opacity: 0; }

.cielo-glow-intro__tagline {
	font-family: 'Playfair Display', serif;
	font-size: clamp(22px, 3vw, 34px); font-weight: 700;
	color: #fff; margin-bottom: 12px;
}
.cielo-glow-intro__sub {
	font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7;
	max-width: 480px; margin: 0 auto;
}

/* ── How It Works ──────────────────────────────────────── */
.cielo-how { background: var(--cielo-grad-hero); padding: 72px 0; color: #fff; position: relative; overflow: hidden; }
.cielo-how__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.cielo-how__label { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--cielo-yellow); margin-bottom: 8px; }
.cielo-how__title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 700; margin-bottom: 52px; }
.cielo-how__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.cielo-how__step  { text-align: center; }
.cielo-how__circle { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; background: rgba(27,52,104,.6); border: 2px solid rgba(255,255,255,.22); }
.cielo-how__circle--0 { background: rgba(255,236,25,.12); border-color: rgba(255,236,25,.4); box-shadow: 0 0 20px rgba(255,236,25,.3); }
.cielo-how__num { width: 32px; height: 32px; border-radius: 50%; background: var(--cielo-yellow); color: var(--cielo-navy-dark); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; margin: -28px auto 14px; position: relative; }
.cielo-how__step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cielo-how__step-text  { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.65; max-width: 220px; margin: 0 auto; }

/* ── Zodiac ────────────────────────────────────────────── */
.cielo-zodiac { background: #f6f1e9; padding: 64px 0; }
.cielo-zodiac__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cielo-zodiac__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cielo-navy-mid); margin-bottom: 8px; }
.cielo-zodiac__title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--cielo-ink); margin-bottom: 8px; }
.cielo-zodiac__sub   { font-size: 14px; color: var(--cielo-ink-light); max-width: 480px; margin: 0 auto 36px; line-height: 1.6; }
.cielo-zodiac__grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.cielo-zodiac__cell  { background: #fff; border: 2px solid rgba(55,84,118,.12); border-radius: 14px; padding: 14px 8px; cursor: pointer; min-height: 88px; transition: all .2s ease; display: flex; flex-direction: column; align-items: center; }
.cielo-zodiac__cell:hover { background: var(--cielo-yellow); border-color: var(--cielo-yellow); }
.cielo-zodiac__sym   { font-size: 22px; color: var(--cielo-navy-mid); margin-bottom: 4px; font-family: serif; }
.cielo-zodiac__name  { font-size: 11px; font-weight: 700; color: var(--cielo-ink); }
.cielo-zodiac__dates { font-size: 9px; color: var(--cielo-ink-light); margin-top: 2px; }
.cielo-zodiac-modal  { position: fixed; inset: 0; z-index: 600; display: none; align-items: center; justify-content: center; padding: 16px; }
.cielo-zodiac-modal[data-open="true"] { display: flex; }
.cielo-zodiac-modal__backdrop { position: absolute; inset: 0; background: rgba(5,10,30,.8); backdrop-filter: blur(4px); }
.cielo-zodiac-modal__panel { position: relative; max-width: 700px; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.cielo-zodiac-modal__panel img { width: 100%; display: block; }
.cielo-zodiac-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.3); color: #fff; font-size: 20px; cursor: pointer; }

/* ── Gift ──────────────────────────────────────────────── */
.cielo-gift { background: var(--cielo-cream); padding: 64px 0; }
.cielo-gift__inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; align-items: center; }
.cielo-gift__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cielo-navy-mid); margin-bottom: 8px; }
.cielo-gift__title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--cielo-ink); margin-bottom: 12px; line-height: 1.3; }
.cielo-gift__sub   { font-size: 15px; color: var(--cielo-ink-mid); line-height: 1.7; margin-bottom: 28px; }
.cielo-gift__cta   { display: inline-block; background: var(--cielo-navy-dark); color: var(--cielo-yellow); border-radius: 99px; padding: 15px 32px; font-size: 15px; font-weight: 700; text-decoration: none; }
.cielo-gift__grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cielo-gift__cell  { background: #fff; border-radius: 14px; padding: 20px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 10px rgba(27,52,104,.08); }
.cielo-gift__icon  { font-size: 32px; }
.cielo-gift__name  { font-size: 15px; font-weight: 700; color: var(--cielo-ink); }

/* ── Reviews ───────────────────────────────────────────── */
.cielo-reviews { background: #fff; padding: 64px 0; }
.cielo-reviews__inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.cielo-reviews__title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--cielo-ink); text-align: center; margin-bottom: 32px; }
.cielo-reviews__grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cielo-reviews__card  { background: var(--cielo-cream); border-radius: 14px; padding: 24px; border-left: 3px solid var(--cielo-yellow); margin: 0; }
.cielo-reviews__stars { color: var(--cielo-yellow); font-size: 16px; margin-bottom: 10px; }
.cielo-reviews__quote { font-size: 14px; color: var(--cielo-ink); line-height: 1.65; margin: 0 0 10px; font-style: italic; }
.cielo-reviews__author{ font-size: 12px; font-weight: 700; color: var(--cielo-ink-mid); }

/* ── Contact CTA ───────────────────────────────────────── */
.cielo-contact-cta { background: var(--cielo-grad-hero); padding: 64px 24px; text-align: center; color: #fff; }
.cielo-contact-cta__title { font-family: 'Playfair Display', serif; font-size: clamp(20px, 3vw, 30px); font-weight: 700; margin-bottom: 10px; }
.cielo-contact-cta__sub   { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 28px; line-height: 1.6; }
.cielo-contact-cta__phone { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 380px; margin: 0 auto 14px; background: #fff; color: var(--cielo-navy-dark); border-radius: 99px; padding: 16px 32px; font-size: 17px; font-weight: 700; text-decoration: none; }
.cielo-contact-cta__email { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 380px; margin: 0 auto; background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; border-radius: 99px; padding: 14px 32px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 760px) {
	.cielo-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.cielo-hero__h1    { font-size: 30px; }
}
