/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --bg-main: #181711;
    --bg-dark: #231E0F;
    --border-dark: #3A3627;
    --primary: #EFBC06;
    --primary-hover: #F0BD04;
    --text-light: #FFFFFF;
    --text-muted: #CBD5E1;
    --text-gray: #94A3B8;
    --text-dark: #111827;
    --text-dark-muted: #4B5563;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.5;
}

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

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
========================================= */
.text-primary {
    color: var(--primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #231E0F;
    box-shadow: 0px 4px 15px rgba(239, 188, 6, 0.3);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0px 0px 20px rgba(239, 188, 6, 0.7),
        0px 0px 40px rgba(239, 188, 6, 0.3);
}

.header .btn-primary:hover {
    transform: translateY(-2px);
}

.btn-primary .icon-thick-down {
    font-size: 22px;
    margin-left: 4px;
    display: inline-block;
}

@keyframes bounceArrowDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.hero-actions .btn-primary:hover .icon-thick-down {
    animation: bounceArrowDown 1s infinite ease-in-out;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #475569;
    color: var(--text-light);
    backdrop-filter: blur(2px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary .play-icon {
    font-variation-settings: 'FILL' 0, 'wght' 200;
    color: #FFFFFF;
}

.btn-block {
    width: 100%;
}

/* =========================================
   HEADER
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(24, 23, 17, 0.9);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.lang-switch:hover {
    color: #FFF;
}

.lang-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 672px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(239, 188, 6, 0.1);
    border: 1px solid rgba(239, 188, 6, 0.3);
    border-radius: 9999px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    width: fit-content;
}

.tag .dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services {
    background: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.services-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.services-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.services h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: -0.9px;
    margin-bottom: 16px;
}

.services p {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.56;
    margin-bottom: 24px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 18px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(239, 188, 6, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
}

.check-icon span {
    font-size: 14px;
    font-weight: bold;
}

.services-image {
    flex: 1;
    position: relative;
    background: rgba(24, 23, 17, 0.5);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    height: 423px;
    display: flex;
    align-items: flex-end;
}

.services-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: saturate(1.3) contrast(1.1) brightness(1.1);
}

.image-gradient {
    position: absolute;
    inset: auto 0 0 0;
    height: 96px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.image-badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #231E0F;
}

.badge-text strong {
    display: block;
    font-size: 20px;
    color: #FFF;
}

.badge-text span {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================================
   SOLUTIONS SECTION
========================================= */
.solutions {
    background: linear-gradient(104.54deg, #E2E2E2 -26.41%, #DFDFDF 115.22%);
    padding: 96px 0;
    color: var(--bg-main);
}

.solutions-header {
    text-align: center;
    max-width: 672px;
    margin: 0 auto 64px;
}

.solutions-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: #F0BD04;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.solutions-header h2::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.solutions-header p {
    font-size: 20px;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: #F3F4F6;
    border: 1px solid #FFEDD5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.solution-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-dark-muted);
    font-size: 16px;
    line-height: 1.62;
}

/* =========================================
   BENEFITS SECTION
========================================= */
.benefits {
    background: var(--bg-dark);
    padding: 96px 0;
    border-top: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
}

.abstract-pattern {
    position: absolute;
    width: 400px;
    height: 400px;
    right: -80px;
    top: -79px;
    background: rgba(239, 188, 6, 0.05);
    filter: blur(32px);
    border-radius: 50%;
}

.benefits-container {
    position: relative;
    z-index: 1;
}

.benefits-header {
    margin-bottom: 40px;
}

.benefits-header h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 16px;
}

.benefits-header p {
    color: #BBB49B;
    max-width: 580px;
    font-size: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg-main);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.b-card-bg {
    height: 192px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b-card-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.b-icon {
    position: relative;
    z-index: 1;
}

.icon-large {
    font-size: 48px !important;
}

.b-card-content {
    padding: 24px;
}

.b-card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.b-card-content p {
    font-size: 14px;
    color: #BBB49B;
}

/* =========================================
   RESULTS SECTION
========================================= */
.results {
    background: var(--bg-main);
    padding: 80px 0;
}

.results-box {
    background: linear-gradient(135deg, #3A3627 0%, #181711 100%);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    padding: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.results-box h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    text-align: center;
}

.result-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.result-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.results-tags {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.results-tags .r-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    will-change: transform;
}

.results-tags .r-tag .material-symbols-outlined {
    transition: none !important;
    transform: none !important;
}

.results-tags .r-tag:hover {
    transform: scale(1.08);
}

.r-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
}

.r-tag span {
    font-size: 18px;
}

.r-tag.green {
    background: rgba(20, 83, 45, 0.3);
    border: 1px solid #166534;
    color: #4ADE80;
}

.r-tag.blue {
    background: rgba(30, 58, 138, 0.3);
    border: 1px solid #1E40AF;
    color: #60A5FA;
}

.r-tag.yellow {
    background: rgba(239, 188, 6, 0.2);
    border: 1px solid rgba(239, 188, 6, 0.4);
    color: var(--primary);
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact {
    scroll-margin-top: 100px;
    background: linear-gradient(277deg, #a9790d -11.56%, #cca119 22.41%, #f0bd04 102.18%, #ffd84d 117.57%);
    padding: 150px 0;
    color: #FFF;
    overflow: hidden;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1300px;
}

.contact-info {
    width: 55%;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.contact-form {
    width: 45%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 15px;
    color: #FFF;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    white-space: nowrap;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.4);
}

.contact-info p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
    color: #f1f1f1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f1f1f1;
    border: 2px solid #f1f1f1;
    border-radius: 9px;
    padding: 13px 12px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #333;
    outline: none;
    transition: 0.2s cubic-bezier(1, 0, 0, 1);
}

.form-group textarea {
    height: 116px;
    resize: none;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: none;
    color: #000;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #000000;
    background: #ffffff;
    box-shadow: none;
    color: #000;
}

.form-group label {
    display: block;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-form button.btn-primary {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #000000;
    background: #191b54;
    color: #ffffff;
    height: 55px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.contact-form button.btn-primary:hover {
    background: #191b54;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.contact-form button.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =========================================
   POPUP DE SUCESSO
   ========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popup-overlay.active .popup-content {
    transform: translateY(0) scale(1);
}

.popup-icon i {
    font-size: 60px;
    color: #10B981;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 28px;
    color: #111827;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.popup-text {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 30px;
}

.btn-popup-close {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-popup-close:hover {
    background: #374151;
}

/* =========================================
   FOOTER
========================================= */
#footer {
    background: #181711;
    color: #ffffff;
    padding-top: 60px;
}

#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#footer a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s;
}

#footer a:hover {
    color: #FFFFFF;
}

.footer-wrapper-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.logo-phone {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-phone img {
    width: 90px;
    height: auto;
    border-radius: 0;
    margin-bottom: 25px;
    display: block;
}

.phone-email-block p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 8px;
}

.footer-content {
    flex: 2;
    text-align: center;
}

.adress {
    display: flex;
    justify-content: center;
    gap: 30px;
    text-align: left;
}

.adress p {
    font-size: 14px;
    line-height: 24px;
    color: #E0E0E0;
}

.socials-medias {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.btn-footer-link {
    display: inline-block;
    padding: 12px 30px;
    background: #F0BD04;
    border: 1px solid #FFFFFF;
    color: #FFFFFF !important;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-footer-link:hover {
    box-shadow: 0 0 20px rgba(240, 189, 4, 0.8);
}

.footer-icons-group {
    display: flex;
    gap: 15px;
}

.footer-icons-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 5px;
}

.footer-icons-group a i {
    transition: all 0.3s ease;
}

.footer-icons-group a:hover i {
    color: #FFFFFF;
    transform: translateY(-5px);
}

.footer-icons-group a:hover {
    color: #FFFFFF;
}

.fim {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    text-align: center;
    clear: both;
}

.fim p {
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
}

.h2-spacer {
    display: block;
    height: 7px;
}

/* =========================================
   RESPONSIVE 
========================================= */

@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .services-container {
        gap: 32px;
    }

    .solutions-grid,
    .benefits-grid {
        gap: 20px;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-info p {
        text-align: center;
        font-size: 18px;
    }

    .adress {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {

    .nav {
        display: none;
    }

    .header-actions {
        gap: 16px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-bg img {
        object-position: left center;
    }


    .tag {
        font-size: 14px;
        padding: 6px 14px;
    }

    .services-container {
        flex-direction: column;
    }

    .services-info {
        text-align: center;
        align-items: center;
    }

    .check-list li {
        text-align: left;
        font-size: 12.8px;
    }

    .check-icon {
        width: 20px;
        height: 20px;
    }

    .check-icon span {
        font-size: 12px;
    }

    .services-image {
        width: 100%;
        height: 350px;
    }

    .solutions-grid,
    .benefits-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-box {
        padding: 40px 24px;
    }

    .results-box h2 {
        font-size: 32px;
    }

    .footer-wrapper-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .logo-phone {
        align-items: center;
    }

    .adress {
        text-align: center;
        align-items: center;
    }

    .contact-info h2 {
        white-space: normal;
    }

    .contact-form button.btn-primary {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {

    .header-actions .btn-primary {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services h2 {
        font-size: 32px;
    }

    .solution-card h3 {
        font-size: 22px;
    }

    .solutions-header h2,
    .benefits-header h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 18px;
    }

    .solutions-grid,
    .benefits-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .results-tags {
        flex-direction: column;
        width: 100%;
    }

    .r-tag {
        justify-content: center;
        width: 100%;
    }

    .image-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px;
    }

    .popup-content {
        padding: 24px;
    }
}