/* ============================================================================
   BITTENCOURT ADVOCACIA - ESTILOS GLOBAIS
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #0A0A0A;
    background-color: #F5F5F5;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================================================
   NAVBAR
   ============================================================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 0.4rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 0.3rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

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

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    padding: 1rem 0;
    list-style: none;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    padding: 0.75rem 1rem;
}

.nav-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #C9A961;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        gap: 2rem;
    }

    .nav-menu li {
        padding: 0;
        display: flex;
        align-items: center;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.cta-button {
    background-color: #C9A961;
    color: #0A0A0A;
    padding: 0.65rem 1.4rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid #C9A961;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
}

.cta-button:hover {
    background-color: transparent;
    color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    margin-top: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.60) 0%, rgba(26, 26, 26, 0.55) 100%), url('../../img/hero-banner-advocacia.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(201, 169, 97, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    color: #C9A961;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.btn-primary {
    background-color: #C9A961;
    color: #0A0A0A;
    padding: 0.75rem 1.75rem;
    border-radius: 3rem; /* Pílula para visual mais moderno */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid #C9A961;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: #C9A961;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 0.75rem 1.75rem;
    border-radius: 3rem; /* Pílula */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid #FFFFFF;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
    .hero {
        margin-top: 0;
        padding-top: 8rem;
        padding-bottom: 3rem;
        min-height: 85svh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

section {
    padding: 4rem 0;
}

@media (max-width: 640px) {
    section {
        padding: 2rem 0;
    }
}

h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0A0A0A;
}

@media (max-width: 640px) {
    h2 {
        font-size: 1.75rem;
    }
}

h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tagline {
    color: #C9A961;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A0A0A;
}

.header-divider {
    width: 60px;
    height: 3px;
    background-color: #C9A961;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}.about {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

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

@media (max-width: 768px) {
    .about-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.about-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 2px solid rgba(201, 169, 97, 0.2);
    padding-left: 1.5rem;
    transition: border-color 0.3s ease;
}

.about-column:hover {
    border-color: rgba(201, 169, 97, 0.6);
}

.about-text-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin: 0;
}

.about-text-paragraph.highlight {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #0A0A0A;
    font-weight: 500;
}

.about-text-paragraph.text-highlight {
    color: #C9A961;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Signature */
.about-signature {
    margin-top: 1rem;
    position: relative;
    padding-top: 1rem;
}

.signature-line {
    width: 60px;
    height: 2px;
    background-color: #C9A961;
    margin-bottom: 0.75rem;
    border-radius: 1px;
}

.signature-name {
    font-family: 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0;
}

.signature-title {
    font-size: 0.8rem;
    color: #C9A961;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0.1rem 0 0 0;
}

/* ============================================================================
   MISSION SECTION
   ============================================================================ */

.mission {
    background: linear-gradient(135deg, #F5F5F5 0%, #EEEEEE 100%);
}

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

.mission-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.mission-card:hover {
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.12);
    transform: translateY(-8px);
    border-color: rgba(201, 169, 97, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: #C9A961;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.mission-card:hover .card-icon,
.service-card:hover .card-icon {
    transform: scale(1.1);
}

.mission-card h3 {
    color: #0A0A0A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-card p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================================================
   SERVICES SECTION
   ============================================================================ */

.services {
    background-color: #FFFFFF;
}

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

.service-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 1rem;
    border-top: 4px solid #C9A961;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.service-card h3 {
    color: #0A0A0A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================================================
   LOCATION SECTION
   ============================================================================ */

.location {
    background-color: #F5F5F5;
}

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

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
    }
}

.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    gap: 1rem;
}

.location-item strong {
    color: #C9A961;
    min-width: 100px;
}

.location-item p {
    color: #666666;
    margin: 0;
}

/* ============================================================================
   CONTACT FORM
   ============================================================================ */

.contact {
    background-color: #FFFFFF;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0A0A0A;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    background-color: #FAFAFA;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C9A961;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}

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

.form-submit {
    width: 100%;
    background-color: #C9A961;
    color: #0A0A0A;
    padding: 1rem;
    border: none;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.form-submit:hover {
    background-color: #0A0A0A;
    color: #C9A961;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 10, 10, 0.2);
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    color: #FFFFFF;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #C9A961;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

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

.mt-4 {
    margin-top: 2rem;
}

.values-list {
    list-style: none;
    margin-top: 0;
    padding: 0;
}

.values-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
    font-weight: 400; /* Match paragraph weight */
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
}

.values-list li::before {
    content: "•";
    color: #C9A961;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.15rem;
}

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: whatsappEntrance 0.5s ease 1s both;
}

@keyframes whatsappEntrance {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.4;
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%   { transform: scale(1); opacity: 0.4; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-float i {
    font-size: 2rem;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #0A0A0A;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 0.4rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #0A0A0A;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float i {
        font-size: 1.75rem;
    }
}
