:root {
    --hdr-dark: #0B1C2E;
    --hdr-dark-2: #0F2740;
    --hdr-gold: #C9A36F;
    --hdr-gold-light: #D4B483;
    --hdr-white: #FFFFFF;
    --hdr-gray: #E8E8E8;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    background: var(--hdr-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 10px 0;
}

.navbar-brand img {
    height: 85px;
    width: auto;
}

.nav-link {
    color: var(--hdr-white) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--hdr-gold) !important;
}

.navbar-toggler {
    border-color: rgba(201,163,111,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,163,111,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-app {
    background: linear-gradient(135deg, var(--hdr-gold), var(--hdr-gold-light));
    color: var(--hdr-dark) !important;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(201,163,111,0.4);
    white-space: nowrap;
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,163,111,0.5);
    color: var(--hdr-dark) !important;
}

.hero {
    background: linear-gradient(135deg, var(--hdr-dark) 0%, var(--hdr-dark-2) 100%);
    color: var(--hdr-white);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,163,111,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,163,111,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--hdr-gold);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.btn-primary-hdr {
    background: linear-gradient(135deg, var(--hdr-gold), var(--hdr-gold-light));
    color: var(--hdr-dark);
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(201,163,111,0.4);
    display: inline-block;
    text-decoration: none;
}

.btn-primary-hdr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201,163,111,0.5);
    color: var(--hdr-dark);
}

.btn-outline-hdr {
    border: 2px solid var(--hdr-gold);
    color: var(--hdr-gold);
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: all 0.3s;
    margin-left: 12px;
    display: inline-block;
    text-decoration: none;
    background: transparent;
}

.btn-outline-hdr:hover {
    background: var(--hdr-gold);
    color: var(--hdr-dark);
}

.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: auto;
    border: 3px solid rgba(201,163,111,0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, rgba(201,163,111,0.12), rgba(11,28,46,0.15));
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
    height: auto;
}

.hero-carousel img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 1rem;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
}

.hero-carousel .carousel-indicators .active {
    background: var(--hdr-gold);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 8%;
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(201,163,111,0.85);
    border-radius: 50%;
    padding: 18px;
    background-size: 55% 55%;
}

.section {
    padding: 90px 0;
}

.section-dark {
    background: var(--hdr-dark);
    color: var(--hdr-white);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.section-title span {
    color: var(--hdr-gold);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.section-label {
    display: inline-block;
    background: rgba(201,163,111,0.15);
    color: var(--hdr-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.card-servico {
    background: var(--hdr-white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 8px 30px rgba(11,28,46,0.1);
    transition: all 0.4s;
    border-top: 4px solid var(--hdr-gold);
    height: 100%;
}

.card-servico:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11,28,46,0.18);
}

.card-servico-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--hdr-gold), var(--hdr-gold-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--hdr-dark);
    margin-bottom: 22px;
}

.card-servico h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--hdr-dark);
}

.card-servico p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.diferencial-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s;
}

.diferencial-item:hover {
    background: rgba(201,163,111,0.08);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--hdr-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--hdr-gold);
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.diferencial-item:hover .diferencial-icon {
    background: var(--hdr-gold);
    color: var(--hdr-dark);
    transform: scale(1.08);
}

.diferencial-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.diferencial-item p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.sobre-text h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--hdr-dark);
    margin-bottom: 20px;
}

.sobre-text h2 span {
    color: var(--hdr-gold);
}

.sobre-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.sobre-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 3px solid var(--hdr-gold);
    position: relative;
    box-shadow: 0 15px 40px rgba(11,28,46,0.25);
    display: block;
    background: linear-gradient(135deg, var(--hdr-dark) 0%, var(--hdr-dark-2) 100%);
}

.sobre-img img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s;
}

.sobre-img:hover img {
    transform: scale(1.03);
}

.contato-card {
    background: linear-gradient(135deg, var(--hdr-dark), var(--hdr-dark-2));
    border-radius: 24px;
    padding: 50px;
    color: var(--hdr-white);
    position: relative;
    overflow: hidden;
}

.contato-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,163,111,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contato-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
}

.contato-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,163,111,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--hdr-gold);
    flex-shrink: 0;
}

.contato-info-text h5 {
    font-size: 1rem;
    color: var(--hdr-gold);
    margin-bottom: 4px;
    font-weight: 700;
}

.contato-info-text p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.05rem;
}

footer {
    background: #081421;
    color: rgba(255,255,255,0.7);
    padding: 40px 0 25px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-whats 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

@keyframes pulse-whats {
    0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 6px 35px rgba(37,211,102,0.8); }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 15px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201,163,111,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hdr-gold);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--hdr-gold);
    color: var(--hdr-dark);
    transform: translateY(-3px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 991.98px) {
    .hero {
        padding: 140px 0 70px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .sobre-text h2 {
        font-size: 1.9rem;
    }

    .navbar-collapse {
        padding: 15px 0;
    }

    .btn-app {
        margin-top: 10px;
        display: inline-block;
    }

    .btn-outline-hdr {
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .contato-card {
        padding: 30px 22px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }

    .navbar-brand img {
        height: 65px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .btn-primary-hdr,
    .btn-outline-hdr {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        display: block;
    }

    .btn-outline-hdr {
        margin-top: 12px;
        margin-left: 0;
    }
}
