/* RESET & BASE */
:root {
    --color-primary: #102A43;
    /* Azul Petróleo */
    --color-secondary: #2D3436;
    /* Cinza Grafite */
    --color-accent: #009688;
    /* Verde Segurança */
    --color-accent-hover: #007A6E;
    /* Verde Segurança Escuro */
    --color-bg: #F8F9FA;
    /* Branco Técnico */
    --color-white: #FFFFFF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 4px 6px rgba(16, 42, 67, 0.05);
    --shadow-md: 0 10px 20px rgba(16, 42, 67, 0.1);
    --shadow-lg: 0 20px 40px rgba(16, 42, 67, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

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

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

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

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

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

/* TYPOGRAPHY */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--color-secondary);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    /* Aumentado de 80px */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 100px;
    /* Aumentado de 70px */
}

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

.logo-img {
    height: 100px;
    /* Ajustado para caber no header */
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
}

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

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

.nav-list a.active {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.85) 0%, rgba(16, 42, 67, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 120px;
    /* Offset header aumentado */
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

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

/* RISCO CORPORATIVO */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.risk-card {
    background: var(--color-white);
    padding: 40px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 150, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-accent);
}

.risk-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.risk-card p {
    font-size: 0.9375rem;
    color: var(--color-secondary);
}

/* SOLUÇÕES ESTRATÉGICAS */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.solution-card {
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.solution-content {
    padding: 40px 32px;
}

.solution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

/* LAYOUT SPLIT (General) */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.layout-split.reverse {
    grid-template-columns: 1fr 1fr;
}

/* DIFERENCIAIS */
.image-premium {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.benefits-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-accent {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-list strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 4px;
}

.benefits-list span {
    color: var(--color-secondary);
    font-size: 0.9375rem;
}

/* PARA QUEM É */
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.target-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-large {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.target-card h3 {
    color: var(--color-white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.target-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}


/* CONTATO */
.contact-text {
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.contact-item i {
    color: var(--color-accent);
}

.form {
    background: var(--color-bg);
    padding: 48px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(0, 150, 136, 0.1);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* FOOTER */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    height: 80px;
    /* Ajustado para caber no footer */
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.copyright {
    margin-top: 24px;
    font-size: 0.875rem;
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.social-icons a:hover {
    background: var(--color-accent);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .layout-split,
    .layout-split.reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .header .btn-accent,
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section {
        padding: 64px 0;
    }

    .form {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}