.eb {
	--eb-primary: #0a6966;
	--eb-primary-dark: #064d4b;
	--eb-primary-soft: #e6f4f3;
	--eb-accent: #f4b740;
	--eb-ink: #1f2d3d;
	--eb-muted: #6b7a89;
	--eb-line: #dfe7ee;
	--eb-danger: #d64545;
	--eb-radius: 16px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 24px 15px 48px;
	color: var(--eb-ink);
	font-size: 15px;
	line-height: 1.55;
}

.eb *, .eb *::before, .eb *::after { box-sizing: border-box; }
.eb [hidden] { display: none !important; }
.eb button, .eb input { font-family: inherit; }
.eb h1, .eb h2, .eb h3 { font-family: inherit; color: var(--eb-ink); margin: 0; }

/* Header */
.eb-header {
	background: #227875;
}
.eb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1170px;
	min-height: 78px;
	margin: 0 auto;
	padding: 5px 15px;
}
.eb-header__brand {
	display: block;
	flex: 0 1 260px;
	line-height: 0;
}
.eb-header__brand img {
	display: block;
	width: 100%;
	height: auto;
}
.eb-header__nav {
	display: flex;
	align-items: center;
	gap: 22px;
}
.eb-header__nav a {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
.eb-header__nav a:hover,
.eb-header__nav a:focus {
	color: #e6f4f3;
	text-decoration: underline;
}

/* Hero */
.eb-hero {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: 44px 40px;
	color: #fff;
	background: linear-gradient(135deg, var(--eb-primary-dark) 0%, var(--eb-primary) 55%, #1b9a8f 100%);
	box-shadow: 0 18px 40px rgba(10, 105, 102, .25);
}
.eb-hero::before, .eb-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
}
.eb-hero::before { width: 320px; height: 320px; right: -80px; top: -120px; }
.eb-hero::after { width: 200px; height: 200px; right: 140px; bottom: -110px; }
.eb-hero__inner { position: relative; z-index: 1; }
.eb-hero h1 { color: #fff; font-size: 25px; line-height: 1.25; margin: 14px 0 12px; }
.eb-hero p { font-size: 16px; opacity: .93; margin: 0 0 22px; }
.eb-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	font-size: 13px;
	letter-spacing: .02em;
}
.eb-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.eb-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.eb-points span {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--eb-accent); color: #4a3300; font-weight: 700; font-size: 13px;
}

/* Wizard card */
.eb-card {
	margin-top: -26px;
	position: relative;
	z-index: 2;
	background: #fff;
	border: 1px solid var(--eb-line);
	border-radius: 22px;
	padding: 28px 32px 34px;
	box-shadow: 0 14px 34px rgba(31, 45, 61, .08);
}
.eb-steps {
	list-style: none; margin: 0 0 26px; padding: 0;
	display: flex; gap: 10px;
}
.eb-steps li {
	flex: 1;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #f3f6f9;
	color: var(--eb-muted);
	font-size: 14px;
	transition: background .25s, color .25s, box-shadow .25s;
}
.eb-steps li span {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: #dbe3ea; color: #fff; font-weight: 700; font-size: 13px;
	transition: background .25s;
}
.eb-steps li.is-active { background: var(--eb-primary-soft); color: var(--eb-primary-dark); box-shadow: inset 0 0 0 1.5px var(--eb-primary); }
.eb-steps li.is-active span { background: var(--eb-primary); }
.eb-steps li.is-done { color: var(--eb-primary-dark); }
.eb-steps li.is-done span { background: #3fae9f; }

.eb-panel { animation: eb-rise .4s ease both; }
.eb-panel + .eb-panel { margin-top: 30px; padding-top: 28px; border-top: 1px dashed var(--eb-line); }
.eb-panel > h2 { font-size: 22px; margin-bottom: 18px; }

@keyframes eb-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* Shared selectable look */
.eb-check {
	position: absolute; top: 10px; right: 10px;
	font-size: 20px; color: var(--eb-primary);
	opacity: 0; transform: scale(.4);
	transition: opacity .2s, transform .25s cubic-bezier(.2, 1.6, .4, 1);
}
.is-selected > .eb-check { opacity: 1; transform: scale(1); }

/* Mode buttons */
.eb-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.eb-mode {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: 24px 24px 22px;
	text-align: left;
	background: #fff;
	border: 2px solid var(--eb-line);
	border-radius: var(--eb-radius);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.eb-mode:hover { transform: translateY(-4px); border-color: #8fcfc8; box-shadow: 0 14px 28px rgba(10, 105, 102, .14); }
.eb-mode:active { transform: translateY(-1px) scale(.99); }
.eb-mode.is-selected { border-color: var(--eb-primary); background: var(--eb-primary-soft); box-shadow: 0 10px 24px rgba(10, 105, 102, .18); }
.eb-mode__icon {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	min-width: 54px; height: 54px; padding: 0 12px; margin-bottom: 8px;
	border-radius: 14px; font-size: 24px;
	background: var(--eb-primary-soft); color: var(--eb-primary);
	transition: background .2s, color .2s, transform .25s;
}
.eb-mode:hover .eb-mode__icon { transform: rotate(-6deg) scale(1.06); }
.eb-mode.is-selected .eb-mode__icon { background: var(--eb-primary); color: #fff; }
.eb-mode__title { font-size: 18px; font-weight: 700; color: var(--eb-ink); }
.eb-mode__text { font-size: 14px; color: var(--eb-muted); }

/* Date + time buttons */
.eb-sessions, .eb-col .eb-group { margin-top: 20px; }
.eb-group__title, .eb-col__title { font-size: 17px; margin-bottom: 8px; }
.eb-col__title i { color: var(--eb-primary); }
.eb-hint { color: var(--eb-muted); font-size: 14px; margin: 0 0 12px; }
.eb-hint--top { margin-bottom: 18px; }
.eb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.eb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.eb-col { padding: 20px; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: #fafcfd; }
.eb-sessions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.eb-date {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 14px 8px 12px;
	background: #fff;
	border: 2px solid var(--eb-line);
	border-radius: 14px;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s;
}
.eb-date__day { font-size: 30px; font-weight: 700; line-height: 1; color: var(--eb-primary); }
.eb-date__month { margin-top: 4px; font-size: 14px; font-weight: 700; }
.eb-date__wd { font-size: 12px; color: var(--eb-muted); }
.eb-date:hover:not(:disabled) { transform: translateY(-3px); border-color: #8fcfc8; box-shadow: 0 10px 20px rgba(10, 105, 102, .15); }
.eb-date:active:not(:disabled) { transform: scale(.97); }
.eb-date.is-selected { background: var(--eb-primary); border-color: var(--eb-primary); color: #fff; box-shadow: 0 10px 22px rgba(10, 105, 102, .3); }
.eb-date.is-selected .eb-date__day, .eb-date.is-selected .eb-date__wd { color: #fff; }
.eb-date .eb-check { top: 6px; right: 6px; font-size: 16px; }
.eb-date.is-selected .eb-check { color: var(--eb-accent); }

.eb-times { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.eb-time {
	position: relative;
	display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center;
	padding: 10px 40px 10px 16px;
	background: #fff;
	border: 2px solid var(--eb-line);
	border-radius: 12px;
	text-align: left;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.eb-time > i.fa-clock-o { grid-row: span 2; font-size: 20px; color: var(--eb-primary); }
.eb-time strong { font-size: 18px; line-height: 1.1; }
.eb-time small { color: var(--eb-muted); font-size: 12px; grid-column: 2; }
.eb-time .eb-check { top: 50%; right: 12px; margin-top: -10px; }
.eb-time:hover:not(:disabled) { transform: translateY(-2px); border-color: #8fcfc8; box-shadow: 0 8px 16px rgba(10, 105, 102, .14); }
.eb-time.is-selected { border-color: var(--eb-primary); background: var(--eb-primary-soft); }

.eb-date.is-disabled, .eb-time.is-disabled { opacity: .45; cursor: not-allowed; background: #f3f6f9; }

.eb button:focus-visible, .eb input:focus-visible { outline: 3px solid rgba(244, 183, 64, .8); outline-offset: 2px; }

/* Empty state */
.eb-empty {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 34px 20px; text-align: center;
	border: 2px dashed #f0c9c9; border-radius: var(--eb-radius); background: #fff8f8;
	color: #8a3b3b;
}
.eb-empty i { font-size: 38px; color: var(--eb-danger); margin-bottom: 6px; }
.eb-empty strong { font-size: 17px; }
.eb-empty span { color: var(--eb-muted); }

/* Details */
.eb-details { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.eb-summary {
	padding: 20px; border-radius: var(--eb-radius);
	background: linear-gradient(160deg, var(--eb-primary-soft), #f6fbfa);
	border: 1px solid #bfe3df;
}
.eb-summary__title { font-size: 16px; margin-bottom: 10px; }
.eb-summary__row { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid #cfe8e5; }
.eb-summary__row:first-of-type { border-top: 0; }
.eb-summary__label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--eb-muted); }
.eb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.eb-field { display: block; margin: 0; font-weight: normal; }
.eb-field__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.eb-field input {
	width: 100%; height: 50px; padding: 0 16px;
	font-size: 16px; color: var(--eb-ink);
	background: #fff; border: 2px solid var(--eb-line); border-radius: 12px;
	transition: border-color .2s, box-shadow .2s;
}
.eb-field input:hover { border-color: #b7d9d5; }
.eb-field input:focus { outline: 0; border-color: var(--eb-primary); box-shadow: 0 0 0 4px rgba(10, 105, 102, .14); }
.eb-field.has-error input { border-color: var(--eb-danger); box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
.eb-field__error { display: block; min-height: 20px; margin-top: 4px; font-size: 13px; color: var(--eb-danger); }
.eb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eb-alert {
	margin: 6px 0 14px; padding: 12px 16px;
	border-radius: 12px; border: 1px solid #f0b8b8; background: #fff1f1; color: #8f2d2d;
}

.eb-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 220px; height: 54px; padding: 0 30px; margin-top: 8px;
	font-size: 17px; font-weight: 700; color: #fff;
	background: linear-gradient(135deg, var(--eb-primary), #1b9a8f);
	border: 0; border-radius: 14px; cursor: pointer;
	box-shadow: 0 10px 22px rgba(10, 105, 102, .3);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s;
}
.eb-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(10, 105, 102, .38); filter: brightness(1.05); }
.eb-submit:active:not(:disabled) { transform: scale(.98); }
.eb-submit:disabled { opacity: .7; cursor: wait; }
.eb-submit.is-loading i { animation: eb-fly 1s ease-in-out infinite; }
.eb-submit--ghost { background: #fff; color: var(--eb-primary); border: 2px solid var(--eb-primary); box-shadow: none; }
@keyframes eb-fly { 50% { transform: translate(5px, -5px); } }

/* Success */
.eb-success { text-align: center; padding: 18px 0 6px; animation: eb-rise .45s ease both; }
.eb-success__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 84px; height: 84px; margin-bottom: 14px; border-radius: 50%;
	font-size: 38px; color: #fff; background: linear-gradient(135deg, var(--eb-primary), #3fae9f);
	box-shadow: 0 0 0 10px rgba(10, 105, 102, .12);
	animation: eb-pop .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes eb-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.eb-success h2 { font-size: 26px; margin-bottom: 8px; }
.eb-success p { color: var(--eb-muted); max-width: 560px; margin: 0 auto 20px; }
.eb-success .eb-summary { max-width: 420px; margin: 0 auto 18px; text-align: left; }

/* Outro */
.eb-outro { margin-top: 40px; }
.eb-outro > h2 { font-size: 24px; margin-bottom: 18px; }
.eb-outro__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eb-info {
	padding: 24px; background: #fff; border: 1px solid var(--eb-line); border-radius: var(--eb-radius);
	transition: transform .2s ease, box-shadow .2s ease;
}
.eb-info:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 45, 61, .09); }
.eb-info > i { font-size: 26px; color: var(--eb-primary); margin-bottom: 12px; }
.eb-info h3 { font-size: 17px; margin-bottom: 6px; }
.eb-info p { margin: 0; color: var(--eb-muted); }

@media (max-width: 900px) {
	.eb-header__inner { gap: 16px; }
	.eb-header__brand { flex-basis: 220px; }
	.eb-header__nav { gap: 14px; }
	.eb-details, .eb-cols, .eb-sessions { grid-template-columns: 1fr; }
	.eb-outro__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.eb-header__inner { flex-direction: column; gap: 8px; padding: 8px 12px 12px; }
	.eb-header__brand { flex-basis: auto; width: 210px; }
	.eb-header__nav { flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; }
	.eb { padding: 14px 10px 36px; }
	.eb-hero { padding: 28px 22px; border-radius: 18px; }
	.eb-hero h1 { font-size: 25px; }
	.eb-card { padding: 20px 16px 26px; margin-top: -20px; }
	.eb-steps li { justify-content: center; padding: 8px; font-size: 0; gap: 0; }
	.eb-steps li span { font-size: 13px; }
	.eb-steps li.is-active { font-size: 13px; gap: 8px; }
	.eb-modes, .eb-form-grid { grid-template-columns: 1fr; }
	.eb-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.eb *, .eb *::before, .eb *::after { animation: none !important; transition: none !important; }
}
