:root {
    --bg: #0b0b0b;
    --bg-soft: #121212;
    --white: #ffffff;
    --muted: #d7d7d7;
    --gold: #C6A661;
    --gold-strong: #A8893D;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.5;
}

body.hidden {
    visibility: hidden;
    opacity: 0;
}

body.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease;
}

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

[hidden] {
    display: none !important;
}

.btn,
.btn-primary,
.btn-ghost,
.card,
nav a,
.footer-line a,
.servico,
input,
textarea,
.breadcrumb a,
.contact-chips a,
.contact-chips span,
.dados li,
.modal,
.modal-overlay {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #fff;
    color: #000;
    z-index: 10000;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 11, 11, .8);
    backdrop-filter: saturate(150%) blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    height: 125px;
    width: auto;
    display: block;
}

.brand .logoname {
    font-weight: 600;
    letter-spacing: .04em;
}

nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--muted);
    padding: 10px 12px;
    font-weight: 500;
}

nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border-radius: 4px;
}

nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 4px;
}

.cta-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botões */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 30px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, var(--gold), var(--gold-strong));
    color: var(--bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    border-color: var(--gold-strong);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--gold-strong), var(--gold));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
}

.btn-ghost {
    color: var(--muted);
    border-color: rgba(255, 255, 255, .14);
    background: none;
}

.btn-ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .05);
}

button.btn-primary,
.modal .btn.btn-primary {
    margin-top: 18px;
    border: none;
}

/* Mobile menu */

.burger {
    display: none;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 26px;
}

.mobile {
    display: none;
}

@media (max-width: 980px) {
    nav ul {
        display: none;
    }

    .burger {
        display: block;
    }

    .mobile {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: rgba(11, 11, 11, .95);
    }

    .mobile a {
        display: block;
        padding: 14px 20px;
        color: var(--muted);
    }

    .mobile a:hover {
        background: rgba(255, 255, 255, .06);
        color: var(--white);
    }

    .cta-area {
        display: none;
    }
}

/* Hero */

.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/20524789.jpg') center/cover no-repeat;
    opacity: .35;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 60% at 60% 40%, rgba(198, 166, 97, .25), transparent 60%),
        linear-gradient(to bottom, rgba(11, 11, 11, .3), var(--bg) 85%);
}

.hero .wrap {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.eyebrow {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .82rem;
}

h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: .5rem 0 1rem;
    line-height: 1.15;
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 19px);
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Strip */

.strip {
    background: var(--bg-soft);
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.strip .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 26px 0;
}

.card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.card:hover {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}

.card strong {
    color: var(--white);
}

.card p {
    color: var(--muted);
    margin: .35rem 0 0;
}

@media (max-width: 860px) {
    .strip .items {
        grid-template-columns: 1fr;
    }
}

/* Footer */

footer {
    background: var(--bg-soft);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 15px;
}

.footer-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}

.footer-line a {
    color: var(--muted);
    margin: 0 4px;
}

.footer-line a:hover {
    color: var(--white);
}

.footer-line a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    color: var(--white);
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-right a {
    font-size: 1.1rem;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .footer-line {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
    }

    .footer-right a {
        margin: 0 6px;
    }
}

/* Modal contacto */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.active {
    z-index: 120;
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.98);
    width: calc(100vw - 48px);
    max-width: 720px;
    max-height: calc(100vh - 120px);
    overflow: auto;

    background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 50px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    z-index: 130;

    opacity: 0;
    pointer-events: none;
    border-radius: 8px;
}

.modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.modal-title {
    margin: 0 32px 18px 0;
    color: var(--gold);
    font-size: clamp(20px, 3vw, 26px);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 28px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    color: var(--muted);
    margin-bottom: 6px;
    font-size: .95rem;
}

.modal input,
.modal textarea,
.formulario input,
.formulario textarea {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    padding: 10px 12px;
    font-size: 1rem;
    outline: none;
    border-radius: 6px;
    min-width: 0;
    max-width: 100%;
}

.modal input:focus,
.modal textarea:focus,
.formulario input:focus,
.formulario textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(198, 166, 97, .2);
}

.modal textarea,
.formulario textarea {
    resize: none;
}

.modal button {
    min-width: 0;
    max-width: 100%;
}

.form-feedback {
    margin-top: 12px;
    font-size: .95rem;
    color: var(--muted);
}

.form-feedback.success {
    color: #79d29d;
}

.form-feedback.error {
    color: #ff8b8b;
}

@media (max-width: 768px) {
    .modal {
        width: calc(100vw - 32px);
        padding: 24px;
        max-height: calc(100vh - 96px);
    }

    .modal .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .modal .btn.btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .modal {
        width: calc(100vw - 20px);
        padding: 18px;
    }

    .modal-title {
        font-size: 1.05rem;
        margin-right: 28px;
    }

    .modal-close {
        top: 8px;
        right: 10px;
        font-size: 24px;
    }
}

@supports (padding: max(0px)) {
    .modal {
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
}

/* Página de contacto */

.page-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 60% at 60% 40%, rgba(198, 166, 97, .25), transparent 60%),
        linear-gradient(to bottom, rgba(11, 11, 11, .3), var(--bg) 85%),
        var(--hero) center / cover no-repeat;
    opacity: .95;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0;
    color: var(--white);
}

/* Breadcrumb */

.breadcrumb {
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .95rem;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb ol li+li::before {
    content: "›";
    margin: 0 15px 0 0;
    color: var(--gold);
}

/* Layout geral */

.content {
    padding: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info h2 {
    color: var(--gold);
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 8px;
}

.info .lead {
    color: var(--muted);
    font-size: clamp(17px, 2.2vw, 19px);
    margin-bottom: 30px;
}

.dados {
    list-style: none;
    padding: 0;
    color: var(--muted);
    font-size: 1rem;
}

.dados li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dados li:hover {
    color: var(--white);
}

.dados i {
    color: var(--gold);
    font-size: 1rem;
}

.formulario {
    text-align: left;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content {
        padding: 60px 20px;
    }
}

/* Contactos / Cal.com */

.contact-grid-cal {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "responsaveis agendamento"
        "detalhes agendamento";
    align-items: flex-start;
    gap: 34px;
}

.info-responsaveis {
    grid-area: responsaveis;
}

.info-detalhes {
    grid-area: detalhes;
}

.info-responsaveis h2,
.info-detalhes h2 {
    margin-top: 0;
}

.cal-booking-box {
    grid-area: agendamento;
    width: 100%;
}

.cal-booking-head {
    margin-bottom: 18px;
}

.cal-booking-head h2 {
    margin: 8px 0 8px;
    color: var(--white);
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.2;
}

.cal-booking-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}

.cal-inline-wrap {
    width: 100%;
    overflow: hidden;
    background: #0b0b0b;
    border-radius: 6px;
}

#my-cal-inline-mcl {
    width: 100%;
    overflow: hidden;
}

#my-cal-inline-mcl iframe {
    width: 100% !important;
    border: 0 !important;
}

.cal-booking-box .form-disclaimer {
    margin-top: 16px;
}

/* Responsáveis pela sessão */

.consult-responsaveis {
    margin: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.consult-responsaveis .eyebrow {
    display: block;
    margin-bottom: 14px;
}

.responsavel-card {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.responsavel-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.responsavel-card-photo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.responsavel-card-photo img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(198, 166, 97, .65);
    background: var(--bg-soft);
}

.responsavel-card strong {
    display: block;
    color: var(--white);
    font-size: .98rem;
    margin-bottom: 4px;
}

.responsavel-card small {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}

/* Destaques da sessão */

.session-highlights {
    display: grid;
    gap: 12px;
    margin-top: 0;
}

.session-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 16px;
    background: linear-gradient(135deg, rgba(198, 166, 97, .08), rgba(255, 255, 255, .025));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}

.session-card-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--bg);
    background: linear-gradient(180deg, var(--gold), var(--gold-strong));
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.session-card-icon i,
.session-card-icon svg {
    width: 15px;
    height: 15px;
}

.session-card-content span {
    display: block;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.session-card-content strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.35;
}

.session-card-price .session-card-content strong {
    font-size: 1.35rem;
}

.session-card-content small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.45;
}

.session-card-content s {
    color: var(--gold);
    opacity: .9;
    font-weight: 700;
}

.session-card-offer {
    position: relative;
    align-items: center;
    min-height: 82px;
    padding-right: 110px;
    border-color: rgba(198, 166, 97, .28);
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(198, 166, 97, .16), transparent 58%),
        rgba(255, 255, 255, .025);
}

.session-card-book-preview {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 80px;
    height: 80px;
    transform: translateY(-50%);
    background: var(--gold);
    border-radius: 12px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .34),
        0 0 0 1px rgba(198, 166, 97, .20);
}

.session-card-book-preview a,
.session-card-book-preview img {
    width: 100%;
    height: 100%;
    display: block;
}

.session-card-book-preview img {
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    background: var(--bg-soft);
}

/* Contactos em chips */

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.contact-chips a,
.contact-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.2;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.contact-chips i,
.contact-chips svg {
    color: var(--gold);
    width: 13px;
    height: 13px;
}

.contact-chips a:hover {
    color: var(--white);
    border-color: rgba(198, 166, 97, .38);
    background: rgba(198, 166, 97, .08);
}

/* Texto complementar */

.consult-text {
    margin-top: 24px;
}

.consult-text p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65;
}

.consult-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 980px) {
    .contact-grid-cal {
        grid-template-columns: 1fr;
        grid-template-areas:
            "responsaveis"
            "agendamento"
            "detalhes";
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .responsavel-card-photo {
        align-items: flex-start;
    }

    .responsavel-card-photo img {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .session-card {
        padding: 14px;
    }

    .session-card-content span {
        font-size: .78rem;
    }

    .session-card-price .session-card-content strong {
        font-size: 1.2rem;
    }

    .session-card-offer {
        padding-right: 76px;
        min-height: 78px;
    }

    .session-card-book-preview {
        width: 50px;
        height: 50px;
        right: 12px;
    }
}