/* ===========================================================
   MAISON CO DESIGN SYSTEM — Terras Alpha V Site V1
   Canon LIVE extraido de assets/dossie/terras-alpha/index.html
   Cores: gold soft #cabe9f / charcoal #3f4448 / off-white #f9f8f6
   Tipografia: Marcellus SC (headings) + Montserrat (body)
   =========================================================== */

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* === VARIABLES === */
:root {
    --mc-primary: #cabe9f;
    --mc-primary-hover: #b8a87f;
    --mc-secondary: #3f4448;
    --mc-secondary-hover: #26292c;
    --mc-text: #5a5c62;
    --mc-heading: #3f4448;
    --mc-white: #ffffff;
    --mc-bg: #f9f8f6;
    --mc-bg-alt: #f3f1ed;
    --mc-border: #e8e6e1;
    --mc-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --mc-font-heading: 'Marcellus SC', Georgia, serif;
}

/* === BASE === */
body {
    font-family: var(--mc-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--mc-text);
    background: var(--mc-white);
    -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--mc-font-heading);
    font-weight: 400;
    color: var(--mc-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}
h1 { font-size: 42px; line-height: 1.2; letter-spacing: 3px; margin-bottom: 20px; }
h2 { font-size: 36px; line-height: 1.3; margin-bottom: 20px; }
h3 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; letter-spacing: 1.5px; }
h4 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; letter-spacing: 1px; }
p { font-size: 14px; line-height: 1.9; margin-bottom: 16px; color: var(--mc-text); }
strong { color: var(--mc-heading); font-weight: 600; }
a { color: var(--mc-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--mc-primary-hover); }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

/* === HEADER (Sticky) === */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--mc-border);
    transition: all 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px; max-width: 1200px; margin: 0 auto; padding: 0 30px;
}
.header-logo {
    font-family: var(--mc-font-heading); font-size: 18px; letter-spacing: 3px;
    color: var(--mc-heading); text-transform: uppercase; text-decoration: none;
}
.header-logo span { color: var(--mc-primary); }
.header-nav { display: flex; list-style: none; gap: 32px; }
.header-nav a {
    font-family: var(--mc-font-body); font-size: 12px; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--mc-heading);
    text-decoration: none; transition: color 0.3s ease; padding: 8px 0;
}
.header-nav a:hover, .header-nav a.active { color: var(--mc-primary); }
.header-cta {
    font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    background: var(--mc-primary); color: var(--mc-white);
    padding: 10px 24px; text-decoration: none; transition: background 0.3s ease;
}
.header-cta:hover { background: var(--mc-primary-hover); color: var(--mc-white); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--mc-heading); margin: 5px 0; transition: all 0.3s ease; }

/* === BREADCRUMB === */
.breadcrumb {
    margin-top: 80px; padding: 16px 0;
    background: var(--mc-bg); border-bottom: 1px solid var(--mc-border);
}
.breadcrumb-list {
    list-style: none; display: flex; gap: 8px;
    font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb-list li { color: var(--mc-text); }
.breadcrumb-list li + li::before { content: '/'; margin-right: 8px; color: var(--mc-border); }
.breadcrumb-list a { color: var(--mc-text); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--mc-primary); }
.breadcrumb-list li:last-child { color: var(--mc-heading); }

/* === PAGE HERO === */
.page-hero {
    padding: 80px 0 60px; background: var(--mc-bg);
    border-bottom: 1px solid var(--mc-border);
}
.page-hero .hero-label {
    font-size: 11px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--mc-primary);
    margin-bottom: 28px; display: block;
}
.page-hero h1 {
    font-size: 36px; line-height: 1.3; letter-spacing: 2px;
    color: var(--mc-heading); margin-bottom: 24px;
    text-transform: none; max-width: 800px;
}
.page-hero .hero-meta {
    font-size: 13px; color: var(--mc-text); line-height: 1.8; max-width: 700px;
}
.page-hero .hero-meta strong { color: var(--mc-heading); }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-alt { background: var(--mc-bg); }
.section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--mc-primary);
    margin-bottom: 16px; display: block;
}

/* === CONTENT CARDS === */
.content-card {
    background: var(--mc-white); padding: 40px; margin-bottom: 24px;
    border: 1px solid var(--mc-border);
}
.content-card p:last-child { margin-bottom: 0; }
.content-card-bordered { border-left: 3px solid var(--mc-primary); }

/* === DATA TABLE === */
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.data-table th, .data-table td {
    padding: 14px 20px; text-align: left;
    font-size: 13px; border-bottom: 1px solid var(--mc-border);
}
.data-table th {
    font-family: var(--mc-font-body); font-weight: 600;
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--mc-heading); background: var(--mc-bg);
}
.data-table td { color: var(--mc-text); }
.data-table td strong { color: var(--mc-heading); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--mc-bg); }

/* === RISK MATRIX === */
.risk-matrix { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.risk-col { background: var(--mc-white); border: 1px solid var(--mc-border); padding: 32px; }
.risk-col h4 {
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--mc-primary);
}
.risk-col.risk-contra h4 { border-bottom-color: var(--mc-secondary); }
.risk-col.risk-alerta h4 { border-bottom-color: #d4a574; }
.risk-col ul { list-style: none; }
.risk-col ul li {
    padding: 8px 0 8px 20px; position: relative;
    font-size: 13px; color: var(--mc-text); line-height: 1.7;
    border-bottom: 1px solid var(--mc-border);
}
.risk-col ul li:last-child { border-bottom: none; }
.risk-col ul li::before {
    content: ''; position: absolute; left: 0; top: 16px;
    width: 8px; height: 1px; background: var(--mc-primary);
}
.risk-col.risk-contra ul li::before { background: var(--mc-secondary); }
.risk-col.risk-alerta ul li::before { background: #d4a574; }

/* === EVIDENCE LIST === */
.evidence-list { list-style: none; }
.evidence-list li {
    padding: 8px 0 8px 24px; position: relative;
    font-size: 14px; color: var(--mc-text); border-bottom: 1px solid var(--mc-border);
}
.evidence-list li:last-child { border-bottom: none; }
.evidence-list li::before {
    content: ''; position: absolute; left: 0; top: 17px;
    width: 8px; height: 1px; background: var(--mc-primary);
}

/* === INVESTOR PROFILE === */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-card { background: var(--mc-white); border: 1px solid var(--mc-border); padding: 32px; }
.profile-card h4 { font-size: 13px; letter-spacing: 2px; margin-bottom: 16px; }
.profile-card ul { list-style: none; }
.profile-card ul li {
    padding: 6px 0 6px 20px; position: relative;
    font-size: 13px; color: var(--mc-text); line-height: 1.7;
}
.profile-card ul li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 8px; height: 1px; background: var(--mc-primary);
}

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--mc-border); padding: 28px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-family: var(--mc-font-body); font-size: 15px; font-weight: 600;
    color: var(--mc-heading); margin-bottom: 12px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
    content: '+'; font-size: 20px; font-weight: 300;
    color: var(--mc-primary); transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after { content: '-'; }
.faq-answer {
    font-size: 14px; line-height: 1.9; color: var(--mc-text);
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { margin-bottom: 0; }

/* === DIVIDER === */
.divider { height: 1px; background: var(--mc-border); margin: 60px 0; }

/* === BUTTONS === */
.btn {
    display: inline-block; font-family: var(--mc-font-body);
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; padding: 16px 48px;
    text-decoration: none; transition: all 0.3s ease;
    border: none; cursor: pointer;
}
.btn-primary { background: var(--mc-primary); color: var(--mc-white); }
.btn-primary:hover { background: var(--mc-primary-hover); color: var(--mc-white); }
.btn-outline { background: transparent; color: var(--mc-primary); border: 1px solid var(--mc-primary); }
.btn-outline:hover { background: var(--mc-primary); color: var(--mc-white); }
.btn-small { padding: 8px 16px; font-size: 10px; }

/* === HIGHLIGHT === */
.highlight { color: var(--mc-primary); font-weight: 600; }
.text-center { text-align: center; }
.text-small { font-size: 12px; color: var(--mc-text); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* === CTA DARK SECTION === */
.cta-section { background: var(--mc-secondary); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--mc-white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 540px; margin: 0 auto 40px; }
.cta-section .section-label { color: var(--mc-primary); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px;
    background: #25D366; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; z-index: 999; text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3); transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* === FORM === */
.form-group { margin-bottom: 24px; }
.form-label {
    display: block; font-size: 11px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--mc-heading); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 14px 16px; font-family: var(--mc-font-body);
    font-size: 14px; color: var(--mc-text);
    background: var(--mc-white); border: 1px solid var(--mc-border);
    transition: border-color 0.3s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--mc-primary);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-radio-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-radio-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: 1px solid var(--mc-border);
    cursor: pointer; font-size: 13px; transition: all 0.3s ease;
}
.form-radio-label:hover { border-color: var(--mc-primary); }
.form-radio-label input { accent-color: var(--mc-primary); }
.form-checkbox-label {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 12px; line-height: 1.6; cursor: pointer;
}
.form-checkbox-label input { margin-top: 4px; accent-color: var(--mc-primary); }

/* === FILTERS BAR === */
.filters-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
    padding: 32px; background: var(--mc-white);
    border: 1px solid var(--mc-border); margin-bottom: 40px;
}
.filter-control label {
    display: block; font-size: 11px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--mc-heading); margin-bottom: 8px;
}
.filter-control select, .filter-control input {
    width: 100%; padding: 12px 14px;
    font-family: var(--mc-font-body); font-size: 13px;
    background: var(--mc-bg); border: 1px solid var(--mc-border);
}

/* === FOOTER === */
.site-footer { background: var(--mc-secondary); color: rgba(255,255,255,0.6); padding: 60px 0 30px; }
.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { font-family: var(--mc-font-heading); font-size: 16px; letter-spacing: 3px; color: var(--mc-white); text-transform: uppercase; }
.footer-brand span { color: var(--mc-primary); }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
    font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--mc-primary); }
.footer-bottom { padding-top: 30px; font-size: 12px; line-height: 1.8; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-disclaimer {
    margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    .page-hero h1 { font-size: 28px; }
    .col-6 { flex: 0 0 100%; max-width: 100%; margin-bottom: 30px; }
    .col-6:last-child { margin-bottom: 0; }
    .col-4 { flex: 0 0 100%; max-width: 100%; margin-bottom: 24px; }
    .risk-matrix { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 24px; }
    .filters-bar { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}
@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 22px; letter-spacing: 0.5px; }
    h2 { font-size: 19px; letter-spacing: 0.5px; }
    p { font-size: 15px; line-height: 1.8; }
    h3 { font-size: 16px; }
    .section { padding: 60px 0; }
    .page-hero { padding: 60px 0 40px; }
    .page-hero h1 { font-size: 24px; letter-spacing: 1px; }
    .container { padding: 0 20px; }
    .content-card { padding: 24px; }
    .risk-col { padding: 24px; }
    .profile-card { padding: 24px; }
    .header-nav { display: none; }
    .mobile-toggle { display: block; }
    .header-inner { height: 56px; padding: 0 16px; }
    .breadcrumb { margin-top: 56px; padding: 12px 0; }
    .btn { display: block; width: 100%; text-align: center; padding: 18px 24px; font-size: 13px; }
    .footer-links { flex-direction: column; gap: 12px; }
    .data-table th, .data-table td { padding: 10px 12px; font-size: 12px; }
    .header-nav.open {
        display: flex; flex-direction: column; position: absolute; top: 56px;
        left: 0; right: 0; background: rgba(255,255,255,0.98);
        padding: 20px 30px; border-bottom: 1px solid var(--mc-border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); gap: 16px;
    }
}
