/* ==========================================================================
   TRAVESSIA CONSULTORIA — DESIGN SYSTEM & ESTILOS GERAIS
   ========================================================================== */

/* 1. VARIÁVEIS DO DESIGN SYSTEM */
:root {
    /* Paleta de Cores Premium Oficiais */
    --color-primary: #193255;          /* Azul Profundo Principal */
    --color-primary-light: #d0dbe1;    /* Azul Acinzentado de apoio */
    --color-primary-dark: #193255;     /* Azul Profundo denso */
    --color-coral: #fb6c64;            /* Coral Destaque */
    --color-coral-hover: #fb6c64;      /* Coral Hover */
    --color-coral-light: rgba(251, 108, 100, 0.1); /* Coral Translúcido */
    --color-bg-light: #efebdf;         /* Off-white de fundo principal */
    --color-bg-light-darker: #d0dbe1;  /* Azul acinzentado para contraste */
    --color-peach: #f8b79a;            /* Pêssego */
    --color-gray-blue: #d0dbe1;        /* Azul Acinzentado */
    --color-white: #ffffff;
    --color-text: #193255;             /* Azul principal para textos gerais */
    --color-text-muted: rgba(25, 50, 85, 0.72); /* Azul principal suavizado */
    --color-border-light: rgba(25, 50, 85, 0.12); /* Borda sutil sobre fundos claros */
    --color-border-dark: rgba(255, 255, 255, 0.12);/* Borda sutil sobre fundos escuros */

    /* Glassmorphism (Aurora Glass) */
    --glass-bg-light: rgba(255, 255, 255, 0.65);
    --glass-bg-dark: rgba(25, 50, 85, 0.7);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;

    /* Fontes */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Espaçamentos e Medidas */
    --container-max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --border-radius-org: 60% 40% 70% 30% / 55% 65% 35% 45%; /* Moldura orgânica da marca */

    /* Efeitos de Transição */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Sombras */
    --shadow-sm: 0 4px 12px rgba(25, 50, 85, 0.03);
    --shadow-md: 0 12px 32px rgba(25, 50, 85, 0.06);
    --shadow-lg: 0 24px 64px rgba(25, 50, 85, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset para o header fixo */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

/* 3. TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

/* 4. ELEMENTOS DE LAYOUT COMUNS */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* 5. BOTÕES PREMIUM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background-color: var(--color-coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 108, 100, 0.25);
}

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

.btn-secondary:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-full-width {
    width: 100%;
}

/* Badges e tags */
.badge {
    display: inline-block;
    background-color: var(--color-coral-light);
    color: var(--color-coral);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-tag {
    display: block;
    color: var(--color-coral);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tag-center {
    text-align: center;
}

.section-title {
    margin-bottom: 24px;
}

.title-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px auto;
}

/* ==========================================================================
   AURORA BACKGROUND EFFECTS (Fundo Dinâmico Orgânico)
   ========================================================================== */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.55;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: multiply;
    animation: float-aurora 25s infinite alternate ease-in-out;
}

.aurora-blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(251, 108, 100, 0.12); /* Coral sutil */
    animation-duration: 22s;
}

.aurora-blob-2 {
    bottom: -15%;
    left: -10%;
    width: 700px;
    height: 700px;
    background-color: rgba(25, 50, 85, 0.08); /* Azul sutil */
    animation-duration: 30s;
}

.aurora-blob-3 {
    top: 40%;
    left: 20%;
    width: 500px;
    height: 500px;
    background-color: rgba(239, 235, 223, 0.4); /* Off-white sutil */
    animation-duration: 25s;
}

@keyframes float-aurora {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(40px, -60px) scale(1.1) rotate(90deg); }
    100% { transform: translate(-40px, 40px) scale(0.9) rotate(180deg); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-logo-img {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.site-header.scrolled .header-logo-img {
    width: 170px;
}

/* Header Rolado - Estilo Glassmorphism Aurora */
.site-header.scrolled {
    padding: 14px 0;
    background-color: rgba(239, 235, 223, 0.85); /* Fundo off-white translúcido */
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 4px 30px rgba(25, 50, 85, 0.04);
    border-bottom: 1px solid var(--color-border-light);
}

/* Logo SVG Colors */
.logo-link {
    color: var(--color-primary);
}

/* Navigation List */
.primary-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: clamp(14px, 2vw, 28px);
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

/* Sublinhado animado sutil */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-coral);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.social-icon-link {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(25, 50, 85, 0.03);
    transition: var(--transition-fast);
}

.social-icon-link:hover {
    color: var(--color-coral);
    background-color: var(--color-coral-light);
    transform: translateY(-2px);
}

.header-cta-btn {
    border-radius: 999px;
    font-weight: 600;
    margin-left: 4px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hamburger Open */
.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual & Custom Moldura */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
}

.hero-brand-circle {
    position: absolute;
    display: block;
    object-fit: contain;
    opacity: 0.22;
    filter: drop-shadow(0 16px 30px rgba(251, 108, 100, 0.08));
    animation: float-shapes 6s infinite ease-in-out alternate;
}

.hero-brand-circle-top {
    top: 2%;
    right: 2%;
    width: clamp(130px, 16vw, 220px);
}

.hero-brand-circle-bottom {
    left: 4%;
    bottom: -4%;
    width: clamp(120px, 14vw, 190px);
    opacity: 0.2;
    animation-delay: -1.6s;
}

@keyframes float-shapes {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15px) scale(1.05); }
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    aspect-ratio: 1.12 / 1;
    overflow: visible;
    background: transparent;
    transition: var(--transition-slow);
}

.hero-path-back,
.hero-path-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: var(--transition-slow);
    pointer-events: none;
}

.hero-image-wrapper:hover {
    transform: scale(1.02) rotate(1deg);
}

.hero-img {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    object-fit: cover;
    border-radius: 38% 62% 57% 43% / 46% 38% 62% 54%;
    filter: drop-shadow(0 18px 36px rgba(25, 50, 85, 0.1));
    -webkit-mask-image: url("assets/path-mask.png");
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("assets/path-mask.png");
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    transition: var(--transition-slow);
}

.hero-path-back {
    z-index: 1;
    transform: scale(1.12) translate(-5%, 4%) rotate(-8deg);
    opacity: 0.42;
    filter: drop-shadow(0 22px 42px rgba(25, 50, 85, 0.12));
}

.hero-path-frame {
    z-index: 3;
    transform: scale(1.04);
    filter: drop-shadow(0 22px 44px rgba(25, 50, 85, 0.12));
}

/* ==========================================================================
   SOBRE A TRAVESSIA
   ========================================================================== */
.about-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.lead-text {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.about-text-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.highlight-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary-light);
    border-left: 3px solid var(--color-coral);
    padding-left: 20px;
    margin: 32px 0 0 0;
}

/* Purpose Card (Aurora Glass sobre fundo claro) */
.purpose-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.purpose-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(251, 108, 100, 0.04);
    filter: blur(40px);
    pointer-events: none;
}

.purpose-title {
    margin-bottom: 16px;
    font-size: 1.65rem;
}

.purpose-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.purpose-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.purpose-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    color: var(--color-coral);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3;
}

.list-text {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--color-text);
}

/* ==========================================================================
   SOLUÇÕES
   ========================================================================== */
.solutions-section {
    padding-bottom: 120px;
}

.solutions-header .section-title {
    margin-bottom: 30px;
}

.solutions-header .section-subtitle {
    max-width: 700px;
    margin-bottom: 84px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

/* Card Temático */
.solution-card {
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.solution-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.solution-card-title {
    font-size: 1.75rem;
}

.solution-card-desc {
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.solution-card-footer {
    margin-top: 40px;
}

/* Card 1: Consultoria Empresarial (Premium Escuro) */
.solution-corporate {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary-light);
}

.solution-corporate h3 {
    color: var(--color-white);
}

.solution-corporate .solution-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-coral);
}

.solution-corporate .solution-card-desc {
    color: rgba(255, 255, 255, 0.7);
}

.solution-corporate:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(251, 108, 100, 0.3);
}

.solution-corporate:hover .solution-icon-wrapper {
    background-color: var(--color-coral);
    color: var(--color-white);
}

/* Lista interna de Itens Grid (Empresarial) */
.solution-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
    font-size: 0.85rem;
}

.solution-items-grid li {
    position: relative;
    padding-left: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.solution-items-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-coral);
}

/* Card 2: Consultoria Individual (Premium Claro) */
.solution-individual {
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.solution-individual .solution-icon-wrapper {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

.solution-individual .solution-card-desc {
    color: var(--color-text-muted);
}

.solution-individual:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(25, 50, 85, 0.15);
}

.solution-individual:hover .solution-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Individual list layout */
.individual-solutions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ind-solution-item h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.ind-solution-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   SEÇÕES ESTRATÉGICAS: NR-1 E RECRUTAMENTO
   ========================================================================== */
.strategic-section {
    overflow: hidden;
}

.nr1-section {
    background:
        linear-gradient(135deg, rgba(208, 219, 225, 0.38), rgba(239, 235, 223, 0.72)),
        var(--color-bg-light);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.strategic-container {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: center;
}

.strategic-intro p:not(.lead-text) {
    color: var(--color-text-muted);
    max-width: 560px;
}

.strategic-highlight {
    position: relative;
    margin: 34px 0 30px;
    padding: 24px 28px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 28px 10px 28px 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.45;
    box-shadow: var(--shadow-md);
}

.strategic-highlight::after {
    content: '';
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 78px;
    height: 78px;
    border-radius: var(--border-radius-org);
    background-color: var(--color-peach);
    z-index: -1;
}

.strategic-content {
    display: grid;
    gap: 24px;
}

.strategic-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.strategic-card,
.process-card,
.jobs-panel {
    background-color: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--color-border-light);
    border-radius: 28px 10px 28px 10px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.featured-card {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.peach-card {
    background-color: rgba(248, 183, 154, 0.18);
}

.strategic-card h3,
.process-card h3,
.jobs-panel h3 {
    font-family: var(--font-sans);
    font-size: 1.08rem;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-coral);
}

.compact-list {
    gap: 10px;
}

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

.recruitment-header {
    max-width: 860px;
    margin: 0 auto 54px;
}

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

.process-card {
    min-height: 100%;
    background-color: var(--color-bg-light);
    transition: var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.recruitment-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 48px 0 28px;
    padding: 34px 38px;
    background-color: var(--color-primary);
    border-radius: 12px 34px 12px 34px;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.recruitment-cta p {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.35;
    max-width: 620px;
    margin: 0;
}

.recruitment-actions,
.jobs-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.jobs-panel {
    display: grid;
    grid-template-columns: 0.6fr 1fr auto;
    gap: 28px;
    align-items: center;
    background-color: rgba(208, 219, 225, 0.35);
}

.jobs-panel .section-tag {
    margin-bottom: 6px;
}

.jobs-panel p {
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   CLIENTES (Infinite Logo Marquee)
   ========================================================================== */
.clients-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    padding: 80px 0;
}

.clients-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-align: center;
    font-family: var(--font-sans);
    margin-bottom: 40px;
    font-weight: 600;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* Criar máscaras laterais gradientes para o fade */
.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-content {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(25, 50, 85, 0.3);
    transition: var(--transition-normal);
    cursor: default;
    white-space: nowrap;
}

.client-logo:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 30px)); } /* Deslocamento correspondente a metade do conjunto de logos */
}

/* ==========================================================================
   DEPOIMENTOS (Slider de Trechos Reais)
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-light);
    padding-bottom: 120px;
}

.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    min-height: 280px; /* Evitar quebra no redimensionamento */
}

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: rgba(251, 108, 100, 0.15);
    line-height: 1;
    height: 35px;
    margin-top: -20px;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
}

.author-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.slider-btn:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-bg-light-darker);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-coral);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final-section {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 50, 85, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--color-white);
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 24px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO
   ========================================================================== */
.contact-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-light);
    color: var(--color-coral);
}

.detail-icon-text {
    font-weight: 800;
    font-size: 1.05rem;
}

.detail-text h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
}

.detail-text p, .detail-text a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.detail-text a:hover {
    color: var(--color-coral);
}

/* Formulário com estilo premium */
.contact-form-wrapper {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form input, .contact-form select, .contact-form textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-bg-light-darker);
    background-color: var(--color-white);
    color: var(--color-text);
    transition: var(--transition-normal);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(251, 108, 100, 0.15);
}

.form-feedback {
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
}

.form-feedback.success {
    display: block;
    color: var(--color-primary);
}

.form-feedback.error {
    display: block;
    color: var(--color-coral);
}

/* ==========================================================================
   FOOTER (Rodapé)
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--color-primary-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.brand-column .footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 24px;
}

.footer-logo-img {
    display: block;
    width: auto;
    height: 108px;
    max-width: 390px;
    margin-bottom: 28px;
    object-fit: contain;
}

.footer-title {
    color: var(--color-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.03);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--color-coral);
    background-color: var(--color-white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
}

.credits {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

a.credits:hover {
    color: var(--color-white);
}

/* ==========================================================================
   MODAL PREMIUM DETALHES DE SOLUÇÕES (Glassmorphism & Animação)
   ========================================================================== */
.solution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.solution-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 10, 23, 0.65);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    z-index: 2;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border-light);
}

.solution-modal.open .modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-coral);
    transform: rotate(90deg);
}

.modal-body h3 {
    margin-bottom: 20px;
    font-size: 1.85rem;
}

.modal-body h4 {
    margin: 24px 0 12px 0;
}

.modal-body p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.modal-body ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-top: 16px;
}

.modal-body ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-coral);
    font-weight: bold;
}

/* ==========================================================================
   SCROLL REVEAL & ANIMAÇÕES AUXILIARES
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVIDADE (Layouts Otimizados Mobile-First)
   ========================================================================== */

/* 1. Telas Médias (Tablets, Notebooks menores) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-container {
        gap: 40px;
    }

    .about-container {
        gap: 50px;
    }

    .header-logo-img {
        width: 170px;
    }

    .site-header.scrolled .header-logo-img {
        width: 150px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
    }

    .primary-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 26px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .header-actions {
        display: none;
    }

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

    .strategic-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .recruitment-grid {
        grid-template-columns: 1fr;
    }

    .jobs-panel {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* 2. Dispositivos Móveis e Tablets menores */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    .site-header.scrolled {
        padding: 12px 0;
    }

    .nav-list {
        gap: 24px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .header-logo-img,
    .site-header.scrolled .header-logo-img {
        width: 150px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        padding: 30px;
    }

    .strategic-mini-grid {
        grid-template-columns: 1fr;
    }

    .strategic-card,
    .process-card,
    .jobs-panel {
        padding: 28px;
    }

    .recruitment-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }

    .recruitment-actions,
    .jobs-actions {
        width: 100%;
    }

    .recruitment-actions .btn,
    .jobs-actions .btn {
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .footer-logo-img {
        height: 96px;
        max-width: 330px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* 3. Dispositivos Móveis Pequenos */
@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

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

    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-items-grid {
        grid-template-columns: 1fr;
    }

    .modal-wrapper {
        padding: 30px 20px;
    }

    .modal-body ul {
        grid-template-columns: 1fr;
    }
}
