/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores oficiais Amil Dental */
    --amil-blue: #0056A3;
    --amil-light-blue: #0072CE;
    --amil-dark-blue: #003D7A;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E8ECF1;
    --dark-gray: #666666;
    --text-dark: #333333;
    --success-green: #25D366;
    --alert-orange: #FF9500;
    --shadow: rgba(0, 86, 163, 0.1);
    --shadow-hover: rgba(0, 86, 163, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    height: 60px;
    width: auto;
}

.header-subtitle {
    color: var(--amil-blue);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    margin-bottom: 30px;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.welcome-section h1 {
    color: var(--amil-dark-blue);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.welcome-section .subtitle {
    color: var(--dark-gray);
    font-size: 18px;
    font-weight: 400;
}

/* Buttons Grid */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-button {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--amil-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
    border-color: var(--amil-light-blue);
}

.service-button:hover::before {
    transform: scaleY(1);
}

.service-button.highlight {
    background: linear-gradient(135deg, var(--amil-blue) 0%, var(--amil-light-blue) 100%);
    color: var(--white);
}

.service-button.highlight .button-content h2,
.service-button.highlight .button-content p {
    color: var(--white);
}

.service-button.highlight .button-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-button.highlight .button-arrow {
    color: var(--white);
}

.button-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--amil-blue);
    transition: all 0.3s ease;
}

.service-button:hover .button-icon {
    transform: scale(1.1);
    background: var(--amil-light-blue);
    color: var(--white);
}

.service-button.highlight .button-icon {
    background: rgba(255, 255, 255, 0.2);
}

.button-content {
    flex: 1;
}

.button-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--amil-dark-blue);
    margin-bottom: 8px;
}

.button-content p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.4;
}

.button-arrow {
    color: var(--amil-blue);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.service-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.info-card i {
    font-size: 36px;
    color: var(--amil-blue);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--amil-dark-blue);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.footer-content p {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--amil-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amil-light-blue);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .logo {
        height: 50px;
    }

    .welcome-section h1 {
        font-size: 26px;
    }

    .welcome-section .subtitle {
        font-size: 16px;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-button {
        padding: 20px;
        gap: 15px;
    }

    .button-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
    }

    .button-content h2 {
        font-size: 18px;
    }

    .button-content p {
        font-size: 13px;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .footer {
        padding: 25px 20px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .welcome-section h1 {
        font-size: 22px;
    }

    .welcome-section .subtitle {
        font-size: 14px;
    }

    .service-button {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }

    .button-arrow {
        display: none;
    }

    .button-content h2 {
        font-size: 16px;
    }

    .footer-links a {
        display: block;
        margin: 8px 0;
    }

    .footer-links {
        line-height: 2;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-button,
.info-card {
    animation: fadeIn 0.6s ease forwards;
}

.service-button:nth-child(1) { animation-delay: 0.1s; }
.service-button:nth-child(2) { animation-delay: 0.2s; }
.service-button:nth-child(3) { animation-delay: 0.3s; }
.service-button:nth-child(4) { animation-delay: 0.4s; }

.info-card:nth-child(1) { animation-delay: 0.5s; }
.info-card:nth-child(2) { animation-delay: 0.6s; }
.info-card:nth-child(3) { animation-delay: 0.7s; }
