:root {
    --color-primary: #0b1f3a;
    --color-primary-dark: #07152a;
    --color-accent: #c8a349;
    --color-accent-light: #e7c975;
    --color-background: #ffffff;
    --color-muted: #f4f6fb;
    --color-text: #1f2a3d;
    --color-text-light: #6b7a99;
    --shadow-sm: 0 10px 30px rgba(11, 31, 58, 0.1);
    --shadow-lg: 0 25px 55px rgba(11, 31, 58, 0.15);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Work Sans', Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: min(100% - 3rem, var(--max-width));
    margin-inline: auto;
}

.block {
    display: block;
}

.mt-2 {
    margin-top: 0.5rem;
}

.text-justify {
    text-align: justify;
}

.text-gradient-gold {
    background: linear-gradient(90deg, #ffd35c, #ffe98a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.btn--primary {
    background: var(--color-accent);
    color: #0a1323;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover,
.btn--primary:focus {
    transform: translateY(-2px);
    background: var(--color-accent-light);
}

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover,
.btn--outline:focus {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.topbar {
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
}

.topbar__info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.topbar a {
    color: #ffffff;
    text-decoration: none;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 15px rgba(11, 31, 58, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.navbar__brand {
    font-family: 'Domine', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.navbar__menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navbar__menu a {
    font-weight: 500;
    color: var(--color-text-light);
}

.navbar__menu a:hover,
.navbar__menu a:focus {
    color: var(--color-primary);
}

.navbar__toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
}

.navbar__cta {
    display: none;
}

.hero {
    position: relative;
    background: url('../imagens/banner01.png') center/cover no-repeat;
    color: #ffffff;
    padding: 6rem 0 4rem;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, 0) 50%, rgba(11, 31, 58, 0) 100%);
}

.hero__content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero__text h1 {
    font-family: 'Domine', serif;
    font-size: clamp(2.2rem, 3.2vw, 3.1rem);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero__text h1 {
        white-space: nowrap;
    }
}

.hero__text p {
    font-size: 1.1rem;
    max-width: 35rem;
    margin-bottom: 1.5rem;
}

.hero__tag {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: rgba(200, 163, 73, 0.2);
    color: var(--color-accent-light);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.hero__rating {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero__stars {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
}

.hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero__highlights article {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.hero__highlights article p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.hero__highlights article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateY(20%);
}

.hero__highlights article:hover,
.hero__highlights article:focus-within {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.hero__highlights article:hover::before,
.hero__highlights article:focus-within::before {
    opacity: 1;
    transform: translateY(0);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__card {
    background: #ffffff;
    color: var(--color-primary);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 24rem;
}

.hero__card h2 {
    margin-top: 0;
    font-family: 'Domine', serif;
}

.hero__card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hero__card li {
    margin-bottom: 0.75rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: 'Domine', serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about {
    background: var(--color-muted);
}

.about__intro {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.about__intro-media {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.about__intro-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.05) 0%, rgba(11, 31, 58, 0.15) 100%);
    pointer-events: none;
}

.about__intro-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about__intro-text h1,
.about__intro-text h2 {
    margin-top: 0;
    text-align: center;
}

.about__intro-text {
    max-width: 36rem;
    margin: 0 auto;
}

.about__intro p {
    margin: 0;
}

@media (min-width: 768px) {
    .about__intro {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        text-align: left;
    }

    .about__intro-text {
        margin: 0;
    }
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.useful-links {
    background: var(--color-background);
}

.useful-links__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.useful-links__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: var(--color-muted);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.useful-links__card:hover,
.useful-links__card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.useful-links__title {
    font-family: 'Domine', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.useful-links__hint {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

@media (max-width: 1024px) {
    .useful-links__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.about__grid article {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.about__card {
    border-top: 4px solid var(--color-accent);
}

.metrics {
    background: #ffffff;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metrics__grid article {
    background: var(--color-muted);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.metrics__number {
    display: block;
    font-family: 'Domine', serif;
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.services {
    background: #ffffff;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1rem;
}

.service-card__icon {
    font-size: 2rem;
}

.service-card__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.service-card__tags li {
    background: var(--color-muted);
    color: var(--color-primary);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.service-card__cta {
    font-weight: 600;
    color: var(--color-primary);
}

.cta {
    background: var(--color-primary);
    color: #ffffff;
    text-align: center;
}

.cta__content {
    display: grid;
    gap: 1.5rem;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: #25d366;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1000;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
}

.faq {
    background: var(--color-muted);
}

.faq__list {
    display: grid;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
}

.faq__item {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.faq__question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact__card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.75rem;
}

.contact__card--address {
    grid-column: span 2;
}

.contact__hint {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.location {
    background: #ffffff;
}

.location__content {
    display: grid;
    gap: 1.5rem;
}

.location iframe {
    width: 100%;
    min-height: 360px;
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.location__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ods {
    background: var(--color-muted);
}

.ods__content {
    display: grid;
    gap: 2.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.ods__header {
    text-align: center;
    display: grid;
    gap: 1rem;
}

.ods__tag {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    background: rgba(200, 163, 73, 0.16);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ods__header h1 {
    margin: 0;
    font-family: 'Domine', serif;
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    color: var(--color-primary);
}

.ods__header p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.ods__body {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 2rem;
    line-height: 1.85;
    font-size: 1.02rem;
}

.ods__image-full {
    justify-self: center;
}

.ods__image-full img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.ods__intro h2 {
    margin: 0 0 0.5rem;
    font-family: 'Domine', serif;
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    color: var(--color-primary);
}

.ods__intro p {
    margin: 0;
    color: var(--color-text);
}

.ods__image {
    margin: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--color-muted);
}

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

.ods__goals {
    display: grid;
    gap: 1.25rem;
}

.ods__goals-title {
    margin: 0;
    font-family: 'Domine', serif;
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    color: var(--color-primary);
}

.ods__goals-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.6rem;
    list-style: decimal;
}

.ods__goals-list li {
    padding: 0.75rem 0.95rem;
    background: var(--color-muted);
    border-radius: 0.9rem;
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.05);
}

.ods__goals-list strong {
    color: var(--color-primary);
}

.ods__document {
    background: rgba(200, 163, 73, 0.12);
    border: 1px solid rgba(200, 163, 73, 0.25);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
}

.ods__document h3 {
    margin: 0 0 0.4rem;
    font-family: 'Domine', serif;
    color: var(--color-primary);
}

.ods__document a {
    color: var(--color-primary);
    font-weight: 600;
}

@media (min-width: 880px) {
    .ods__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .ods__body > .ods__image-full,
    .ods__body > .ods__goals,
    .ods__body > .ods__document {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .ods__goals-list {
        padding-left: 1rem;
    }

    .ods__goals-list li {
        padding: 0.75rem 0.85rem;
    }
}

.lgpd {
    background: var(--color-muted);
}

.lgpd__content {
    display: grid;
    gap: 2.5rem;
    max-width: 860px;
}

.lgpd__header {
    text-align: center;
    display: grid;
    gap: 1rem;
}

.lgpd__tag {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    background: rgba(200, 163, 73, 0.18);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lgpd__header h1 {
    margin: 0;
    font-family: 'Domine', serif;
    font-size: clamp(2.1rem, 3.5vw, 2.9rem);
    color: var(--color-primary);
}

.lgpd__header p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.lgpd__body {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
}

.lgpd__body h2,
.lgpd__body h3 {
    margin: 0;
    font-family: 'Domine', serif;
    color: var(--color-primary);
}

.lgpd__body h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.lgpd__body h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.lgpd__body section {
    display: grid;
    gap: 1rem;
    background: var(--color-muted);
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.lgpd__body a {
    color: var(--color-primary);
    font-weight: 600;
}

.lgpd__modal-trigger {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lgpd__modal-trigger::after {
    content: '\2197';
    font-size: 1rem;
}

.lgpd__modal-trigger:hover,
.lgpd__modal-trigger:focus {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

body.no-scroll {
    overflow: hidden;
}

.modal[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
}

.modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.55);
    backdrop-filter: blur(6px);
}

.modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: min(900px, 100%);
    max-height: min(90vh, 980px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.modal__header h2 {
    margin: 0;
    font-family: 'Domine', serif;
    color: var(--color-primary);
    font-size: clamp(1.6rem, 2.5vw, 1.9rem);
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal__close:hover,
.modal__close:focus {
    transform: scale(1.1);
    color: var(--color-primary);
}

.modal__body {
    padding: 2rem;
    overflow-y: auto;
    display: grid;
    gap: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.modal__body ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.65rem;
}

@media (max-width: 640px) {
    .modal__dialog {
        border-radius: 1rem;
    }

    .modal__header {
        padding: 1.25rem;
    }

    .modal__body {
        padding: 1.25rem;
    }
}

.footer {
    background: var(--color-primary-dark);
    color: #e0e6f2;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.footer h3,
.footer h4 {
    font-family: 'Domine', serif;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer__policy {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-accent-light);
}

.footer__back-to-top {
    text-align: center;
    padding: 1.5rem 0;
}

.footer__back-to-top a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-accent-light);
    transition: transform 0.2s ease;
}

.footer__back-to-top a:hover,
.footer__back-to-top a:focus-visible {
    transform: translateY(-2px);
}

.footer__back-to-top a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.footer__back-text {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer__back-icon {
    font-size: 1.2rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #c1cbe0;
}

@media (max-width: 960px) {
    .navbar__menu {
        position: absolute;
        top: 100%;
        right: 1.5rem;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-sm);
        display: none;
    }

    .navbar__menu.open {
        display: flex;
    }

    .navbar__toggle {
        display: inline-flex;
    }

    .navbar__cta {
        display: inline-flex;
    }

    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__card {
        max-width: 100%;
    }

    .hero__highlights {
        grid-template-columns: 1fr;
    }

    .contact__card--address {
        grid-column: span 1;
    }
}

@media (max-width: 720px) {
    .topbar .container {
        justify-content: center;
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    section {
        padding: 4rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__actions {
        flex-direction: column;
    }

    .location__actions {
        flex-direction: column;
    }
}
