/* CSS HEX */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Merriweather:wght@300;400;700&family=Poppins:wght@200;500;900&family=Roboto:ital,wght@0,500;0,700;0,900;1,400&family=UnifrakturMaguntia&display=swap');


:root {
    --davys-gray: #4d4b50ff;
    --byzantine-blue: #0c4ce2ff;
    --navy-deep: #071f5c;
    --off-red-rgb: #f30505ff;
    --turkey-red: #a50405ff;
    --platinum: #eaeaeaff;
    --gold-metallic: #d4af37;
    --white: #fff;
    --ink: #17161a;

    --text-color01: rgb(77, 75, 80)   ;
    --text-color02: rgb(105, 103, 108);
    --text-color03: rgb(133, 131, 136);
    --text-color04: rgb(161, 159, 164);
    --text-color05: rgb(189, 187, 192);
    --text-color06: rgb(217, 215, 220);

    /* Altura real da navbar fixa, medida via JS (initNavbarHeightVar em
       app.js) e usada como margin-top do hero. O valor abaixo é só o
       fallback para antes do JS rodar / com JS desabilitado. */
    --navbar-height: 90px;
}

/* Aumenta em 5% a distância entre o conteúdo e as bordas da tela na
   versão mobile (o .container passa a ocupar 95% da largura da tela em
   vez de 100%, ampliando igualmente as margens laterais). Desktop fica
   inalterado. */
@media (max-width: 767px) {
    .container { max-width: 95%; }
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--text-color05);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M24 6L6 24'/%3e%3c/svg%3e");
    transform: rotate(90deg);
}

.navbar .navbar-toggler {
    border: none;
    box-shadow: none;
    color: rgba(1, 1, 1, 0);
    padding: 0.4rem;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

/* O .navbar-expand-lg do Bootstrap já esconde o toggler a partir do
   breakpoint lg — sem isso aqui só sob media query, o "display: flex"
   acima (necessário para centralizar o ícone no mobile) sobrescreveria
   esse comportamento e manteria o hambúrguer visível também no desktop. */
@media (max-width: 991.98px) {
    .navbar .navbar-toggler {
        display: flex;
    }
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar .navbar-toggler:focus-visible {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

/* Botões de idioma: duas bandeiras redondas (Reino Unido -> inglês,
   Brasil -> português), um pouco menor que o brasão da marca (40px) —
   ver lang_flag_markup() em includes/header.php. A bandeira preenche o
   círculo inteiro (object-fit: cover na imagem, overflow hidden no
   botão), sem sobra de fundo ao redor. */
.lang-flag-btn {
    display: block;
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gold-metallic);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

/* Área de toque ampliada para pelo menos 48x48px sem alterar o
   tamanho visual da bandeira (32px). O pseudo-elemento é invisível
   (sem background) e apenas estende a região clicável/tocável. */
.lang-flag-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
}

.lang-flag-btn:hover {
    transform: translateY(-1px);
}

.lang-flag-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

/* A bandeira dos EUA, recortada no centro (padrão), mostrava mais listras
   vermelhas do que o retângulo azul estrelado (canto superior esquerdo) —
   desloca o enquadramento para frisar esse canto. */
.lang-flag-img--us {
    object-position: 15% 15%;
}

.navbar {
    background-color: var(--davys-gray) !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    transition: background-color 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.navbar.navbar-scrolled {
    background-color: rgba(77, 75, 80, 0.75) !important;
    border-bottom-color: rgba(212, 175, 55, 0.3);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    backdrop-filter: blur(8px);
}

.navbar-brand {
    transition: opacity 0.25s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.textEdition {
    font-family: Merriweather;
    font-size: 16px;
    color: var(--gold-metallic);
}

.letraE {
    font-size: 20px;
}

.textoFonte {
    font-family: UnifrakturMaguntia;
    font-size: 28px;
    color: var(--gold-metallic);
}

.navbar-nav {
    gap: 0.35rem;
}

.nav-link {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--platinum);
    padding: 0.55rem 0.85rem !important;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--gold-metallic);
}

@media (min-width: 992px) {
    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0.15rem;
        width: 0;
        height: 2px;
        background: var(--gold-metallic);
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 28px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 0.75rem;
        background: var(--davys-gray);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .navbar-nav {
        gap: 0.15rem;
    }

    .nav-item + .nav-item {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-link {
        text-align: center;
        border-radius: 8px;
        padding: 0.9rem 1rem !important;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(212, 175, 55, 0.08);
    }
}

body.scroll-locked {
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 20, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1020;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ============ SEÇÕES / ORNAMENTOS COMPARTILHADOS ============ */

.section-eyebrow {
    display: block;
    font-family: 'Allura', cursive;
    font-size: 1.9rem;
    color: var(--gold-metallic);
    margin-bottom: 0.15rem;
    text-align: center;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
    text-align: center;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 3rem;
}

.section-divider span {
    width: 46px;
    height: 1px;
    background: var(--gold-metallic);
    display: inline-block;
}

.cross-ornament {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 18px;
}

.cross-ornament::before,
.cross-ornament::after {
    content: "";
    position: absolute;
    background: var(--gold-metallic);
}

.cross-ornament::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.cross-ornament::after {
    top: 22%;
    left: 0;
    width: 100%;
    height: 2px;
}

.btn-hero {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--gold-metallic);
    background: transparent;
    border: 1px solid var(--gold-metallic);
    padding: 0.85rem 2.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero:hover {
    background: var(--gold-metallic);
    color: var(--ink);
}

.btn-navy {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--byzantine-blue);
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(12, 76, 226, 0.3);
}

.btn-navy:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(12, 76, 226, 0.4);
}

.btn-danger {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--turkey-red);
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(165, 4, 5, 0.3);
}

.btn-danger:hover {
    background: #7a0304;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(165, 4, 5, 0.4);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ HERO ============ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    /* Ancorado no topo (logo abaixo da navbar, via margin-top abaixo) em
       vez de centralizado no meio da seção — mesma referência de
       posicionamento em qualquer resolução, do mobile ao fullhd, e igual
       ao .sobre-hero (sobre.php). */
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: url("../img/hero01.jpg") center center / cover no-repeat;
    background-attachment: scroll;
    margin-top: var(--navbar-height);
    overflow: hidden;
}

/* padding-top isolado numa media query (em vez de valor fixo aqui) para
   não competir, por ordem de declaração no arquivo, com o padding-top
   de telas <=768px (mais abaixo) — mesma especificidade em ambos os
   casos, então a ordem no arquivo decidiria "silenciosamente" qual
   vale, algo frágil ao mexer no CSS depois. Faixas exclusivas evitam
   essa pegadinha (ver mesmo padrão em .sobre-hero). */
@media (min-width: 769px) {
    .hero-section {
        padding-top: 1.5rem;
    }
}

.hero-content-inner {
    position: relative;
    z-index: 1;
    color: var(--platinum);
    padding: 0 1rem;
}

.hero-crest {
    width: 280px;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
}

.hero-title {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: var(--gold-metallic);
    margin-bottom: 0.35rem;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-title-edition {
    display: block;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 2.2vw, 1.3rem);
    letter-spacing: 7px;
    color: var(--platinum);
    text-transform: uppercase;
}

.hero-tagline {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--gold-metallic);
    border: 1px solid var(--gold-metallic);
    background: rgba(5, 12, 28, 0.45);
    padding: 0.7rem 2rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto 2.25rem;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 0;
    margin: 0 auto 2.5rem;
}

.hero-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 140px;
    height: 140px;
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--platinum);
    line-height: 1.4;
    background: rgba(5, 12, 28, 0.45);
    border-radius: 8px;
    padding: 0.9rem 0.75rem;
}

.hero-features i {
    color: var(--gold-metallic);
    font-size: 1.4rem;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-metallic);
    font-size: 1.3rem;
    z-index: 1;
    animation: bounce 2.2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Em telas de 769px a 1600px (HD, 1600x900 etc.), "cover" cortava as
   laterais da imagem (a foto é mais larga, proporcionalmente, que esses
   viewports). Aqui a imagem passa a ocupar 100% da largura sem corte
   lateral. Como isso muda a altura que a imagem ocupa, a própria altura
   do .hero-section é recalculada via aspect-ratio (mesma proporção do
   arquivo hero01.jpg: 1443x720) em vez do antigo min-height:100vh fixo —
   assim a seção nunca sobra maior que a imagem, o que antes deixava um
   pedaço da cor de fundo visível abaixo dela. Abaixo de 769px (celular)
   mantemos o "cover" original: a imagem cheia geraria uma faixa de
   imagem baixa demais para caber o conteúdo do hero.  */
@media (min-width: 769px) and (max-width: 1600px) {
    .hero-section {
        min-height: 0;
        height: auto;
        aspect-ratio: 1443 / 720;
        background-size: 100% auto;
        background-position: top center;
    }

    /* Mesmo raciocínio: em vez de um tamanho fixo (400px -> 280px) que
       não cabia confortavelmente na altura mais enxuta da seção nessa
       faixa de largura, o brasão também é calculado proporcionalmente
       à viewport (clamp com base em vw). */
    .hero-crest {
        width: clamp(160px, 18vw, 280px);
    }

    /* Mesmo raciocínio: em vez de um tamanho fixo (140px) que não cabia
       confortavelmente na altura mais enxuta da seção nessa faixa de
       largura, o card é calculado proporcionalmente à viewport
       (clamp com base em vw) e mantido quadrado via aspect-ratio. */
    .hero-features li {
        width: clamp(90px, 8vw, 140px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ============ PORTFÓLIO ============ */

#portfolio {
    scroll-margin-top: 90px;
    background: var(--white);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.product-carousel {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 56px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    height: 340px;
    background: var(--platinum);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 2.25rem;
    text-align: left;
    overflow: hidden;
}

.product-cover {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.product-cover-catalog {
    object-fit: contain;
    background: linear-gradient(160deg, var(--navy-deep), #05070f);
    padding: 1.5rem;
}

/* Bloco de texto: coluna com altura total do card, para que o botão
   (product-cta) sempre fique ancorado embaixo via margin-top:auto,
   não importa quanto texto o produto tenha. */
.product-info {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    flex: 1;
}

.product-info-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.product-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--davys-gray);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-badge {
    flex-shrink: 0;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--turkey-red);
    border: 1px solid var(--turkey-red);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    white-space: nowrap;
}

.product-subtitle {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-color02);
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: var(--text-color03);
    margin: 0 0 0.75rem;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta-item:not(:last-child)::after {
    content: " · ";
}

/* Wrapper não-flex: o Chrome "blockifica" display:-webkit-box quando o
   elemento É o item flex direto, quebrando o line-clamp. Isolando o <p>
   dentro de um div comum (que absorve o flex:1 para empurrar o CTA para
   baixo), o -webkit-box do parágrafo funciona normalmente. */
.product-desc-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.product-desc {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    color: var(--text-color02);
    line-height: 1.75;
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-cta {
    align-self: flex-start;
    margin-top: auto;
}

.product-carousel .carousel-indicators {
    position: static;
    margin: 2rem 0 0;
}

.product-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gold-metallic);
    opacity: 0.35;
}

.product-carousel .carousel-indicators .active {
    opacity: 1;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: var(--davys-gray);
    border-radius: 50%;
    opacity: 0.9;
}

.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover {
    background: var(--gold-metallic);
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    width: 1.1rem;
    height: 1.1rem;
}

@media (max-width: 768px) {
    .product-carousel {
        padding: 0 44px;
    }
    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 620px;
        padding: 2rem 1.75rem;
    }
    .product-cover {
        width: 160px;
        height: 210px;
        margin-bottom: 0.5rem;
    }
    .product-info {
        align-items: center;
        width: 100%;
    }
    .product-info-header {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    .product-subtitle {
        width: 100%;
    }
    .product-meta {
        flex-direction: column;
        align-items: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        gap: 0.15rem;
        margin: 0 0 1rem;
    }
    .product-meta-item:not(:last-child)::after {
        content: none;
    }
    .product-cta {
        align-self: center;
        margin-top: 0.5rem;
    }
    .product-carousel .carousel-control-prev { left: -10px; }
    .product-carousel .carousel-control-next { right: -10px; }
}

/* ============ SOBRE ============ */

.about-section {
    scroll-margin-top: 90px;
    background: var(--platinum);
    color: var(--davys-gray);
    padding: 6rem 0;
}

.about-section .section-eyebrow,
.about-section .section-title {
    text-align: left;
}

.about-section .section-title {
    color: var(--davys-gray);
}

.about-image-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 6px solid var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.about-crest-badge {
    position: absolute;
    bottom: -41px;
    right: -26px;
    width: 139px;
    height: 139px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gold-metallic);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-crest {
    width: 68%;
}

@media (max-width: 576px) {
    .about-crest-badge { width: 99px; height: 99px; bottom: -23px; right: -15px; }
}

.about-text {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-color02);
    margin-bottom: 1.25rem;
}

.about-quote {
    font-family: 'Allura', cursive;
    font-size: 1.9rem;
    color: var(--turkey-red);
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .about-quote {
        text-align: center;
    }
}

.about-imprints {
    margin: 1.75rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-imprints-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color03);
    margin-bottom: 0.9rem;
}

.about-imprints-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.imprint-badge {
    display: inline-block;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--davys-gray);
    background: var(--platinum);
    border: 1px solid var(--gold-metallic);
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
}

/* ============ DEPOIMENTOS ============ */

.testimonials-section {
    scroll-margin-top: 90px;
    background: var(--white);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.testimonials-section .section-title {
    color: var(--davys-gray);
}

.testimonials-section .section-divider {
    justify-content: center;
    width: 50%;
    margin: 0 auto 3rem;
}

@media (max-width: 991.98px) {
    .testimonials-section .section-divider {
        width: 100%;
    }
}

/* Carrossel de depoimentos: um depoimento por slide (ver
   includes/sections/testimonials.php) — garante loop infinito real já a
   partir de 2 depoimentos ativos, sem depender de formar grupos. */
.testimonial-carousel {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 56px;
}

.testimonial-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Tamanho fixo: a área de mídia usa a proporção padrão de vídeo do
   Instagram (Reels/Stories, 9:16) com largura fixa — vídeo e capa
   (que antes eram 9/16 e 3/4, respectivamente) passam a ocupar
   exatamente o mesmo espaço, então o card não muda de tamanho a cada
   slide. Nome/obra têm altura reservada fixa (line-clamp) pelo mesmo
   motivo, mesmo com textos de tamanhos diferentes. */
.testimonial-card {
    display: flex;
    flex-direction: column;
    width: 350px;
    margin: 0 auto;
    background: #f1e2c3;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    text-align: center;
}

.testimonial-video-frame,
.testimonial-cover-frame {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.testimonial-video-frame {
    background: var(--ink);
}

.testimonial-video-frame video,
.testimonial-cover-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-nome {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--davys-gray);
    margin: 0 0 0.3rem;
}

.testimonial-card-obra {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-color03);
    margin: 0;
}

.testimonial-carousel .carousel-indicators {
    position: static;
    margin: 2.5rem 0 0;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gold-metallic);
    opacity: 0.35;
}

.testimonial-carousel .carousel-indicators .active {
    opacity: 1;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: var(--davys-gray);
    border-radius: 50%;
    opacity: 0.9;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    background: var(--gold-metallic);
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 1.1rem;
    height: 1.1rem;
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 0 44px;
    }
    .testimonial-slide {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        width: 100%;
        max-width: 350px;
    }
    .testimonial-carousel .carousel-control-prev { left: -10px; }
    .testimonial-carousel .carousel-control-next { right: -10px; }
}

/* ============ CONTATO ============ */

.contact-section {
    scroll-margin-top: 90px;
    background: linear-gradient(160deg, var(--byzantine-blue) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 6rem 0;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-crest {
    display: block;
    width: 250px;
    padding-top: 50px;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 8px 18px rgba(26, 26, 22, 0.9));
}

.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
}

/* Modal do formulário de contato (#contactFormModal) — mais largo e
   alinhado à esquerda que o .site-modal padrão (usado pelos modais de
   consentimento/sucesso, que são só texto + botões centralizados). */
.site-modal-dialog.contact-form-dialog {
    max-width: 470px;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.5) transparent;
}

.contact-form-dialog::-webkit-scrollbar {
    width: 8px;
}

.contact-form-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.contact-form-dialog::-webkit-scrollbar-thumb {
    background-color: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.contact-form-dialog::-webkit-scrollbar-thumb:hover {
    background-color: rgba(212, 175, 55, 0.75);
}

.contact-form-dialog .site-modal-title {
    text-align: left;
}

.contact-form-dialog .contact-form-card {
    padding: 2rem;
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .site-modal-dialog.contact-form-dialog {
        max-width: 860px;
    }

    .contact-form-dialog .contact-form-card {
        padding: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-form-dialog .contact-form-card {
        padding: 1.5rem;
    }
}

.contact-alert {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    text-align: left;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.contact-info-item i {
    color: var(--gold-metallic);
    font-size: 1.3rem;
}

.contact-info-item h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    color: var(--gold-metallic);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    color: var(--text-color06);
    margin: 0;
}

.contact-info-item p a {
    color: inherit;
    text-decoration: none;
}

.contact-info-item p a:hover {
    color: var(--gold-metallic);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social a,
.contact-social button {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--gold-metallic);
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-metallic);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-social a:hover,
.contact-social button:hover {
    background: var(--gold-metallic);
    color: var(--ink);
}

/* Botão de envelope — abre o modal do formulário de contato (ver
   #contactFormModal em includes/sections/contact-form-modal.php e
   initContactFormModal() em asset/js/app.js). Mesmo visual circular dos
   ícones de rede social ao lado, para não destoar do grupo. */
#btnAbrirContatoModal i {
    font-size: 1.1rem;
}

.contact-form .form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color02);
}

.contact-form .form-control {
    background: var(--platinum);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--davys-gray);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
}

.contact-form .form-control:focus {
    background: var(--white);
    border-color: var(--gold-metallic);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    color: var(--davys-gray);
}

.contact-form .form-control::placeholder {
    color: var(--text-color04);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============ MODAL DE CONSENTIMENTO ============ */

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 1070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 20, 0.68);
    backdrop-filter: blur(3px);
}

.site-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--davys-gray);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    padding: 2.25rem 2rem;
    text-align: center;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s ease;
}

.site-modal.is-visible .site-modal-dialog {
    transform: translateY(0) scale(1);
}

/* Botão "X" no canto do modal — todo .site-modal (site público e
   admin) usa o mesmo padrão, complementando (não substituindo) os
   botões de ação (Cancelar/Fechar) e o fechamento via Escape/backdrop
   já existentes. */
.site-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: transparent;
    color: var(--text-color05);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.site-modal-close:hover {
    color: var(--gold-metallic);
    background: rgba(212, 175, 55, 0.12);
}

.site-modal-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

.site-modal-dialog .section-divider {
    margin-bottom: 1.25rem;
}

.site-modal-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--platinum);
    margin-bottom: 1rem;
}

.site-modal-text {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-color06);
    margin-bottom: 1.75rem;
}

.site-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-modal-actions .btn-hero,
.site-modal-actions .btn-navy,
.site-modal-actions .btn-danger {
    margin: 0;
}

@media (max-width: 480px) {
    .site-modal-dialog {
        padding: 1.75rem 1.25rem;
    }
    .site-modal-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    .site-modal-actions .btn-hero,
    .site-modal-actions .btn-navy,
    .site-modal-actions .btn-danger {
        width: 100%;
    }
}

/* ============ AVISO DE PRIVACIDADE ============ */

.privacy-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--ink);
    color: var(--platinum);
    padding: 0.9rem 1.75rem;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.privacy-notice.is-visible {
    transform: translateY(0);
}

.privacy-notice p {
    margin: 0;
    max-width: 720px;
    text-align: center;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-color06);
}

.privacy-notice-close {
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink);
    background: var(--gold-metallic);
    border: none;
    padding: 0.75rem 1.5rem;
    min-height: 48px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.privacy-notice-close:hover {
    background: var(--white);
}

.privacy-notice-close:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

body.has-privacy-notice .whatsapp-float {
    bottom: 92px;
}

@media (max-width: 576px) {
    .privacy-notice {
        flex-direction: column;
        padding: 1rem;
    }
    body.has-privacy-notice .whatsapp-float {
        bottom: 128px;
    }
}

/* ============ LIGHTBOX DE IMAGEM (ZOOM) ============ */

.js-zoomable-image-ready {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-lightbox.is-visible {
    display: flex;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 20, 0.92);
}

.image-lightbox-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    touch-action: none;
    user-select: none;
    transition: transform 0.15s ease;
}

.image-lightbox-toolbar {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.image-lightbox-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.image-lightbox-btn:hover,
.image-lightbox-btn:focus-visible {
    background: var(--gold-metallic);
    border-color: var(--gold-metallic);
    color: var(--ink);
}

.image-lightbox-close {
    font-size: 1.6rem;
}

@media (max-width: 576px) {
    .image-lightbox-toolbar {
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.4rem;
    }
    .image-lightbox-btn {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }
}

/* ============ BOTÃO FLUTUANTE WHATSAPP ============ */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background: var(--davys-gray);
    color: var(--gold-metallic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1040;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: whatsapp-pulse 2.2s ease-in-out infinite;
}

/* Cresce/encolhe levemente enquanto um halo dourado pulsa ao redor —
   chama atenção pro botão sem exigir hover (útil no mobile, que não tem
   hover). Pausa sozinha se o usuário preferir menos animação. */
@keyframes whatsapp-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(212, 175, 55, 0.55);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 14px rgba(212, 175, 55, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

.whatsapp-float:hover {
    color: var(--ink);
    background: var(--gold-metallic);
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    animation-play-state: paused;
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        right: 36px;
        bottom: 60px;
        font-size: 1.92rem;
    }
}

/* ============ RODAPÉ ============ */

.rodape {
    margin-top: auto;
    background-image: linear-gradient(160deg, var(--navy-deep), #05070f);
    color: var(--platinum);
    padding: 1.4rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scripta {
    font-family: Allura;
    color: var(--gold-metallic);
    font-size: 26px;
}

.footer-copyright {
    margin-top: 0.6rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: var(--text-color04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-rights-line {
    display: block;
}

.footer-cnpj::before {
    content: " - ";
}

@media (max-width: 576px) {
    .footer-cnpj {
        display: block;
        margin-top: 0.2rem;
    }

    .footer-cnpj::before {
        content: "";
    }
}

@media (max-width: 768px) {
    .hero-section, #portfolio, .about-section, .contact-section,
    .testimonials-section, .sobre-hero, .brasao-section, .empresa-section,
    .fundador-section, .equipe-section, .catalogo-teaser-section,
    .catalog-section, .sobre-cta {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

@media (max-width: 576px) {
    .btn-hero,
    .btn-navy {
        width: 100%;
        text-align: center;
    }
}

/* ============ PÁGINA SOBRE ============ */

.about-cta {
    margin-top: 1.75rem;
    display: inline-block;
}

.sobre-content-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.sobre-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    /* Mesma referência de posicionamento do .hero-section (index.php):
       ancorado no topo, logo abaixo da navbar, em qualquer resolução. */
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: url("../img/hero01.jpg") center center / cover no-repeat;
    background-attachment: scroll;
    margin-top: var(--navbar-height);
    color: var(--platinum);
}

/* Ver comentário equivalente em .hero-section: padding-top isolado numa
   media query própria para não depender da ordem de declaração no
   arquivo em relação ao padding-top de telas <=768px. */
@media (min-width: 769px) {
    .sobre-hero {
        padding-top: 1.5rem;
    }
}

.sobre-hero-crest {
    display: block;
    width: 280px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
}

/* Mesma correção do .hero-section (index.php): de 769px a 1600px a
   imagem mostra 100% da largura, sem corte lateral, e a altura da seção
   passa a ser calculada pela proporção real do arquivo (1443x720) em
   vez de um min-height:100vh fixo — evita sobrar um pedaço da cor de
   fundo abaixo da imagem. */
@media (min-width: 769px) and (max-width: 1600px) {
    .sobre-hero {
        min-height: 0;
        height: auto;
        aspect-ratio: 1443 / 720;
        background-size: 100% auto;
        background-position: top center;
    }

    /* Mesmo raciocínio do .hero-crest (index.php): tamanho calculado
       proporcionalmente à viewport em vez de fixo em 280px. */
    .sobre-hero-crest {
        width: clamp(160px, 18vw, 280px);
    }

}

.sobre-hero-title {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--white);
    margin: 0.5rem 0 0.75rem;
    display: none;
}

.sobre-hero-title .textoFonte,
.sobre-hero-title .textEdition {
    margin: 0 0.15rem;
}

.sobre-hero-heading {
    display: inline-block;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--gold-metallic);
    text-align: center;
    background: rgba(5, 12, 28, 0.45);
    border: 1px solid var(--gold-metallic);
    padding: 0.7rem 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sobre-hero-subtitle {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.05rem;
    max-width: 560px;
    text-align: center;
    margin: 0 auto;
    color: var(--text-color06);
    line-height: 1.7;
    background: rgba(5, 12, 28, 0.45);
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
}

.brasao-section {
    scroll-margin-top: 90px;
    background: var(--white);
    padding: 6rem 0;
}

.brasao-section .section-eyebrow {
    color: var(--turkey-red);
}

.brasao-text {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-color02);
    margin-bottom: 1.25rem;
}

.brasao-image {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.68));
}

.empresa-section {
    scroll-margin-top: 90px;
    background: var(--platinum);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.fundador-section {
    scroll-margin-top: 90px;
    background: linear-gradient(160deg, #f6ecd8, #ecdcb4);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.fundador-section .section-eyebrow  {
    color: var(--turkey-red);
}
.fundador-section .cross-ornament  {
    color: var(--turkey-red);
}

.founder-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 6px;
    border: 6px solid var(--white);
    box-shadow: 0 0 0 1px var(--gold-metallic), 0 14px 30px rgba(0, 0, 0, 0.3);
}

.founder-highlights {
    list-style: none;
    margin: 3rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(165, 4, 5, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 3rem;
    text-align: left;
}

.founder-highlights li {
    position: relative;
    padding-left: 1.6rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-color02);
}

.founder-highlights li::before {
    content: "⚜️";
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .founder-highlights {
        grid-template-columns: 1fr;
    }
}

.company-services {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 2.5rem;
}

.company-services li {
    position: relative;
    padding-left: 1.6rem;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-color02);
}

.company-services li::before {
    content: "⚜️";
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .company-services {
        grid-template-columns: 1fr;
    }
}

.equipe-section {
    scroll-margin-top: 90px;
    background: #f0ede6;
    padding: 6rem 0;
    color: var(--davys-gray);
}

/* Grid (não o row/col do Bootstrap) para os cards da equipe: com
   auto-fit + justify-content: center, sobra de espaço na última linha
   vira centralização em vez de colunas vazias à esquerda — excluir ou
   inativar um membro no admin não deixa a fileira desalinhada. */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
    justify-content: center;
    gap: 2.5rem 1.5rem;
    margin-top: 1rem;
}

.team-photo-card {
    text-align: center;
}

.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.team-photo-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--davys-gray);
    margin: 0 0 0.65rem;
}

.team-photo-divider {
    display: block;
    width: 42px;
    height: 1px;
    background: var(--text-color04);
    margin: 0 auto 0.9rem;
}

.team-photo-role {
    display: block;
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--turkey-red);
    letter-spacing: 0.3px;
    margin: 0 0 0.6rem;
}

.team-photo-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-color02);
    margin: 0;
}

.catalog-section {
    scroll-margin-top: 90px;
    background: var(--platinum);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.catalog-section-page {
    padding-top: 8.5rem;
}

.catalogo-teaser-section {
    scroll-margin-top: 90px;
    background: var(--platinum);
    padding: 6rem 0;
    color: var(--davys-gray);
}

.catalog-intro {
    text-align: center;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    color: var(--text-color02);
    max-width: 560px;
    margin: -0.5rem auto 2.5rem;
}

.catalog-category {
    max-width: 820px;
    margin: 0 auto 3rem;
}

.catalog-category-title {
    font-family: 'Allura', cursive;
    font-size: 2rem;
    color: var(--turkey-red);
    margin-bottom: 0.2rem;
}

.catalog-category-sublabel {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-metallic);
    margin-bottom: 1.25rem;
}

/* Mobile-first: cada item é um card com a capa em cima (centralizada) e o
   texto embaixo, ocupando a largura toda do card — evita o problema de
   uma coluna de texto estreita ao lado da capa, que quebrava o título
   palavra por palavra em telas pequenas. Do tablet (576px) em diante os
   cards passam a ficar lado a lado em grade (2 depois 3 colunas). */
.catalog-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.catalog-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    position: relative;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

a.catalog-item {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.catalog-item:hover,
a.catalog-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: inherit;
}

/* Cards estáticos (sem link cadastrado) continuam focáveis via teclado
   (tabindex="0") mas recebem um indicador visual de foco próprio, já
   que não navegam para lugar nenhum. */
.catalog-item--static:focus-visible {
    outline: 3px solid var(--gold-metallic);
    outline-offset: 2px;
}

/* Sinal visual permanente (não só hover) que diferencia cards
   clicáveis dos estáticos: só os cards com link exibem o rótulo
   "Saiba mais". */
.catalog-item-cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-metallic);
    border-bottom: 1px solid var(--gold-metallic);
}

.catalog-item-cover {
    width: 175px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-bottom: 1rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.catalog-item-info {
    width: 100%;
}

.catalog-item-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--davys-gray);
    margin: 0;
}

.catalog-item-subtitle {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--davys-gray);
    margin: 0.1rem 0 0;
}

.catalog-item-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: var(--text-color03);
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.catalog-item-meta li {
    margin: 0;
}

.catalog-item-isbn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    color: var(--text-color04);
    margin: 0.2rem 0 0;
}

.catalog-badge {
    display: inline-block;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--turkey-red);
    border: 1px solid var(--turkey-red);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    max-width: 100%;
    margin-top: 0.75rem;
}

.catalog-category-note {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: var(--text-color03);
    margin-top: 1rem;
}

/* Telas um pouco maiores (tablets em pé, celulares grandes deitados):
   2 colunas, texto volta a ficar alinhado à esquerda (mais fácil de
   ler várias linhas do que centralizado). */
@media (min-width: 576px) {
    .catalog-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .catalog-item {
        align-items: flex-start;
        text-align: left;
    }

    .catalog-item-cover {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .catalog-badge {
        margin-left: 0;
    }
}

/* Desktop: 3 colunas. */
@media (min-width: 768px) {
    .catalog-category {
        max-width: 1080px;
    }

    .catalog-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============ PÁGINA PRODUTO ============ */

.produto-detalhe {
    flex: 1;
    scroll-margin-top: 90px;
    background: var(--white);
    padding: 8rem 0 6rem;
}

.produto-voltar {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--davys-gray);
    background: var(--platinum);
    border: 1px solid var(--platinum);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.produto-voltar:hover {
    color: var(--gold-metallic);
    border-color: var(--gold-metallic);
    background: var(--white);
}

.produto-detalhe-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.produto-detalhe-cover-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.produto-detalhe-cover {
    width: 260px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.produto-detalhe-badge {
    background: var(--white);
}

.produto-detalhe-info {
    text-align: center;
}

.produto-detalhe-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--davys-gray);
    line-height: 1.3;
    margin: 0.5rem 0 0.75rem;
}

.produto-detalhe-subtitle {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--text-color02);
    margin: 0 0 0.75rem;
}

.produto-detalhe-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--text-color03);
    margin: 0 0 1rem;
}

.produto-detalhe-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--turkey-red);
    margin: 0 0 1.5rem;
}

.produto-detalhe-isbn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: var(--text-color04);
    margin: 0 0 1.5rem;
}

.produto-detalhe-desc {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    color: var(--text-color02);
    line-height: 1.85;
    margin: 0 0 2rem;
    text-align: left;
}

.produto-detalhe-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.produto-detalhe-secondary-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: var(--text-color03);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.produto-detalhe-secondary-link:hover {
    color: var(--gold-metallic);
}

.produto-detalhe-not-found {
    padding: 10rem 0;
}

.produto-detalhe-not-found p {
    font-family: 'Merriweather', serif;
    color: var(--text-color02);
    margin: 1rem 0 2rem;
}

/* Desktop: capa à esquerda, texto à direita, alinhado à esquerda. */
@media (min-width: 768px) {
    .produto-detalhe-grid {
        grid-template-columns: 300px 1fr;
        align-items: start;
        gap: 3rem;
    }

    .produto-detalhe-cover-wrap {
        align-items: flex-start;
    }

    .produto-detalhe-cover {
        width: 100%;
    }

    .produto-detalhe-info {
        text-align: left;
    }

    .produto-detalhe-actions {
        align-items: flex-start;
    }
}

.sobre-cta {
    scroll-margin-top: 90px;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--byzantine-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
}

.sobre-cta .section-title {
    color: var(--white);
}

.sobre-cta-text {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 2rem;
    color: var(--text-color05);
    line-height: 1.8;
}
