/* VARIABLES */
:root {
    --primary-yellow: #ebc200;
    --dark-bg: #111111;
    --text-dark: #222222;
    --text-light: #ffffff;
    --text-gray: #666666;
    --gray-bg: #f2f2f2;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(235, 194, 0, 0.8), rgba(235, 194, 0, 1));
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: auto;
    height: 70px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: #000;
    margin: 0;
    letter-spacing: -1px;
}

.logo-text p {
    font-size: 8px;
    font-weight: 900;
    color: #000;
    margin: 0;
    letter-spacing: 0px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-weight: 700;
    font-size: 15px;
    color: #000;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: #555;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
}

.hero-content {
    max-width: 1600px;
    margin: auto auto; /* Centered vertically between navbar and bottom */
    padding: 0 8%;
    width: 100%;
}

.hero-subtitle {
    font-size: 52px;
    font-weight: 900;
    color: #000;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle-small {
    font-size: 38px;
    font-weight: 900;
    color: #000;
    line-height: 1;
    letter-spacing: -1px;
    margin-left: 80px; /* Indent slightly like the image */
}

.hero-title {
    font-size: 130px;
    font-weight: 900;
    color: #000;
    line-height: 0.85;
    margin-bottom: 25px;
    letter-spacing: -4px;
}

.hero-description {
    max-width: 550px;
    font-size: 17px;
    font-weight: 400; /* Regular weight */
    color: #000;
    line-height: 1.4;
    text-align: justify;
}

/* ÁREAS DE ATUAÇÃO */
.services {
    background-color: #fff;
    padding: 80px 8%;
    max-width: 1600px;
    margin: 0 auto;
}

.services-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.tab-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.tab-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-icon-wrapper svg {
    width: 100%;
    height: 100%;
    stroke: #000;
}

.tab-btn {
    display: flex;
    align-items: center;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    background-color: var(--primary-yellow);
    color: #000;
    pointer-events: none;
}

.tab-btn.active {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.tab-wrapper:hover .tab-btn:not(.active) {
    background-color: #d1ad00;
}

.services-content {
    background-color: var(--gray-bg);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.service-panel {
    display: none;
    align-items: stretch;
    justify-content: space-between;
}

.service-panel.active {
    display: flex;
}

.service-text {
    padding: 80px 60px;
    flex: 1;
}

.service-text h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.service-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-read-more:hover {
    background-color: #d1ad00;
}

.service-image-wrapper {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 60px 0 0 60px;
    border-left: 5px solid #fff;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
}

/* NOSSOS NÚMEROS */
.stats {
    background-color: var(--primary-yellow);
    padding: 80px 8%;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    color: #000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: #000;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

/* PRINCIPAIS CLIENTES */
.clients {
    padding: 100px 8%;
    background-color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/hero_bg_1782166283211.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: grayscale(100%);
}

.clients .section-title {
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.carousel-viewport {
    overflow: hidden;
    flex: 1;
    margin: 0 20px;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 180px;
    height: 100px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    transform: scale(1.05);
}

.carousel-prev, .carousel-next {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #000;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #111;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #0056b3;
}

/* PORQUE ESCOLHER */
.why-choose {
    background-color: var(--primary-yellow);
    padding: 100px 8%;
}

.why-choose .section-title {
    font-weight: 900;
    margin-bottom: 70px;
}

.reasons-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.reason-card {
    flex: 0 0 28%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reason-img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f2f2f2;
}

.reason-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: high-quality;
}

.reason-card h3 {
    font-size: 22px;
    font-weight: 400;
    color: #000;
}

/* PROPOSTAS COMERCIAIS */
.proposals {
    position: relative;
    padding: 120px 8%;
    color: var(--text-light);
}

.proposals-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.proposals::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(17, 17, 17, 0.85);
    z-index: -1;
}

.proposals-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.proposals-content h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.proposals-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ddd;
    max-width: 800px;
}

/* ATUAÇÃO NACIONAL TEXTO */
.national-coverage-text {
    padding: 80px 8% 40px;
    background-color: #fff;
    text-align: center;
}

.national-coverage-text .section-title {
    font-weight: 300;
    margin-bottom: 20px;
}

.national-coverage-text .section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 1000px;
    margin: 0 auto;
}

/* MAPA FULL WIDTH */
.national-coverage-map {
    width: 100vw;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.national-coverage-map::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../img/bandeira-do-pará.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.01;
    z-index: 0;
}

.map-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.para-map {
    height: 150%;
    width: 100%;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
    position: relative;
    top: 350px;
    z-index: 1;
    transform: scale(1.3) translateY(5%);
}

.state-label {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 28px;
    font-family: 'Times New Roman', serif;
    letter-spacing: 3px;
    z-index: 10;
}

.map-credits {
    position: absolute;
    bottom: 40px;
    left: 8%;
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
}

.map-controls {
    position: absolute;
    bottom: 40px;
    right: 8%;
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.scale-bar {
    width: 350px;
}

.scale-line {
    height: 2px;
    background-color: #fff;
    position: relative;
}

.scale-line::before, .scale-line::after, .scale-line i {
    content: '';
    position: absolute;
    top: -6px;
    width: 2px;
    height: 14px;
    background-color: #fff;
}
.scale-line::after { right: 0; }
.scale-line::before { left: 0; }

.scale-labels {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    margin-top: 8px;
}

.compass {
    width: 40px;
}

/* FOOTER */
footer {
    background-color: var(--primary-yellow);
    padding: 80px 8% 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column h4 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #000;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid #000;
    border-radius: 50%;
    color: #000;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: #000;
    color: var(--primary-yellow);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.contact-info {
    text-align: right;
    font-size: 14px;
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-title { font-size: 80px; }
    .hero-subtitle { font-size: 42px; }
    .hero-subtitle-small { font-size: 32px; }
    .services-content { flex-direction: column; }
    .service-panel { flex-direction: column; }
    .service-image-wrapper img { border-radius: 0 0 40px 40px; border-left: none; border-top: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .reasons-grid { flex-direction: column; }
    .footer-container { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 60px; }
    .hero-subtitle { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .services-tabs { flex-direction: column; align-items: stretch; }
    .footer-container { flex-direction: column; align-items: flex-start; }
    .footer-contact { align-items: flex-start; margin-top: 40px; }
    .contact-info { text-align: left; }
    .map-controls { flex-direction: column; align-items: flex-start; right: auto; left: 8%; bottom: 100px; }
    .scale-bar { width: 250px; }
}
