/* Definição da fonte personalizada */
@font-face {
    font-family: 'Aquarium Display';
    src: url('fonts/AQUARIUM-DISPLAY.otf') format('opentype'),
         url('fonts/AQUARIUM-DISPLAY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #daa520;
    background-color: #ffffff;
}

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

/* Variáveis CSS */
:root {
    --primary-color: #000000;
    --secondary-color: #daa520;
    --accent-color: #0066cc;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
}

/* Botões */
.btn-primary, .btn-secondary, .btn-cta {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #daa520;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary-modal {
    background-color: transparent;
    color: #000000;
}

.btn-cta {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 16px;
    padding: 16px 32px;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Cabeçalho */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Aquarium Display', 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Seção Hero */
.hero {
    padding: 120px 0 80px;
    background-color: #000000;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
}

/* Seções gerais */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Seção Soluções */
.solutions {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.00);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.solution-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.solution-icon img {
    width: 30px;
    height: 30px;
}

.solution-problem {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-detail {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-detail:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* Seção Depoimentos */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Mantém os cards com a mesma altura */
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column; /* Organiza o card em uma coluna (texto em cima, autor embaixo) */
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.6;
    /* 
      A SOLUÇÃO DEFINITIVA ESTÁ AQUI:
      Definimos uma altura mínima para a área do texto.
      Isso força a seção do autor a começar sempre na mesma altura.
      Ajuste o valor (ex: 200px) se precisar de mais ou menos espaço para o texto.
    */
    min-height: 180px; 
}

.testimonial-author {
    display: flex;
    
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0px; /* Empurra a seção do autor para a base do card */
}

.author-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o nome e o cargo verticalmente */
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-position {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Estilo para o link e a imagem do ícone */
.client-link {
    flex-shrink: 0;
    margin-top: 0px;
}

.client-icon-img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    margin-top: 0px;
}

.client-link:hover .client-icon-img {
    transform: scale(1.1);
    opacity: 1;
}

/* Seção Quem Somos */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card-description {
    color: var(--text-light);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Seção CTA */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Rodapé */
.footer {
    padding: 60px 0 20px;
    background-color: var(--text-dark);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #cccccc;
}

/* Modal de Diagnóstico */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.diagnostico-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.form-actions .btn-secondary:hover {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.form-actions .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.form-actions .btn-primary:hover {
    background-color: #333333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal de Detalhes dos Serviços */
.modal-large .modal-content-large {
    max-width: 900px;
    width: 95%;
}

.servico-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.servico-description h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.servico-description h3:first-child {
    margin-top: 0;
}

.servico-description p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.servico-description ul,
.servico-description ol {
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.servico-description li {
    margin-bottom: 0.5rem;
}

.servico-portfolio h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.portfolio-item-title {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
    background-color: var(--light-gray);
}

.servico-actions {
    display: flex;
    justify-content: center;
    padding-top: 2rem;

}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .servico-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servico-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

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

.hero-content, .solution-card, .testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}






/* Estilos para o modal de serviço com cabeçalho e rodapé fixos */
.modal-content-large {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: 90vh;
}

.modal-content-large .modal-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.modal-content-large .modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 2rem;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background-color: var(--white);
    z-index: 10;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-price-info {
    text-align: left;
}

.footer-price-info .price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.footer-price-info .price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.servico-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Responsividade para o rodapé do modal */
@media (max-width: 768px) {
    .modal-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-price-info {
        text-align: center;
    }
    
    .servico-actions {
        width: 100%;
        justify-content: center;
    }
}



/* Estilo específico para o símbolo & no logo */
.ampersand {
    font-family: 'Poppins', sans-serif;
}

