/* Reset básico e fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #f7f9fb;
    color: #222;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

/* Container padrão */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header e Navegação */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-logo h2 {
    color: #1a73e8;
    font-weight: 700;
    margin-right: 8px;
    display: inline;
}
.nav-logo span {
    color: #222;
    font-size: 1rem;
    font-weight: 400;
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-link {
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #1a73e8;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #1a73e8;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, #1a73e8 0%, #4285f4 100%);
    color: #fff;
    padding: 80px 0 60px 0;
}
.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}
.hero-image {
    flex: 1 1 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1; /* Coloca a imagem primeiro (esquerda) */
}
.hero-ship {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.hero-ship:hover {
    transform: scale(1.05);
}
.hero-content {
    flex: 1 1 350px;
    order: 2; /* Coloca o conteúdo depois (direita) */
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.hero-title .highlight {
    color: #ffd600;
}
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 28px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: #ffd600;
    color: #1a73e8;
}
.btn-primary:hover {
    background: #fff;
    color: #1a73e8;
}
.btn-secondary {
    background: #fff;
    color: #1a73e8;
    border: 2px solid #ffd600;
}
.btn-secondary:hover {
    background: #ffd600;
    color: #1a73e8;
}
.hero-image {
    flex: 1 1 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-illustration i {
    font-size: 3rem;
    margin: 0 10px;
    color: #fff;
    opacity: 0.8;
}

/* Seções Gerais */
.section-header {
    text-align: center;
    margin-bottom: 36px;
}
.section-header h2 {
    font-size: 2rem;
    color: #1a73e8;
    margin-bottom: 8px;
}
.section-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 28px 18px;
    text-align: center;
    transition: transform 0.2s;
}
.service-card:hover {
    transform: translateY(-6px) scale(1.03);
}
.service-icon {
    font-size: 2.2rem;
    color: #1a73e8;
    margin-bottom: 12px;
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #222;
}
.service-card p {
    color: #555;
    font-size: 1rem;
}

/* Cases */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.case-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 18px;
    padding: 22px;
    align-items: center;
}
.case-image i {
    font-size: 2.5rem;
    color: #4285f4;
}
.case-content h3 {
    color: #1a73e8;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.case-category {
    font-size: 0.95rem;
    color: #ffd600;
    margin-bottom: 6px;
}
.case-stats {
    margin-top: 8px;
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: #222;
}
.case-stats i {
    color: #1a73e8;
    margin-right: 4px;
}

/* Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.portfolio-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 16px;
    text-align: center;
}
.portfolio-item img {
    border-radius: 8px;
    margin-bottom: 10px;
}
.portfolio-item h3 {
    color: #1a73e8;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.portfolio-item p {
    color: #555;
    font-size: 0.98rem;
}

/* Sobre */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
}
.about-text {
    flex: 1 1 320px;
}
.about-text ul {
    margin-top: 12px;
    list-style: none;
}
.about-text li {
    margin-bottom: 8px;
    color: #1a73e8;
    font-weight: 500;
}
.about-image {
    flex: 1 1 220px;
    display: flex;
    justify-content: center;
}
.about-image img {
    border-radius: 50%;
    border: 4px solid #1a73e8;
    width: 180px;
    height: 180px;
    object-fit: cover;
}

/* Contato */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cfd8dc;
    font-size: 1rem;
    resize: none;
}
.contact-form textarea {
    min-height: 90px;
}
.contact-form button {
    align-self: flex-end;
}
#form-message {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    color: #1a73e8;
}

/* Chat IA */
.chat-ia {
    margin-top: 40px;
}
.chat-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
    padding: 18px;
}
.chat-messages {
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 12px;
    font-size: 1rem;
}
.chat-form {
    display: flex;
    gap: 8px;
}
.chat-form input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cfd8dc;
    font-size: 1rem;
}
.chat-form button {
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-form button:hover {
    background: #4285f4;
}

/* Footer */
.footer {
    background: #1a73e8;
    color: #fff;
    text-align: center;
    padding: 24px 0 12px 0;
    margin-top: 40px;
}
.footer-social {
    margin-top: 10px;
}
.footer-social a {
    color: #ffd600;
    margin: 0 8px;
    font-size: 1.3rem;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #fff;
}

/* Responsividade */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        order: 2; /* Imagem vai para baixo em telas menores */
    }
    
    .hero-content {
        order: 1; /* Conteúdo vai para cima em telas menores */
    }
    .hero-ship {
        max-width: 80%;
        margin: 0 auto;
    }
    .about-content {
        flex-direction: column;
    }
}


@media (max-width: 700px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 180px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid #eee;
    }
    .nav-container {
        position: relative;
    }
}
@media (max-width: 500px) {
    .container {
        width: 98%;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-ship {
        max-width: 90%;
    }
    .section-header h2 {
        font-size: 1.2rem;
    }
} 