/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #08090e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 9, 14, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 140, 66, 0.15);
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2.5px solid #ff8c42;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.25);
    transition: transform 0.3s;
}

.logo-circle:hover {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: flex-end;
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c42;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #ff8c42;
}

.nav-link:hover::after {
    width: 100%;
}
.nav-link.active,
.nav-link[aria-current="page"] {
    color: #ff8c42;
}
.nav-link.active::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

.nav-cta-button {
    background: #ff8c42;
    color: #08090e;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
}

.nav-cta-button:hover {
    background: #ffa55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    background: rgba(8, 9, 14, 0.98);
    border-top: 1px solid rgba(255, 140, 66, 0.15);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background: rgba(255, 140, 66, 0.1);
    color: #ff8c42;
}

.mobile-nav-cta {
    margin-top: 8px;
    background: #ff8c42;
    color: #08090e;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.mobile-nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #0b1220;
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.35);
    border: 1px solid rgba(18, 140, 126, 0.35);
}
.mobile-nav-whatsapp svg {
    color: #0b1220;
}
.mobile-nav-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #08090e 0%, #1e3a8a 40%, #08090e 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 140, 66, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
    max-width: 900px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 140, 66, 0.15);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 50px;
    color: #ff8c42;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.text-highlight {
    color: #ff8c42;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 20px;

}

.hero-cta-primary {
    background: #ff8c42;
    color: #08090e;
    font-weight: 700;
    font-size: 17px;
    padding: 24px 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(255, 140, 66, 0.35);
}

.hero-cta-primary:hover {
    background: #ffa55e;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 140, 66, 0.5);
}

.hero-cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 17px;
    padding: 22px 46px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff8c42;
    color: #ff8c42;
    transform: translateY(-3px);
}

/* Sections */
#services,
#why-us,
#contact {
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.section-subtitle-orange {
    font-size: 18px;
    color: rgba(8, 9, 14, 0.7);
    margin-bottom: 60px;
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: #0a0d14;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 140, 66, 0.5);
    background: rgba(30, 58, 138, 0.12);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, 0.1);
    border: 2px solid #ff8c42;
    border-radius: 16px;
    color: #ff8c42;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 140, 66, 0.2);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa55e 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.why-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.why-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #08090e;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 19px;
    font-weight: 600;
    color: #08090e;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
}

.benefit-card svg {
    color: #ff8c42;
    filter: drop-shadow(0 2px 4px rgba(255, 140, 66, 0.3));
    transition: transform 0.3s;
}

.benefit-card:hover svg {
    transform: scale(1.15) rotate(5deg);
}

/* Credibility Section */
.credibility-section {
    padding: 120px 0;
    background: #08090e;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
}

.credibility-card {
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.credibility-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 140, 66, 0.5);
    background: rgba(30, 58, 138, 0.12);
}

.credibility-card svg {
    color: #ff8c42;
    margin-bottom: 20px;
}

.credibility-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.credibility-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0d14 0%, #1e3a8a 50%, #0a0d14 100%);
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16) 0%, rgba(10, 13, 20, 0.95) 55%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #25D366;
    color: #ffffff;
    padding: 24px 48px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    margin-bottom: 24px;
}

.contact-whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.contact-label {
    font-size: 14px;
    opacity: 0.9;
}

.contact-number {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.contact-availability {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 66, 0.45);
    color: #ff8c42;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 14px;
}

.contact-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.contact-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.contact-secondary-btn:hover {
    border-color: #ff8c42;
    color: #ff8c42;
    background: rgba(255, 255, 255, 0.08);
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
}

.contact-points li::before {
    content: "• ";
    color: #ff8c42;
}

/* Footer */
.site-footer {
    padding: 60px 0 32px;
    background: #08090e;
    border-top: 1px solid rgba(255, 140, 66, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ff8c42;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff8c42;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: radial-gradient(circle at 20% 20%, #43e97b 0%, #128C7E 65%);
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(18, 140, 126, 0.38);
    border: 1px solid rgba(18, 140, 126, 0.35);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 26px rgba(18, 140, 126, 0.55);
    filter: brightness(1.02);
}

.whatsapp-float-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
}

.whatsapp-float-label {
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 14px;
}
.contact-page .whatsapp-float {
    display: none;
}

.whatsapp-float.hidden {
    display: none !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #0a0d14;
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 140, 66, 0.1);
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    padding-right: 40px;
}

.budget-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group select option {
    background-color: #0b1220;
    color: #ffffff;
}



.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c42;
    background: rgba(30, 58, 138, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-button {
    background: #ff8c42;
    color: #08090e;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-button:hover {
    background: #ffa55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 56px; }
    .section-title { font-size: 40px; }
    .why-title { font-size: 44px; }
}

@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .header-container { padding: 14px 18px; }
    
    .desktop-nav { display: none; }
    .mobile-menu-button { display: block; }
    .hero-badge{margin-top: 10px;}
    .hero-section { padding-top: 80px; min-height: 90vh; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 17px; }
    .hero-buttons { flex-direction: column; }
    
    .hero-cta-primary,
    .hero-cta-secondary { width: 100%; justify-content: center; }
    
    .section-title { font-size: 32px; }
    .why-title { font-size: 36px; }
    .contact-title { font-size: 36px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .credibility-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    
    .contact-card { padding: 40px 24px; }
    .contact-whatsapp-button { flex-direction: column; gap: 12px; }
    .contact-info { align-items: center; }
    .contact-number { font-size: 22px; }
    
    .whatsapp-float { display: none; }

    .modal-content { padding: 22px; }
    .modal-title { font-size: 24px; }

    .contact-hero-grid,
    .contact-grid,
    .legal-grid,
    .rural-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}




/* Estilo do modal lista de serviços */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select-arrow {
    margin-left: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.custom-select-options {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 6px;
    background-color: #0b1220;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
    padding: 6px 0;
    z-index: 50;

    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.custom-select-options li {
    padding: 8px 14px;
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.custom-select-options li:hover {
    background-color: rgba(59, 130, 246, 0.22);
    color: #ffffff;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select.open .custom-select-trigger {
    border-color: rgba(255, 140, 43, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 140, 43, 0.25);
}


.error-message {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 4px;
    display: block;
    padding-left: 2px;
}

.logo-circle img.logo-image {
    width: 56px;
    height: 56px;
    object-fit: contain;
}


.logo-text {
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.logo-text .logo-sub {
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.8;
    line-height: 1;
    padding-bottom: 1px; /* ajusta o alinhamento fino */
    
}


.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #cbd5e1;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-bottom .footer-credit a {
    color: #ff8c2b;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease;
}

.footer-bottom .footer-credit a:hover {
    opacity: 0.7;
}


/*Estilo exclusivo para o selo de atendimento em região rural*/
.rural-highlight{
  padding: 56px 20px;
}

.rural-wrap{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.rural-kicker{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffb66d;
  border: 1px solid rgba(255, 140, 43, .55);
  background: rgba(255, 140, 43, .10);
}

.rural-highlight h2{
  margin: 10px 0 8px;
  font-size: 28px;
  color: #ff8c2b;
}

.rural-highlight p{
  margin: 0 auto;
  max-width: 720px;
  color: #cbd5e1;
}

.rural-grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rural-card{
  background: rgba(30, 58, 138, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: left;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rural-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffb66d;
  border: 1px solid rgba(255, 140, 43, .55);
  background: rgba(255, 140, 43, .10);
  margin-bottom: 12px;
}

.rural-card h3{
  margin: 0 0 6px;
  font-size: 16px;
  color: #ffffff;
}

.rural-card p{
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
  max-width: none;
}

.rural-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 140, 43, .65);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

@media (max-width: 860px){
  .rural-grid{ grid-template-columns: 1fr; }
  .rural-card{ text-align: center; }
}

/* Legal pages */
.legal-hero {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, #0a0d14 0%, #1e3a8a 45%, #0a0d14 100%);
    text-align: center;
}
.legal-title {
    font-size: 52px;
    font-weight: 800;
    margin: 18px 0 12px;
}
.legal-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto;
}
.legal-kicker {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 66, 0.45);
    color: #ff8c42;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
}
.legal-section {
    padding: 90px 0;
    background: #08090e;
}
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.legal-card {
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    line-height: 1.7;
}
.legal-card h2 {
    margin-bottom: 10px;
    font-size: 22px;
}
.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-list li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.82);
}
.legal-list li::before {
    content: '•';
    color: #ff8c42;
    position: absolute;
    left: 0;
    top: 0;
}
.legal-cta {
    padding: 60px 0 90px;
    background: #0a0d14;
}
.legal-cta-box {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.12) 0%, rgba(30, 58, 138, 0.18) 100%);
    border: 1px solid rgba(255, 140, 66, 0.35);
    border-radius: 16px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.legal-cta-box h3 {
    margin: 4px 0 6px;
    font-size: 24px;
}
.legal-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}
.legal-cta-actions {
    display: flex;
    gap: 12px;
}
.legal-cta-actions .hero-cta-primary,
.legal-cta-actions .hero-cta-secondary {
    min-width: 0;
}

/* Contact page */
.contact-page-hero {
    padding: 140px 0 90px;
    background: linear-gradient(135deg, #0a0d14 0%, #1e3a8a 45%, #0a0d14 100%);
}
.contact-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}
.contact-hero-copy {
    order: 1;
}
.contact-hero-card {
    order: 2;
}
.contact-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 66, 0.4);
    color: #ff8c42;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
}
.contact-hero-title {
    font-size: 52px;
    font-weight: 800;
}
.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
}
.contact-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-hero-highlights span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.contact-hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.contact-hero-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}
.contact-hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}
.contact-hero-list li strong {
    color: #ff8c42;
}

.contact-page-main {
    padding: 90px 0;
    background: #0a0d14;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: start;
}
.contact-info-card,
.contact-form-card {
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}
.info-item {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.info-item:last-child {
    border-bottom: none;
}
.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 140, 66, 0.12);
    border: 1px solid rgba(255, 140, 66, 0.35);
    display: grid;
    place-items: center;
    color: #ff8c42;
}
.info-label {
    font-weight: 700;
    color: #ffffff;
}
.info-link {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 700;
}
.info-link:hover {
    text-decoration: underline;
}
.info-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}
.contact-form-card h2 {
    margin-bottom: 8px;
}
.contact-form-sub {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}
.contact-page-form .form-group input,
.contact-page-form .form-group textarea,
.contact-page-form .form-group select {
    background: rgba(30, 58, 138, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.24);
}
.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0 4px;
}
.form-check input {
    margin-top: 3px;
}
.form-check label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.form-check a {
    color: #ff8c42;
    text-decoration: none;
}
.form-check a:hover {
    text-decoration: underline;
}
.contact-extra {
    background: #08090e;
    padding: 60px 0 90px;
}
.contact-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.contact-extra-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 140, 66, 0.18);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
.contact-extra-card h3 {
    margin: 8px 0 10px;
    font-size: 20px;
}
.contact-extra-card p {
    color: rgba(255, 255, 255, 0.7);
}
.contact-page-link {
    display: inline-block;
    margin-top: 10px;
    color: #ff8c42;
    text-decoration: none;
    font-weight: 600;
}
.contact-page-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .legal-title { font-size: 44px; }
    .contact-hero-title { font-size: 44px; }
}
@media (max-width: 768px) {
    .legal-title { font-size: 36px; }
    .legal-cta-box { flex-direction: column; align-items: flex-start; }
    .legal-cta-actions { width: 100%; justify-content: flex-start; }
    .contact-hero-title { font-size: 36px; }
    .contact-hero-subtitle { font-size: 16px; }
    .contact-hero-card { order: 2; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-hero-grid { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
    .rural-grid { grid-template-columns: 1fr; }
    .contact-hero-highlights { flex-direction: column; }

    .contact-page-hero { padding: 110px 0 70px; }
    .contact-page-main { padding: 70px 0; }
    .contact-extra { padding: 50px 0 70px; }

    .contact-info-card,
    .contact-form-card,
    .legal-cta-box,
    .contact-hero-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-page .container,
    .contact-section .container,
    .legal-section .container,
    .legal-cta .container {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .legal-cta-box {
        gap: 14px;
        padding: 22px;
    }
    .legal-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .legal-cta-actions .hero-cta-primary,
    .legal-cta-actions .hero-cta-secondary {
        width: 100%;
        text-align: center;
        padding: 16px 18px;
    }

    .hero-buttons a,
    .hero-buttons button,
    .contact-hero .hero-buttons a,
    .contact-hero .hero-buttons button {
        width: 100%;
    }
}
.contact-page .contact-info-card,
.contact-page .contact-form-card,
.contact-page .legal-cta-box,
.contact-page .contact-hero-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.contact-page .contact-grid {
    gap: 18px;
    width: 100%;
    margin: 0 auto;
}

.contact-page .contact-hero-grid {
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.contact-page .container {
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .contact-page .container {
        max-width: 1200px;
        padding-left: 32px;
        padding-right: 32px;
        overflow: visible;
    }
    .contact-page .contact-grid,
    .contact-page .contact-hero-grid {
        gap: 40px;
    }
    .contact-page .contact-info-card,
    .contact-page .contact-form-card,
    .contact-page .contact-hero-card {
        padding: 28px;
    }
}

/* Hard clamp for very small screens on página de contato */
@media (max-width: 600px) {
    .contact-page .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }
    .contact-page .contact-grid,
    .contact-page .contact-hero-grid {
        width: 100%;
        margin: 0;
        gap: 14px;
    }
    .contact-page .contact-info-card,
    .contact-page .contact-form-card,
    .contact-page .contact-hero-card,
    .contact-page .legal-cta-box {
        padding: 18px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .contact-page .legal-cta-box {
        padding: 20px;
    }
    .legal-cta-actions {
        width: 100%;
        gap: 10px;
    }
    .legal-cta-actions .hero-cta-primary,
    .legal-cta-actions .hero-cta-secondary {
        width: 100%;
    }
}
