/* Custom Properties / Variables */
:root {
    --bg-primary: #F8F9FA;
    --bg-secondary: #FFFFFF;
    --color-text: #334155;
    --color-heading: #0B192C;
    --color-primary: #0B192C; /* Azul Marinho Profundo */
    --color-primary-light: #1A365D;
    --color-gold-light: #FCF6BA;
    --color-gold: #BF953F;
    --color-gold-dark: #B38728;
    --color-green: #0F8C3B;
    --color-green-hover: #0A6D2C;
    
    --gradient-gold: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold-dark));
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

.section {
    padding: 5rem 0;
}

.bg-alternate {
    background-color: var(--bg-secondary);
}

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

.section-title {
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-green);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(15, 140, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(15, 140, 59, 0.4), 0 0 15px rgba(191, 149, 63, 0.4);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(191, 149, 63, 0.2);
}

/* FAB WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-whatsapp.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 15px rgba(191, 149, 63, 0.4);
}

/* Header */
.header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem 0;
}

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

.header .logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.header .btn-outline:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 3rem;
    position: relative;
    overflow: hidden;
    background-image: url('hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 25, 44, 0.95) 0%, rgba(11, 25, 44, 0.5) 45%, rgba(11, 25, 44, 0) 80%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
}

/* Connection Section */
.connection-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.connection-text h2 {
    color: var(--color-primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.connection-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.lead-text {
    font-size: 1.15rem;
    color: #475569;
    margin-top: 1.5rem;
    line-height: 1.8;
}

.pain-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-points li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.05rem;
    background-color: var(--bg-secondary);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px -5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-gold);
    transition: var(--transition);
}

.pain-points li:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(191, 149, 63, 0.15);
    border-left-color: var(--color-gold-dark);
}

.icon-wrapper {
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(191, 149, 63, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.transition-container {
    text-align: center;
    margin-top: 5rem;
}

.transition-text {
    display: inline-block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    padding: 1.5rem 0;
}

.transition-text::before, .transition-text::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.transition-text::before {
    top: 0;
}

.transition-text::after {
    bottom: 0;
}

/* Solutions / Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.card {
    background-color: var(--bg-primary);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

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

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    color: var(--color-gold);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--color-gold-dark);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card h3 {
    margin-bottom: 1.25rem;
}

.card p {
    color: #475569;
    flex-grow: 1;
    margin: 0;
}

/* FAQ / Accordion */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.accordion-item {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(191, 149, 63, 0.4);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--color-gold-dark);
}

.accordion-header .chevron {
    transition: transform 0.3s ease;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 2rem;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 400px; /* Suficiente para acomodar o conteúdo */
    padding-bottom: 1.5rem;
    opacity: 1;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in 0.1s;
}

.accordion-body p {
    margin: 0;
    color: #475569;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: #e2e8f0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo img {
    height: 70px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.legal-warning {
    font-size: 0.875rem;
    opacity: 0.7;
    font-style: italic;
    margin: 1.5rem 0;
    max-width: 600px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.footer-links a {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--color-gold-light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 0;
        min-height: 100vh;
        background-color: var(--color-primary);
        background-image: url('bia_0052.jpg');
        background-position: center top;
        background-size: 100% auto;
        background-repeat: no-repeat;
        align-items: flex-end;
    }

    .hero::before {
        background: linear-gradient(to bottom, rgba(11, 25, 44, 0) 0%, rgba(11, 25, 44, 0) 40%, rgba(11, 25, 44, 0.95) 55%, rgba(11, 25, 44, 1) 100%);
    }

    .hero-content {
        height: 60vh;
        flex-direction: column;
        justify-content: flex-end;
        text-align: center;
        padding-bottom: 3rem;
    }
    
    .hero-text h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .connection-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo img {
        height: 45px;
    }

    .section {
        padding: 4rem 0;
    }
    
    .btn {
        width: 100%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .pain-points li {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .accordion-header {
        padding: 1.25rem;
        font-size: 1.05rem;
    }
    
    .accordion-body {
        padding: 0 1.25rem;
    }
    
    .accordion-item.active .accordion-body {
        padding-bottom: 1.25rem;
    }
}
