/* Globals & Variables */
:root {
    --primary-color: #2a4480; /* Azul do Logo Roskoe */
    --primary-hover: #36559c; /* Azul mais claro para hover dos botões */
    --dark-bg: #333d4a; /* Cinza Chumbo escuro para fundos (substitui o fundo azul escuro antigo) */
    --darker-bg: #222933; /* Cinza quase preto para o rodapé */
    --light-bg: #f5f6f8; /* Cinza super claro/frio para fundos alternados */
    --text-color: #646e7a; /* Cinza médio para textos (maior legibilidade) */
    --heading-color: #2a4480; /* Títulos usando o Azul da marca para reforçar a identidade */
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    text-transform: uppercase;
}

em {
    color: var(--primary-color);
    font-style: normal;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography specifics */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-title.text-white h2,
.section-title.text-white p {
    color: var(--white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

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

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
    min-height: 48px;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    min-height: 48px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo a img {
    height: 35px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

header.scrolled .logo a img {
    height: 28px; /* Reduz levemente ao rolar */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

header.scrolled .nav-links a {
    color: var(--heading-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    transition: all 0.3s;
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--heading-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 45, 57, 0.85);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero h2 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 500;
    text-transform: none; /* Mantém a leitura limpa sem forçar caixa alta */
}

.hero h2 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
}

.social-proof-hero {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}

/* Social Proof Bar */
.social-proof-bar {
    background-color: var(--light-bg);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.social-proof-bar p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #999;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.5;
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-bg);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 32px;
    line-height: 80px;
    margin: 0 auto 20px;
    border-radius: 4px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Mid CTA Banner */
.mid-cta {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.mid-cta .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(35, 45, 57, 0.9);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Approach (Tabs) */
.approach {
    background-color: var(--light-bg);
}

.tabs-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.tabs-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    background: var(--white);
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.tabs-content {
    flex: 2;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeline */
.timeline {
    background-color: var(--dark-bg);
}

.schedule-table {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    border-bottom: 1px solid #eee;
}

tr:last-child {
    border-bottom: none;
}

td {
    padding: 30px;
}

.day {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 18px;
    width: 15%;
}

.time {
    color: var(--primary-color);
    font-weight: 600;
    width: 20%;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info span {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    padding-bottom: 0;
}

.contact-wrapper {
    display: flex;
    background: var(--white);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    padding: 80px 60px;
}

.info-list {
    list-style: none;
    margin-top: 30px;
}

.info-list li {
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-form {
    flex: 1;
    background-color: var(--dark-bg);
    padding: 80px 60px;
    color: var(--white);
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.7;
}

/* Language Flags */
.lang-flags {
    display: flex;
    gap: 10px;
    align-items: center;
}
.flag-btn {
    display: block;
    width: 28px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.flag-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.flag-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.flag-btn.active {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(100%);
    box-shadow: none;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
    color: var(--white);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .tabs-wrapper { flex-direction: column; }
    .tabs-list { flex-direction: row; flex-wrap: wrap; width: 100%; }
    .tab-btn { flex: 1; text-align: center; border-left: none; border-bottom: 4px solid transparent; min-width: 30%; }
    .tab-btn.active, .tab-btn:hover { border-left: none; border-bottom: 4px solid var(--primary-color); }
    .contact-wrapper { flex-direction: column; }
    .hero h1 { font-size: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    
    .schedule-table table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
    .schedule-table tr { padding: 20px; border-bottom: 1px solid #ddd; }
    .schedule-table td { padding: 5px 0; }
    .day { color: var(--primary-color); }

    .contact-info, .contact-form { padding: 40px 20px; }
    .btn-large { width: 100%; }
}
