
/* =========================================================
   TOD AUTH — DESIGN SYSTEM
   TOD REAL ESTATE SERVICES
   Version 2.2
   ========================================================= */

:root {
    --tod-navy: #0D3B66;
    --tod-blue: #1768AC;
    --tod-light-blue: #EAF2F9;
    --tod-background: #ECECEC;
    --tod-white: #FFFFFF;
    --tod-text: #203449;
    --tod-muted: #778797;
    --tod-border: #E1E7ED;
    --tod-danger: #B42332;
    --tod-success: #247447;
    --tod-radius: 14px;
    --tod-shadow: 0 25px 75px rgba(13, 35, 55, .11);
}

/* =========================================================
   BASE
========================================================= */

.tod-auth-page,
.tod-auth-page *,
.tod-area-card,
.tod-area-card *,
.tod-property-page,
.tod-property-page * {
    box-sizing: border-box;
}

.tod-auth-page {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 690px;
    padding: 65px clamp(25px, 8vw, 130px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent 0 49.8%, rgba(13,59,102,.035) 50%, transparent 50.2%),
        radial-gradient(ellipse at 80% 15%, rgba(23,104,172,.07), transparent 40%),
        linear-gradient(135deg, #F7F8FA, #ECEFF2);
}

/* =========================================================
   PAINEL GRÁFICO ARQUITETÓNICO
========================================================= */

.tod-auth-page::before {
    content: "TOD";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 53%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.035);
    font-family: Manrope, sans-serif;
    font-size: clamp(150px, 23vw, 360px);
    font-weight: 800;
    letter-spacing: -.09em;
    background:
        linear-gradient(125deg, rgba(7,31,54,.98), rgba(13,59,102,.97) 55%, rgba(23,104,172,.9)),
        #0D3B66;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.tod-auth-page::after {
    content: "REAL ESTATE SERVICES";
    position: absolute;
    z-index: -1;
    left: clamp(30px, 7vw, 105px);
    bottom: 65px;
    color: rgba(255,255,255,.72);
    font-family: Manrope, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

/* =========================================================
   LOGIN CARD
========================================================= */

.tod-auth-card {
    position: relative;
    z-index: 2;
    width: min(100%, 465px);
    padding: 53px 48px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 16px;
    box-shadow: var(--tod-shadow);
    animation: tod-auth-appear .55s ease both;
}

@keyframes tod-auth-appear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   TÍTULOS
========================================================= */

.tod-auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 19px;
    color: var(--tod-blue);
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.tod-auth-eyebrow::before {
    content: "";
    display: block;
    width: 23px;
    height: 2px;
    background: var(--tod-blue);
}

.tod-auth-card h1,
.tod-area-card h1 {
    margin: 0 0 13px;
    color: var(--tod-navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.2px;
}

.tod-auth-description {
    margin: 0 0 32px;
    color: var(--tod-muted);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   CAMPOS
========================================================= */

.tod-auth-field {
    margin-bottom: 21px;
}

.tod-auth-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--tod-text);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.tod-auth-field input {
    display: block;
    width: 100%;
    height: 53px;
    padding: 0 16px;
    border: 1px solid var(--tod-border);
    border-radius: 8px;
    outline: none;
    background: #FAFBFC;
    color: var(--tod-text);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.tod-auth-field input::placeholder {
    color: #A6B0BB;
}

.tod-auth-field input:hover {
    border-color: #B8C7D5;
}

.tod-auth-field input:focus {
    border-color: var(--tod-blue);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(23,104,172,.09);
}

/* =========================================================
   MOSTRAR PALAVRA-PASSE
========================================================= */

.tod-auth-password-wrap {
    position: relative;
}

.tod-auth-password-wrap input {
    padding-right: 58px;
}

.tod-auth-show-password {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 6px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--tod-muted);
    cursor: pointer;
    transition: color .2s, background .2s;
}

.tod-auth-show-password svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tod-auth-show-password .tod-eye-slash {
    opacity: 0;
    transition: opacity .15s;
}

.tod-auth-show-password.is-visible .tod-eye-slash {
    opacity: 1;
}

.tod-auth-show-password:hover {
    background: rgba(23,104,172,.07);
    color: var(--tod-navy);
}

/* =========================================================
   OPÇÕES
========================================================= */

.tod-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 3px 0 26px;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
}

.tod-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tod-muted);
    cursor: pointer;
}

.tod-auth-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--tod-navy);
    cursor: pointer;
}

.tod-auth-card a {
    color: var(--tod-blue);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.tod-auth-card a:hover {
    color: var(--tod-navy);
    text-decoration: underline;
}

/* =========================================================
   BOTÃO
========================================================= */

.tod-auth-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--tod-navy);
    color: #FFFFFF;
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s;
}

.tod-auth-submit:hover {
    background: var(--tod-blue);
    box-shadow: 0 8px 20px rgba(13,59,102,.17);
    transform: translateY(-1px);
}

.tod-auth-submit:active {
    transform: translateY(0);
}

.tod-auth-submit:focus-visible,
.tod-auth-show-password:focus-visible,
.tod-area-logout:focus-visible {
    outline: 3px solid rgba(23,104,172,.35);
    outline-offset: 3px;
}

.tod-auth-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

/* =========================================================
   MENSAGENS
========================================================= */

.tod-auth-message {
    margin: 0 0 23px;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    line-height: 1.6;
}

.tod-auth-message.error {
    border: 1px solid #F0D1D4;
    background: #FFF4F4;
    color: var(--tod-danger);
}

.tod-auth-message.success {
    padding: 14px 17px;
    margin: 20px 0;
    border: 1px solid #B7E4C7;
    border-radius: 8px;
    background: #F0FAF3;
    color: #216E3A;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   RODAPÉ DO LOGIN
========================================================= */

.tod-auth-footer {
    margin-top: 29px;
    padding-top: 20px;
    border-top: 1px solid #EDF0F3;
    color: #98A4AF;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.tod-auth-footer a {
    color: var(--tod-blue);
}

/* =========================================================
   ÁREA RESERVADA
========================================================= */

.tod-area-card {
    width: min(100%, 1120px);
    min-height: 460px;
    padding: 48px;
    border: 1px solid #E8EDF2;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: var(--tod-shadow);
    animation: tod-auth-appear .55s ease both;
}

.tod-area-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 42px;
    padding-bottom: 28px;
    border-bottom: 1px solid #EDF0F3;
}

.tod-area-top .tod-auth-description {
    margin: 8px 0 0;
}

.tod-area-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 19px;
    border: 1px solid #DCE4EB;
    border-radius: 7px;
    background: #FFFFFF;
    color: var(--tod-navy) !important;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .2s;
}

.tod-area-logout:hover {
    border-color: var(--tod-navy);
    background: var(--tod-navy);
    color: #FFFFFF !important;
}

.tod-area-empty {
    padding: 65px 25px;
    border: 1px dashed #CCD8E3;
    border-radius: 12px;
    background:
        radial-gradient(ellipse at center, rgba(23,104,172,.045), transparent 70%),
        #FAFBFC;
    text-align: center;
}

.tod-area-empty h2 {
    margin: 0 0 12px;
    color: var(--tod-navy);
    font-family: Manrope, sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.tod-area-empty p {
    max-width: 480px;
    margin: 0 auto;
    color: var(--tod-muted);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   RECUPERAÇÃO DE ACESSO
========================================================= */

.tod-auth-page:has(#tod-reset-email) .tod-auth-card {
    max-width: 485px;
}

.tod-auth-page:has(#tod-reset-email) .tod-auth-description {
    margin-bottom: 28px;
}

/* =========================================================
   LOGIN — CABEÇALHO E CONTACTOS
========================================================= */

.tod-login-page {
    min-height: 720px;
    padding-top: 85px;
    padding-bottom: 85px;
    overflow: visible;
}

.tod-login-page .tod-auth-card {
    flex-shrink: 0;
    margin-top: 12px;
}

.tod-login-page .tod-auth-card h1 {
    display: block;
    overflow: visible;
    padding-top: 3px;
    line-height: 1.25;
}

.tod-login-page .tod-auth-support {
    margin-top: 25px;
    padding: 18px 0 0;
    border-top: 1px solid #EDF0F3;
    color: #778797;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.7;
}

.tod-login-page .tod-auth-support-title {
    display: block;
    margin-bottom: 5px;
    color: #0D3B66;
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.tod-login-page .tod-auth-support p {
    margin: 0 0 9px;
}

.tod-login-page .tod-auth-support .tod-auth-reset-link {
    display: inline-block;
    margin: 0 0 9px;
}

.tod-login-page .tod-auth-support .tod-auth-support-email {
    margin: 0;
}

.tod-login-page .tod-auth-support a {
    color: #1768AC;
    font-weight: 700;
    text-decoration: none;
}

.tod-login-page .tod-auth-support a:hover {
    text-decoration: underline;
}

.tod-login-page .tod-auth-support-separator {
    padding: 0 6px;
    color: #AAB4BE;
}

.tod-login-page .tod-auth-footer {
    margin-top: 22px;
}

/* =========================================================
   ALTERAÇÃO DE PALAVRA-PASSE
========================================================= */

.tod-password-section {
    margin-top: 45px;
    padding-top: 32px;
    border-top: 1px solid #E5EAF0;
}

.tod-password-heading {
    margin-bottom: 25px;
}

.tod-password-heading h2 {
    margin: 8px 0 10px;
    color: #0D3B66;
    font-size: 25px;
    font-weight: 600;
}

.tod-password-heading p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
}

.tod-password-form {
    max-width: 520px;
}

.tod-password-form .tod-auth-field {
    margin-bottom: 20px;
}

.tod-password-form .tod-auth-submit {
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
}

/* =========================================================
   BOTÃO EXPANSÍVEL DE ALTERAÇÃO DE PALAVRA-PASSE
========================================================= */

.tod-password-details {
    max-width: 520px;
}

.tod-password-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 20px;
    border: 1px solid #DCE5EE;
    border-radius: 9px;
    background: #F7F9FC;
    color: #0D3B66;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background .2s ease, border-color .2s ease;
}

.tod-password-toggle::-webkit-details-marker {
    display: none;
}

.tod-password-toggle:hover {
    background: #EDF3F9;
    border-color: #B8CCDE;
}

.tod-password-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #E5EDF5;
    color: #0D3B66;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.tod-password-details[open] .tod-password-arrow {
    transform: rotate(45deg);
}

.tod-password-content {
    padding: 22px 2px 5px;
}

.tod-password-heading {
    margin-bottom: 22px;
}

.tod-password-heading p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
}

.tod-password-form .tod-auth-field {
    margin-bottom: 20px;
}

.tod-password-form .tod-auth-submit {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
}

/* =========================================================
   ÁREA RESERVADA — POSICIONAMENTO
========================================================= */

.tod-auth-page:has(> .tod-area-card) {
    display: block;
    min-height: 690px;
    padding: 65px clamp(25px, 8vw, 130px);
    overflow: visible;
}

.tod-auth-page:has(> .tod-area-card) > .tod-area-card {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.tod-auth-page:has(> .tod-area-card)::before,
.tod-auth-page:has(> .tod-area-card)::after {
    pointer-events: none;
}

/* =========================================================
   IMÓVEIS — ÁREA RESERVADA
========================================================= */

.tod-area-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tod-area-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 19px;
    border-radius: 7px;
    background: #0D3B66;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.tod-area-admin:hover {
    background: #1768AC;
    transform: translateY(-1px);
}

.tod-client-properties {
    margin-top: 45px;
}

.tod-properties-heading {
    margin-bottom: 25px;
}

.tod-properties-heading h2 {
    margin: 0 0 8px;
    color: #0D3B66;
}

.tod-properties-heading p {
    margin: 0;
    color: #687786;
    line-height: 1.7;
}

.tod-properties-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tod-property-card {
    overflow: hidden;
    border: 1px solid #E5E9ED;
    border-radius: 10px;
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tod-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(13,59,102,.09);
}

.tod-property-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F0F2F4;
}

.tod-property-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.tod-property-card:hover .tod-property-image img {
    transform: scale(1.035);
}

.tod-property-content {
    padding: 22px;
}

.tod-property-content h3 {
    margin: 0 0 10px;
    color: #0D3B66;
    font-family: Manrope, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.tod-property-content h3 a {
    color: inherit;
    text-decoration: none;
}

.tod-property-content p {
    color: #687786;
    font-size: 13px;
    line-height: 1.7;
}

.tod-property-link {
    display: inline-block;
    margin-top: 10px;
    color: #1768AC;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tod-property-link:hover {
    text-decoration: underline;
}

/* =========================================================
   APRESENTAÇÃO INDIVIDUAL DOS IMÓVEIS
========================================================= */

.tod-property-page {
    width: 100%;
    min-height: 500px;
    padding: 45px 25px 80px;
    background: #F3F5F7;
}

.tod-property-container {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.tod-property-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.tod-property-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1768AC;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.tod-property-navigation a:hover {
    color: #0D3B66;
}

.tod-property-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 390px;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(120deg, #071F36, #0D3B66 65%, #1768AC);
    box-shadow: 0 18px 45px rgba(13,59,102,.13);
}

.tod-property-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tod-property-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(5,24,42,.88) 0%,
        rgba(5,24,42,.48) 45%,
        rgba(5,24,42,.05) 100%
    );
}

.tod-property-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 55px;
}

.tod-property-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: rgba(255,255,255,.78);
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tod-property-hero h1 {
    max-width: 850px;
    margin: 0 0 15px;
    color: #FFFFFF;
    font-family: Manrope, sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.tod-property-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.85);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.tod-property-body {
    margin-top: 30px;
    padding: 48px 55px;
    border: 1px solid #E7ECF1;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 12px 35px rgba(13,59,102,.055);
}

.tod-property-body .tod-property-eyebrow {
    margin-bottom: 12px;
    color: #1768AC;
}

.tod-property-body h2 {
    margin: 0 0 25px;
    color: #0D3B66;
    font-family: Manrope, sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}

.tod-property-content {
    color: #344454;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.9;
}

.tod-property-content > *:first-child {
    margin-top: 0;
}

.tod-property-content > *:last-child {
    margin-bottom: 0;
}

.tod-property-content h2,
.tod-property-content h3,
.tod-property-content h4 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: #0D3B66;
    font-family: Manrope, sans-serif;
}

.tod-property-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.tod-property-content a {
    color: #1768AC;
    font-weight: 700;
}

.tod-property-content ul,
.tod-property-content ol {
    padding-left: 24px;
}

.tod-property-content li {
    margin-bottom: 8px;
}

.tod-property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding: 25px 0 0;
    border-top: 1px solid #E7ECF1;
}

.tod-property-footer-brand {
    color: #778797;
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-footer a {
    color: #1768AC;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tod-property-footer a:hover {
    color: #0D3B66;
    text-decoration: underline;
}

/* =========================================================
   IMÓVEIS — ESTILOS ALTERNATIVOS
========================================================= */

.tod-single-property-image {
    margin: 30px 0;
    overflow: hidden;
    border-radius: 10px;
}

.tod-single-property-image img {
    display: block;
    width: 100%;
    height: auto;
}

.tod-single-property-content {
    color: #344454;
    line-height: 1.8;
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 900px) {
    .tod-auth-page {
        min-height: 650px;
        padding: 55px 35px;
    }

    .tod-auth-page::before {
        width: 43%;
    }

    .tod-auth-card {
        max-width: 440px;
        padding: 42px 36px;
    }

    .tod-area-card {
        padding: 38px;
    }

    .tod-auth-page:has(> .tod-area-card) {
        min-height: 650px;
        padding: 55px 35px;
    }

    .tod-property-hero {
        min-height: 340px;
    }

    .tod-property-hero-content {
        padding: 40px;
    }

    .tod-property-body {
        padding: 38px;
    }
}

/* =========================================================
   TELEMÓVEIS
========================================================= */

@media (max-width: 650px) {
    .tod-auth-page {
        min-height: 650px;
        justify-content: center;
        padding: 35px 16px;
        background: #F0F3F6;
    }

    .tod-auth-page::before {
        width: 100%;
        height: 190px;
        clip-path: none;
        background: linear-gradient(125deg, #071F36, #0D3B66 65%, #1768AC);
    }

    .tod-auth-page::after {
        top: 42px;
        bottom: auto;
        left: 25px;
        font-size: 9px;
    }

    .tod-auth-card {
        width: 100%;
        max-width: 450px;
        padding: 35px 25px;
        margin-top: 75px;
        border-radius: 13px;
    }

    .tod-auth-card h1,
    .tod-area-card h1 {
        font-size: 29px;
    }

    .tod-auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .tod-area-card {
        padding: 28px 20px;
    }

    .tod-area-top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .tod-area-empty {
        padding: 45px 18px;
    }

    .tod-area-empty h2 {
        font-size: 19px;
    }

    .tod-login-page {
        min-height: auto;
        padding: 45px 16px;
        overflow: visible;
    }

    .tod-login-page .tod-auth-card {
        margin-top: 75px;
    }

    .tod-login-page .tod-auth-card h1 {
        font-size: 29px;
    }

    .tod-password-section {
        margin-top: 32px;
        padding-top: 25px;
    }

    .tod-password-heading h2 {
        font-size: 22px;
    }

    .tod-password-toggle {
        padding: 15px;
    }

    .tod-password-content {
        padding-top: 18px;
    }

    .tod-auth-page:has(> .tod-area-card) {
        display: block;
        min-height: 650px;
        padding: 35px 16px 40px;
        overflow: visible;
    }

    .tod-auth-page:has(> .tod-area-card) > .tod-area-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 28px 20px;
    }

    .tod-area-actions {
        width: 100%;
    }

    .tod-properties-grid {
        grid-template-columns: 1fr;
    }

    .tod-property-page {
        padding: 30px 15px 50px;
    }

    .tod-property-navigation {
        margin-bottom: 18px;
    }

    .tod-property-hero {
        min-height: 300px;
        border-radius: 10px;
    }

    .tod-property-hero-content {
        padding: 28px 23px;
    }

    .tod-property-hero h1 {
        font-size: 30px;
    }

    .tod-property-hero p {
        font-size: 13px;
    }

    .tod-property-body {
        margin-top: 18px;
        padding: 28px 22px;
        border-radius: 10px;
    }

    .tod-property-body h2 {
        font-size: 23px;
    }

    .tod-property-content {
        font-size: 14px;
    }

    .tod-property-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   ECRÃS MUITO PEQUENOS
========================================================= */

@media (max-width: 380px) {
    .tod-auth-card {
        padding: 29px 19px;
    }

    .tod-auth-card h1 {
        font-size: 26px;
    }

    .tod-property-hero h1 {
        font-size: 26px;
    }

    .tod-property-body {
        padding: 23px 18px;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .tod-auth-page *,
    .tod-area-card *,
    .tod-property-page *,
    .tod-auth-page::before {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   TOD — APRESENTAÇÃO DE IMÓVEIS
   Remover degradês azuis
   ========================================================= */

.tod-property-hero-no-image {
    background: #0D3B66 !important;
    background-image: none !important;
}

.tod-property-image-overlay {
    background: rgba(13, 59, 102, 0.28) !important;
    background-image: none !important;
}

/* =========================================================
   TOD — NOVA APRESENTAÇÃO DOS IMÓVEIS
   Design editorial premium
   ========================================================= */

.tod-property-page {
    background: #ffffff !important;
    color: #263746;
}

.tod-property-container {
    max-width: 1320px;
    width: calc(100% - 64px);
    margin: 0 auto;
}

/* Navegação */

.tod-property-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e8edf1;
}

.tod-property-back {
    color: #0D3B66;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.tod-property-back:hover {
    color: #1768AC;
}

.tod-property-brand {
    color: #0D3B66;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
}

.tod-property-brand span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 3px;
}

/* Apresentação sem fotografia */

.tod-property-hero-no-image {
    background: #ffffff !important;
    background-image: none !important;
    min-height: 300px;
    padding: 85px 0 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #e8edf1;
}

.tod-property-hero-no-image .tod-property-eyebrow,
.tod-property-hero-content .tod-property-eyebrow {
    color: #1768AC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}

.tod-property-hero-no-image h1 {
    color: #0D3B66;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -2px;
    max-width: 950px;
    margin: 0 0 22px;
}

.tod-property-hero-no-image p {
    color: #647484;
    font-size: 18px;
    line-height: 1.7;
    max-width: 750px;
    margin: 0;
}

/* Apresentação com fotografia */

.tod-property-hero-image {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background: #e8edf1;
}

.tod-property-hero-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}

.tod-property-image-overlay {
    background: linear-gradient(
        0deg,
        rgba(8, 27, 44, 0.78) 0%,
        rgba(8, 27, 44, 0.18) 55%,
        transparent 100%
    ) !important;
    background-image: linear-gradient(
        0deg,
        rgba(8, 27, 44, 0.78) 0%,
        rgba(8, 27, 44, 0.18) 55%,
        transparent 100%
    ) !important;
}

.tod-property-hero-content {
    padding: 45px 55px;
}

.tod-property-hero-content h1 {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 18px;
}

.tod-property-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    max-width: 750px;
    line-height: 1.6;
}

/* Conteúdo */

.tod-property-body {
    padding: 85px 0;
}

.tod-property-section-heading {
    margin-bottom: 45px;
}

.tod-property-section-heading > span {
    color: #1768AC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.tod-property-section-heading h2 {
    color: #0D3B66;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin: 15px 0;
}

.tod-property-heading-line {
    width: 55px;
    height: 3px;
    background: #1768AC;
    margin-top: 25px;
}

.tod-property-content {
    color: #455563;
    font-size: 16px;
    line-height: 1.9;
    max-width: 1000px;
}

.tod-property-content h2,
.tod-property-content h3,
.tod-property-content h4 {
    color: #0D3B66;
    font-family: 'Manrope', sans-serif;
    margin-top: 35px;
}

.tod-property-content img {
    max-width: 100%;
    height: auto;
}

.tod-property-content a {
    color: #1768AC;
}

/* Rodapé */

.tod-property-footer {
    padding: 35px 0;
    border-top: 1px solid #e8edf1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.tod-property-footer-label {
    color: #0D3B66;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-footer p {
    color: #71808d;
    font-size: 13px;
    margin: 8px 0 0;
}

.tod-property-footer-link {
    color: #0D3B66;
    font-weight: 700;
    text-decoration: none;
}

/* Responsivo */

@media (max-width: 768px) {

    .tod-property-container {
        width: calc(100% - 36px);
    }

    .tod-property-navigation {
        padding: 20px 0;
    }

    .tod-property-hero-no-image {
        min-height: 250px;
        padding: 55px 0;
    }

    .tod-property-hero-no-image h1 {
        letter-spacing: -1px;
    }

    .tod-property-hero-image img {
        height: 380px;
    }

    .tod-property-hero-content {
        padding: 25px;
    }

    .tod-property-body {
        padding: 55px 0;
    }

    .tod-property-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* TOD — Posicionamento do cartão da Área Reservada */
.tod-auth-page .tod-area-card {
    position: relative !important;
    top: 100px !important;
}

/* =========================================================
   TOD — PÁGINA INDIVIDUAL DE IMÓVEL
   Redesign premium
   ========================================================= */

.tod-property-page {
    --property-navy: #0D3B66;
    --property-blue: #1768AC;
    --property-ink: #172B3D;
    --property-muted: #718096;

    background: #F3F6F9 !important;
    color: var(--property-ink);
    min-height: 100vh;
    padding: 0 0 70px;
}

.tod-property-container {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

/* Navegação superior */

.tod-property-navigation {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tod-property-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--property-navy) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .25s ease, gap .25s ease;
}

.tod-property-back:hover {
    color: var(--property-blue) !important;
    gap: 17px;
}

.tod-property-back span {
    font-size: 21px;
}

.tod-property-brand {
    color: var(--property-navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-brand span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

/* Imagem principal */

.tod-property-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 52vw, 610px);
    overflow: hidden;
    border-radius: 5px;
    background: #0D2E4B;
    isolation: isolate;
}

.tod-property-hero-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tod-property-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s ease;
}

.tod-property-hero:hover .tod-property-hero-image img {
    transform: scale(1.025);
}

/* Sobreposição aplicada à imagem inteira, não ao texto */

.tod-property-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(5, 24, 42, .76) 0%,
        rgba(5, 24, 42, .43) 48%,
        rgba(5, 24, 42, .08) 100%
    );
}

/* Título integrado na fotografia — sem retângulo */

.tod-property-hero-content {
    position: absolute !important;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 65px 75px !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.tod-property-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tod-property-hero-content h1,
.tod-property-hero-no-image h1 {
    max-width: 850px;
    margin: 0;
    color: #FFFFFF !important;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.8px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .18);
}

.tod-property-hero-content p,
.tod-property-hero-no-image p {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.75;
}

/* Apresentação quando não existe fotografia */

.tod-property-hero-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 75px;
    background: #0D3B66 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Conteúdo do imóvel */

.tod-property-body {
    max-width: 940px;
    margin: 85px auto 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.tod-property-section-heading {
    margin-bottom: 35px;
}

.tod-property-section-heading > span {
    display: block;
    margin-bottom: 13px;
    color: var(--property-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.tod-property-section-heading h2 {
    margin: 0;
    color: var(--property-navy);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.tod-property-heading-line {
    width: 55px;
    height: 3px;
    margin-top: 23px;
    background: var(--property-blue);
}

.tod-property-content {
    color: #46576A;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.tod-property-content p {
    margin: 0 0 22px;
}

.tod-property-content h2,
.tod-property-content h3,
.tod-property-content h4 {
    margin: 38px 0 17px;
    color: var(--property-navy);
    font-weight: 700;
    line-height: 1.3;
}

.tod-property-content h2 {
    font-size: 27px;
}

.tod-property-content h3 {
    font-size: 22px;
}

.tod-property-content h4 {
    font-size: 18px;
}

.tod-property-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.tod-property-content ul,
.tod-property-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.tod-property-content li {
    margin-bottom: 9px;
}

.tod-property-content a {
    color: var(--property-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Rodapé da página */

.tod-property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 100px;
    padding-top: 30px;
    border-top: 1px solid #DCE4EB;
}

.tod-property-footer-label {
    color: var(--property-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-footer p {
    margin: 8px 0 0;
    color: var(--property-muted);
    font-size: 13px;
}

.tod-property-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--property-navy) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: gap .25s ease, color .25s ease;
}

.tod-property-footer-link:hover {
    gap: 18px;
    color: var(--property-blue) !important;
}

.tod-property-footer-link span {
    font-size: 20px;
}

/* Responsividade */

@media (max-width: 900px) {
    .tod-property-container {
        width: min(100% - 40px, 1240px);
    }

    .tod-property-navigation {
        min-height: 85px;
    }

    .tod-property-hero {
        height: 480px;
    }

    .tod-property-hero-content {
        padding: 45px !important;
    }

    .tod-property-hero-no-image {
        padding: 45px;
    }

    .tod-property-body {
        margin-top: 65px;
    }
}

@media (max-width: 600px) {
    .tod-property-page {
        padding-bottom: 40px;
    }

    .tod-property-container {
        width: calc(100% - 32px);
    }

    .tod-property-navigation {
        min-height: 78px;
        gap: 12px;
    }

    .tod-property-back {
        font-size: 12px;
        gap: 7px;
    }

    .tod-property-brand {
        font-size: 16px;
        letter-spacing: 1px;
        text-align: right;
    }

    .tod-property-brand span {
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .tod-property-hero {
        height: 430px;
    }

    .tod-property-hero-content {
        padding: 30px 25px !important;
    }

    .tod-property-hero-no-image {
        padding: 30px 25px;
    }

    .tod-property-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .tod-property-hero-content h1,
    .tod-property-hero-no-image h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .tod-property-hero-content p,
    .tod-property-hero-no-image p {
        font-size: 14px;
        margin-top: 14px;
    }

    .tod-property-body {
        margin-top: 50px;
    }

    .tod-property-section-heading h2 {
        font-size: 29px;
    }

    .tod-property-content {
        font-size: 15px;
    }

    .tod-property-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 65px;
        gap: 22px;
    }
}

/* =========================================================
   TOD — IMÓVEIS
   Galeria, apresentação comercial e características
   ========================================================= */

.tod-property-page {
    background: #F3F6F9 !important;
    color: #172B3D;
    min-height: 100vh;
    padding: 0 0 75px;
}

.tod-property-container {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

/* Navegação */

.tod-property-navigation {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tod-property-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0D3B66 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .25s ease;
}

.tod-property-back:hover {
    color: #1768AC !important;
    gap: 17px;
}

.tod-property-brand {
    color: #0D3B66;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-brand span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

/* Galeria */

.tod-property-gallery {
    position: relative;
    width: 100%;
}

.tod-gallery-main {
    position: relative;
    height: clamp(390px, 48vw, 590px);
    overflow: hidden;
    border-radius: 7px;
    background: #0D2E4B;
}

.tod-gallery-image-button {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.tod-gallery-image-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .65s ease;
}

.tod-gallery-image-button:hover img {
    transform: scale(1.025);
}

.tod-gallery-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(5, 22, 38, .24),
        transparent 30%
    );
}

.tod-gallery-counter {
    position: absolute;
    z-index: 3;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    background: rgba(7, 27, 46, .65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.tod-gallery-counter-separator {
    opacity: .55;
}

.tod-gallery-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(5, 25, 44, .48);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.tod-gallery-arrow:hover {
    background: #0D3B66;
}

.tod-gallery-prev {
    left: 20px;
}

.tod-gallery-next {
    right: 20px;
}

.tod-gallery-expand {
    position: absolute;
    z-index: 4;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 4px;
    background: rgba(5, 25, 44, .68);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background .2s ease;
}

.tod-gallery-expand:hover {
    background: #0D3B66;
}

/* Miniaturas */

.tod-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 2px 1px 7px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #AAB9C8 transparent;
}

.tod-gallery-thumbnail {
    flex: 0 0 112px;
    height: 76px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #DCE4EB;
    cursor: pointer;
    opacity: .72;
    transition: opacity .2s ease, border-color .2s ease;
}

.tod-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tod-gallery-thumbnail:hover,
.tod-gallery-thumbnail.is-active {
    opacity: 1;
    border-color: #1768AC;
}

/* Lightbox */

body.tod-lightbox-open {
    overflow: hidden;
}

.tod-gallery-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 65px 90px;
    background: rgba(3, 11, 20, .96);
}

.tod-gallery-lightbox.is-open {
    display: flex;
}

.tod-lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.tod-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 15px 60px rgba(0,0,0,.35);
}

.tod-lightbox-close {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 27px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.tod-lightbox-close:hover {
    background: rgba(255,255,255,.18);
}

.tod-lightbox-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 48px;
    height: 58px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 43px;
    line-height: 1;
    cursor: pointer;
}

.tod-lightbox-arrow:hover {
    background: rgba(255,255,255,.2);
}

.tod-lightbox-prev {
    left: 22px;
}

.tod-lightbox-next {
    right: 22px;
}

.tod-lightbox-counter {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.8);
    font-size: 13px;
}

/* Imóvel sem fotografias */

.tod-property-no-gallery {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 65px;
    border-radius: 6px;
    background: linear-gradient(120deg, #092A49, #1768AC);
    color: #fff;
}

.tod-property-no-gallery .tod-property-eyebrow {
    color: rgba(255,255,255,.75);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.tod-property-no-gallery h1 {
    margin: 16px 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

/* Informação principal */

.tod-property-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 35px;
    margin-top: 48px;
    padding: 0 0 42px;
    border-bottom: 1px solid #DCE4EB;
}

.tod-property-intro-main {
    flex: 1;
    min-width: 0;
}

.tod-property-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.tod-property-operation,
.tod-property-status,
.tod-property-private-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tod-property-operation {
    background: #E5EEF7;
    color: #0D3B66;
}

.tod-property-status.is-available {
    background: #E5F3EA;
    color: #267345;
}

.tod-property-status.is-unavailable {
    background: #FCE9E8;
    color: #A53A35;
}

.tod-property-private-label {
    background: #F1ECDF;
    color: #806329;
}

.tod-property-title {
    margin: 0;
    color: #0D3B66;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.tod-property-location {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 0 0;
    color: #65778A;
    font-size: 15px;
}

.tod-property-location span {
    color: #1768AC;
    font-size: 22px;
}

.tod-property-reference {
    margin: 12px 0 0;
    color: #8290A0;
    font-size: 12px;
}

.tod-property-reference strong {
    color: #41556B;
    font-weight: 700;
}

/* Preço */

.tod-property-price-box {
    flex: 0 0 260px;
    padding: 23px 25px;
    border: 1px solid #DCE5ED;
    border-top: 3px solid #1768AC;
    border-radius: 4px;
    background: #fff;
}

.tod-property-price-label {
    display: block;
    margin-bottom: 9px;
    color: #718096;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tod-property-price {
    display: block;
    color: #0D3B66;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.tod-property-price-operation {
    display: block;
    margin-top: 8px;
    color: #8795A4;
    font-size: 12px;
}

/* Títulos das secções */

.tod-property-section-heading {
    margin-bottom: 28px;
}

.tod-property-section-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #1768AC;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.tod-property-section-heading h2 {
    margin: 0;
    color: #0D3B66;
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.tod-property-heading-line {
    width: 48px;
    height: 3px;
    margin-top: 17px;
    background: #1768AC;
}

/* Grelha de características */

.tod-property-features {
    margin-top: 65px;
    padding: 36px 38px 40px;
    border: 1px solid #E1E8EF;
    border-radius: 5px;
    background: #fff;
}

.tod-property-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.tod-property-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 86px;
    padding: 17px 15px;
    border-bottom: 1px solid #EDF1F5;
}

.tod-property-feature-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EDF4FA;
    color: #1768AC;
}

.tod-property-feature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.tod-property-feature-label {
    color: #8491A0;
    font-size: 11px;
    line-height: 1.3;
}

.tod-property-feature-text strong {
    color: #183D5D;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Descrição */

.tod-property-description {
    max-width: 950px;
    margin: 75px auto 0;
}

.tod-property-content {
    color: #536477;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.tod-property-content p {
    margin: 0 0 21px;
}

.tod-property-content h2,
.tod-property-content h3,
.tod-property-content h4 {
    margin: 35px 0 15px;
    color: #0D3B66;
    font-weight: 700;
    line-height: 1.3;
}

.tod-property-content h2 {
    font-size: 26px;
}

.tod-property-content h3 {
    font-size: 21px;
}

.tod-property-content ul,
.tod-property-content ol {
    padding-left: 25px;
    margin-bottom: 23px;
}

.tod-property-content li {
    margin-bottom: 8px;
}

.tod-property-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Rodapé */

.tod-property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 95px;
    padding-top: 28px;
    border-top: 1px solid #DCE4EB;
}

.tod-property-footer-label {
    color: #0D3B66;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.tod-property-footer p {
    margin: 8px 0 0;
    color: #8290A0;
    font-size: 13px;
}

.tod-property-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0D3B66 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: gap .2s ease;
}

.tod-property-footer-link:hover {
    gap: 18px;
    color: #1768AC !important;
}

/* Tablet */

@media (max-width: 900px) {

    .tod-property-container {
        width: calc(100% - 40px);
    }

    .tod-gallery-main {
        height: 460px;
    }

    .tod-property-intro {
        flex-direction: column;
    }

    .tod-property-price-box {
        flex-basis: auto;
        width: 100%;
    }

    .tod-property-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Telemóvel */

@media (max-width: 600px) {

    .tod-property-page {
        padding-bottom: 45px;
    }

    .tod-property-container {
        width: calc(100% - 30px);
    }

    .tod-property-navigation {
        min-height: 78px;
        gap: 10px;
    }

    .tod-property-back {
        gap: 7px;
        font-size: 12px;
    }

    .tod-property-brand {
        font-size: 16px;
        letter-spacing: 1px;
        text-align: right;
    }

    .tod-property-brand span {
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .tod-gallery-main {
        height: 340px;
        border-radius: 4px;
    }

    .tod-gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .tod-gallery-prev {
        left: 10px;
    }

    .tod-gallery-next {
        right: 10px;
    }

    .tod-gallery-counter {
        top: 12px;
        right: 12px;
        padding: 7px 10px;
    }

    .tod-gallery-expand {
        right: 12px;
        bottom: 12px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .tod-gallery-thumbnail {
        flex-basis: 88px;
        height: 62px;
    }

    .tod-gallery-lightbox {
        padding: 55px 12px;
    }

    .tod-lightbox-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .tod-lightbox-arrow {
        top: auto;
        bottom: 12px;
        width: 43px;
        height: 43px;
        transform: none;
        font-size: 32px;
    }

    .tod-lightbox-prev {
        left: 15px;
    }

    .tod-lightbox-next {
        right: 15px;
    }

    .tod-lightbox-counter {
        bottom: -30px;
    }

    .tod-property-no-gallery {
        min-height: 300px;
        padding: 30px;
    }

    .tod-property-intro {
        margin-top: 35px;
        padding-bottom: 30px;
        gap: 25px;
    }

    .tod-property-title {
        font-size: 31px;
    }

    .tod-property-price-box {
        padding: 20px;
    }

    .tod-property-features {
        margin-top: 45px;
        padding: 25px 17px;
    }

    .tod-property-section-heading h2 {
        font-size: 28px;
    }

    .tod-property-features-grid {
        grid-template-columns: 1fr;
    }

    .tod-property-feature {
        min-height: 76px;
        padding: 12px 4px;
    }

    .tod-property-description {
        margin-top: 55px;
    }

    .tod-property-content {
        font-size: 15px;
    }

    .tod-property-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 65px;
        gap: 20px;
    }

}

/* =========================================================
   TOD — MONTRA PÚBLICA DE IMÓVEIS
   ========================================================= */

.tod-listing-page {
    --listing-navy: #0D3B66;
    --listing-blue: #1768AC;
    --listing-text: #263746;
    --listing-muted: #778797;

    min-height: 700px;
    padding: 75px 0 100px;
    background: #F5F7F9;
    color: var(--listing-text);
}

.tod-listing-container {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

/* Cabeçalho da página */

.tod-listing-heading {
    padding: 15px 0 45px;
    border-bottom: 1px solid #E0E7ED;
}

.tod-listing-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--listing-blue);
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.tod-listing-heading h1 {
    margin: 0 0 15px;
    color: var(--listing-navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.tod-listing-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--listing-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* Filtros */

.tod-listing-filters {
    margin-top: 35px;
    padding: 27px 30px;
    border: 1px solid #E3E9EF;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 8px 28px rgba(13, 59, 102, .035);
}

.tod-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tod-filter-field {
    min-width: 0;
}

.tod-filter-field label,
.tod-listing-sort label {
    display: block;
    margin-bottom: 8px;
    color: #34495D;
    font-size: 12px;
    font-weight: 700;
}

.tod-filter-field input,
.tod-filter-field select,
.tod-listing-sort select {
    display: block;
    width: 100%;
    height: 47px;
    padding: 0 13px;
    border: 1px solid #DCE4EB;
    border-radius: 5px;
    outline: none;
    background: #FAFBFC;
    color: #263746;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.tod-filter-field input:focus,
.tod-filter-field select:focus,
.tod-listing-sort select:focus {
    border-color: var(--listing-blue);
    box-shadow: 0 0 0 3px rgba(23, 104, 172, .09);
}

.tod-filter-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid #EDF0F3;
}

.tod-filter-submit {
    min-height: 46px;
    padding: 0 25px;
    border: 0;
    border-radius: 5px;
    background: var(--listing-navy);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.tod-filter-submit:hover {
    background: var(--listing-blue);
    transform: translateY(-1px);
}

.tod-filter-reset {
    color: #65778A;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.tod-filter-reset:hover {
    color: var(--listing-blue);
}

/* Resultados */

.tod-listing-results {
    margin-top: 65px;
}

.tod-listing-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 28px;
}

.tod-listing-results-label {
    display: block;
    margin-bottom: 10px;
    color: var(--listing-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.tod-listing-results-heading h2 {
    margin: 0;
    color: var(--listing-navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.7px;
}

.tod-listing-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tod-listing-sort label {
    margin: 0;
    white-space: nowrap;
}

.tod-listing-sort select {
    width: auto;
    min-width: 180px;
    height: 42px;
}

/* Grelha */

.tod-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.tod-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E3E9EF;
    border-radius: 7px;
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tod-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13, 59, 102, .09);
}

.tod-listing-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #E7EDF2;
    text-decoration: none;
}

.tod-listing-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tod-listing-card:hover .tod-listing-card-image img {
    transform: scale(1.045);
}

.tod-listing-operation {
    position: absolute;
    left: 17px;
    top: 17px;
    padding: 9px 12px;
    border-radius: 3px;
    background: #0D3B66;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tod-listing-no-image {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A2E4F, #1768AC);
    color: #FFFFFF;
}

.tod-listing-no-image span {
    font-family: Manrope, sans-serif;
    font-size: 43px;
    font-weight: 800;
    letter-spacing: 5px;
}

.tod-listing-no-image small {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 3px;
}

.tod-listing-card-content {
    padding: 22px 22px 20px;
}

.tod-listing-card-type {
    margin-bottom: 10px;
    color: var(--listing-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.tod-listing-card-content h3 {
    margin: 0;
    color: var(--listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.tod-listing-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.tod-listing-card-content h3 a:hover {
    color: var(--listing-blue);
}

.tod-listing-location {
    margin: 10px 0 0;
    color: #748496;
    font-size: 13px;
}

.tod-listing-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 17px;
    padding-bottom: 17px;
    border-bottom: 1px solid #EDF0F3;
    color: #8290A0;
    font-size: 11px;
}

.tod-listing-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
}

.tod-listing-card-bottom > strong {
    color: var(--listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.tod-listing-view {
    color: var(--listing-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tod-listing-view:hover {
    color: var(--listing-navy);
}

.tod-listing-view span {
    margin-left: 4px;
}

/* Sem resultados */

.tod-listing-empty {
    padding: 75px 25px;
    border: 1px dashed #CAD6E1;
    border-radius: 8px;
    background: #FFFFFF;
    text-align: center;
}

.tod-listing-empty-mark {
    display: block;
    margin-bottom: 20px;
    color: #DCE6EF;
    font-family: Manrope, sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 5px;
}

.tod-listing-empty h3 {
    margin: 0 0 12px;
    color: var(--listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 23px;
}

.tod-listing-empty p {
    max-width: 480px;
    margin: 0 auto 22px;
    color: var(--listing-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tod-listing-empty a {
    color: var(--listing-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* Paginação */

.tod-listing-pagination {
    margin-top: 50px;
}

.tod-listing-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tod-listing-pagination a,
.tod-listing-pagination span {
    display: flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #DCE4EB;
    border-radius: 4px;
    background: #FFFFFF;
    color: var(--listing-navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.tod-listing-pagination .current,
.tod-listing-pagination a:hover {
    border-color: var(--listing-navy);
    background: var(--listing-navy);
    color: #FFFFFF;
}

/* Responsividade */

@media (max-width: 1000px) {
    .tod-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tod-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .tod-listing-page {
        padding: 45px 0 65px;
    }

    .tod-listing-container {
        width: calc(100% - 32px);
    }

    .tod-listing-heading {
        padding-bottom: 30px;
    }

    .tod-listing-heading h1 {
        font-size: 42px;
    }

    .tod-listing-heading p {
        font-size: 14px;
    }

    .tod-listing-filters {
        margin-top: 25px;
        padding: 20px 17px;
    }

    .tod-filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tod-filter-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .tod-filter-submit {
        width: 100%;
    }

    .tod-filter-reset {
        text-align: center;
    }

    .tod-listing-results {
        margin-top: 45px;
    }

    .tod-listing-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .tod-listing-sort {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .tod-listing-sort select {
        min-width: 0;
        max-width: 190px;
    }

    .tod-listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tod-listing-card-image {
        height: 230px;
    }
}

/* =========================================================
   TOD — PÁGINA DE IMÓVEIS
   URL: /imoveis/
   Design: Corporate / Premium
   ========================================================= */

.tod-listing-page {
    --tod-listing-navy: #0D3B66;
    --tod-listing-blue: #1768AC;
    --tod-listing-text: #263746;
    --tod-listing-muted: #778797;

    width: 100%;
    min-height: 700px;
    padding: 65px 0 100px;
    background: #ECECEC;
    color: var(--tod-listing-text);
}

.tod-listing-page *,
.tod-listing-page *::before,
.tod-listing-page *::after {
    box-sizing: border-box;
}

.tod-listing-container {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

/* CABEÇALHO */

.tod-listing-heading {
    position: relative;
    padding: 25px 0 42px;
    border-bottom: 1px solid #D7DDE2;
}

.tod-listing-eyebrow {
    display: block;
    margin-bottom: 17px;
    color: var(--tod-listing-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tod-listing-heading h1 {
    margin: 0 0 14px;
    color: var(--tod-listing-navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.tod-listing-heading p {
    max-width: 650px;
    margin: 0;
    color: #718092;
    font-size: 15px;
    line-height: 1.8;
}

/* FILTROS */

.tod-listing-filters {
    margin-top: 32px;
    padding: 30px;
    border: 1px solid #E0E5E9;
    border-radius: 7px;
    background: #FFFFFF;
    box-shadow: 0 8px 30px rgba(13, 59, 102, .045);
}

.tod-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

.tod-filter-field {
    min-width: 0;
}

.tod-filter-field label,
.tod-listing-sort label {
    display: block;
    margin-bottom: 9px;
    color: #34495D;
    font-size: 11px;
    font-weight: 700;
}

.tod-filter-field input,
.tod-filter-field select,
.tod-listing-sort select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #DCE3E9;
    border-radius: 4px;
    outline: none;
    background: #FAFBFC;
    color: #263746;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.tod-filter-field input:focus,
.tod-filter-field select:focus,
.tod-listing-sort select:focus {
    border-color: var(--tod-listing-blue);
    box-shadow: 0 0 0 3px rgba(23, 104, 172, .09);
}

.tod-filter-field input::placeholder {
    color: #A2ADB8;
}

.tod-filter-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #EDF0F2;
}

.tod-filter-submit {
    min-height: 47px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    background: var(--tod-listing-navy);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.tod-filter-submit:hover {
    background: var(--tod-listing-blue);
    transform: translateY(-2px);
}

.tod-filter-reset {
    color: #728194;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.tod-filter-reset:hover {
    color: var(--tod-listing-blue);
}

/* RESULTADOS */

.tod-listing-results {
    margin-top: 65px;
}

.tod-listing-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.tod-listing-results-label {
    display: block;
    margin-bottom: 10px;
    color: var(--tod-listing-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.tod-listing-results-heading h2 {
    margin: 0;
    color: var(--tod-listing-navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.7px;
}

.tod-listing-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tod-listing-sort label {
    margin: 0;
    white-space: nowrap;
}

.tod-listing-sort select {
    width: auto;
    min-width: 185px;
    height: 43px;
    background: #FFFFFF;
}

/* CARTÕES */

.tod-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.tod-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E1E6EA;
    border-radius: 6px;
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tod-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(13, 59, 102, .10);
}

/* IMAGEM */

.tod-listing-card-image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: #DDE5EC;
    text-decoration: none;
}

.tod-listing-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.tod-listing-card:hover .tod-listing-card-image img {
    transform: scale(1.045);
}

.tod-listing-operation {
    position: absolute;
    top: 17px;
    left: 17px;
    padding: 9px 13px;
    border-radius: 3px;
    background: var(--tod-listing-navy);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

/* IMÓVEL SEM FOTOGRAFIA */

.tod-listing-no-image {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A2E4F, #1768AC);
    color: #FFFFFF;
}

.tod-listing-no-image span {
    font-family: Manrope, sans-serif;
    font-size: 43px;
    font-weight: 800;
    letter-spacing: 5px;
}

.tod-listing-no-image small {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 3px;
}

/* CONTEÚDO DOS CARTÕES */

.tod-listing-card-content {
    padding: 23px 22px 21px;
}

.tod-listing-card-type {
    margin-bottom: 10px;
    color: var(--tod-listing-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.tod-listing-card-content h3 {
    margin: 0;
    color: var(--tod-listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.tod-listing-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.tod-listing-card-content h3 a:hover {
    color: var(--tod-listing-blue);
}

.tod-listing-location {
    margin: 10px 0 0;
    color: #788797;
    font-size: 13px;
}

.tod-listing-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid #EDF0F2;
    color: #84919E;
    font-size: 11px;
}

.tod-listing-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
}

.tod-listing-card-bottom > strong {
    color: var(--tod-listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.tod-listing-view {
    color: var(--tod-listing-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tod-listing-view:hover {
    color: var(--tod-listing-navy);
}

.tod-listing-view span {
    margin-left: 4px;
}

/* SEM RESULTADOS */

.tod-listing-empty {
    padding: 75px 25px;
    border: 1px dashed #CAD6E1;
    border-radius: 7px;
    background: #FFFFFF;
    text-align: center;
}

.tod-listing-empty-mark {
    display: block;
    margin-bottom: 20px;
    color: #DCE6EF;
    font-family: Manrope, sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 5px;
}

.tod-listing-empty h3 {
    margin: 0 0 12px;
    color: var(--tod-listing-navy);
    font-family: Manrope, sans-serif;
    font-size: 23px;
}

.tod-listing-empty p {
    max-width: 480px;
    margin: 0 auto 22px;
    color: var(--tod-listing-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tod-listing-empty a {
    color: var(--tod-listing-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* PAGINAÇÃO */

.tod-listing-pagination {
    margin-top: 50px;
}

.tod-listing-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tod-listing-pagination a,
.tod-listing-pagination span {
    display: flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #DCE4EB;
    border-radius: 4px;
    background: #FFFFFF;
    color: var(--tod-listing-navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.tod-listing-pagination .current,
.tod-listing-pagination a:hover {
    border-color: var(--tod-listing-navy);
    background: var(--tod-listing-navy);
    color: #FFFFFF;
}

/* RESPONSIVIDADE */

@media (max-width: 1000px) {
    .tod-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tod-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .tod-listing-page {
        padding: 45px 0 65px;
    }

    .tod-listing-container {
        width: calc(100% - 32px);
    }

    .tod-listing-heading {
        padding: 15px 0 30px;
    }

    .tod-listing-heading h1 {
        font-size: 42px;
    }

    .tod-listing-heading p {
        font-size: 14px;
    }

    .tod-listing-filters {
        margin-top: 25px;
        padding: 20px 17px;
    }

    .tod-filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tod-filter-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .tod-filter-submit {
        width: 100%;
    }

    .tod-filter-reset {
        text-align: center;
    }

    .tod-listing-results {
        margin-top: 45px;
    }

    .tod-listing-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .tod-listing-sort {
        width: 100%;
        justify-content: space-between;
    }

    .tod-listing-sort select {
        min-width: 0;
        max-width: 190px;
    }

    .tod-listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tod-listing-card-image {
        height: 230px;
    }
}

/* =========================================================
   TOD — PESQUISA GLOBAL
   ========================================================= */

.tod-header-search {
    position: relative;
    flex-shrink: 0;
}

.tod-header-search > summary {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 59, 102, .18);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
    color: #0D3B66;
    transition: .25s ease;
}

.tod-header-search > summary::-webkit-details-marker {
    display: none;
}

.tod-header-search > summary:hover,
.tod-header-search[open] > summary {
    background: #0D3B66;
    color: #fff;
}

.tod-header-search svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.tod-header-search > form {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: 370px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(10, 35, 60, .15);
    z-index: 999;
}

.tod-header-search > form label {
    display: block;
    margin-bottom: 10px;
    color: #0D3B66;
    font-weight: 700;
    font-size: 14px;
}

.tod-header-search__field {
    display: flex;
    gap: 8px;
}

.tod-header-search__field input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    outline: none;
}

.tod-header-search__field input:focus {
    border-color: #1768AC;
}

.tod-header-search__field button {
    flex-shrink: 0;
    padding: 0 15px;
    border: 0;
    border-radius: 6px;
    background: #0D3B66;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.tod-header-search__field button:hover {
    background: #1768AC;
}

@media (max-width: 600px) {
    .tod-header-search > form {
        position: fixed;
        top: 90px;
        left: 15px;
        right: 15px;
        width: auto;
    }
}


/* =========================================================
   TOD — FILTROS RECOLHIDOS
   ========================================================= */

.tod-listing-filters {
    margin-bottom: 32px;
    padding: 0;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    overflow: hidden;
}

.tod-filter-toggle {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    color: #0D3B66;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
}

.tod-filter-toggle::-webkit-details-marker {
    display: none;
}

.tod-filter-toggle-icon {
    font-size: 21px;
}

.tod-filter-toggle-arrow {
    margin-left: auto;
    font-size: 23px;
    font-weight: 400;
    transition: transform .2s ease;
}

.tod-listing-filters[open] .tod-filter-toggle-arrow {
    transform: rotate(45deg);
}

.tod-listing-filters > form {
    padding: 0 22px 22px;
    border-top: 1px solid #edf0f4;
}

.tod-listing-filters .tod-filter-grid {
    padding-top: 22px;
}

.tod-listing-filters .tod-filter-field label {
    display: block;
    margin-bottom: 7px;
    color: #26384a;
    font-size: 13px;
    font-weight: 600;
}

.tod-listing-filters .tod-filter-field input,
.tod-listing-filters .tod-filter-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    background: #fff;
    color: #24384d;
}

.tod-listing-filters .tod-filter-field input:focus,
.tod-listing-filters .tod-filter-field select:focus {
    outline: none;
    border-color: #1768AC;
}

@media (max-width: 600px) {
    .tod-filter-toggle {
        padding: 0 16px;
    }

    .tod-listing-filters > form {
        padding: 0 16px 18px;
    }
}

/* =========================================================
   TOD — PESQUISA NA MONTRA
   ========================================================= */

.tod-listing-search {
    margin: 0 0 22px;
}

.tod-listing-search-field {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 9px 10px 9px 20px;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(13, 59, 102, .045);
}

.tod-listing-search-field svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: #0D3B66;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.tod-listing-search-field input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #24384d;
    font-size: 15px;
}

.tod-listing-search-field input::placeholder {
    color: #8996a5;
}

.tod-listing-search-field button {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    background: #0D3B66;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.tod-listing-search-field button:hover {
    background: #1768AC;
}


/* =========================================================
   TOD — FILTROS RECOLHIDOS
   ========================================================= */

.tod-listing-filters {
    margin-bottom: 38px;
    padding: 0;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 10px;
    overflow: hidden;
}

.tod-filter-toggle {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    color: #0D3B66;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.tod-filter-toggle::-webkit-details-marker {
    display: none;
}

.tod-filter-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tod-filter-toggle-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.tod-filter-toggle-arrow {
    margin-left: auto;
    font-size: 23px;
    font-weight: 400;
    transition: transform .2s ease;
}

.tod-listing-filters[open] .tod-filter-toggle-arrow {
    transform: rotate(45deg);
}

.tod-listing-filters > form {
    padding: 22px;
    border-top: 1px solid #edf0f4;
}

.tod-listing-filters .tod-filter-field label {
    display: block;
    margin-bottom: 7px;
    color: #26384a;
    font-size: 13px;
    font-weight: 600;
}

.tod-listing-filters .tod-filter-field input,
.tod-listing-filters .tod-filter-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    background: #fff;
    color: #24384d;
}

.tod-listing-filters .tod-filter-field input:focus,
.tod-listing-filters .tod-filter-field select:focus {
    outline: none;
    border-color: #1768AC;
}

.tod-listing-results-heading > div > p {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 600px) {

    .tod-listing-search-field {
        gap: 9px;
        padding-left: 13px;
    }

    .tod-listing-search-field input {
        font-size: 13px;
    }

    .tod-listing-search-field button {
        padding: 0 13px;
        font-size: 13px;
    }

    .tod-filter-toggle {
        padding: 0 16px;
    }

    .tod-listing-filters > form {
        padding: 16px;
    }

}
.tod-listing-heading h1 {
    margin-top: 18px;
}

/* =========================================================
   TOD — AJUSTES FINAIS DE AUTENTICAÇÃO
   ========================================================= */

/* Reposição de palavra-passe: posicionamento do cartão */

.tod-reset-page {
    min-height: 690px;
    align-items: flex-start;
    padding-top: 112px;
    padding-bottom: 65px;
}

/* Link inferior mais pequeno e discreto */

.tod-reset-page .tod-auth-support {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.tod-reset-page .tod-reset-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #E1E7ED;
    border-radius: 7px;
    background: #F8FAFC;
    color: #536779;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.tod-reset-page .tod-reset-back-link:hover {
    border-color: #C7D7E5;
    background: #EEF4F9;
    color: #0D3B66;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Impedir o segundo ícone nativo de palavra-passe do Edge */

.tod-auth-password-wrap input::-ms-reveal,
.tod-auth-password-wrap input::-ms-clear {
    display: none;
}
