/* ==========================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a961;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #0a0a1e 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0 300L50 280C100 260 200 220 300 200C400 180 500 180 600 200C700 220 800 260 900 280C1000 300 1100 300 1150 300L1200 300V600H0Z" fill="%23ffffff" opacity="0.03"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 150px 120px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 220px 200px, rgba(255, 255, 255, 0.2), transparent);
    background-size: 300px 300px, 400px 400px, 350px 350px, 450px 450px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    to {
        background-position: 300px 300px, 340px 360px, 430px 570px, 370px 400px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50px;
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease-out;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out 0.2s backwards;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 48px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #c9a961;
    color: #c9a961;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c9a961;
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ==========================================
   ANIMAÇÕES
   ========================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   SEÇÕES GERAIS
   ========================================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(201, 169, 97, 0.1);
    color: #c9a961;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    position: relative;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.15rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   SOBRE O ESCRITÓRIO
   ========================================== */

.sobre {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    position: relative;
}

.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #c9a961;
}

.sobre-content p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.sobre-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ÁREAS DE ATUAÇÃO
   ========================================== */

.areas {
    background: #fff;
    position: relative;
}

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

.area-card {
    background: #fff;
    padding: 50px 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a1a2e, #c9a961);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(201, 169, 97, 0.2);
}

.area-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1);
}

.area-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}

.area-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* ==========================================
   CONTATO
   ========================================== */

.contato {
    background: linear-gradient(135deg, #0a0a1e 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
}

.contato .container {
    position: relative;
    z-index: 1;
}

.contato .section-tag {
    background: rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.contato .section-title {
    color: #fff;
}

.contato .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 50px;
}

.contato-info,
.contato-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 45px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-info h3,
.contato-form h3 {
    font-size: 2rem;
    margin-bottom: 35px;
    color: #fff;
    letter-spacing: 0.5px;
}

.info-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid #c9a961;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.info-item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #d4af37;
    font-weight: 600;
}

.info-item p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ==========================================
   FORMULÁRIO
   ========================================== */

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #d4af37;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.contato-form button {
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    border: none;
}

/* ==========================================
   RODAPÉ
   ========================================== */

.footer {
    background-color: #0a0a1e;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3px;
}

/* ==========================================
   BOTÃO WHATSAPP FIXO
   ========================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7);
    }
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 650px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1.05rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .sobre-content {
        padding: 40px 30px;
    }
    
    .sobre-content p {
        font-size: 1.05rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contato-info,
    .contato-form {
        padding: 35px 25px;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .navbar.scrolled {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 16px 40px;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 5px 16px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .sobre-content {
        padding: 30px 25px;
    }
    
    .sobre-content p {
        font-size: 1rem;
    }
    
    .area-card {
        padding: 40px 25px;
    }
    
    .area-icon {
        font-size: 3rem;
    }
    
    .area-card h3 {
        font-size: 1.4rem;
    }
    
    .contato-info,
    .contato-form {
        padding: 30px 20px;
    }
    
    .contato-info h3,
    .contato-form h3 {
        font-size: 1.6rem;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}
