@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
        
        :root {
            --primary-red: #c41e3a;
            --secondary-red: #0c5e3f;
            --light-red: #e74c3c;
            --primary-white: #ffffff;
            --secondary-gray: #d1d1d1;
            --dark-gray: #a0a0a0;
        }
        
        * {
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        html {
            color-scheme: light;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100%;
            box-sizing: border-box;
            background-color: #ffffff;
            color: #000000;
        }
        
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease-out;
        }
        
        .logo-container {
            width: 220px;
            height: 220px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
            padding: 10px;
            animation: logoDropIn 2s ease-out forwards;
            margin-bottom: 40px;
        }
        
        .logo-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 5px 15px rgba(155, 0, 0, 0.2));
        }
        
        @keyframes logoDropIn {
            0% {
                transform: translateY(-100%) scale(0.3);
                opacity: 0;
            }
            60% {
                transform: translateY(0) scale(1.2);
                opacity: 1;
            }
            80% {
                transform: translateY(-10px) scale(1.1);
            }
            100% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }
        
        .header-logo {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 120px;
            z-index: 10000;
            opacity: 0;
            transition: opacity 1s ease;
            filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
            pointer-events: auto;
            cursor: pointer;
        }
        
        .header-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .header-logo:hover img {
            transform: scale(1.1);
        }
        
        .header-logo:active img {
            transform: scale(0.95);
        }
        
        /* Estilos para as páginas de cidade */
        .city-page {
            display: none;
            width: 100%;
            height: 100%;
            min-height: 100%;
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding-bottom: 40px;
        }
        
        .city-page-mata {
            background: linear-gradient(135deg, #9b0000 0%, #c41e3a 50%, #9b0000 100%);
        }
        
        .city-page-mata:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.2) 70%);
            z-index: 1;
        }
        
        .city-page-title {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 30px;
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 0 20px;
            margin-top: 30px;
            font-family: 'Playfair Display', serif;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            overflow: hidden;
        }
        
        .city-page-mata .city-page-title {
            color: white;
            text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }
        
        .title-part-left {
            opacity: 0;
            animation: slideFromLeft 1.5s ease-out forwards;
            animation-delay: 0.3s;
        }
        
        .title-part-right {
            opacity: 0;
            animation: slideFromRight 1.5s ease-out forwards;
            animation-delay: 0.3s;
        }
        
        @keyframes slideFromLeft {
            0% {
                transform: translateX(-200%);
                opacity: 0;
            }
            70% {
                transform: translateX(10px);
                opacity: 1;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideFromRight {
            0% {
                transform: translateX(200%);
                opacity: 0;
            }
            70% {
                transform: translateX(-10px);
                opacity: 1;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        .city-page-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 100%;
            max-width: 320px;
            z-index: 10;
            position: relative;
        }
        
        .city-button {
            padding: 16px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            text-decoration: none;
            font-family: 'Poppins', sans-serif;
        }
        
        .city-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.2) 50%, 
                rgba(255,255,255,0) 100%);
            transition: all 0.6s ease;
        }
        
        .city-button:hover:before {
            left: 100%;
        }
        
        .city-button:active {
            transform: translateY(2px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .city-page-mata .city-button {
            background: white;
            color: var(--primary-red);
            border: 2px solid rgba(155, 0, 0, 0.3);
        }
        
        .city-page-mata .city-button:hover {
            background: #f8f8f8;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .city-page-mata .back-button {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .city-page-mata .back-button:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .back-button svg {
            width: 24px;
            height: 24px;
        }
        
        .button-icon {
            font-size: 1.2rem;
        }
        
        /* Fatias de pizza animadas no background */
        .pizza-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }
        
        .pizza-slice {
            position: absolute;
            opacity: 0.15;
            animation: float-slice 15s linear infinite;
            z-index: 1;
        }
        
        .pizza-slice svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
        }
        
        .city-page-mata .pizza-slice svg {
            fill: rgba(255, 255, 255, 0.7);
        }
        
        @keyframes float-slice {
            0% {
                transform: translateY(110%) rotate(0deg);
            }
            100% {
                transform: translateY(-20%) rotate(360deg);
            }
        }
        
        /* Container para a logo centralizada */
        .center-logo-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 140px;
            margin-bottom: 30px;
            z-index: 100;
        }
        
        .center-logo-container img {
            width: 280px;
            height: 280px;
            object-fit: contain;
            filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
            animation: logoFloat 3s ease-in-out infinite;
        }
        
        @keyframes logoFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        /* Container para os botões centralizados */
        .top-buttons-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            z-index: 100;
        }
        
        /* Galeria de Fotos */
        .gallery-section {
            width: 100%;
            max-width: 700px;
            margin-top: 25px;
            margin-bottom: 25px;
            position: relative;
            z-index: 10;
            padding: 0 20px;
        }
        
        .gallery-title {
            display: none;
        }
        
        .gallery-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gallery-track {
            display: flex;
            gap: 20px;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            padding: 0 60px;
            touch-action: pan-y;
            transition: transform 0.5s ease;
        }
        
        .gallery-slide {
            width: 140px;
            height: 180px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.5s ease;
            opacity: 0.4;
            transform: scale(0.85);
            cursor: pointer;
        }
        
        .gallery-slide.active {
            opacity: 1;
            transform: scale(1.1);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
            z-index: 10;
        }
        
        .gallery-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover !important;
            transition: transform 0.5s ease;
        }
        
        .gallery-slide.active img {
            transform: scale(1.05);
        }
        
        .gallery-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }
        
        .placeholder-icon {
            font-size: 4rem;
            opacity: 0.6;
        }
        
        .placeholder-text {
            font-size: 1.1rem;
            color: var(--primary-red);
            font-weight: 500;
            text-align: center;
            padding: 0 20px;
        }
        
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            color: var(--primary-red);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }
        
        .gallery-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .gallery-nav:active {
            transform: translateY(-50%) scale(0.95);
        }
        
        .gallery-nav-left {
            left: 10px;
        }
        
        .gallery-nav-right {
            right: 10px;
        }
        
        .gallery-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
        
        .gallery-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .gallery-dot.active {
            background: white;
            transform: scale(1.2);
        }
        
        /* Instagram button */
        .instagram-button {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .instagram-button:hover {
            transform: scale(1.1);
        }
        
        .instagram-button:active {
            transform: scale(0.95);
        }
        
        .instagram-button svg {
            width: 28px;
            height: 28px;
            fill: white;
        }
        
        /* Botão Sobre Nós na página de seleção */
        .about-button-selection {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
        
        .about-button-selection:hover {
            transform: scale(1.1);
        }
        
        .about-button-selection:active {
            transform: scale(0.95);
        }
        
        .about-button-selection svg {
            width: 28px;
            height: 28px;
        }
        
        /* Modal para Sobre Nós */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }
        
        .modal-content {
            background: white;
            width: 90%;
            max-width: 600px;
            max-height: 80%;
            border-radius: 15px;
            padding: 30px;
            position: relative;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .modal-overlay.active .modal-content {
            transform: translateY(0);
            opacity: 1;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(155, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .modal-close:hover {
            background: rgba(155, 0, 0, 0.2);
        }
        
        .modal-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-red);
            margin-bottom: 20px;
            text-align: center;
            font-family: 'Poppins', sans-serif;
        }
        
        .modal-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #333;
            margin-bottom: 15px;
            font-family: 'Poppins', sans-serif;
        }
        
        /* Modal de Foto em Tamanho Real */
        .photo-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            display: none;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .photo-modal-overlay.active {
            display: flex;
            opacity: 1;
        }
        
        .photo-modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .photo-modal-content img {
            max-width: 100%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 10px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            transition: opacity 0.3s ease;
        }
        
        .photo-modal-close {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            color: var(--primary-red);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10001;
        }
        
        .photo-modal-close:hover {
            background: white;
            transform: scale(1.1);
        }
        
        .photo-modal-close:active {
            transform: scale(0.95);
        }
        
        .photo-modal-nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            color: var(--primary-red);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10001;
        }
        
        .photo-modal-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .photo-modal-nav:active {
            transform: translateY(-50%) scale(0.95);
        }
        
        .photo-modal-nav-left {
            left: 20px;
        }
        
        .photo-modal-nav-right {
            right: 20px;
        }
        
        .photo-modal-nav svg {
            width: 24px;
            height: 24px;
        }
        
        /* Animação de transição de página */
        .page-transition {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }
        
        /* Ajustes de opacidade para elementos */
        .pizza-slice {
            opacity: 0.08;
        }
        
        /* Estilos específicos para dispositivos móveis */
        @media (max-width: 768px) {
            .logo-container {
                width: 180px;
                height: 180px;
            }
            
            .center-logo-container {
                margin-top: 100px;
                margin-bottom: 20px;
                flex-direction: column;
            }
            
            .center-logo-container img {
                width: 200px;
                height: 200px;
            }
            
            .header-logo {
                width: 80px;
                height: 80px;
                top: 10px;
            }
            
            .city-page-title {
                font-size: 2.2rem;
                margin-bottom: 25px;
            }
            
            .city-button {
                padding: 14px 16px;
                font-size: 1rem;
            }
            
            .top-buttons-container {
                gap: 15px;
                margin-bottom: 20px;
            }
            
            .instagram-button {
                width: 40px;
                height: 40px;
            }
            
            .instagram-button svg {
                width: 22px;
                height: 22px;
            }
            
            .about-button-selection {
                width: 40px;
                height: 40px;
            }
            
            .about-button-selection svg {
                width: 22px;
                height: 22px;
            }
            
            .gallery-section {
                padding: 0 10px;
                margin-top: 20px;
            }
            
            .gallery-track {
                padding: 0 50px;
                gap: 15px;
            }
            
            .gallery-slide {
                width: 130px;
                height: 170px;
            }
            
            .gallery-nav {
                width: 40px;
                height: 40px;
            }
        }
        
        /* Ajustes específicos para telas muito pequenas */
        @media (max-width: 360px) {
            .center-logo-container {
                margin-top: 80px;
                margin-bottom: 15px;
            }
            
            .center-logo-container img {
                width: 160px;
                height: 160px;
            }
            
            .header-logo {
                width: 70px;
                height: 70px;
            }
            
            .city-page-title {
                font-size: 1.8rem;
            }
            
            .city-button {
                padding: 12px 14px;
                font-size: 0.9rem;
            }
            
            .top-buttons-container {
                gap: 12px;
                margin-bottom: 15px;
            }
            
            .about-button-selection {
                width: 35px;
                height: 35px;
            }
            
            .about-button-selection svg {
                width: 18px;
                height: 18px;
            }
            
            .instagram-button {
                width: 35px;
                height: 35px;
            }
            
            .instagram-button svg {
                width: 18px;
                height: 18px;
            }
            
            .gallery-section {
                max-width: 100%;
                margin-top: 20px;
                margin-bottom: 30px;
            }
            
            .gallery-container {
                height: 200px;
            }
            
            .gallery-track {
                gap: 10px;
                padding: 0 40px;
            }
            
            .gallery-slide {
                width: 120px;
                height: 160px;
            }
            
            .photo-modal-close {
                top: 10px;
                right: 10px;
                width: 35px;
                height: 35px;
            }
            
            .photo-modal-close svg {
                width: 20px;
                height: 20px;
            }
            
            .gallery-title {
                font-size: 1.2rem;
            }
            
            .placeholder-icon {
                font-size: 3rem;
            }
            
            .placeholder-text {
                font-size: 0.9rem;
            }
            
            .gallery-nav {
                width: 35px;
                height: 35px;
            }
            
            .gallery-nav svg {
                width: 18px;
                height: 18px;
            }
        }

@view-transition { navigation: auto; }
