/* =====================================================
   CHAPADÃO SEMENTES - LANDING PAGE VIP SAFRA 2026
   Design moderno com glassmorphism e animações
   Versão Refinada - Layout Compacto
   ===================================================== */

/* === CSS Variables === */
:root {
    --color-dark: #2B4040;
    --color-dark-light: #3a5555;
    --color-dark-lighter: #4a6565;
    --color-green-medium: #55A649;
    --color-green-light: #68BF50;
    --color-orange: #F26B1D;
    --color-orange-dark: #d85a10;
    --color-white: #F2F2F2;
    --color-white-pure: #ffffff;

    --gradient-main: linear-gradient(135deg, var(--color-dark) 0%, #1a2d2d 50%, var(--color-dark-light) 100%);
    --gradient-glow: linear-gradient(135deg, var(--color-green-light), var(--color-green-medium));

    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-button: 0 10px 40px -10px;

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-dark);
    color: var(--color-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === Background Effects === */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    z-index: -2;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(85, 166, 73, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(104, 191, 80, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(242, 107, 29, 0.08) 0%, transparent 30%);
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 3%) rotate(-1deg);
    }

    75% {
        transform: translate(3%, -2%) rotate(2deg);
    }
}

/* === Particles === */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-green-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: var(--color-orange);
    opacity: 0.2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* === Container === */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === HERO SECTION === */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Badge === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
    color: var(--color-white-pure);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(242, 107, 29, 0.4);
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 1rem;
    animation: spin 3s linear infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* === Logo === */
.logo-container {
    width: 100%;
    max-width: 300px;
    margin-bottom: 8px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === Banner SAFRA 2026 com Destaque === */
.safra-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(242, 107, 29, 0.15), rgba(104, 191, 80, 0.1));
    border: 2px solid rgba(242, 107, 29, 0.4);
    border-radius: 20px;
    padding: 20px 40px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1s ease-out 0.5s both;
    overflow: hidden;
}

.safra-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(242, 107, 29, 0.2) 0%, transparent 50%);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.safra-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.safra-pre,
.safra-post {
    font-size: 1.5rem;
    animation: sway 2s ease-in-out infinite;
}

.safra-post {
    animation-delay: 0.5s;
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.safra-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-orange), #ffb347, var(--color-orange));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.safra-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-green-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* === Hero Tagline - Frase Impactante === */
.hero-tagline {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(242, 242, 242, 0.9);
    margin: 15px 0 10px;
    max-width: 450px;
    animation: fadeIn 1s ease-out 0.7s both;
}

.hero-tagline strong {
    color: var(--color-green-light);
    font-weight: 600;
}

/* === Hero Image === */
.hero-image {
    width: 100%;
    max-width: 420px;
    margin: 10px 0 20px;
    animation: fadeIn 1.2s ease-out 0.9s both;
}

.hero-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-medium);
}

.hero-img:hover {
    transform: scale(1.02);
}

/* === Hero Subtext === */
.hero-subtext {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(242, 242, 242, 0.85);
    max-width: 400px;
    animation: fadeIn 1s ease-out 1.1s both;
}

.hero-subtext strong {
    color: var(--color-green-light);
    font-weight: 600;
}

/* === DIFERENCIAIS SECTION === */
.diferenciais {
    width: 100%;
    padding: 20px 0;
    animation: fadeIn 1s ease-out;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
}

.section-title span {
    color: var(--color-orange);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

/* === Diferencial Card com Imagem Overflow === */
.diferencial-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    margin-top: 70px;
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-orange));
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: 20px 20px 0 0;
}

.diferencial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.diferencial-card:hover::before {
    opacity: 1;
}

/* Imagem que "vaza" do card */
.card-image-overflow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    z-index: 2;
}

.card-image-overflow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-medium);
}

.diferencial-card:hover .card-image-overflow img {
    transform: scale(1.08);
}

.card-content {
    position: relative;
    z-index: 1;
}

.diferencial-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 20px;
    color: var(--color-green-light);
}

.diferencial-card p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(242, 242, 242, 0.8);
}

/* === CTA SECTION === */
.cta-section {
    width: 100%;
    padding: 30px 0;
}

.cta-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-white);
}

.cta-title span {
    color: var(--color-green-light);
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(242, 242, 242, 0.8);
    margin-bottom: 30px;
}

/* === Divider === */
.divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-icon {
    padding: 0 15px;
    width: 150px;
    height: auto;
    object-fit: contain;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* === Buttons === */
.actions {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white-pure);
    box-shadow: var(--shadow-button) rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-button) rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:active {
    transform: translateY(-1px);
}

/* Site Button */
.btn-site {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-site:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(104, 191, 80, 0.3);
}

.btn-site:active {
    transform: translateY(-1px);
}

/* === Footer === */
.footer {
    padding: 35px 20px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-year {
    margin-top: 5px;
    font-size: 0.75rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .safra-title {
        font-size: 2.2rem;
    }

    .safra-banner {
        padding: 15px 25px;
    }

    .hero-question {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .hero {
        padding: 25px 0 15px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 8px 18px;
    }

    .logo-container {
        max-width: 260px;
    }

    .safra-title {
        font-size: 1.8rem;
    }

    .safra-banner {
        padding: 12px 20px;
    }

    .safra-pre,
    .safra-post {
        font-size: 1.2rem;
    }

    .hero-question {
        font-size: 1.05rem;
    }

    .hero-image {
        max-width: 320px;
    }

    .diferencial-card {
        margin-top: 60px;
        padding-top: 70px;
    }

    .card-image-overflow {
        width: 130px;
        height: 130px;
        top: -50px;
    }

    .btn {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .safra-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .safra-banner {
        padding: 10px 15px;
    }

    .safra-pre,
    .safra-post {
        font-size: 1rem;
    }

    .logo-container {
        max-width: 230px;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 3px;
}

.diferencial-card:focus-visible {
    outline: 3px solid var(--color-green-light);
    outline-offset: 3px;
}