/* 
 * Espaço Clinique - Coming Soon Page
 * Design: Elegância Orgânica Moderna com Efeitos Visuais Avançados
 * Paleta: Verde Clínico (#6CC24A) + Cinzas Sofisticados
 */

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

:root {
    --color-primary: #6CC24A;
    --color-primary-dark: #5AA83A;
    --color-primary-light: #7DD65A;
    --color-gray-dark: #4A4A4A;
    --color-gray-medium: #7A7A7A;
    --color-gray-light: #F5F5F5;
    --color-white: #FFFFFF;
    --color-border: #E8E8E8;
    
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    color: var(--color-gray-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    z-index: -1;
    overflow: hidden;
}

/* Animated Blobs */
.blob {
    position: absolute;
    opacity: 0.15;
    filter: blur(40px);
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
    animation: blob-animation-1 8s ease-in-out infinite;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--color-primary);
    bottom: -50px;
    right: -50px;
    animation: blob-animation-2 10s ease-in-out infinite;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 50%;
    right: 10%;
    animation: blob-animation-3 12s ease-in-out infinite;
}

@keyframes blob-animation-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -50px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes blob-animation-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 50px); }
    66% { transform: translate(20px, -20px); }
}

@keyframes blob-animation-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== MAIN HERO SECTION ===== */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
    animation: fadeInScale 0.8s var(--ease-out) forwards;
    opacity: 0;
    position: relative;
}

.logo-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(108, 194, 74, 0.2));
    animation: rotatePulse 20s linear infinite;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(108, 194, 74, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes rotatePulse {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Text Section */
.text-section {
    max-width: 700px;
    animation: fadeInUp 1s var(--ease-out) 0.2s forwards;
    opacity: 0;
}

.title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--color-gray-medium);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-section {
    margin: 2.5rem 0;
    animation: slideInUp 0.8s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

.countdown-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(108, 194, 74, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    min-width: 60px;
    text-align: center;
    animation: countPulse 1s ease-in-out infinite;
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--color-gray-medium);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 0.25rem;
    animation: blink 1s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Progress Container */
.progress-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 2.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 6;
}

.progress-fill {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    animation: fillProgress 3s var(--ease-in-out) infinite;
}

@keyframes fillProgress {
    0% {
        stroke-dashoffset: 314;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 314;
    }
}

.progress-text {
    position: absolute;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Description */
.description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-gray-medium);
    line-height: 1.8;
    margin-top: 2rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 194, 74, 0.05) 100%);
    border-top: 1px solid rgba(108, 194, 74, 0.1);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(108, 194, 74, 0.2);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    animation: slideInUp 0.6s var(--ease-out) calc(0.1s * var(--service, 1)) forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 194, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(108, 194, 74, 0.15);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.service-card[data-service="2"] .service-icon {
    animation-delay: 0.2s;
}

.service-card[data-service="3"] .service-icon {
    animation-delay: 0.4s;
}

.service-card[data-service="4"] .service-icon {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-gray-medium);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(108, 194, 74, 0.05) 0%, transparent 100%);
    border-top: 1px solid rgba(108, 194, 74, 0.1);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 0.8s var(--ease-out) forwards;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1rem;
    color: var(--color-gray-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(108, 194, 74, 0.05);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.feature-item:hover {
    background: rgba(108, 194, 74, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-dark);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    animation: fadeInRight 0.8s var(--ease-out) forwards;
}

.about-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 10px 30px rgba(108, 194, 74, 0.2);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 194, 74, 0.3);
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.about-card-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 20;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(108, 194, 74, 0.1);
    background: rgba(255, 255, 255, 0.5);
    animation: fadeIn 1s var(--ease-out) 0.5s forwards;
    opacity: 0;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--color-gray-medium);
    letter-spacing: 0.2px;
}

.footer-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    border-bottom: 2px solid transparent;
}

.footer-link:hover {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .logo-container {
        width: 170px;
        height: 170px;
    }
    
    .logo-glow {
        width: 190px;
        height: 190px;
    }
    
    .logo-section {
        margin-bottom: 2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .countdown-container {
        gap: 0.25rem;
        padding: 1rem;
    }
    
    .countdown-value {
        min-width: 50px;
    }
    
    .countdown-separator {
        margin: 0 0.1rem;
    }
    
    .progress-container {
        width: 120px;
        height: 120px;
        margin: 2rem auto;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 1rem;
        min-height: auto;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .logo-container {
        width: 140px;
        height: 140px;
    }
    
    .logo-glow {
        width: 160px;
        height: 160px;
    }
    
    .logo-section {
        margin-bottom: 1.5rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }
    
    .countdown-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .countdown-item {
        gap: 0.25rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
        min-width: 45px;
    }
    
    .countdown-unit {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .progress-container {
        width: 100px;
        height: 100px;
        margin: 1.5rem auto;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    .services-section {
        padding: 2rem 1rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
    }
    
    .animated-bg {
        display: none;
    }
    
    .footer {
        position: static;
        margin-top: 2rem;
    }
}
