@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #003366; /* Azul Marinho Institucional - Base da Logo */
    --primary-light: #0056b3; /* Azul Royal Vibrante */
    --accent-color: #e6f0fa; /* Azul Gelo para fundos */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --gold-accent: #d4af37; /* Dourado Clássico */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f4f8;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    background: #0f172a !important; /* Mesma cor do footer */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 90px; /* Aumentado conforme solicitado */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Watermark Utility */
.bg-watermark {
    position: relative;
    overflow: hidden;
}

.bg-watermark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('../../img/LogoFordime.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; /* Aumentado de 0.05 para 0.15 para ficar mais forte */
    z-index: 0;
    pointer-events: none;
}

.bg-watermark > * {
    position: relative;
    z-index: 1;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9) !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-accent) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 86, 179, 0.9) 100%), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 9rem 0 10rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #f0f4f8;
    transform: skewY(-2deg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    font-weight: 700;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.3);
}

.btn-light {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-light:hover {
    background-color: #e2e8f0;
    color: var(--primary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-bottom: none;
    padding: 2rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.15);
    background-color: white;
}

.form-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icons & Features */
.feature-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #0f172a !important;
    border-top: 4px solid var(--gold-accent);
    color: #94a3b8;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

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

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 5px;
    background-color: var(--gold-accent);
    border-radius: 3px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
