/* ==========================================================================
   farol-do-lago — PrestaShop-generated markup overrides
   Loaded after main.css; brings alerts, forms, breadcrumb, RTE and stubs
   into the preview design system.
   ========================================================================== */

/* ---------- Alerts (errors.tpl / controller messages) ---------- */
.ps-alert {
	border: 1px solid rgba(31, 74, 82, 0.18);
	border-left: 3px solid var(--teal, #1f4a52);
	background: #fff;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin: 1rem 0;
	font-size: 0.95rem;
	line-height: 1.6;
}
.ps-alert ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.ps-alert__title { font-weight: 600; margin: 0 0 0.25rem; }
.ps-alert__back { margin: 0.6rem 0 0; }
.ps-alert a { color: var(--teal, #1f4a52); }
.ps-alert--danger { border-left-color: #b3452f; background: #fdf5f3; }
.ps-alert--warning { border-left-color: var(--gold, #b98f4f); background: #fdf9f1; }
.ps-alert--success { border-left-color: #2f7d55; background: #f2faf5; }

/* ---------- Breadcrumb ---------- */
.ps-breadcrumb {
	padding: 0.9rem 0 1.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: #6b767b;
}
.ps-breadcrumb .container { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; }
.ps-breadcrumb a { color: #6b767b; text-decoration: none; }
.ps-breadcrumb a:hover { color: var(--teal, #1f4a52); }
.ps-breadcrumb__current { color: var(--teal, #1f4a52); font-weight: 500; }

/* ---------- Generic content pages (cms, contact, stubs) ---------- */
.ps-page { padding: 3.5rem 0 5rem; max-width: 900px; }
.ps-page .section-title { margin-bottom: 1.25rem; }
.ps-page__subtitle { font-size: 1.05rem; margin: 2rem 0 0.75rem; color: var(--teal, #1f4a52); }
.ps-page__list { list-style: none; padding: 0; margin: 0; }
.ps-page__list li { padding: 0.45rem 0; border-bottom: 1px dashed rgba(31, 74, 82, 0.14); }
.ps-page__list a { color: var(--teal, #1f4a52); text-decoration: none; }
.ps-page__list a:hover { color: var(--gold, #b98f4f); }

.rte { line-height: 1.75; color: #33403f; }
.rte h1, .rte h2, .rte h3 { font-family: "Cormorant Garamond", serif; color: var(--teal, #1f4a52); }
.rte img { max-width: 100%; height: auto; border-radius: 12px; }
.rte a { color: var(--teal, #1f4a52); }

/* ---------- Stub / 404 pages ---------- */
.ps-stub { padding: 4rem 0 6rem; text-align: center; max-width: 720px; }
.ps-stub .lead { margin-left: auto; margin-right: auto; }
.ps-stub__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Forms (contact) ---------- */
.ps-contact__info {
	border: 1px solid rgba(31, 74, 82, 0.14);
	background: #fff;
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0 2rem;
}
.ps-contact__info h2 { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; margin: 0 0 0.5rem; color: var(--teal, #1f4a52); }
.ps-contact__info p { margin: 0.25rem 0; color: #4b565b; }

.ps-form fieldset { border: 0; padding: 0; margin: 0; }
.ps-form__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .ps-form__grid { grid-template-columns: 1fr 1.4fr; } }
.ps-form .form-group { margin-bottom: 1rem; }
.ps-form label { display: block; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6b767b; margin-bottom: 0.4rem; }
.ps-form .form-control {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(31, 74, 82, 0.2);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: #22302f;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ps-form .form-control:focus {
	outline: none;
	border-color: var(--teal, #1f4a52);
	box-shadow: 0 0 0 3px rgba(31, 74, 82, 0.12);
}
.ps-form textarea.form-control { resize: vertical; min-height: 150px; }
.ps-form__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ---------- Buttons fallback (PS markup) ---------- */
.button, .btn-default, input[type="submit"].button {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	border: 1px solid rgba(31, 74, 82, 0.28);
	border-radius: 999px;
	background: #fff;
	color: var(--teal, #1f4a52);
	font: inherit;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.button:hover, .btn-default:hover, input[type="submit"].button:hover { background: rgba(31, 74, 82, 0.06); }

/* ---------- Booking bar host (Hybrids component renders inside) ---------- */
booking-bar { display: block; }
package-picker { display: block; }
.pkg-source { display: none; }
.pkg-source.pkg-fallback { display: block; }
.booking__note--warn { color: #9c5436; }

/* ---------- Non-home pages: solid nav from the start + content below it ----------
   The nav is position:fixed and its base state is transparent with white text
   (designed to overlay the dark hero on the home page). On every other page the
   background is light, so we apply the "scrolled" glass look immediately and
   push the page content below the bar. */
body:not(#index) .nav {
	background: rgba(248, 248, 245, 0.82);
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	border-bottom-color: var(--line);
	box-shadow: 0 12px 40px -22px rgba(43, 42, 38, 0.25);
}
body:not(#index) .nav__inner { height: 4.4rem; }
body:not(#index) .nav__brand { color: var(--ink); }
body:not(#index) .nav__brand-icon { filter: invert(1); }
body:not(#index) .nav__links a { color: var(--ink-soft); }
body:not(#index) .nav__links a:hover { color: var(--ink); }
body:not(#index) .nav__toggle { color: var(--ink); }
body:not(#index) main#conteudo { padding-top: calc(4.4rem + 1px); } /* + nav border */
/* Páginas internas: respiro antes do rodapé (sem isso o último bloco de texto fica colado) */
body.static-page main#conteudo { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
