/* =========================================================
   The Riviera — SLC Incorporadora & Construtora
   ========================================================= */

/* VARIÁVEIS */
:root {
    --preto:        #1a1a1a;
    --preto-fundo:  #0d0d0d;
    --claro:        #f5f5f5;
    --dourado:      #b89b6e;   /* toque de sofisticação */
    --dourado-esc:  #9a8156;
    --whatsapp:     #25d366;
    --whatsapp-esc: #1da851;
    --fonte-titulo: 'Cormorant Garamond', 'Times New Roman', serif;
    --fonte-corpo:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    background-color: var(--preto);
    color: var(--claro);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.header-principal {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.header-principal.rolando {
    background-color: rgba(13, 13, 13, 0.95);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-principal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header img {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.4s ease;
}

.header-principal.rolando .logo-header img {
    height: 50px;
}

/* Wordmark de texto (fallback enquanto não há logo em imagem) */
.wordmark {
    text-decoration: none;
    color: var(--claro);
    display: block;
    line-height: 1;
}

.wordmark-nome {
    display: block;
    font-family: var(--fonte-titulo);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.wordmark-sub {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-top: 4px;
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    color: var(--claro);
    text-decoration: none;
    margin-left: 28px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--dourado);
}

.menu a.btn-menu-cta {
    border: 1px solid var(--dourado);
    padding: 9px 18px;
    border-radius: 2px;
    color: var(--dourado);
}

.menu a.btn-menu-cta:hover {
    background-color: var(--dourado);
    color: var(--preto);
}

/* Botão hambúrguer (escondido no desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--claro);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.ativo span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle.ativo span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.ativo span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero {
    min-height: 100vh;
    background-image: url('../img/fundo-hero.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--preto); /* fallback enquanto a imagem não existe */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 20px;
}

.selo-riviera {
    max-width: 180px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 22px;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--fonte-titulo);
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: #e8e8e8;
}

/* Indicador de rolagem */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: rolar 1.6s infinite;
}

@keyframes rolar {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------------------------------------------------------
   BOTÕES CTA
   --------------------------------------------------------- */
.btn-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--dourado);
    color: var(--preto);
    text-decoration: none;
    padding: 16px 42px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(184, 155, 110, 0.3);
}

.btn-cta:hover {
    background-color: var(--dourado-esc);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(184, 155, 110, 0.45);
}

.btn-cta-sub {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
    text-transform: none;
    margin-top: 3px;
}

/* ---------------------------------------------------------
   TÍTULO DE SEÇÃO (reutilizável)
   --------------------------------------------------------- */
.secao-titulo {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.sobrescrito {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dourado);
    margin-bottom: 14px;
}

.secao-titulo h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.secao-titulo p {
    margin-top: 18px;
    font-size: 1.05rem;
    font-weight: 300;
    color: #cfcfcf;
}

/* ---------------------------------------------------------
   GALERIA
   --------------------------------------------------------- */
.galeria {
    padding: 110px 0;
    background-color: var(--preto-fundo);
}

/* Carrossel de destaque */
/* --- LEGENDA LEGÍVEL EM IMAGENS CLARAS OU ESCURAS --- */

.carrossel-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 45px 30px 30px 30px;
    /* Um degradê um pouco mais firme na base para garantir o contraste */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
}

/* O texto pequeno (Eyebrow) com dourado sólido, forte e legível */
.carrossel-legenda .carrossel-eyebrow {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: #ffda6d !important; /* Um tom de dourado mais claro e brilhante */
    opacity: 1 !important;     /* Garante opacidade total, sem transparência */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.17) !important; /* Sombra preta pesada */
    display: block;
    margin-bottom: 6px;
    font-weight: 600 !important;
}

.carrossel {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background-color: rgba(128, 128, 128, 0.12);
}

.carrossel-trilho {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrossel-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

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

.carrossel-legenda {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 90px 48px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 55%, transparent);
    text-align: left;
    pointer-events: none;
}

.carrossel-eyebrow {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 10px;
}

.carrossel-legenda h3 {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 0.5px;
}


#carrossel .carrossel-seta {
    /* A linha abaixo MATA o botão redondo antigo e qualquer outro estilo */
    all: unset !important; 
    
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 15% !important;
    z-index: 10 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    
    /* Posicionamento do ícone */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Estilo do ícone (< e >) */
    font-size: 3rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

/* Sombra lateral esquerda */
#carrossel .carrossel-seta.prev {
    left: 0 !important;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, transparent 100%) !important;
}

/* Sombra lateral direita */
#carrossel .carrossel-seta.next {
    right: 0 !important;
    background: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 100%) !important;
}

/* Efeitos ao passar o mouse */
#carrossel .carrossel-seta:hover {
    color: #ffffff !important;
}

#carrossel .carrossel-seta.prev:hover {
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
}

#carrossel .carrossel-seta.next:hover {
    background: linear-gradient(to left, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
}

/* Esconder os pseudo-elementos caso a bolinha tenha sido feita com eles */
#carrossel .carrossel-seta::before,
#carrossel .carrossel-seta::after {
    display: none !important;
}

/* Esconder em telas de celular (onde o usuário arrasta com o dedo) */
@media (max-width: 768px) {
    #carrossel .carrossel-seta {
        display: none !important;
    }
}

.carrossel-dots {
    position: absolute;
    bottom: 20px;
    right: 26px;
    display: flex;
    gap: 9px;
    z-index: 3;
}

.carrossel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carrossel-dot.ativo {
    background: var(--dourado);
    transform: scale(1.3);
}

/* Botão que revela o grid de ambientes */
.galeria-toggle-wrap {
    text-align: center;
    margin-top: 34px;
}

.btn-galeria-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--dourado);
    border: 1px solid var(--dourado);
    padding: 14px 34px;
    border-radius: 3px;
    font-family: var(--fonte-corpo);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-galeria-toggle:hover {
    background-color: var(--dourado);
    color: var(--preto);
}

.btn-galeria-seta {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -4px;
}

.btn-galeria-toggle[aria-expanded="true"] .btn-galeria-seta {
    transform: rotate(-135deg);
    margin-top: 4px;
}

/* Grid oculto por padrão; revelado ao clicar no botão */
.grid-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
    margin-top: 28px;
}

.grid-galeria:not(.aberto) {
    display: none;
}

.grid-galeria.aberto {
    animation: revelarGaleria 0.6s ease both;
}

@keyframes revelarGaleria {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.galeria-item {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background-color: rgba(128, 128, 128, 0.12); /* placeholder enquanto não há foto */
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

/* ---------------------------------------------------------
   LIGHTBOX (galeria ampliada)
   --------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.93);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.aberto {
    display: flex;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
    animation: lightboxFade 0.35s ease;
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-fechar {
    position: absolute;
    top: 22px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2;
}

.lightbox-fechar:hover {
    color: var(--dourado);
}

.lightbox-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.lightbox-seta:hover {
    background: var(--dourado);
    color: var(--preto);
}

.lightbox-seta.prev { left: 26px; }
.lightbox-seta.next { right: 26px; }

.lightbox-contador {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lightbox-seta {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
    .lightbox-seta.prev { left: 10px; }
    .lightbox-seta.next { right: 10px; }
    .lightbox-img { max-width: 94vw; }
}

/* ---------------------------------------------------------
   CTA FINAL
   --------------------------------------------------------- */
.cta-final {
    background-color: var(--preto-fundo);
    padding: 110px 0 80px;
    text-align: center;
    border-top: 1px solid rgba(184, 155, 110, 0.2);
}

.cta-final h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--claro);
}

.cta-final p {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 1.08rem;
    font-weight: 300;
    color: #cfcfcf;
}

/* Destaque da oferta (condições especiais) */
.cta-final p.cta-oferta {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 36px;
    padding: 13px 30px;
    border: 1px solid var(--dourado);
    border-radius: 40px;
    background: rgba(184, 155, 110, 0.08);
    color: var(--claro);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cta-final p.cta-oferta strong {
    color: var(--dourado);
    font-weight: 600;
}

/* ---------------------------------------------------------
   ANIMAÇÃO DE ENTRADA
   --------------------------------------------------------- */
.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animar.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer-principal {
    background-color: var(--preto-fundo);
    padding: 0 0 30px;
    text-align: center;
}

.logo-footer {
    max-width: 150px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}

.wordmark-footer {
    text-align: center;
    line-height: 1;
}

.wordmark-footer .wordmark-nome {
    font-family: var(--fonte-titulo);
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--claro);
    display: block;
}

.wordmark-footer .wordmark-sub {
    font-size: 0.66rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dourado);
    display: block;
    margin-top: 6px;
}

.contato-info {
    max-width: 820px;
    margin: 0 auto;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contato-info h3 {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--dourado);
    margin-bottom: 16px;
    font-weight: 500;
}

.contato-info p {
    font-size: 1.15rem;
    margin: 6px 0;
}

.contato-info a {
    color: var(--claro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-info a:hover {
    color: var(--dourado);
}

/* /* Créditos: Arquitetura e Construtora (compactos) */
.creditos {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 0 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.credito {
    max-width: 340px;
    display: flex;             /* ADICIONADO: Organiza os itens em coluna */
    flex-direction: column;    /* ADICIONADO: Empilha título, logo e texto */
}

.credito h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--dourado);
    margin-bottom: 16px;
    font-weight: 500;
}

.credito-logo-wrap {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.credito-logo {
    display: block;
    width: auto;
    max-width: 230px;
}

.credito-logo-slc {
    max-width: 140px !important;
    width: 100% !important;
    height: auto !important;
}

.credito-logo-lima {
    max-width: 100px !important;
    width: 100% !important;
    height: auto !important;
}

.credito p {
   font-size: 0.9rem;
    font-weight: 300;
    color: #b8b8b8;
    line-height: 1.5;       /* ADICIONADO: Empurra o texto para alinhar perfeitamente na base */
}


.credito strong {
    color: var(--claro);
    font-weight: 500;
}

.copy {
    margin-top: 40px;
    font-size: 0.78rem;
    color: #666;
}

/* ---------------------------------------------------------
   BOTÃO FLUTUANTE DO WHATSAPP
   --------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, background-color 0.25s ease;
    animation: pulsar 2.5s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-esc);
    transform: scale(1.08);
}

@keyframes pulsar {
    0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */
@media (max-width: 980px) {
    .grid-beneficios {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-galeria {
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {

    /* Menu vira lateral/dropdown */
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 28px;
        background-color: rgba(13, 13, 13, 0.98);
        padding: 40px;
        transition: right 0.35s ease;
        box-shadow: -8px 0 30px rgba(0,0,0,0.5);
    }

    .menu.aberto {
        right: 0;
    }

    .menu a {
        margin-left: 0;
        font-size: 1rem;
    }

    .menu a.btn-menu-cta {
        margin-top: 10px;
    }

    /* Grid de benefícios: 1 coluna */
    .grid-beneficios {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Galeria: 2 colunas no celular */
    .grid-galeria {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 10px;
    }

    /* Carrossel no celular */
    .carrossel-legenda {
        padding: 60px 22px 24px;
    }
 

    .estilo-vida,
    .galeria {
        padding: 70px 0;
    }

    .secao-titulo {
        margin-bottom: 40px;
    }

    /* Créditos empilham */
    .creditos {
        flex-direction: column;
        gap: 28px;
    }

    .cta-final {
        padding: 80px 0;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 420px) {
    .btn-cta {
        padding: 15px 30px;
        font-size: 0.85rem;
        width: 100%;
    }

    .selo-riviera {
        max-width: 140px;
    }
}

/* Acessibilidade: respeitar quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    .whatsapp-float,
    .scroll-indicator span {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}
.projeto {
    padding: 110px 0;
    background-color: var(--preto);
}

.projeto-grid {
   display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.projeto-imagem {
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.projeto-imagem img {
   width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a foto cobrir o espaço inteiro sem distorcer */
    display: block;
}

.projeto-texto .sobrescrito {
    margin-bottom: 14px;
}

.projeto-texto h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 24px;
}

.projeto-texto p {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.85;
    color: #cfcfcf;
    margin-bottom: 22px;
}

.projeto-subtitulo {
    font-family: var(--fonte-titulo);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--dourado);
    margin: 34px 0 14px;
}

.projeto-texto strong {
    color: var(--claro);
    font-weight: 500;
}

@media (max-width: 768px){

.projeto-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}
.projeto-imagem {
    aspect-ratio: 16 / 10;
}
.projeto-subtitulo {
    margin-top: 26px;
}
@media (max-width: 768px) {
    .creditos, 
    .credito, 
    .credito-logo-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .credito p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .projeto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .projeto-imagem {
        aspect-ratio: 16 / 10; /* Mantém a proporção bonita no celular */
        height: auto;
    }
}

}
