/* Variáveis de cores */
:root {
    --primary-color: #003b3c;
    --secondary-color: #005f61;
    --accent-color: #00a8a8;
    --accent-warm: #f39c12;
    --text-dark: #333;
    --text-light: #666;
}

/* Hero Section Modern */
.hero-modern {
    min-height: 100vh;
    background-image: url('https://www.psijoaovitorpavanelli.com/assets/images/Bannar01-02.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 59, 60, 0.15);
    z-index: 1;
}

.hero-modern > .container-fluid {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    padding: 80px 0;
}

.hero-text-content {
    padding: 40px 80px;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent-warm);
    border: none;
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-hero-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 59, 60, 0.4);
}

.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    max-height: 80vh;
    object-fit: cover;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Seção Sobre */
.sobre-image .placeholder-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.sobre-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.qualificacoes {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.qualificacoes li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.qualificacoes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-warm);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* Serviços */
.servicos {
    background-color: #e6f5f5 !important;
}

.servico-card {
    border: none;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: white;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.servico-icon {
    font-size: 3rem;
}

.servico-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servico-card p {
    color: var(--text-light);
}

/* Áreas de Atuação */
.area-item {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.area-item:hover {
    border-left-color: var(--accent-warm);
    transform: translateX(5px);
}

.area-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.area-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Depoimentos */
.depoimentos {
    background-color: #f8f9fa !important;
}

.depoimento-card {
    border: none;
    border-left: 4px solid var(--accent-warm);
    transition: all 0.3s;
    background-color: white;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.depoimento-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 2rem;
    color: white;
}

.depoimento-autor h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.depoimento-rating {
    color: var(--accent-warm);
    font-size: 1rem;
}

.depoimento-texto p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    font-style: italic;
}

/* Carrossel de Depoimentos */
.depoimentos-carrossel {
    position: relative;
    overflow: visible;
    padding: 0 60px;
}

.depoimentos-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.depoimentos-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Botões de Navegação */
.depoimentos-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.depoimentos-nav:hover {
    background: var(--accent-warm);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.depoimentos-prev {
    left: 0;
}

.depoimentos-next {
    right: 0;
}

.depoimentos-nav span {
    line-height: 0;
    display: block;
}

/* Indicadores */
.depoimentos-indicadores {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.indicador:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicador.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Responsividade do Carrossel */
@media (max-width: 768px) {
    .depoimentos-carrossel {
        padding: 0 50px;
    }

    .depoimentos-prev {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .depoimentos-next {
        right: 0;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .depoimentos-carrossel {
        padding: 0 45px;
    }

    .depoimentos-prev,
    .depoimentos-next {
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
}

/* Seção de Avaliação */
.avaliacao-section {
    background: linear-gradient(135deg, #e6f5f5 0%, #f8f9fa 100%);
}

.avaliacao-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.avaliacao-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.avaliacao-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.avaliacao-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.avaliacao-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-avaliacao {
    background: linear-gradient(135deg, var(--accent-warm), #e67e22);
    border: none;
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-avaliacao:hover {
    background: linear-gradient(135deg, #e67e22, var(--accent-warm));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(243, 156, 18, 0.4);
    color: white;
}

.btn-avaliacao:active {
    transform: translateY(-1px);
}

/* Responsividade da Seção de Avaliação */
@media (max-width: 768px) {
    .avaliacao-box {
        padding: 2rem !important;
    }

    .avaliacao-title {
        font-size: 1.4rem;
    }

    .avaliacao-text {
        font-size: 1rem;
    }

    .btn-avaliacao {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Contato */
.info-item .icon {
    font-size: 1.5rem;
}

.info-item strong {
    color: var(--primary-color);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-modern {
        background-image: url('https://www.psijoaovitorpavanelli.com/assets/images/Bannar03.webp');
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-text-content {
        padding: 30px;
    }

    .hero-image-container {
        padding: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-text-content {
        padding: 20px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-image {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Navbar customizado */
.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Ajustes no layout padrão */
.container {
    max-width: 1200px;
}

/* Footer customizado - Duas camadas */
.footer-custom {
    margin-top: 0;
}

.footer-top {
    background: var(--primary-color);
    color: white;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
}

.admin-icon {
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #002b2c;
    color: white;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsividade do footer */
@media (max-width: 768px) {
    .footer-top .row > div {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .footer-logo {
        max-width: 120px;
    }

    .social-icons {
        margin: 1rem 0;
    }
}
