/* =============================================
   VARIÁVEIS GLOBAIS E RESET
   ============================================= */
:root {
    --azul-marinho: #0a1929;
    --preto: #000000;
    --branco: #ffffff;
    --amarelo: #ffc107;
    --amarelo-hover: #e0a800;
    --amarelo-light: #fff8e1;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #e0e0e0;
    --cinza-escuro: #757575;
    --sombra: 0 4px 15px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 8px 30px rgba(0, 0, 0, 0.18);
    --transicao: all 0.3s ease;
    --raio: 12px;
    --raio-sm: 8px;
    --max-width: 1200px;
    --font-principal: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-principal);
    background-color: var(--branco);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

/* =============================================
   UTILITÁRIOS
   ============================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-marinho);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--cinza-escuro);
    text-align: center;
    margin-bottom: 2.5rem;
}

.btn-amarelo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--amarelo);
    color: var(--azul-marinho);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--raio-sm);
    transition: var(--transicao);
    border: 2px solid var(--amarelo);
}

.btn-amarelo:hover {
    background-color: var(--amarelo-hover);
    border-color: var(--amarelo-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-amarelo:active {
    transform: translateY(0);
}

.btn-amarelo:disabled {
    background-color: var(--cinza-medio);
    border-color: var(--cinza-medio);
    color: var(--cinza-escuro);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--branco);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--raio-sm);
    border: 2px solid var(--branco);
    transition: var(--transicao);
}

.btn-outline:hover {
    background-color: var(--branco);
    color: var(--azul-marinho);
    transform: translateY(-2px);
}

/* =============================================
   HEADER / NAVEGAÇÃO
   ============================================= */
.header {
    background-color: var(--azul-marinho);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--branco);
    letter-spacing: 1px;
}

.logo span {
    color: var(--amarelo);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--branco);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transicao);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--amarelo);
    transition: var(--transicao);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--amarelo);
}

.nav-links .btn-amarelo {
    font-size: 0.85rem;
    padding: 8px 18px;
}

/* Menu Hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--branco);
    border-radius: 2px;
    transition: var(--transicao);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--azul-marinho) 0%, #112240 50%, #1a365d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--amarelo);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--branco);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--amarelo);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* =============================================
   CATEGORIAS / FILTROS
   ============================================= */
.categorias-section {
    padding: 60px 0 20px;
}

.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.filtro-btn {
    background-color: var(--cinza-claro);
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 30px;
    transition: var(--transicao);
    border: 2px solid transparent;
}

.filtro-btn:hover {
    background-color: var(--amarelo-light);
    color: var(--azul-marinho);
    border-color: var(--amarelo);
}

.filtro-btn.active {
    background-color: var(--amarelo);
    color: var(--azul-marinho);
    border-color: var(--amarelo);
}

/* =============================================
   GRID DE PRODUTOS
   ============================================= */
.produtos-section {
    padding: 30px 0 80px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.produto-card {
    background: var(--branco);
    border-radius: var(--raio);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicao);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.produto-imagem {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: var(--cinza-claro);
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.produto-card:hover .produto-imagem img {
    transform: scale(1.05);
}

.produto-categoria-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--azul-marinho);
    color: var(--branco);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.produto-indisponivel-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-indisponivel-badge span {
    background-color: var(--cinza-escuro);
    color: var(--branco);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
}

.produto-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produto-nome {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 6px;
    line-height: 1.3;
}

.produto-descricao {
    font-size: 0.85rem;
    color: var(--cinza-escuro);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produto-preco {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--azul-marinho);
    margin-bottom: 15px;
}

.produto-preco span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--cinza-escuro);
}

.produto-acoes {
    margin-top: auto;
}

.produto-acoes .btn-amarelo {
    width: 100%;
    font-size: 0.9rem;
    padding: 11px 20px;
}

/* =============================================
   LANÇAMENTOS
   ============================================= */
.lancamentos-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--cinza-claro) 0%, var(--branco) 100%);
}

.lancamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

/* =============================================
   SOBRE
   ============================================= */
.sobre-section {
    padding: 80px 0;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sobre-imagem {
    flex: 1;
    border-radius: var(--raio);
    overflow: hidden;
    box-shadow: var(--sombra);
}

.sobre-imagem img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 20px;
}

.sobre-texto p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.sobre-destaques {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.destaque-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.destaque-item svg {
    flex-shrink: 0;
    color: var(--amarelo);
}

.destaque-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-marinho);
}

/* =============================================
   CONTATO
   ============================================= */
.contato-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--azul-marinho) 0%, #112240 100%);
    color: var(--branco);
}

.contato-section .section-title {
    color: var(--branco);
}

.contato-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.contato-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contato-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--raio);
    padding: 35px 30px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    transition: var(--transicao);
}

.contato-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.contato-card svg {
    color: var(--amarelo);
    margin-bottom: 15px;
}

.contato-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contato-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    line-height: 1.6;
}

.contato-card .btn-amarelo {
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: var(--preto);
    padding: 50px 0 25px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--branco);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    transition: var(--transicao);
}

.footer-col ul li a:hover {
    color: var(--amarelo);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* =============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transicao);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    color: var(--branco);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =============================================
   LOADING / SKELETON
   ============================================= */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    gap: 8px;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background-color: var(--amarelo);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.nenhum-produto {
    text-align: center;
    padding: 60px 20px;
    color: var(--cinza-escuro);
}

.nenhum-produto svg {
    margin-bottom: 15px;
    color: var(--cinza-medio);
}

.nenhum-produto p {
    font-size: 1.1rem;
}

/* =============================================
   PÁGINA ADMIN - LOGIN
   ============================================= */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul-marinho) 0%, #112240 50%, #1a365d 100%);
    padding: 20px;
}

.login-card {
    background: var(--branco);
    border-radius: var(--raio);
    padding: 45px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-card .logo {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--cinza-escuro);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--azul-marinho);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cinza-medio);
    border-radius: var(--raio-sm);
    font-size: 0.95rem;
    transition: var(--transicao);
    background-color: var(--branco);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--amarelo);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.login-error {
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: var(--raio-sm);
    margin-bottom: 15px;
    display: none;
}

.login-card .btn-amarelo {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 5px;
}

.login-back {
    text-align: center;
    margin-top: 20px;
}

.login-back a {
    color: var(--cinza-escuro);
    font-size: 0.9rem;
    transition: var(--transicao);
}

.login-back a:hover {
    color: var(--azul-marinho);
}

/* =============================================
   PÁGINA DASHBOARD
   ============================================= */
.dashboard-page {
    min-height: 100vh;
    background-color: var(--cinza-claro);
}

.dashboard-header {
    background-color: var(--azul-marinho);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.dashboard-header .logo {
    font-size: 1.3rem;
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-header-actions .btn-outline {
    font-size: 0.8rem;
    padding: 8px 16px;
}

.dashboard-body {
    padding: 30px 0 60px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--branco);
    border-radius: var(--raio);
    padding: 25px;
    box-shadow: var(--sombra);
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.amarelo { background-color: var(--amarelo-light); color: var(--amarelo-hover); }
.stat-icon.azul { background-color: #e3f2fd; color: #1565c0; }
.stat-icon.verde { background-color: #e8f5e9; color: #2e7d32; }
.stat-icon.vermelho { background-color: #fce4ec; color: #c62828; }

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--azul-marinho);
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--cinza-escuro);
}

/* Tabela de produtos */
.dashboard-section {
    background: var(--branco);
    border-radius: var(--raio);
    box-shadow: var(--sombra);
    overflow: hidden;
}

.dashboard-section-header {
    padding: 25px 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.dashboard-section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-marinho);
}

.dashboard-section-header .btn-amarelo {
    font-size: 0.85rem;
    padding: 10px 20px;
}

.produtos-tabela {
    width: 100%;
    overflow-x: auto;
}

.produtos-tabela table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.produtos-tabela th {
    background-color: var(--azul-marinho);
    color: var(--branco);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
}

.produtos-tabela td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--cinza-claro);
    vertical-align: middle;
}

.produtos-tabela tr:hover td {
    background-color: rgba(255, 193, 7, 0.04);
}

.tabela-imagem {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--cinza-claro);
}

.tabela-estoque {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tabela-estoque.disponivel {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.tabela-estoque.indisponivel {
    background-color: #fce4ec;
    color: #c62828;
}

.tabela-acoes {
    display: flex;
    gap: 8px;
}

.tabela-acoes button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
}

.tabela-acoes .btn-editar {
    background-color: #e3f2fd;
    color: #1565c0;
}

.tabela-acoes .btn-editar:hover {
    background-color: #1565c0;
    color: var(--branco);
}

.tabela-acoes .btn-excluir {
    background-color: #fce4ec;
    color: #c62828;
}

.tabela-acoes .btn-excluir:hover {
    background-color: #c62828;
    color: var(--branco);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--branco);
    border-radius: var(--raio);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 25px 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-marinho);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cinza-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
    color: var(--cinza-escuro);
}

.modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-footer .btn-cancelar {
    background-color: var(--cinza-claro);
    color: var(--cinza-escuro);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: var(--raio-sm);
    transition: var(--transicao);
}

.modal-footer .btn-cancelar:hover {
    background-color: var(--cinza-medio);
}

.imagem-preview {
    width: 100%;
    height: 180px;
    border: 2px dashed var(--cinza-medio);
    border-radius: var(--raio-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    overflow: hidden;
    background-color: var(--cinza-claro);
}

.imagem-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagem-preview .placeholder-text {
    color: var(--cinza-escuro);
    font-size: 0.85rem;
    text-align: center;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--branco);
    border-radius: var(--raio-sm);
    padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    animation: toastIn 0.3s ease;
    border-left: 4px solid;
}

.toast.sucesso { border-left-color: #2e7d32; }
.toast.erro { border-left-color: #c62828; }
toast.info { border-left-color: #1565c0; }

.toast.sucesso .toast-icon { color: #2e7d32; }
.toast.erro .toast-icon { color: #c62828; }

.toast-icon {
    flex-shrink: 0;
}

.toast-text {
    font-size: 0.9rem;
    color: #333;
    flex: 1;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 350px;
    }

    .sobre-content {
        flex-direction: column;
    }

    .sobre-imagem img {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--azul-marinho);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-120%);
        transition: var(--transicao);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .produtos-grid,
    .lancamentos-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }

    .produto-imagem {
        height: 250px;
    }

    .sobre-destaques {
        grid-template-columns: 1fr;
    }

    .modal-body .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-image {
        max-width: 280px;
    }

    .hero-image img {
        aspect-ratio: 3/4;
    }

    .produtos-grid,
    .lancamentos-grid {
        grid-template-columns: 1fr;
    }

    .produto-imagem {
        height: 320px;
    }

    .filtros {
        gap: 8px;
    }

    .filtro-btn {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .contato-grid {
        gap: 20px;
    }

    .contato-card {
        padding: 25px 20px;
    }

    .login-card {
        padding: 30px 25px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

