/* ========================================
   RESET E VARIÁVEIS CSS
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-navy: #001f3f;
    --color-navy-dark: #000d1a;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-gray-dark: #333333;
    --color-gold: #d4af37;
    --color-gray-light: #6c757d;
    --color-success: #28a745;
    --color-border: #e0e0e0;
    
    --transition-smooth: all 0.3s ease;
    --font-serif: 'Georgia', 'Garamond', serif;
    --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large {
    background-color: #25d366;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 18px;
}

.btn-whatsapp-large:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo h1 {
    font-family: var(--font-serif);
    color: var(--color-gold);
    font-size: 28px;
    font-weight: 700;
}

.logo-subtitle {
    color: var(--color-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--color-gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--color-navy);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-navy);
    transition: var(--transition-smooth);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%), 
                url('images/logo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 120px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SEÇÃO SOBRE
   ======================================== */

.sobre {
    padding: 80px 20px;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image {
    text-align: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-gray-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.2);
}

.image-placeholder i {
    font-size: 80px;
    color: var(--color-gold);
}

.image-caption {
    color: var(--color-white);
    font-size: 14px;
}

.sobre-text h3 {
    color: var(--color-gold);
    font-size: 24px;
    margin: 30px 0 15px 0;
    font-family: var(--font-serif);
}

.sobre-text p {
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.diferenciais-list {
    list-style: none;
    margin: 20px 0;
}

.diferenciais-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.check-icon {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 18px;
}

.sobre-highlight {
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 20px;
    border-left: 4px solid var(--color-navy);
    font-style: italic;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   ÁREAS DE ATUAÇÃO
   ======================================== */

.atuacao {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--color-gray) 0%, var(--color-white) 100%);
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.atuacao-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    text-align: center;
    border-top: 4px solid var(--color-gold);
}

.atuacao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 31, 63, 0.15);
}

.card-icon {
    font-size: 50px;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.atuacao-card h3 {
    color: var(--color-navy);
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 15px;
}

.atuacao-card p {
    color: var(--color-gray-light);
    line-height: 1.7;
    font-size: 15px;
}

/* Card de Destaque - Reforma Tributária */
.atuacao-card-destaque {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-white);
    border-top: none;
    border-left: 6px solid var(--color-gold);
    padding: 50px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.atuacao-card-destaque::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.atuacao-card-destaque > * {
    position: relative;
    z-index: 1;
}

.destaque-badge {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.atuacao-card-destaque h3 {
    color: var(--color-gold);
    font-size: 28px;
    margin-bottom: 20px;
}

.atuacao-card-destaque p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.destaque-text {
    font-weight: 600;
    color: var(--color-gold) !important;
    font-size: 17px !important;
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.atuacao-card-destaque:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.3);
}

/* ========================================
   AGENDAMENTO
   ======================================== */

.agendamento {
    padding: 80px 20px;
    background-color: var(--color-navy-dark);
    color: var(--color-white);
}

.agendamento-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 50px;
}

.agendamento-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.agendamento-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: var(--transition-smooth);
    color: var(--color-navy);
    background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 5px rgba(0, 31, 63, 0.1);
}

.agendamento-info {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid var(--color-gold);
}

.agendamento-info h3 {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item i {
    color: var(--color-gold);
    font-size: 24px;
    min-width: 30px;
}

.info-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.info-item a:hover {
    color: var(--color-gold);
}

.info-item p {
    color: #000000;
    margin: 0;
}

/* ========================================
   MAPA
   ======================================== */

.mapa {
    padding: 80px 20px;
    background-color: var(--color-gray);
}

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
    display: block;
}

/* ========================================
   CONTATO
   ======================================== */

.contato {
    padding: 80px 20px;
    background-color: var(--color-navy);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contato-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background-color: var(--color-white);
    border: 3px solid var(--color-gold);
    transition: var(--transition-smooth);
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.15);
}

.contato-card i {
    font-size: 45px;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.contato-card h3 {
    color: var(--color-navy);
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 15px;
}

.contato-card a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.contato-card a:hover {
    color: var(--color-gold);
}

.contato-card p {
    color: var(--color-navy);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-white);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin: 10px 0;
    opacity: 0.9;
}

.footer-info {
    font-size: 13px;
    opacity: 0.7;
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials a {
    color: var(--color-gold);
    font-size: 24px;
    margin: 0 15px;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--color-white);
    transform: scale(1.2);
}

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
   ======================================== */

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    z-index: 999;
}

.whatsapp-button:hover {
    background-color: #1da851;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--color-gray-light);
    font-size: 28px;
    font-weight: bold;
    float: right;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close:hover {
    color: var(--color-navy);
}

.modal-content h2 {
    color: var(--color-navy);
    font-family: var(--font-serif);
    font-size: 28px;
    margin: 20px 0 15px 0;
}

.modal-content p {
    color: var(--color-gray-dark);
    margin-bottom: 30px;
    font-size: 16px;
}

/* ========================================
   RESPONSIVIDADE - TABLET
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-buttons {
        display: none;
    }

    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 250px;
        left: 0;
        right: 0;
        gap: 10px;
        padding: 20px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .image-placeholder i {
        font-size: 60px;
    }

    .atuacao-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .agendamento-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agendamento-form,
    .agendamento-info {
        padding: 30px;
    }

    .contato-grid {
        gap: 30px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .hero {
        padding: 80px 20px;
        min-height: 500px;
    }

    .sobre,
    .atuacao,
    .agendamento,
    .mapa,
    .contato {
        padding: 60px 20px;
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE
   ======================================== */

@media (max-width: 480px) {
    .nav-wrapper {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hero h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-whatsapp-large {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .sobre-text h3 {
        font-size: 20px;
        margin: 20px 0 12px 0;
    }

    .sobre-text p,
    .atuacao-card p {
        font-size: 14px;
    }

    .diferenciais-list li {
        font-size: 14px;
        padding: 8px 0;
    }

    .sobre-highlight {
        padding: 15px;
        font-size: 15px;
        margin-top: 20px;
    }

    .atuacao-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .atuacao-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .agendamento-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .agendamento-form,
    .agendamento-info {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px;
        font-size: 16px;
        margin-top: 15px;
    }

    .agendamento-info h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .info-item {
        margin-bottom: 20px;
        gap: 12px;
    }

    .info-item i {
        font-size: 20px;
    }

    .info-label {
        font-size: 14px;
    }

    .info-item a,
    .info-item p {
        font-size: 14px;
    }

    .mapa-container {
        border-radius: 8px;
    }

    .contato-card {
        padding: 25px 15px;
    }

    .contato-card i {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .contato-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .contato-card a,
    .contato-card p {
        font-size: 14px;
    }

    .footer p {
        font-size: 13px;
    }

    .footer-socials a {
        font-size: 20px;
        margin: 0 10px;
    }

    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-content {
        max-width: 90%;
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 22px;
        margin: 15px 0 12px 0;
    }

    .modal-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero {
        padding: 60px 15px;
        min-height: 450px;
    }

    .sobre,
    .atuacao,
    .agendamento,
    .mapa,
    .contato {
        padding: 40px 15px;
    }

    .hero-buttons,
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   ANIMAÇÕES E TRANSIÇÕES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease forwards;
}

section:nth-child(1) {
    animation-delay: 0.1s;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.3s;
}

/* ========================================
   ANIMAÇÕES PARA DIFERENCIAIS
   ======================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.diferenciais-list li {
    animation: slideInUp 0.6s ease-out forwards;
    animation-fill-mode: both;
}

.diferenciais-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.diferenciais-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.diferenciais-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.diferenciais-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.check-icon {
    animation: pulse-icon 2s ease-in-out infinite;
    display: inline-block;
}

.sobre-highlight {
    animation: fadeInScale 0.8s ease-out;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
