/* ========================================
   ESTILOS MODERNOS DA PÁGINA DE CONTATO
   ======================================== */

/* Título Principal */
.contato-titulo {
    text-align: center;
    font-size: 3rem;
    margin: 150px 0 20px 0;
    color: var(--accent-warm);
    font-family: 'Merriweather', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.contato-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção de Contatos */
.contatos {
    width: 100%;
    padding: 80px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    /* linear-gradient mapped to bg-secondary */
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.contatos::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--shadow-light) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.contatos-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 120px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.contatos-icons li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out backwards;
}

.contatos-icons li:nth-child(1) {
    animation-delay: 0.1s;
}

.contatos-icons li:nth-child(2) {
    animation-delay: 0.2s;
}

.contatos-icons li:nth-child(3) {
    animation-delay: 0.3s;
}

.contatos-icons li:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contatos-icons li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contatos-icons li:hover::before {
    transform: scaleX(1);
}

.contatos-icons li:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

/* Container de Ícone */
.contatos-icons li::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--shadow-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.contatos-icons li:hover::after {
    width: 300px;
    height: 300px;
}

.contatos-icons img {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    filter: sepia(0.8) saturate(1.3) brightness(0.85) hue-rotate(5deg);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    padding: 20px;
    border-radius: 50%;
}

.contatos-icons li:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: sepia(1) saturate(1.8) brightness(0.8) hue-rotate(10deg);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-dark));
}

.contatos-icons p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contatos-icons li:hover p {
    color: var(--accent-warm);
    font-weight: 600;
}

/* Seção de Localização */
.localizacao {
    width: 100%;
    min-height: 650px;
    background: var(--bg-card);
    padding: 80px 20px;
    position: relative;
    transition: background 0.4s ease;
}

.localizacao h3 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--accent-warm);
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.localizacao h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

.container-mapa {
    display: flex;
    max-width: 92%;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
    border: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container-mapa:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 70px var(--shadow-card);
    border-color: var(--accent-dark);
}

.container-mapa iframe {
    height: 500px;
}

/* Seção de Plataformas */
.lojas {
    width: 100%;
    padding: 100px 20px 120px;
    background: var(--bg-secondary);
    /* linear-gradient mapped to bg-secondary */
    position: relative;
    overflow: hidden;
}

.lojas::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--shadow-light) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.lojas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lojas-container h3 {
    font-size: 2.8rem;
    color: var(--accent-warm);
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lojas-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

.lojas-container p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 60px;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.3s both;
}

.plataformas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
}

.plataforma-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--shadow-light);
    position: relative;
    overflow: hidden;
    animation: zoomIn 0.6s ease-out backwards;
}

.plataforma-link:nth-child(1) {
    animation-delay: 0.1s;
}

.plataforma-link:nth-child(2) {
    animation-delay: 0.2s;
}

.plataforma-link:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.plataforma-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--shadow-light), var(--shadow-medium));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plataforma-link:hover::before {
    opacity: 1;
}

.plataforma-link:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px var(--shadow-medium);
}

.plataforma-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.plataforma-link:hover::after {
    transform: scaleX(1);
}

.plataforma-link img {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0.95) contrast(1.05);
    position: relative;
    z-index: 1;
}

.plataforma-link:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.1);
}

.plataforma-link img.estante {
    width: 130px;
    max-height: 75px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .contatos-icons {
        gap: 40px 80px;
        max-width: 900px;
    }

    .plataformas-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contato-titulo {
        font-size: 2.2rem;
        margin-top: 120px;
    }

    .contatos {
        padding: 60px 20px 80px;
    }

    .contatos-icons {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }

    .contatos-icons li {
        padding: 35px 25px;
    }

    .contatos-icons img {
        width: 75px;
        height: 75px;
        padding: 15px;
    }

    .localizacao {
        padding: 60px 20px;
        min-height: auto;
    }

    .localizacao h3 {
        font-size: 2.2rem;
    }

    .container-mapa {
        max-width: 95%;
    }

    .container-mapa iframe {
        height: 400px;
    }

    .lojas {
        padding: 80px 20px 100px;
    }

    .lojas-container h3 {
        font-size: 2.2rem;
    }

    .lojas-container p {
        font-size: 1.05rem;
        margin-bottom: 50px;
    }

    .plataformas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }

    .plataforma-link {
        padding: 40px 30px;
    }

    .plataforma-link img {
        max-height: 70px;
        max-width: 120px;
    }

    .plataforma-link img.estante {
        width: 110px;
        max-height: 65px;
    }
}

@media (max-width: 480px) {
    .contato-titulo {
        font-size: 1.8rem;
        margin-top: 100px;
    }

    .contatos {
        padding: 40px 15px 60px;
    }

    .contatos-icons {
        gap: 25px;
    }

    .contatos-icons li {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .contatos-icons img {
        width: 65px;
        height: 65px;
        padding: 12px;
    }

    .contatos-icons p {
        font-size: 0.95rem;
    }

    .localizacao {
        padding: 50px 15px;
    }

    .localizacao h3 {
        font-size: 1.8rem;
    }

    .container-mapa {
        border-radius: 15px;
    }

    .container-mapa iframe {
        height: 350px;
    }

    .lojas {
        padding: 60px 15px 80px;
    }

    .lojas-container h3 {
        font-size: 1.8rem;
    }

    .lojas-container p {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .plataformas-grid {
        gap: 25px;
    }

    .plataforma-link {
        padding: 35px 25px;
        border-radius: 15px;
    }

    .plataforma-link img {
        max-height: 60px;
        max-width: 100px;
    }

    .plataforma-link img.estante {
        width: 95px;
        max-height: 55px;
    }
}

/* Micro-interações e polimento final */
.contatos-icons li,
.plataforma-link {
    cursor: pointer;
    user-select: none;
}

.contatos-icons li:active,
.plataforma-link:active {
    transform: translateY(-8px) scale(0.98);
}

/* Adiciona suavidade ao scroll */
html {
    scroll-behavior: smooth;
}

/* Melhora a qualidade das imagens */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}