/* ============================================================
   FABIANA FURQUIM ADVOCACIA - main.css
   ============================================================ */

/* VARIÁVEIS */
:root {
    --primary:       #0a192f;
    --accent:        #c5a059;
    --accent-hover:  #b38f4d;
    --white:         #ffffff;
    --text-muted:    #4b5563;
    --gray-50:       #f9fafb;
    --gray-100:      #f3f4f6;
    --gray-200:      #e5e7eb;
    --font-sans:     'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-serif:    'Playfair Display', serif;
    --max-w:         1280px;
    --radius:        2px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--primary); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-serif); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* CONTAINER */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 0;
    transition: background .3s, padding .3s, box-shadow .3s;
}
.navbar.scrolled {
    background: var(--primary);
    padding: .75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar-container {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand { display: flex; align-items: center; gap: 1rem; }
.navbar-logo { height: 64px; width: auto; object-fit: contain; }
.navbar-brand-text { display: flex; flex-direction: column; }
.navbar-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: .1em; }
.navbar-sub  { font-size: .625rem; letter-spacing: .2em; color: var(--accent); font-weight: 300; }
.navbar-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.nav-link:hover { color: var(--accent); }
.nav-btn {
    display: flex; align-items: center; gap: .5rem;
    background: var(--accent); color: var(--primary);
    padding: .5rem 1.25rem; font-size: .8rem; font-weight: 700;
    letter-spacing: .05em; transition: background .2s;
}
.nav-btn:hover { background: var(--accent-hover); }
.navbar-toggle {
    display: none; flex-direction: column; gap: 5px; padding: .5rem;
}
.navbar-toggle span {
    display: block; width: 24px; height: 2px; background: #fff; transition: .3s;
}
.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(10,25,47,.8); }
.hero-content {
    position: relative; z-index: 1;
    max-width: var(--max-w); margin: 0 auto; padding: 6rem 1.5rem 3rem;
    max-width: 860px; padding-top: 7rem;
}
.hero-tag {
    display: inline-block; color: var(--accent); font-size: .85rem;
    font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-highlight { color: var(--accent); font-style: italic; display: block; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 2.5rem; font-weight: 300; line-height: 1.6; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* BOTÕES */
.btn {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: 1rem 2rem; font-family: var(--font-sans);
    font-weight: 700; font-size: .95rem; transition: all .2s;
    border-radius: var(--radius);
}
.btn-gold { background: var(--accent); color: var(--primary); }
.btn-gold:hover { background: var(--accent-hover); transform: scale(1.03); }
.btn-outline { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0d2240; }
.btn-primary-full { width: 100%; justify-content: center; background: var(--primary); color: #fff; padding: 1rem; }
.btn-primary-full:hover { background: #0d2240; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #20ba5a; }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-tag { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.section-title.white { color: #fff; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }
.section-desc.white { color: rgba(255,255,255,.7); }
.section-header { margin-bottom: 4rem; }
.section-header.text-center { text-align: center; }
.section-header.text-center .section-desc { max-width: 640px; margin: 0 auto; }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre { padding: 6rem 0; background: #fff; }
.sobre-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.sobre-foto-wrap { position: relative; }
.sobre-foto-inner {
    aspect-ratio: 4/5; background: rgba(10,25,47,.05);
    overflow: hidden; max-width: 380px; position: relative; z-index: 1;
}
.sobre-foto { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .7s ease; }
.sobre-foto-inner:hover .sobre-foto { filter: grayscale(0%); }
.sobre-foto-deco { display: none; }
.sobre-paragrafos { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.sobre-paragrafos p { color: var(--text-muted); line-height: 1.8; font-size: 1.05rem; }
.sobre-citacao {
    border-left: 4px solid var(--accent); padding: .75rem 0 .75rem 1.5rem;
    font-style: italic; color: var(--primary); font-size: 1rem; line-height: 1.6;
}

/* ============================================================
   ÁREAS
   ============================================================ */
.areas { padding: 6rem 0; background: var(--primary); }
.areas-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-bottom: 4rem;
}
.area-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    padding: 2rem; transition: background .3s;
}
.area-card:hover { background: rgba(255,255,255,.1); }
.area-icon {
    width: 3.5rem; height: 3.5rem; background: rgba(197,160,89,.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: var(--accent);
    transition: background .3s, color .3s;
}
.area-card:hover .area-icon { background: var(--accent); color: var(--primary); }
.area-title { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; transition: color .3s; }
.area-card:hover .area-title { color: var(--accent); }
.area-desc { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.7; }
.areas-cta {
    border: 1px solid rgba(197,160,89,.3); padding: 2.5rem;
    text-align: center; background: rgba(197,160,89,.05);
}
.areas-cta-quote { font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 1.25rem; margin-bottom: 1.5rem; }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.como { padding: 6rem 0; background: #fff; }
.como-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 3rem; position: relative;
}
.como-grid::before {
    content: ''; position: absolute; top: 2.5rem; left: 0; right: 0;
    height: 1px; background: var(--gray-100);
}
.como-card { text-align: center; position: relative; z-index: 1; }
.como-icon-wrap { position: relative; display: inline-block; margin-bottom: 2rem; }
.como-icon {
    width: 5rem; height: 5rem; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--accent);
    transition: transform .3s;
}
.como-card:hover .como-icon { transform: scale(1.1); }
.como-num {
    position: absolute; top: -.5rem; right: -.5rem;
    width: 2rem; height: 2rem; background: var(--accent); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .875rem; border: 4px solid #fff;
}
.como-title { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.como-desc { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 6rem 0; background: var(--gray-50); }
.faq-box {
    max-width: 860px; margin: 0 auto;
    background: #fff; padding: 2rem 3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 0; text-align: left;
    font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--primary);
    transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; color: var(--accent); transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); line-height: 1.8; font-size: 1.05rem; }
.faq-footer { text-align: center; margin-top: 3rem; color: var(--text-muted); }
.faq-footer a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.faq-footer a:hover { color: var(--accent); }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding: 6rem 0; background: #fff; }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contato-intro { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 3rem; }
.contato-itens { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
.contato-item { display: flex; align-items: flex-start; gap: 1.5rem; }
.contato-icon {
    width: 3rem; height: 3rem; background: rgba(10,25,47,.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); flex-shrink: 0;
}
.contato-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.contato-item p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }
.contato-form-wrap {
    background: var(--gray-50); padding: 2.5rem;
    border: 1px solid var(--gray-200);
}
.contato-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.form-group input,
.form-group textarea {
    width: 100%; padding: .75rem 1rem; background: #fff;
    border: 1px solid var(--gray-200); font-family: var(--font-sans); font-size: .95rem;
    color: var(--primary); transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.form-group textarea { resize: none; }
.required { color: #ef4444; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary); color: #fff; padding: 4rem 0; }
.footer-container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-name { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .1em; }
.footer-sub  { display: block; font-size: .625rem; letter-spacing: .2em; color: var(--accent); font-weight: 300; margin-bottom: 1.25rem; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; }
.footer-heading { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-oab { color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: 1rem; line-height: 1.6; }
.footer-legal-text { color: rgba(255,255,255,.4); font-size: .75rem; line-height: 1.7; }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(255,255,255,.4); font-size: .75rem;
}

/* WhatsApp Flutuante */
.whatsapp-btn {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 999;
    background: #25D366; color: #fff; width: 4rem; height: 4rem;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.2); transition: transform .2s, background .2s;
}
.whatsapp-btn:hover { transform: scale(1.1); background: #20ba5a; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .como-grid { grid-template-columns: repeat(2, 1fr); }
    .como-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-legal { grid-column: span 2; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); }
    .navbar-menu.open { display: flex; }
    .nav-link { width: 100%; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.05); }
    .nav-btn { margin: 1rem 1.5rem; width: calc(100% - 3rem); justify-content: center; }
    .navbar-toggle { display: flex; }
    .navbar { position: relative; }

    .hero-btns { flex-direction: column; }
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-foto-deco { display: none; }
    .sobre-foto-inner { max-width: 100%; }
    .areas-grid { grid-template-columns: 1fr; }
    .como-grid { grid-template-columns: 1fr; }
    .contato-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
    .faq-box { padding: 1.5rem; }
}
