/* ==================================================
   DESIGN SYSTEM & VARIABLES
   ================================================== */
:root {
    /* Color Palette */
    --color-primary: #003E9B;
    --color-primary-dark: #002561;
    --color-primary-light: #0A57C2;
    --color-accent: #0052FF;
    --color-accent-hover: #0041CC;
    --color-accent-light: #EBF1FF;
    --color-text-dark: #0F172A;
    --color-text-main: #334155;
    --color-text-muted: #64748B;
    --color-bg-light: #F4F7FC;
    --color-bg-white: #FFFFFF;
    --color-success: #10B981;
    --color-error: #EF4444;
    
    /* Layout Variables */
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Manrope', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* ==================================================
   BASE RESET & UTILITIES
   ================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
    transition: var(--transition-smooth);
}

/* Section Header Utility */
.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-tag.text-white {
    color: #94B8FF;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

.text-white {
    color: var(--color-bg-white) !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 16px auto;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================================================
   BUTTONS
   ================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25);
}

.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: #E2E8F0;
}

.btn-secondary-outline {
    border: 2px solid var(--color-bg-white);
    color: var(--color-bg-white);
    background-color: transparent;
}

.btn-secondary-outline:hover {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    color: var(--color-bg-white);
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 82, 255, 0.25);
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-primary));
}

.btn-light {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
}

.btn-light:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-text {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-text i {
    transition: transform 0.2s ease;
}

.btn-text:hover {
    color: var(--color-accent-hover);
}

.btn-text:hover i {
    transform: translateX(4px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ==================================================
   HEADER / NAVBAR STYLING
   ================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-primary);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header.scrolled {
    background-color: rgba(7, 30, 71, 0.9);
    backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    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;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-item {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 6px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-bg-white);
}

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

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

.nav-cta-mobile {
    display: none;
}

/* Mobile Menu Toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-bg-white);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

/* ==================================================
   HERO SECTION
   ================================================== --> */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 30, 71, 0.95) 40%, rgba(11, 46, 107, 0.65) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 760px;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 20px;
    background-color: rgba(0, 82, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-bg-white);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Metrics Grid Overlapping Hero */
.metrics-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-xl);
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.metric-card:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.metric-icon-box {
    width: 52px;
    height: 52px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.metric-icon-box i {
    width: 24px;
    height: 24px;
}

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

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    font-family: var(--font-titles);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==================================================
   DIFERENCIAIS SECTION
   ================================================== */
.diferenciais-section {
    padding: 120px 0;
    background-color: var(--color-bg-white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diferencial-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.diferencial-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.15);
}

.diferencial-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(0, 82, 255, 0.15);
    transition: var(--transition-smooth);
}

.diferencial-card:hover .diferencial-icon {
    transform: scale(1.1);
    background-color: var(--color-primary);
}

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

.diferencial-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.diferencial-text {
    font-size: 0.95rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

/* ==================================================
   SERVIÇOS SECTION
   ================================================== */
.servicos-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.servico-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.1);
}

.servico-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.servico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.servico-card:hover .servico-img {
    transform: scale(1.08);
}

.servico-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 46, 107, 0) 60%, rgba(11, 46, 107, 0.4) 100%);
}

.servico-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.servico-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.servico-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* ==================================================
   BANNER IMPOSTO DE RENDA
   ================================================== */
.ir-banner-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.ir-banner-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    box-shadow: var(--shadow-lg);
}

.ir-banner-content {
    padding: 60px;
    color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ir-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-bg-white);
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.ir-title {
    font-size: 2.5rem;
    color: var(--color-bg-white);
    margin-bottom: 20px;
    font-weight: 800;
}

.ir-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
}

.ir-banner-image-box {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.ir-banner-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================================================
   SEÇÃO LINKS ÚTEIS
   ================================================== */
.links-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

.tabs-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #FAFAFB;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn i {
    width: 20px;
    height: 20px;
}

.tab-btn:hover {
    color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.01);
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    background-color: var(--color-bg-white);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    border: 1px solid transparent;
}

.link-item i {
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
}

.link-item:hover {
    background-color: var(--color-accent-light);
    border-color: rgba(0, 82, 255, 0.15);
    color: var(--color-accent);
}

.link-item:hover i {
    transform: translateX(4px);
    color: var(--color-accent);
}

/* ==================================================
   FORMULÁRIO DE CONTATO & INFO PANEL
   ================================================== */
.contato-form-section {
    padding: 120px 0;
    background-color: var(--color-bg-white);
}

.contato-form-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

.contato-info-panel {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--border-radius-lg);
    padding: 50px;
    color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
}

.contato-info-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.contato-info-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contato-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: auto;
}

.c-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.c-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

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

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

.c-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 4px;
}

.c-info-val {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-bg-white);
}

.c-info-val:hover {
    color: var(--color-accent);
}

.social-links-circle {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-links-circle a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
}

.social-links-circle a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Formulário Card */
.contato-form-card {
    background-color: var(--color-bg-white);
    padding: 30px 10px;
}

.form-title {
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

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

.floating-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    background-color: var(--color-bg-white);
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

.form-control::placeholder {
    color: #94A3B8;
}

textarea.form-control {
    resize: none;
}

/* Validações */
.form-group.has-error .form-control {
    border-color: var(--color-error);
}

.error-message {
    font-size: 0.8rem;
    color: var(--color-error);
    display: none;
    margin-top: 6px;
    font-weight: 500;
}

.form-group.has-error .error-message {
    display: block;
}

/* ==================================================
   SEÇÃO MAPA & LOCALIZAÇÃO
   ================================================== */
.mapa-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mapa-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.mapa-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mapa-content .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.address-details {
    width: 100%;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--color-bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.address-item i {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.address-item strong {
    font-family: var(--font-titles);
    color: var(--color-text-dark);
    display: block;
    margin-bottom: 4px;
}

.address-item p {
    font-size: 0.95rem;
    color: var(--color-text-main);
}

/* Leaflet Container styling */
.mapa-wrapper {
    width: 100%;
}

.map-container {
    height: 420px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 10;
    border: 4px solid var(--color-bg-white);
}

/* ==================================================
   FOOTER STYLING
   ================================================== */
.main-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 24px;
    object-fit: contain;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links-flat {
    display: flex;
    gap: 12px;
}

.social-links-flat a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
}

.social-links-flat a:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--color-bg-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-bg-white);
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-contact-info i {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.15);
}

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

.copyright {
    font-size: 0.85rem;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.back-to-top:hover {
    color: var(--color-accent);
}

.back-to-top i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.back-to-top:hover i {
    transform: translateY(-4px);
}

/* ==================================================
   DYNAMIC SERVICES & CERTIFICADO MODALS
   ================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 30, 71, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-card {
    background-color: var(--color-bg-white);
    width: 100%;
    max-width: 650px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--color-bg-white);
    z-index: 10;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    color: var(--color-accent-light);
}

.modal-header-visual {
    position: relative;
    height: 180px;
}

.modal-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-visual.header-gradient-blue {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.modal-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 30, 71, 0.9) 20%, rgba(7, 30, 71, 0.3) 100%);
}

.modal-card .modal-title {
    position: absolute;
    bottom: 24px;
    left: 32px;
    right: 32px;
    color: var(--color-bg-white);
    font-size: 1.6rem;
    font-weight: 700;
}

.modal-content-body {
    padding: 32px 40px 40px 40px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}

.modal-detailed-text {
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.modal-benefits h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.modal-benefits ul, .certificate-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.modal-benefits li, .certificate-list li {
    font-size: 0.9rem;
    padding-left: 24px;
    position: relative;
}

.modal-benefits li::before, .certificate-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.certificate-list li {
    padding-left: 0;
}

.certificate-list li::before {
    display: none;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
}

/* ==================================================
   TOAST STYLING
   ================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--color-success);
    padding: 16px 24px;
    transform: translateY(120px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast-container.error {
    border-left-color: var(--color-error);
}

.toast-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toast-icon-box {
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-container.error .toast-icon-box {
    color: var(--color-error);
}

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

.toast-message h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-message p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==================================================
   REVEAL ON SCROLL ANIMATIONS
   ================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

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

/* ==================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ================================================== */

/* Tabletes e Notebooks Pequenos (Desktop & Tablet) */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .metric-card:nth-child(2) {
        border-right: none;
    }
    
    .metric-card:nth-child(odd) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mapa-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1.2fr repeat(2, 1fr);
    }
    
    .footer-column:last-child {
        grid-column: span 3;
    }
    
    .ir-banner-card {
        grid-template-columns: 1fr;
    }
    
    .ir-banner-image-box {
        min-height: 250px;
    }
}

/* Dispositivos Móveis e Tablets Verticais */
@media (max-width: 768px) {
    /* Mobile Navbar styling */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Hamburger Menu animations */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-primary-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 24px;
    }
    
    .nav-item {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        width: 100%;
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
    }
    
    /* Hero scaling */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .metric-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 16px;
    }
    
    .metric-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Differentiadores and Services grid */
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .ir-title {
        font-size: 2rem;
    }
    
    .ir-banner-content {
        padding: 40px 24px;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 16px 24px;
        text-align: left;
        justify-content: flex-start;
    }
    
    .tab-btn.active {
        border-left-color: var(--color-accent);
        border-bottom-color: transparent;
    }
    
    .tabs-content {
        padding: 24px 16px;
    }
    
    .contato-info-panel {
        padding: 30px 20px;
    }
    
    .contato-info-title {
        font-size: 1.75rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-column:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-card {
        border-radius: 0;
        height: 100vh;
        max-height: 100vh;
    }
    
    .modal-content-body {
        max-height: calc(100vh - 200px);
        padding: 24px 20px;
    }
    
    .modal-close {
        color: var(--color-text-dark);
        text-shadow: none;
        top: 15px;
        right: 15px;
    }
}

/* ==================================================
   FLOATING WHATSAPP BUTTON (Fixo na Esquerda Inferior)
   ================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1900; /* Fica abaixo apenas das modais */
    transition: var(--transition-smooth);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.whatsapp-float-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

