/* Resetando estilos padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variáveis globais */
:root {
    --primary-color: #0B1219;     /* Azul escuro/preto */
    --secondary-color: #4A4A4A;   /* Cinza escuro */
    --accent-color: #C4C4C4;      /* Cinza claro */
    --text-color: #FFFFFF;        /* Branco */
    --dark-bg: #0B1219;          /* Fundo escuro */
    --light-gray: #333333;       /* Cinza mais escuro para fundos */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    background: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo a {
    text-decoration: none;
    display: block;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-destaque {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-destaque:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: none;
}

.menu-mobile {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 6rem 0 0;
    overflow: hidden;
    background: #535353;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 2rem;
    min-height: calc(80vh - 6rem);
}

.hero-content {
    width: 40%;
    color: var(--white);
    position: relative;
    z-index: 3;
    padding-right: 2rem;
}

.hero-image {
    position: relative;
    width: 60%;
    height: calc(90vh - 6rem);
    z-index: 2;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 110%;
    height: 110%;
    background: url('https://angelicafalcaoadvogados.com.br/wp-content/uploads/2023/10/FT-03-e1698260348119-1387x1536.png') right center/contain no-repeat;
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .hero-content {
        width: 50%;
    }
    .hero-image {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        width: 100%;
        height: 60vh;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }
    
    .hero-image::after {
        background-position: center;
        mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Serviços */
.servicos {
    padding: 5rem 1rem;
    background: var(--dark-bg);
}

.servicos h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.servicos-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.servico-card:hover {
    transform: none;
    background: var(--secondary-color);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Depoimentos */
.depoimentos {
    padding: 8rem 1rem;
    background: var(--dark-bg);
    position: relative;
}

.depoimentos h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'Bodoni Moda', serif;
}

.depoimentos-carousel {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 0 2rem;
}

.depoimento-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 1rem;
}

.depoimento {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.depoimento-foto-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 500;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Bodoni Moda', serif;
}

.depoimento-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efeito de hover mais suave */
.depoimento:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Melhorar a legibilidade do texto */
.depoimento-content .texto {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    position: relative;
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Ajustar as aspas */
.depoimento-content .texto::before,
.depoimento-content .texto::after {
    content: '"';
    font-family: 'Bodoni Moda', serif;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    line-height: 1;
}

.depoimento-content .texto::before {
    top: -2rem;
    left: -1rem;
}

.depoimento-content .texto::after {
    content: '"';
    bottom: -3rem;
    right: -1rem;
}

.depoimento-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Bodoni Moda', serif;
}

.depoimento-content .caso {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 1200px) {
    .depoimento-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .depoimentos h2 {
        font-size: 2.5rem;
    }
    
    .depoimento {
        min-height: 350px;
        padding: 2rem;
    }
    
    .depoimento-content .texto {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .depoimento-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .depoimentos h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .depoimento {
        min-height: 320px;
        padding: 1.5rem;
    }
    
    .depoimento-content .texto {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .depoimento-foto,
    .depoimento-foto-placeholder {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .depoimento-container {
        grid-template-columns: 1fr;
    }
    
    .depoimento {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .depoimentos-carousel {
        padding: 0 1rem;
    }
    
    .depoimentos h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Seção de Contato */
.contato {
    padding: 8rem 1rem;
    background: var(--dark-bg);
    color: var(--white);
}

.contato h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.form-contato {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
    background: var(--dark-bg);
    color: var(--white);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border-radius: 4px;
}

.btn-submit:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mensagem de erro/sucesso */
.message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.success {
    border-left: 3px solid #4CAF50;
}

.message.error {
    border-left: 3px solid #f44336;
}

@media (max-width: 768px) {
    .form-contato {
        padding: 2rem 1.5rem;
    }
    
    .contato h2 {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--accent-color);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

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

.footer-info h3 {
    margin-bottom: 1rem;
}

.contato-info {
    margin-top: 1rem;
}

.contato-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contato-info i {
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
    object-fit: contain;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .btn-destaque {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-mobile {
        display: block;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }

    .menu-mobile i {
        font-size: 1.8rem;
        color: var(--white);
        transition: transform 0.3s ease;
    }

    .menu-mobile:hover i {
        color: var(--accent-color);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .servicos-container {
        grid-template-columns: 1fr;
    }

    .carousel-controls button {
        display: none;
    }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 1rem;
    }

    .logo-img {
        height: 35px;
    }
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsividade do botão WhatsApp */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

.depoimento-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 2px solid var(--accent-color);
}

.avaliacao {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.estrelas {
    display: flex;
    gap: 0.3rem;
    font-size: 1.4rem;
    line-height: 1;
}

.estrela-cheia {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.estrela-vazia {
    color: rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .estrelas {
        font-size: 1.2rem;
        gap: 0.2rem;
    }
}

/* Seção Sobre */
.sobre {
    background-color: #535353;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.sobre-texto p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
}

.sobre-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sobre-imagem img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Responsividade para a seção Sobre */
@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column;
        text-align: center;
    }

    .sobre-texto {
        order: 1;
    }

    .sobre-imagem {
        order: 2;
        margin-top: 40px;
    }

    .sobre-texto h2 {
        font-size: 2rem;
    }
}