:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --font-headings: "Akzidenz-Grotesk", "Archivo", "Helvetica Neue", "Arial", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --bg-white: #FFFFFF;
    --bg-hero: #fbf7f6;
    --bg-light: #F7F7F7;
    --bg-dark: #121212;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --border-color: #EAEAEA;
    --container-width: 1100px;
    --navy-bg: #191919;
    --text-white: #FFFFFF;
    --yellow-accent: #EBB65B;
}

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

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-headings);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.text-primary { color: var(--primary); }
.text-white { color: var(--bg-white); }
.text-gray { color: #A0A0A0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: rgb(246, 245, 244);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.section-dark h2 {
    color: var(--text-on-dark);
}

.section-dark p {
    color: var(--text-p-on-dark);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.25rem;
}

/* Navbar Official */
.navbar-official {
    background-color: var(--primary);
    padding: 30px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.navbar-official.nav-hidden {
    transform: translateY(-100%);
}

.logo-centered img {
    height: 22px; /* Logo ainda mais reduzida */
    width: auto;
    filter: brightness(0) invert(1);
}

/* Navbar Original (Keeping for reference if needed elsewhere) */
.navbar {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--primary);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-white { background-color: var(--bg-white); }
.section-gray { background-color: var(--bg-hero); }
.section-dark { background-color: #121212; color: #fff; }

.grid-img-left {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: stretch;
}

.grid-text-left {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: stretch;
}

.section-image {
    height: 100%;
    display: flex;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.section-title {
    color: #1A1A1A; /* Todos os títulos em preto */
    font-size: 2.3rem; /* Tamanho reduzido */
    font-weight: 900;
    line-height: 1.05;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: var(--font-headings);
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px #1A1A1A;
}

.section-dark .section-title {
    color: var(--bg-white);
    -webkit-text-stroke: 0.5px var(--bg-white);
}

.pb-0 { padding-bottom: 0 !important; }
.pt-20 { padding-top: 20px !important; }

.section-text {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #1A1A1A;
    font-weight: 500;
    line-height: 1.5;
}

.section-dark .section-text {
    color: #CCCCCC;
}

.title-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }

.boxed-container {
    background-color: var(--bg-white);
    border: 1px solid #000;
    border-radius: 24px;
    padding: 50px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.bullet-card {
    background-color: var(--bg-white);
    border: 1px solid #000;
    border-radius: 16px;
    padding: 35px;
    text-align: center; /* Centralizado conforme pedido */
}

.bullet-card h3 {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 900; /* Mesmo peso dos títulos principais */
    margin-bottom: 15px;
    color: #1A1A1A; /* Preto como títulos principais */
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px #1A1A1A;
}

.bullet-card p {
    font-size: 1.1rem;
    color: #1A1A1A;
    line-height: 1.5;
    margin: 0;
}

/* Hero Section */
.hero {
    background-color: var(--bg-hero);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 40px;
    align-items: center;
}

.hero-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%; /* Garante que ocupa a coluna da grid */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero-title-official {
    color: #1A1A1A;
    font-size: 2.3rem; /* Ajustado para 3 linhas perfeito */
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    font-family: var(--font-headings);
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px #1A1A1A;
}

.hero-badge {
    display: inline-block;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 8px 18px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #1A1A1A;
    font-size: 0.85rem;
}

.subtitle-official {
    font-size: 1.15rem;
    margin-bottom: 25px;
    max-width: 550px;
    color: #1A1A1A;
    font-weight: 500;
    line-height: 1.4;
}

.hero-actions {
    margin-top: 10px; /* Reduzido para ficar mais próximo do texto */
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.btn-official {
    padding: 14px 40px; /* Reduced height */
    font-size: 1.1rem;
    font-weight: 900;
    font-family: var(--font-headings);
    letter-spacing: 0.02em;
    background-color: var(--primary);
    color: rgb(246, 245, 244);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hero-image {
    height: 100%; /* Ocupa toda a altura da grid gerada pelo texto */
    display: flex;
}

.hero-image img {
    width: 100%;
    height: 100%; /* Preenche exatamente a altura do bloco */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: none; /* Removendo sombra forte para ficar idêntico ao print */
    display: block;
}

.logo img {
    height: 32px;
    width: auto;
}


/* Footer */
.footer {
    background-color: var(--primary);
    padding: 40px 0;
    border-top: none;
    color: #FFFFFF;
    font-family: var(--font-body);
}

.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo .logo-img {
    height: 22px; 
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: #FFFFFF !important;
    font-size: 1.4rem;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 0.6;
}

/* Responsividade para Desktop */
@media(min-width: 768px) {
    .footer-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-logo, .footer-text, .footer-social {
        flex: 1;
    }

    .footer-logo { display: flex; justify-content: flex-start; }
    .footer-text { text-align: center; }
    .footer-social { display: flex; justify-content: flex-end; }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-img-left, .grid-text-left, .hero .container, .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile - Mantendo cor e alinhamento */
    .navbar-official {
        background-color: var(--primary);
        padding: 15px 0;
    }
    
    .logo-centered img {
        height: 20px;
    }

    /* General Layout */
    .section {
        padding: 50px 0;
        text-align: center;
    }

    .hero {
        padding-top: 30px !important; /* Subindo conteúdo do bloco 1 */
    }

    .container {
        padding: 0 24px;
    }

    /* Typography - All black as requested */
    .hero-title-official, .section-title {
        font-size: 1.85rem !important;
        text-align: center !important;
        line-height: 1.1;
        margin-bottom: 15px !important; /* Reduzido no mobile */
        color: #1A1A1A !important;
        -webkit-text-stroke: 0.5px #1A1A1A !important;
    }

    /* Ajuste Bloco 1 (Hero) - Garantir 3 linhas */
    .hero-title-official {
        font-size: 1.6rem !important; /* Ajustado para caber "ENCONTRE TALENTOS" em uma linha */
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.1;
    }

    /* Ajuste Bloco 3 - Garantir 1 linha */
    .boxed-container {
        padding: 40px 20px !important; /* Reduzindo padding lateral no mobile */
    }

    .boxed-container .section-title {
        font-size: 1.6rem !important; /* Reduzindo levemente para caber em 1 linha */
        white-space: nowrap;
    }

    .subtitle-official, .section-text {
        text-align: center;
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
        color: #1A1A1A;
        margin-bottom: 5px !important; /* Reduzido ao máximo no mobile */
    }

    /* Sections Order & Alignment */
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text-column {
        display: contents; /* Permite que o order dos filhos funcione no container flex */
    }

    .hero-content {
        align-items: center !important;
        width: 100%;
        order: 1;
    }

    .hero-image {
        order: 2; /* Imagem entre o texto e o botão */
        margin: 5px 0; /* Reduzido ao máximo no mobile */
        width: 100%;
    }

    .hero-image img {
        height: 250px !important; /* Altura reduzida conforme solicitado */
        object-fit: cover;
        width: 100%;
    }

    .hero-actions {
        order: 3; /* Botão por último */
        width: 100%;
        margin-top: 0 !important; /* Removido no mobile */
    }

    .hero-badge {
        margin: 0 auto 10px auto !important; /* Reduzido no mobile */
    }

    /* Grid Sections (Img Left/Text Left) */
    .grid-img-left, .grid-text-left {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .section-image {
        order: -1; /* Always image first on mobile */
        width: 100%;
    }

    .section-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .section-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Buttons */
    .btn-official {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
    }

    /* Footer Parity Dimensões */
    .footer-logo .logo-img {
        height: 20px !important; /* Mesma dimensão do header logo */
    }

    .footer-flex {
        flex-direction: column !important;
        text-align: center !important;
        gap: 25px;
    }

    .footer-logo, .footer-social {
        justify-content: center !important;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #FFFFFF;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    opacity: 1;
}

/* Form Content */
.modal-logo {
    display: block;
    margin: 0 auto 24px;
    height: 24px;
    width: auto;
}

.modal-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.1;
    -webkit-text-stroke: 0.5px #1A1A1A;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: #F9F9F9;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.error-message {
    color: #E63946;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.form-input.invalid {
    border-color: #E63946;
}

.form-input.invalid + .error-message {
    display: block;
}

.modal-footer-text {
    font-size: 11px;
    color: #777;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

/* Success State */
.success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-title {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900;
    -webkit-text-stroke: 0.5px #1A1A1A;
}

.success-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.social-cta {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
    transition: transform 0.2s;
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-weight: 900;
}

.social-cta:hover {
    transform: translateY(-2px);
}

.cta-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.cta-linkedin {
    background: #0077b5;
    color: white;
}

/* Responsive Modal */
@media (max-width: 500px) {
    .modal-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    .success-title {
        font-size: 2rem;
    }
}
