/* BOTÕES */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #4A6FA5;
    color: white;
}

.btn-primary:hover {
    background-color: #3a5a8c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 111, 165, 0.2);
}

/* Fundo 
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--soft-blue);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #e0f2fe;
    bottom: -50px;
    left: -100px;
}

@keyframes float-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
*/


/* TECNOLOGIAS */
.tech-simple {
    background-color: #f8fafd;
    padding: 80px 0;
    margin-bottom: -60px;
    position: relative;
    overflow: hidden;
}

.tech-simple::before {
  content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 50h100M50 0v100" stroke="rgba(74,111,165,0.15)" stroke-width="1"/><rect x="25" y="25" width="50" height="50" stroke="rgba(74,111,165,0.1)" stroke-width=".8" fill="none"/></svg>');
    background-repeat: repeat; 
    background-size: 150px 150px; 
    z-index: 0;
    opacity: 0.3; 
}

.tech-stack-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto;
}

.tech-card-simple {
    background: #F8FAFF;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(74, 111, 165, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* animação */
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tech-card-simple.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech-card-simple:nth-child(1) { transition-delay: 0.1s; }
.tech-card-simple:nth-child(2) { transition-delay: 0.2s; }
.tech-card-simple:nth-child(3) { transition-delay: 0.3s; }
.tech-card-simple:nth-child(4) { transition-delay: 0.4s; }
.tech-card-simple:nth-child(5) { transition-delay: 0.5s; }
.tech-card-simple:nth-child(6) { transition-delay: 0.6s; }

.tech-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 111, 165, 0.1);
    border-color: rgba(74, 111, 165, 0.2);
}

.tech-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4A6FA5, #6B9AC4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card-simple:hover::before { opacity: 1; }

.tech-icon-simple {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card-simple[data-tech="javascript"] .tech-icon-simple { color: #F7DF1E; background: rgba(247, 223, 30, 0.1); }
.tech-card-simple[data-tech="php"] .tech-icon-simple { color: #777BB4; background: rgba(119, 123, 180, 0.1); }
.tech-card-simple[data-tech="html5"] .tech-icon-simple { color: #E34F26; background: rgba(227, 79, 38, 0.1); }
.tech-card-simple[data-tech="css3"] .tech-icon-simple { color: #1572B6; background: rgba(21, 114, 182, 0.1); }
.tech-card-simple[data-tech="mysql"] .tech-icon-simple { color: #4479A1; background: rgba(68, 121, 161, 0.1); }
.tech-card-simple[data-tech="git"] .tech-icon-simple { color: #F05032; background: rgba(240, 80, 50, 0.1); }

.tech-info-simple { flex: 1; }

.tech-info-simple h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.tech-info-simple p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* FILOSOFIA */
.focus {
    padding: 80px 0;
    position: relative;
    background: #f8fafe;
    overflow: hidden;
}

.focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" preserveAspectRatio="none"><path d="M0,100 C150,200 350,0 500,100 S850,300 1000,100 S1350,0 1200,100 L1200,400 L0,400 Z" fill="rgba(74, 111, 165, 0.03)"/></svg>');
    background-size: cover;
    z-index: 0;
    opacity: 0.8;
}

.focus .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.focus-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.focus-list { margin-top: 30px; }

.focus-item {
    display: flex;
    align-items: flex-start; /* Alinha ao topo */
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.focus-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.focus-item i {
    color: #4A6FA5;
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}

.focus-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333333;
}

.focus-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 20px; 
    margin-top: 5px; 
}

.focus-item p { color: #666666;  }

.focus-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
}

/* DIFERENCIAIS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 40px 25px;
    text-align: center;
    border-top: 4px solid #4A6FA5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #4A6FA5;
    font-size: 2rem;
}

.product-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333333;
}

.product-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #666666;
    position: relative;
    padding-left: 20px;
}

.product-features li:before {
    content: '✓';
    color: #00d900;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CONTATO */
.contact {
    background: linear-gradient(135deg, #f2f4f7 0%, #FFFFFF 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 0px;
}

.contact-info h3,
.contact-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333333;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    /* animação */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.info-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-item i {
    color: #4A6FA5;
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333333;
}

.info-item p { color: #666666; }

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group { margin-bottom: 25px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A6FA5;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #27ae60;
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
    display: block;
}

.form-message.loading {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid #3498db;
    color: #2980b9;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.footer {
    background-color: #333333;
    color: white;
    padding: 20px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
}

.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: white;
    font-weight: 900;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background-color: #4A6FA5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    transform: translateY(-5px);
    background-color: #3a5a8c;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .tech-stack-simple { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .focus .container { flex-direction: column; }
    .focus-content { padding-right: 0; margin-bottom: 0px; }
    .tech-simple { padding: 80px 0; }
    .tech-stack-simple { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .tech-card-simple { padding: 20px; gap: 15px; }
    .tech-icon-simple {  }
    .contact-form { padding: 30px 20px; }
    .contact-info h3,
    .contact-form h3 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .tech-stack-simple { grid-template-columns: 1fr; }
    .btn { padding: 12px 25px; }
    #backToTop {
    bottom: 5px;
    right: 10px;
    }
}