/* PROJETO: Advocacia Criminal Estratégica - Vitor Rachid
   DEV: Dioné Folador
   ESTILO: Midnight Gold Premium
*/

/* PALETA DE CORES */
:root {
    --dark-bg: #0F1112;      /* Grafite quase preto */
    --light-bg: #1A1D1F;     /* Cinza Profundo para Cards */
    --gold: #D4AF37;         /* Ouro Nobre */
    --gold-hover: #B8860B;   /* Ouro Escuro */
    --text-main: #F4F4F4;    /* Branco Off */
    --text-dim: #9A9A9A;     /* Cinza para textos secundários */
    --white: #FFFFFF;
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.gold { color: var(--gold); }
.center { text-align: center; }
.section { padding: 100px 0; }

/* HEADER & NAVEGAÇÃO */
header {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 17, 18, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: 0.4s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 35px; }

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover { color: var(--gold); }

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 17, 18, 0.8), rgba(15, 17, 18, 0.8)), 
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 35px;
}

/* BOTÕES */
.btn-gold {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.4s;
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* GRID E LAYOUT */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* PERFIL E IMAGEM */
.profile-img img {
    width: 100%;
    border-radius: 4px;
    border-left: 6px solid var(--gold);
    box-shadow: 25px 25px 0px -5px var(--light-bg);
    transition: 0.5s;
}

.profile-img img:hover {
    transform: scale(1.02);
}

.subtitle {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

/* CARDS DE ATUAÇÃO E DIFERENCIAIS */
.dark-bg { background-color: #141618; }

.card, .card-clean {
    background: var(--light-bg);
    padding: 50px 40px;
    transition: 0.4s;
    border-radius: 4px;
}

.card {
    border-bottom: 4px solid transparent;
}

.card:hover {
    border-bottom: 4px solid var(--gold);
    transform: translateY(-10px);
    background: #23272a;
}

.card-clean {
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(26, 29, 31, 0.3);
}

.card-clean:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
}

.card h3, .card-clean h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--gold);
}

.card p, .card-clean p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ESTILOS DO FAQ (ACORDEÃO) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}

.faq-question:hover { color: var(--gold); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(26, 29, 31, 0.5);
}

.faq-answer p {
    padding: 0 20px 25px 20px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Suficiente para o texto das respostas */
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    color: var(--gold);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 50px; }
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; } 
    .section { padding: 60px 0; }
}