/* Paleta de cores */
:root {
    --azul-escuro: rgba(0,26,51,0.94);
    --vermelho: #e63946;
    --branco: #fff;
    --cinza-claro: #f8f9fa;
    --cinza: #e0e0e0;
    --cinza-escuro: #333;
    --sombra: 0 2px 8px rgba(0,0,0,0.07);
    --radius: 14px;
    --font-titulo: 'Segoe UI', 'Montserrat', Arial, sans-serif;
    --font-texto: 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-texto);
    background: var(--cinza-claro);
    color: var(--cinza-escuro);
}

/* Header */
.header {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    background: var(--azul-escuro);
    z-index: 100;
    box-shadow: var(--sombra);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}
.logo img {
    height: 48px;
}
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    outline: none;
}
.menu-toggle:focus {
    outline: 2px solid var(--vermelho);
}
.hamburger {
    width: 28px;
    height: 3px;
    background: var(--branco);
    display: block;
    position: relative;
    border-radius: 2px;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--branco);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.nav-links li a:hover,
.nav-links li a:focus {
    color: var(--vermelho);
    outline: none;
}

@media (max-width: 900px) {
    .navbar { padding: 0.5rem 0.7rem; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--azul-escuro);
        flex-direction: column;
        width: 220px;
        gap: 0;
        box-shadow: var(--sombra);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-links li { border-bottom: 1px solid var(--cinza); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links li a {
        padding: 1rem 1.5rem;
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 85vh;
    background: url('../../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
}
/* Fundo escuro fixo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 25, 0.82);
    z-index: 1;
    border-radius: 0 0 var(--radius) var(--radius);
}
/* Feixe de luz solar que percorre a imagem */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 200, 80, 0.08) 40%,
        rgba(255, 220, 120, 0.18) 45%,
        rgba(255, 255, 200, 0.28) 50%,
        rgba(255, 220, 120, 0.18) 55%,
        rgba(255, 200, 80, 0.08) 60%,
        transparent 65%,
        transparent 100%
    );
    background-size: 250% 100%;
    animation: sunSweep 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    border-radius: inherit;
}
@keyframes sunSweep {
    0%   { background-position: 150% 0; }
    100% { background-position: -150% 0; }
}

/* Partículas flutuantes */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.hero-particles span {
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    animation: heroFloat linear infinite;
}
.hero-particles span:nth-child(1)  { width: 6px;  height: 6px;  left: 10%; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { width: 10px; height: 10px; left: 25%; animation-duration: 22s; animation-delay: 2s; }
.hero-particles span:nth-child(3)  { width: 5px;  height: 5px;  left: 40%; animation-duration: 16s; animation-delay: 4s; }
.hero-particles span:nth-child(4)  { width: 12px; height: 12px; left: 55%; animation-duration: 24s; animation-delay: 1s; }
.hero-particles span:nth-child(5)  { width: 7px;  height: 7px;  left: 70%; animation-duration: 20s; animation-delay: 3s; }
.hero-particles span:nth-child(6)  { width: 4px;  height: 4px;  left: 15%; animation-duration: 19s; animation-delay: 5s; }
.hero-particles span:nth-child(7)  { width: 9px;  height: 9px;  left: 35%; animation-duration: 21s; animation-delay: 6s; }
.hero-particles span:nth-child(8)  { width: 6px;  height: 6px;  left: 60%; animation-duration: 17s; animation-delay: 2.5s; }
.hero-particles span:nth-child(9)  { width: 11px; height: 11px; left: 80%; animation-duration: 23s; animation-delay: 4.5s; }
.hero-particles span:nth-child(10) { width: 5px;  height: 5px;  left: 90%; animation-duration: 15s; animation-delay: 1.5s; }

@keyframes heroFloat {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(80px) scale(1.2);
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--branco);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
/* Hero Logo */
.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 24px rgba(255,255,255,0.25));
    animation: heroLogoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
/* Hero Subtitulo */
.hero-subtitulo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: heroTextIn 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroTextIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 8px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 2px;
    }
}
.hero-content h2 {
    font-family: var(--font-titulo);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #e63946;
    animation: heroTextIn 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-btn {
    background: var(--vermelho);
    color: var(--branco);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--sombra);
    transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
    background: #b41e2a;
    transform: translateY(-2px) scale(1.03);
    outline: 2px solid var(--vermelho);
}
.cta-icon {
    width: 28px;
    height: 28px;
}

/* Seções Gerais */
section {
    padding: 3rem 0;
}
.section-bg-white {
    background: var(--branco);
    color: var(--cinza-escuro);
}
.section-bg-dark {
    background: var(--azul-escuro);
    color: var(--branco);
}
.section-bg-dark h2, .section-bg-dark h3, .section-bg-dark label {
    color: var(--branco);
}
.section-bg-dark .card, .section-bg-dark .sobre-card, .section-bg-dark .form-orcamento {
    background: var(--branco);
    color: var(--azul-escuro);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.section-bg-white .card, .section-bg-white .sobre-card, .section-bg-white .form-orcamento {
    background: var(--cinza);
    color: var(--cinza-escuro);
    box-shadow: var(--sombra);
}
.section-bg-dark .galeria-scroll figure {
    background: var(--branco);
    color: var(--azul-escuro);
}
.section-bg-white .galeria-scroll figure {
    background: var(--cinza);
    color: var(--cinza-escuro);
}
.section-bg-dark .btn-enviar, .section-bg-dark .cta-btn {
    background: var(--vermelho);
    color: var(--branco);
}
.section-bg-dark .btn-enviar:hover, .section-bg-dark .btn-enviar:focus, .section-bg-dark .cta-btn:hover, .section-bg-dark .cta-btn:focus {
    background: #b41e2a;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
h1, h2, h3, .servicos-cards .card h3, .galeria h2, .orcamento h2, .footer h2 {
    font-family: 'Cinzel', Arial, sans-serif;
    font-weight: 700;
    color: var(--azul-escuro);
    margin-bottom: 1.1rem;
    letter-spacing: 0.5px;
}
@media (max-width: 700px) {
    .hero-logo {
        width: 160px;
    }
    .hero-subtitulo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}
.hero-content h2 {
    font-family: 'Cinzel', Arial, sans-serif;
    color: #e63946;
}
h2 {
    font-size: 2rem;
}

/* Sobre */
.sobre p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.sobre-card {
    display: flex;
    align-items: center;
    background: var(--branco);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    margin: 1.5rem 0 2rem 0;
    padding: 1.3rem 1.5rem;
    gap: 2.5rem;
    flex-wrap: nowrap;
}
.sobre-card-img-wrapper {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin-right: 0.5rem;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--sombra);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.sobre-card-img-wrapper:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 36px rgba(0,0,0,0.18), 0 0 0 2px rgba(230,57,70,0.3);
}
.sobre-card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 30%,
        rgba(255,255,255,0.25) 45%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0.25) 55%,
        transparent 70%,
        transparent 100%
    );
    transform: translateX(-150%);
    transition: none;
    z-index: 3;
    border-radius: 18px;
    pointer-events: none;
}
.sobre-card-img-wrapper:hover::after {
    transform: translateX(150%);
    transition: transform 0.7s ease;
}
.sobre-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    background: var(--cinza-claro);
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.sobre-card-img-wrapper:hover .sobre-card-img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}
.sobre-card-texto {
    flex: 1;
    min-width: 220px;
}
.sobre-card-texto p {
    margin: 0 0 0.7rem 0;
    font-size: 1.13rem;
}
@media (max-width: 900px) {
    .sobre-card-img-wrapper { width: 140px; height: 140px; }
}
@media (max-width: 700px) {
    .sobre-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.1rem 0.7rem;
        flex-wrap: wrap;
    }
    .sobre-card-img-wrapper {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 0.6rem;
        border-radius: 14px;
    }
}
.sobre-subtitulo {
    font-size: 1.13rem;
    color: var(--azul-escuro);
    margin-bottom: 1.1rem;
    font-weight: 500;
}
.diferenciais {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    margin: 0;
}
.diferenciais li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 1.05rem;
}
.diferenciais img {
    width: 32px;
    height: 32px;
}
@media (max-width: 600px) {
    .diferenciais { flex-direction: column; gap: 1.2rem; }
}

/* WhatsApp flutuante */
.btn-whatsapp {
    position: fixed;
    right: 2.2rem;
    bottom: 5.5rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2.5s ease-in-out infinite;
}
.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
    animation: none;
}
.btn-whatsapp img {
    width: 30px;
    height: 30px;
    filter: brightness(10);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.15); }
}
@media (max-width: 700px) {
    .btn-whatsapp {
        right: 1rem;
        bottom: 4rem;
        width: 50px;
        height: 50px;
    }
    .btn-whatsapp img {
        width: 26px;
        height: 26px;
    }
}

/* Utilitários */
#btn-topo {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    z-index: 999;
    background: var(--azul-escuro);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
#btn-topo:hover {
    background: #23314d;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
#btn-topo svg {
    display: block;
}
@media (max-width: 700px) {
    #btn-topo {
        right: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
    }
}

.azul-escuro {
    color: var(--azul-escuro) !important;
    font-weight: bold;
}
.branco {
    color: var(--branco) !important;
}

/* Serviços - Carrossel */
.carrossel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Indicação de mais conteúdo - fades laterais */
.carrossel-wrapper::before,
.carrossel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 4;
    pointer-events: none;
}
.carrossel-wrapper::before {
    left: 42px;
    background: linear-gradient(to right, rgba(0,26,51,0.95), transparent);
}
.carrossel-wrapper::after {
    right: 42px;
    background: linear-gradient(to left, rgba(0,26,51,0.95), transparent);
}
.carrossel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.8rem 0.2rem;
    scrollbar-width: none;
}
.carrossel-track::-webkit-scrollbar {
    display: none;
}
@media (max-width: 700px) {
    .carrossel-wrapper::before {
        left: 0;
        width: 30px;
        background: linear-gradient(to right, rgba(0,26,51,0.9), transparent);
    }
    .carrossel-wrapper::after {
        right: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(0,26,51,0.9), transparent);
    }
}
/* Dicas do carrossel */
.carrossel-dica {
    text-align: center;
    color: var(--cinza);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
    animation: dicaPulse 3s ease-in-out infinite;
}
@keyframes dicaPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.carrossel-dica-mobile { display: none; }
.carrossel-dica-desktop { display: block; }
@media (max-width: 700px) {
    .carrossel-dica-mobile { display: block; }
    .carrossel-dica-desktop { display: none; }
}

.carrossel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(0,26,51,0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 3;
}
.carrossel-btn:hover {
    background: var(--vermelho);
    border-color: var(--vermelho);
}
/* Card flip 3D */
.card {
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    height: 260px;
    perspective: 800px;
    scroll-snap-align: start;
    cursor: pointer;
    position: relative;
    padding: 3px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--vermelho), var(--azul-escuro), var(--vermelho));
    background-size: 300% 300%;
    animation: borderGlow 4s ease infinite;
    /* Reveal animation */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.card.revealed {
    opacity: 1;
    transform: translateY(0);
}
@keyframes borderGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
}
.card:hover .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* Frente */
.card-front {
    background: var(--branco);
}
.card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card-front h3 {
    color: var(--azul-escuro);
    font-family: var(--font-texto);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0;
    padding: 0.6rem 0.5rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Verso */
.card-back {
    background: var(--azul-escuro);
    transform: rotateY(180deg);
    padding: 1.2rem 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
}
.card-back h3 {
    color: var(--vermelho);
    font-family: var(--font-texto);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
.card-back p {
    color: var(--cinza);
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
}
.card-cta {
    display: inline-block;
    background: var(--vermelho);
    color: var(--branco);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}
.card-cta:hover {
    background: #b41e2a;
    transform: scale(1.05);
}

@media (max-width: 700px) {
    .carrossel-btn { display: none; }
    .card {
        min-width: 170px;
        max-width: 170px;
        flex: 0 0 170px;
        height: 230px;
    }
    .card-img-wrap { height: 150px; }
    .card-front h3 { font-size: 0.72rem; }
    .card-back h3 { font-size: 0.78rem; }
    .card-back p { font-size: 0.72rem; }
    /* Touch: tap to flip - sem movimento vertical */
    .card.flipped .card-inner {
        transform: rotateY(180deg);
    }
    .card, .card.revealed {
        transform: none;
    }
    .carrossel-track {
        touch-action: pan-x;
        overscroll-behavior-y: contain;
    }
}

/* Galeria - Fotos Impressas */
.fotos-mesa {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 1rem;
    perspective: 1000px;
}
.foto-impressa {
    position: relative;
    margin: 0;
    background: var(--branco);
    padding: 10px 10px 30px 10px;
    border-radius: 2px;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 20px rgba(0,0,0,0.12),
        2px 12px 30px rgba(0,0,0,0.08);
    transform: rotate(var(--rot)) translate(var(--x), var(--y));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease,
                z-index 0s;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}
/* Textura sutil de papel */
.foto-impressa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.03) 50%,
        rgba(0,0,0,0.02) 100%
    );
    pointer-events: none;
    z-index: 2;
}
/* Fita adesiva decorativa no topo */
.foto-impressa::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 18px;
    background: rgba(255,235,180,0.55);
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    z-index: 4;
    pointer-events: none;
}
.foto-impressa img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.02);
    transition: filter 0.4s ease, transform 0.4s ease;
}
/* Hover: foto se endireita, sobe e ganha destaque */
.foto-impressa:hover {
    transform: rotate(0deg) translate(0, 0) scale(1.08) translateY(-15px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.2),
        0 8px 16px rgba(0,0,0,0.15),
        0 0 0 2px rgba(230,57,70,0.2);
    z-index: 10;
}
.foto-impressa:hover img {
    filter: saturate(1.1) contrast(1.05) brightness(1.03);
}
/* Rotações alternadas mais orgânicas */
.foto-impressa:nth-child(1) { --rot: -4deg; }
.foto-impressa:nth-child(2) { --rot: 2.5deg; }
.foto-impressa:nth-child(3) { --rot: -1.5deg; }
.foto-impressa:nth-child(4) { --rot: 3.5deg; }
.foto-impressa:nth-child(5) { --rot: -2.5deg; }
.foto-impressa:nth-child(6) { --rot: 1.8deg; }
/* Reveal escalonado */
.foto-impressa {
    opacity: 0;
    transform: rotate(var(--rot)) translate(var(--x), var(--y)) translateY(50px) scale(0.9);
}
.foto-impressa.foto-revealed {
    opacity: 1;
    transform: rotate(var(--rot)) translate(var(--x), var(--y)) translateY(0) scale(1);
}
.foto-impressa.foto-revealed:hover {
    transform: rotate(0deg) translate(0, 0) scale(1.08) translateY(-15px);
}

@media (max-width: 900px) {
    .fotos-mesa {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
        padding: 1.5rem 0.5rem;
    }
    .foto-impressa img { height: 180px; }
    .foto-impressa { padding: 7px 7px 22px 7px; }
}
@media (max-width: 500px) {
    .fotos-mesa {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 300px;
        margin: 0 auto;
    }
    .foto-impressa img { height: 220px; }
}


/* Orçamento */
.orcamento .container {
    text-align: center;
}
.orcamento-texto {
    color: var(--cinza);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-orcamento {
    font-size: 1.3rem;
    padding: 1.1rem 2.8rem;
    animation: ctaPulse 2.5s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(230,57,70,0.4);
}
.cta-orcamento:hover, .cta-orcamento:focus {
    animation: none;
    box-shadow: 0 8px 32px rgba(230,57,70,0.5);
}
@keyframes ctaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(230,57,70,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 28px rgba(230,57,70,0.55); }
}

/* Mapa */
.mapa-wrapper {
    margin-top: 3rem;
    text-align: center;
}
.mapa-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}
.mapa-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    max-width: 700px;
    margin: 0 auto;
}
.mapa-container iframe {
    display: block;
}
.cta-rota {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    background: var(--azul-escuro);
    border: 2px solid var(--branco);
}
.cta-rota:hover, .cta-rota:focus {
    background: var(--branco);
    color: var(--azul-escuro);
    border-color: var(--branco);
}
.cta-rota:hover svg, .cta-rota:focus svg {
    stroke: var(--azul-escuro);
}
@media (max-width: 700px) {
    .mapa-container iframe {
        height: 250px;
    }
}
.btn-enviar {
    background: var(--vermelho);
    color: var(--branco);
    border: none;
    border-radius: var(--radius);
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-enviar:hover, .btn-enviar:focus {
    background: #b41e2a;
    transform: translateY(-2px) scale(1.03);
    outline: 2px solid var(--vermelho);
}

/* Footer */
.footer {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 2rem 0 1rem 0;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 3rem;
}
.footer-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.2rem;
}
.footer-logo {
    width: 90px;
    max-width: 60vw;
    height: auto;
    margin-right: 1.5rem;
    display: block;
}
@media (max-width: 700px) {
    .footer-logo {
        width: 120px;
        max-width: 90vw;
        margin: 0 auto 1rem auto;
        display: block;
    }
    .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        display: flex;
        gap: 1.2rem;
        margin-bottom: 0.7rem;
    }
}
.footer-logo {
    border-radius: 50%;
    background: var(--branco);
    box-shadow: var(--sombra);
}
.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
}
.footer-social a {
    display: inline-block;
    margin-right: 0.7rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    height: auto;
    padding: 0;
    transition: transform 0.2s;
}
.footer-social a:last-child {
    margin-right: 0;
}
.footer-social a img {
    width: 28px;
    height: 28px;
    display: block;
}
.footer-copy {
    text-align: center;
    font-size: 0.97rem;
    color: var(--cinza);
}
@media (max-width: 700px) {
    .footer-info { flex-direction: column; gap: 0.7rem; align-items: flex-start; }
}

/* Acessibilidade */
:focus-visible {
    outline: 2.5px solid var(--vermelho);
    outline-offset: 2px;
}

/* Transições gerais */
button, a, .card, .btn-enviar, .cta-btn {
    transition: all 0.2s;
}
