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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #d4af37;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --button-primary: #ffffff;
    --button-text: #1a1a1a;
    --button-hover: #f8f8f8;
    --urgent-color: #dc3545;
    --urgent-hover: #c82333;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fefcf8 0%, #f9f6f0 50%, #f4f0e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 500px;
}

.contact-card {
    background: var(--primary-color);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px var(--shadow-heavy),
        0 0 0 1px var(--shadow-light);
    position: relative;
    min-height: 720px;
    backdrop-filter: blur(10px);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Midias/dd1706f7-a9ae-4603-9125-f2b553911cab.jfif'); /* Foto de fundo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7) contrast(1.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(45, 45, 45, 0.4) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
}

.content {
    position: relative;
    z-index: 2;
    padding: 60px 45px;
    color: var(--text-primary);
    text-align: center;
}

.header {
    margin-bottom: 45px;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f4d03f);
    border-radius: 2px;
}

.name {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-medium);
}

.profession {
    font-size: 26px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-area {
    margin-bottom: 40px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.service-area p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.instruction {
    margin-bottom: 50px;
}

.instruction p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 350px;
    margin: 0 auto;
    font-weight: 400;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.btn {
    background: var(--button-primary);
    color: var(--button-text);
    border: none;
    padding: 22px 30px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-align: center;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.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;
}

.btn:hover::before {
    left: 100%;
}

/* Efeito de brilho para todos os botões */
.btn:not(.urgent)::before {
    background: linear-gradient(90deg, transparent, rgba(253, 246, 227, 0.6), transparent);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--shadow-heavy);
    background: var(--button-hover);
}

.btn:active {
    transform: translateY(-1px);
    transition: transform 0.5s;
}

.btn.urgent {
    background: linear-gradient(135deg, var(--urgent-color) 0%, #e74c3c 100%);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 1px 2px var(--shadow-medium);
}

.btn.urgent:hover {
    background: linear-gradient(135deg, var(--urgent-hover) 0%, #c0392b 100%);
    box-shadow: 0 12px 25px rgba(220, 53, 69, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.btn.urgent::after {
    content: '';
    position: absolute;
    right: 25px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2L13.09 8.26L20 9L13.09 9.74L12 16L10.91 9.74L4 9L10.91 8.26L12 2Z"/></svg>') no-repeat center;
    background-size: contain;
    animation: pulse 2s infinite;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 15px;
    }
    
    .contact-card {
        border-radius: 24px;
        min-height: 680px;
    }
    
    .content {
        padding: 50px 35px;
    }
    
    .name {
        font-size: 34px;
    }
    
    .profession {
        font-size: 24px;
    }
    
    .service-area p {
        font-size: 17px;
    }
    
    .instruction p {
        font-size: 16px;
        max-width: 320px;
    }
    
    .btn {
        padding: 20px 28px;
        font-size: 16px;
        min-height: 60px;
    }
    
    .service-area {
        padding: 18px 22px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 95%;
        padding: 10px;
    }
    
    .contact-card {
        border-radius: 20px;
        min-height: 650px;
    }
    
    .content {
        padding: 40px 20px;
    }
    
    .name {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .profession {
        font-size: 18px;
    }
    
    .header {
        margin-bottom: 30px;
    }
    
    .header::after {
        width: 45px;
        height: 2px;
        bottom: -10px;
    }
    
    .service-area {
        margin-bottom: 25px;
        padding: 15px 16px;
    }
    
    .service-area p {
        font-size: 15px;
    }
    
    .instruction {
        margin-bottom: 30px;
    }
    
    .instruction p {
        font-size: 14px;
        max-width: 260px;
    }
    
    .buttons {
        gap: 16px;
    }
    
    .btn {
        padding: 16px 20px;
        font-size: 14px;
        min-height: 52px;
        border-radius: 14px;
    }
    
    .btn.urgent::after {
        right: 18px;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 400px) {
    .container {
        max-width: 98%;
        padding: 8px;
    }
    
    .contact-card {
        border-radius: 18px;
        min-height: 600px;
    }
    
    .content {
        padding: 35px 18px;
    }
    
    .name {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .profession {
        font-size: 16px;
    }
    
    .header {
        margin-bottom: 25px;
    }
    
    .header::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
    
    .service-area {
        margin-bottom: 20px;
        padding: 12px 14px;
        border-radius: 12px;
    }
    
    .service-area p {
        font-size: 14px;
    }
    
    .instruction {
        margin-bottom: 25px;
    }
    
    .instruction p {
        font-size: 13px;
        max-width: 240px;
    }
    
    .buttons {
        gap: 14px;
    }
    
    .btn {
        padding: 14px 18px;
        font-size: 13px;
        min-height: 48px;
        border-radius: 12px;
    }
    
    .btn.urgent::after {
        right: 16px;
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 350px) {
    .container {
        max-width: 100%;
        padding: 5px;
    }
    
    .contact-card {
        border-radius: 16px;
        min-height: 580px;
    }
    
    .content {
        padding: 30px 15px;
    }
    
    .name {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .profession {
        font-size: 15px;
    }
    
    .header {
        margin-bottom: 20px;
    }
    
    .header::after {
        width: 35px;
        height: 2px;
        bottom: -6px;
    }
    
    .service-area {
        margin-bottom: 18px;
        padding: 10px 12px;
        border-radius: 10px;
    }
    
    .service-area p {
        font-size: 13px;
    }
    
    .instruction {
        margin-bottom: 20px;
    }
    
    .instruction p {
        font-size: 12px;
        max-width: 200px;
    }
    
    .buttons {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 12px;
        min-height: 44px;
        border-radius: 10px;
    }
    
    .btn.urgent::after {
        right: 14px;
        width: 14px;
        height: 14px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.content > * {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Efeitos de hover suaves para dispositivos móveis */
@media (hover: none) {
    .btn:hover {
        transform: none;
        box-shadow: 0 4px 12px var(--shadow-medium);
    }
    
    .btn.urgent:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
}

/* Melhorias de acessibilidade */
.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--shadow-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Crédito do desenvolvedor */
.credits {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-size: 14px;
    color:black;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 10;
    pointer-events: auto;
    user-select: none;
}

.credits:hover {
    opacity: 4;
    color: var(--accent-color);
    transform: translateY(-2px);
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsividade para o crédito */
@media (max-width: 768px) {
    .credits {
        bottom: 18px;
        left: 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .credits {
        bottom: 15px;
        left: 15px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .credits {
        bottom: 12px;
        left: 12px;
        font-size: 11px;
    }
}

@media (max-width: 350px) {
    .credits {
        bottom: 10px;
        left: 10px;
        font-size: 10px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 10px;
    }
    
    .contact-card {
        min-height: 500px;
    }
    
    .content {
        padding: 30px 40px;
    }
    
    .header {
        margin-bottom: 25px;
    }
    
    .name {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .profession {
        font-size: 20px;
    }
    
    .service-area {
        margin-bottom: 20px;
        padding: 15px 20px;
    }
    
    .instruction {
        margin-bottom: 25px;
    }
    
    .buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 15px 25px;
        min-height: 50px;
        font-size: 15px;
    }
    
    .credits {
        bottom: 8px;
        left: 8px;
        font-size: 11px;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 280px) {
    .container {
        max-width: 100%;
        padding: 3px;
    }
    
    .contact-card {
        border-radius: 14px;
        min-height: 580px;
    }
    
    .content {
        padding: 30px 15px;
    }
    
    .name {
        font-size: 22px;
    }
    
    .profession {
        font-size: 15px;
    }
    
    .service-area {
        padding: 10px 12px;
    }
    
    .service-area p {
        font-size: 13px;
    }
    
    .instruction p {
        font-size: 12px;
        max-width: 200px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 12px;
        min-height: 44px;
        border-radius: 12px;
    }
    
    .credits {
        bottom: 8px;
        left: 8px;
        font-size: 9px;
    }
}
