/* ==========================================================================
   IMPAR PERÍCIAS JUDICIAIS - CSS PRINCIPAL
   Design Premium & Responsivo | Paleta: Navy, Teal, Gold e Creme
   ========================================================================== */

/* 1. VARIÁVEIS DO SISTEMA DE DESIGN */
:root {
    /* Cores de Marca */
    --color-navy: #031c32;
    --color-navy-light: #062a4a;
    --color-navy-dark: #02111f;
    --color-teal: #237566;
    --color-teal-light: #2d9482;
    --color-gold: #af7c35;
    --color-gold-light: #cfa15f;
    --color-gold-dark: #8e6125;
    --color-steel: #01638d;
    
    /* Neutros e Fundos */
    --color-creme: #faf5eb;
    --color-creme-dark: #f0e6d2;
    --color-white: #ffffff;
    --color-slate-dark: #1e293b;
    --color-slate: #334155;
    --color-slate-light: #64748b;
    --color-gray-light: #f1f5f9;
    
    /* Fontes */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Efeitos */
    --shadow-sm: 0 2px 4px rgba(3, 28, 50, 0.04);
    --shadow-md: 0 4px 12px rgba(3, 28, 50, 0.08);
    --shadow-lg: 0 10px 25px rgba(3, 28, 50, 0.12);
    --shadow-premium: 0 20px 40px rgba(3, 28, 50, 0.15);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Layout */
    --header-height: 90px;
    --header-height-scrolled: 75px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section.section {
    padding: 7rem 0;
    position: relative;
}

/* Classes de Fundo */
.section-cream {
    background-color: var(--color-creme);
}

.section-white {
    background-color: var(--color-white);
}

.section-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* Alinhamento de Texto e Cores utilitárias */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }
.text-slate { color: var(--color-slate); }
.text-gray { color: var(--color-slate-light); }
.text-gold { color: var(--color-gold); }

/* Dividers e Tags */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-tag.tag-gold {
    color: var(--color-gold-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.title-divider {
    width: 60px;
    height: 3px;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.title-divider.divider-gold { background-color: var(--color-gold); }
.title-divider.divider-teal { background-color: var(--color-teal); }

.section-description {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 3rem;
}

/* 3. BOTÕES PREMIUM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(175, 124, 53, 0.3);
}

.btn-teal {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-teal:hover {
    background-color: var(--color-teal-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 117, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 4. CABEÇALHO E NAVBAR DINÂMICA */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(250, 245, 235, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(3, 28, 50, 0.06);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
    height: 40px;
}

/* Menu de Navegação */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-gold-light);
}

/* Modificadores no Scroll */
.header.scrolled .nav-link {
    color: var(--color-slate);
}

.header.scrolled .nav-link:hover {
    color: var(--color-navy);
}

.header.scrolled .nav-link.active {
    color: var(--color-teal);
}

.header.scrolled .nav-link.active::after {
    background-color: var(--color-teal);
}

/* Burger de menu móvel */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.menu-toggle-btn .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.header.scrolled .menu-toggle-btn .bar {
    background-color: var(--color-navy);
}

/* 5. HERO SECTION */
.hero-section {
    min-height: 95vh;
    padding: calc(var(--header-height) + 3rem) 0 6rem;
    background-image: linear-gradient(90deg, rgba(3, 28, 50, 0.95) 0%, rgba(3, 28, 50, 0.85) 50%, rgba(3, 28, 50, 0.5) 100%), url('../img/imagem_1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-badge i {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--color-creme-dark);
    margin-bottom: 2.5rem;
    max-width: 580px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.hero-visual-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(3, 28, 50, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* 6. PILARES */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(3, 28, 50, 0.04);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pilar-card {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pilar-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.pilar-icon i {
    width: 28px;
    height: 28px;
}

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

.icon-gold {
    background-color: rgba(175, 124, 53, 0.08);
    color: var(--color-gold);
}

.icon-teal {
    background-color: rgba(35, 117, 102, 0.08);
    color: var(--color-teal);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-slate-light);
}

/* 7. SOBRE NÓS */
.sobre-container {
    padding: 2rem 0;
}

.sobre-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.sobre-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-creme);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    border: 1px solid rgba(175, 124, 53, 0.1);
}

.sobre-isologo {
    width: 140px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

.sobre-badge-roman {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sobre-stats-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 220px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-creme-dark);
}

.sobre-text {
    display: flex;
    flex-direction: column;
}

.sobre-paragraph {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 8. ESPECIALIDADES (TABS INTERATIVAS) */
.tabs-container {
    margin-top: 2rem;
}

/* Barra de Navegação das Abas */
.tabs-nav-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

/* Ocultar barra de rolagem */
.tabs-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    min-width: max-content;
    margin: 0 auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-creme-dark);
    color: var(--color-slate);
    padding: 0.9rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn i {
    width: 16px;
    height: 16px;
    color: var(--color-slate-light);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background-color: var(--color-creme);
    color: var(--color-navy);
}

.tab-btn.active {
    background-color: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(35, 117, 102, 0.2);
}

.tab-btn.active i {
    color: var(--color-white);
}

/* Painéis de Conteúdo das Abas */
.tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-panel.active {
    display: block;
}

.panel-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background-color: var(--color-white);
    padding: 3.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(3, 28, 50, 0.03);
}

.panel-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--color-gray-light);
    padding-right: 3rem;
}

.panel-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.panel-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-slate);
}

.panel-btn {
    align-self: flex-start;
}

.panel-items {
    display: flex;
    align-items: center;
}

.specialty-tag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

.tag-item {
    background-color: var(--color-creme);
    padding: 1.1rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(175, 124, 53, 0.05);
    transition: var(--transition-smooth);
}

.tag-item i {
    width: 18px;
    height: 18px;
    color: var(--color-teal);
}

.tag-item:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(35, 117, 102, 0.2);
}


/* Customização de cor para Ciências Econômicas e Gestão (#2E8B57) */
.tab-btn[data-tab="econ"].active {
    background-color: #2E8B57;
    border-color: #2E8B57;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.2);
}

#tab-econ .panel-btn {
    background-color: #2E8B57;
}

#tab-econ .panel-btn:hover {
    background-color: #256f46;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

#tab-econ .tag-item i {
    color: #2E8B57;
}

#tab-econ .tag-item:hover {
    border-color: rgba(46, 139, 87, 0.2);
}

/* 9. DIFERENCIAIS (TRIBUNAIS E MAGISTRADOS) */
.diff-grid {
    margin-top: 2rem;
}

.diff-card {
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.diff-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(175, 124, 53, 0.08);
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.diff-card:hover .diff-number {
    color: rgba(175, 124, 53, 0.15);
    transform: scale(1.1);
}

/* 10. PARCEIROS (GLASSMORPHISM SECTION) */
.parceiros-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Detalhes de luz de fundo */
.parceiros-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(175, 124, 53, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    pointer-events: none;
}

.parceiros-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.parceiros-badge {
    display: inline-block;
    background-color: rgba(175, 124, 53, 0.15);
    border: 1px solid rgba(175, 124, 53, 0.2);
    color: var(--color-gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.parceiros-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.parceiros-text {
    font-size: 1.15rem;
    color: var(--color-creme);
    margin-bottom: 1rem;
    font-weight: 300;
}

.parceiros-subtext {
    font-size: 0.95rem;
    color: var(--color-creme-dark);
    margin-bottom: 2.5rem;
}

.parceiros-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-gold-light);
    font-weight: 600;
}

.badge-tag i {
    width: 16px;
    height: 16px;
}

/* 11. CONTATO E FORMULÁRIO (DARK SECTIONS) */
.contato-section {
    background-color: var(--color-navy-dark);
}

.contato-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.contato-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.info-list {
    display: inline-flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-item:hover .info-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-creme);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a.info-value:hover {
    color: var(--color-gold-light);
}

/* Formulário Card */
.contato-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-creme-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group select option {
    background-color: var(--color-navy);
    color: var(--color-white);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold-light);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(175, 124, 53, 0.15);
}

.form-submit-btn {
    margin-top: 1rem;
}

/* 12. MODAL DE SUCESSO PREMIUM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 28, 50, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-premium);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(175, 124, 53, 0.1);
}

.modal-overlay.show .modal-card {
    transform: translateY(0);
}

.modal-icon-success {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(35, 117, 102, 0.08);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.modal-icon-success i {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--color-slate);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.modal-subtext {
    font-size: 0.85rem;
    color: var(--color-slate-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.modal-btn {
    width: 100%;
}

/* 13. RODAPÉ */
.footer {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-gold-light);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
}

.footer-badge-roman-symbol {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(175, 124, 53, 0.1);
    user-select: none;
    line-height: 1;
}

/* 14. RESPONSIVIDADE E ADAPTAÇÕES */

/* Desktop Médio (Telas até 1024px) */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .panel-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
    
    .panel-info {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-light);
        padding-right: 0;
        padding-bottom: 2.5rem;
    }
    
    .sobre-content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .sobre-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Tablet (Telas até 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    section.section {
        padding: 5rem 0;
    }
    
    /* Hero e visual */
    .hero-section {
        background-image: linear-gradient(180deg, rgba(2, 17, 31, 0.9) 0%, rgba(3, 28, 50, 0.85) 100%), url('../img/imagem_1.webp');
    }
    
    .hero-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
    }
    
    .lottie-container {
        max-width: 320px;
    }
    
    /* Navigation burger */
    .menu-toggle-btn {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-navy);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--transition-smooth);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .header.scrolled .nav {
        background-color: var(--color-creme);
        border-top: 1px solid rgba(3, 28, 50, 0.05);
    }
    
    .nav-open .nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Burger transformation */
    .nav-open .menu-toggle-btn .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-open .menu-toggle-btn .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-open .menu-toggle-btn .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Diferenciais */
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .parceiros-glass-card {
        padding: 3rem 2rem;
    }
    
    .contato-form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile (Telas até 480px) */
@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .specialty-tag-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-links-list {
        grid-template-columns: 1fr;
    }
}
