:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1e4363;
    --primary-light: #3a7aad;
    --secondary-color: #f7b731;
    --text-dark: #123d5d;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 120px;
    height: auto;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 80%;
}

.btn-primary {
    background-color: #f6b92d;
    border-color: #f6b92d;
    color: #123d5d;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f6b92d;
    border-color: #f6b92d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 185, 45, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.3);
}

.hero {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.95), rgba(30, 67, 99, 0.95)),
                url('https://images.pexels.com/photos/3768131/pexels-photo-3768131.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    color: white;
    position: relative;
}

.hero h1 {
    animation: fadeInUp 1s ease;
    color: #f6b92d;
}

.hero h1 strong {
    color: #f6b92d;
}

.hero p {
    animation: fadeInUp 1.2s ease;
}

.hero .btn {
    animation: fadeInUp 1.4s ease;
}

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

.hover-card {
    transition: all 0.3s ease;
    cursor: default;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

section {
    scroll-margin-top: 80px;
}

.shadow-sm {
    box-shadow: 0 .125rem .5rem rgba(0,0,0,.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-item {
        margin: 5px 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: var(--text-dark);
}

footer {
    background-color: #1e1e1e !important;
}

footer img {
    filter: brightness(0) invert(1);
    max-height: 70px;
    height: auto;
}

.text-primary {
    color: #123d5d !important;
}

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

.border-primary {
    border-color: var(--primary-color) !important;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-light);
}

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

.card-body h5 {
    color: var(--text-dark);
}

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

iframe {
    border-radius: 12px;
}

.icon-heart-bg {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
}

.icon-heart-bg::before {
    content: "\F415";
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: #f6b92d;
    z-index: 0;
}

.icon-heart-bg i {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-compromisso {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.95), rgba(30, 67, 99, 0.95)),
                url('https://images.pexels.com/photos/3768131/pexels-photo-3768131.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    color: white;
    min-height: 50vh;
    position: relative;
}

.hero-compromisso h2 {
    color: #f6b92d;
}

.hero-compromisso p {
    color: white;
}

#contato .card-body a:not(.btn) {
    color: #123d5d !important;
    font-weight: 600;
}

#contato .card-body a:not(.btn):hover {
    color: #2c5f8d !important;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

footer h5 {
    color: #f6b92d;
    font-size: 1.1rem;
}
