:root {
    --color-background: #ffffff;
    --color-surface: #ffffff;
    --color-surface-soft: #fcfbf9;
    --color-text: #1a1a1a;
    --color-text-muted: #5f5f5f;
    --color-line: #e8e0d8;
    --color-brand: #7b1113;
    --color-brand-dark: #4d080a;
    --color-dark: #111111;
    --shadow-soft: 0 16px 40px rgba(17, 17, 17, 0.08);
    --shadow-strong: 0 18px 50px rgba(17, 17, 17, 0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

p {
    margin: 0 0 1rem;
}

.about-content p,
.card p,
.value-card p,
.faq-item p,
.contact-card p,
.blog-card p {
    text-align: justify;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(123, 17, 19, 0.1);
}

.navbar,
.section-shell,
.blog-main,
.site-footer {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    width: auto;
    height: 75px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--color-brand);
}

.hero {
    width: 100%;
    margin: 0;
    padding: 128px 24px;
    position: relative;
    overflow: hidden;
    background: url("imagens/fundo-hero.png") center center / cover no-repeat;
    box-shadow: var(--shadow-strong);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(12, 12, 12, 0.68), rgba(12, 12, 12, 0.8));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}

.hero-kicker {
    margin-bottom: 16px;
    color: #f1d8d8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    color: #ffffff;
    line-height: 1.1;
}

.hero-description {
    max-width: 620px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    text-align: center;
}

.btn-principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.btn-principal:hover,
.btn-principal:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(123, 17, 19, 0.3);
}

.section {
    padding: 88px 0;
}

.titulo-secao {
    margin-bottom: 36px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-align: center;
}

.titulo-secao-left {
    text-align: left;
}

.section-services {
    overflow: hidden;
}

.meuCarrossel {
    padding: 4px 58px 52px;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.card {
    width: 100%;
    min-height: 100%;
    padding: 28px;
    border: 1px solid rgba(123, 17, 19, 0.1);
    border-top: 4px solid var(--color-brand);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--color-dark);
}

.card p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.swiper-pagination-bullet-active {
    background: var(--color-brand) !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: var(--color-brand) !important;
    box-shadow: 0 10px 24px rgba(123, 17, 19, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    color: #ffffff !important;
}

.section-values {
    background: #fcfcfc;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

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

.value-card {
    padding: 28px;
    border: 1px solid rgba(123, 17, 19, 0.08);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.value-card:hover,
.value-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(17, 17, 17, 0.14);
    border-color: rgba(123, 17, 19, 0.22);
}

.value-card h3 {
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--color-brand);
}

.value-card p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.quote-block {
    max-width: 760px;
    margin: 56px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--color-line);
    text-align: center;
}

.quote-block p {
    margin-bottom: 10px;
    font-family: "Cinzel", serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
}

.quote-block cite {
    color: var(--color-brand);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.about-photo {
    width: 100%;
    border-radius: 18px;
    border-bottom: 6px solid var(--color-brand);
    box-shadow: var(--shadow-soft);
}

.about-content {
    text-align: left;
}

.about-name {
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-subtitle {
    margin-bottom: 24px;
    color: var(--color-text-muted);
    font-style: italic;
}

.section-faq {
    background: #ffffff;
    border-top: 1px solid var(--color-line);
}

.faq-shell {
    max-width: 920px;
}

.faq-heading {
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: center;
}

.faq-heading p {
    color: var(--color-text-muted);
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(123, 17, 19, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    font-family: "Cinzel", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-dark);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(123, 17, 19, 0.1);
}

.faq-item p {
    margin: 0;
    padding: 20px 24px 24px;
    color: var(--color-text-muted);
}

.section-contact {
    background: #111111;
    color: #ffffff;
}

.section-contact .titulo-secao {
    color: #ffffff;
}

.contact-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-heading p {
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

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

.contact-card {
    padding: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.contact-card-emphasis {
    border-top: 4px solid var(--color-brand);
}

.contact-card h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.1rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-item + .contact-item {
    margin-top: 18px;
}

.contact-item span {
    display: block;
    margin-bottom: 6px;
    color: #d9a8a8;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.contact-button {
    margin-top: 4px;
    margin-bottom: 26px;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: #f4d4d4;
}

.blog-main {
    padding: 56px 0 88px;
}

.blog-hero {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.blog-hero p:last-child {
    color: var(--color-text-muted);
    text-align: center;
}

.blog-list {
    display: grid;
    gap: 24px;
}

.blog-card {
    padding: 32px;
    border: 1px solid rgba(123, 17, 19, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.blog-category {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-card h2 {
    margin-bottom: 14px;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.blog-meta,
.article-meta {
    margin: 6px 0 14px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-style: italic;
    text-align: left;
}

.blog-card p {
    color: var(--color-text-muted);
}

.blog-card a {
    color: var(--color-brand);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.article-main {
    padding: 56px 0 88px;
}

.article-shell {
    width: min(calc(100% - 32px), 900px);
    margin: 0 auto;
}

.article-back {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--color-brand);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-line);
}

.article-header h1 {
    margin-top: 12px;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.2;
}

.article-content {
    display: grid;
    gap: 18px;
}

.article-content p {
    margin-bottom: 0;
    color: var(--color-text);
    text-align: justify;
}

.article-quote {
    margin: 12px 0;
    padding: 24px 24px 22px;
    border-left: 4px solid var(--color-brand);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: #faf6f4;
}

.article-quote p {
    margin-bottom: 0;
    font-style: italic;
}

.article-references {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
}

.article-references h2 {
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.article-references ul {
    margin: 0;
    padding-left: 20px;
}

.article-references li {
    margin-bottom: 14px;
    color: var(--color-text-muted);
    text-align: justify;
}

.article-references a {
    color: var(--color-brand);
}

.site-footer {
    padding: 40px 0 56px;
    text-align: center;
    color: var(--color-text-muted);
}

.site-footer p {
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f8f4d 0%, #166437 100%);
    box-shadow: 0 18px 36px rgba(22, 100, 55, 0.28);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(22, 100, 55, 0.34);
}

.whatsapp-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.whatsapp-float-icon svg {
    width: 19px;
    height: 19px;
}

.whatsapp-float-text {
    white-space: nowrap;
}

.footer-name {
    margin-bottom: 6px;
    color: var(--color-dark);
    font-family: "Cinzel", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-divider {
    width: 44px;
    height: 2px;
    margin: 16px auto;
    background: var(--color-brand);
}

.footer-note {
    max-width: 720px;
    margin: 18px auto 0;
    font-style: italic;
}

@media (max-width: 900px) {
    .values-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .navbar {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0 18px;
    }

    .nav-links {
        justify-content: center;
        gap: 14px;
    }

    .hero {
        padding: 92px 20px;
    }

    .section {
        padding: 72px 0;
    }

    .meuCarrossel {
        padding: 4px 16px 52px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .card,
    .value-card,
    .contact-card,
    .blog-card {
        padding: 24px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding-right: 16px;
    }
}
