/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores baseadas no logo - dourado e preto */
    --primary-gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #F4E4B6;
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --light-black: #2A2A2A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #666666;

    --cor-dourado: #D4AF37;
    --cor-dark-mode: #121212; /* do Google */
    --cor-black-apple: #1C1C1C; /* (Um pouco mais suave, usado pela Apple)*/
    --cor-preto-carvao: #222222; /*(Preto carvão clássico)*/

    /* BLACK PIANO (A mágica está neste degradê) */
    /* Cria um reflexo suave no topo que vai escurecendo */
    --bg-black-piano: linear-gradient(180deg, #353535 0%, #000000 100%);
    --black-piano-diag: linear-gradient(135deg, #323232 0%, #0a0a0a 60%, #000000 100%);
    --black-piano-diag: linear-gradient(135deg, #000000 0%, #0a0a0a 40%, #323232 100%);
    --black-piano-diag: linear-gradient(135deg, #000000 0%, #0a0a0a 85%, #323232 100%);


.piano-finish {
    /* Usa a variável que criamos */
    background: var(--bg-black-piano);
    
    /* Para o efeito ficar perfeito, precisa de brilho na borda e sombra */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);   /* Sombra profunda */
    color: #fff;
}

.section-piano {
    background: var(--black-piano-diag);
    color: #fff;
    padding: 60px 0; /* Espaçamento interno para o conteúdo respirar */
    
    /* Opcional: Uma borda sutil no topo simula luz batendo na quina */
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
}

    /* Tipografia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transições */
    --transition: all 0.3s ease;
}

.card-piano {
    background: var(--black-piano);
    color: #fff;
    padding: 30px;
    
    /* ESSENCIAIS PARA O EFEITO PIANO EM OBJETOS MENORES: */
    border-radius: 16px; /* Bordas bem arredondadas */
    
    /* Simula o reflexo da borda de vidro/acrílico */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    
    /* Sombra profunda para destacar do fundo fosco */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;



       /* Aplica o degradê na tela toda */
    background: var(--black-piano-diag);
    color: #f4f4f4;
    
    /* TRUQUE PROFISSIONAL: */
    /* Isso impede que o degradê estique e fique feio se a página for longa. */
    /* O fundo fica "parado" enquanto o texto rola por cima, parecendo uma chapa sólida. */
    background-attachment: fixed; 
    
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container h3 {
    font-size: 2rem;     
    text-align: center;
    margin-bottom: 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    /* background: #252525; */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);

    display: flex;
    justify-content: space-evenly;
}

.navbar {
    padding: .5rem 0 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{margin-right: 100px;}

.logo img {
    height: 100px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:hover {
    width: 100%;
    color: var(--primary-gold);
}

.nav-link.cta-button {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.nav-link.cta-button::after {
    display: none;
}

.nav-link.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%); */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background:  */
        /* radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), */
        /* radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%); */
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M 50 10 L 60 40 L 90 40 L 65 60 L 75 90 L 50 70 L 25 90 L 35 60 L 10 40 L 40 40 Z" fill="rgba(212,175,55,0.03)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    /* padding: 2rem; */
    padding: 2rem 2rem .2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold), var(--primary-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-black);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-gold);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}

/* Correção para Emojis não ficarem monocromáticos */
.emoji-fix {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: normal; /* Remove o negrito que as vezes deforma o emoji */
    color: initial;      /* Remove a cor dourada forçada */
    font-style: normal;  /* Remove itálico se houver */
    display: inline-block; /* Ajuda no alinhamento */
    
    /* Se você usar gradiente no texto, adicione estas linhas também: */
    background: none;
    -webkit-text-fill-color: initial;
}

.ico-real {
    height: 1.1em; /* Um pouco maior que o texto para dar destaque */
    width: auto;   /* Mantém a proporção */
    vertical-align: middle; /* Alinha o centro da imagem com o centro do texto */
    
    /* Ajuste fino: as vezes a imagem sobe ou desce demais, use margin para corrigir */
    margin-bottom: 0.2em; 
    margin-right: 10px; /* Espaço entre o diamante e a palavra "Modelagem" */

    /* Efeito de Luxo (Opcional): Adiciona um brilho dourado ao redor da imagem */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}
/* Section Styles */
section {
    /* padding: 100px 0; */
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    /* color: var(--primary-black); */
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    /* color: var(--text-gray); */
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
/* .about {
    background: var(--light-gray);
} */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* align-items: center; */
    align-items: start;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.about-text p {
    /* color: var(--text-gray); */
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.feature-icon img{width: 50px; height: auto;}

.feature-item h4 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    /* height: 500px; */
    height: 360px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Services Section */
/* .services {
    background: var(--white);
} */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Portfolio Section */
/* .portfolio {
    background: var(--primary-black);
    color: var(--white);
} */

.portfolio .section-title {
    color: var(--white);
}

.portfolio .section-subtitle {
    color: var(--light-gray);
}

.portfolio-grid0 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 37px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 37px;
}

.portfolio-item {
    background: var(--secondary-black);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.portfolio-image0 {
    /* height: 300px; */
    /* height: 200px; */
    /* background: linear-gradient(135deg, var(--light-black), var(--secondary-black)); */
    /* background-color: #fff; */
    background-color: #0E1B2B;;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    /* height: 300px; */
    height: 200px;
    /* background: linear-gradient(135deg, var(--light-black), var(--secondary-black)); */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {height: 200px;}

.portfolio-image0 img {height: 310px;}

.titleMacaw h3 {font-size: 1.5rem; line-height: 1.2;}

.portfolio-placeholder {
    font-size: 6rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1) rotate(5deg);
    transition: var(--transition);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    color: var(--light-gray);
    font-size: 0.95rem;
    text-align: center;
}

/* Contact Section */
/* .contact {
    background: var(--light-gray);
} */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    /* color: var(--primary-black); */
    margin-bottom: 1rem;
}

.contact-info > p {
    /* color: var(--text-gray); */
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-gold);
}

.contact-item h4 {
    color: var(--primary-black);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-gray);
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.contact-form.loading .btn-text {
    display: none;
}

.contact-form.loading .btn-loading {
    display: inline;
}

.contact-form.loading .btn-submit {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-black);
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .ico-real {
        height: 1em; /* Um pouco menor em telas pequenas */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
