/*
Theme Name: SOS Chaveiro Itajaí Final
Theme URI: https://seusite.com.br
Author: Seu Nome
Author URI: https://seusite.com.br
Description: Versão final do tema personalizado para a landing page do SOS Chaveiro Itajaí, com design único, animações e conteúdo 100% editável via painel.
Version: 5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: landing-page, one-column, custom-background, responsive-layout, custom-fields
*/

:root {
    --color-bg: #050505;
    --color-surface: #111111;
    --color-primary: #facc15; /* yellow-400 */
    --color-text-light: #f3f4f6; /* gray-100 */
    --color-text-dark: #1f2937; /* gray-800 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-light);
    overflow-x: hidden;
}

.section-dark { background-color: var(--color-bg); color: var(--color-text-light); }
.section-light { background-color: #ffffff; color: var(--color-text-dark); }
.section-yellow { background-color: var(--color-primary); color: #000; }

.hero-section {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.15;
}

.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 10%, rgba(0,0,0,0) 60%);
    animation: pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
}

.logo-container {
    width: 200px;
    height: 159px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo-container-footer {
    width: 150px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    padding: 20px;
}

.cta-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(250, 204, 21, 0.4);
}

.service-card {
    background-color: var(--color-surface);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.animated-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.diferencial-card {
    position: relative;
    background: #f9fafb; /* gray-50 */
    border-radius: 1rem;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), var(--color-primary) 0%, transparent 20%);
    opacity: 0;
    transition: opacity 0.5s;
}
.diferencial-card:hover::before {
    opacity: 0.2;
}
.diferencial-card .content {
    position: relative;
    z-index: 1;
}
.diferencial-card .content i {
    transition: transform 0.3s ease;
}
.diferencial-card:hover .content i {
    transform: scale(1.1);
}

.shimmer-badge {
    position: relative;
    overflow: hidden;
}
.shimmer-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(250, 204, 21, 0) 0%,
        rgba(250, 204, 21, 0.15) 50%,
        rgba(250, 204, 21, 0) 100%
    );
    transform: rotate(25deg);
    animation: shimmer 7s infinite;
    animation-delay: 2.5s;
}

@keyframes shimmer {
    0% { left: -75%; }
    20% { left: 110%; }
    100% { left: 110%; }
}

.cta-pattern {
    position: relative;
    overflow: hidden;
}
.cta-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
