/* ==========================================================================
   Apostilamento de Haia - Landing Page
   Brand Colors: #050d28 (Dark Blue), #d18b00 (Gold)
   Fonts: Inter, Poppins
   ========================================================================== */

:root {
    --primary: #050d28;
    --gold: #d18b00;
    --whatsapp: #25D366;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --radius: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.05rem;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ── Header ── */
.header-section {
    background: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo-header {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 8px 12px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.lang-selector .dropdown-menu {
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.15);
    min-width: auto;
}

.lang-selector .dropdown-item {
    color: rgba(255,255,255,0.85);
    padding: 6px 14px;
    font-size: 0.9rem;
}

.lang-selector .dropdown-item:hover {
    background: var(--gold);
    color: #fff;
}

/* ── Hero ── */
.haia-hero {
    background: linear-gradient(135deg, #050d28 0%, #0a1a4a 100%);
    padding: 140px 0 100px;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 680px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.title-question {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.3rem;
}

.title-highlight {
    display: block;
    color: var(--gold);
    font-size: 1.1em;
    font-weight: 800;
}

.hero-subtitle .lead {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ── WhatsApp Buttons ── */
.btn-whatsapp {
    display: inline-block;
    background: var(--whatsapp);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.2rem;
}
.btn-whatsapp:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

.whatsapp-btn {
    background: var(--whatsapp);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.whatsapp-btn:hover {
    color: #fff;
    background: #1ebe57;
}
.whatsapp-btn i {
    margin-right: 8px;
}

.btn-outline-whatsapp {
    display: inline-block;
    border: 2px solid var(--whatsapp);
    color: var(--whatsapp);
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: background 0.15s, color 0.15s;
}
.btn-outline-whatsapp:hover {
    background: var(--whatsapp);
    color: #fff;
}
.btn-outline-whatsapp i {
    margin-right: 6px;
}

/* ── Sections ── */
.content-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 1rem;
    line-height: 1.75;
}

/* Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.5rem;
}
.timeline-marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 3;
}
.timeline-content {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid var(--gold);
}
.timeline-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.timeline-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Cards */
.doc-card, .shipping-card, .modal-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
}
.doc-card { border-top: 3px solid var(--gold); }
.modal-card.highlight-e { border: 2px solid var(--gold); }
.doc-icon, .modal-icon, .shipping-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #0a1a4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.doc-icon i, .modal-icon i, .shipping-icon i {
    color: var(--gold);
    font-size: 1.5rem;
}
.doc-card h4, .shipping-card h4, .modal-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}
.doc-card p, .shipping-card p, .modal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.modal-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--gold);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Why Us */
.why-card {
    background: #fff;
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
}
.why-icon i {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.why-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.why-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 0.8rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.accordion-button {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
}
.accordion-button:not(.collapsed) {
    background: var(--gold);
    color: #fff;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-body {
    background: #fff;
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact CTA */
.contact-section {
    background: var(--primary);
}

.phone-number {
    font-size: 1rem;
    margin-top: 0.5rem;
}
.phone-number i {
    color: var(--gold);
    margin-right: 6px;
}

/* Footer */
.footer-section {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
}
.footer-logo-img {
    max-width: 180px;
    height: auto;
}
.footer-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.footer-info, .footer-contact {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}
.footer-contact i { color: var(--gold); }
.footer-disclaimer {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-style: italic;
    margin: 0;
}
.footer-social {
    display: flex;
    justify-content: center;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--whatsapp);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
}
.social-btn:hover {
    color: #fff;
    background: #1ebe57;
}

/* Fixed WhatsApp float */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.whatsapp-float {
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.whatsapp-float:hover {
    color: #fff;
}

/* ── RTL ── */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Sans Arabic', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: 'Noto Sans Arabic', 'Tajawal', sans-serif;
}
[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 80px;
}
[dir="rtl"] .timeline-marker {
    left: auto;
    right: 0;
}
[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 24px;
}
[dir="rtl"] .timeline-content {
    border-left: none;
    border-right: 4px solid var(--gold);
}
[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}
[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}
[dir="rtl"] .dropdown-menu-end {
    right: auto;
    left: 0;
}
[dir="rtl"] .fixed-whatsapp {
    right: auto;
    left: 20px;
}
[dir="rtl"] .btn-text {
    text-align: right;
}

/* ── Chinese ── */
[lang="zh-CN"] body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
[lang="zh-CN"] h1, [lang="zh-CN"] h2, [lang="zh-CN"] h3,
[lang="zh-CN"] h4, [lang="zh-CN"] h5, [lang="zh-CN"] h6 {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-title { font-size: 1.7rem; }
    .section-title { font-size: 1.5rem; }
    .timeline-item { padding-left: 65px; }
    .timeline-marker { width: 40px; height: 40px; font-size: 1rem; left: 0; }
    .process-timeline::before { left: 20px; }
    .timeline-content { padding: 1.2rem 1.5rem; }
    [dir="rtl"] .timeline-item { padding-right: 65px; }
    [dir="rtl"] .process-timeline::before { right: 20px; }
    .footer-logo-img { max-width: 140px; }
    .logo-header { height: 34px; }
}

@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

@media (min-width: 992px) {
    .hero-title { font-size: 2.8rem; }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
img {
    max-width: 100%;
    height: auto;
}
