/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #002244; /* Dark Blue */
    --accent-color: #C5A059;  /* Gold/Beige */
    --text-color: #0B1C33;    /* Dark text for readability */
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-speed: 0.3s;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Prata usually comes in regular mapped to 400 */
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.text-dark { color: var(--primary-color); }
.text-gold { color: var(--accent-color); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.dark-bg {
    background-color: var(--primary-color);
    color: var(--white);
}

.pattern-bg {
    background-color: var(--white);
    /* Subtle texture or plain white if preferred */
}

/* 2-Column Layout */
.two-col {
    display: flex;
    align-items: center;
    gap: 40px;
}
.two-col > div {
    flex: 1;
}

@media (max-width: 768px) {
    .two-col { flex-direction: column; }
    .two-col > div { flex: none; width: 100%; }
    .reverse-mobile { flex-direction: column-reverse; }
}

/* ==========================================================================
   Typography & Components
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.center-margin {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-gold-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}
.btn-gold-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px auto;
    text-align: center;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* ==========================================================================
   Specific Sections
   ========================================================================== */
/* Header */
.site-header {
    width: 100%;
    padding: 20px 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: flex-start; /* Desktop: Top Left */
}
.logo {
    max-width: 250px;
    height: auto;
    /* Optional: filter to make logo gold if it's black/blue, 
       but we assume user uploaded the correct color version */
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Background video styling implemented via .video-background class */
    background-color: var(--primary-color); /* Fallback */
}
.hero-wrapper {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.video-background iframe {
    width: 250vw;
    height: 140.625vw; /* 250 * 9 / 16 */
    min-height: 250vh;
    min-width: 444.44vh; /* 250 * 16 / 9 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.is-playing {
    opacity: 1 !important;
}
.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 34, 68, 0.6); /* Dark Blue tint for readability */
    z-index: 1;
}
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-bottom: 40px; /* Padding for mobile layout */
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s backwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Core Values (Section 1) */
.core-values .text-content p {
    font-size: 1.1rem;
    color: var(--text-color);
}
.image-mask-col {
    display: flex;
    justify-content: center;
}
.masked-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
    transition: transform 0.4s ease;
    
    /* Inline SVG Mask */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M128,0 C57,0 0,57 0,128 V384 C0,455 57,512 128,512 C199,512 256,455 256,384 V128 C256,57 199,0 128,0 Z M384,0 C313,0 256,57 256,128 V384 C256,455 313,512 384,512 C455,512 512,455 512,384 V128 C512,57 455,0 384,0 Z"/></svg>') center/cover no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M128,0 C57,0 0,57 0,128 V384 C0,455 57,512 128,512 C199,512 256,455 256,384 V128 C256,57 199,0 128,0 Z M384,0 C313,0 256,57 256,128 V384 C256,455 313,512 384,512 C455,512 512,455 512,384 V128 C512,57 455,0 384,0 Z"/></svg>') center/cover no-repeat;
}
.masked-video-wrapper:hover {
    transform: scale(1.03); /* Hover com leve scale (zoom suave) */
}
.masked-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260%; /* Expandimos a escala para mascarar o título superior "Wealth Veleiro" */
    height: 146%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Prevents showing controls on hover */
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* Long Term Vision (Section 2) */
.long-term-vision p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9; /* Slight transparency for elegance */
}
.square-video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* Square format */
    overflow: hidden;
    border-radius: 20px; /* Canto arredondados */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.squared-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Expandimos a escala para enviar as margens do YouTube (onde fica o título) para fora da máscara */
    width: 260%;
    height: 146%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Prevents showing controls on hover */
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* Independence & Method (Section 3) */
.independence-method .text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition-speed) ease;
}
.image-grid img:hover {
    transform: scale(1.03);
}

/* Team Section */
.team-section {
    background-color: var(--bg-light);
}
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 50px auto 0 auto;
    max-width: 800px; /* Limita a largura para melhor legibilidade */
}
.team-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left; /* Melhor para leitura de textos longos */
    border-left: 4px solid transparent;
    border-top: none;
    transition: all var(--transition-speed) ease;
}
.team-card:hover {
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}
.team-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
.team-link:hover {
    color: var(--accent-color);
}

.team-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    font-family: sans-serif;
}
.linkedin-icon:hover {
    background: var(--primary-color);
}
.team-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.team-desc {
    font-size: 0.95rem;
    color: #555;
}

/* Mandatory Documents */
.documents-section .docs-list {
    margin-top: 40px;
}

/* Footer */
.site-footer {
    background-color: #00162B; /* Even darker blue */
    color: var(--white);
    padding: 40px 0 20px 0;
}
.footer-contact {
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.footer-contact p {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive specific updates */
@media (max-width: 768px) {
    .header-container { justify-content: center; } /* Mobile: Center */
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
}

@media (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (orientation: landscape) {
    .site-header {
        padding: 5px 0;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero-content {
        padding-bottom: 20px;
    }
}
